aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skiboot.lds.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 5da6f9d..5a7f9e3 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -233,8 +233,6 @@ SECTIONS
ASSERT((HEAP_BASE - SKIBOOT_BASE) >= _end, "Heap collision with image")
- DEBUG_SECTIONS
-
/* Optional kernel image */
. = ALIGN(PAGE_SIZE);
.builtin_kernel : {
@@ -243,6 +241,8 @@ SECTIONS
__builtin_kernel_end = .;
}
+ DEBUG_SECTIONS
+
/* Discards */
/DISCARD/ : {
*(.note.GNU-stack)