Source-Changes-HG archive

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

[src/trunk]: src/gnu libbfd for NetBSD/sh3



details:   https://anonhg.NetBSD.org/src/rev/d3aa6af364c1
branches:  trunk
changeset: 479913:d3aa6af364c1
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Dec 26 19:48:00 1999 +0000

description:
libbfd for NetBSD/sh3

diffstat:

 gnu/dist/bfd/targets.c  |   2 ++
 gnu/lib/libbfd/Makefile |  20 +++++++++++++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 3019b997a40b -r d3aa6af364c1 gnu/dist/bfd/targets.c
--- a/gnu/dist/bfd/targets.c    Sun Dec 26 17:47:18 1999 +0000
+++ b/gnu/dist/bfd/targets.c    Sun Dec 26 19:48:00 1999 +0000
@@ -504,6 +504,8 @@
 extern const bfd_target bfd_elf32_mn10300_vec;
 extern const bfd_target bfd_elf32_powerpc_vec;
 extern const bfd_target bfd_elf32_powerpcle_vec;
+extern const bfd_target bfd_elf32_shunx_vec;
+extern const bfd_target bfd_elf32_shlunx_vec;
 extern const bfd_target bfd_elf32_sh_vec;
 extern const bfd_target bfd_elf32_shl_vec;
 extern const bfd_target bfd_elf32_sparc_vec;
diff -r 3019b997a40b -r d3aa6af364c1 gnu/lib/libbfd/Makefile
--- a/gnu/lib/libbfd/Makefile   Sun Dec 26 17:47:18 1999 +0000
+++ b/gnu/lib/libbfd/Makefile   Sun Dec 26 19:48:00 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 1999/11/23 02:08:03 wrstuden Exp $
+#      $NetBSD: Makefile,v 1.13 1999/12/26 19:48:01 msaitoh Exp $
 
 LIB=           bfd
 
@@ -162,6 +162,24 @@
                        xcofflink.c
 .endif
 
+##### sh3 #####
+
+.if (${MACHINE_ARCH} == "sh3" || !defined(BFD_SLIM))
+ARCHES+=               sh
+.if defined(ELF_PLEASE)
+DEFAULT_VEC.sh3=       bfd_elf32_shunx_vec
+SELECT_VECS+=          ${DEFAULT_VEC.sh3} bfd_elf32_shlunx_vec \
+                       shcoff_vec shlcoff_vec
+.else
+DEFAULT_VEC.sh3=       shcoff_vec
+SELECT_VECS+=          ${DEFAULT_VEC.sh3} shlcoff_vec \
+                       bfd_elf32_shunx_vec bfd_elf32_shlunx_vec
+.endif
+SRCS+=                 cpu-sh.c sh-dis.c \
+                       elf32-shunx.c elf32-sh.c elf32.c elf.c elflink.c \
+                       coff-sh.c cofflink.c coffgen.c dwarf2.c
+.endif
+
 ##### sparc #####
 
 .if (${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" || \



Home | Main Index | Thread Index | Old Index