aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-02-16 09:45:02 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-02-16 09:45:24 -0800
commitc9d3eb5f61c5756b78e5aebe1822df7ff977eb74 (patch)
tree0ed481cc993374c1f78066e7159435a4a7dd2ea5 /ld/testsuite
parent679a5bc8624a8d4bd96ca62c27f7ac8c4342bf20 (diff)
downloadgdb-c9d3eb5f61c5756b78e5aebe1822df7ff977eb74.zip
gdb-c9d3eb5f61c5756b78e5aebe1822df7ff977eb74.tar.gz
gdb-c9d3eb5f61c5756b78e5aebe1822df7ff977eb74.tar.bz2
x86: Add -z noseparate-code to IFUNC tests
Add -z noseparate-code since these tests check for exact addresses. * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-2-i386-now.d2
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d2
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d2
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-21-i386.d2
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-22-i386.d2
-rw-r--r--ld/testsuite/ld-ifunc/pr17154-i386-now.d2
-rw-r--r--ld/testsuite/ld-ifunc/pr17154-i386.d2
7 files changed, 7 insertions, 7 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d b/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
index b4dfcec..7157d5f 100644
--- a/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
+++ b/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
@@ -1,5 +1,5 @@
#source: ifunc-2-i386.s
-#ld: -z now -m elf_i386 -shared --hash-style=sysv
+#ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*
diff --git a/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d b/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
index 8888e7c..d5400a2 100644
--- a/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
+++ b/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
@@ -1,5 +1,5 @@
#source: ifunc-2-local-i386.s
-#ld: -z now -m elf_i386 -shared --hash-style=sysv
+#ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*
diff --git a/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d
index b776b33..3cea6f7 100644
--- a/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d
+++ b/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d
@@ -1,5 +1,5 @@
#as: --64
-#ld: -shared -melf_x86_64 --hash-style=sysv
+#ld: -shared -melf_x86_64 --hash-style=sysv -z noseparate-code
#objdump: -dw
#target: x86_64-*-*
diff --git a/ld/testsuite/ld-ifunc/ifunc-21-i386.d b/ld/testsuite/ld-ifunc/ifunc-21-i386.d
index d61ccd0..f28af77 100644
--- a/ld/testsuite/ld-ifunc/ifunc-21-i386.d
+++ b/ld/testsuite/ld-ifunc/ifunc-21-i386.d
@@ -1,4 +1,4 @@
-#ld: -m elf_i386
+#ld: -m elf_i386 -z noseparate-code
#as: --32 -mrelax-relocations=yes
#objdump: -dw
#target: x86_64-*-* i?86-*-*
diff --git a/ld/testsuite/ld-ifunc/ifunc-22-i386.d b/ld/testsuite/ld-ifunc/ifunc-22-i386.d
index d61ccd0..f28af77 100644
--- a/ld/testsuite/ld-ifunc/ifunc-22-i386.d
+++ b/ld/testsuite/ld-ifunc/ifunc-22-i386.d
@@ -1,4 +1,4 @@
-#ld: -m elf_i386
+#ld: -m elf_i386 -z noseparate-code
#as: --32 -mrelax-relocations=yes
#objdump: -dw
#target: x86_64-*-* i?86-*-*
diff --git a/ld/testsuite/ld-ifunc/pr17154-i386-now.d b/ld/testsuite/ld-ifunc/pr17154-i386-now.d
index b7afdd0..10d270c 100644
--- a/ld/testsuite/ld-ifunc/pr17154-i386-now.d
+++ b/ld/testsuite/ld-ifunc/pr17154-i386-now.d
@@ -1,5 +1,5 @@
#source: pr17154-x86.s
-#ld: -z now -m elf_i386 -shared --hash-style=sysv
+#ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*
diff --git a/ld/testsuite/ld-ifunc/pr17154-i386.d b/ld/testsuite/ld-ifunc/pr17154-i386.d
index 6b309b9..854d73a 100644
--- a/ld/testsuite/ld-ifunc/pr17154-i386.d
+++ b/ld/testsuite/ld-ifunc/pr17154-i386.d
@@ -1,5 +1,5 @@
#source: pr17154-x86.s
-#ld: -m elf_i386 -shared --hash-style=sysv
+#ld: -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*