Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2024 13:37:44 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: c159be9a0a73 - stable/14 - arm: fix symbols around the .ARM.exidx section
Message-ID:  <202412081337.4B8DbiT7039026@gitrepo.freebsd.org>

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

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

commit c159be9a0a738d70e009392db5894a54a79dc21f
Author:     Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2024-11-17 10:33:32 +0000
Commit:     Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2024-12-08 10:36:38 +0000

    arm: fix symbols around the .ARM.exidx section
    
    Insert a direct assignment to the location counter to ensure that orphaned
    sections cannot be emitted between the _exidx_start symbol and the .ARM.exidx
    section.
    
    Discussed with: jrtc27
    MFC after:      1 week
    
    (cherry picked from commit 1701dfae1be3be6f8f1fdd3b6b636d3161b33420)
---
 sys/conf/ldscript.arm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm
index a1c38a5636e2..4c6716908bde 100644
--- a/sys/conf/ldscript.arm
+++ b/sys/conf/ldscript.arm
@@ -67,6 +67,7 @@ SECTIONS
   _extab_end = .;
   PROVIDE(extab_end = .);
 
+  . = ALIGN(4);
   _exidx_start = .;
   PROVIDE(exidx_start = .);
   .ARM.exidx : { *(.ARM.exidx) }



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