summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-05-24 17:15:24 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-05-24 17:15:24 +0000
commit08693a354865b291d7e3a3d44f1f8724d0b950a6 (patch)
tree0460f5c507330a7f2033559ee018c29392d67351 /libexec
parent1d169e7b4bbe64bfcb65fc1c0ab44458167d6c09 (diff)
Address the clang 13 "changed binding to STB_WEAK" warning on arm (32bit):
* add _?ENTRY_NB to arm/asm.h * make sure ld.so's arm asm bits see the same includes as libc * switch libc's arm bits to the generic DEFS.h * switch arm ASM bits from ENTRY to ENTRY_NB as necessary ok kettenis@ miod@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/arm/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/arm/Makefile.inc b/libexec/ld.so/arm/Makefile.inc
index 4000170d918..72fae823cb5 100644
--- a/libexec/ld.so/arm/Makefile.inc
+++ b/libexec/ld.so/arm/Makefile.inc
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.8 2019/10/20 03:44:49 guenther Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2022/05/24 17:15:22 guenther Exp $
CFLAGS += -fpic -msoft-float
AFLAGS += -D_STANDALONE
LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script
-CPPFLAGS += -I${.CURDIR}/../../lib/libc/arch/arm
+CPPFLAGS += -I${.CURDIR}/../../lib/libc/arch/arm -I${.CURDIR}/../../lib/libc/arch
SRCS+= divsi3.S
LIBCSRCDIR=${.CURDIR}/../../lib/libc
.PATH: ${LIBCSRCDIR}/arch/arm/gen