summaryrefslogtreecommitdiffstats
path: root/src/kernel.ld
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-03-05 10:01:45 -0600
committerPatrick Williams <iawillia@us.ibm.com>2011-03-05 10:01:45 -0600
commit706243ac48cf646d503a3f1ec9e6a28c916694bd (patch)
tree5d583486a145a9646eccb9d3c4bce4dad45a2a84 /src/kernel.ld
parent5c20d316d21e231daee6455f0a78d5940d59cf23 (diff)
downloadtalos-hostboot-706243ac48cf646d503a3f1ec9e6a28c916694bd.tar.gz
talos-hostboot-706243ac48cf646d503a3f1ec9e6a28c916694bd.zip
Merge of PowerHAL project up to commit:
dd45c30bd53d8e6c123165b83842d08117558a3c
Diffstat (limited to 'src/kernel.ld')
-rw-r--r--src/kernel.ld14
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)
}
}
OpenPOWER on IntegriCloud