This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weak symbols not being removed


Hello all,

I have recently noticed that my builds haven't been removing weak
symbols that are overridden by strong symbols.
More specifically, the symbol points to the strong object/function but
the weak symbol's data remains in the executable.
This is fairly inconvenient as some of the symbols are quite large and
take up a lot of space.
I'm just wondering is this supposed to happen, and if so how do I remove it?
I'm writing the program for the AVR, but I've also noticed it occurs for x86.

Thanks for any help.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]