From 3ebefb0701202796102634961e895adec7dee4b2 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 12 Sep 1996 18:56:14 +0000 Subject: [PATCH] * reloc.c: Add m32r relocs. * bfd-in2.h, libbfd.h: Rebuilt. --- bfd/.Sanitize | 10 +++++++++- bfd/ChangeLog | 9 ++++++++- bfd/bfd-in2.h | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 78022f8a93c..1df4a0cd06b 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 a89593d2a84..0d372c314c9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-m32r +Thu Sep 12 11:45:57 1996 Doug Evans + + * reloc.c: Add m32r relocs. + * bfd-in2.h, libbfd.h: Rebuilt. +end-sanitize-m32r + Thu Sep 12 11:10:05 1996 Ian Lance Taylor * ieee.c (ieee_vec): Set symbol_leading_char field to '_'. @@ -95,7 +102,7 @@ Tue Sep 10 16:18:30 1996 Fred Fish (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 a5a3c2c8733..73685291ebb 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 */ -- 2.30.2