From b990ad6169a85cc299c28180203134703090428f Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sat, 6 Aug 2011 11:21:44 +0000 Subject: [PATCH] 2011-08-06 Kai Tietz * scripttempl/pep.sc: Add .debug_macro section. * scripttempl/pe.sc: Likewise. --- ld/ChangeLog | 5 +++++ ld/scripttempl/pe.sc | 5 +++++ ld/scripttempl/pep.sc | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index bb23c7a65eb..bde12e57263 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 7cf745880b3..3cb77ab4e03 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 583cacb9218..60515ef9f10 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)} : { -- 2.30.2