[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31208] strip with no arguments sometimes breaks ELF alignm
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements |
Date: |
Sat, 06 Jan 2024 06:05:11 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31208
--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
(In reply to Matt Wozniski from comment #0)
> The issue appears to be caused by segment 8 (0-based, as reported by
> `readelf -eW`). For the original shared library, that segment is reported as:
>
> Type Offset VirtAddr PhysAddr FileSiz
> MemSiz Flg Align
> LOAD 0x878000 0x00000000002ff000 0x00000000002ff000 0x00d498
> 0x00d498 RW 0x1000
So how did that load segment get there? It doesn't correspond to any sections,
but will be loading something into memory (a bunch of 'X's ie. 0x58 bytes by
the look of it). Is that used by the .so? Perhaps the correct fix for strip
is to refuse to edit this file.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/31208] New: strip with no arguments sometimes breaks ELF alignment requirements, godlygeek at gmail dot com, 2024/01/02
- [Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements, godlygeek at gmail dot com, 2024/01/04
- [Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements, sam at gentoo dot org, 2024/01/05
- [Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements, sam at gentoo dot org, 2024/01/05
- [Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements, sam at gentoo dot org, 2024/01/05
- [Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements,
amodra at gmail dot com <=
- [Bug binutils/31208] strip with no arguments sometimes breaks ELF alignment requirements, godlygeek at gmail dot com, 2024/01/08