This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Linker setting for r5f

Part Number: TDA4VM

Hi, expert,

When reading the linker file for r5f core, I don't understand some of the grammer. For example the "--retain". I tried to search it on arm developer and GNU ld script document but failed. Could you give me some tips where I can get the full explain about the linker setting below. 

/*=========================*/
/* Linker Settings */
/*=========================*/

--retain="*(.bootCode)"
--retain="*(.startupCode)"
--retain="*(.startupData)"
--retain="*(.irqStack)"
--retain="*(.fiqStack)"
--retain="*(.abortStack)"
--retain="*(.undStack)"
--retain="*(.svcStack)"

--fill_value=0
--stack_size=0x4000
--heap_size=0x8000
--entry_point=_freertosresetvectors

--diag_suppress=10068 /* "no matching section" */

-stack 0x4000 /* SOFTWARE STACK SIZE */
-heap 0x8000 /* HEAP AREA SIZE */

Thanks~