Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
How do I enable 8bit stack alignment?
Jump...
Cancel
Locked
Locked
Replies
6 replies
Subscribers
118 subscribers
Views
3774 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
How do I enable 8bit stack alignment?
Ionut Dinulescu
over 12 years ago
Note: This was originally posted on 20th April 2011 at
http://forums.arm.com
I'm trying to compile a C program with RVDS.
At link time, I get a lot of "myProgram.o(.text) contains invalid call from '~PRES8' function to 'REQ8' function"
I only found an asembly directive (e.g. PRESERVE8) that solves the issue for the .s files but not for c source files.
Is there any linker option that solves this problem?
Parents
Martin Weidmann
over 12 years ago
Note: This was originally posted on 20th April 2011 at
http://forums.arm.com
That is a bit odd, as 8-byte stack alignment should be default setting.
What compiler flags are you specifying? Specifically, are you specifying anything like "--apcs="?
Cancel
Vote up
0
Vote down
Cancel
Reply
Martin Weidmann
over 12 years ago
Note: This was originally posted on 20th April 2011 at
http://forums.arm.com
That is a bit odd, as 8-byte stack alignment should be default setting.
What compiler flags are you specifying? Specifically, are you specifying anything like "--apcs="?
Cancel
Vote up
0
Vote down
Cancel
Children
No data