diff --git a/ld/ChangeLog b/ld/ChangeLog index bb23c7a65e..bde12e5726 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2011-08-06 Kai Tietz + + * scripttempl/pep.sc: Add .debug_macro section. + * scripttempl/pe.sc: Likewise. + 2011-08-05 Alan Modra PR ld/12762 diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 7cf745880b..3cb77ab4e0 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -292,6 +292,11 @@ SECTIONS *(.debug_varnames) } + .debug_macro ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : + { + *(.debug_macro) + } + /* DWARF 3. */ .debug_ranges ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : { diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index 583cacb921..60515ef9f1 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -298,6 +298,11 @@ SECTIONS *(.debug_varnames) } + .debug_macro ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : + { + *(.debug_macro) + } + /* DWARF 3. */ .debug_ranges ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} : {