aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/pe.sc6
-rw-r--r--ld/scripttempl/pep.sc6
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index e178fce..7d52cc5 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -294,5 +294,11 @@ SECTIONS
{
*(.debug_ranges)
}
+
+ /* DWARF 4. */
+ .debug_types ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
+ {
+ *(.debug_types) *(.gnu.linkonce.wt.*)
+ }
}
EOF
diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc
index 3682766..8fa5f05 100644
--- a/ld/scripttempl/pep.sc
+++ b/ld/scripttempl/pep.sc
@@ -300,5 +300,11 @@ SECTIONS
{
*(.debug_ranges)
}
+
+ /* DWARF 4. */
+ .debug_types ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
+ {
+ *(.debug_types) *(.gnu.linkonce.wt.*)
+ }
}
EOF