system/ldscripts: add missing init_array/fini_array for arm kernel

Change-Id: I2c7a7bd25401900ee22f6bb953d055e28670776e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3108
Reviewed-by: Alex von Gluck IV <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: Fredrik Holmqvist <[email protected]>
This commit is contained in:
Alexander von Gluck IV
2020-08-07 12:01:15 +00:00
committed by Adrien Destugues
parent 6c32d3c9e7
commit 73bec01575
+2 -2
View File
@@ -60,10 +60,10 @@ SECTIONS
. = ALIGN(0x4);
__ctor_list = .;
.ctors : { *(.ctors) }
.ctors : { *(.init_array) *(.ctors) }
__ctor_end = .;
__dtor_list = .;
.dtors : { *(.dtors) }
.dtors : { *(.fini_array) *(.dtors) }
__dtor_end = .;
.got : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) } :dynamic :data