diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-11-04 16:03:25 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2010-11-04 16:03:25 +0000 |
commit | 802d48223b68e962dd8d96b20977f7406b9d4d91 (patch) | |
tree | 792f9e48141ff892e3c9858cfbcc052a534c14db /ld/scripttempl | |
parent | 52e00d50337ce0e3ccad7a99c301851dfc721ec2 (diff) | |
download | gdb-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.sc | 6 | ||||
-rw-r--r-- | ld/scripttempl/pep.sc | 6 |
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 |