aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-06-19 21:22:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-06-19 21:22:16 +0000
commit8b7789423cab57f0adc2a1cb374908d73a2f64b8 (patch)
treee49f5da057439b85bde420ebbc4d7b4c8b7bbada /ld/testsuite/ld-elfvsb
parentbe47d07c7216009d8edfe2260e2389d4895646f8 (diff)
downloadgdb-8b7789423cab57f0adc2a1cb374908d73a2f64b8.zip
gdb-8b7789423cab57f0adc2a1cb374908d73a2f64b8.tar.gz
gdb-8b7789423cab57f0adc2a1cb374908d73a2f64b8.tar.bz2
Fix misc x32 bugs.
bfd/ 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_backend_post_process_headers): Defined for x32. binutils/testsuite/ 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/elfedit-1.d: Updated for x32. gas/ 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> * configure.tgt: Support x32. ld/ 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> * configure.tgt: Support x32. ld/testsuite/ 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/eh1.d: Skip x32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elfvsb/elfvsb.exp: Only xfail 64bit x86_64-*-linux*. * ld-shared/shared.exp: Likewise. * ld-ifunc/ifunc-1-local-x86.d: Support x32. * ld-ifunc/ifunc-1-x86.d: Likewise. * ld-ifunc/ifunc-3a-x86.d: Likewise. * ld-x86-64/pcrel16.d: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add missing -melf_x86_64.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp12
1 files changed, 9 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index d288774..3c64783 100644
--- a/ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -302,7 +302,9 @@ proc visibility_run {visibility} {
setup_xfail "sparc*-*-linux*"
}
}
- setup_xfail "x86_64-*-linux*"
+ if { [is_elf64 $tmpdir/mainnp.o] } {
+ setup_xfail "x86_64-*-linux*"
+ }
if { ![istarget hppa*64*-*-linux*] } {
setup_xfail "hppa*-*-linux*"
}
@@ -343,7 +345,9 @@ proc visibility_run {visibility} {
setup_xfail "alpha*-*-linux*"
setup_xfail "mips*-*-linux*"
}
- setup_xfail "x86_64-*-linux*"
+ if { [is_elf64 $tmpdir/mainnp.o] } {
+ setup_xfail "x86_64-*-linux*"
+ }
if { ![istarget hppa*64*-*-linux*] } {
setup_xfail "hppa*-*-linux*"
}
@@ -415,7 +419,9 @@ proc visibility_run {visibility} {
setup_xfail "sparc*-*-linux*"
}
}
- setup_xfail "x86_64-*-linux*"
+ if { [is_elf64 $tmpdir/mainp.o] } {
+ setup_xfail "x86_64-*-linux*"
+ }
if { ![istarget hppa*64*-*-linux*] } {
setup_xfail "hppa*-*-linux*"
}