summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2014-03-23 17:29:07 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2014-03-23 17:29:07 +0000
commit19a190836be68c7a29284222aa677b3ae9bc2aed (patch)
tree3a989da2a1f47b600aed8196f328c682212541d6
parent508995949824865769be681656ed8ce0c4fbffeb (diff)
Finally give powerpc PIE. Remaining bugs on socppc fixed by kettenis@.
"I think you should do this switch right away" deraadt@
-rw-r--r--share/man/man1/gcc-local.17
-rw-r--r--share/mk/bsd.own.mk5
2 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index 0039366da84..c2d41c7254e 100644
--- a/share/man/man1/gcc-local.1
+++ b/share/man/man1/gcc-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gcc-local.1,v 1.41 2014/01/21 07:47:59 jmc Exp $
+.\" $OpenBSD: gcc-local.1,v 1.42 2014/03/23 17:29:06 pascal Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: March 23 2014 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -160,7 +160,8 @@ which includes additional functions to be protected \(em those that
have local array definitions
or have references to local frame addresses.
.It
-On the alpha, amd64, hppa, i386, mips64, sh and sparc64 architectures,
+On the alpha, amd64, hppa, i386, mips64, powerpc, sh and sparc64
+architectures,
.Nm gcc
generates position-independent executables
.Pq PIEs
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 83b27d60553..e53644f2650 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.146 2014/03/23 03:33:58 tedu Exp $
+# $OpenBSD: bsd.own.mk,v 1.147 2014/03/23 17:29:06 pascal Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -27,12 +27,11 @@ ELF_TOOLCHAIN?= yes
GCC3_ARCH=m88k vax
BINUTILS217_ARCH=hppa64 ia64
-# powerpc has problems on some "embedded" powerpc.
# arm needs binutils-2.17, which still lacks W^X support
# sparc has not been tried
# m88k unknown
# hppa64 unknown
-PIE_ARCH=alpha amd64 hppa i386 mips64 mips64el sh sparc64
+PIE_ARCH=alpha amd64 hppa i386 mips64 mips64el powerpc sh sparc64
.for _arch in ${MACHINE_ARCH}
.if !empty(GCC3_ARCH:M${_arch})