From: H.J. Lu Date: Sun, 26 Jul 2015 21:55:39 +0000 (-0700) Subject: Compile PR ld/18718 tests with -O2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edcab5e8bdaafdb96b182693a5c8eab020ba3e5c;p=binutils-gdb.git Compile PR ld/18718 tests with -O2 PR ld/18718 * ld-elf/shared.exp: Compile PR ld/18718 tests with -O2. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index cd137f9c6ec..de0ad1b3f5c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-07-26 H.J. Lu + + PR ld/18718 + * ld-elf/shared.exp: Compile PR ld/18718 tests with -O2. + 2015-07-26 H.J. Lu * lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 92188f93494..1b6e02f2032 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -536,7 +536,7 @@ if { [istarget *-*-linux*] { pr18718.c } \ "pr18718" \ "pass.out" \ - "-I../bfd" \ + "-O2 -I../bfd" \ ] \ [list \ "Run pr18718 with PIE (1)" \ @@ -545,7 +545,7 @@ if { [istarget *-*-linux*] { pr18718.c } \ "pr18718pie1" \ "pass.out" \ - "-fPIE -I../bfd" \ + "-O2 -fPIE -I../bfd" \ ] \ [list \ "Run pr18718 with PIE (2)" \ @@ -554,7 +554,7 @@ if { [istarget *-*-linux*] { pr18718.c } \ "pr18718pie2" \ "pass.out" \ - "-fPIE -I../bfd" \ + "-O2 -fPIE -I../bfd" \ ] \ [list \ "Run pr18718 with PIC (1)" \ @@ -563,7 +563,7 @@ if { [istarget *-*-linux*] { pr18718.c } \ "pr18718pic1" \ "pass.out" \ - "-fPIC -I../bfd" \ + "-O2 -fPIC -I../bfd" \ ] \ [list \ "Run pr18718 with PIC (2)" \ @@ -572,7 +572,7 @@ if { [istarget *-*-linux*] { pr18718.c } \ "pr18718pic2" \ "pass.out" \ - "-fPIC -I../bfd" \ + "-O2 -fPIC -I../bfd" \ ] \ ] }