summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-01-16 08:14:34 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-01-16 08:14:34 +0000
commit9db9462f2e7a6be052072d5c9c05a554a3a19b78 (patch)
treeb4709cc7f41e65fca33d0ed55e8a1bc11405c2c3 /ld/testsuite/ld-plugin
parentdb2fa6c61688e33f00b94d677fdf3328fc42e732 (diff)
downloadbinutils-redhat-9db9462f2e7a6be052072d5c9c05a554a3a19b78.tar.gz
* ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
Diffstat (limited to 'ld/testsuite/ld-plugin')
-rw-r--r--ld/testsuite/ld-plugin/lto.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index b5cb1b402e..a3898c9e2e 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -69,7 +69,7 @@ set lto_link_tests {
"-O2 -flto -fuse-linker-plugin" ""
{lto-6.c} {} "lto-6.exe" "c"}
{"Build libdummy.a 9"
- "" "-O2 -flto"
+ "" "-O2 -finline -flto"
{lto-9.cc} {} "libdummy.a"}
{"Build libdummy.a 11a"
"" "-O -flto"
@@ -175,7 +175,7 @@ set lto_link_elf_tests {
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib -Wl,-version-script,pr12975.t" "-O2 -flto"
{pr12975.c} {{"readelf" {-s --wide} "pr12975.d"}} "pr12975.so" "c"}
{"PR ld/13229"
- "-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -fno-early-inlining -flto"
+ "-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -finline -fno-early-inlining -flto"
{pr13229.cc} {{"readelf" {-s --wide} "pr13229.d"}} "pr13229.so" "c++"}
{"PR ld/13244"
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -fno-early-inlining -flto"