boards: qemu_x86_tiny: Place Newlib-nano into pinned sections

This commit updates the qemu_x86_tiny linker script to place the
Newlib-nano text and rodata sections into the corresponding pinned
sections so that they are accessible.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2023-05-13 23:21:29 +09:00
parent 9fc99928ca
commit 8a655749e0

View file

@ -394,8 +394,8 @@ SECTIONS
*(.text.*.constprop.*)
#if defined(CONFIG_NEWLIB_LIBC) || defined(CONFIG_PICOLIBC)
*libc.a:(.text)
*libc.a:(.text.*)
*libc*.a:(.text)
*libc*.a:(.text.*)
#endif
#ifdef CONFIG_COVERAGE
@ -438,8 +438,8 @@ SECTIONS
*(.rodata.*.str*.*)
#if defined(CONFIG_NEWLIB_LIBC) || defined(CONFIG_PICOLIBC)
*libc.a:(.rodata)
*libc.a:(.rodata.*)
*libc*.a:(.rodata)
*libc*.a:(.rodata.*)
#endif
#include <snippets-rodata.ld>