Andes Workshop

It is currently Fri Mar 29, 2024 1:04 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: override the default base address
PostPosted: Thu Apr 17, 2014 10:33 am 
Offline
User avatar

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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group