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
Ionut Dinulescu
over 12 years ago
Note: This was originally posted on 20th April 2011 at
http://forums.arm.com
Are you calling any library functions or any function which are written in assembly langauge?
Nope ... all of the functions are written in C.
What I do is compile a library with RVCT 3.1 and compile the application with RVCT 4.0 (some customer request)
If I compile everything with 4.0 or 3.1, everything works fine.
Cancel
Vote up
0
Vote down
Cancel
Reply
Ionut Dinulescu
over 12 years ago
Note: This was originally posted on 20th April 2011 at
http://forums.arm.com
Are you calling any library functions or any function which are written in assembly langauge?
Nope ... all of the functions are written in C.
What I do is compile a library with RVCT 3.1 and compile the application with RVCT 4.0 (some customer request)
If I compile everything with 4.0 or 3.1, everything works fine.
Cancel
Vote up
0
Vote down
Cancel
Children
No data