summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/scripts/linux.lds
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_64/scripts/linux.lds')
-rw-r--r--src/arch/x86_64/scripts/linux.lds4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/x86_64/scripts/linux.lds b/src/arch/x86_64/scripts/linux.lds
index 34eb3561b..3bcd7aa1b 100644
--- a/src/arch/x86_64/scripts/linux.lds
+++ b/src/arch/x86_64/scripts/linux.lds
@@ -51,7 +51,7 @@ SECTIONS {
_data = .;
*(.data)
*(.data.*)
- *(SORT(.tbl.*)) /* Various tables. See include/tables.h */
+ KEEP(*(SORT(.tbl.*)))
_edata = .;
}
@@ -77,6 +77,7 @@ SECTIONS {
.weak 0x0 : {
_weak = .;
*(.weak)
+ *(.weak.*)
_eweak = .;
}
_assert = ASSERT ( ( _weak == _eweak ), ".weak is non-zero length" );
@@ -97,5 +98,6 @@ SECTIONS {
*(.rel)
*(.rel.*)
*(.discard)
+ *(.discard.*)
}
}