mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
214d450501
so will access data from an unrelocated address. This is only needed for self relocating code on ARMv7, however this is true for both ubldr and loader.efi, the only two loaders we support on ARMv7. While here also force the fpu to be none as is done in libstand. Sponsored by: ABT Systems Ltd
12 lines
350 B
Makefile
12 lines
350 B
Makefile
# $FreeBSD$
|
|
|
|
SSP_CFLAGS=
|
|
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
|
# Do not generate movt/movw, because the relocation fixup for them does not
|
|
# translate to the -Bsymbolic -pie format required by self_reloc() in loader(8).
|
|
# Also, the fpu is not available in a standalone environment.
|
|
CFLAGS.clang+= -mllvm -arm-use-movt=0
|
|
CFLAGS.clang+= -mfpu=none
|
|
.endif
|