system/boot: Fix relocations in ARM EFI loader

The .rel.* sections were forgotten in the PE binary, so we just put them in a single .rel

Change-Id: I7bc564e18ec8dd64410b43106272ee74696c2883
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2973
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
François Revol 2020-06-30 18:05:42 +02:00 committed by Alex von Gluck IV
parent 009df98c86
commit 4bfd65a2b7

View File

@ -43,10 +43,16 @@ SECTIONS
_bss_end = .;
}
.rel.dyn : { *(.rel.dyn) }
.rel.plt : { *(.rel.plt) }
.rel.got : { *(.rel.got) }
.rel.data : { *(.rel.data) *(.rel.data*) }
.rel :
{
*(.rel.text) *(.rel.text*)
*(.rel.init_array)
*(.rel.fini_array)
*(.rel.dyn)
*(.rel.plt)
*(.rel.got)
*(.rel.data) *(.rel.data*)
}
_edata = .;
_data_size = . - _etext;