https://sourceware.org/bugzilla/show_bug.cgi?id=27217

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13329|0                           |1
        is obsolete|                            |
  Attachment #13335|0                           |1
        is obsolete|                            |

--- Comment #13 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 13341
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13341&action=edit
Proposed patch

Hi Guys,

  OK, please try out this third patch.  (It should be used on its own - it
supplants the other two).

  This patch tries to stop the assembler's expression evaluator from converting
the references to the "bar" symbol into references to a constant value. 
Instead the symbol is preserved intact in the object file, and the relocations
are resolved by the linker as normal.

  I *think* that this is the right way to resolve the problem, since looking at
the generated assembler code, and C source, it appears that the intention is
provide a fixed value for the "bar" symbol, but not to eliminate it completely.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to