This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix s390{,x} ld if there is just .rela.plt and not other .rela.* sections
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 10 Feb 2003 09:58:16 +0100
- Subject: Re: [PATCH] Fix s390{,x} ld if there is just .rela.plt and not other .rela.* sections
- References: <OFC2296E7B.0F1E26DD-ONC1256CC9.002FDDDB@de.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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