[patch ob] Disallow -pie and -static
Ian Lance Taylor
iant@google.com
Tue Feb 28 00:10:00 GMT 2012
More information about the Binutils mailing list
Tue Feb 28 00:10:00 GMT 2012
- Previous message (by thread): [patch ob] Disallow -pie and -static
- Next message (by thread): [patch ob] Disallow -pie and -static
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Joseph S. Myers" <joseph@codesourcery.com> writes: > On Mon, 27 Feb 2012, Ian Lance Taylor wrote: > >> You seem to be speaking at some sort of conceptual level. At the >> conceptual level, you are correct. It is possible to define some sort >> of static PIE. But there is no such thing today, and implementing it >> will require changes to the linker. When it is implemented, we will >> change the linker such that -pie -static is not an error. > > I'd say the dynamic linker itself is a static PIE. It has PT_DYNAMIC but > not PT_INTERP and does any relocation needed itself; it can be run > directly as well as as an interpreter. It is linked with today's linker, > albeit in a complicated way. That is true but as far as I know it is not a approach suitable for general programs, as it requires writing the program in a particular way. Ian
- Previous message (by thread): [patch ob] Disallow -pie and -static
- Next message (by thread): [patch ob] Disallow -pie and -static
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list