This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFH] Howto add new relocation types for avr-elf
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Haase Bjoern (PT-BEU/EMT) *" <Bjoern dot Haase at de dot bosch dot com>
- Cc: ramana dot radhakrishnan at codito dot com, binutils at sourceware dot org
- Date: Wed, 5 Oct 2005 10:11:03 -0400
- Subject: Re: [RFH] Howto add new relocation types for avr-elf
- References: <D3C486BA1A1825409E44B17E8FA629600334BF8B@si-mail06.de.bosch.com>
On Wed, Oct 05, 2005 at 03:24:32PM +0200, Haase Bjoern (PT-BEU/EMT) * wrote:
> Thank's for your reply.
>
> Would I be adding the new relocations at the end of the list in order
> to maintain the numbers of the present enums or would I be adding a
> new enum in the "avr-block" in reloc.c and the corresponding header?
> I assume I would add a new enum at the end.?
The numbering of BFD_RELOC_* constants does not matter; these are an
internal API. If you also need R_AVR_* constants, then you must
preserve their numbering, of course.
Is there a documented AVR ELF ABI? For many targets, you need to check
with someone before adding new ELF numbers. Possibly not, for AVR.
--
Daniel Jacobowitz
CodeSourcery, LLC