summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/pe.sc5
-rw-r--r--ld/scripttempl/pep.sc5
3 files changed, 15 insertions, 0 deletions
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 <ktietz@redhat.com>
+
+ * scripttempl/pep.sc: Add .debug_macro section.
+ * scripttempl/pe.sc: Likewise.
+
2011-08-05 Alan Modra <amodra@gmail.com>
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)} :
{