https://sourceware.org/bugzilla/show_bug.cgi?id=26869
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-11-12 Ever confirmed|0 |1 Target Milestone|--- |2.36 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- linker.c has .{* Return TRUE if the symbol described by a linker hash entry H . is going to be absolute. Linker-script defined symbols can be . converted from absolute to section-relative ones late in the . link. Use this macro to correctly determine whether the symbol . will actually end up absolute in output. *} .#define bfd_is_abs_symbol(H) \ . (((H)->type == bfd_link_hash_defined \ . || (H)->type == bfd_link_hash_defweak) \ . && bfd_is_abs_section ((H)->u.def.section) \ . && !(H)->rel_from_abs) . elfxx-x86.h has /* Return TRUE if the symbol described by a linker hash entry H is going to be absolute. Similar to bfd_is_abs_symbol, but excluding all linker-script defined symbols. */ #define ABS_SYMBOL_P(H) \ (bfd_is_abs_symbol (&(H)->root) && !(H)->root.ldscript_def) But ldscript_def is set for __ehdr_start which is defined by linker and isn't a absolute symbol. -- You are receiving this mail because: You are on the CC list for the bug.