]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add some expected failures for bfin linker tests
authorNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2023 14:54:29 +0000 (15:54 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2023 14:54:29 +0000 (15:54 +0100)
17 files changed:
ld/testsuite/ld-elf/comm-data5.d
ld/testsuite/ld-elf/ehdr_start-missing.d
ld/testsuite/ld-elf/ehdr_start-userdef.d
ld/testsuite/ld-elf/ehdr_start-weak.d
ld/testsuite/ld-elf/ehdr_start.d
ld/testsuite/ld-elf/pr19539.d
ld/testsuite/ld-elf/pr22269a.d
ld/testsuite/ld-elf/pr22269b.d
ld/testsuite/ld-elf/pr23591.d
ld/testsuite/ld-elf/pr23648.d
ld/testsuite/ld-misc/defsym1.d
ld/testsuite/ld-scripts/empty-address-1.d
ld/testsuite/ld-scripts/empty-address-2a.d
ld/testsuite/ld-scripts/empty-address-2b.d
ld/testsuite/ld-scripts/pr14962-2.d
ld/testsuite/ld-scripts/pr14962.d
ld/testsuite/ld-scripts/weak.exp

index 16fc961564141c42948f57729d9b2c35cc312a0e..d13535150a274505379f515b9092471b07a5e70f 100644 (file)
@@ -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.
index 259b0813cee5eb972a21282fc479284c460e35fe..3fb85e00f2d7ea9b8ec9501fd64c310811466a77 100644 (file)
@@ -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-*-*
index 36c6d7ed7c3868c84a04faeadf54781be4a284b3..93ed0d8138ddbf2fac500e4521ef917e0ed0e770 100644 (file)
@@ -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:
index 5537b8ff25d93f14293b8375d178e2adabb9c88f..c4f9072e42ac8b8eade55420888e26bec94b9012 100644 (file)
@@ -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
 #...
index 0b7afdf20ca27cbeee8cd02f4e7b16854367c4a1..0ec3b134831dae4e7fc16cbbaaed2c3ce364127b 100644 (file)
@@ -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
index 3760c060361cc9c13c6bb5fa64d600fb248e7469..99cfd9db91751e72720f822845e4980f0c07f521 100644 (file)
@@ -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
index 1ac29aef43c03667a3b4b4c70c32ad42f9f8ae4f..8644d0e095fbd6cf82577cd3f8a9e9ea606a0463 100644 (file)
@@ -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.
 
index d3eed582054deb9bcde9af44301be482ab8de5bd..1d8e7bd2d903b0c7950a4e80bb44ec2b30b5fc66 100644 (file)
@@ -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.
 
index c9cfdfa4352aed4dd5a6a02ef80bf799f0f96bcc..925453873e19c74eab6d2d9277652f25b46111a2 100644 (file)
@@ -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.
 
 #...
index 2990977a574bcf34eab543d7aeea307123d54f4d..4b9b9be76e6421efdee4037b829677b62e44ae7a 100644 (file)
@@ -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
index b0d7c77da6dc5eddc0b9c82064f31fe1274c1a71..95868c45ac5f04bf69ef6751db907368bca5a163 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -e 0 --defsym foo=1 tmpdir/start.o tmpdir/libfoo.a
 #nm: -B
 #source: dummy.s
-#xfail: frv-*-linux*
+#xfail: bfin-*-*linux* frv-*-linux*
 
 # Check that --defsym works on archive.
 #failif
index c758b968f0b6cde150226ee628da20375c9385af..a2940b3d2c92a126b05e6593aa778eea6b1ac111 100644 (file)
@@ -1,6 +1,6 @@
 #ld: -T empty-address-1.t
 #nm: -n
-#xfail: frv-*-*linux*
+#xfail: bfin-*-*linux* frv-*-*linux*
 #...
 0+0 [AT] _start
 #...
index 0f1c0db69414f4b4585b7e43085d8948f63bcb66..ea6048d5cd847fd9cab805715c715c58bf0c2bad 100644 (file)
@@ -1,7 +1,7 @@
 #source: empty-address-2.s
 #ld: -Ttext 0x0000000 -Tdata 0x200 -T empty-address-2a.t
 #nm: -n
-#xfail: frv-*-*linux* riscv64*-*-* tic54x-*-*
+#xfail: bfin-*-*linux* frv-*-*linux* riscv64*-*-* tic54x-*-*
 #...
 0+0 T _start
 #...
index b571df67dc88b2e1556580b2c873e296c1f106be..95499405940c2cdf31f74b31a1e09bf258e1d7a1 100644 (file)
@@ -1,7 +1,7 @@
 #source: empty-address-2.s
 #ld: -Ttext 0x0000000 -Tdata 0x200 -T empty-address-2b.t
 #nm: -n
-#xfail: frv-*-*linux* riscv64*-*-* tic54x-*-*
+#xfail: bfin-*-*linux* frv-*-*linux* riscv64*-*-* tic54x-*-*
 #...
 0+0 T _start
 #...
index b80b6e6bc31634cf6281c5d5c361054e4115f6ce..8df00d9d1f4a0184d4bf6404097b4aa35341db14 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -T pr14962-2.t
 #source: pr14962a.s
 #nm: -n
-#xfail: frv-*-*linux*
+#xfail: bfin-*-*linux* frv-*-*linux*
 
 #...
 0+2000 [AT] _start
index b7b0c3581da90d5a43292b39335b45f7761eb628..779b3c926776416647860ec16fe736e3a64a12a0 100644 (file)
@@ -5,6 +5,8 @@
 #xfail: mmix-knuth-mmixware
 # The reference to x would normally generate a cross-reference error
 # but the linker script converts x to absolute to avoid the error.
+#xfail: bfin-*-*linux*
+# The bfin backend complains about attempting to put a fixup into a read-only section.
 
 #...
 0+2000 A x
index 654cf716164b40604096e3c0a5f8b18a7048fc0a..dff087d3a2a02b214dc70d450acdd8cc2d1230b6 100644 (file)
@@ -26,6 +26,7 @@ set testname "weak symbols"
 if { [is_elf_format] } {
     # hppa64 is incredibly broken
     setup_xfail hppa64-*-*
+    setup_xfail bfin-*-*
 } elseif { [is_pecoff_format] } {
     # Weak symbols are broken for most PE targets.
     if { ![istarget aarch64-*-*]