[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27226] ld.bfd contains huge .rodata section
From: |
mark at klomp dot org |
Subject: |
[Bug ld/27226] ld.bfd contains huge .rodata section |
Date: |
Fri, 22 Jan 2021 09:51:17 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27226
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
> $ eu-elfcompress -n '.*rodata' -t zlib ld.bfd -o ld.xxx -v
> processing: ld.bfd
> [17] .rodata ignoring allocated section
It is as the message says. .rodata is an allocated section (SHF_ALLOC) and so
cannot be ELF section compressed. This is explicitly not allowed by the spec
because it would make mapping such a section into memory awkward (there is no
corresponding program header flag, so it would be unclear how the dynamic
linker should map a segment that contains a compressed section, especially
since the segment/section mapping isn't 1-on-1 and can be about partial
sections).
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/27226] New: ld.bfd contains huge .rodata section, mliska at suse dot cz, 2021/01/22
- [Bug ld/27226] ld.bfd contains huge .rodata section, mliska at suse dot cz, 2021/01/22
- [Bug ld/27226] ld.bfd contains huge .rodata section,
mark at klomp dot org <=
- [Bug ld/27226] ld.bfd contains huge .rodata section, amodra at gmail dot com, 2021/01/22
- [Bug ld/27226] ld.bfd contains huge .rodata section, hjl.tools at gmail dot com, 2021/01/24
- [Bug ld/27226] ld.bfd contains huge .rodata section, mliska at suse dot cz, 2021/01/25
- [Bug ld/27226] ld.bfd contains huge .rodata section, amodra at gmail dot com, 2021/01/25
- [Bug ld/27226] ld.bfd contains huge .rodata section, hjl.tools at gmail dot com, 2021/01/25
- [Bug ld/27226] ld.bfd contains huge .rodata section, cvs-commit at gcc dot gnu.org, 2021/01/26