Avoid GCC 4.7 optimization in elf/soinit.c
Ulrich Drepper
drepper@gmail.com
Sat Oct 29 17:22:00 GMT 2011
On Tue, Sep 27, 2011 at 07:47, Andreas Jaeger <aj@suse.de> wrote:
> We recently got a bug report and analysis showed that gcc 4.7 optimized
> __libc_fini and __libc_global_ctors to empty functions since it checked the
> size of __CTOR_LIST__ and does not know that glibc changes the size at link
> time.
The question is why is this code there at all? The architectures
which haven't converted have to and then this functionality will be
removed.
More information about the Libc-alpha
mailing list