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 Build position independent on...
details: https://anonhg.NetBSD.org/src/rev/8d42e96c62c9
branches: trunk
changeset: 331528:8d42e96c62c9
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Aug 13 15:56:52 2014 +0000
description:
Build position independent on PPC64, too.
diffstat:
libexec/ld.elf_so/arch/powerpc/Makefile.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 9694d7b37449 -r 8d42e96c62c9 libexec/ld.elf_so/arch/powerpc/Makefile.inc
--- a/libexec/ld.elf_so/arch/powerpc/Makefile.inc Wed Aug 13 15:48:38 2014 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/Makefile.inc Wed Aug 13 15:56:52 2014 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile.inc,v 1.13 2014/03/06 07:47:39 matt Exp $
+# $NetBSD: Makefile.inc,v 1.14 2014/08/13 15:56:52 joerg Exp $
SRCS+= ppc_reloc.c
LDFLAGS+= -Wl,-e,_rtld_start
# XXX Should not be in CPPFLAGS!
+CPPFLAGS+= -fpic
+
.if ${LDELFSO_MACHINE_ARCH} == "powerpc64"
SRCS+= rtld_start64.S
CPPFLAGS+= -DELFSIZE=64
.else
SRCS+= rtld_start.S
-CPPFLAGS+= -fpic
CPPFLAGS+= -DELFSIZE=32
LDFLAGS+= -Wl,--script,${.CURDIR}/arch/powerpc/ld.so.script
.endif
-
Home |
Main Index |
Thread Index |
Old Index