diff --git a/bsps/powerpc/gen5200/start/linkcmds.gen5200_base b/bsps/powerpc/gen5200/start/linkcmds.gen5200_base index 3e6e4b84f0..ef4b7fe934 100644 --- a/bsps/powerpc/gen5200/start/linkcmds.gen5200_base +++ b/bsps/powerpc/gen5200/start/linkcmds.gen5200_base @@ -356,6 +356,9 @@ SECTIONS { .debug_sup 0 : { *(.debug_sup) } .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } + /* Addition to let linker know about custom section for GDB pretty-printing support. */ + .debug_gdb_scripts 0 : { *(.debug_gdb_scripts) } + /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }