This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Avoid GCC 4.7 optimization in elf/soinit.c
- From: Ulrich Drepper <drepper at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: Andreas Jaeger <aj at suse dot de>, libc-alpha at sources dot redhat dot com, Michael Matz <matz at suse dot de>
- Date: Wed, 2 Nov 2011 07:34:11 -0400
- Subject: Re: Avoid GCC 4.7 optimization in elf/soinit.c
- References: <201109271347.20108.aj@suse.de> <CAOPLpQc63+hmxbJi_ZVLWzgw+NAoDt6-s=5ZJU0uOpXdw05ZyA@mail.gmail.com><alpine.LNX.2.00.1111020947170.26779@zhemvz.fhfr.qr>
On Wed, Nov 2, 2011 at 04:47, Richard Guenther <rguenther@suse.de> wrote:
> It's for backward compatibility, to be able to run old binaries.
No, it's not. soinit and sofini are only used when building glibc. If
a new gcc then glibc should be able to use init_arrays. If not,
*that's* what has to be changed.