This is the mail archive of the
mailing list for the glibc project.
Re: Avoid GCC 4.7 optimization in elf/soinit.c
On Wed, 2 Nov 2011, Ulrich Drepper wrote:
> On Wed, Nov 2, 2011 at 04:47, Richard Guenther <firstname.lastname@example.org> 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.
As it seems to be tied to binutils support it doesn't look like a good
solution to keep the code unfixed.
Richard Guenther <email@example.com>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix ImendÃrffer