From 802d48223b68e962dd8d96b20977f7406b9d4d91 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Thu, 4 Nov 2010 16:03:25 +0000 Subject: bfd/ 2010-11-04 Kai Tietz * 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 * scripttempl/pe.sc (.debug_types): New. * scripttempl/pep.sc: Likewise. --- ld/scripttempl/pe.sc | 6 ++++++ ld/scripttempl/pep.sc | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'ld/scripttempl') 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 -- cgit v1.1