acrn-hypervisor/hypervisor/boot
Junjie Mao a23549aa91 HV: build: make relocation-related code configurable
The relocation feature relies on the ld option "-z noreloc-overflow" which is
only available for binutils >= 2.27, while on Ubuntu 16.04 or older the default
version of binutils is 2.26.

This patch wraps the relocation code with a configurable macro and make it
undefined by default to avoid default build failures.

NOTE: This is just a hotfix. The code dropped with undefined CONFIG_RELOC needs
to be reviewed by the original author of this feature. Checks to the binutils
version will also follow up.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2018-07-11 19:18:26 +08:00
..
include hv: cleanup cpu.c and cpu.h 2018-07-11 10:25:16 +08:00
sbl hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
acpi.c HV: Assignment should not mix with operator 2018-07-10 11:56:36 +08:00
dmar_parse.c Revert "hv: More changes to enable GPU passthru" 2018-07-05 11:06:47 +08:00
reloc.c HV: build: make relocation-related code configurable 2018-07-11 19:18:26 +08:00