This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
wince mips / clmips linker compatibility
- To: binutils at sourceware dot cygnus dot com
- Subject: wince mips / clmips linker compatibility
- From: "Reed Kotler" <reedkotler at hotmail dot com>
- Date: Fri, 26 May 2000 04:44:43 PDT
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