aboutsummaryrefslogtreecommitdiff
path: root/skiboot.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 7d3d0cf..4a5dabe 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -85,8 +85,8 @@ SECTIONS
. = ALIGN(0x10);
.init : {
__ctors_start = .;
- *(.ctors)
- *(.init_array)
+ KEEP(*(.ctors))
+ KEEP(*(.init_array))
__ctors_end = .;
}
@@ -143,7 +143,6 @@ SECTIONS
__sym_map_start = . ;
KEEP(*(.sym_map))
__sym_map_end = . ;
- KEEP(*(.sym_map))
}
/* We locate the BSS at 2M to leave room for the symbol map */