Avoid GCC 4.7 optimization in elf/soinit.c

Richard Guenther rguenther@suse.de
Wed Nov 2 14:13:00 GMT 2011


On Wed, 2 Nov 2011, Ulrich Drepper wrote:

> 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.

As it seems to be tied to binutils support it doesn't look like a good
solution to keep the code unfixed.

Richard.

-- 
Richard Guenther <rguenther@suse.de>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer


More information about the Libc-alpha mailing list