[PATCH] fixup! efi: move x86 efi boot support to x86 arch
Sascha Hauer
s.hauer at pengutronix.de
Wed Mar 8 22:37:51 PST 2017
On Tue, Mar 07, 2017 at 09:31:47AM +0100, Michael Olbrich wrote:
> As I noted in my other mail, this got lost during the move.
>
> Regards,
> Michael
Fixed this up.
Sascha
>
> ---
> arch/x86/Makefile | 4 ++--
> arch/x86/mach-efi/elf_x86_64_efi.lds.S | 1 +
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/Makefile b/arch/x86/Makefile
> index e837a2df972c..c36104c2c07f 100644
> --- a/arch/x86/Makefile
> +++ b/arch/x86/Makefile
> @@ -84,8 +84,8 @@ cmd_barebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_barebox) -o $@ \
> quiet_cmd_efi_image = EFI-IMG $@
> cmd_efi_image = $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
> -j .dynsym -j .rel -j .rela -j .reloc -j __barebox_initcalls \
> - -j __barebox_cmd -j .barebox_magicvar -j .bbenv.* \
> - --target=$(TARGET) $< $@
> + -j __barebox_exitcalls -j __barebox_cmd -j .barebox_magicvar \
> + -j .bbenv.* --target=$(TARGET) $< $@
>
> KBUILD_BINARY := barebox
>
> diff --git a/arch/x86/mach-efi/elf_x86_64_efi.lds.S b/arch/x86/mach-efi/elf_x86_64_efi.lds.S
> index e1bc2120fabc..93d34d17ab1f 100644
> --- a/arch/x86/mach-efi/elf_x86_64_efi.lds.S
> +++ b/arch/x86/mach-efi/elf_x86_64_efi.lds.S
> @@ -80,6 +80,7 @@ SECTIONS
> *(.rela.data*)
> *(.rela.barebox*)
> *(.rela.initcall*)
> + *(.rela.exitcall*)
> *(.rela.got)
> *(.rela.stab)
> }
> --
> 2.11.0
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list