aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-04-11 12:39:03 +0100
committerNick Clifton <nickc@redhat.com>2014-04-11 12:39:03 +0100
commit85cf705b9d4c2082e5c4a41126bf773ff435d3d2 (patch)
tree04e03794419a7c068e251c0be7a378b1c2f01c13
parent322f9c2100806387b8ace4df7a2b940b03b3d703 (diff)
downloadgdb-85cf705b9d4c2082e5c4a41126bf773ff435d3d2.zip
gdb-85cf705b9d4c2082e5c4a41126bf773ff435d3d2.tar.gz
gdb-85cf705b9d4c2082e5c4a41126bf773ff435d3d2.tar.bz2
Regenerate header files after this commit:
2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> * reloc.c: Add BFD_RELOC_AVR_DIFF8/16/32 relocations
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/bfd-in2.h10
-rw-r--r--bfd/libbfd.h3
3 files changed, 18 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f961dae..79d32c7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-11 Nick Clifton <nickc@redhat.com>
+
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+
2014-04-10 Cesar Philippidis <cesar@codesourcery.com>
* elf32-nios2.c (nios2_elf32_build_stubs): Ignore dynobjs
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index cd45d71..f9854ed 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4460,6 +4460,16 @@ in .byte hi8(symbol) */
in .byte hlo8(symbol) */
BFD_RELOC_AVR_8_HLO,
+/* AVR relocations to mark the difference of two local symbols.
+These are only needed to support linker relaxation and can be ignored
+when not relaxing. The field is set to the value of the difference
+assuming no relaxation. The relocation encodes the position of the
+second symbol so the linker can determine whether to adjust the field
+value. */
+ BFD_RELOC_AVR_DIFF8,
+ BFD_RELOC_AVR_DIFF16,
+ BFD_RELOC_AVR_DIFF32,
+
/* Renesas RL78 Relocations. */
BFD_RELOC_RL78_NEG8,
BFD_RELOC_RL78_NEG16,
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index f836f3f..f98a224 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -2039,6 +2039,9 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
"BFD_RELOC_AVR_8_LO",
"BFD_RELOC_AVR_8_HI",
"BFD_RELOC_AVR_8_HLO",
+ "BFD_RELOC_AVR_DIFF8",
+ "BFD_RELOC_AVR_DIFF16",
+ "BFD_RELOC_AVR_DIFF32",
"BFD_RELOC_RL78_NEG8",
"BFD_RELOC_RL78_NEG16",
"BFD_RELOC_RL78_NEG24",