aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf.sc
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/scripttempl/elf.sc
parent1dd6ea26c9e084de96fe450004bb5447b004f24a (diff)
downloadgdb-083a6ddf8cfb988b7b6f537706c8a2d8d77c988d.zip
gdb-083a6ddf8cfb988b7b6f537706c8a2d8d77c988d.tar.gz
gdb-083a6ddf8cfb988b7b6f537706c8a2d8d77c988d.tar.bz2
* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
Diffstat (limited to 'ld/scripttempl/elf.sc')
-rw-r--r--ld/scripttempl/elf.sc4
1 files changed, 4 insertions, 0 deletions
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}