[PATCH] Fix s390{,x} ld if there is just .rela.plt and not other .rela.* sections
Jakub Jelinek
jakub@redhat.com
Mon Feb 10 08:58:00 GMT 2003
On Mon, Feb 10, 2003 at 09:44:33AM +0100, Martin Schwidefsky wrote:
>
> > As s390 (32-bit only) is in glibc terms ELF_MACHINE_PLTREL_OVERLAP
> > architecture, DT_RELA{,SZ,ENT} dynamic tags are needed even if there is
> just
> > .rela.plt and no other .rela sections. Not doing this leads to dynamic
> > linker crashes.
> > Ok to commit?
>
> Makes sense to me. Did you find this by a review or is this a "real" problem?
Real program. ld.so was crashing every time it tried to relocate
libaio.so.1.
Jakub
More information about the Binutils
mailing list