From b996922c8506a094cbd9bbb592560398f878a64e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 31 Dec 2004 00:43:58 +0000 Subject: * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW): Commit missing changes from 2004-12-22. * bfd-in2.h: Regenerate. --- bfd/ChangeLog | 6 ++++++ bfd/bfd-in2.h | 8 ++++---- bfd/reloc.c | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6a62303..c9563dd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2004-12-31 Alan Modra + + * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW): + Commit missing changes from 2004-12-22. + * bfd-in2.h: Regenerate. + 2004-12-23 Tomer Levi * elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index d6b6503..dd1a7ee 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1686,10 +1686,10 @@ enum bfd_architecture #define bfd_mach_sh_dsp 0x2d #define bfd_mach_sh2a 0x2a #define bfd_mach_sh2a_nofpu 0x2b -#define bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu 0x2a1 -#define bfd_mach_sh2a_nofpu_or_sh3_nommu 0x2a2 -#define bfd_mach_sh2a_or_sh4 0x2a3 -#define bfd_mach_sh2a_or_sh3e 0x2a4 +#define bfd_mach_sh2a_fake1 0x2a1 +#define bfd_mach_sh2a_fake2 0x2a2 +#define bfd_mach_sh2a_fake3 0x2a3 +#define bfd_mach_sh2a_fake4 0x2a4 #define bfd_mach_sh2e 0x2e #define bfd_mach_sh3 0x30 #define bfd_mach_sh3_nommu 0x31 diff --git a/bfd/reloc.c b/bfd/reloc.c index 96ba9c5..8898d87 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -3367,6 +3367,21 @@ ENUM ENUMDOC This is a 32 bit reloc for the AVR that stores 23 bit value into 22 bits. +ENUM + BFD_RELOC_AVR_LDI +ENUMDOC + This is a 16 bit reloc for the AVR that stores all needed bits + for absolute addressing with ldi with overflow check to linktime +ENUM + BFD_RELOC_AVR_6 +ENUMDOC + This is a 6 bit reloc for the AVR that stores offset for ldd/std + instructions +ENUM + BFD_RELOC_AVR_6_ADIW +ENUMDOC + This is a 6 bit reloc for the AVR that stores offset for adiw/sbiw + instructions ENUM BFD_RELOC_390_12 -- cgit v1.1