Andes Workshop

It is currently Tue Sep 24, 2019 1:37 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: .sbss_w section
PostPosted: Mon Jul 16, 2012 6:04 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
sbss_w是我們定義的section,用來放較小的變數,
(比array structure小)
例如sbss_w是放4byte大小的變數,sbss_h是用來放2byte大小的變數。
用途是可以節省空間,(以免為了alignment而加進去的padding)。
另一個用途是做gp的relation。
在文件programming guide裡有描述small data的用途。


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 1 guest


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