Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/ldscript.riscv
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | SECTIONS | ||||
. = ALIGN(0x1000) + (. & (0x1000 - 1)) ; | . = ALIGN(0x1000) + (. & (0x1000 - 1)) ; | ||||
.data : | .data : | ||||
{ | { | ||||
*(.data) | *(.data) | ||||
*(.gnu.linkonce.d*) | *(.gnu.linkonce.d*) | ||||
} | } | ||||
.data1 : { *(.data1) } | .data1 : { *(.data1) } | ||||
. = ALIGN(32 / 8); | . = ALIGN(32 / 8); | ||||
.init_array : | |||||
{ | |||||
PROVIDE_HIDDEN (__init_array_start = .); | |||||
KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*))) | |||||
KEEP (*(.init_array)) | |||||
PROVIDE_HIDDEN (__init_array_end = .); | |||||
} | |||||
.fini_array : | |||||
{ | |||||
PROVIDE_HIDDEN (__fini_array_start = .); | |||||
KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*))) | |||||
KEEP (*(.fini_array)) | |||||
PROVIDE_HIDDEN (__fini_array_end = .); | |||||
} | |||||
_start_ctors = .; | _start_ctors = .; | ||||
PROVIDE (start_ctors = .); | PROVIDE (start_ctors = .); | ||||
.ctors : | .ctors : | ||||
{ | { | ||||
*(.ctors) | *(.ctors) | ||||
} | } | ||||
_stop_ctors = .; | _stop_ctors = .; | ||||
PROVIDE (stop_ctors = .); | PROVIDE (stop_ctors = .); | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |