[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/31795] New: ld.bfd makes elf type ET_EXEC for PIEs when load add
From: |
mintsuki at protonmail dot com |
Subject: |
[Bug ld/31795] New: ld.bfd makes elf type ET_EXEC for PIEs when load address non-0 |
Date: |
Fri, 24 May 2024 14:44:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31795
Bug ID: 31795
Summary: ld.bfd makes elf type ET_EXEC for PIEs when load
address non-0
Product: binutils
Version: 2.42
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: mintsuki at protonmail dot com
Target Milestone: ---
When linking a static-pie kernel with ld.lld (from LLVM) or ld.gold, the output
ELF file type is always ET_DYN (as I believe is correct), but, when linking
using ld.bfd, the output ELF type is ET_DYN only if the load address of the
PHDRs starts at 0, but gets set to ET_EXEC if the load address is a non-0
value.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/31795] New: ld.bfd makes elf type ET_EXEC for PIEs when load address non-0,
mintsuki at protonmail dot com <=
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, mintsuki at protonmail dot com, 2024/05/24
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, hjl.tools at gmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, mintsuki at protonmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, mintsuki at protonmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, hjl.tools at gmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, hjl.tools at gmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, mintsuki at protonmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, mintsuki at protonmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, hjl.tools at gmail dot com, 2024/05/25
- [Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0, hjl.tools at gmail dot com, 2024/05/25