summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/arch
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2018-12-27 18:58:14 +0000
committerchristos <christos@NetBSD.org>2018-12-27 18:58:14 +0000
commit8102fbc55f48427fd07aff125d4d55be75c130b1 (patch)
tree3c39455d71676f78c8e1327b0928249528db1125 /libexec/ld.elf_so/arch
parentc8f3153c1152205627ad5d69fb47728a0a8e472b (diff)
initfini array support for everyone.
Diffstat (limited to 'libexec/ld.elf_so/arch')
-rw-r--r--libexec/ld.elf_so/arch/aarch64/Makefile.inc3
-rw-r--r--libexec/ld.elf_so/arch/arm/Makefile.inc3
-rw-r--r--libexec/ld.elf_so/arch/riscv/Makefile.inc3
3 files changed, 3 insertions, 6 deletions
diff --git a/libexec/ld.elf_so/arch/aarch64/Makefile.inc b/libexec/ld.elf_so/arch/aarch64/Makefile.inc
index 15d68406d19..1d19a83fc94 100644
--- a/libexec/ld.elf_so/arch/aarch64/Makefile.inc
+++ b/libexec/ld.elf_so/arch/aarch64/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2014/08/10 05:47:37 matt Exp $
+# $NetBSD: Makefile.inc,v 1.2 2018/12/27 18:58:14 christos Exp $
SRCS+= rtld_start.S mdreloc.c
@@ -6,7 +6,6 @@ SRCS+= rtld_start.S mdreloc.c
CPPFLAGS+= -fpic
CPPFLAGS+= -DELFSIZE=64
-CPPFLAGS+= -DHAVE_INITFINI_ARRAY
CPPFLAGS+= -DELF_NOTE_MARCH_DESC=\"${LDELFSO_MACHINE_ARCH}\"
LDFLAGS+= -Wl,-e,_rtld_start
diff --git a/libexec/ld.elf_so/arch/arm/Makefile.inc b/libexec/ld.elf_so/arch/arm/Makefile.inc
index b21be59fe9d..52d4520ff3d 100644
--- a/libexec/ld.elf_so/arch/arm/Makefile.inc
+++ b/libexec/ld.elf_so/arch/arm/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.21 2018/04/03 21:10:27 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.22 2018/12/27 18:58:14 christos Exp $
SRCS+= rtld_start.S mdreloc.c
#CPUFLAGS.rtld_start.S+= -marm
@@ -9,7 +9,6 @@ CPPFLAGS+= -fpic
CPPFLAGS+= -DELFSIZE=32
CPPFLAGS+= -DRTLD_COMMON_CALL_IFUNC_REL
.if !empty(LDELFSO_MACHINE_ARCH:Mearm*)
-CPPFLAGS+= -DHAVE_INITFINI_ARRAY
CPPFLAGS+= -DELF_NOTE_MARCH_DESC=\"${LDELFSO_MACHINE_ARCH}\"
SRCS+= find_exidx.c
.endif
diff --git a/libexec/ld.elf_so/arch/riscv/Makefile.inc b/libexec/ld.elf_so/arch/riscv/Makefile.inc
index 74064faecd1..cbb3e61ab1d 100644
--- a/libexec/ld.elf_so/arch/riscv/Makefile.inc
+++ b/libexec/ld.elf_so/arch/riscv/Makefile.inc
@@ -1,4 +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:58:14 christos Exp $
SRCS+= rtld_start.S mdreloc.c
@@ -10,6 +10,5 @@ CPPFLAGS+= -DELFSIZE=64
.else
CPPFLAGS+= -DELFSIZE=32
.endif
-CPPFLAGS+= -DHAVE_INITFINI_ARRAY
LDFLAGS+= -Wl,-e,_rtld_start