[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3315] ld --gc-sections *.o produces big(ger than possible)
From: |
amodra at bigpond dot net dot au |
Subject: |
[Bug binutils/3315] ld --gc-sections *.o produces big(ger than possible) executables |
Date: |
10 Oct 2006 08:56:00 -0000 |
------- Additional Comments From amodra at bigpond dot net dot au 2006-10-10
08:55 -------
getpwnam_r is kept because you are linking against a shared libc that also
defines this symbol. In this case the linker keeps your getpwnam_r, because it
is assumed you are defining a function to override the one in the shared lib.
The linker can't know whether getpwnam_r is actually called, because there might
be a call from a dlopen'd library at runtime.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=3315
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.