CVSROOT: /cvs
Module name: src
Changes by: [EMAIL PROTECTED] 2008/11/11 16:48:19
Modified files:
gnu/usr.bin/gcc/gcc: flags.h gcc.c toplev.c varasm.c
gnu/usr.bin/gcc/gcc/config/arm: openbsd.h
gnu/usr.bin/gcc/gcc/config/mips: openbsd.h
gnu/usr.bin/gcc/gcc/config/sparc: openbsd64.h
gnu/usr.bin/gcc/gcc/doc: invoke.texi
Log message:
Add support for position independent executables. This adds compile flags
-fpie & -fPIE which are similar to -fpic & -fPIC except that the resulting
objects can not be used in shared libraries due to an additional
optimization for pie. This also adds the -pie link flag which produces a
pie executable given pic or pie objects. Combining -pie with -static is
currently disabled. The only gcc3 arch that doesn't support pie at moment
is arm due to binutils relocation bugs.
ok kettenis@