diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-01-23 13:29:07 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-01-23 13:29:07 +0000 |
commit | cd13ddbb9d3b9002e438550028b6b4196fe89182 (patch) | |
tree | 805eebd9952575b934d93be8cf262ca46593fb2c | |
parent | 6c303564200f02b269c1eac172122adeb7b27ddb (diff) |
_end should be on a 64-bit boundary, so make sure to align
the end of BSS by 64-bit and not 32-bit.
With and ok kettenis@
-rw-r--r-- | sys/arch/arm64/conf/kern.ldscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm64/conf/kern.ldscript b/sys/arch/arm64/conf/kern.ldscript index 51161d86013..e247eeae9b1 100644 --- a/sys/arch/arm64/conf/kern.ldscript +++ b/sys/arch/arm64/conf/kern.ldscript @@ -1,5 +1,5 @@ -/* $OpenBSD: kern.ldscript,v 1.2 2017/01/23 08:21:34 kettenis Exp $ */ -/* $OpenBSD: kern.ldscript,v 1.2 2017/01/23 08:21:34 kettenis Exp $ */ +/* $OpenBSD: kern.ldscript,v 1.3 2017/01/23 13:29:06 patrick Exp $ */ +/* $OpenBSD: kern.ldscript,v 1.3 2017/01/23 13:29:06 patrick Exp $ */ /* $NetBSD: ldscript.evbarm,v 1.2 2003/03/05 23:54:22 thorpej Exp $ */ OUTPUT_ARCH(aarch64) @@ -73,7 +73,7 @@ SECTIONS /* Align here to ensure that the .bss section occupies space up to _end. Align after .bss to ensure correct alignment even if the .bss section disappears because there are no input sections. */ - . = ALIGN(32 / 8); + . = ALIGN(64 / 8); } :data PROVIDE (end = .); _end = .; |