aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-09-04 17:51:12 +0000
committerIan Lance Taylor <ian@airs.com>1997-09-04 17:51:12 +0000
commit4878fa5b5765f26dd644779e6a6ee6e2af9612bb (patch)
tree6b8c522d0918101d795d5c6bab4d505ca5c0651e /bfd
parent7dac939c43f14bbee2c6e7b652211e652e2ac1c6 (diff)
downloadgdb-4878fa5b5765f26dd644779e6a6ee6e2af9612bb.zip
gdb-4878fa5b5765f26dd644779e6a6ee6e2af9612bb.tar.gz
gdb-4878fa5b5765f26dd644779e6a6ee6e2af9612bb.tar.bz2
* reloc.c: Remove extraneous commas from relocation entries.
Remove BFD_RELOC_V850_16_PCREL. * bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/bfd-in2.h51
-rw-r--r--bfd/reloc.c55
3 files changed, 73 insertions, 37 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 24d192f..7774e3d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
Thu Sep 4 09:44:10 1997 Ian Lance Taylor <ian@cygnus.com>
+ * reloc.c: Remove extraneous commas from relocation entries.
+ Remove BFD_RELOC_V850_16_PCREL.
+ * bfd-in2.h: Rebuild.
+
* xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols
in sections named .tocbss rather than .bss.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index af6a774..7ab1761 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1942,20 +1942,49 @@ add3, load, and store instructions. */
/* This is a 22-bit reloc */
BFD_RELOC_V850_22_PCREL,
- BFD_RELOC_V850_SDA_16_16_OFFSET, /* A 16 bit reloc in the small data area. */
- BFD_RELOC_V850_SDA_15_16_OFFSET, /* A 16 bit reloc (of which only 15 bits are used) in the small data area. */
- BFD_RELOC_V850_ZDA_16_16_OFFSET, /* A 16 bit reloc in the zero data area. */
- BFD_RELOC_V850_ZDA_15_16_OFFSET, /* A 16 bit reloc (of which only 15 bits are used) in the zero data area. */
- BFD_RELOC_V850_TDA_6_8_OFFSET, /* An 8 bit reloc (of which only 6 bits are used) in the tiny data area. */
- BFD_RELOC_V850_TDA_7_8_OFFSET, /* An 8 bit reloc (of which only 7 bits are used) in the tiny data area. */
- BFD_RELOC_V850_TDA_7_7_OFFSET, /* A 7 bit reloc in the tiny data area. */
+/* This is a 16 bit offset from the short data area pointer. */
+ BFD_RELOC_V850_SDA_16_16_OFFSET,
+
+/* This is a 16 bit offset (of which only 15 bits are used) from the
+short data area pointer. */
+ BFD_RELOC_V850_SDA_15_16_OFFSET,
+
+/* This is a 16 bit offset from the zero data area pointer. */
+ BFD_RELOC_V850_ZDA_16_16_OFFSET,
+
+/* This is a 16 bit offset (of which only 15 bits are used) from the
+zero data area pointer. */
+ BFD_RELOC_V850_ZDA_15_16_OFFSET,
+
+/* This is an 8 bit offset (of which only 6 bits are used) from the
+tiny data area pointer. */
+ BFD_RELOC_V850_TDA_6_8_OFFSET,
+
+/* This is an 8bit offset (of which only 7 bits are used) from the tiny
+data area pointer. */
+ BFD_RELOC_V850_TDA_7_8_OFFSET,
+
+/* This is a 7 bit offset from the tiny data area pointer. */
+ BFD_RELOC_V850_TDA_7_7_OFFSET,
/* start-sanitize-v850e */
- BFD_RELOC_V850_TDA_4_5_OFFSET, /* A 5 bit reloc (of which only 4 bits are used) in the tiny data area. */
- BFD_RELOC_V850_TDA_4_4_OFFSET, /* A 4 bit reloc in the tiny data area. */
- BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET, /* A 16 bit reloc (but the bits are not contiguous) in the small data area. */
- BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET, /* A 16 bit reloc (but the bits are not contiguous) in the zero data area. */
+
+/* This is a 5 bit offset (of which only 4 bits are used) from the tiny
+data area pointer. */
+ BFD_RELOC_V850_TDA_4_5_OFFSET,
+
+/* This is a 4 bit offset from the tiny data area pointer. */
+ BFD_RELOC_V850_TDA_4_4_OFFSET,
+
+/* This is a 16 bit offset from the short data area pointer, with the
+bits placed non-contigously in the instruction. */
+ BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET,
+
+/* This is a 16 bit offset from the zero data area pointer, with the
+bits placed non-contigously in the instruction. */
+ BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET,
/* end-sanitize-v850e */
+
/* This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the
instruction. */
BFD_RELOC_MN10300_32_PCREL,
diff --git a/bfd/reloc.c b/bfd/reloc.c
index b382609..1566fa6 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2354,60 +2354,63 @@ ENUM
ENUMDOC
This is a 9-bit reloc
ENUM
- BFD_RELOC_V850_16_PCREL
-ENUMDOC
- This is a 16-bit reloc
-ENUM
BFD_RELOC_V850_22_PCREL
ENUMDOC
This is a 22-bit reloc
ENUM
- BFD_RELOC_V850_SDA_16_16_OFFSET,
+ BFD_RELOC_V850_SDA_16_16_OFFSET
ENUMDOC
- This is a 16 bit offset from the short data area pointer..
+ This is a 16 bit offset from the short data area pointer.
ENUM
- BFD_RELOC_V850_SDA_15_16_OFFSET,
+ BFD_RELOC_V850_SDA_15_16_OFFSET
ENUMDOC
- This is a 16 bit offset (of which only 15 bits are used) from the short data area pointer..
+ This is a 16 bit offset (of which only 15 bits are used) from the
+ short data area pointer.
ENUM
- BFD_RELOC_V850_ZDA_16_16_OFFSET,
+ BFD_RELOC_V850_ZDA_16_16_OFFSET
ENUMDOC
- This is a 16 bit offset from the zero data area pointer..
+ This is a 16 bit offset from the zero data area pointer.
ENUM
- BFD_RELOC_V850_ZDA_15_16_OFFSET,
+ BFD_RELOC_V850_ZDA_15_16_OFFSET
ENUMDOC
- This is a 16 bit offset (of which only 15 bits are used) from the zero data area pointer..
+ This is a 16 bit offset (of which only 15 bits are used) from the
+ zero data area pointer.
ENUM
- BFD_RELOC_V850_TDA_6_8_OFFSET,
+ BFD_RELOC_V850_TDA_6_8_OFFSET
ENUMDOC
- This is an 8 bit offset (of which only 6 bits are used) from the tiny data area pointer..
+ This is an 8 bit offset (of which only 6 bits are used) from the
+ tiny data area pointer.
ENUM
- BFD_RELOC_V850_TDA_7_8_OFFSET,
+ BFD_RELOC_V850_TDA_7_8_OFFSET
ENUMDOC
- This is an 8bit offset (of which only 7 bits are used) from the tiny data area pointer..
+ This is an 8bit offset (of which only 7 bits are used) from the tiny
+ data area pointer.
ENUM
- BFD_RELOC_V850_TDA_7_7_OFFSET,
+ BFD_RELOC_V850_TDA_7_7_OFFSET
ENUMDOC
- This is a 7 bit offset from the tiny data area pointer..
+ This is a 7 bit offset from the tiny data area pointer.
COMMENT
{* start-sanitize-v850e *}
ENUM
- BFD_RELOC_V850_TDA_4_5_OFFSET,
+ BFD_RELOC_V850_TDA_4_5_OFFSET
ENUMDOC
- This is a 5 bit offset (of which only 4 bits are used) from the tiny data area pointer..
+ This is a 5 bit offset (of which only 4 bits are used) from the tiny
+ data area pointer.
ENUM
- BFD_RELOC_V850_TDA_4_4_OFFSET,
+ BFD_RELOC_V850_TDA_4_4_OFFSET
ENUMDOC
- This is a 4 bit offset from the tiny data area pointer..
+ This is a 4 bit offset from the tiny data area pointer.
ENUM
- BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET,
+ BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET
ENUMDOC
- This is a 16 bit offset from the short data area pointer, with the bits placed non-contigously in the instruction..
+ This is a 16 bit offset from the short data area pointer, with the
+ bits placed non-contigously in the instruction.
ENUM
- BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET,
+ BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET
ENUMDOC
- This is a 16 bit offset from the zero data area pointer, with the bits placed non-contigously in the instruction..
+ This is a 16 bit offset from the zero data area pointer, with the
+ bits placed non-contigously in the instruction.
COMMENT
{* end-sanitize-v850e *}