This is the mail archive of the binutils@sources.redhat.com 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: repost: why doesn't i686-pc-mingw32-ld offer gc-sections?



Ian Lance Taylor <ian@airs.com> writes:
> No, it's possible.  But it probably doesn't work for dynamically
> linked executables, so it probably won't help you for Windows.  Plus
> you'd have to have ELF versions of any libraries you use.

Hrm. One other approach -- is there any binutils command I can issue
to delete a section from a .o?

I have a program that can figure out which methods are
"unreachable". Along with -ffunction-sections, I could probably just
manually drop the sections/functions I don't need.

  - a


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