Compile PR ld/18718 tests with -O2

PR ld/18718
	* ld-elf/shared.exp: Compile PR ld/18718 tests with -O2.
This commit is contained in:
H.J. Lu 2015-07-26 14:55:39 -07:00
parent d76b620743
commit edcab5e8bd
2 changed files with 10 additions and 5 deletions

View File

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

View File

@ -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" \
] \
]
}