aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2003-05-09 15:35:09 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2003-05-09 15:35:09 +0000
commit4648dfcf5b6bdda114c06be26f586a81e0922ee2 (patch)
tree8422506d8c11c385f0e069578f728bf960242cc1 /ld/testsuite/ld-elfvsb
parent2ebb4b8890392116df80469e328ad7988e04b193 (diff)
* ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
to linker script. * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x. * ld-selective/selective.exp: Disable for s390 and s390x. * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame to linker script. * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x. * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/elf-offset.ld2
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp12
2 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvsb/elf-offset.ld b/ld/testsuite/ld-elfvsb/elf-offset.ld
index dfe429309a..5e6611a234 100644
--- a/ld/testsuite/ld-elfvsb/elf-offset.ld
+++ b/ld/testsuite/ld-elfvsb/elf-offset.ld
@@ -58,6 +58,8 @@ SECTIONS
.rela.bss : { *(.rela.bss) }
.rel.plt : { *(.rel.plt) }
.rela.plt : { *(.rela.plt) }
+ .rel.eh_frame : { *(.rel.eh_frame) }
+ .rela.eh_frame : { *(.rela.eh_frame) }
.init : { KEEP (*(.init)) }
.plt : { *(.plt) }
.text :
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index b53b96a4d0..fb896192d0 100644
--- a/ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -259,6 +259,12 @@ proc visibility_run {visibility} {
setup_xfail "ia64-*-linux*"
setup_xfail "alpha*-*-linux*"
}
+ if { ![ string match $visibility "hidden" ]
+ && ![ string match $visibility "hidden_undef" ]
+ && ![ string match $visibility "hidden_undef_def" ]
+ && ![ string match $visibility "protected_undef" ] } {
+ setup_xfail "s390x-*-linux*"
+ }
setup_xfail "x86_64-*-linux*"
visibility_test $visibility vnp "visibility ($visibility) (non PIC)" mainnp.o sh1np.o sh2np.o elfvsb
@@ -347,6 +353,12 @@ proc visibility_run {visibility} {
setup_xfail "ia64-*-linux*"
setup_xfail "alpha*-*-linux*"
}
+ if { ![ string match $visibility "hidden" ]
+ && ![ string match $visibility "hidden_undef" ]
+ && ![ string match $visibility "hidden_undef_def" ]
+ && ![ string match $visibility "protected_undef" ] } {
+ setup_xfail "s390x-*-linux*"
+ }
setup_xfail "x86_64-*-linux*"
visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
}