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

This commit is contained in:
the-m3chanic
2024-08-05 21:29:58 +00:00
committed by Amar Takhar
parent a54f06b678
commit 489ef84549
+4
View File
@@ -425,6 +425,10 @@ SECTIONS {
.debug_sup 0 : { *(.debug_sup) }
.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }
.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) }
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
/*