diff --git a/ld/ChangeLog b/ld/ChangeLog index 7b65d0dd9a..a966e37193 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2009-06-26 Kai Tietz + + * scripttempl/pe.sc (.debug_pubtypes): Added section rule. + * scripttempl/pep.sc: Likewise. + 2009-06-25 Tristan Gingold * ldlang.c (print_input_section): Add is_discarded parameter. Adjust diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 8561446054..fe121e55da 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -213,6 +213,11 @@ SECTIONS *(.debug_pubnames) } + .debug_pubtypes ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} + { + *(.debug_pubtypes) + } + /* DWARF 2. */ .debug_info ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : { diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index e19026c9ef..95e99eea5b 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -214,6 +214,11 @@ SECTIONS *(.debug_pubnames) } + .debug_pubtypes ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} + { + *(.debug_pubtypes) + } + /* DWARF 2. */ .debug_info ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : {