Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2024 11:07:46 GMT
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1701dfae1be3 - main - arm: fix symbols around the .ARM.exidx section
Message-ID:  <202411171107.4AHB7kAV001180@gitrepo.freebsd.org>

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

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

commit 1701dfae1be3be6f8f1fdd3b6b636d3161b33420
Author:     Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2024-11-17 10:33:32 +0000
Commit:     Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2024-11-17 11:00:45 +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
---
 sys/conf/ldscript.arm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm
index 03feae4cfe08..6ccd99d44a77 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?202411171107.4AHB7kAV001180>