ldscripts/riscv64: adjust after adding --enable-initfini-array flag

Change-Id: Icd5b944901c483100808d6624ca742bd04b869bc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4074
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
X512 2021-06-06 21:18:31 +09:00 committed by Alex von Gluck IV
parent a56c73f9ff
commit 7fb43331f8

View File

@ -16,8 +16,11 @@ SECTIONS
. = ALIGN(0x8);
__ctor_list = .;
.ctors : { *(.ctors) }
.init_array : { *(.init_array) }
__ctor_end = .;
__dtor_list = .;
.fini_array : { *(.fini_array) }
__dtor_end = .;
.rodata : { *(.rodata .rodata.*) }