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]
Other format: [Raw text]

Re: [patch] RFD: Incorrect R_MIPS_26 handling for RELA


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










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