This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: s390 gas bug



> > it doesn't create an R_390_PLT32 relocation and instead hardcodes
> > address of f1 above it. For static int f1 (void) { return 1; } this
> > would be right, but as f1 is global symbol, it should be possible to
> > override f1 at runtime
>
> Well, for certain file formats, yes.
>
> It sounds like the s390 gas port needs to define TC_FORCE_RELOCATION
> and then have it return true for BFD_RELOC_S390_PLT32 relocs, and
> probably some others as well.

Isn't that what tc_fix_adjustable is supposed to catch ?

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]