diff options
Diffstat (limited to 'src/kernel.ld')
-rw-r--r-- | src/kernel.ld | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/kernel.ld b/src/kernel.ld index 1078122c8..c39a5d125 100644 --- a/src/kernel.ld +++ b/src/kernel.ld @@ -1,4 +1,3 @@ -rom_offset = 0xfff00000; base_load_address = 0x00000000; text_load_address = 0x00003000; @@ -6,7 +5,7 @@ SECTIONS { . = base_load_address; - .text ALIGN(0x1000): AT(base_load_address + rom_offset) { + .text ALIGN(0x1000): { *(.text.intvects) . = text_load_address; *(.text) @@ -27,7 +26,6 @@ SECTIONS toc_load_address = .; *(.toc) - opd_load_address = .; *(.opd) *(.got) @@ -37,11 +35,21 @@ SECTIONS } end_load_address = .; + + .dynstr : { + *(.dynstr) + } + + .rela : { + *(.rela.*) + } + /DISCARD/ : { *(.comment) *(.gnu.attributes) *(.dtors) + *(.interp) } } |