summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/program.ld4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/program.ld b/src/lib/program.ld
index 99afe5dd56..6ffa82aa30 100644
--- a/src/lib/program.ld
+++ b/src/lib/program.ld
@@ -140,9 +140,7 @@ _eprogram = .;
/* Discard the sections we don't need/want */
-.zeroptr 0 (NOLOAD) : {
- zeroptr = .;
-}
+zeroptr = 0;
/DISCARD/ : {
*(.comment)