Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
What is different of the function call and return manner between ARM Linux kernel and ARM applications?
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3330 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
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
What is different of the function call and return manner between ARM Linux kernel and ARM applications?
Heron Zhang
over 12 years ago
Note: This was originally posted on 29th August 2012 at
http://forums.arm.com
Hi,
When I disassamble the ARM Linux kernel for ARMv7(tegra 2),I found that a lot of function return using ldm command,just like ldm sp, {fp, sp, pc},but in the applications ( SPECCPU2006 for arm),the function return mostly using bx or b.Why that happened? Is the kernel Makefile used some gcc arguments that can lead the compiler to optimize the kernel?
0
Quote