8000 fix alignment in linker script · Issue #122 · ManyThreads/mythos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix alignment in linker script #122

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 o 8000 ur terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rottaran opened this issue Nov 7, 2019 · 0 comments
Open

fix alignment in linker script #122

rottaran opened this issue Nov 7, 2019 · 0 comments
Labels
enhancement help wanted good for first contributions

Comments

@rottaran
Copy link
Collaborator
rottaran commented Nov 7, 2019

The kernel's segments have 2MiB alignment and the program headers should show this. Otherwise the system's loader may do stupid things. At the moment there are weird values:

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  LOAD           0x00000000000000f0 0x0000000000200000 0x0000000000200000
                 0x0000000000000134 0x0000000000000134  RWE    0x10
  LOAD           0x0000000000000234 0xffffffff81200134 0x0000000000200134
                 0x00000000001446cc 0x00000000001446cc  R E    0x40
  LOAD           0x0000000000145000 0xffffffff81400000 0x0000000000400000
                 0x000000000000d0c0 0x000000000043b240  RW     0x1000
@rottaran rottaran added enhancement help wanted good for first contributions labels Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted good for first contributions
Projects
None yet
Development

No branches or pull requests

1 participant
0