[PATCH] MIPS bfd: n32 ABI support

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Mon Jul 22 11:21:00 GMT 2002


Maciej W. Rozycki wrote:
> On Mon, 22 Jul 2002, Thiemo Seufer wrote:
> 
> > >  Hmm, why does it have to be a separate file?  Doesn't it duplicate
> > > elf32-mips.c? 
> > 
> > No, it supports different bfd vectors. These are necessary due to
> >   - RELA instead of REL
> >   - Always 64 bit wide registers
> >   - Combined relocs in n32 (several relocs can sum up for one address,
> >     this is only partially implemented yet)
> 
>  Yep, I was thinking elf64-mips.c which handles these about right, sorry. 

JFTR: MIPS ELF64 allows additionally up to three relocations in
one relocation record, that's why it needs to handle these itself.
n32 uses normal ELF relocations which can be handled by bfd.


Thiemo



More information about the Binutils mailing list