Make sure .fexports/.dexports sections don't get garbage collected

This commit is contained in:
fincs 2019-01-24 22:56:48 +01:00 committed by fincs
parent 26ac7b3ff2
commit 3e179891e9

View File

@ -143,8 +143,8 @@ SECTIONS
} > relmem
. = ORIGIN(loadmem);
.fexports ALIGN(32) : { *(.fexports) } > loadmem
.dexports ALIGN(32) : { *(.dexports) } > loadmem
.fexports ALIGN(32) : { KEEP( *(.fexports) ) } > loadmem
.dexports ALIGN(32) : { KEEP( *(.dexports) ) } > loadmem
.fimport_avm ALIGN(16) : { *(.fimport_avm) } > loadmem
.fimport_camera ALIGN(16) : { *(.fimport_camera) } > loadmem