bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27226] ld.bfd contains huge .rodata section


From: mliska at suse dot cz
Subject: [Bug ld/27226] ld.bfd contains huge .rodata section
Date: Mon, 25 Jan 2021 11:10:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27226

--- Comment #4 from Martin Liska <mliska at suse dot cz> ---
(In reply to H.J. Lu from comment #3)
> Created attachment 13152 [details]
> A POC
> 
> On Linux/x86-64
> 
>    text          data     bss     dec     hex filename
> 2606362          8376    6072 2620810  27fd8a ld.orig
> 1901779          8296    6072 1916147  1d3cf3 ld.compressed
> 
> Use zstd may use less space.

Thank you for the work H.J. I can see the approach helps a bit, but we would
get a better compression ratio if all linker scripts are compressed at once.

Btw. why are the scripts embedded in ld.bfd? Can't be they distributed as a
list of configuration files?

-- 
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]