diff options
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 |