[Bug other/78109] ld with -pie creates a shared library instead of an executable

2016-10-26 Thread hadrien-gcc at psydk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 --- Comment #3 from Hadrien --- Thank you for your messages. I called the 'file' command on a .so and an executable, they both show the same kind of information. I understand that a program like the file explorer can get confused. As everything

[Bug other/78109] ld with -pie creates a shared library instead of an executable

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/78109] ld with -pie creates a shared library instead of an executable

2016-10-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 --- Comment #1 from joseph at codesourcery dot com --- That's what a PIE is: an ET_DYN that can be directly executed. There is no bug here.