bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/18599] Use .strtab section for section names in ELF object file


From: i at maskray dot me
Subject: [Bug gas/18599] Use .strtab section for section names in ELF object files
Date: Tue, 02 Nov 2021 06:49:10 +0000

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

Fangrui Song <i at maskray dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray dot me

--- Comment #4 from Fangrui Song <i at maskray dot me> ---
This is a fairly useful object file size saving technique.

LLVM integrated assembler implemented this in 2015-05
(https://reviews.llvm.org/rG5960cee1f5299a5e7233c35fcb2518c08b761374)

"""
Building llvm+clang+lld with master and with this patch the results were:

master: 193,267,008 bytes
patch: 186,107,952 bytes
master non unique section names: 183,260,192 bytes
patch non unique section names: 183,118,632 bytes

So using non usique saves 10,006,816 bytes, and the patch saves 7,159,056 while
still using distinct names for the sections.
"""


See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95095 for GCC
-fno-unique-section-names feature request

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