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.
This commit is contained in:
H.J. Lu 2017-08-23 16:01:22 -07:00
parent 87215ad165
commit 49263c56bb
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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.

View 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

View 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

View 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