Makefile.inc revision 1.13
1#	$NetBSD: Makefile.inc,v 1.13 2014/03/06 07:47:39 matt Exp $
2
3SRCS+=		ppc_reloc.c
4LDFLAGS+=	-Wl,-e,_rtld_start
5
6# XXX Should not be in CPPFLAGS!
7.if ${LDELFSO_MACHINE_ARCH} == "powerpc64"
8SRCS+=		rtld_start64.S
9CPPFLAGS+=	-DELFSIZE=64
10.else
11SRCS+=		rtld_start.S
12CPPFLAGS+=	-fpic
13CPPFLAGS+=	-DELFSIZE=32
14LDFLAGS+=	-Wl,--script,${.CURDIR}/arch/powerpc/ld.so.script
15.endif
16
17