Module Name: src Committed By: uwe Date: Wed Dec 27 19:58:22 UTC 2023
Modified Files: src/sys/arch/netwinder/conf: kern.ldscript Log Message: netwinder: kern.ldscript - preserve the .text section alignment This change from evbarm was omitted in previous, but older binutils in netbsd-10 seem to need it. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/netwinder/conf/kern.ldscript Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/netwinder/conf/kern.ldscript diff -u src/sys/arch/netwinder/conf/kern.ldscript:1.11 src/sys/arch/netwinder/conf/kern.ldscript:1.12 --- src/sys/arch/netwinder/conf/kern.ldscript:1.11 Mon Dec 18 23:12:43 2023 +++ src/sys/arch/netwinder/conf/kern.ldscript Wed Dec 27 19:58:22 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: kern.ldscript,v 1.11 2023/12/18 23:12:43 uwe Exp $ */ +/* $NetBSD: kern.ldscript,v 1.12 2023/12/27 19:58:22 uwe Exp $ */ SECTIONS { @@ -12,8 +12,8 @@ SECTIONS } /* Read-only sections, merged into text segment: */ - .text (KERNEL_BASE_virt + SIZEOF(.start)) : - AT (LOADADDR(.start) + SIZEOF(.start)) + .text (KERNEL_BASE_virt + ALIGN(SIZEOF(.start), ALIGNOF(.text))) : + AT (LOADADDR(.start) + ALIGN(SIZEOF(.start), ALIGNOF(.text))) { *(.text) *(.text.*)