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 | c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4 (patch) | |
tree | 3dfa01e5eedd125afe5a5080e65a3e2a5ddb3522 /ld/testsuite/ld-elfvsb/main.c | |
parent | aec24853b5d0ec94dd440c674d0c869c24b53e0b (diff) | |
download | gdb-c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4.zip gdb-c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4.tar.gz gdb-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/testsuite/ld-elfvsb/main.c')
-rw-r--r-- | ld/testsuite/ld-elfvsb/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elfvsb/main.c b/ld/testsuite/ld-elfvsb/main.c index 1ce2e3e..f071260 100644 --- a/ld/testsuite/ld-elfvsb/main.c +++ b/ld/testsuite/ld-elfvsb/main.c @@ -82,7 +82,7 @@ visibility () static int main_visibility_check () { - return visibility_funptr () != visibility; + return ((int (*) (void)) visibility_funptr ()) != visibility; } int visibility_var = 1; @@ -117,7 +117,7 @@ main_visibility_check () #ifdef WEAK_TEST return visibility_funptr () == NULL; #else - return visibility_funptr () == visibility; + return ((int (*) (void)) visibility_funptr ()) == visibility; #endif } |