aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-08-18 07:51:08 +0000
committerAlan Modra <amodra@gmail.com>2005-08-18 07:51:08 +0000
commit48733062ff1b494f5a6a40dbb318abe587eb5444 (patch)
treed41f14d423cb5a52ad8306208dc74e9a1c32bbd9 /ld/testsuite/ld-elf
parent * scripttempl/elf.sc: Remove commented out defines. (diff)
downloadbinutils-gdb-48733062ff1b494f5a6a40dbb318abe587eb5444.tar.gz
binutils-gdb-48733062ff1b494f5a6a40dbb318abe587eb5444.tar.bz2
binutils-gdb-48733062ff1b494f5a6a40dbb318abe587eb5444.zip
* 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.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/empty.s3
-rw-r--r--ld/testsuite/ld-elf/frame.exp6
-rw-r--r--ld/testsuite/ld-elf/group1.d1
-rw-r--r--ld/testsuite/ld-elf/merge.d9
-rw-r--r--ld/testsuite/ld-elf/merge2.d3
-rw-r--r--ld/testsuite/ld-elf/warn1.d1
6 files changed, 18 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elf/empty.s b/ld/testsuite/ld-elf/empty.s
index e2c8203df01..8c2d0e69f0b 100644
--- a/ld/testsuite/ld-elf/empty.s
+++ b/ld/testsuite/ld-elf/empty.s
@@ -10,4 +10,7 @@ _start:
.type __start,"function"
.global __start
__start:
+ .type main,"function"
+ .global main
+main:
.long 0
diff --git a/ld/testsuite/ld-elf/frame.exp b/ld/testsuite/ld-elf/frame.exp
index a731f11422f..6b8d3e20084 100644
--- a/ld/testsuite/ld-elf/frame.exp
+++ b/ld/testsuite/ld-elf/frame.exp
@@ -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"
diff --git a/ld/testsuite/ld-elf/group1.d b/ld/testsuite/ld-elf/group1.d
index fca0837dd52..0d659325e49 100644
--- a/ld/testsuite/ld-elf/group1.d
+++ b/ld/testsuite/ld-elf/group1.d
@@ -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
diff --git a/ld/testsuite/ld-elf/merge.d b/ld/testsuite/ld-elf/merge.d
index fc55c631ffc..02d7e0ccfe5 100644
--- a/ld/testsuite/ld-elf/merge.d
+++ b/ld/testsuite/ld-elf/merge.d
@@ -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.*
diff --git a/ld/testsuite/ld-elf/merge2.d b/ld/testsuite/ld-elf/merge2.d
index 9465ad5e673..40884a39818 100644
--- a/ld/testsuite/ld-elf/merge2.d
+++ b/ld/testsuite/ld-elf/merge2.d
@@ -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.*
diff --git a/ld/testsuite/ld-elf/warn1.d b/ld/testsuite/ld-elf/warn1.d
index d5ee7b45258..7beb9daeccb 100644
--- a/ld/testsuite/ld-elf/warn1.d
+++ b/ld/testsuite/ld-elf/warn1.d
@@ -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.