The build option CONFIG_LOAD_ADDRESS is defined but never plumbed
through.
Signed-off-by: Julien Grall <julien.gralL@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
# Use only if calling $(LD) directly.
LDFLAGS_DIRECT += -EL
-CONFIG_LOAD_ADDRESS ?= 0x80000000
-
IOEMU_CPU_ARCH ?= arm
# Use only if calling $(LD) directly.
LDFLAGS_DIRECT += -EL
-CONFIG_LOAD_ADDRESS ?= 0x80000000
-
IOEMU_CPU_ARCH ?= aarch64
EFI_DIR ?= /usr/lib64/efi
$(CC) $(filter-out -flto,$(CFLAGS)) -S -o $@ $<
xen.lds: xen.lds.S
- $(CC) -P -E -Ui386 $(AFLAGS) -DXEN_PHYS_START=$(CONFIG_LOAD_ADDRESS) -o $@ $<
+ $(CC) -P -E -Ui386 $(AFLAGS) -o $@ $<
sed -e 's/xen\.lds\.o:/xen\.lds:/g' <.xen.lds.d >.xen.lds.d.new
mv -f .xen.lds.d.new .xen.lds.d
PHDRS
{
- text PT_LOAD /* XXX should be AT ( XEN_PHYS_START ) */ ;
+ text PT_LOAD ;
#if defined(BUILD_ID)
note PT_NOTE ;
#endif
{
. = XEN_VIRT_START;
_start = .;
- .text : /* XXX should be AT ( XEN_PHYS_START ) */ {
+ .text : {
_stext = .; /* Text section */
*(.text)
*(.text.cold)