Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM Compilers: refer external symbols from elf
Jump...
Cancel
Locked
Locked
Replies
9 replies
Subscribers
119 subscribers
Views
5594 views
Users
0 members are here
Options
Share
More actions
Cancel
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
ARM Compilers: refer external symbols from elf
Pavan Kumar R
over 12 years ago
Note: This was originally posted on 18th April 2011 at
http://forums.arm.com
HI guys,
is it possible to compile a source file where the external symbols should be referred in the elf (elf for whole build) by ARM compiler/Linker.
we use compilers :ADS120 ,RVCT3.1,RVCT4.1
Scenario :
Build consist of all the source, we make build by integrating this source file/changes and we compile whole build. so if there is any compilation/link error with integrated source file/changes we will able to know after whole build is compiled .
i want to optimize this process,by compiling only changed files before integrating in the whole build ,where external symbols should be referred in elf (generated for whole build(previous successful build)). Once it compiled successfully i can integrated in build and compile.so by this process i will be able to resolve the errors in very less time.
Thanks for reading the post.
Parents
Pavan Kumar R
over 12 years ago
Note: This was originally posted on 23rd April 2011 at
http://forums.arm.com
Thanks Iso.. and [color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]Marcus.. [/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]
[/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]can i do in this way...[/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]
[/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]i will list all the symbols in elf image (by using Readelf tools)and i will direct its out put to some symbol.txt.In the same way i will list all symbols present in obj file.now i will check this symbols [/size][/font][/color]
[size=4]whether they are present in symbols.txt[/size]
[size=4]
[/size]
[size=4]From above way if i found all the symbols then i can assume that src file compiles fine when i integrate in the build or else it will fail with unresolved external symbol.[/size]
[size=4]
[/size]
[size=4]Thanks for Reading my post..
[/size]
Cancel
Vote up
0
Vote down
Cancel
Reply
Pavan Kumar R
over 12 years ago
Note: This was originally posted on 23rd April 2011 at
http://forums.arm.com
Thanks Iso.. and [color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]Marcus.. [/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]
[/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]can i do in this way...[/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]
[/size][/font][/color]
[color=#222222][font=Arial, Verdana, Tahoma, sans-serif][size=4]i will list all the symbols in elf image (by using Readelf tools)and i will direct its out put to some symbol.txt.In the same way i will list all symbols present in obj file.now i will check this symbols [/size][/font][/color]
[size=4]whether they are present in symbols.txt[/size]
[size=4]
[/size]
[size=4]From above way if i found all the symbols then i can assume that src file compiles fine when i integrate in the build or else it will fail with unresolved external symbol.[/size]
[size=4]
[/size]
[size=4]Thanks for Reading my post..
[/size]
Cancel
Vote up
0
Vote down
Cancel
Children
No data