diff options
author | mp <mp@FreeBSD.org> | 2001-10-08 10:43:34 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2001-10-08 10:43:34 +0000 |
commit | 28baac583a7e98ff29cf97f76f36e97ecacd026b (patch) | |
tree | 8c56ac8130f4ca72b0b183e55546d733b6b7406a | |
parent | b97af7c8125a8779a00e46b3d8215ae23787b7d3 (diff) | |
download | FreeBSD-src-28baac583a7e98ff29cf97f76f36e97ecacd026b.zip FreeBSD-src-28baac583a7e98ff29cf97f76f36e97ecacd026b.tar.gz |
Page align the data segment.
-rw-r--r-- | sys/conf/ldscript.powerpc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/conf/ldscript.powerpc b/sys/conf/ldscript.powerpc index fda2f2e..fac182d 100644 --- a/sys/conf/ldscript.powerpc +++ b/sys/conf/ldscript.powerpc @@ -52,9 +52,8 @@ SECTIONS .rodata1 : { *(.rodata1) } .sdata2 : { *(.sdata2) } .sbss2 : { *(.sbss2) } - /* Adjust the address for the data segment. We want to adjust up to - the same address within the page on the next page up. */ - . = .; + /* Adjust the address for the data segment to the next page up. */ + . = ((. + 0x1000) & ~(0x1000 - 1)); .data : { *(.data) |