diff options
| author | tsubai <tsubai@NetBSD.org> | 2001-02-02 19:32:38 +0000 |
|---|---|---|
| committer | tsubai <tsubai@NetBSD.org> | 2001-02-02 19:32:38 +0000 |
| commit | dbe09b485bf5247cd5cc72b98ddaa0764aca5729 (patch) | |
| tree | 0f33bd451b05e1754e649ca9a8b2a8feddf9baa9 | |
| parent | 07a5bebdd8a1edc53225833cd5388febfec6e20f (diff) | |
sh3 --> sh3eb / sh3el.
| -rw-r--r-- | gnu/lib/libbfd/Makefile | 8 | ||||
| -rw-r--r-- | gnu/usr.bin/ld.new/Makefile | 25 |
2 files changed, 21 insertions, 12 deletions
diff --git a/gnu/lib/libbfd/Makefile b/gnu/lib/libbfd/Makefile index 81428f0adb7..ec9a690c115 100644 --- a/gnu/lib/libbfd/Makefile +++ b/gnu/lib/libbfd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2001/01/04 09:11:47 itojun Exp $ +# $NetBSD: Makefile,v 1.19 2001/02/02 19:33:54 tsubai Exp $ LIB= bfd @@ -173,12 +173,12 @@ ARCHES+= sh .if defined(ELF_PLEASE) DEFAULT_VEC.sh3eb= bfd_elf32_shunx_vec DEFAULT_VEC.sh3el= bfd_elf32_shunx_vec -SELECT_VECS+= ${DEFAULT_VEC.sh3} bfd_elf32_shlunx_vec \ - shcoff_vec shlcoff_vec +SELECT_VECS+= ${DEFAULT_VEC.sh3eb} ${DEFAULT_VEC.sh3el} \ + bfd_elf32_shlunx_vec shcoff_vec shlcoff_vec .else DEFAULT_VEC.sh3el= shcoff_vec DEFAULT_VEC.sh3eb= shcoff_vec -SELECT_VECS+= ${DEFAULT_VEC.sh3} shlcoff_vec \ +SELECT_VECS+= ${DEFAULT_VEC.sh3eb} ${DEFAULT_VEC.sh3el} shlcoff_vec \ bfd_elf32_shunx_vec bfd_elf32_shlunx_vec .endif SRCS+= cpu-sh.c sh-dis.c \ diff --git a/gnu/usr.bin/ld.new/Makefile b/gnu/usr.bin/ld.new/Makefile index edca68d3945..c580691d7e0 100644 --- a/gnu/usr.bin/ld.new/Makefile +++ b/gnu/usr.bin/ld.new/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2001/01/09 08:52:59 enami Exp $ +# $NetBSD: Makefile,v 1.23 2001/02/02 19:32:38 tsubai Exp $ # for OBJECT_FMT, UNPRIVILEGED .include <bsd.own.mk> @@ -13,7 +13,8 @@ ELF_PLEASE= (${MACHINE_ARCH} == "mipseb") || \ (${MACHINE_ARCH} == "mipsel") || \ (${MACHINE_ARCH} == "powerpc") || \ - (${MACHINE_ARCH} == "sh3") || \ + (${MACHINE_ARCH} == "sh3eb") || \ + (${MACHINE_ARCH} == "sh3el") || \ (${MACHINE_ARCH} == "sparc" && defined(ELF_PLEASE)) PROG= ld MAN= ld.1 @@ -75,12 +76,20 @@ DEFAULT_EMUL.mipsel= elf32lmip EMULS.powerpc= elf32ppc DEFAULT_EMUL.powerpc= elf32ppc -##### sh3 ##### -EMULS.sh3= shunx shlunx elf32shunx elf32shlunx +##### sh3eb ##### +EMULS.sh3eb= shunx shlunx elf32shunx elf32shlunx .if defined(ELF_PLEASE) -DEFAULT_EMUL.sh3= elf32shunx +DEFAULT_EMUL.sh3eb= elf32shunx .else -DEFAULT_EMUL.sh3= shunx +DEFAULT_EMUL.sh3eb= shunx +.endif + +##### sh3el ##### +EMULS.sh3el= shunx shlunx elf32shunx elf32shlunx +.if defined(ELF_PLEASE) +DEFAULT_EMUL.sh3el= elf32shlunx +.else +DEFAULT_EMUL.sh3el= shlunx .endif ##### sparc ##### @@ -97,8 +106,8 @@ DEFAULT_EMUL.sparc64= elf64_sparc ALL_EMULS!= (for i in ${EMULS.alpha} ${EMULS.i386} ${EMULS.m68k} \ ${EMULS.mipseb} ${EMULS.mipsel} ${EMULS.powerpc} \ - ${EMULS.sh3} ${EMULS.sparc} ${EMULS.sparc64}; \ - do echo $$i; done) | \ + ${EMULS.sh3eb} ${EMULS.sh3el} ${EMULS.sparc} \ + ${EMULS.sparc64}; do echo $$i; done) | \ sort | uniq LIB_PATH= ${LIBDIR} # passed to genscripts |
