diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-26 14:55:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-07-26 14:55:39 -0700 |
commit | edcab5e8bdaafdb96b182693a5c8eab020ba3e5c (patch) | |
tree | 6e67e6706962b858991bb98ec70cf067e6ec41a3 /ld | |
parent | d76b6207439e16b98aa04f38b730376257b31a62 (diff) | |
download | gdb-edcab5e8bdaafdb96b182693a5c8eab020ba3e5c.zip gdb-edcab5e8bdaafdb96b182693a5c8eab020ba3e5c.tar.gz gdb-edcab5e8bdaafdb96b182693a5c8eab020ba3e5c.tar.bz2 |
Compile PR ld/18718 tests with -O2
PR ld/18718
* ld-elf/shared.exp: Compile PR ld/18718 tests with -O2.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index cd137f9..de0ad1b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2015-07-26 H.J. Lu <hongjiu.lu@intel.com> + PR ld/18718 + * ld-elf/shared.exp: Compile PR ld/18718 tests with -O2. + +2015-07-26 H.J. Lu <hongjiu.lu@intel.com> + * lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt to 0. diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 92188f9..1b6e02f 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" \ ] \ ] } |