From b9b4047245f841f7c64866156d9b4b2a33b5d9a1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 24 May 2006 07:36:11 +0000 Subject: Add support for AVR6 family --- include/elf/ChangeLog | 4 ++++ include/elf/avr.h | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 48ce81c13..29bd23ea9 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2006-05-24 Bjoern Haase + + * avr.h: Add E_AVR_MACH_AVR6, R_AVR_LO8_LDI_GS and R_AVR_HI8_LDI_GS. + 2006-03-22 Richard Sandiford Daniel Jacobowitz Phil Edwards diff --git a/include/elf/avr.h b/include/elf/avr.h index f16043805..d2ffbe07f 100644 --- a/include/elf/avr.h +++ b/include/elf/avr.h @@ -1,5 +1,5 @@ /* AVR ELF support for BFD. - Copyright 1999, 2000, 2004 Free Software Foundation, Inc. + Copyright 1999, 2000, 2004, 2006 Free Software Foundation, Inc. Contributed by Denis Chertykov This file is part of BFD, the Binary File Descriptor library. @@ -35,6 +35,7 @@ #define E_AVR_MACH_AVR3 3 #define E_AVR_MACH_AVR4 4 #define E_AVR_MACH_AVR5 5 +#define E_AVR_MACH_AVR6 6 /* Relocations. */ START_RELOC_NUMBERS (elf_avr_reloc_type) @@ -62,6 +63,8 @@ START_RELOC_NUMBERS (elf_avr_reloc_type) RELOC_NUMBER (R_AVR_6_ADIW, 21) RELOC_NUMBER (R_AVR_MS8_LDI, 22) RELOC_NUMBER (R_AVR_MS8_LDI_NEG, 23) + RELOC_NUMBER (R_AVR_LO8_LDI_GS, 24) + RELOC_NUMBER (R_AVR_HI8_LDI_GS, 25) END_RELOC_NUMBERS (R_AVR_max) #endif /* _ELF_AVR_H */ -- cgit v1.2.3