Module Name:    src
Committed By:   matt
Date:           Thu Mar  6 07:47:39 UTC 2014

Modified Files:
        src/libexec/ld.elf_so/arch/powerpc: Makefile.inc

Log Message:
powerpc64 changes


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/libexec/ld.elf_so/arch/powerpc/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/arch/powerpc/Makefile.inc
diff -u src/libexec/ld.elf_so/arch/powerpc/Makefile.inc:1.12 src/libexec/ld.elf_so/arch/powerpc/Makefile.inc:1.13
--- src/libexec/ld.elf_so/arch/powerpc/Makefile.inc:1.12	Wed Oct 26 15:56:58 2011
+++ src/libexec/ld.elf_so/arch/powerpc/Makefile.inc	Thu Mar  6 07:47:39 2014
@@ -1,11 +1,16 @@
-#	$NetBSD: Makefile.inc,v 1.12 2011/10/26 15:56:58 chs Exp $
+#	$NetBSD: Makefile.inc,v 1.13 2014/03/06 07:47:39 matt Exp $
 
-SRCS+=		rtld_start.S ppc_reloc.c
+SRCS+=		ppc_reloc.c
+LDFLAGS+=	-Wl,-e,_rtld_start
 
 # XXX Should not be in CPPFLAGS!
+.if ${LDELFSO_MACHINE_ARCH} == "powerpc64"
+SRCS+=		rtld_start64.S
+CPPFLAGS+=	-DELFSIZE=64
+.else
+SRCS+=		rtld_start.S
 CPPFLAGS+=	-fpic
-
 CPPFLAGS+=	-DELFSIZE=32
-
-LDFLAGS+=	-Wl,-e,_rtld_start
 LDFLAGS+=	-Wl,--script,${.CURDIR}/arch/powerpc/ld.so.script
+.endif
+

Reply via email to