[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20006] Linking gcc and gold with ld.bfd with compressed debug se
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/20006] Linking gcc and gold with ld.bfd with compressed debug sections fails on final close |
Date: |
Wed, 27 Apr 2016 12:22:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20006
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot
com
Target Milestone|--- |2.27
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It was caused by
commit 4a539596f5d54d3116c5fdebd8be56998757288b
Author: H.J. Lu <address@hidden>
Date: Tue Feb 2 08:14:43 2016 -0800
Store estimated istrances in compressed_size
elf_x86_64_convert_load is very time consuming since it is called on
each input section and has a loop over input text sections to estimate
the branch distrance. We can store the estimated distrances in the
compressed_size field of the output section, which is only used to
decompress the compressed input section.
Before the patch, linking clang 3.9 takes 52 seconds. After the patch,
it only takes 2.5 seconds.
PR ld/19542
* elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
distrances in the compressed_size field of the output section.
--
You are receiving this mail because:
You are on the CC list for the bug.