This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: .got increase in -gc-sections for MIPS


Hiroki Kaminaga wrote:
Hi,

While trying -ffunction-sections -fdata-sections -Wl,-gc-sections
combination to omit unreferenced func/data, I observed an increase in
.got section, while other sections such as .text and .data did decrease.

I'm using binutils-2.16, glibc-2.3.6, gcc-3.4.4 combination.

Try with binutils 2.17 or a current cvs snapshot. If memory serves me, we fixed several aspects of --gc-sections *after* the release of 2.16.

David Daney


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