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
5588 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
Marcus Harnisch
over 12 years ago
Note: This was originally posted on 21st April 2011 at
http://forums.arm.com
So basically what you are looking for is a way to link an object to an image in a way that all symbol references in this new object replace existing symbol references of inside the image. Even if this were technically possible (which I doubt for the general case anyway), I don't think it would actually save time. The linker would have to decompose the image and reassign all relocations. What about removed sections, which might suddenly be referenced from the new objects?
Since you have to support a number of tool versions, partial linking doesn't appear to be an option either.
Good luck
Marcus
Cancel
Vote up
0
Vote down
Cancel
Reply
Marcus Harnisch
over 12 years ago
Note: This was originally posted on 21st April 2011 at
http://forums.arm.com
So basically what you are looking for is a way to link an object to an image in a way that all symbol references in this new object replace existing symbol references of inside the image. Even if this were technically possible (which I doubt for the general case anyway), I don't think it would actually save time. The linker would have to decompose the image and reassign all relocations. What about removed sections, which might suddenly be referenced from the new objects?
Since you have to support a number of tool versions, partial linking doesn't appear to be an option either.
Good luck
Marcus
Cancel
Vote up
0
Vote down
Cancel
Children
No data