This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 79758c5150 arm64/lto: Fix link error after opening lto
79758c5150 is described below

commit 79758c5150a6f03dbf4644c3a4d55dfd55fe036a
Author: wangmingrong1 <[email protected]>
AuthorDate: Thu Dec 5 12:47:57 2024 +0800

    arm64/lto: Fix link error after opening lto
    
    CPP:  
/mnt/vela/github/NX/nuttx/boards/arm64/qemu/qemu-armv8a/scripts/dramboot.ld-> 
/mnt/vela/github/NX/nutLD: nuttx
    Please update the link script, section ['.kasan.global'] cannot be found
    `.eh_frame' referenced in section `.text.frame_dummy' of 
/mnt/vela/github/Toolchains/arm64-gcc-13/bin/../lib/gcc/aarch64-none-elf/13.2.1/crtbegin.o:
 defined in discarded section `.eh_frame' of 
/mnt/vela/github/Toolchains/arm64-gcc-13/bin/../lib/gcc/aarch64-none-elf/13.2.1/crtbegin.o
    `.eh_frame' referenced in section `.text.frame_dummy' of 
/mnt/vela/github/Toolchains/arm64-gcc-13/bin/../lib/gcc/aarch64-none-elf/13.2.1/crtbegin.o:
 defined in discarded section `.eh_frame' of 
/mnt/vela/github/Toolchains/arm64-gcc-13/bin/../lib/gcc/aarch64-none-elf/13.2.1/crtbegin.o
    Memory region         Used Size  Region Size  %age Used
    
    Signed-off-by: wangmingrong1 <[email protected]>
---
 boards/arm64/qemu/qemu-armv8a/scripts/dramboot.ld | 1 -
 1 file changed, 1 deletion(-)

diff --git a/boards/arm64/qemu/qemu-armv8a/scripts/dramboot.ld 
b/boards/arm64/qemu/qemu-armv8a/scripts/dramboot.ld
index 361d8125b7..82b1e1d908 100644
--- a/boards/arm64/qemu/qemu-armv8a/scripts/dramboot.ld
+++ b/boards/arm64/qemu/qemu-armv8a/scripts/dramboot.ld
@@ -144,7 +144,6 @@ SECTIONS
        *(.exit.text)
        *(.exit.data)
        *(.exitcall.exit)
-       *(.eh_frame)
   }
 
   /* Stabs debugging sections.  */

Reply via email to