* ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
authorAlan Modra <amodra@gmail.com>
Thu, 16 Aug 2007 13:51:27 +0000 (13:51 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Aug 2007 13:51:27 +0000 (13:51 +0000)
xfails.

ld/testsuite/ChangeLog
ld/testsuite/ld-srec/srec.exp

index b9931cee946e5ae3326a9a0df7b83e6677fc92ef..eba8a7a9f111509eaba2094c87841bb0c36461eb 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld-srec/srec.exp: Always pass "-G 0".  Remove all powerpc
+       xfails.
+
 2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/4918
index ef375ec5e8128a869dbf602b79cb50c5676f9170..c40161a574fea776110a56bca9cb17d8c4679c0f 100644 (file)
@@ -228,8 +228,9 @@ proc run_srec_test { test objs } {
     global sizeof_headers
     global host_triplet
 
-    # Tell the ELF linker to not do anything clever with .eh_frame.
-    set flags "--traditional-format"
+    # Tell the ELF linker to not do anything clever with .eh_frame,
+    # and not to put anything in small data.
+    set flags "--traditional-format -G 0"
 
     # If the linker script uses SIZEOF_HEADERS, use a -Ttext argument
     # to force both the normal link and the S-record link to be put in
@@ -374,10 +375,6 @@ setup_xfail "thumb-*-pe*"
 setup_xfail "thumb-*-elf*"
 setup_xfail "arm*-*-linux*"
 
-# The S-record linker doesn't put common symbols in small data
-# the way the ELF linker does.
-setup_xfail "powerpc*-*-*"
-
 # The S-record linker doesn't include the .{zda} sections.
 setup_xfail "v850*-*-elf"
 
@@ -420,7 +417,6 @@ setup_xfail "*-*-aix*" "*-*-xcoff*"
 setup_xfail "arm*-*-*"
 setup_xfail "strongarm*-*-*"
 setup_xfail "thumb-*-*"
-setup_xfail "powerpc*-*-eabi*"
 setup_xfail "v850*-*-elf"
 setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*"
 setup_xfail "alpha*-*-netbsd*"