vax pieces and some other stuff from -devel.

This commit is contained in:
fgsch 2002-04-25 22:36:14 +00:00
parent f943ccaa41
commit 390a86e52a
4 changed files with 79 additions and 10 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-bfd_config_bfd,v 1.2 2002/03/19 08:27:31 fgsch Exp $
$OpenBSD: patch-bfd_config_bfd,v 1.3 2002/04/25 22:36:14 fgsch Exp $
--- bfd/config.bfd.orig Thu Jun 14 08:16:59 2001
+++ bfd/config.bfd Sun Mar 17 20:10:26 2002
+++ bfd/config.bfd Thu Apr 25 18:08:24 2002
@@ -62,7 +62,7 @@ esac
case "${targ}" in
# START OF targmatch.h
@ -42,3 +42,15 @@ $OpenBSD: patch-bfd_config_bfd,v 1.2 2002/03/19 08:27:31 fgsch Exp $
targ_defvec=bfd_elf32_bigmips_vec
targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
;;
@@ -878,6 +878,11 @@ case "${targ}" in
targ_underscore=yes
;;
#endif
+
+ vax-*-openbsd*)
+ targ_defvec=vaxnetbsd_vec
+ targ_underscore=yes
+ ;;
vax*-*-*vms*)
targ_defvec=vms_vax_vec

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-bfd_configure_in,v 1.1.1.1 2002/02/19 04:19:21 fgsch Exp $
$OpenBSD: patch-bfd_configure_in,v 1.2 2002/04/25 22:36:14 fgsch Exp $
--- bfd/configure.in.orig Tue Jun 19 16:58:12 2001
+++ bfd/configure.in Thu Feb 14 06:19:46 2002
+++ bfd/configure.in Thu Apr 25 18:10:35 2002
@@ -143,6 +143,7 @@ if test "${target}" = "${host}"; then
TRAD_HEADER='"hosts/alphalinux.h"'
;;
@ -9,3 +9,30 @@ $OpenBSD: patch-bfd_configure_in,v 1.1.1.1 2002/02/19 04:19:21 fgsch Exp $
alpha*-*-*) COREFILE=osf-core.lo ;;
arm-*-freebsd*) COREFILE='' ;;
arm-*-riscix) COREFILE=trad-core.lo ;;
@@ -310,13 +311,17 @@ changequote([,])dnl
powerpc-*-freebsd*) COREFILE='' ;;
powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
- sparc-*-netbsd* | sparc-*-openbsd*)
+ sparc-*-netbsd* | sparc*-*-openbsd*)
COREFILE=netbsd-core.lo
;;
tahoe-*-*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/tahoe.h"'
;;
+ vax-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ COREFLAG=-DNETBSD_CORE
+ ;;
vax-*-ultrix2*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/vaxult2.h"'
@@ -652,6 +657,7 @@ do
tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;;
tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;
tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;;
+ vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
versados_vec) tb="$tb versados.lo" ;;
vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"
target64=true ;;

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.2 2002/03/19 08:27:31 fgsch Exp $
$OpenBSD: patch-configure_in,v 1.3 2002/04/25 22:36:14 fgsch Exp $
--- configure.in.orig Tue Jun 19 18:05:20 2001
+++ configure.in Sun Mar 17 20:03:33 2002
+++ configure.in Thu Apr 25 18:06:44 2002
@@ -690,6 +690,7 @@ case "${target}" in
hppa*-*-*elf* | \
hppa*-*-linux-gnu* | \
@ -9,13 +9,23 @@ $OpenBSD: patch-configure_in,v 1.2 2002/03/19 08:27:31 fgsch Exp $
hppa*64*-*-*)
# Do configure ld/binutils/gas for this case.
;;
@@ -848,6 +849,9 @@ case "${target}" in
;;
@@ -849,6 +850,9 @@ case "${target}" in
mips*-dec-bsd*)
noconfigdirs="$noconfigdirs gprof target-libgloss target-libffi"
+ ;;
;;
+ mips*-*-openbsd*)
+ noconfigdirs="target-libgloss target-libffi"
;;
+ ;;
mips*-*-bsd*)
noconfigdirs="$noconfigdirs gprof target-libgloss target-libffi"
;;
@@ -906,6 +910,9 @@ case "${target}" in
;;
v850ea-*-*)
noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ ;;
+ vax-*-openbsd*)
+ noconfigdirs="$noconfigdirs ld gas gprof"
;;
vax-*-vms)
noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss target-libffi"

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-ld_genscripts_sh,v 1.1 2002/04/25 22:36:14 fgsch Exp $
--- ld/genscripts.sh.orig Thu Apr 25 18:10:48 2002
+++ ld/genscripts.sh Thu Apr 25 18:11:29 2002
@@ -52,15 +52,12 @@ if [ "x${LIB_PATH}" = "x" ] ; then
case " $EMULATION_LIBPATH " in
*" ${EMULATION_NAME} "*)
# Native, and default or emulation requesting LIB_PATH.
- LIB_PATH=/lib:/usr/lib
+ LIB_PATH=/usr/lib
if [ -n "${NATIVE_LIB_DIRS}" ]; then
LIB_PATH=${LIB_PATH}:${NATIVE_LIB_DIRS}
fi
if [ "${libdir}" != /usr/lib ]; then
LIB_PATH=${LIB_PATH}:${libdir}
- fi
- if [ "${libdir}" != /usr/local/lib ] ; then
- LIB_PATH=${LIB_PATH}:/usr/local/lib
fi
esac
fi