Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu sh3 --> sh3eb / sh3el.



details:   https://anonhg.NetBSD.org/src/rev/abb42152e11f
branches:  trunk
changeset: 503205:abb42152e11f
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri Feb 02 19:32:38 2001 +0000

description:
sh3 --> sh3eb / sh3el.

diffstat:

 gnu/lib/libbfd/Makefile     |   8 ++++----
 gnu/usr.bin/ld.new/Makefile |  25 +++++++++++++++++--------
 2 files changed, 21 insertions(+), 12 deletions(-)

diffs (80 lines):

diff -r 113a7507db3e -r abb42152e11f gnu/lib/libbfd/Makefile
--- a/gnu/lib/libbfd/Makefile   Fri Feb 02 19:00:18 2001 +0000
+++ b/gnu/lib/libbfd/Makefile   Fri Feb 02 19:32:38 2001 +0000
@@ -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 @@
 .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 -r 113a7507db3e -r abb42152e11f gnu/usr.bin/ld.new/Makefile
--- a/gnu/usr.bin/ld.new/Makefile       Fri Feb 02 19:00:18 2001 +0000
+++ b/gnu/usr.bin/ld.new/Makefile       Fri Feb 02 19:32:38 2001 +0000
@@ -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 @@
     (${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 @@
 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 @@
 
 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



Home | Main Index | Thread Index | Old Index