This is the mail archive of the binutils@sourceware.cygnus.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]

wince mips / clmips linker compatibility


i need to add pair relocations so that I can generate C modules
that can link with the microsoft wince linker.

i'm guessing that the easiest place to do that is to:

1) add an extra REHLO relocation is gas/config/tc-mips.c in function
mips_frob_file. The extra REFLO will point at the same
address as REFHI.

2) this will cause the pair to be emitted in bfd/pe-mips.c in function
mips_swap_reloc_out

Another compatibility issue i found is that i don't think wince
is really supporting GPREL, or at least the clmips doesnt seem to
know about it.

this means you have to compile with -G0

any other incompatibilities i'm overlooking?

reed



________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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