aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/pep.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-05-15 13:12:49 +0100
committerNick Clifton <nickc@redhat.com>2017-05-15 13:12:49 +0100
commit786e3eba7915df35df1d98a300e06f757336c75b (patch)
tree214637d555ef5d0aeaa5e450545764be52f0f9a1 /ld/scripttempl/pep.sc
parentfba2af917d78bb1d8ef0d508b9246ad32fed1afd (diff)
downloadgdb-786e3eba7915df35df1d98a300e06f757336c75b.zip
gdb-786e3eba7915df35df1d98a300e06f757336c75b.tar.gz
gdb-786e3eba7915df35df1d98a300e06f757336c75b.tar.bz2
Add .debug_gdb_scripts section to PE linker scripts.
PR ld/21459 * scripttempl/pe.sc: Add .debug_gdb_scripts section. * scripttempl/pep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/pep.sc')
-rw-r--r--ld/scripttempl/pep.sc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc
index 16dc57f..57eb75c 100644
--- a/ld/scripttempl/pep.sc
+++ b/ld/scripttempl/pep.sc
@@ -415,5 +415,15 @@ SECTIONS
{
*(.zdebug_types${RELOCATING+ .zdebug.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