From b634798bd6e5cecd995d70bb037bc796b5844007 Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Mon, 26 Feb 2024 08:39:53 +0100 Subject: [PATCH] qemu-intel64: add .note.gnu.* to linker script this prevents section overlap linker errors which sometimes occurs: ld: section .rodata LMA [0000000000990000,00000000009c1f27] overlaps section .note.gnu.property LMA [000000000098ffe0,000000000099000f] make[1]: *** [Makefile:114: nuttx.elf] Error 1 Signed-off-by: p-szafonimateusz --- boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld b/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld index 0ac3abd72b..4702c25b38 100644 --- a/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld +++ b/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld @@ -79,6 +79,7 @@ SECTIONS *(.gcc_except_table) *(.gnu.linkonce.r.*) *(.eh_frame) + *(.note.gnu.*) _erodata = ABSOLUTE(.); }