changed binary starting location and added linker comments

master
Anton Lydike 3 years ago
parent d9625b445a
commit 20704f86ce

@ -2,7 +2,8 @@ OUTPUT_ARCH("riscv")
ENTRY(_start) ENTRY(_start)
SECTIONS SECTIONS
{ {
. = 0x00000100; /* start at an address > 12bit to ensure all addresses are loaded using auipc+addi instead of only addi (which is not relocatable)*/
. = 0xffffff;
.text : .text :
{ {
*(.text._start) *(.text._start)

Loading…
Cancel
Save