SHA256
3
0
forked from pool/binutils
binutils/unit-at-a-time.patch

16 lines
673 B
Diff

Index: ld/testsuite/ld-selective/selective.exp
===================================================================
--- ld/testsuite/ld-selective/selective.exp.orig 2011-02-10 04:41:11.000000000 +0100
+++ ld/testsuite/ld-selective/selective.exp 2011-04-19 14:54:34.000000000 +0200
@@ -59,8 +59,8 @@ set seltests {
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
}
-set cflags "-w -O -ffunction-sections -fdata-sections"
-set cxxflags "-fno-exceptions -fno-rtti"
+set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time"
+set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time"
set ldflags "--gc-sections -Bstatic"
if [istarget mips*-*] {