+2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
+
2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
* ldwrite.c (unsplittable_name): New.
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
;;
+2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * 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.
+
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-checks/checks.exp (section_check): Remove ia64-*-elf*.
setup_xfail "s390x-*-linux*"
}
setup_xfail "x86_64-*-linux*"
+ if { ![istarget hppa*64*-*-linux*] } {
+ setup_xfail "hppa*-*-linux*"
+ }
visibility_test $visibility vnp "visibility ($visibility) (non PIC)" mainnp.o sh1np.o sh2np.o elfvsb
setup_xfail "mips*-*-linux*"
}
setup_xfail "x86_64-*-linux*"
+ if { ![istarget hppa*64*-*-linux*] } {
+ setup_xfail "hppa*-*-linux*"
+ }
+
visibility_test $visibility vnp "visibility ($visibility) (non PIC, load offset)" \
mainnp.o sh1np.o sh2np.o elfvsb \
"-T $srcdir/$subdir/elf-offset.ld"
setup_xfail "s390x-*-linux*"
}
setup_xfail "x86_64-*-linux*"
+ if { ![istarget hppa*64*-*-linux*] } {
+ setup_xfail "hppa*-*-linux*"
+ }
+
visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
}
} else {
static int
main_visibility_check ()
{
- return visibility_funptr () != visibility;
+ return ((int (*) (void)) visibility_funptr ()) != visibility;
}
int visibility_var = 1;
#ifdef WEAK_TEST
return visibility_funptr () == NULL;
#else
- return visibility_funptr () == visibility;
+ return ((int (*) (void)) visibility_funptr ()) == visibility;
#endif
}
setup_xfail "*-*-sunos4*"
setup_xfail "ia64-*-linux*"
setup_xfail "alpha*-*-linux*"
+ if { ![istarget hppa*64*-*-linux*] } {
+ setup_xfail "hppa*-*-linux*"
+ }
setup_xfail "x86_64-*-linux*"
setup_xfail "s390x-*-linux*"
shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
setup_xfail "ia64-*-linux*"
setup_xfail "alpha*-*-linux*"
setup_xfail "mips*-*-linux*"
+ if { ![istarget hppa*64*-*-linux*] } {
+ setup_xfail "hppa*-*-linux*"
+ }
setup_xfail "x86_64-*-linux*"
shared_test shnp "shared (non PIC, load offset)" \
mainnp.o sh1np.o sh2np.o shared \
setup_xfail "*-*-sunos4*"
setup_xfail "ia64-*-linux*"
setup_xfail "alpha*-*-linux*"
+ if { ![istarget hppa*64*-*-linux*] } {
+ setup_xfail "hppa*-*-linux*"
+ }
setup_xfail "x86_64-*-linux*"
setup_xfail "s390x-*-linux*"
shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared