Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# Use the following command to build local debug version of dynamic | # Use the following command to build local debug version of dynamic | ||||
# linker: | # linker: | ||||
# make DEBUG_FLAGS=-g WITHOUT_TESTS=yes all | # make DEBUG_FLAGS=-g WITHOUT_TESTS=yes all | ||||
RTLD_ELF_DIR:= ${.PARSEDIR} | RTLD_ELF_DIR:= ${.PARSEDIR} | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
PACKAGE= clibs | PACKAGE= clibs | ||||
MK_PIE= no # Always position independent using local rules | MK_PIE= no # Always position independent using local rules | ||||
# Not compatible with sanitizer instrumentation or SSP. | |||||
MK_ASAN= no | |||||
MK_SSP= no | MK_SSP= no | ||||
MK_UBSAN= no | |||||
CONFS= libmap.conf | CONFS= libmap.conf | ||||
kib: I do not think rtld would be ever compatible. | |||||
Done Inline ActionsI was thinking that minimal UBSAN might work, but yeah will update the comment. arichardson: I was thinking that minimal UBSAN might work, but yeah will update the comment. | |||||
PROG?= ld-elf.so.1 | PROG?= ld-elf.so.1 | ||||
.if (${PROG:M*ld-elf32*} != "") | .if (${PROG:M*ld-elf32*} != "") | ||||
TAGS+= lib32 | TAGS+= lib32 | ||||
.endif | .endif | ||||
SRCS= \ | SRCS= \ | ||||
crtbrand.S \ | crtbrand.S \ | ||||
rtld_start.S \ | rtld_start.S \ | ||||
reloc.c \ | reloc.c \ | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |
I do not think rtld would be ever compatible.