xen/arm: Remove build option CONFIG_LOAD_ADDRESS
PATCH 1/1 xen/arm: Remove build option CONFIG_LOAD_ADDRESS
The build option CONFIG_LOAD_ADDRESS is defined but never plumbed through.
Signed-off-by Julien Grall <[email protected]>
--- config/arm32.mk | 2 -- config/arm64.mk | 2 -- xen/arch/arm/Makefile | 2 +- xen/arch/arm/xen.lds.S | 4 ++-- 4 files changed, 3 insertions(+), 7 deletions(-)
config/arm32.mk +0 -2
@@ -12,6 +12,4 @@ CFLAGS += -marm # Use only if calling $(LD) directly. LDFLAGS_DIRECT += -EL -CONFIG_LOAD_ADDRESS ?= 0x80000000 - IOEMU_CPU_ARCH ?= arm
config/arm64.mk +0 -2
@@ -9,8 +9,6 @@ CFLAGS += #-marm -march= -mcpu= etc # Use only if calling $(LD) directly. LDFLAGS_DIRECT += -EL -CONFIG_LOAD_ADDRESS ?= 0x80000000 - IOEMU_CPU_ARCH ?= aarch64 EFI_DIR ?= /usr/lib64/efi
xen/arch/arm/Makefile +1 -1
@@ -114,7 +114,7 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(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
xen/arch/arm/xen.lds.S +2 -2
@@ -21,7 +21,7 @@ OUTPUT_ARCH(FORMAT) PHDRS { - text PT_LOAD /* XXX should be AT ( XEN_PHYS_START ) */ ; + text PT_LOAD ; #if defined(BUILD_ID) note PT_NOTE ; #endif
@@ -30,7 +30,7 @@ SECTIONS { . = XEN_VIRT_START; _start = .; - .text : /* XXX should be AT ( XEN_PHYS_START ) */ { + .text : { _stext = .; /* Text section */ *(.text) *(.text.cold)
Signature · 7 lines
1.9.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 4 lines · Julien Grall
The build option
CONFIG_LOAD_ADDRESSis defined but never plumbed through.Signed-off-by Julien Grall <[email protected]>
Reviewed-by Stefano Stabellini <[email protected]>
Quoted 69 lines
--- config/arm32.mk | 2 -- config/arm64.mk | 2 -- xen/arch/arm/Makefile | 2 +- xen/arch/arm/xen.lds.S | 4 ++-- 4 files changed, 3 insertions(+), 7 deletions(-)config/arm32.mk +0
-2@@ -12,6 +12,4 @@ CFLAGS += -marm # Use only if calling $(LD) directly. LDFLAGS_DIRECT += -EL -CONFIG_LOAD_ADDRESS ?= 0x80000000 - IOEMU_CPU_ARCH ?= armconfig/arm64.mk +0
-2@@ -9,8 +9,6 @@ CFLAGS += #-marm -march= -mcpu= etc # Use only if calling $(LD) directly. LDFLAGS_DIRECT += -EL -CONFIG_LOAD_ADDRESS ?= 0x80000000 - IOEMU_CPU_ARCH ?= aarch64 EFI_DIR ?= /usr/lib64/efixen/arch/arm/Makefile +1
-1@@ -114,7 +114,7 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(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.dxen/arch/arm/xen.lds.S +2
-2@@ -21,7 +21,7 @@ OUTPUT_ARCH(FORMAT) PHDRS { - text PT_LOAD /* XXX should be AT ( XEN_PHYS_START ) */ ; + text PT_LOAD ; #if defined(BUILD_ID) note PT_NOTE ; #endif@@ -30,7 +30,7 @@ SECTIONS { . = XEN_VIRT_START; _start = .; - .text : /* XXX should be AT ( XEN_PHYS_START ) */ { + .text : { _stext = .; /* Text section */ *(.text) *(.text.cold)Signature · 1 line
1.9.1
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel