mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
Support for Hitachi SH
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Apr 26 18:29:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||||
|
|
||||||
|
* config/tc-sh.ch, config/tc-sh.h: New files supporting Hitachi
|
||||||
|
SH.
|
||||||
|
|
||||||
Mon Apr 26 12:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
|
Mon Apr 26 12:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
* expr.c (operand): Fix unary plus operator (previously was the
|
* expr.c (operand): Fix unary plus operator (previously was the
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# All files listed between the "Things-to-keep:" line and the
|
# All files listed between the "Things-to-keep:" line and the
|
||||||
# "Files-to-sed:" line will be kept. All other files will be removed.
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
||||||
# Directories listed in this section will have their own Sanitize
|
# Directories listed in this section will have their own Sanitize
|
||||||
@ -80,6 +81,7 @@ obj-ieee.c
|
|||||||
obj-ieee.h
|
obj-ieee.h
|
||||||
obj-vms.c
|
obj-vms.c
|
||||||
obj-vms.h
|
obj-vms.h
|
||||||
|
sh.mt
|
||||||
sparc.mt
|
sparc.mt
|
||||||
tc-a29k.c
|
tc-a29k.c
|
||||||
tc-a29k.h
|
tc-a29k.h
|
||||||
@ -106,6 +108,8 @@ tc-ns32k.c
|
|||||||
tc-ns32k.h
|
tc-ns32k.h
|
||||||
tc-rs6000.c
|
tc-rs6000.c
|
||||||
tc-rs6000.h
|
tc-rs6000.h
|
||||||
|
tc-sh.c
|
||||||
|
tc-sh.h
|
||||||
tc-sparc.c
|
tc-sparc.c
|
||||||
tc-sparc.h
|
tc-sparc.h
|
||||||
tc-tahoe.c
|
tc-tahoe.c
|
||||||
|
@ -359,7 +359,6 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
|
|||||||
struct external_reloc *ext_ptr;
|
struct external_reloc *ext_ptr;
|
||||||
struct external_reloc *external_reloc_vec;
|
struct external_reloc *external_reloc_vec;
|
||||||
unsigned int external_reloc_size;
|
unsigned int external_reloc_size;
|
||||||
unsigned int count = 0;
|
|
||||||
unsigned int base = segment_info[idx].scnhdr.s_paddr;
|
unsigned int base = segment_info[idx].scnhdr.s_paddr;
|
||||||
fixS *fix_ptr = segment_info[idx].fix_root;
|
fixS *fix_ptr = segment_info[idx].fix_root;
|
||||||
nrelocs = count_entries_in_chain (idx);
|
nrelocs = count_entries_in_chain (idx);
|
||||||
@ -1609,9 +1608,6 @@ DEFUN (crawl_symbols, (h, abfd),
|
|||||||
{
|
{
|
||||||
|
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
unsigned int ptr = 0;
|
|
||||||
|
|
||||||
|
|
||||||
symbolS *symbolP;
|
symbolS *symbolP;
|
||||||
|
|
||||||
/* Initialize the stack used to keep track of the matching .bb .be */
|
/* Initialize the stack used to keep track of the matching .bb .be */
|
||||||
|
@ -54,6 +54,11 @@
|
|||||||
#define TARGET_FORMAT "coff-h8500"
|
#define TARGET_FORMAT "coff-h8500"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef TC_SH
|
||||||
|
#include "coff/sh.h"
|
||||||
|
#define TARGET_FORMAT "coff-sh"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TC_M68K
|
#ifdef TC_M68K
|
||||||
#include "coff/m68k.h"
|
#include "coff/m68k.h"
|
||||||
#define TARGET_FORMAT "coff-m68k"
|
#define TARGET_FORMAT "coff-m68k"
|
||||||
|
3
gas/config/sh.mt
Normal file
3
gas/config/sh.mt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
TARG_CPU_DEPENDENTS=$(srcdir)/../opcodes/h8500-opc.h
|
||||||
|
LOCAL_LOADLIBES=../bfd/libbfd.a
|
||||||
|
TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD
|
Reference in New Issue
Block a user