This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch applied: add SuperH references for SH4, replace Renesas with SuperH for SH5


-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658
2003-04-23  J"orn Rennecke <joern dot rennecke at superh dot com>

bfd:
	* archures.c (enum bfd_architecture): Amend comment to refer to SuperH.
	* cpu-sh.c: Likewise.
	* elf32-sh.c: Likewise.
	* reloc.c (bfd_reloc_code_real): Likewise.
	* elf32-sh64-com.c: Change comment to refer to SuperH.
	* elf32-sh64.c: Likewise.
	* elf64-sh64.c: Likewise.
	* bfd-in2.h (enum bfd_architecture): Regenerate.
binutils:
	* readelf.c (get_machine_name) <EM_SH>: Amend return value
	to refer to SuperH.
gas:
	* config/tc-sh.c: Amend comment to refer to SuperH.
	* config/tc-sh.h: Likewise.
	(LISTING_HEADER): Amend to refer to SuperH.
	* config/tc-sh64.c: Change comment to refer to SuperH.
	* config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
	* doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
	* doc/c-sh.texi: Amend to refer to SuperH.
	Add SuperH architecture documentation references.
	* doc/c-sh64.texi: Change to refer to SuperH.
include/elf:
	* common.h (EM_SH): Amend comment to refer to SuperH.
ld/testsuite:
	* ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH.
	* ld-sh/sh64/crange3-media.rd (Machine): Likewise.

Index: bfd/archures.c
===================================================================
RCS file: /cvs/src/src/bfd/archures.c,v
retrieving revision 1.71
diff -p -u -r1.71 archures.c
--- bfd/archures.c	15 Apr 2003 08:51:50 -0000	1.71
+++ bfd/archures.c	17 Apr 2003 17:18:25 -0000
@@ -209,7 +209,7 @@ DESCRIPTION
 .#define bfd_mach_z8001		1
 .#define bfd_mach_z8002		2
 .  bfd_arch_h8500,     {* Renesas H8/500 (formerly Hitachi H8/500) *}
-.  bfd_arch_sh,        {* Renesas SH (formerly Hitachi SH) *}
+.  bfd_arch_sh,        {* Renesas / SuperH SH (formerly Hitachi SH) *}
 .#define bfd_mach_sh            1
 .#define bfd_mach_sh2        0x20
 .#define bfd_mach_sh_dsp     0x2d
Index: bfd/bfd-in2.h
===================================================================
RCS file: /cvs/src/src/bfd/bfd-in2.h,v
retrieving revision 1.210
diff -p -u -r1.210 bfd-in2.h
--- bfd/bfd-in2.h	15 Apr 2003 08:51:50 -0000	1.210
+++ bfd/bfd-in2.h	17 Apr 2003 17:18:25 -0000
@@ -1675,7 +1675,7 @@ enum bfd_architecture
 #define bfd_mach_z8001         1
 #define bfd_mach_z8002         2
   bfd_arch_h8500,     /* Renesas H8/500 (formerly Hitachi H8/500) */
-  bfd_arch_sh,        /* Renesas SH (formerly Hitachi SH) */
+  bfd_arch_sh,        /* Renesas / SuperH SH (formerly Hitachi SH) */
 #define bfd_mach_sh            1
 #define bfd_mach_sh2        0x20
 #define bfd_mach_sh_dsp     0x2d
@@ -2598,7 +2598,7 @@ field in the instruction.  */
   BFD_RELOC_ARM_GOTOFF,
   BFD_RELOC_ARM_GOTPC,
 
-/* Renesas SH relocs.  Not all of these appear in object files.  */
+/* Renesas / SuperH SH relocs.  Not all of these appear in object files.  */
   BFD_RELOC_SH_PCDISP8BY2,
   BFD_RELOC_SH_PCDISP12BY2,
   BFD_RELOC_SH_IMM4,
Index: bfd/cpu-sh.c
===================================================================
RCS file: /cvs/src/src/bfd/cpu-sh.c,v
retrieving revision 1.11
diff -p -u -r1.11 cpu-sh.c
--- bfd/cpu-sh.c	15 Apr 2003 08:51:51 -0000	1.11
+++ bfd/cpu-sh.c	17 Apr 2003 17:18:25 -0000
@@ -1,4 +1,4 @@
-/* BFD library support routines for the Renesas SH architecture.
+/* BFD library support routines for the Renesas / SuperH SH architecture.
    Copyright 1993, 1994, 1997, 1998, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
    Hacked by Steve Chamberlain of Cygnus Support.
Index: bfd/elf32-sh.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-sh.c,v
retrieving revision 1.75
diff -p -u -r1.75 elf32-sh.c
--- bfd/elf32-sh.c	15 Apr 2003 08:51:51 -0000	1.75
+++ bfd/elf32-sh.c	17 Apr 2003 17:18:25 -0000
@@ -1,4 +1,4 @@
-/* Renesas SH specific support for 32-bit ELF
+/* Renesas / SuperH SH specific support for 32-bit ELF
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
    Contributed by Ian Lance Taylor, Cygnus Support.
Index: bfd/elf32-sh64-com.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-sh64-com.c,v
retrieving revision 1.5
diff -p -u -r1.5 elf32-sh64-com.c
--- bfd/elf32-sh64-com.c	15 Apr 2003 08:51:51 -0000	1.5
+++ bfd/elf32-sh64-com.c	17 Apr 2003 17:18:25 -0000
@@ -1,4 +1,4 @@
-/* Renesas SH64-specific support for 32-bit ELF
+/* SuperH SH64-specific support for 32-bit ELF
    Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
Index: bfd/elf32-sh64.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-sh64.c,v
retrieving revision 1.13
diff -p -u -r1.13 elf32-sh64.c
--- bfd/elf32-sh64.c	15 Apr 2003 08:51:51 -0000	1.13
+++ bfd/elf32-sh64.c	17 Apr 2003 17:18:25 -0000
@@ -1,4 +1,4 @@
-/* Renesas SH64-specific support for 32-bit ELF
+/* SuperH SH64-specific support for 32-bit ELF
    Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
Index: bfd/elf64-sh64.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-sh64.c,v
retrieving revision 1.27
diff -p -u -r1.27 elf64-sh64.c
--- bfd/elf64-sh64.c	15 Apr 2003 08:51:51 -0000	1.27
+++ bfd/elf64-sh64.c	17 Apr 2003 17:18:25 -0000
@@ -1,4 +1,4 @@
-/* Renesas SH64-specific support for 64-bit ELF
+/* SuperH SH64-specific support for 64-bit ELF
    Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
Index: bfd/reloc.c
===================================================================
RCS file: /cvs/src/src/bfd/reloc.c,v
retrieving revision 1.84
diff -p -u -r1.84 reloc.c
--- bfd/reloc.c	15 Apr 2003 08:51:51 -0000	1.84
+++ bfd/reloc.c	17 Apr 2003 17:18:25 -0000
@@ -2727,7 +2727,7 @@ ENUMX
 ENUMX
   BFD_RELOC_SH_TLS_TPOFF32
 ENUMDOC
-  Renesas SH relocs.  Not all of these appear in object files.
+  Renesas / SuperH SH relocs.  Not all of these appear in object files.
 
 ENUM
   BFD_RELOC_THUMB_PCREL_BRANCH9
Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.201
diff -p -u -r1.201 readelf.c
--- binutils/readelf.c	15 Apr 2003 08:51:51 -0000	1.201
+++ binutils/readelf.c	17 Apr 2003 17:18:26 -0000
@@ -1770,7 +1770,7 @@ get_machine_name (e_machine)
     case EM_MCORE:		return "MCORE";
     case EM_ARM:		return "ARM";
     case EM_OLD_ALPHA:		return "Digital Alpha (old)";
-    case EM_SH:			return "Renesas SH";
+    case EM_SH:			return "Renesas / SuperH SH";
     case EM_SPARCV9:		return "Sparc v9";
     case EM_TRICORE:		return "Siemens Tricore";
     case EM_ARC:		return "ARC";
Index: gas/config/tc-sh.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.c,v
retrieving revision 1.82
diff -p -u -r1.82 tc-sh.c
--- gas/config/tc-sh.c	15 Apr 2003 08:51:53 -0000	1.82
+++ gas/config/tc-sh.c	17 Apr 2003 17:18:26 -0000
@@ -1,4 +1,4 @@
-/* tc-sh.c -- Assemble code for the Renesas Super-H
+/* tc-sh.c -- Assemble code for the Renesas / SuperH SH
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
 
Index: gas/config/tc-sh.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.h,v
retrieving revision 1.27
diff -p -u -r1.27 tc-sh.h
--- gas/config/tc-sh.h	15 Apr 2003 08:51:53 -0000	1.27
+++ gas/config/tc-sh.h	17 Apr 2003 17:18:26 -0000
@@ -101,7 +101,8 @@ extern long md_pcrel_from_section PARAMS
 
 #define LISTING_HEADER \
   (!target_big_endian \
-   ? "Renesas Super-H GAS Little Endian" : "Renesas Super-H GAS Big Endian")
+   ? "Renesas / SuperH SH GAS Little Endian" \
+   : "Renesas / SuperH SH GAS Big Endian")
 
 #define md_operand(x)
 
Index: gas/config/tc-sh64.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh64.c,v
retrieving revision 1.7
diff -p -u -r1.7 tc-sh64.c
--- gas/config/tc-sh64.c	15 Apr 2003 08:51:53 -0000	1.7
+++ gas/config/tc-sh64.c	17 Apr 2003 17:18:26 -0000
@@ -1,4 +1,4 @@
-/* tc-sh64.c -- Assemble code for the Renesas Super-H SHcompact and SHmedia.
+/* tc-sh64.c -- Assemble code for the SuperH SH SHcompact and SHmedia.
    Copyright 2000, 2001, 2002, 2003 Free Software Foundation.
 
    This file is part of GAS, the GNU Assembler.
Index: gas/config/tc-sh64.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh64.h,v
retrieving revision 1.6
diff -p -u -r1.6 tc-sh64.h
--- gas/config/tc-sh64.h	15 Apr 2003 08:51:53 -0000	1.6
+++ gas/config/tc-sh64.h	17 Apr 2003 17:18:26 -0000
@@ -37,8 +37,8 @@ extern int sh64_max_mem_for_rs_align_cod
 #undef  LISTING_HEADER
 #define LISTING_HEADER					\
   (target_big_endian ?					\
-     "Renesas SHcompact/SHmedia Big Endian GAS"		\
-   : "Renesas SHcompact/SHmedia Little Endian GAS")
+     "SuperH SHcompact/SHmedia Big Endian GAS"		\
+   : "SuperH SHcompact/SHmedia Little Endian GAS")
 
 /* We need to record the new frag position after an .align.  */
 extern void sh64_do_align PARAMS ((int, const char *, int, int));
Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.79
diff -p -u -r1.79 as.texinfo
--- gas/doc/as.texinfo	15 Apr 2003 08:51:53 -0000	1.79
+++ gas/doc/as.texinfo	17 Apr 2003 17:18:27 -0000
@@ -1156,8 +1156,10 @@ For information on the H8/500 machine in
 Series Programming Manual} (Renesas M21T001).
 @end ifset
 @ifset SH
-For information on the Renesas (formerly Hitachi) SH machine instruction set,
-see @cite{SH-Microcomputer User's Manual} (Renesas).
+For information on the Renesas (formerly Hitachi) / SuperH SH machine instruction set,
+see @cite{SH-Microcomputer User's Manual} (Renesas) or
+ at cite{SH-4 32-bit CPU Core Architecture} (SuperH) and
+ at cite{SuperH (SH) 64-Bit RISC Series} (SuperH).
 @end ifset
 @ifset Z8000
 For information on the Z8000 machine instruction set, see @cite{Z8000 CPU Technical Manual}
@@ -2086,7 +2088,7 @@ is considered a comment and is ignored. 
 @samp{;} for Motorola PowerPC;
 @end ifset
 @ifset SH
- at samp{!} for the Renesas SH;
+ at samp{!} for the Renesas / SuperH SH;
 @end ifset
 @ifset SPARC
 @samp{!} on the SPARC;
@@ -2542,7 +2544,7 @@ A letter, to tell @command{ at value{AS}} t
 @end ignore
 
 On the H8/300, H8/500,
-Renesas SH,
+Renesas / SuperH SH,
 and AMD 29K architectures, the letter must be
 one of the letters @samp{DFPRSX} (in upper or lower case).
 
@@ -2679,7 +2681,7 @@ the task of adjusting mentions of object
 the proper run-time addresses.
 @ifset H8
 For the H8/300 and H8/500,
-and for the Renesas SH,
+and for the Renesas / SuperH SH,
 @command{ at value{AS}} pads sections if needed to
 ensure they end on a word (sixteen bit) boundary.
 @end ifset
@@ -3882,8 +3884,8 @@ required alignment; this can be useful i
 with no-op instructions when appropriate.
 
 The way the required alignment is specified varies from system to system.
-For the a29k, hppa, m68k, m88k, w65, sparc, Xtensa, and Renesas SH, and i386 using ELF
-format,
+For the a29k, hppa, m68k, m88k, w65, sparc, Xtensa, and Renesas / SuperH SH,
+and i386 using ELF format,
 the first expression is the
 alignment request in bytes.  For example @samp{.align 8} advances
 the location counter until it is a multiple of 8.  If the location counter
@@ -5892,8 +5894,8 @@ subject, see the hardware manufacturer's
 * MSP430-Dependent::		MSP430 Dependent Features
 @end ifset
 @ifset SH
-* SH-Dependent::                Renesas SH Dependent Features
-* SH64-Dependent::              Renesas SH64 Dependent Features
+* SH-Dependent::                Renesas / SuperH SH Dependent Features
+* SH64-Dependent::              SuperH SH64 Dependent Features
 @end ifset
 @ifset PDP11
 * PDP-11-Dependent::            PDP-11 Dependent Features
Index: gas/doc/c-sh.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-sh.texi,v
retrieving revision 1.4
diff -p -u -r1.4 c-sh.texi
--- gas/doc/c-sh.texi	15 Apr 2003 08:51:53 -0000	1.4
+++ gas/doc/c-sh.texi	17 Apr 2003 17:18:27 -0000
@@ -4,7 +4,7 @@
 @c For copying conditions, see the file as.texinfo.
 @page
 @node SH-Dependent
- at chapter Renesas SH Dependent Features
+ at chapter Renesas / SuperH SH Dependent Features
 
 @cindex SH support
 @menu
@@ -21,7 +21,7 @@
 @cindex SH options
 @cindex options, SH
 @code{ at value{AS}} has following command-line options for the Renesas
-(formerly Hitachi) SH family.
+(formerly Hitachi) / SuperH SH family.
 
 @table @code
 @kindex -little
@@ -183,7 +183,9 @@ with other development tools.
 @cindex mnemonics, SH
 @cindex instruction summary, SH
 For detailed information on the SH machine instruction set, see
- at cite{SH-Microcomputer User's Manual} (Renesas).
+ at cite{SH-Microcomputer User's Manual} (Renesas) or
+ at cite{SH-4 32-bit CPU Core Architecture} (SuperH) and
+ at cite{SuperH (SH) 64-Bit RISC Series} (SuperH).
 
 @code{ at value{AS}} implements all the standard SH opcodes.  No additional
 pseudo-instructions are needed on this family.  Note, however, that
Index: gas/doc/c-sh64.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-sh64.texi,v
retrieving revision 1.3
diff -p -u -r1.3 c-sh64.texi
--- gas/doc/c-sh64.texi	15 Apr 2003 08:51:53 -0000	1.3
+++ gas/doc/c-sh64.texi	17 Apr 2003 17:18:27 -0000
@@ -3,7 +3,7 @@
 @c For copying conditions, see the file as.texinfo.
 @page
 @node SH64-Dependent
- at chapter Renesas SH64 Dependent Features
+ at chapter SuperH SH64 Dependent Features
 
 @cindex SH64 support
 @menu
Index: include/elf/common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.55
diff -p -u -r1.55 common.h
--- include/elf/common.h	15 Apr 2003 08:51:53 -0000	1.55
+++ include/elf/common.h	17 Apr 2003 17:18:27 -0000
@@ -126,7 +126,7 @@
 #define EM_RCE		 39	/* Old name for MCore */
 #define EM_ARM		 40	/* ARM */
 #define EM_OLD_ALPHA	 41	/* Digital Alpha */
-#define EM_SH		 42	/* Renesas (formerly Hitachi) SH */
+#define EM_SH		 42	/* Renesas (formerly Hitachi) / SuperH SH */
 #define EM_SPARCV9	 43	/* SPARC v9 64-bit */
 #define EM_TRICORE	 44	/* Siemens Tricore embedded processor */
 #define EM_ARC		 45	/* ARC Cores */
Index: ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd,v
retrieving revision 1.5
diff -p -u -r1.5 crange3-cmpct.rd
--- ld/testsuite/ld-sh/sh64/crange3-cmpct.rd	15 Apr 2003 08:51:54 -0000	1.5
+++ ld/testsuite/ld-sh/sh64/crange3-cmpct.rd	17 Apr 2003 17:18:27 -0000
@@ -6,7 +6,7 @@ ELF Header:
   OS/ABI:                            UNIX - System V
   ABI Version:                       0
   Type:                              EXEC \(Executable file\)
-  Machine:                           Renesas SH
+  Machine:                           SuperH SH
   Version:                           0x1
   Entry point address:               0x10c4
   Start of program headers:          52 \(bytes into file\)
Index: ld/testsuite/ld-sh/sh64/crange3-media.rd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/crange3-media.rd,v
retrieving revision 1.5
diff -p -u -r1.5 crange3-media.rd
--- ld/testsuite/ld-sh/sh64/crange3-media.rd	15 Apr 2003 08:51:54 -0000	1.5
+++ ld/testsuite/ld-sh/sh64/crange3-media.rd	17 Apr 2003 17:18:27 -0000
@@ -6,7 +6,7 @@ ELF Header:
   OS/ABI:                            UNIX - System V
   ABI Version:                       0
   Type:                              EXEC \(Executable file\)
-  Machine:                           Renesas SH
+  Machine:                           SuperH SH
   Version:                           0x1
   Entry point address:               0x10a5
   Start of program headers:          52 \(bytes into file\)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]