diff --git a/bsps/powerpc/shared/start/linkcmds.base b/bsps/powerpc/shared/start/linkcmds.base index 4f626b13cc..b1f40c70f8 100644 --- a/bsps/powerpc/shared/start/linkcmds.base +++ b/bsps/powerpc/shared/start/linkcmds.base @@ -465,6 +465,10 @@ SECTIONS { .debug_rnglists 0 : { *(.debug_rnglists) } .debug_str_offsets 0 : { *(.debug_str_offsets) } .debug_sup 0 : { *(.debug_sup) } + + /* Addition to let linker know about custom section for GDB pretty-printing support. */ + .debug_gdb_scripts 0 : { *(.debug_gdb_scripts) } + .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } .PPC.EMB.apuinfo 0 : { *(.PPC.EMB.apuinfo) } /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }