Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/powerpc Use -fPIC since powerpc64 is ...
details: https://anonhg.NetBSD.org/src/rev/c4175fb00a8c
branches: trunk
changeset: 331585:c4175fb00a8c
user: matt <matt%NetBSD.org@localhost>
date: Fri Aug 15 09:40:07 2014 +0000
description:
Use -fPIC since powerpc64 is always compiled as -fPIC and -fpic would cause
__PIC__ to change.
diffstat:
libexec/ld.elf_so/arch/powerpc/Makefile.inc | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r 4afb1310e761 -r c4175fb00a8c libexec/ld.elf_so/arch/powerpc/Makefile.inc
--- a/libexec/ld.elf_so/arch/powerpc/Makefile.inc Fri Aug 15 09:25:25 2014 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/Makefile.inc Fri Aug 15 09:40:07 2014 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile.inc,v 1.14 2014/08/13 15:56:52 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.15 2014/08/15 09:40:07 matt Exp $
SRCS+= ppc_reloc.c
LDFLAGS+= -Wl,-e,_rtld_start
-# XXX Should not be in CPPFLAGS!
-CPPFLAGS+= -fpic
+CPPFLAGS+= -fPIC
.if ${LDELFSO_MACHINE_ARCH} == "powerpc64"
SRCS+= rtld_start64.S
Home |
Main Index |
Thread Index |
Old Index