riscv: modified linkcmdsbase.yml to add new section for gdb-inlined script

This commit is contained in:
the-m3chanic
2024-07-08 18:34:19 +05:30
committed by Amar Takhar
parent 51241988ac
commit a148c94c73

View File

@@ -387,6 +387,10 @@ content: |
.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) }
.riscv.attributes 0 : { KEEP (*(.riscv.attributes)) KEEP (*(.gnu.attributes)) }
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
.shstrtab 0 : { *(.shstrtab) }