https://sourceware.org/bugzilla/show_bug.cgi?id=19871
Bug ID: 19871 Summary: description of --pie, --pic-executable options contains wrong-looking statement Product: binutils Version: 2.26 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: britton.kerin at gmail dot com Target Milestone: --- In the https://sourceware.org/binutils/docs/ld/Options.html#Options (Section 2.1): -pie --pic-executable Create a position independent executable. This is currently only supported on ELF platforms. Position independent executables are similar to shared libraries in that they are relocated by the dynamic linker to the virtual address the OS chooses for them (which can vary between invocations). Like normal dynamically linked executables they can be executed and symbols defined in the executable cannot be overridden by shared libraries. The sentence Like normal dynamically linked executables they can be executed and symbols defined in the executable cannot be overridden by shared libraries. seems slightly wrong. The first part of the sentence describes a way in which produced executables are like dynamically linked ones (they can be executed). However, the second part described a way in which they are NOT like dynamically linked executables (my understanding of dynamic linking being that it relies precisely on overriding symbols). The sentence should probably read: Like normal dynamically linked executables they can be executed, however symbols defined in the executable cannot be overridden by shared -- 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