linker script LMA fix
This commit is contained in:
parent
0ecfc3f99c
commit
a32ba94b9f
@ -10,7 +10,7 @@ SECTIONS
|
|||||||
PROVIDE (__executable_start = SEGMENT_START("text-segment",
|
PROVIDE (__executable_start = SEGMENT_START("text-segment",
|
||||||
0xFFFF800000400000));
|
0xFFFF800000400000));
|
||||||
. = SEGMENT_START("text-segment", 0xFFFF800000400000) + SIZEOF_HEADERS;
|
. = SEGMENT_START("text-segment", 0xFFFF800000400000) + SIZEOF_HEADERS;
|
||||||
.text :
|
.text : AT(SEGMENT_START("text-segment", 0xFFFF800000400000) + SIZEOF_HEADERS - 0xFFFF800000000000)
|
||||||
{
|
{
|
||||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||||
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
|
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
|
||||||
|
Loading…
Reference in New Issue
Block a user