aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-10-14 21:17:54 +1030
committerAlan Modra <amodra@gmail.com>2016-10-14 22:40:55 +1030
commitab2c2251daf50e5ce733d33b803eb469b3ba1d80 (patch)
treec7478aaff375cb4f11ddabf606350b5407f1d892
parente5b06ef06b062f0626462abb182ee5470cf798bc (diff)
downloadgdb-ab2c2251daf50e5ce733d33b803eb469b3ba1d80.zip
gdb-ab2c2251daf50e5ce733d33b803eb469b3ba1d80.tar.gz
gdb-ab2c2251daf50e5ce733d33b803eb469b3ba1d80.tar.bz2
Add separate debug info file section
* scripttempl/DWARF.sc: Add .debug_addr.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/DWARF.sc1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 213cc37..96b717f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-14 Alan Modra <amodra@gmail.com>
+
+ * scripttempl/DWARF.sc: Add .debug_addr.
+
2016-10-12 Alan Modra <amodra@gmail.com>
* testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
diff --git a/ld/scripttempl/DWARF.sc b/ld/scripttempl/DWARF.sc
index a8bcb97..cbb2999 100644
--- a/ld/scripttempl/DWARF.sc
+++ b/ld/scripttempl/DWARF.sc
@@ -42,4 +42,5 @@ cat <<EOF
/* DWARF Extension. */
.debug_macro 0 : { *(.debug_macro) }
+ .debug_addr 0 : { *(.debug_addr) }
EOF