Skip to content
Browse files

arch/x86: always make BSS section MMU page align if X86_MMU

If MMU is enabled, always make the BSS section MMU page aligned.
According to the comments, it is always aligned anyway.

Signed-off-by: Daniel Leung <>
  • Loading branch information...
dcpleung authored and nashif committed Jul 31, 2018
1 parent a51fb78 commit 615703423ef5e2c1129dcba96f52b0198b8041b8
Showing with 1 addition and 9 deletions.
  1. +1 −9 include/arch/x86/linker.ld
@@ -209,16 +209,8 @@ SECTIONS

* Without Jailhouse, we get the page alignment here for free by
* definition of the beginning of the "RAMable" region on the board
* configurations. With Jailhouse, everything falls in RAM and we
* try to glue sections in sequence, thus we have to realign here so
* that does not complain.

* For performance, BSS section is forced to be both 4 byte aligned and
* a multiple of 4 bytes.

0 comments on commit 6157034

Please sign in to comment.
You can’t perform that action at this time.