aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr26936.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-11-26 17:45:26 +1030
committerAlan Modra <amodra@gmail.com>2020-11-26 18:40:10 +1030
commit9ed0136bff648c2f32d7462d3ab9205b61778837 (patch)
tree174e075836778eb8d851648f6db0e4925f718336 /ld/testsuite/ld-elf/pr26936.d
parent58349d00f461904f20dae88d48c1fda11cbb47bc (diff)
downloadbinutils-9ed0136bff648c2f32d7462d3ab9205b61778837.zip
binutils-9ed0136bff648c2f32d7462d3ab9205b61778837.tar.gz
binutils-9ed0136bff648c2f32d7462d3ab9205b61778837.tar.bz2
PR26936 testsuite fixes
Many targets fail this test due to -z noseparate-code not being supported, or _start not being the proper entry symbol, or "as -g" something other than "generate debug". PR 26936 * testsuite/ld-elf/pr26936.d: Pass --gen-debug to gas rather than -g. Only run when -shared -z options are supported. * testsuite/ld-elf/pr26936b.s: Define more entry symbols.
Diffstat (limited to 'ld/testsuite/ld-elf/pr26936.d')
-rw-r--r--ld/testsuite/ld-elf/pr26936.d3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/pr26936.d b/ld/testsuite/ld-elf/pr26936.d
index b007e83..3c854fa 100644
--- a/ld/testsuite/ld-elf/pr26936.d
+++ b/ld/testsuite/ld-elf/pr26936.d
@@ -1,9 +1,10 @@
#source: pr26936a.s
#source: pr26936b.s
#source: pr26936c.s
-#as: -g
+#as: --gen-debug
#ld: -z noseparate-code -Ttext-segment 0x10000 -z max-page-size=0x1000
#readelf: -wL
+#target: [check_shared_lib_support]
#...
CU: .*/pr26936c.s: