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:
committed by
Adrien Destugues
parent
6c32d3c9e7
commit
73bec01575
@@ -60,10 +60,10 @@ SECTIONS
|
|||||||
|
|
||||||
. = ALIGN(0x4);
|
. = ALIGN(0x4);
|
||||||
__ctor_list = .;
|
__ctor_list = .;
|
||||||
.ctors : { *(.ctors) }
|
.ctors : { *(.init_array) *(.ctors) }
|
||||||
__ctor_end = .;
|
__ctor_end = .;
|
||||||
__dtor_list = .;
|
__dtor_list = .;
|
||||||
.dtors : { *(.dtors) }
|
.dtors : { *(.fini_array) *(.dtors) }
|
||||||
__dtor_end = .;
|
__dtor_end = .;
|
||||||
.got : { *(.got.plt) *(.got) }
|
.got : { *(.got.plt) *(.got) }
|
||||||
.dynamic : { *(.dynamic) } :dynamic :data
|
.dynamic : { *(.dynamic) } :dynamic :data
|
||||||
|
|||||||
Reference in New Issue
Block a user