Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
This commit is contained in:
parent
a53ecf01a5
commit
7649aa5088
|
@ -1,3 +1,8 @@
|
||||||
|
2001-10-29 NIIBE Yutaka <gniibe@m17n.org>
|
||||||
|
|
||||||
|
* config.bfd: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
|
||||||
|
targets.
|
||||||
|
|
||||||
2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
|
2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
* targets.c: Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
|
* targets.c: Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
|
||||||
|
|
|
@ -31,31 +31,32 @@ targ_underscore=no
|
||||||
|
|
||||||
targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||||
case "${targ_cpu}" in
|
case "${targ_cpu}" in
|
||||||
alpha*) targ_archs=bfd_alpha_arch ;;
|
alpha*) targ_archs=bfd_alpha_arch ;;
|
||||||
arm*) targ_archs=bfd_arm_arch ;;
|
arm*) targ_archs=bfd_arm_arch ;;
|
||||||
strongarm*) targ_archs=bfd_arm_arch ;;
|
c30*) targ_archs=bfd_tic30_arch ;;
|
||||||
thumb*) targ_archs=bfd_arm_arch ;;
|
c54x*) targ_archs=bfd_tic54x_arch ;;
|
||||||
xscale*) targ_archs=bfd_arm_arch ;;
|
hppa*) targ_archs=bfd_hppa_arch ;;
|
||||||
c30*) targ_archs=bfd_tic30_arch ;;
|
i[3456]86) targ_archs=bfd_i386_arch ;;
|
||||||
c54x*) targ_archs=bfd_tic54x_arch ;;
|
i370) targ_archs=bfd_i370_arch ;;
|
||||||
hppa*) targ_archs=bfd_hppa_arch ;;
|
|
||||||
x86_64) targ_archs=bfd_i386_arch ;;
|
|
||||||
i[3456]86) targ_archs=bfd_i386_arch ;;
|
|
||||||
i370) targ_archs=bfd_i370_arch ;;
|
|
||||||
m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch" ;;
|
m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch" ;;
|
||||||
m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch" ;;
|
m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch" ;;
|
||||||
m68*) targ_archs=bfd_m68k_arch ;;
|
m68*) targ_archs=bfd_m68k_arch ;;
|
||||||
m88*) targ_archs=bfd_m88k_arch ;;
|
m88*) targ_archs=bfd_m88k_arch ;;
|
||||||
mips*) targ_archs=bfd_mips_arch ;;
|
mips*) targ_archs=bfd_mips_arch ;;
|
||||||
pdp11*) targ_archs=bfd_pdp11_arch ;;
|
pdp11*) targ_archs=bfd_pdp11_arch ;;
|
||||||
pj*) targ_archs="bfd_pj_arch bfd_i386_arch";;
|
pj*) targ_archs="bfd_pj_arch bfd_i386_arch";;
|
||||||
powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
|
powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
|
||||||
s390*) targ_archs=bfd_s390_arch ;;
|
rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
|
||||||
rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
|
s390*) targ_archs=bfd_s390_arch ;;
|
||||||
sparc*) targ_archs=bfd_sparc_arch ;;
|
sh*) targ_archs=bfd_sh_arch ;;
|
||||||
v850*) targ_archs=bfd_v850_arch ;;
|
sparc*) targ_archs=bfd_sparc_arch ;;
|
||||||
z8k*) targ_archs=bfd_z8k_arch ;;
|
strongarm*) targ_archs=bfd_arm_arch ;;
|
||||||
*) targ_archs=bfd_${targ_cpu}_arch ;;
|
thumb*) targ_archs=bfd_arm_arch ;;
|
||||||
|
v850*) targ_archs=bfd_v850_arch ;;
|
||||||
|
x86_64) targ_archs=bfd_i386_arch ;;
|
||||||
|
xscale*) targ_archs=bfd_arm_arch ;;
|
||||||
|
z8k*) targ_archs=bfd_z8k_arch ;;
|
||||||
|
*) targ_archs=bfd_${targ_cpu}_arch ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
@ -814,6 +815,12 @@ case "${targ}" in
|
||||||
targ_defvec=bfd_elf32_shblin_vec
|
targ_defvec=bfd_elf32_shblin_vec
|
||||||
targ_selvecs=bfd_elf32_shlin_vec
|
targ_selvecs=bfd_elf32_shlin_vec
|
||||||
;;
|
;;
|
||||||
|
sh*eb-*-linux*)
|
||||||
|
targ_defvec=bfd_elf32_shblin_vec
|
||||||
|
;;
|
||||||
|
sh*-*-linux*)
|
||||||
|
targ_defvec=bfd_elf32_shlin_vec
|
||||||
|
;;
|
||||||
|
|
||||||
sh-*-elf* | sh-*-rtemself*)
|
sh-*-elf* | sh-*-rtemself*)
|
||||||
targ_defvec=bfd_elf32_sh_vec
|
targ_defvec=bfd_elf32_sh_vec
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
|
||||||
|
|
||||||
|
* configure.in: Handle sh*eb-*-linux* and sh*-*-linux*.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
* doc/c-sh.texi (SH Options): Added descriptions.
|
||||||
|
|
||||||
2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
|
2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* configure.in: Update for MMIX port.
|
* configure.in: Update for MMIX port.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -2193,7 +2193,7 @@ configure configure.in gdbinit.in itbl-lex.c itbl-parse.c
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = tar
|
TAR = gtar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES)
|
SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES)
|
||||||
OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS)
|
OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS)
|
||||||
|
@ -2354,7 +2354,7 @@ maintainer-clean-recursive:
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
rev="$$subdir $$rev"; \
|
rev="$$subdir $$rev"; \
|
||||||
test "$$subdir" = "." && dot_seen=yes; \
|
test "$$subdir" != "." || dot_seen=yes; \
|
||||||
done; \
|
done; \
|
||||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -394,7 +394,8 @@ changequote([,])dnl
|
||||||
s390x-*-linux-gnu*) fmt=elf em=linux ;;
|
s390x-*-linux-gnu*) fmt=elf em=linux ;;
|
||||||
s390-*-linux-gnu*) fmt=elf em=linux ;;
|
s390-*-linux-gnu*) fmt=elf em=linux ;;
|
||||||
|
|
||||||
sh-*-linux*) fmt=elf em=linux ;;
|
sh*eb-*-linux*) fmt=elf em=linux endian=big ;;
|
||||||
|
sh*-*-linux*) fmt=elf em=linux endian=little ;;
|
||||||
sh-*-elf*) fmt=elf ;;
|
sh-*-elf*) fmt=elf ;;
|
||||||
sh-*-coff*) fmt=coff bfd_gas=yes;;
|
sh-*-coff*) fmt=coff bfd_gas=yes;;
|
||||||
sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;;
|
sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@c Copyright 1991, 1992, 1993, 1994, 1995, 1997
|
@c Copyright 1991, 1992, 1993, 1994, 1995, 1997, 2001
|
||||||
@c Free Software Foundation, Inc.
|
@c Free Software Foundation, Inc.
|
||||||
@c This is part of the GAS manual.
|
@c This is part of the GAS manual.
|
||||||
@c For copying conditions, see the file as.texinfo.
|
@c For copying conditions, see the file as.texinfo.
|
||||||
|
@ -18,11 +18,35 @@
|
||||||
@node SH Options
|
@node SH Options
|
||||||
@section Options
|
@section Options
|
||||||
|
|
||||||
@cindex SH options (none)
|
@cindex SH options
|
||||||
@cindex options, SH (none)
|
@cindex options, SH
|
||||||
@code{@value{AS}} has no additional command-line options for the Hitachi
|
@code{@value{AS}} has following command-line options for the Hitachi
|
||||||
SH family.
|
SH family.
|
||||||
|
|
||||||
|
@table @code
|
||||||
|
@kindex -little
|
||||||
|
@kindex -big
|
||||||
|
@kindex -relax
|
||||||
|
@kindex -small
|
||||||
|
@kindex -dsp
|
||||||
|
|
||||||
|
@item -little
|
||||||
|
Generate little endian code.
|
||||||
|
|
||||||
|
@item -big
|
||||||
|
Generate big endian code.
|
||||||
|
|
||||||
|
@item -relax
|
||||||
|
Alter jump instructions for long displacements.
|
||||||
|
|
||||||
|
@item -small
|
||||||
|
Align sections to 4 byte boundaries, not 16.
|
||||||
|
|
||||||
|
@item -dsp
|
||||||
|
Enable sh-dsp insns, and disable sh3e / sh4 insns.
|
||||||
|
|
||||||
|
@end table
|
||||||
|
|
||||||
@node SH Syntax
|
@node SH Syntax
|
||||||
@section Syntax
|
@section Syntax
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
|
||||||
|
|
||||||
|
* configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
|
||||||
|
targets.
|
||||||
|
(sh-*-linux*): Added targ_extra_libpath.
|
||||||
|
|
||||||
2001-10-31 David Heine <dlheine@tensilica.com>
|
2001-10-31 David Heine <dlheine@tensilica.com>
|
||||||
|
|
||||||
* ldlang.c (lang_size_sections): Keep a valid output_offset field
|
* ldlang.c (lang_size_sections): Keep a valid output_offset field
|
||||||
|
|
|
@ -231,6 +231,13 @@ h8500-*-hms* | h8500-*-coff*)
|
||||||
sh-*-linux*)
|
sh-*-linux*)
|
||||||
targ_emul=shelf_linux
|
targ_emul=shelf_linux
|
||||||
targ_extra_emuls=shlelf_linux
|
targ_extra_emuls=shlelf_linux
|
||||||
|
targ_extra_libpath=shelf_linux
|
||||||
|
;;
|
||||||
|
sh*eb-*-linux*)
|
||||||
|
targ_emul=shelf_linux
|
||||||
|
;;
|
||||||
|
sh*-*-linux*)
|
||||||
|
targ_emul=shlelf_linux
|
||||||
;;
|
;;
|
||||||
sh-*-elf* | sh-*-rtemself*)
|
sh-*-elf* | sh-*-rtemself*)
|
||||||
targ_emul=shelf
|
targ_emul=shelf
|
||||||
|
|
Loading…
Reference in New Issue