Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Alignment in Scatter File
Jump...
Cancel
Locked
Locked
Replies
5 replies
Subscribers
119 subscribers
Views
5336 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
Alignment in Scatter File
Nandhini Manoharan
over 12 years ago
Note: This was originally posted on 1st July 2010 at
http://forums.arm.com
Hi,
I am currently working in an ARM RVCT 2.2 compatible environment.
I want to align some execution region to section aligned addresses i.e., 0x100000 aligned boundary.
For Example:
Consider the below:
Section1 0x62450000 0x400
{
abc.o (+RO)
}
Section2 +0
{
}
Suppose abc.o occupies only 0x100, then Section2 will start from 0x62450100.
But i want to Section2 to start only from 0x62500000.
I had tried using .align as follows:
Section2 +0
{
.ALIGN(0x100000)
}
and
Section2 +0
{
. = ALIGN(0x100000)
}
But both these options were compilable but there was no end result.
Can someone give me some suggestions on this?
Thanks!
Parents
Abhinav Varma
over 12 years ago
Note: This was originally posted on 8th September 2010 at
http://forums.arm.com
hey iso,
I have a linker (LD) script and need to convert that to a scatter file. I need to enforce align 2 for a section. How can I do that in a scatter file. The current alignment shows 4 bytes alignment.
I am using RVDS 4.0 for Cortex M3 on a Win XP system with cygwin environment.
Thanks and Regards
Abhinav Varma
Cancel
Vote up
0
Vote down
Cancel
Reply
Abhinav Varma
over 12 years ago
Note: This was originally posted on 8th September 2010 at
http://forums.arm.com
hey iso,
I have a linker (LD) script and need to convert that to a scatter file. I need to enforce align 2 for a section. How can I do that in a scatter file. The current alignment shows 4 bytes alignment.
I am using RVDS 4.0 for Cortex M3 on a Win XP system with cygwin environment.
Thanks and Regards
Abhinav Varma
Cancel
Vote up
0
Vote down
Cancel
Children
No data