Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Realview aligning variables
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
118 subscribers
Views
2231 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Realview aligning variables
Johan Moraal
over 12 years ago
Note: This was originally posted on 22nd August 2011 at
http://forums.arm.com
Hi
In Keil RealView is there some compiler or linker command switch that will ensure that all declared variables will be aligned to a 32bit boundary?
Edit: I'm using the Keil MDK toolchain, I'm not sure if this is the same as Realview. I've come across --min_array_alignment=4. I don't think its applicable to non array types. I want all types to be aligned
Martin Weidmann
over 12 years ago
Note: This was originally posted on 22nd August 2011 at
http://forums.arm.com
Out of interest, why?
I've not used the MDK much, but I'd guess it's similar to RVDS... In which case you could try:
http://infocenter.arm.com/help/topic/com.arm.doc.dui0491c/Cacjcjce.html
Cancel
Vote up
0
Vote down
Cancel
Johan Moraal
over 12 years ago
Note: This was originally posted on 22nd August 2011 at
http://forums.arm.com
I saw that one as well. But never mind I figured out that alignment is not my problem
Cancel
Vote up
0
Vote down
Cancel