summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/user/bootstrap/linker.ld5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user/bootstrap/linker.ld b/src/user/bootstrap/linker.ld
index 917388c..ca6356f 100644
--- a/src/user/bootstrap/linker.ld
+++ b/src/user/bootstrap/linker.ld
@@ -23,7 +23,6 @@ SECTIONS
*(.data)
}
- . = ALIGN(32); /* seems to be necessary? */
_initrd = .; /* is just appended onto the end of the binary */
. += 2M;
@@ -34,4 +33,8 @@ SECTIONS
*(.bss)
}
_bss_end = .;
+
+ /DISCARD/ : {
+ *(*.rel.*)
+ }
}