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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils