x86: efi: Round out the link script for 64-bit EFI
Make sure the linker lists are in the right place and drop the eh_frame section, which is not needed. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
450ce56a11
commit
3b4ae096b0
@ -63,6 +63,7 @@ SECTIONS
|
||||
*(.rela.data*)
|
||||
*(.rela.got)
|
||||
*(.rela.stab)
|
||||
*(.rela.u_boot_list*)
|
||||
}
|
||||
|
||||
. = ALIGN(4096);
|
||||
@ -70,9 +71,11 @@ SECTIONS
|
||||
. = ALIGN(4096);
|
||||
.dynstr : { *(.dynstr) }
|
||||
. = ALIGN(4096);
|
||||
|
||||
/DISCARD/ : { *(.eh_frame) }
|
||||
|
||||
.ignored.reloc : {
|
||||
*(.rela.reloc)
|
||||
*(.eh_frame)
|
||||
*(.note.GNU-stack)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user