aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-23 16:01:22 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-23 16:01:22 -0700
commit49263c56bbc622d5a42cfd37b4f5fb6863cd7d24 (patch)
tree09cb210a8f6189b0db2cde1b8ecb501a80f9ddba /ld/testsuite/ld-elf
parent87215ad1651ca3094d813eae06233fd7259b37e5 (diff)
downloadgdb-49263c56bbc622d5a42cfd37b4f5fb6863cd7d24.zip
gdb-49263c56bbc622d5a42cfd37b4f5fb6863cd7d24.tar.gz
gdb-49263c56bbc622d5a42cfd37b4f5fb6863cd7d24.tar.bz2
Update PR ld/21903 tests for dejagnu 1.4.4
Add '\' before -- to workaround dejagnu 1.4.4 which complains: ERROR: bad switch "--no-define-common may not be used without -shared":... * testsuite/ld-elf/pr21903c.d: Add '\' before --. * testsuite/ld-elf/pr21903d.d: Likewise. * testsuite/ld-elf/pr21903e.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/pr21903c.d2
-rw-r--r--ld/testsuite/ld-elf/pr21903d.d2
-rw-r--r--ld/testsuite/ld-elf/pr21903e.d2
3 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/pr21903c.d b/ld/testsuite/ld-elf/pr21903c.d
index d3910ec..1668c08 100644
--- a/ld/testsuite/ld-elf/pr21903c.d
+++ b/ld/testsuite/ld-elf/pr21903c.d
@@ -1,3 +1,3 @@
#source: pr21903.s
#ld: --no-define-common
-#error: --no-define-common may not be used without -shared
+#error: \--no-define-common may not be used without -shared
diff --git a/ld/testsuite/ld-elf/pr21903d.d b/ld/testsuite/ld-elf/pr21903d.d
index ec72900..84d0e76 100644
--- a/ld/testsuite/ld-elf/pr21903d.d
+++ b/ld/testsuite/ld-elf/pr21903d.d
@@ -1,4 +1,4 @@
#source: pr21903.s
#ld: --no-define-common -pie
#target: *-*-linux* *-*-gnu*
-#error: --no-define-common may not be used without -shared
+#error: \--no-define-common may not be used without -shared
diff --git a/ld/testsuite/ld-elf/pr21903e.d b/ld/testsuite/ld-elf/pr21903e.d
index 894c595..e673e4a 100644
--- a/ld/testsuite/ld-elf/pr21903e.d
+++ b/ld/testsuite/ld-elf/pr21903e.d
@@ -1,3 +1,3 @@
#source: pr21903.s
#ld: -r --no-define-common
-#error: --no-define-common may not be used without -shared
+#error: \--no-define-common may not be used without -shared