aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2024-12-13 00:18:33 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2024-12-13 00:29:50 +0000
commitd4e02f74fe8de9acbb5370d66b5d507200f2ff42 (patch)
tree9827b94d2da3d6ee3cb51c1a927eeef0242d7e9d
parent50a53aacc9d39f1f40e96e3949f876567cbb8091 (diff)
-rw-r--r--libexec/rtld-elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index dfa6d4e6b85e..5604cb80a6e7 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -37,6 +37,8 @@ RTLD_ARCH= ${MACHINE_CPUARCH}
CFLAGS+= -I${.CURDIR}/${RTLD_ARCH} -I${.CURDIR}
.if ${MACHINE_ARCH} == "powerpc64"
LDFLAGS+= -nostdlib -e _rtld_start
+.elif ${MACHINE_CPUARCH} == "mips"
+LDFLAGS+= -nostdlib -e rtld_start
.else
LDFLAGS+= -nostdlib -e .rtld_start
.endif