[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: Re: CVS: cvs.openbsd.org: src
- From: Kurt Miller <kurt_(_at_)_intricatesoftware_(_dot_)_com>
- Date: Tue, 11 Nov 2008 18:53:47 -0500
I forgot the credit reference: gcc PIE support adapted from
code written by Jakub Jelinek <jakub at redhat.com> and
included in later gcc releases.
On Tuesday 11 November 2008 6:48:20 pm Kurt Miller wrote:
> CVSROOT: /cvs
> Module name: src
> Changes by: kurt_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 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@
Visit your host, monkey.org