Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
PADDING execution regions
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
3890 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
PADDING execution regions
Vijaya Kumar
over 12 years ago
Note: This was originally posted on 24th February 2010 at
http://forums.arm.com
Dear All,
I am looking for RVDS 2.2 arm linker option where I can pad the execution region with 0xFF's so that the size of the execution region is aligned to 4KB.
I have tried to use
EXEC 0x2000 PADVALUE 0xFFFFFFFFFF 0x1000
{
x.ptl(RO);
}
But the unused EXEC region is not padded with 0xFF's in the output image.
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 25th February 2010 at
http://forums.arm.com
You will need to specify the --no_legacyalign option on the armlink command line. By default the linker assumes it can use 4 bytes alignment without padding, and then "unpack" the binary when running it for the first time. For demand paging this is obviously not what you want.
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 25th February 2010 at
http://forums.arm.com
You will need to specify the --no_legacyalign option on the armlink command line. By default the linker assumes it can use 4 bytes alignment without padding, and then "unpack" the binary when running it for the first time. For demand paging this is obviously not what you want.
Cancel
Vote up
0
Vote down
Cancel
Children
No data