Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/matt-nb6-plus]: src/lib/csu/arch/arm If we are using aapcs (EABI), we mu...



details:   https://anonhg.NetBSD.org/src/rev/17fd7ab82f08
branches:  matt-nb6-plus
changeset: 774538:17fd7ab82f08
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jan 22 22:56:35 2013 +0000

description:
If we are using aapcs (EABI), we must be using init/fini arrays

diffstat:

 lib/csu/arch/arm/Makefile.inc |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b8d128b820cd -r 17fd7ab82f08 lib/csu/arch/arm/Makefile.inc
--- a/lib/csu/arch/arm/Makefile.inc     Tue Jan 22 21:47:27 2013 +0000
+++ b/lib/csu/arch/arm/Makefile.inc     Tue Jan 22 22:56:35 2013 +0000
@@ -1,3 +1,7 @@
-# $NetBSD: Makefile.inc,v 1.1.10.1 2012/11/30 23:32:14 matt Exp $
+# $NetBSD: Makefile.inc,v 1.1.10.2 2013/01/22 22:56:35 matt Exp $
 
 CPPFLAGS+=     -DELFSIZE=32
+.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" \
+    || ${CPUFLAGS:M-mabi=aapcs*} != ""
+CPPFLAGS+=      -DHAVE_INITFINI_ARRAY
+.endif



Home | Main Index | Thread Index | Old Index