Add configuration goo for NetBSD/alpha.
This commit is contained in:
parent
0e2d79bd14
commit
9cdcaf7f0d
|
@ -49,6 +49,9 @@ esac
|
|||
case "${targ}" in
|
||||
# START OF targmatch.h
|
||||
#ifdef BFD64
|
||||
alpha-*-netbsd*)
|
||||
targ_defvec=bfd_elf64_alpha_vec
|
||||
targ_selvecs=ecoffalpha_little_vec
|
||||
alpha-*-netware*)
|
||||
targ_defvec=ecoffalpha_little_vec
|
||||
targ_selvecs=nlm32_alpha_vec
|
||||
|
|
|
@ -1645,6 +1645,7 @@ if test "${target}" = "${host}"; then
|
|||
EOF
|
||||
|
||||
;;
|
||||
alpha*-*-netbsd*) COREFILE=netbsd-core.o ;;
|
||||
alpha*-*-*) COREFILE=osf-core.o ;;
|
||||
arm-*-riscix) COREFILE=trad-core.o ;;
|
||||
hppa*-*-hpux*) COREFILE=hpux-core.o ;;
|
||||
|
@ -1873,6 +1874,7 @@ EOF
|
|||
hpux-core.o) COREFLAG=-DHPUX_CORE ;;
|
||||
irix-core.o) COREFLAG=-DIRIX_CORE ;;
|
||||
lynx-core.o) COREFLAG=-DLYNX_CORE ;;
|
||||
netbsd-core.o) COREFLAG=-DNETBSD_CORE ;;
|
||||
osf-core.o) COREFLAG=-DOSF_CORE ;;
|
||||
ptrace-core.o) COREFLAG=-DPTRACE_CORE ;;
|
||||
rs6000-core.o) COREFLAG="$COREFLAG -DAIX_CORE" ;;
|
||||
|
|
|
@ -101,6 +101,11 @@ if [ "${shared}" = "true" ]; then
|
|||
fi
|
||||
|
||||
case "${host}" in
|
||||
alpha-*-netbsd*)
|
||||
PICFLAG=-fPIC
|
||||
HLDFLAGS='-rpath $(libdir)'
|
||||
SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)'
|
||||
;;
|
||||
*-dec-osf*)
|
||||
# -fpic is not needed on the Alpha.
|
||||
PICFLAG=
|
||||
|
|
|
@ -155,6 +155,7 @@ if test "${target}" = "${host}"; then
|
|||
COREFILE=trad-core.o
|
||||
AC_DEFINE(TRAD_HEADER,"hosts/alphalinux.h")
|
||||
;;
|
||||
alpha*-*-netbsd*) COREFILE=netbsd-core.o ;;
|
||||
alpha*-*-*) COREFILE=osf-core.o ;;
|
||||
arm-*-riscix) COREFILE=trad-core.o ;;
|
||||
hppa*-*-hpux*) COREFILE=hpux-core.o ;;
|
||||
|
@ -323,6 +324,7 @@ changequote([,])dnl
|
|||
hpux-core.o) COREFLAG=-DHPUX_CORE ;;
|
||||
irix-core.o) COREFLAG=-DIRIX_CORE ;;
|
||||
lynx-core.o) COREFLAG=-DLYNX_CORE ;;
|
||||
netbsd-core.o) COREFLAG=-DNETBSD_CORE ;;
|
||||
osf-core.o) COREFLAG=-DOSF_CORE ;;
|
||||
ptrace-core.o) COREFLAG=-DPTRACE_CORE ;;
|
||||
rs6000-core.o) COREFLAG="$COREFLAG -DAIX_CORE" ;;
|
||||
|
|
Loading…
Reference in New Issue