bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/21677] ld 2.27 has unexplained 10x performance improvement in so


From: hjl.tools at gmail dot com
Subject: [Bug ld/21677] ld 2.27 has unexplained 10x performance improvement in some cases
Date: Mon, 26 Jun 2017 20:46:07 +0000

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 <address@hidden>
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]