diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-05-17 16:11:59 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-05-17 16:11:59 -0500 |
commit | 4324ee74d2a77c20704323dae57762b36301ea8a (patch) | |
tree | ad536ea60f40cd920f22e2397d67527958543e8f /kernel.ld | |
parent | de80b963baf574b32661e153e01164aa6d8a5b44 (diff) | |
download | talos-hostboot-4324ee74d2a77c20704323dae57762b36301ea8a.tar.gz talos-hostboot-4324ee74d2a77c20704323dae57762b36301ea8a.zip |
Load base TOC and create kernel stack.
Diffstat (limited to 'kernel.ld')
-rw-r--r-- | kernel.ld | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,6 +1,6 @@ rom_offset = 0xfff00000; base_load_address = 0x00000000; -text_load_address = 0x00008000; +text_load_address = 0x00003000; hreset_load_address = 0x000ffffc; SECTIONS @@ -16,15 +16,21 @@ SECTIONS *(.text) *(.rodata) *(.rodata.*) - } + } + .data ALIGN(0x1000): { + data_load_address = .; *(.data) *(.data.*) *(.branch_lt) - *(.opd) - *(.bss) + + toc_load_address = .; + *(.toc) + opd_load_address = .; + *(.opd) + *(.got) } . = hreset_load_address; |