summaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-06-06 06:45:54 +0000
committerJeff Law <law@redhat.com>2002-06-06 06:45:54 +0000
commitc540adac6e5ec271b8122f4ab13bc038bf55b9d7 (patch)
tree180b47f464b59b8488cc7d63849c2aa80bcda882 /ld/configure.host
parent421debfcc8f9cc1da5bc6ded6950ee5dd4823e9b (diff)
downloadbinutils-redhat-c540adac6e5ec271b8122f4ab13bc038bf55b9d7.tar.gz
* configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
HOSTING_CRT0 and HOSTING_LIBS.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host
index 974a23b551..6622c31ad6 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -64,6 +64,13 @@ arm*-*-linux-gnu*)
HOSTING_CRT0='-p '`echo "$HOSTING_CRT0" | sed -e "s,ld\[^ \]*\*,ld-linux,g"`
;;
+hppa*64*-*-hpux11*)
+ NATIVE_LIB_DIRS=/usr/lib/pa20_64
+ HOSTING_CRT0=/usr/ccs/lib/pa20_64/crt0.o
+ # Even if CC is not gcc, the tests use gcc.
+ 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'
+ ;;
+
i[3456]86-*-bsd* | i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12]\.* | i[34567]86-*-freebsd*aout* | i[3456]86-*-netbsd*)
HOSTING_CRT0=/usr/lib/crt0.o
;;