Tue Jan 22 22:49:09 2013 UTC ()
If you are using aapcs, you must be using INITFINI


(matt)
diff -r1.12 -r1.13 src/libexec/ld.elf_so/arch/arm/Makefile.inc

cvs diff -r1.12 -r1.13 src/libexec/ld.elf_so/arch/arm/Makefile.inc (expand / switch to context diff)
--- src/libexec/ld.elf_so/arch/arm/Makefile.inc 2012/08/15 03:46:07 1.12
+++ src/libexec/ld.elf_so/arch/arm/Makefile.inc 2013/01/22 22:49:09 1.13
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.12 2012/08/15 03:46:07 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.13 2013/01/22 22:49:09 matt Exp $
 
 SRCS+=		rtld_start.S mdreloc.c
 
@@ -6,7 +6,8 @@
 CPPFLAGS+=	-fpic
 
 CPPFLAGS+=	-DELFSIZE=32
-.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb"
+.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" || \
+  ${CFLAGS:Mabi=aapcs} != ""
 CPPFLAGS+=	-DHAVE_INITFINI_ARRAY
 .endif