diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2003-10-07 17:30:02 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2003-10-07 17:30:02 +0000 |
commit | 7804b267733708ba251becc2bab1539aa1df5453 (patch) | |
tree | 75c28cb90ccee5ae2c1b5706c3111099f47afab2 /ld/configure.host | |
parent | afcc52fc8495e679fc81a84742293766923ec731 (diff) | |
download | binutils-redhat-7804b267733708ba251becc2bab1539aa1df5453.tar.gz |
* 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.host | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host index c1e9969893..544114e082 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 ;; |