powerpc: modified linkcmds.base to add new section for GDB pretty-printing

This commit is contained in:
the-m3chanic
2024-07-03 02:46:24 +05:30
committed by Amar Takhar
parent 2ba6a3bbda
commit a9b39c800c

View File

@@ -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_*) }