Update PR ld/21903 tests for dejagnu 1.4.4
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 23 Aug 2017 23:01:22 +0000 (16:01 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 23 Aug 2017 23:01:22 +0000 (16:01 -0700)
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.

ld/ChangeLog
ld/testsuite/ld-elf/pr21903c.d
ld/testsuite/ld-elf/pr21903d.d
ld/testsuite/ld-elf/pr21903e.d

index bd73279..930a6cc 100644 (file)
@@ -1,5 +1,11 @@
 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * testsuite/ld-elf/pr21903c.d: Add '\' before --.
+       * testsuite/ld-elf/pr21903d.d: Likewise.
+       * testsuite/ld-elf/pr21903e.d: Likewise.
+
+2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
        * testsuite/ld-x86-64/pie2.d: Updated.
        * testsuite/ld-x86-64/pr19719.d: Likewise.
        * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
index d3910ec..1668c08 100644 (file)
@@ -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
index ec72900..84d0e76 100644 (file)
@@ -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
index 894c595..e673e4a 100644 (file)
@@ -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