summaryrefslogtreecommitdiffstats
path: root/src/kernel.ld
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-05-19 21:50:57 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-05-19 21:50:57 -0500
commit27503f42c300f6ba65ff6cc06290696fe6153b7f (patch)
tree6bf7fbd6b14eceaacdd17c05b979a929c469667d /src/kernel.ld
parentb0e457a7589a0ee6b78ed676566c6410da371570 (diff)
downloadtalos-hostboot-27503f42c300f6ba65ff6cc06290696fe6153b7f.tar.gz
talos-hostboot-27503f42c300f6ba65ff6cc06290696fe6153b7f.zip
Call default constructors.
Diffstat (limited to 'src/kernel.ld')
-rw-r--r--src/kernel.ld5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel.ld b/src/kernel.ld
index dc433807a..01fad2522 100644
--- a/src/kernel.ld
+++ b/src/kernel.ld
@@ -17,6 +17,10 @@ SECTIONS
*(.text._*)
*(.rodata)
*(.rodata.*)
+ . = ALIGN(0x8);
+ ctor_start = .;
+ *(.ctors)
+ ctor_end = .;
}
@@ -45,6 +49,7 @@ SECTIONS
/DISCARD/ : {
*(.comment)
*(.gnu.attributes)
+ *(.dtors)
}
}
OpenPOWER on IntegriCloud