From: H.J. Lu Date: Wed, 23 Aug 2017 23:01:22 +0000 (-0700) Subject: Update PR ld/21903 tests for dejagnu 1.4.4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49263c56bbc622d5a42cfd37b4f5fb6863cd7d24;p=binutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index bd732799cd1..930a6cc3d4a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2017-08-23 H.J. Lu + + * 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 * testsuite/ld-x86-64/pie2.d: Updated. diff --git a/ld/testsuite/ld-elf/pr21903c.d b/ld/testsuite/ld-elf/pr21903c.d index d3910ec79b1..1668c084cbf 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 ec729007d17..84d0e76e83d 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 894c595c432..e673e4a7a96 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