bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS s


From: amodra at gmail dot com
Subject: [Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS symbols
Date: Sat, 03 Feb 2018 01:17:40 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
I'll note that many of the generic linker issues that prevent this bug being
fixed have already been solved, and many targets no longer make symbols like
_DYNAMIC absolute.

So for example, a user script that does something like

  .text : { .... }
  my_end_text = .;

will define my_end_text as a section relative symbol rather than absolute as
older linkers did, which is likely what most users want.  Users who really do
want absolute symbols defined from dot now need to write 
  my_end_text = ABSOLUTE (.);

Even so, there will no doubt be projects that break..

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]