summaryrefslogtreecommitdiff
path: root/kernel/kernel.ld
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel.ld')
-rw-r--r--kernel/kernel.ld7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/kernel.ld b/kernel/kernel.ld
index 3167327..83f211c 100644
--- a/kernel/kernel.ld
+++ b/kernel/kernel.ld
@@ -26,6 +26,7 @@ SECTIONS
}
/* Could put STABs here */
+ /*
.stab : {
PROVIDE(__STAB_BEGIN__ = .);
*(.stab);
@@ -36,6 +37,7 @@ SECTIONS
*(.stabstr);
PROVIDE(__STABSTR_END__ = .);
}
+ */
/* Align the data segment at the next page boundary */
. = ALIGN(0x1000);
@@ -65,7 +67,8 @@ SECTIONS
PROVIDE(_end = .);
/DISCARD/ : {
- /* *(.stab .stab_info .stabstr) */
- *(.eh_frame .note.GNU-stack .note.gnu.property .comment)
+ *(.stab .stab_info .stabstr)
+ *(.eh_frame .eh_frame_hdr)
+ *(.note.GNU-stack .note.gnu.property .comment)
}
}