forked from Imagelibrary/rtems
arm: modified linkcmds.base to add new section for GDB pretty-printing
This commit is contained in:
committed by
Amar Takhar
parent
489ef84549
commit
9f559735c1
@@ -437,7 +437,9 @@ SECTIONS {
|
|||||||
.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }
|
.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }
|
||||||
.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
|
.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
|
||||||
|
|
||||||
|
/* Addition to let linker know about custom section for GDB pretty-printing support. */
|
||||||
.debug_gdb_scripts 0 : { *(.debug_gdb_scripts) }
|
.debug_gdb_scripts 0 : { *(.debug_gdb_scripts) }
|
||||||
|
|
||||||
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
|
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user