aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skiboot.lds.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 7f71d5c..a6e7107 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -1,4 +1,4 @@
-/* Copyright 2013-2014 IBM Corp.
+/* Copyright 2013-2018 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -86,6 +86,7 @@ SECTIONS
.init : {
__ctors_start = .;
KEEP(*(.ctors))
+ KEEP(*(SORT(.init_array.*)))
KEEP(*(.init_array))
__ctors_end = .;
}