[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/32271] strip leaves unused PT_LOAD segments
From: |
stsp at users dot sourceforge.net |
Subject: |
[Bug binutils/32271] strip leaves unused PT_LOAD segments |
Date: |
Thu, 17 Oct 2024 14:14:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32271
--- Comment #9 from Stas Sergeev <stsp at users dot sourceforge.net> ---
(In reply to Nick Clifton from comment #8)
> OK, so the -Ttext-segment sets the start address for the text segment
> and by default the other segments (rodata & data) are mapped to start
> after the end of the text segment.
Yes, that's quite obvious. :)
But:
> Notes are considered to be read only data so they will normally be
> put into the read only data segment, if one is being created, or the
> text segment otherwise.
And this is exactly not the case
here, which is why I asked for the
additional clarification:
00 .note.gnu.property
01 .text
02 .bss
03 .note.gnu.property
04 .note.gnu.property
05
rodata is segment 03 here.
What makes me wonder is why -Ttext-segment
relocates segment 00, which is before .text?
Will this always be the case with the
further versions of binutils?
Also do you agree with my assumption
that unmapped segment may refer to an
invalid data?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/32271] New: strip leaves unused PT_LOAD segments, stsp at users dot sourceforge.net, 2024/10/14
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, stsp at users dot sourceforge.net, 2024/10/14
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, sam at gentoo dot org, 2024/10/14
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, nickc at redhat dot com, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, stsp at users dot sourceforge.net, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, nickc at redhat dot com, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, stsp at users dot sourceforge.net, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, nickc at redhat dot com, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, stsp at users dot sourceforge.net, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, nickc at redhat dot com, 2024/10/17
- [Bug binutils/32271] strip leaves unused PT_LOAD segments,
stsp at users dot sourceforge.net <=
- [Bug binutils/32271] strip leaves unused PT_LOAD segments, stsp at users dot sourceforge.net, 2024/10/17