mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
x86_64: modified linkcmds for gdb-inlined script support
This commit is contained in:
committed by
Amar Takhar
parent
8276f817cf
commit
57ed8e5f31
@@ -288,6 +288,10 @@ SECTIONS
|
|||||||
/* DWARF Extension. */
|
/* DWARF Extension. */
|
||||||
.debug_macro 0 : { *(.debug_macro) }
|
.debug_macro 0 : { *(.debug_macro) }
|
||||||
.debug_addr 0 : { *(.debug_addr) }
|
.debug_addr 0 : { *(.debug_addr) }
|
||||||
|
|
||||||
|
/* 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)) }
|
||||||
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
|
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user