90062cf64b
- Update to binutils 2.36: OBS-URL: https://build.opensuse.org/request/show/867474 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=351
16 lines
728 B
Diff
16 lines
728 B
Diff
Index: ld/testsuite/ld-selective/selective.exp
|
|
===================================================================
|
|
--- ld/testsuite/ld-selective/selective.exp
|
|
+++ ld/testsuite/ld-selective/selective.exp
|
|
@@ -46,8 +46,8 @@ set seltests {
|
|
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
|
|
}
|
|
|
|
-set cflags "-w -O -ffunction-sections -fdata-sections $NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
|
|
-set cxxflags "-fno-exceptions -fno-rtti $NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
|
|
+set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time $NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
|
|
+set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time $NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
|
|
set ldflags "--gc-sections -Bstatic"
|
|
|
|
if [istarget mips*-*] {
|