aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-08-31 05:11:03 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-08-31 05:11:03 -0700
commit4bb3c591b258d12dd0f743e538b7214cbb92ebf7 (patch)
treed7e2b9910894cb83421536f25654b24178060e16 /ld/testsuite/ld-x86-64
parente9d644e8fb2e7fa2f61e4b978f75881d906e0dbc (diff)
downloadgdb-4bb3c591b258d12dd0f743e538b7214cbb92ebf7.zip
gdb-4bb3c591b258d12dd0f743e538b7214cbb92ebf7.tar.gz
gdb-4bb3c591b258d12dd0f743e538b7214cbb92ebf7.tar.bz2
ld: Pass -z separate-code to ld for property-x86-4a tests
Pass -z separate-code to ld for property-x86-4a tests to generate the expected .note.gnu.property section. Also run i386 tests for x86_64-*-elf* targets. * testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets. * testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to ld. * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64')
-rw-r--r--ld/testsuite/ld-x86-64/property-x86-4a-x32.d2
-rw-r--r--ld/testsuite/ld-x86-64/property-x86-4a.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/property-x86-4a-x32.d b/ld/testsuite/ld-x86-64/property-x86-4a-x32.d
index 7c6a2e1..9dd6e35 100644
--- a/ld/testsuite/ld-x86-64/property-x86-4a-x32.d
+++ b/ld/testsuite/ld-x86-64/property-x86-4a-x32.d
@@ -1,7 +1,7 @@
#source: property-x86-4a.s
#source: property-x86-4b.s
#as: --x32 -mx86-used-note=yes
-#ld: -m elf32_x86_64 --gc-sections --entry=main
+#ld: -m elf32_x86_64 --gc-sections --entry=main -z separate-code
#readelf: -n
Displaying notes found in: .note.gnu.property
diff --git a/ld/testsuite/ld-x86-64/property-x86-4a.d b/ld/testsuite/ld-x86-64/property-x86-4a.d
index 8637ed4..4dc87ac 100644
--- a/ld/testsuite/ld-x86-64/property-x86-4a.d
+++ b/ld/testsuite/ld-x86-64/property-x86-4a.d
@@ -1,7 +1,7 @@
#source: property-x86-4a.s
#source: property-x86-4b.s
#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes
-#ld: -m elf_x86_64 --gc-sections --entry=main
+#ld: -m elf_x86_64 --gc-sections --entry=main -z separate-code
#readelf: -n
Displaying notes found in: .note.gnu.property