From: Alan Modra Date: Fri, 31 Dec 2004 00:43:58 +0000 (+0000) Subject: * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b996922c8506a094cbd9bbb592560398f878a64e;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6a6230331f9..c9563dd411d 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 d6b65032440..dd1a7eef144 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 96ba9c5fb72..8898d87623d 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