Page MenuHomeFreeBSD

D44136.diff
No OneTemporary

D44136.diff

diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -73,6 +73,12 @@
.sinclude "${RTLD_ELF_DIR}/${RTLD_ARCH}/Makefile.inc"
RTLD_ENTRY?= .rtld_start
+# Always produce the map file so that may be inspected to confirm
+# undesired code is not linked from libsys/libc.
+MAPFILE= ld-elf.so.1.map
+LDFLAGS+= -Wl,-Map=${MAPFILE} -Wl,--cref
+CLEANFILES+= ${MAPFILE}
+
# Since moving rtld-elf to /libexec, we need to create a symlink.
# Fixup the existing binary that's there so we can symlink over it.
beforeinstall:

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 3:40 AM (6 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15729065
Default Alt Text
D44136.diff (598 B)

Event Timeline