]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/testsuite/
authorThomas Schwinge <tschwinge@gnu.org>
Sat, 15 Dec 2012 10:28:17 +0000 (10:28 +0000)
committerThomas Schwinge <tschwinge@gnu.org>
Sat, 15 Dec 2012 10:28:17 +0000 (10:28 +0000)
* ld-elf/elf.exp (stack exec, stack size): Run for any GNU target.
* ld-elf/maxpage3c.d: Run for any x86 GNU target.
* ld-elf/maxpage4.d: Likewise.
* ld-elf/maxpage5.d: Likewise.
* ld-i386/export-class.exp: Likewise.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-elf/maxpage3c.d
ld/testsuite/ld-elf/maxpage4.d
ld/testsuite/ld-elf/maxpage5.d
ld/testsuite/ld-i386/export-class.exp

index 42ba29b152c4b60628d6b6db1ffd9530b37a002f..7ae40140df293b6c76b4f30852e957a480fb8fe5 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-15  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * ld-elf/elf.exp (stack exec, stack size): Run for any GNU target.
+       * ld-elf/maxpage3c.d: Run for any x86 GNU target.
+       * ld-elf/maxpage4.d: Likewise.
+       * ld-elf/maxpage5.d: Likewise.
+       * ld-i386/export-class.exp: Likewise.
+
 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
 
        * ld-elf/indirect.exp: Disable if -shared is not supported.
index a33e3b6b9a02bd7a2b84659f45f4c93e861fce10..86521316194922d7c429d7123c8e32db4068e1dd 100644 (file)
@@ -126,7 +126,8 @@ if { [check_gc_sections_available] && ![istarget "v850-*-*"] } {
     }
 }
 
-if { [istarget *-*-*linux*] } {
+if { [istarget *-*-linux*]
+     || [istarget *-*-gnu*] } {
     run_ld_link_tests {
        {"stack exec" "-z execstack" "" {stack.s}
            {{readelf {-Wl} stack-exec.rd}} "stack-exec.exe"}
index 66fef3260965f9ac011bafd44f8fe123faaf6e62..354a8b98ea4507981cd2f7646109f993c20947a9 100644 (file)
@@ -2,7 +2,7 @@
 #as: --32
 #ld: -m elf_i386 -z max-page-size=0x10000000 -T maxpage3.t
 #readelf: -lS --wide
-#target: x86_64-*-linux* i?86-*-linux-gnu
+#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
 
 #...
   \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.*
index cde43d7bc2c9f272a4a8e9260e19b140db485d20..a08e85660aba834b62e84f2b8274ad4e00004a6a 100644 (file)
@@ -2,7 +2,7 @@
 #as: --32
 #ld: -z max-page-size=0x200000 -T maxpage4.t
 #readelf: -l --wide
-#target: x86_64-*-linux* i?86-*-linux-gnu
+#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
 
 #...
   LOAD+.*0x200000
index bcbd39c71e9bd4ae0df06aa6784ed57ea36a6fc6..9d9b57a853ab18aba0a838272c0fca9d77e0b5cb 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -z max-page-size=0x200000 -T maxpage5.t
 #objcopy_linked_file: -R .foo
 #readelf: -l --wide
-#target: x86_64-*-linux* i?86-*-linux-gnu
+#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
 
 #...
 Program Headers:
index cd96b4b8a09290142531f49283214f3a9820fbc0..9dedd9053a56630e59f01a93359bcb72c2515c08 100644 (file)
@@ -29,9 +29,8 @@ if { ![is_elf_format] } {
     return
 }
 
-# Exclude non-Linux targets; feel free to include your favorite one
-# if you like.
-if { ![istarget i?86-*-linux*] } {
+if { !([istarget i?86-*-linux*]
+       || [istarget i?86-*-gnu*]) } {
     return
 }