aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2003-10-07 17:30:02 +0000
committerDave Anglin <dave.anglin@nrc.ca>2003-10-07 17:30:02 +0000
commitc0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4 (patch)
tree3dfa01e5eedd125afe5a5080e65a3e2a5ddb3522 /ld/configure.host
parentaec24853b5d0ec94dd440c674d0c869c24b53e0b (diff)
downloadbinutils-c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4.zip
binutils-c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4.tar.gz
binutils-c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4.tar.bz2
* configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
* ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for non 64-bit hppa*-*-linux* targets. * ld-elfvsb/main.c (main_visibility_check): Cast value returned by visibility_funptr () to a function pointer. * ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load offset), and shared (PIC main, non PIC so) tests for non 64-bit hppa*-*-linux* targets.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host
index c1e9969..544114e 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -95,6 +95,14 @@ hppa*64*-*-hpux11*)
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else if test "$GCC" = yes; then ${CC} --print-libgcc-file-name; else gcc --print-libgcc-file-name; fi fi` -lc /usr/lib/pa20_64/milli.a'
;;
+hppa*64*-*-linux*)
+ ;;
+
+hppa*-*-linux*)
+ # Need libgcc for $$dyncall.
+ HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} --print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
+ ;;
+
i[3-7]86-*-bsd* | i[3-7]86-*-freebsd[12] | i[3-7]86-*-freebsd[12]\.* | i[3-7]86-*-freebsd*aout*)
HOSTING_CRT0=/usr/lib/crt0.o
;;