Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Smallest shift of flexible pages" conflicts with the alignment of data section in link file. #53

Open
georgekang opened this issue Sep 27, 2013 · 1 comment
Labels

Comments

@georgekang
Copy link
Member

Memory fault would happen when the alignment of fpage is larger than data section.
In default setting, the fpage is 2^8-byte aligned and data section is at 0x20000400. Data section is not only 2^7-byte aligned but also 2^8-byte aligned. However, data section is only set as 2^7-byte aligned in link file. If data section is only 2^7-byte aligned(e.g. 0x2000480) and fpage is 2^8-byte aligned, memory fault would happen when accessing first 128 bytes of data section.

@jserv
Copy link
Member

jserv commented Sep 28, 2013

@southernbear Did you encounter alignment related issues as @georgekang described? In branch user-test, there are already some address spaces manipulation fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants