aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-09-12 18:56:14 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-09-12 18:56:14 +0000
commit3ebefb0701202796102634961e895adec7dee4b2 (patch)
tree1f3f561615380c339c2d17c77c9d5d5b6990eaf3 /bfd
parenta57190924d15568215ca585bb32c3749e4bfd583 (diff)
downloadgdb-3ebefb0701202796102634961e895adec7dee4b2.zip
gdb-3ebefb0701202796102634961e895adec7dee4b2.tar.gz
gdb-3ebefb0701202796102634961e895adec7dee4b2.tar.bz2
* reloc.c: Add m32r relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/.Sanitize10
-rw-r--r--bfd/ChangeLog9
-rw-r--r--bfd/bfd-in2.h16
3 files changed, 33 insertions, 2 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index 78022f8..1df4a0c 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -31,6 +31,14 @@ else
lose_these_too="${d10v_files} ${lose_these_too}"
fi
+m32r_files="cpu-m32r.c elf32-m32r.c"
+
+if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+ keep_these_too="${m32r_files} ${keep_these_too}"
+else
+ lose_these_too="${m32r_files} ${lose_these_too}"
+fi
+
v850_files="cpu-v850.c elf32-v850.c"
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
@@ -333,7 +341,7 @@ else
done
fi
-m32r_files="ChangeLog Makefile.in archures.c config.bfd configure.in configure elf.c targets.c"
+m32r_files="ChangeLog Makefile.in config.bfd configure.in configure elf.c archures.c reloc.c targets.c bfd-in2.h libbfd.h"
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
for i in $m32r_files ; do
if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a89593d..0d372c3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-m32r
+Thu Sep 12 11:45:57 1996 Doug Evans <dje@seba.cygnus.com>
+
+ * reloc.c: Add m32r relocs.
+ * bfd-in2.h, libbfd.h: Rebuilt.
+end-sanitize-m32r
+
Thu Sep 12 11:10:05 1996 Ian Lance Taylor <ian@cygnus.com>
* ieee.c (ieee_vec): Set symbol_leading_char field to '_'.
@@ -95,7 +102,7 @@ Tue Sep 10 16:18:30 1996 Fred Fish <fnf@cygnus.com>
(copy_name): Ditto.
* syms.c (coff_section_type): Ditto.
-start-sanitize-m324
+start-sanitize-m32r
Mon Sep 9 22:36:01 1996 Jeffrey A Law (law@cygnus.com)
* bfd-in2.h: Rebuilt after m32r changes.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index a5a3c2c..7368529 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1832,6 +1832,22 @@ assumed to be 0. */
BFD_RELOC_D10V_18_PCREL,
/* end-sanitize-d10v */
+/* start-sanitize-m32r */
+
+/* Mitsubishi M32R relocs.
+This is a 10-bit reloc with the right 2 bits assumed to be 0. */
+ BFD_RELOC_M32R_10_PCREL,
+
+/* This is an 18-bit reloc with the right 2 bits assumed to be 0. */
+ BFD_RELOC_M32R_18_PCREL,
+
+/* This is an 26-bit reloc with the right 2 bits assumed to be 0. */
+ BFD_RELOC_M32R_26_PCREL,
+
+/* This is a 24 bit reloc. */
+ BFD_RELOC_M32R_24,
+/* end-sanitize-m32r */
+
/* start-sanitize-v850 */
/* This is a 9-bit reloc */