This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/78109] ld with -pie creates a shared library instead of an executable
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Oct 2016 21:28:51 +0000
- Subject: [Bug other/78109] ld with -pie creates a shared library instead of an executable
- Auto-submitted: auto-generated
- References: <bug-78109-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
That's what a PIE is: an ET_DYN that can be directly executed. There is
no bug here.