Andes Workshop

It is currently Wed Jun 28, 2017 10:57 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: sag "KEEP" sample code
PostPosted: Tue Jun 24, 2014 4:44 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
KEEP is a keyword and must be upper-cased. It marks the sections that should not be eliminated when link-time garbage collection is in use.

USER_SECTIONS .vector
SDRAM 0x00000000
{
EXEC 0x00000000
{
* (.vector)
* (+RO,+RW,+ZI)
* KEEP (.text.foo)
STACK = 0x00800000
}
}

Attachment:
keep_sample.zip [60.42 KiB]
Downloaded 154 times


Top
 Profile  
 
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 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group