bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SH


From: jozef.l at mittosystems dot com
Subject: [Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section
Date: Fri, 27 Nov 2020 10:30:28 +0000

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

--- Comment #3 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
(In reply to Alan Modra from comment #2)
> It's not just the objcopy going wrong here.  ld shouldn't be creating two
> PT_LOAD headers where one would suffice.

Is it intended that empty .bss sections are considered part of a segment's
contents in the first place? Other types of empty section are simply ignored
and don't affect segment layout.

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