]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
001-04-01 David O'Brien <obrien@FreeBSD.org>
authorDavid O'Brien <obrien@FreeBSD.org>
Mon, 2 Apr 2001 23:31:54 +0000 (23:31 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Mon, 2 Apr 2001 23:31:54 +0000 (23:31 +0000)
* 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>

ld/testsuite/ChangeLog
ld/testsuite/ld-selective/selective.exp

index e57f2c1cfac85970b1de055b9b72bc13213a7f1e..242ea2bd7c5a7330b6a23f33090c9c45f809ec92 100644 (file)
@@ -1,3 +1,9 @@
+001-03-31  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.
+
 2001-03-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * ld-selective/selective.exp: Don't run test for 68hc11 and 68hc12
index 01544ce55ff64b0f5531526406369a5b6d753713..947c1171745f9f88e7417d753be84b7baa7bcf9e 100644 (file)
@@ -51,7 +51,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"