bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/32506] removed functions showing up in objdump listing and


From: trampas at gmail dot com
Subject: [Bug binutils/32506] removed functions showing up in objdump listing and gdb
Date: Thu, 02 Jan 2025 23:59:34 +0000

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

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