x86: Add relocation and link script for a 64-bit EFI application
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:51 +0000 (12:33 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:06 +0000 (08:44 -0600)
commit465a67cf529bd2f7a5ca871aff3fa63faa142516
treeebce4cf7d0796e4e0c0527d1773710f8c563d971
parentcd326a32c9fc317af30d682db2ba8f3242bc1221
x86: Add relocation and link script for a 64-bit EFI application

Add a linker script and relocation code for building 64-bit EFI
applications. This can be used for the EFI stub.

Signed-off-by: Simon Glass <sjg@chromium.org>
Improvements to how the payload is built:
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/efi/elf_x86_64_efi.lds [new file with mode: 0644]
arch/x86/lib/efi/reloc_x86_64.c [new file with mode: 0644]