This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[AVR][PATCH] Add linker relaxation support / Fix 64 bit bug in gas rev. 3
Hi,
just recognized that I forgot to generate the diffs for two of the files
(reloc.c and libbfd.h):
BjÃrn Haase wrote on Dienstag, 25. Oktober 2005 00:28 :
> 2005-10-24 Bjoern Haase <bjoern.m.haase@web.de>
> * bfd/bfd-in2.h: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
> * bfd/libbfd.h: Ditto.
> * bfd/reloc.c: Ditto.
Sorry for the additional mail.
Bjoern.
Index: libbfd.h
===================================================================
RCS file: /cvs/src/src/bfd/libbfd.h,v
retrieving revision 1.160
diff -u -r1.160 libbfd.h
--- libbfd.h 24 Oct 2005 01:40:58 -0000 1.160
+++ libbfd.h 24 Oct 2005 22:41:07 -0000
@@ -1478,9 +1478,11 @@
"BFD_RELOC_AVR_LO8_LDI",
"BFD_RELOC_AVR_HI8_LDI",
"BFD_RELOC_AVR_HH8_LDI",
+ "BFD_RELOC_AVR_MS8_LDI",
"BFD_RELOC_AVR_LO8_LDI_NEG",
"BFD_RELOC_AVR_HI8_LDI_NEG",
"BFD_RELOC_AVR_HH8_LDI_NEG",
+ "BFD_RELOC_AVR_MS8_LDI_NEG",
"BFD_RELOC_AVR_LO8_LDI_PM",
"BFD_RELOC_AVR_HI8_LDI_PM",
"BFD_RELOC_AVR_HH8_LDI_PM",
Index: reloc.c
===================================================================
RCS file: /cvs/src/src/bfd/reloc.c,v
retrieving revision 1.140
diff -u -r1.140 reloc.c
--- reloc.c 5 Oct 2005 21:24:23 -0000 1.140
+++ reloc.c 24 Oct 2005 22:41:14 -0000
@@ -3591,6 +3591,11 @@
This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
of program memory address) into 8 bit immediate value of LDI insn.
ENUM
+ BFD_RELOC_AVR_MS8_LDI
+ENUMDOC
+ This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
+ of 32 bit value) into 8 bit immediate value of LDI insn.
+ENUM
BFD_RELOC_AVR_LO8_LDI_NEG
ENUMDOC
This is a 16 bit reloc for the AVR that stores negated 8 bit value
@@ -3608,6 +3613,11 @@
(most high 8 bit of program memory address) into 8 bit immediate value
of LDI or SUBI insn.
ENUM
+ BFD_RELOC_AVR_MS8_LDI_NEG
+ENUMDOC
+ This is a 16 bit reloc for the AVR that stores negated 8 bit value (msb
+ of 32 bit value) into 8 bit immediate value of LDI insn.
+ENUM
BFD_RELOC_AVR_LO8_LDI_PM
ENUMDOC
This is a 16 bit reloc for the AVR that stores 8 bit value (usually