summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-05-15 00:13:14 +0000
committercognet <cognet@FreeBSD.org>2004-05-15 00:13:14 +0000
commitc80c24dad9efebcc776152822c19af55783d4385 (patch)
tree382d837dc912f2fc3b5fd92fb5ae4cd21f26ae9f /libexec
parentf700ddda9063babf3481730c3c41e04375a6ce2e (diff)
downloadFreeBSD-src-c80c24dad9efebcc776152822c19af55783d4385.zip
FreeBSD-src-c80c24dad9efebcc776152822c19af55783d4385.tar.gz
Work around a problem somewhere with binutils (?) on arm, hopefully without
breaking any other arch this time.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile3
-rw-r--r--libexec/rtld-elf/arm/Makefile.inc2
2 files changed, 5 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index bbd5a52..3512d8b 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -1,9 +1,12 @@
# $FreeBSD$
PROG?= ld-elf.so.1
+# XXX: Hopefully this won't be needed after the next binutils import.
+.if ${MACHINE_ARCH} != "arm"
SRCS= rtld_start.S \
reloc.c rtld.c rtld_lock.c map_object.c \
malloc.c xmalloc.c debug.c libmap.c
+.endif
MAN= rtld.1
CSTD?= gnu99
CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD
diff --git a/libexec/rtld-elf/arm/Makefile.inc b/libexec/rtld-elf/arm/Makefile.inc
index e8c0da7..bb27433 100644
--- a/libexec/rtld-elf/arm/Makefile.inc
+++ b/libexec/rtld-elf/arm/Makefile.inc
@@ -1 +1,3 @@
# $FreeBSD$
+SRCS= reloc.c rtld.c rtld_start.S rtld_lock.c map_object.c \
+ malloc.c xmalloc.c debug.c libmap.c
OpenPOWER on IntegriCloud