What is -fPIE (GCC) good for?

Dag-Erling Smørgrav des at des.no
Mon May 21 13:40:16 UTC 2007


Harald Schmalzbauer <h.schmalzbauer at omnisec.de> writes:
> a quick search told me that pie means Posix Independant Executable.

No, it means "position-independent executable".  It is necessary on
platforms which don't have separate page tables for each process, and
therefore can't load each executable at a fixed address in its own
address space.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list