aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-01-16 08:14:35 +0000
committerAlan Modra <amodra@gmail.com>2013-01-16 08:14:35 +0000
commit1178606e2bb9fc3a936318765bf195c93efdd73f (patch)
tree5a5cf9adb7b0c457bb9fe873e300ca29cb256450 /ld/testsuite
parentad1e62badb2ec5f75820cb7183b1b271df535281 (diff)
downloadgdb-1178606e2bb9fc3a936318765bf195c93efdd73f.zip
gdb-1178606e2bb9fc3a936318765bf195c93efdd73f.tar.gz
gdb-1178606e2bb9fc3a936318765bf195c93efdd73f.tar.bz2
* ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-plugin/lto.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index fd14adc..017758a 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-16 Alan Modra <amodra@gmail.com>
+
+ * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
+
2013-01-15 Alan Modra <amodra@gmail.com>
* ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs.
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index b5cb1b4..a3898c9 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"