aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/selective.exp
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2001-04-02 23:33:20 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2001-04-02 23:33:20 +0000
commit44df2f94b9d797954a3a16ef17a3d8ee24e0b748 (patch)
treebded66f3747556aaabbf495e3bbd6c5415c9fe32 /ld/testsuite/ld-selective/selective.exp
parentbb19ff3b141c4e4820356140cdcaf88b89e27a9d (diff)
downloadgdb-44df2f94b9d797954a3a16ef17a3d8ee24e0b748.zip
gdb-44df2f94b9d797954a3a16ef17a3d8ee24e0b748.tar.gz
gdb-44df2f94b9d797954a3a16ef17a3d8ee24e0b748.tar.bz2
001-04-01 David O'Brien <obrien@FreeBSD.org>
* ld-selective/selective.exp: Use -O with gcc rather than -O2. This optimization level is buggy on some platforms, and this test is not intended to test compiler optimizations. Approved by: Alan Modra <alan@linuxcare.com.au> <Pine.LNX.4.21.0104021510450.487-100000@front.linuxcare.com.au>
Diffstat (limited to 'ld/testsuite/ld-selective/selective.exp')
-rw-r--r--ld/testsuite/ld-selective/selective.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp
index 98bc9c6..dd28548 100644
--- a/ld/testsuite/ld-selective/selective.exp
+++ b/ld/testsuite/ld-selective/selective.exp
@@ -46,7 +46,7 @@ set seltests {
{selective6 C++ 5.cc {} {} {foo__1B foo__1A dropme1__Fv dropme2__Fv} {*-*-*}}
}
-set cflags "-w -O2 -ffunction-sections -fdata-sections"
+set cflags "-w -O -ffunction-sections -fdata-sections"
set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti"
set ldflags "--gc-sections -Bstatic"