aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-06-14 15:54:29 +0100
committerNick Clifton <nickc@redhat.com>2023-06-14 15:54:29 +0100
commit7ade0f1582c417dc74b9449faf2b8dc86469ac9b (patch)
treea031a8caec7d7edb82353fbb39e6f1aa062e6160 /ld/testsuite/ld-elf
parentfb221fba1a5eb05355f248d6aa1e3ab4316899fd (diff)
downloadgdb-7ade0f1582c417dc74b9449faf2b8dc86469ac9b.zip
gdb-7ade0f1582c417dc74b9449faf2b8dc86469ac9b.tar.gz
gdb-7ade0f1582c417dc74b9449faf2b8dc86469ac9b.tar.bz2
Add some expected failures for bfin linker tests
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/comm-data5.d2
-rw-r--r--ld/testsuite/ld-elf/ehdr_start-missing.d1
-rw-r--r--ld/testsuite/ld-elf/ehdr_start-userdef.d2
-rw-r--r--ld/testsuite/ld-elf/ehdr_start-weak.d2
-rw-r--r--ld/testsuite/ld-elf/ehdr_start.d2
-rw-r--r--ld/testsuite/ld-elf/pr19539.d3
-rw-r--r--ld/testsuite/ld-elf/pr22269a.d3
-rw-r--r--ld/testsuite/ld-elf/pr22269b.d3
-rw-r--r--ld/testsuite/ld-elf/pr23591.d4
-rw-r--r--ld/testsuite/ld-elf/pr23648.d2
10 files changed, 14 insertions, 10 deletions
diff --git a/ld/testsuite/ld-elf/comm-data5.d b/ld/testsuite/ld-elf/comm-data5.d
index 16fc961..d135351 100644
--- a/ld/testsuite/ld-elf/comm-data5.d
+++ b/ld/testsuite/ld-elf/comm-data5.d
@@ -1,6 +1,6 @@
#source: comm-data5.s
#ld:
#readelf: -r
-#xfail: frv-*-*linux* lm32-*-linux*
+#xfail: bfin-*-*linux* frv-*-*linux* lm32-*-linux*
There are no relocations in this file.
diff --git a/ld/testsuite/ld-elf/ehdr_start-missing.d b/ld/testsuite/ld-elf/ehdr_start-missing.d
index 259b081..3fb85e0 100644
--- a/ld/testsuite/ld-elf/ehdr_start-missing.d
+++ b/ld/testsuite/ld-elf/ehdr_start-missing.d
@@ -2,3 +2,4 @@
#ld: -e _start -T ehdr_start-missing.t --no-dynamic-linker
#error: .*: undefined reference to `__ehdr_start'
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
+#xfail: bfin-*-*
diff --git a/ld/testsuite/ld-elf/ehdr_start-userdef.d b/ld/testsuite/ld-elf/ehdr_start-userdef.d
index 36c6d7e..93ed0d8 100644
--- a/ld/testsuite/ld-elf/ehdr_start-userdef.d
+++ b/ld/testsuite/ld-elf/ehdr_start-userdef.d
@@ -2,7 +2,7 @@
#ld: -e _start -T ehdr_start-userdef.t
#readelf: -Ws
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: frv-*-*
+#xfail: bfin-*-* frv-*-*
#...
Symbol table '\.symtab' contains [0-9]+ entries:
diff --git a/ld/testsuite/ld-elf/ehdr_start-weak.d b/ld/testsuite/ld-elf/ehdr_start-weak.d
index 5537b8f..c4f9072 100644
--- a/ld/testsuite/ld-elf/ehdr_start-weak.d
+++ b/ld/testsuite/ld-elf/ehdr_start-weak.d
@@ -2,7 +2,7 @@
#ld: -e _start -T ehdr_start-missing.t --no-dynamic-linker
#nm: -n
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: frv-*-*
+#xfail: bfin-*-* frv-*-*
#failif
#...
diff --git a/ld/testsuite/ld-elf/ehdr_start.d b/ld/testsuite/ld-elf/ehdr_start.d
index 0b7afdf..0ec3b13 100644
--- a/ld/testsuite/ld-elf/ehdr_start.d
+++ b/ld/testsuite/ld-elf/ehdr_start.d
@@ -2,7 +2,7 @@
#ld: -e _start --build-id
#nm: -n
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: frv-*-* lm32-*-*
+#xfail: bfin-*-* frv-*-* lm32-*-*
#...
[0-9a-f]*000 [Adrt] __ehdr_start
diff --git a/ld/testsuite/ld-elf/pr19539.d b/ld/testsuite/ld-elf/pr19539.d
index 3760c06..99cfd9d 100644
--- a/ld/testsuite/ld-elf/pr19539.d
+++ b/ld/testsuite/ld-elf/pr19539.d
@@ -4,7 +4,8 @@
#readelf : --dyn-syms --wide
#warning: .*: creating DT_TEXTREL in a PIE
#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi
-#xfail: ![check_pie_support]
+# The BFIN target always generates a relocation.
+#xfail: ![check_pie_support] || bfin-*-*
Symbol table '\.dynsym' contains [0-9]+ entr(y|ies):
#pass
diff --git a/ld/testsuite/ld-elf/pr22269a.d b/ld/testsuite/ld-elf/pr22269a.d
index 1ac29ae..8644d0e 100644
--- a/ld/testsuite/ld-elf/pr22269a.d
+++ b/ld/testsuite/ld-elf/pr22269a.d
@@ -3,7 +3,8 @@
#ld: -pie --no-dynamic-linker
#readelf: -r -x .data.rel.ro
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: ![check_pie_support]
+# The BFIN target always generates a relocation.
+#xfail: ![check_pie_support] || bfin-*-*
There are no relocations in this file.
diff --git a/ld/testsuite/ld-elf/pr22269b.d b/ld/testsuite/ld-elf/pr22269b.d
index d3eed58..1d8e7bd 100644
--- a/ld/testsuite/ld-elf/pr22269b.d
+++ b/ld/testsuite/ld-elf/pr22269b.d
@@ -4,7 +4,8 @@
#readelf: -r -x .data.rel.ro
#warning: -z dynamic-undefined-weak ignored
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: ![check_pie_support]
+# The BFIN target always generates a relocation.
+#xfail: ![check_pie_support] || bfin-*-*
There are no relocations in this file.
diff --git a/ld/testsuite/ld-elf/pr23591.d b/ld/testsuite/ld-elf/pr23591.d
index c9cfdfa..9254538 100644
--- a/ld/testsuite/ld-elf/pr23591.d
+++ b/ld/testsuite/ld-elf/pr23591.d
@@ -3,8 +3,8 @@
#source: pr23591c.s
#ld: -e _start
#readelf: -sW
-#xfail: frv-*-linux* lm32-*-linux*
-# frv-linux and lm32-linux fail with complaints about emitting dynamic
+#xfail: bfin-*-*linux* frv-*-linux* lm32-*-linux*
+# bfin, frv, and lm32 fail with complaints about emitting dynamic
# relocations in read-only sections.
#...
diff --git a/ld/testsuite/ld-elf/pr23648.d b/ld/testsuite/ld-elf/pr23648.d
index 2990977..4b9b9be 100644
--- a/ld/testsuite/ld-elf/pr23648.d
+++ b/ld/testsuite/ld-elf/pr23648.d
@@ -1,6 +1,6 @@
#ld: --gc-sections -T pr23648.t
#target: [check_gc_sections_available]
-#xfail: frv-*-linux* lm32-*-linux*
+#xfail: bfin-*-*linux* frv-*-linux* lm32-*-linux*
#nm: -B
#failif