aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-11-04 16:03:25 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-11-04 16:03:25 +0000
commit802d48223b68e962dd8d96b20977f7406b9d4d91 (patch)
tree792f9e48141ff892e3c9858cfbcc052a534c14db /ld/scripttempl
parent52e00d50337ce0e3ccad7a99c301851dfc721ec2 (diff)
downloadgdb-802d48223b68e962dd8d96b20977f7406b9d4d91.zip
gdb-802d48223b68e962dd8d96b20977f7406b9d4d91.tar.gz
gdb-802d48223b68e962dd8d96b20977f7406b9d4d91.tar.bz2
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')
-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