This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: AW: [RFH] Howto add new relocation types for avr-elf
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: "Haase Bjoern (PT-BEU/EMT) *" <Bjoern dot Haase at de dot bosch dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, binutils at sourceware dot org
- Date: Thu, 06 Oct 2005 10:13:35 +0530
- Subject: Re: AW: [RFH] Howto add new relocation types for avr-elf
- References: <D3C486BA1A1825409E44B17E8FA629600334BF8D@si-mail06.de.bosch.com>
- Reply-to: ramana dot radhakrishnan at codito dot com
On Wed, 2005-10-05 at 18:39 +0200, Haase Bjoern (PT-BEU/EMT) * wrote:
> >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.
>
> To my very best knowledge, gcc is the only compiler using elf for the
> avr target. So we could probably define the standard ourselves :-).
Thats good , but you might want to make sure that if you make such ABI
changes you make the linker barf if it cannot link object files of
different types together. One option is to use the eflags in the ELF
header for such purposes.
cheers
Ramana