summaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-11-04 16:03:19 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-11-04 16:03:19 +0000
commitd8947eec4caf4d85a9e22526d6a7eee69235a1cc (patch)
treee7c2f95432bcddb22e0bee3540312037b949b3a3 /ld/scripttempl/pe.sc
parent9d8c28beb1c1eb7f1a59d9bd42b3df216a2b7a1a (diff)
downloadbinutils-redhat-d8947eec4caf4d85a9e22526d6a7eee69235a1cc.tar.gz
bfd/
2010-11-04 Kai Tietz <kai.tietz@onevision.com> * coffcode.h (GNU_LINKONCE_WT): New. (sec_to_styp_flags): Add handling of new debug section. (styp_to_sec_flags): Likewise. ld/ 010-11-04 Kai Tietz <kai.tietz@onevision.com> * scripttempl/pe.sc (.debug_types): New. * scripttempl/pep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index e178fce0d3..7d52cc542c 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