* ld-d10v/default_layout.d: Adjust for section removal.
authorAlan Modra <amodra@gmail.com>
Thu, 18 Aug 2005 07:51:08 +0000 (07:51 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 18 Aug 2005 07:51:08 +0000 (07:51 +0000)
* ld-elf/empty.s: Define "main".
* ld-elf/frame.exp: Don't run for hppa64 and v850.
* ld-elf/group1.d: xfail various targets.
* ld-elf/merge.d: Likewise.
* ld-elf/merge2.d: Likewise.
* ld-elf/warn1.d: Likewise.
* ld-scripts/defined2.d: Likewise.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-scripts/size-2.d: Likewise.
* ld-scripts/weak.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.

15 files changed:
ld/testsuite/ChangeLog
ld/testsuite/ld-d10v/default_layout.d
ld/testsuite/ld-elf/empty.s
ld/testsuite/ld-elf/frame.exp
ld/testsuite/ld-elf/group1.d
ld/testsuite/ld-elf/merge.d
ld/testsuite/ld-elf/merge2.d
ld/testsuite/ld-elf/warn1.d
ld/testsuite/ld-scripts/defined2.d
ld/testsuite/ld-scripts/defined3.d
ld/testsuite/ld-scripts/empty-aligned.d
ld/testsuite/ld-scripts/size-2.d
ld/testsuite/ld-scripts/weak.exp
ld/testsuite/ld-selective/sel-dump.exp
ld/testsuite/ld-undefined/weak-undef.exp

index 095180b8c83443b09b67659939ffa3c8521ecdef..61a50e184e4d676ca5640d91f197766d3d9b06b6 100644 (file)
@@ -1,3 +1,20 @@
+2005-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld-d10v/default_layout.d: Adjust for section removal.
+       * ld-elf/empty.s: Define "main".
+       * ld-elf/frame.exp: Don't run for hppa64 and v850.
+       * ld-elf/group1.d: xfail various targets.
+       * ld-elf/merge.d: Likewise.
+       * ld-elf/merge2.d: Likewise.
+       * ld-elf/warn1.d: Likewise.
+       * ld-scripts/defined2.d: Likewise.
+       * ld-scripts/defined3.d: Likewise.
+       * ld-scripts/empty-aligned.d: Likewise.
+       * ld-scripts/size-2.d: Likewise.
+       * ld-scripts/weak.exp: Likewise.
+       * ld-selective/sel-dump.exp: Likewise.
+       * ld-undefined/weak-undef.exp: Likewise.
+
 2005-08-18  Alan Modra  <amodra@bigpond.net.au>
 
        * ld-scripts/crossref.exp: Remove a29k support.
index 3f96889ea1c1f6e3c0d511d3671d5154f2691ae2..c14feb41053b3778d9c8f5e476e720e161b28b52 100644 (file)
@@ -8,5 +8,3 @@ Sections:
 Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000004  01014000  01014000  00001000  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.stack        00000000  0200bffc  0200bffc  .*  2\*\*0
-                  CONTENTS
index e2c8203df012f88122a70dfb488c5c71964a1fbf..8c2d0e69f0b3a995044709cfd37bca2391d19eba 100644 (file)
@@ -10,4 +10,7 @@ _start:
        .type __start,"function"
        .global __start
 __start:
+       .type main,"function"
+       .global main
+main:
        .long 0
index a731f11422fb6f9178d2d8700a14d14068216e05..6b8d3e20084ada64f117aefd379e158bc6b7ff66 100644 (file)
@@ -35,6 +35,12 @@ if { [istarget "sh*-*-elf*"] } {
     return
 }
 
+# ??? These targets have their own .tbss section, with different meaning
+# to the usual ELF .tbss.
+if { [istarget "hppa64-*-*"] || [istarget "v850-*-*"] } {
+    return
+}
+
 set test1      "read-only .eh_frame section"
 set test2      "read-only .gcc_except_table section"
 
index fca0837dd529ab39e12e7d8014632d3f10861c62..0d659325e49d4938fe99e19d096f6e406641cc53 100644 (file)
@@ -2,6 +2,7 @@
 #source: group1b.s
 #ld: -T group.ld
 #readelf: -s
+#xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "i960-*-*" "or32-*-*" "pj-*-*"
 Symbol table '.symtab' contains .* entries:
 #...
     .*: 0[0]*1000     0 (NOTYPE|OBJECT)  WEAK   DEFAULT    . foo
index fc55c631ffc14852253a01fdd3e50656b9daa426..02d7e0ccfe54da543ec35c8cc0f443e93a9b1c82 100644 (file)
@@ -1,10 +1,11 @@
 #source: merge.s
 #ld: -T merge.ld
 #objdump: -s
-#xfail: "arc-*-*" "avr-*-*" "cris-*-*" "dlx-*-*" "fr30-*-*" "frv-*-*"
-#xfail: "hppa*-*-*" "h8300-*-*" "i960-*-*" "ip2k-*-*" "m32r-*-*" "mcore-*-*"
-#xfail: "mn10*-*-*" "mips*-*-*" "openrisc-*-*" "pj-*-*" "sparc*-*-*"
-#xfail: "xtensa-*-*" "crisv32-*-*"
+#xfail: "arc-*-*" "avr-*-*" "cris*-*-*" "crx-*-*" "d10v-*-*" "d30v-*-*"
+#xfail: "dlx-*-*" "fr30-*-*" "frv-*-*" "hppa*-*-*" "h8300-*-*"
+#xfail: "i370-*-*" "i860-*-*" "i960-*-*" "ip2k-*-*" "iq2000-*-*"
+#xfail: "mcore-*-*" "mn102*-*-*" "mips*-*-*" "ms1-*-*" "msp430-*-*"
+#xfail: "or32-*-*" "pj-*-*" "sparc*-*-*" "vax-*-*" "xstormy16-*-*" "xtensa-*-*"
 
 .*:     file format .*elf.*
 
index 9465ad5e6731c07e3376f949f30524ae32623c40..40884a3981880fdebafdcd698cc7ab81592c509c 100644 (file)
@@ -1,7 +1,8 @@
 #source: merge2.s
 #ld: -T merge.ld
 #objdump: -s
-#xfail: "arc-*-*" "dlx-*-*"
+#xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "hppa64-*-*"
+#xfail: "i960-*-*" "ip2k-*-*" "iq2000-*-*" "or32-*-*" "pj-*-*"
 
 .*:     file format .*elf.*
 
index d5ee7b4525850b0ca8be79523cabd74d0e6403dd..7beb9daeccb89b6cc80fc75baba52fc36fa49a7a 100644 (file)
@@ -5,6 +5,7 @@
 #warning: ^[^\\n]*\): warning: witty one-liner$
 #readelf: -s
 #notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*"
+#xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "i960-*-*" "or32-*-*" "pj-*-*"
 
 # Check that warnings are generated for the .gnu.warning.SYMBOL
 # construct and that the symbol still appears as expected.
index 6e6e068ce576282303b97a87807cff45020d986c..40728bdaaffa142e518c3b94fac065d4b311859f 100644 (file)
@@ -1,6 +1,7 @@
 #ld: -Tdefined2.t
 #nm: -B
 #source: phdrs.s
+#xfail: "rs6000-*-aix*"
 
 # Check that arithmetic on DEFINED works.
 # Matching both A and T accounts for formats that can't tell a .text
index 0b3831c6fbdced78de3e8baca657447c55bc003f..61061b681c7588b00a6c2278cc7d4e4f2181f84e 100644 (file)
@@ -2,6 +2,7 @@
 #nm: -B
 #source: phdrs.s
 #source: defined.s
+#xfail: "rs6000-*-aix*"
 
 # Check that DEFINED matches only symbols defined before its location.
 # The ellipsis account for target-specific symbols.  Matching both A and T
index e342f7ba44a87d9b8e23c0d2a5a1e8fdf62ca5aa..4b7b84b901408589cbf405c6547f3d5ded47829a 100644 (file)
@@ -1,6 +1,7 @@
 #source: empty-aligned.s
 #ld: -T empty-aligned.t
 #readelf: -l --wide
+#xfail: "hppa64-*-*"
 
 #...
 Program Headers:
index f44f9080c3da27984686b8dc83d2d2e3791ed943..beb18e41fc017e2cd255e53360220d75e6fc2740 100644 (file)
@@ -1,6 +1,7 @@
 #source: size-2.s
 #ld: -T size-2.t
 #readelf: -l --wide
+#xfail: "hppa64-*-*" "v850-*-*"
 
 #...
 Program Headers:
index 84e5dff7fa10eea57c6ac80c402beddb9411c00a..925c812c7e01de724639a4efd742afc079889729 100644 (file)
@@ -31,6 +31,9 @@ if {! [istarget i?86-*-*]} {
     setup_xfail *-*-pe*
 }
 
+# hppa64 and or32 are incredibly broken
+setup_xfail hppa64-*-* or32-*-*
+
 if {! [ld_assemble $as $srcdir/$subdir/weak1.s tmpdir/weak1.o]
     || ! [ld_assemble $as $srcdir/$subdir/weak2.s tmpdir/weak2.o]} then {
     # It's OK if .weak doesn't work on this target.
index fe113d7ed6b5141400c75b693ceeedf2e8caed0b..63f246c29886402b22dd4e86126078abfd0dfe1f 100644 (file)
@@ -25,7 +25,8 @@ set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
 for { set i 0 } { $i < [llength $test_list] } { incr i } {
     # We need to strip the ".d", but can leave the dirname.
     verbose [file rootname [lindex $test_list $i]]
-    setup_xfail "alpha*-*" "arc*-*" "d30v*-*" "dlx*-*" "i370*-*" "i860*-*"
-    setup_xfail "i960*-*" "ia64*-*" "mn10200-*" "or32-*" "pj-*"
+    setup_xfail "alpha*-*" "arc*-*" "d30v*-*" "dlx*-*" "hppa64-*-*"
+    setup_xfail "i370*-*" "i860*-*" "i960*-*" "ia64*-*" "mn10200-*"
+    setup_xfail  "or32-*" "pj-*"
     run_dump_test [file rootname [lindex $test_list $i]]
 }
index 076b52a18693ba12ec7ed3745df39b588ee30789..b87c319da1ebd2c07b2db157eddff1b9445bc7f0 100644 (file)
@@ -46,6 +46,8 @@ if {! [istarget i?86-*-*]} {
     setup_xfail *-*-pe*
 }
 
+setup_xfail hppa64-*-* pj-*-*
+
 if {! [ld_assemble $as $srcdir/$subdir/weak-undef.s tmpdir/weak-undef.o]} then {
     # It's OK if .weak doesn't work on this target.
     unresolved $testname