From 065155b4212518f1f0699267b75b036244e224c9 Mon Sep 17 00:00:00 2001 From: the-m3chanic Date: Wed, 3 Jul 2024 02:46:40 +0530 Subject: [PATCH] sparc: modified linkcmds.base to add new section for GDB pretty-printing --- bsps/sparc/shared/start/linkcmds.base | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsps/sparc/shared/start/linkcmds.base b/bsps/sparc/shared/start/linkcmds.base index b278c78a46..71065eb74d 100644 --- a/bsps/sparc/shared/start/linkcmds.base +++ b/bsps/sparc/shared/start/linkcmds.base @@ -210,4 +210,7 @@ SECTIONS { [ .stabstr ] } + + /* Addition to let linker know about custom section for GDB pretty-printing support. */ + .debug_gdb_scripts 0 : { *(.debug_gdb_scripts) } }