Joined: Fri Mar 04, 2011 9:36 pm Posts: 500
|
10.4. Linker Options It is a must to link users’ program with a library call libnds32_isr.a. Linker option --defsym=_NDS32_VECTOR_BASE=expression can be used to override the default base address, which is 0. 10.4.1. Linker Script EXTERN(_NDS32_VECTOR_BASE ) /* defined at the beginning of linker script */ PROVIDE (_NDS32_VECTOR_BASE = 0); /* defined inside SECTIONS */ . = _NDS32_VECTOR_BASE ; .nds32_vector : { *(SORT_BY_NAME(.nds32_vector.*)) } Users can use linker option --defsym=symbol=expression to override the default base address
|
|