This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
New port m32r-linux
- From: Doug Evans <dje at transmeta dot com>
- To: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 19 Jun 2003 00:13:53 -0700 (PDT)
- Subject: New port m32r-linux
- References: <00a001c3361f$9bb7b5a0$2569910a@hoku.renesas.com>
Kazuhiro Inaoka writes:
> Do we need to keep the compatiblity of m32r-linux relocations with m32r-elf?
> I want to change relocation type form REL to RELA for porting linux form
> now.
Sorry to be rather chatty tonight.
mips already supports some form of REL + RELA support (or at least claims to).
See elfn32-mips.c and elf64-mips.c.
Using that as boilerplate seems like a good first step.
Certainly I wouldn't just cut-n-paste the entire thing over,
just use it as a guide.