Andes Workshop http://forum.andestech.com/ |
|
override the default base address http://forum.andestech.com/viewtopic.php?f=25&t=827 |
Page 1 of 1 |
Author: | cindy [ Thu Apr 17, 2014 10:33 am ] |
Post subject: | override the default base address |
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 |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |