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

--- Comment #2 from Trampas Stern <trampas at gmail dot com> ---
Wow 13415 is from 13 years ago! However I have only noticed int GCC 11 and
newer, but I guess the bug could have been there much longer. 

I have not looked at source code but my guess is the linker is placing the
removed code at address zero (0x000).  I suspect that someone used zero(0) to
indicate the address was not valid, where address zero is really a valid
address.  
As mentioned it might be possible for linker to place the removed symbols in a
different section so linker does not add to elf or make a flag/enum to indicate
the symbol has been removed such that the linker does not add symbols to the
elf file.

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

Reply via email to