aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/pe.sc6
-rw-r--r--ld/scripttempl/pep.sc6
3 files changed, 17 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2b037e4..cd29ee8 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-04 Kai Tietz <kai.tietz@onevision.com>
+
+ * scripttempl/pe.sc (.debug_types): New.
+ * scripttempl/pep.sc: Likewise.
+
2010-11-04 Alan Modra <amodra@gmail.com>
* plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd.
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