[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19617] New: ELF: Allow -E to work without -pic/-pie/-shared in t
From: |
hpa at zytor dot com |
Subject: |
[Bug ld/19617] New: ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols |
Date: |
Thu, 11 Feb 2016 21:53:50 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19617
Bug ID: 19617
Summary: ELF: Allow -E to work without -pic/-pie/-shared in the
absence of undefined symbols
Product: binutils
Version: 2.27 (HEAD)
Status: NEW
Severity: enhancement
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hpa at zytor dot com
Target Milestone: ---
If neither -pic, -pie, or -shared is specified, *and* there are no undefined
symbols in the executable, ld produces no dynamic sections. However, if -E is
specified, the executable is supposed to export its symbols to modules loaded
in the future.
This configuration is common in embedded environments, including boot loaders.
The current workaround is to use -pie, but that generates a manifest .rel.dyn
section which is pure waste if -pie isn't actually required.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19617] New: ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols,
hpa at zytor dot com <=
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, hpa at zytor dot com, 2016/02/11
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, hjl.tools at gmail dot com, 2016/02/11
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, hjl.tools at gmail dot com, 2016/02/11
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, hjl.tools at gmail dot com, 2016/02/11
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, hpa at zytor dot com, 2016/02/11
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, krejzi at email dot com, 2016/02/12
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, cvs-commit at gcc dot gnu.org, 2016/02/18
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, hjl.tools at gmail dot com, 2016/02/18
- [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols, cvs-commit at gcc dot gnu.org, 2016/02/18