aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-05-03 07:06:13 +0000
committerAlan Modra <amodra@gmail.com>2007-05-03 07:06:13 +0000
commit083a6ddf8cfb988b7b6f537706c8a2d8d77c988d (patch)
tree1c950aa464e06a5dc5c6ab82904191c95aac3bd2 /ld
parent1dd6ea26c9e084de96fe450004bb5447b004f24a (diff)
downloadbinutils-083a6ddf8cfb988b7b6f537706c8a2d8d77c988d.zip
binutils-083a6ddf8cfb988b7b6f537706c8a2d8d77c988d.tar.gz
binutils-083a6ddf8cfb988b7b6f537706c8a2d8d77c988d.tar.bz2
* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/elf.sc4
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 42162f1..1064f77 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-03 Alan Modra <amodra@bigpond.net.au>
+
+ * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
+
2007-05-01 Robert Millan <rmh@aybabtu.com>
* ldlang.c (lang_check): Error on architecture mismatch.
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 8cc19a5..f9f35f9 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -505,6 +505,10 @@ cat <<EOF
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
+ /* DWARF 3 */
+ .debug_pubtypes 0 : { *(.debug_pubtypes) }
+ .debug_ranges 0 : { *(.debug_ranges) }
+
${TINY_DATA_SECTION}
${TINY_BSS_SECTION}