forked from Imagelibrary/rtems
powerpc: modified linkcmds.base to add new section for GDB pretty-printing
This commit is contained in:
committed by
Amar Takhar
parent
2ba6a3bbda
commit
a9b39c800c
@@ -465,6 +465,10 @@ SECTIONS {
|
|||||||
.debug_rnglists 0 : { *(.debug_rnglists) }
|
.debug_rnglists 0 : { *(.debug_rnglists) }
|
||||||
.debug_str_offsets 0 : { *(.debug_str_offsets) }
|
.debug_str_offsets 0 : { *(.debug_str_offsets) }
|
||||||
.debug_sup 0 : { *(.debug_sup) }
|
.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)) }
|
.gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
|
||||||
.PPC.EMB.apuinfo 0 : { *(.PPC.EMB.apuinfo) }
|
.PPC.EMB.apuinfo 0 : { *(.PPC.EMB.apuinfo) }
|
||||||
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
|
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
|
||||||
|
|||||||
Reference in New Issue
Block a user