[patch] RFD: Incorrect R_MIPS_26 handling for RELA

Per Fogelström pefo@opsycon.se
Fri Jun 7 03:54:00 GMT 2002
Actually there is more to this than R_MIPS_26 handling.
Initialized 64 bit pointers for example was not initialized
correctly. Offsets was added twice etc. It appears that
relocations are generated differently for _64 and _32. In
_32 the offset is stored in the code, in _64 it is 'stored'
in the rel entry. With some fixes in gas and ld i have a
working OpenBSD/mips64 port where apps are statically linked
-no-abicalls. Most apps works but there are loads of issues...
and statically -noabicalls linked apps sucks performancewise
so so having a working GOT is a must...

Anyway, i'm about to pick up work on the 64 bit stuff again
so if someone is interested in details let me know.


Per











More information about the Binutils mailing list