Commit 6a9a8768 authored by Keith Packard's avatar Keith Packard Committed by Fabio Baltieri
Browse files

boards/qemu_x86_tiny: Add picolibc bits to pinned memory



Use the existing bits for newlib to make sure the picolibc files are also
placed in pinned memory.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent dcb199f5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -393,10 +393,10 @@ SECTIONS
		*(.text.*.constprop)
		*(.text.*.constprop.*)

#ifdef CONFIG_NEWLIB_LIBC
#if defined(CONFIG_NEWLIB_LIBC) || defined(CONFIG_PICOLIBC)
		*libc.a:(.text)
		*libc.a:(.text.*)
#endif /* CONFIG_NEWLIB_LIBC */
#endif

#ifdef CONFIG_COVERAGE
		*(.text._sub_I_00100_0)
@@ -437,10 +437,10 @@ SECTIONS
		*(.rodata.str*.*)
		*(.rodata.*.str*.*)

#ifdef CONFIG_NEWLIB_LIBC
#if defined(CONFIG_NEWLIB_LIBC) || defined(CONFIG_PICOLIBC)
		*libc.a:(.rodata)
		*libc.a:(.rodata.*)
#endif /* CONFIG_NEWLIB_LIBC */
#endif

#include <snippets-rodata.ld>
#include <snippets-pinned-rodata.ld>