Source-Changes-HG archive

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

[src/trunk]: src/lib/csu Enable initfini array support for everyone.



details:   https://anonhg.NetBSD.org/src/rev/190c08e1ea60
branches:  trunk
changeset: 837934:190c08e1ea60
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 27 18:57:14 2018 +0000

description:
Enable initfini array support for everyone.

diffstat:

 lib/csu/arch/aarch64/Makefile.inc |  3 +--
 lib/csu/arch/arm/Makefile.inc     |  5 +----
 lib/csu/arch/earm/Makefile.inc    |  3 +--
 lib/csu/arch/or1k/Makefile.inc    |  3 +--
 lib/csu/arch/riscv/Makefile.inc   |  3 +--
 lib/csu/common/Makefile.inc       |  3 ++-
 6 files changed, 7 insertions(+), 13 deletions(-)

diffs (69 lines):

diff -r 962ee845c1bd -r 190c08e1ea60 lib/csu/arch/aarch64/Makefile.inc
--- a/lib/csu/arch/aarch64/Makefile.inc Thu Dec 27 16:59:17 2018 +0000
+++ b/lib/csu/arch/aarch64/Makefile.inc Thu Dec 27 18:57:14 2018 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2014/08/10 05:47:36 matt Exp $
+# $NetBSD: Makefile.inc,v 1.2 2018/12/27 18:57:14 christos Exp $
 
 CPPFLAGS+=     -I${ARCHDIR}
-CPPFLAGS+=     -DHAVE_INITFINI_ARRAY
 #CPPFLAGS+=    -DELF_NOTE_MARCH_DESC=\"${CSU_MACHINE_ARCH}\"
diff -r 962ee845c1bd -r 190c08e1ea60 lib/csu/arch/arm/Makefile.inc
--- a/lib/csu/arch/arm/Makefile.inc     Thu Dec 27 16:59:17 2018 +0000
+++ b/lib/csu/arch/arm/Makefile.inc     Thu Dec 27 18:57:14 2018 +0000
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.7 2013/09/10 22:00:01 matt Exp $
+# $NetBSD: Makefile.inc,v 1.8 2018/12/27 18:57:15 christos Exp $
 
 CPPFLAGS+=     -I${ARCHDIR}
-.if (!empty(CPUFLAGS) && ${CPUFLAGS:M-mabi=aapcs*} != "")
-CPPFLAGS+=      -DHAVE_INITFINI_ARRAY
-.endif
 CPPFLAGS+=     -DELF_NOTE_MARCH_DESC=\"${CSU_MACHINE_ARCH}\"
diff -r 962ee845c1bd -r 190c08e1ea60 lib/csu/arch/earm/Makefile.inc
--- a/lib/csu/arch/earm/Makefile.inc    Thu Dec 27 16:59:17 2018 +0000
+++ b/lib/csu/arch/earm/Makefile.inc    Thu Dec 27 18:57:14 2018 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2013/09/10 16:45:33 matt Exp $
+# $NetBSD: Makefile.inc,v 1.4 2018/12/27 18:57:15 christos Exp $
 
 CPPFLAGS+=     -I${ARCHDIR}
-CPPFLAGS+=     -DHAVE_INITFINI_ARRAY
 CPPFLAGS+=     -DELF_NOTE_MARCH_DESC=\"${CSU_MACHINE_ARCH}\"
diff -r 962ee845c1bd -r 190c08e1ea60 lib/csu/arch/or1k/Makefile.inc
--- a/lib/csu/arch/or1k/Makefile.inc    Thu Dec 27 16:59:17 2018 +0000
+++ b/lib/csu/arch/or1k/Makefile.inc    Thu Dec 27 18:57:14 2018 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2014/09/03 19:34:25 matt Exp $
+# $NetBSD: Makefile.inc,v 1.2 2018/12/27 18:57:15 christos Exp $
 
 CPPFLAGS+=     -I${ARCHDIR}
-CPPFLAGS+=     -DHAVE_INITFINI_ARRAY
 #CPPFLAGS+=    -DELF_NOTE_MARCH_DESC=\"${CSU_MACHINE_ARCH}\"
diff -r 962ee845c1bd -r 190c08e1ea60 lib/csu/arch/riscv/Makefile.inc
--- a/lib/csu/arch/riscv/Makefile.inc   Thu Dec 27 16:59:17 2018 +0000
+++ b/lib/csu/arch/riscv/Makefile.inc   Thu Dec 27 18:57:14 2018 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2014/09/19 17:36:25 matt Exp $
+# $NetBSD: Makefile.inc,v 1.2 2018/12/27 18:57:15 christos Exp $
 
 CPPFLAGS+=     -I${ARCHDIR}
-CPPFLAGS+=     -DHAVE_INITFINI_ARRAY
 #CPPFLAGS+=    -DELF_NOTE_MARCH_DESC=\"${CSU_MACHINE_ARCH}\"
diff -r 962ee845c1bd -r 190c08e1ea60 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Thu Dec 27 16:59:17 2018 +0000
+++ b/lib/csu/common/Makefile.inc       Thu Dec 27 18:57:14 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.33 2018/11/26 17:37:46 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.34 2018/12/27 18:57:15 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -9,6 +9,7 @@
 .PATH:         ${COMMON_DIR}
 
 CPPFLAGS+=     -I${COMMON_DIR} -I.
+CPPFLAGS+=     -DHAVE_INITFINI_ARRAY
 
 OBJS+=         crt0.o gcrt0.o crti.o crtn.o
 OBJS+=         crtbegin.o crtend.o



Home | Main Index | Thread Index | Old Index