------- Additional Comments From hjl dot tools at gmail dot com 2010-10-04 12:21 ------- ONLYLTO looks odd to me. I made some changes and got:
[...@gnu-6 lto-ar-emu]$ cat ONLYLTO #!/bin/sh for s in $(readelf -S --wide $1 | grep lto | sed -e "s/.*\(.gnu.lto_.*\)[ \t]*PROGBITS.*/\1/") do sections="$sections -j $s" done objcopy $sections $1 $1.o [...@gnu-6 lto-ar-emu]$ make /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o main.o main.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o a.o a.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o b.o b.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o c.o c.c ./ONLYLTO a.o ./ONLYLTO b.o ./ONLYLTO c.o rm -f t.a ./ar --plugin /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/liblto_plugin.so qs t.a a.o.o b.o.o c.o.o ./ar: creating t.a /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -flto -fuse-linker-plugin main.o t.a -o main ./main c 3 [...@gnu-6 lto-ar-emu]$ -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=12088 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils