Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Activity
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Compilers forum
armlink: symdefs generation
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Not Answered
Replies
6 replies
Subscribers
5 subscribers
Views
2705 views
Users
0 members are here
armlink
compiler
Related
armlink: symdefs generation
Offline
Aleph1024
over 6 years ago
Note: This was originally posted on 19th November 2008 at
http://forums.arm.com
Hi all,
I use ARM linker, ADS1.2 [Build 848].
I found some strangeness with generation of the Symbol Definitions file.
So, what I do, step by step (with CodeWarrior):
1. Project->Remove Object Code
2. Make
The symdefs file is created, and
89
global symbols are written to the symdefs file.
After that I repeat:
3. Project->Remove Object Code (symdefs file is not deleted automatically).
4. Make
The symdefs file is
re
built, but only
67
global symbols have been remained in the symdefs file.
As I change nothing, just rebuild the project, I expect that the number of global symbols must not be changed, and as a result the symdefs file should be identical to the previously created.
Please, could somebody explain me where I am wrong? And, what do I have to do to avoid this problem?
Thank you,
Alexandre.
Parents
0
Offline
arunjr
over 6 years ago
Note: This was originally posted on 27th November 2008 at
http://forums.arm.com
Hi Aleph1024,
do you have --feedback option enabled for your linker?
ref : RVCT linker and Utilities guide , chapter - 3.3.5. Linker feedback
(--feedback is used to strip down the unused symbols during linking, during 'second build'.)
and if the problem still persists, just try compiling with no optimization options(remove the inlining options too) and see whether the symdef file generated are still the holding good every time. But anyways, plz post the result. its interesting to know the answer.
good luck.
cheers
Aj
Cancel
Up
0
Down
Reply
Accept answer
Cancel
Reply
0
Offline
arunjr
over 6 years ago
Note: This was originally posted on 27th November 2008 at
http://forums.arm.com
Hi Aleph1024,
do you have --feedback option enabled for your linker?
ref : RVCT linker and Utilities guide , chapter - 3.3.5. Linker feedback
(--feedback is used to strip down the unused symbols during linking, during 'second build'.)
and if the problem still persists, just try compiling with no optimization options(remove the inlining options too) and see whether the symdef file generated are still the holding good every time. But anyways, plz post the result. its interesting to know the answer.
good luck.
cheers
Aj
Cancel
Up
0
Down
Reply
Accept answer
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Not Answered
"Add Registry Information" - what is this?
0
83
views
0
replies
Started
6 days ago
by
DavePi
Not Answered
arm-...-gcc 8.3.1 VS 4.9.3
0
GCC
compilation
690
views
2
replies
Latest
8 days ago
by
KhazAkar
Suggested Answer
ARM linker 6.14 L6077E error: Region table entry for region DTCM1 is missing.
+1
489
views
6
replies
Latest
12 days ago
by
Ronan Synnott
Answered
GCC 10
0
380
views
2
replies
Latest
14 days ago
by
Andy Neil
Not Answered
How to force string (rodata.str) alignment with ARM 6.6.3
0
Arm Compiler 6
316
views
4
replies
Latest
18 days ago
by
42Bastian Schick
>
View all questions in Arm Compilers forum