2008-06-25 06:16 Ryan Hill <[EMAIL PROTECTED]> napisał(a):
> On Tue, 24 Jun 2008 14:17:48 +0200
> Fabian Groffen <[EMAIL PROTECTED]> wrote:
>
>> On 24-06-2008 14:15:10 +0200, Arfrever Frehtes Taifersar Arahesis
>> wrote:
>> > I would like to suggest that default LDFLAGS in Gentoo contain the
>> > following flags: "-Wl,-O1,--hash-style=gnu,--sort-common".
>> >
>> > -O1 enables some basic optimizations.
>> > --hash-style=gnu causes that ld creates only new GNU-style hash
>> > tables. --sort-common causes that ld sorts the common symbols by
>> > size when it places them in the appropriate output sections.
>> >
>> > These options don't cause any problems, so they should be less
>> > controversial than --as-needed.
>> > (These options don't conflict with --as-needed, so --as-needed can
>> > be still added to default LDFLAGS, but this thread isn't about
>> > --as-needed.)
>>
>> as long as it doesn't go in /base, but in the linux/freebsd profiles
>> instead, it's fine with me.
>
> Ditto.  mips doesn't have support for .gnu.hash.
>
> Currently --hash-style=both is set in the binutils patchset, not
> the profiles so it's kind of a global setting.  Can the profiles
> override it?

AFAIK yes. You should be able to override it in make.defaults.

Reply via email to