Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Any compiler option to remove runtime library __rt_lib_init option
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
118 subscribers
Views
2744 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
Any compiler option to remove runtime library __rt_lib_init option
Abhash Das
over 12 years ago
Note: This was originally posted on 7th August 2009 at
http://forums.arm.com
During my program execution I'm facing an undefined exception in runtime library [__rt_lib_init]. Without run time library it works fine. Suggest some compiler option to remove this part from my program execution. I'm working on 9E-S target board.
I think also any compiler or linker switch to remove particular symbol also helpful.
Cheers:)
Gopi Gopi
over 12 years ago
Note: This was originally posted on 7th October 2009 at
http://forums.arm.com
Even i am facing a similar issue. It goes to prefetch abort. Can anybody explain the reason for this ?
I solved it by adding the following code:
EXPORT __rt_lib_init
IMPORT main
__rt_lib_init
LDR R0, =main
BX R0
But why should i get prefetch abort if i call __rt_lib_init ?
Note:
The arm core being used here is ARM7TDMI-S (no cache).
Thanks in advance,
Gopu.S
Cancel
Vote up
0
Vote down
Cancel
gan gan
over 12 years ago
Note: This was originally posted on 11th August 2009 at
http://forums.arm.com
providing main as application entry point, forces the linker to include the C library initialisation function. provide linker a different entry point using --entry linker option.
refer DUI 0349B document which has more information.
Cancel
Vote up
0
Vote down
Cancel