https://sourceware.org/bugzilla/show_bug.cgi?id=21677
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-06-26 CC| |hjl.tools at gmail dot com Ever confirmed|0 |1 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Doug from comment #1) > Some additional detail: > > This behaviour appears only while linking executables with > > gcc -Wl,--gc-sections > > against .a archives that contain object code compiled with > > gcc -ffunction-sections -fdata-sections Did you see the improvement on ALL targets or just x86 targets? This commit: commit d968975277ba280372002800c6c25bb1b29f496e Author: H.J. Lu <hjl.to...@gmail.com> Date: Wed Apr 20 05:26:37 2016 -0700 Check ELF relocs after opening all input files Delaying checking ELF relocations until opening all input files so that symbol information is final when relocations are checked. This is only enabled for x86 targets. improved --gc-sections performance, but only on x86. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils