Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2024 13:38:10 GMT
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: abed528a9726 - stable/13 - arm: align data section to the supersection.
Message-ID:  <202412081338.4B8DcAj2039679@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mmel:

URL: https://cgit.FreeBSD.org/src/commit/?id=abed528a9726700303845f5c8b5162fcd32f31dc

commit abed528a9726700303845f5c8b5162fcd32f31dc
Author:     Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2024-11-17 10:50:41 +0000
Commit:     Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2024-12-08 13:19:42 +0000

    arm: align data section to the supersection.
    
    Offset based data section alignment is probably not applicable to any system
    other than i386.
    
    MFC after:      4 week
    
    (cherry picked from commit 60e72eb16a08bdebb40c99cdfcde04e606fe4f3e)
---
 sys/conf/ldscript.arm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm
index 6b44073e26d2..6200e51b93bb 100644
--- a/sys/conf/ldscript.arm
+++ b/sys/conf/ldscript.arm
@@ -74,9 +74,7 @@ SECTIONS
   _exidx_end = .;
   PROVIDE(exidx_end = .);
 
-  /* Adjust the address for the data segment.  We want to adjust up to
-     the same address within the page on the next page up.  */
-  . = ALIGN(0x1000) + (. & (0x1000 - 1)) ; 
+  . = ALIGN(0x10000);
   .data    :
   {
     *(.data)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412081338.4B8DcAj2039679>