summaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-08-06 11:21:43 +0000
committerKai Tietz <kai.tietz@onevision.com>2011-08-06 11:21:43 +0000
commit38b612123fe2d36d5bdfc1a11ebec2d21df86da2 (patch)
treed5309473a41481ee44a381c31e48d5688ded5c0f /ld/scripttempl
parente6cbb922368888360fe200b129cfd422759e4f88 (diff)
downloadbinutils-redhat-38b612123fe2d36d5bdfc1a11ebec2d21df86da2.tar.gz
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.sc5
-rw-r--r--ld/scripttempl/pep.sc5
2 files changed, 10 insertions, 0 deletions
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)} :
{