This is the mail archive of the gcc-patches@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]

Re: [v3] use --gc-sections if possible


On Wed, Jan 11, 2006 at 08:34:34PM -0600, Benjamin Kosnik wrote:
> Hey Mr. Joy-and-bunnyrabbits:

:-)  Actually, that would be Phil Edwards.  I just liked the comment so
much I used it as an email subject.

> Here's how the gc-sections bits can be enabled by default. I haven't
> done the instrumentation to the testsuite to see if there is a
> significant advantage or any change to enabling this. I don't think it
> would be to difficult to do more elaborate testing.
> 
> However, I'm curious: do you think this is a good idea? Do you think it
> would be a good idea to flip this on for wider testing for this flag?

My testing showed only marginal improvement in the size of libstdc++.so,
but yes, I'd like to see this GNU ld flag used.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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