kern/ldr: enable the use of relr for relocations
This commit is contained in:
@@ -14,6 +14,7 @@ SECTIONS
|
||||
/* =========== CODE section =========== */
|
||||
PROVIDE(__start__ = 0x0);
|
||||
. = __start__;
|
||||
__bin_start__ = .;
|
||||
__code_start = . ;
|
||||
|
||||
.start :
|
||||
@@ -159,6 +160,7 @@ SECTIONS
|
||||
__bss_start__ = .;
|
||||
|
||||
.rela.dyn : { *(.rela.*) } :data
|
||||
.relr.dyn : { *(.relr.*) } :data
|
||||
|
||||
.bss ADDR(.rela.dyn) (NOLOAD) : {
|
||||
*(.dynbss)
|
||||
@@ -169,6 +171,7 @@ SECTIONS
|
||||
|
||||
__bss_end__ = .;
|
||||
|
||||
__bin_end__ = .;
|
||||
__end__ = ABSOLUTE(.);
|
||||
|
||||
/* ==================
|
||||
|
||||
Reference in New Issue
Block a user