This is the mail archive of the
mailing list for the binutils project.
Re: Rearrange the ARM backend
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 04 Nov 2004 11:52:19 +0000
- Subject: Re: Rearrange the ARM backend
- Organization: GNU
- References: <20041102163849.GD15305@nevyn.them.org>
On Tue, 2004-11-02 at 16:38, Daniel Jacobowitz wrote:
> This patch inlines elf32-arm.h into elfarm-oabi.c and elfarm-nabi.c,
> and renames the latter to elf32-arm.c for consistency with other
> targets. The only other changes are to the build system (to use the
> new name) and to the copyright dates at the tops of the files (updated
> to include the list from elf32-arm.h).
> Tested using arm-elf and arm-oabi; both build, but the tests for
> arm-oabi can't be run before or after. This is mostly because GAS
> defaults to new abi unless -moabi is explicitly specified, so it can't
> assemble anything. There's a similar problem in binutils/. I'm
> confident this problem was already there before, and gas does appear to
> work with -moabi (but I didn't check to see what state the results were
> I didn't try any of the possible cleanups; the biggest one would be to
> remove all checks of OLD_ARM_ABI in elf32-arm.c. USE_REL could go away
> too (although, CodeSourcery has a port that uses RELA for historical
> reasons, so... but at least it's not oabi!).
> OK? Any different preferences on how the inlining should be done?
Nick has just approved going straight to deletion of the OABI code.
Would you mind cooking up a patch that did that instead.