diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-08-20 18:11:26 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-08-20 18:11:26 -0500 |
commit | fbedff5e909777a1d646947bd4f9beca6ddf7024 (patch) | |
tree | 9904d043dc60fc11c6fb0649f3c8393070fd0348 /src/kernel.ld | |
parent | 6dbab3072e8f50e25137fa53c7ffce0d111c2338 (diff) | |
download | talos-hostboot-fbedff5e909777a1d646947bd4f9beca6ddf7024.tar.gz talos-hostboot-fbedff5e909777a1d646947bd4f9beca6ddf7024.zip |
Add linker in preparation for modules.
Diffstat (limited to 'src/kernel.ld')
-rw-r--r-- | src/kernel.ld | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/kernel.ld b/src/kernel.ld index b3749aefb..1078122c8 100644 --- a/src/kernel.ld +++ b/src/kernel.ld @@ -1,18 +1,14 @@ rom_offset = 0xfff00000; base_load_address = 0x00000000; text_load_address = 0x00003000; -hreset_load_address = 0x000ffffc; SECTIONS { . = base_load_address; - .text.intvects ALIGN(0x1000): AT(base_load_address + rom_offset) { + .text ALIGN(0x1000): AT(base_load_address + rom_offset) { *(.text.intvects) - } - - . = text_load_address; - .text ALIGN(0x1000): { + . = text_load_address; *(.text) *(.text._*) *(.rodata) @@ -21,7 +17,6 @@ SECTIONS ctor_start_address = .; *(.ctors) ctor_end_address = .; - } .data ALIGN(0x1000): { @@ -43,11 +38,6 @@ SECTIONS end_load_address = .; - . = hreset_load_address; - .text.hreset : { - *(.text.hreset) - } - /DISCARD/ : { *(.comment) *(.gnu.attributes) |