Revert r356077, apparently the change doesn't work after all (failed to

build in CI).
This commit is contained in:
Ian Lepore 2019-12-25 18:24:38 +00:00
parent 0b15fc2993
commit eb342591f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356078

View File

@ -28,10 +28,10 @@ S= ../../..
INCLUDES+= -I$S/contrib/libfdt
# XXX Make text segments writable. This has historically been set for
# riscv, but some preliminary testing shows it may not be needed; this
# can likely be removed after some more testing.
LDFLAGS+= -N
SYSTEM_LD= @${LD} -N -m ${LD_EMULATION} -Bdynamic -T ${LDSCRIPT} ${_LDFLAGS} \
--no-warn-mismatch --warn-common --export-dynamic \
--dynamic-linker /red/herring \
-o ${.TARGET} -X ${SYSTEM_OBJS} vers.o
.if !empty(DDB_ENABLED)
CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls