diff options
author | tsutsui <tsutsui> | 2001-01-24 11:24:12 +0000 |
---|---|---|
committer | tsutsui <tsutsui> | 2001-01-24 11:24:12 +0000 |
commit | 56bf679592710ac76b3bf7ae7729b5d462570bf7 (patch) | |
tree | cf55b3f1c1dc9b1df20536d4781ac2b5994677f4 /cross | |
parent | ccc081517ac94f854a985144096d20438c62c10e (diff) | |
download | pkgsrc-56bf679592710ac76b3bf7ae7729b5d462570bf7.tar.gz |
Add m68k-netbsdlef target.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/binutils/files/patch-sum | 3 | ||||
-rw-r--r-- | cross/binutils/patches/patch-m68k | 72 | ||||
-rw-r--r-- | cross/binutils/pkg/PLIST | 8 |
3 files changed, 81 insertions, 2 deletions
diff --git a/cross/binutils/files/patch-sum b/cross/binutils/files/patch-sum index 7aae465e1a1..d00c5a122fe 100644 --- a/cross/binutils/files/patch-sum +++ b/cross/binutils/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.5 2001/01/24 11:18:18 tsutsui Exp $ +$NetBSD: patch-sum,v 1.6 2001/01/24 11:24:12 tsutsui Exp $ MD5 (patch-aa) = ada1c082c4558f36129d80481e6d259a MD5 (patch-ab) = a5d51269ccf1c469d9df710427aadf04 @@ -13,6 +13,7 @@ MD5 (patch-an) = 56ecff9a9865807044a82a7ccc8262ea MD5 (patch-archive) = 82c7bbe7dd204fc269e11941f83b9035 MD5 (patch-arm32) = 6853eeb965aae339be0842cf75079673 MD5 (patch-arrays) = 963e8978c12ad5f94eaf77764ff022bb +MD5 (patch-m68k) = af300da0043b3ec37f5e068e573bb163 MD5 (patch-mips) = 6669059635686d505a1aaeeaf9b96bf9 MD5 (patch-powerpc) = f41758e5bf1f6e2f6ba7661f90cd2587 MD5 (patch-sh) = 9ac7ce23853780ca8b15cb5930d61a27 diff --git a/cross/binutils/patches/patch-m68k b/cross/binutils/patches/patch-m68k new file mode 100644 index 00000000000..6b506a754b6 --- /dev/null +++ b/cross/binutils/patches/patch-m68k @@ -0,0 +1,72 @@ +$NetBSD: patch-m68k,v 1.1 2001/01/24 11:24:12 tsutsui Exp $ + +--- ./ld/configure.tgt.orig Sat Dec 9 21:17:55 2000 ++++ ./ld/configure.tgt Sat Dec 9 21:25:20 2000 +@@ -134,6 +134,7 @@ + m68*-*-lynxos*) targ_emul=m68klynx ;; + m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; ++m68*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; + m68*-*-netbsd*) targ_emul=m68knbsd ;; + m68*-*-psos*) targ_emul=m68kpsos ;; + m68*-*-rtems*) targ_emul=m68kcoff ;; + hppa*-*-*elf*) targ_emul=hppaelf ;; +--- /dev/null Sat Dec 9 21:20:06 2000 ++++ ./ld/emulparams/m68kelfnbsd.sh Sat Dec 9 21:23:39 2000 +@@ -0,0 +1,12 @@ ++SCRIPT_NAME=elf ++OUTPUT_FORMAT="elf32-m68k" ++TEXT_START_ADDR=0x2000 ++TARGET_PAGE_SIZE=0x2000 ++MAXPAGESIZE=0x2000 ++NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR} ++ARCH=m68k ++MACHINE= ++NOP=0x4e75 ++TEMPLATE_NAME=elf32 ++GENERATE_SHLIB_SCRIPT=yes ++ELFSIZE=32 +--- ./ld/Makefile.in.orig Sat Dec 9 23:49:47 2000 ++++ ./ld/Makefile.in Sun Dec 10 00:40:28 2000 +@@ -225,6 +225,7 @@ + em68klinux.o \ + em68klynx.o \ + em68knbsd.o \ ++ em68kelfnbsd.o \ + em68kpsos.o \ + em88kbcs.o \ + emipsbig.o \ +@@ -932,6 +933,9 @@ + em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} + ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" ++em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ ++ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ++ ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" + em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} + ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" +--- ./bfd/config.bfd.orig Mon Jan 22 21:24:53 2001 ++++ ./bfd/config.bfd Mon Jan 22 21:27:35 2001 +@@ -324,14 +324,19 @@ + targ_defvec=m68klynx_coff_vec + targ_selvecs=m68klynx_aout_vec + ;; +- m68*-hp*-netbsd*) ++ m68*-*-netbsdelf*) ++ targ_defvec=bfd_elf32_m68k_vec ++ targ_selvecs="m68k4knetbsd_vec hp300bsd_vec bfd_elf32_m68k_vec sunos_big_vec" ++ targ_underscore=yes ++ ;; ++ m68*-hp*-netbsd*0.* | m68*-hp*-netbsd*1.[012]*) + targ_defvec=m68k4knetbsd_vec +- targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec" ++ targ_selvecs="m68knetbsd_vec hp300bsd_vec bfd_elf32_m68k_vec sunos_big_vec" + targ_underscore=yes + ;; + m68*-*-netbsd* | m68*-*-openbsd*) + targ_defvec=m68knetbsd_vec +- targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" ++ targ_selvecs="m68k4knetbsd_vec hp300bsd_vec bfd_elf32_m68k_vec sunos_big_vec" + targ_underscore=yes + ;; + m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ diff --git a/cross/binutils/pkg/PLIST b/cross/binutils/pkg/PLIST index 6bef072840b..8b0929aa0d4 100644 --- a/cross/binutils/pkg/PLIST +++ b/cross/binutils/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2001/01/24 11:09:59 tsutsui Exp $ +@comment $NetBSD: PLIST,v 1.8 2001/01/24 11:24:12 tsutsui Exp $ lib/ldscripts/armnbsd.x lib/ldscripts/armnbsd.xbn lib/ldscripts/armnbsd.xn @@ -78,6 +78,12 @@ lib/ldscripts/m68kelf.xn lib/ldscripts/m68kelf.xr lib/ldscripts/m68kelf.xs lib/ldscripts/m68kelf.xu +lib/ldscripts/m68kelfnbsd.x +lib/ldscripts/m68kelfnbsd.xbn +lib/ldscripts/m68kelfnbsd.xn +lib/ldscripts/m68kelfnbsd.xr +lib/ldscripts/m68kelfnbsd.xs +lib/ldscripts/m68kelfnbsd.xu lib/ldscripts/m68knbsd.x lib/ldscripts/m68knbsd.xbn lib/ldscripts/m68knbsd.xn |