aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index 9981848..9f7b2b2 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -402,5 +402,15 @@ SECTIONS
{
*(.zdebug_types${RELOCATING+ .gnu.linkonce.wt.*})
}
+
+ /* For Go and Rust. */
+ .debug_gdb_scripts ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
+ {
+ *(.debug_gdb_scripts)
+ }
+ .zdebug_gdb_scripts ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
+ {
+ *(.zdebug_gdb_scripts)
+ }
}
EOF