diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-04 20:01:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-04 20:01:03 +0000 |
commit | 3c99554527e111da0d70113852cad436c9a9d688 (patch) | |
tree | 860b44bc88c8859f412d2e3f921ad2afc60d2ce6 /ld/testsuite | |
parent | 35262a230c8965864f39e160f901bece95f853c2 (diff) | |
download | gdb-3c99554527e111da0d70113852cad436c9a9d688.zip gdb-3c99554527e111da0d70113852cad436c9a9d688.tar.gz gdb-3c99554527e111da0d70113852cad436c9a9d688.tar.bz2 |
Support x86_64-*-linux-gnux32
gas/
* configure.tgt: Support x86_64-*-linux-gnux32.
ld/
* configure.tgt: Support x86_64-*-linux-gnux32.
ld/testsuite/
* ld-elf/eh1.d: Skip x86_64-*-linux-gnux32.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh3.d: Likewise.
* ld-elf/eh4.d: Likewise.
* ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32.
* ld-shared/shared.exp: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/eh1.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/eh2.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/eh3.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/eh4.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/elfvsb.exp | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-3a-x86.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/shared.exp | 3 |
8 files changed, 23 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 6161019..46415b8 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2012-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32. + * ld-elf/eh2.d: Likewise. + * ld-elf/eh3.d: Likewise. + * ld-elf/eh4.d: Likewise. + + * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32. + * ld-shared/shared.exp: Likewise. + + * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32. + 2012-04-24 Roland McGrath <mcgrathr@google.com> * ld-x86-64/plt-nacl.pd: Fix expected nop padding. diff --git a/ld/testsuite/ld-elf/eh1.d b/ld/testsuite/ld-elf/eh1.d index 4455b0d..0fa4146 100644 --- a/ld/testsuite/ld-elf/eh1.d +++ b/ld/testsuite/ld-elf/eh1.d @@ -3,6 +3,7 @@ #as: --64 #ld: -melf_x86_64 -Ttext 0x400078 #readelf: -wf +#notarget: x86_64-*-linux-gnux32 #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/eh2.d b/ld/testsuite/ld-elf/eh2.d index c5b5a73..c63abb5 100644 --- a/ld/testsuite/ld-elf/eh2.d +++ b/ld/testsuite/ld-elf/eh2.d @@ -3,6 +3,7 @@ #as: --64 #ld: -melf_x86_64 -Ttext 0x400078 #readelf: -wf +#notarget: x86_64-*-linux-gnux32 #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/eh3.d b/ld/testsuite/ld-elf/eh3.d index b3bd756..3b9ad64 100644 --- a/ld/testsuite/ld-elf/eh3.d +++ b/ld/testsuite/ld-elf/eh3.d @@ -3,6 +3,7 @@ #as: --64 #ld: -melf_x86_64 -Ttext 0x400078 #readelf: -wf +#notarget: x86_64-*-linux-gnux32 #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/eh4.d b/ld/testsuite/ld-elf/eh4.d index ad4b008..b482d03 100644 --- a/ld/testsuite/ld-elf/eh4.d +++ b/ld/testsuite/ld-elf/eh4.d @@ -3,6 +3,7 @@ #as: --64 #ld: -melf_x86_64 -shared -Ttext 0x400 #readelf: -wf +#notarget: x86_64-*-linux-gnux32 #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp index e2c1b4c..5d97cc8 100644 --- a/ld/testsuite/ld-elfvsb/elfvsb.exp +++ b/ld/testsuite/ld-elfvsb/elfvsb.exp @@ -308,6 +308,7 @@ proc visibility_run {visibility} { if { [is_elf64 $tmpdir/mainnp.o] } { setup_xfail "x86_64-*-linux*" } + setup_xfail "x86_64-*-linux-gnux32" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" } @@ -351,6 +352,7 @@ proc visibility_run {visibility} { if { [is_elf64 $tmpdir/mainnp.o] } { setup_xfail "x86_64-*-linux*" } + setup_xfail "x86_64-*-linux-gnux32" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" } @@ -425,6 +427,7 @@ proc visibility_run {visibility} { if { [is_elf64 $tmpdir/mainp.o] } { setup_xfail "x86_64-*-linux*" } + setup_xfail "x86_64-*-linux-gnux32" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" } diff --git a/ld/testsuite/ld-ifunc/ifunc-3a-x86.d b/ld/testsuite/ld-ifunc/ifunc-3a-x86.d index 24be639..3ff8024 100644 --- a/ld/testsuite/ld-ifunc/ifunc-3a-x86.d +++ b/ld/testsuite/ld-ifunc/ifunc-3a-x86.d @@ -4,5 +4,5 @@ #target: x86_64-*-* i?86-*-* #... -[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x1b0|\+0x240|)@plt> +[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x1b0|\+0x240|\+0x1a0|)@plt> #pass diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp index b5ada60..7ec304b 100644 --- a/ld/testsuite/ld-shared/shared.exp +++ b/ld/testsuite/ld-shared/shared.exp @@ -240,6 +240,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o] if { [is_elf64 $tmpdir/mainnp.o] } { setup_xfail "x86_64-*-linux*" } + setup_xfail "x86_64-*-linux-gnux32" setup_xfail "s390x-*-linux*" if [ string match $shared_needs_pic "yes" ] { setup_xfail "arm*-*-linux*" @@ -265,6 +266,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o] if { [is_elf64 $tmpdir/mainnp.o] } { setup_xfail "x86_64-*-linux*" } + setup_xfail "x86_64-*-linux-gnux32" setup_xfail "s390x-*-linux*" if [ string match $shared_needs_pic "yes" ] { setup_xfail "arm*-*-linux*" @@ -320,6 +322,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdir/m if { [is_elf64 $tmpdir/mainp.o] } { setup_xfail "x86_64-*-linux*" } + setup_xfail "x86_64-*-linux-gnux32" setup_xfail "s390x-*-linux*" if [ string match $shared_needs_pic "yes" ] { setup_xfail "arm*-*-linux*" |