Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the

LDI, ADIW/SBIW and LDD/STD instructions.
This commit is contained in:
Nick Clifton 2004-12-22 14:25:37 +00:00
parent 4b84574c07
commit 1f490e5712
2 changed files with 21 additions and 13 deletions

View File

@ -1,3 +1,8 @@
2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
* include/elf/avr.h (R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW): New
relocs.
2004-12-16 Richard Sandiford <rsandifo@redhat.com> 2004-12-16 Richard Sandiford <rsandifo@redhat.com>
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc. * v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.

View File

@ -1,5 +1,5 @@
/* AVR ELF support for BFD. /* AVR ELF support for BFD.
Copyright 1999, 2000 Free Software Foundation, Inc. Copyright 1999, 2000, 2004 Free Software Foundation, Inc.
Contributed by Denis Chertykov <denisc@overta.ru> Contributed by Denis Chertykov <denisc@overta.ru>
This file is part of BFD, the Binary File Descriptor library. This file is part of BFD, the Binary File Descriptor library.
@ -53,6 +53,9 @@ START_RELOC_NUMBERS (elf_avr_reloc_type)
RELOC_NUMBER (R_AVR_HI8_LDI_PM_NEG, 16) RELOC_NUMBER (R_AVR_HI8_LDI_PM_NEG, 16)
RELOC_NUMBER (R_AVR_HH8_LDI_PM_NEG, 17) RELOC_NUMBER (R_AVR_HH8_LDI_PM_NEG, 17)
RELOC_NUMBER (R_AVR_CALL, 18) RELOC_NUMBER (R_AVR_CALL, 18)
RELOC_NUMBER (R_AVR_LDI, 19)
RELOC_NUMBER (R_AVR_6, 20)
RELOC_NUMBER (R_AVR_6_ADIW, 21)
END_RELOC_NUMBERS (R_AVR_max) END_RELOC_NUMBERS (R_AVR_max)
#endif /* _ELF_AVR_H */ #endif /* _ELF_AVR_H */