aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-08-06 11:21:44 +0000
committerKai Tietz <kai.tietz@onevision.com>2011-08-06 11:21:44 +0000
commitb990ad6169a85cc299c28180203134703090428f (patch)
tree97c8dbf90b976c4a81051169fa1489595f5c4472 /ld
parent14fe068bd876e9c241ac12548df7960ede435c85 (diff)
downloadgdb-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')
-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 bb23c7a..bde12e5 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 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)} :
{