diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-08-06 11:21:44 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2011-08-06 11:21:44 +0000 |
commit | b990ad6169a85cc299c28180203134703090428f (patch) | |
tree | 97c8dbf90b976c4a81051169fa1489595f5c4472 /ld/scripttempl | |
parent | 14fe068bd876e9c241ac12548df7960ede435c85 (diff) | |
download | gdb-b990ad6169a85cc299c28180203134703090428f.zip gdb-b990ad6169a85cc299c28180203134703090428f.tar.gz gdb-b990ad6169a85cc299c28180203134703090428f.tar.bz2 |
2011-08-06 Kai Tietz <ktietz@redhat.com>
* scripttempl/pep.sc: Add .debug_macro section.
* scripttempl/pe.sc: Likewise.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/pe.sc | 5 | ||||
-rw-r--r-- | ld/scripttempl/pep.sc | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 7cf7458..3cb77ab 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 583cacb..60515ef 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)} : { |