Lines 225-232
test "${LARGE_SECTIONS}" = "yes" && LARGE_SECTIONS="
Link Here
|
225 |
if test "${ENABLE_INITFINI_ARRAY}" = "yes"; then |
225 |
if test "${ENABLE_INITFINI_ARRAY}" = "yes"; then |
226 |
SORT_INIT_ARRAY="KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))" |
226 |
SORT_INIT_ARRAY="KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))" |
227 |
SORT_FINI_ARRAY="KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))" |
227 |
SORT_FINI_ARRAY="KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))" |
228 |
CTORS_IN_INIT_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .ctors))" |
228 |
CTORS_IN_INIT_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtbeginTS.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .ctors))" |
229 |
DTORS_IN_FINI_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .dtors))" |
229 |
DTORS_IN_FINI_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtbeginTS.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .dtors))" |
230 |
else |
230 |
else |
231 |
SORT_INIT_ARRAY="KEEP (*(SORT(.init_array.*)))" |
231 |
SORT_INIT_ARRAY="KEEP (*(SORT(.init_array.*)))" |
232 |
SORT_FINI_ARRAY="KEEP (*(SORT(.fini_array.*)))" |
232 |
SORT_FINI_ARRAY="KEEP (*(SORT(.fini_array.*)))" |