aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32cr16.sc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-11-02 13:47:44 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-11-02 13:47:44 +0000
commit34734a010beee3b56b382dc93249b6cd27c9a373 (patch)
tree6f4d4a4ee948309a27d1348c453fe8a9670b3c14 /ld/scripttempl/elf32cr16.sc
parenta289b8f64e80d14000a8c35d51fe9d78d33bc83d (diff)
downloadgdb-34734a010beee3b56b382dc93249b6cd27c9a373.zip
gdb-34734a010beee3b56b382dc93249b6cd27c9a373.tar.gz
gdb-34734a010beee3b56b382dc93249b6cd27c9a373.tar.bz2
Include compressed DWARF debug sections in ELF linker scripts.
binutils/testsuite/ 2010-11-02 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/libdw2.out: Also accept MIPS_DWARF. ld/ 2010-11-02 H.J. Lu <hongjiu.lu@intel.com> * scripttempl/armbpabi.sc: Include compressed DWARF debug sections. * scripttempl/avr.sc: Likewise. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32msp430.sc: Likewise. * scripttempl/elf32msp430_3.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/mmo.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise. ld/testsuite/ 2010-11-02 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/compress1a.d: Also check MIPS_DWARF. * ld-elf/compress1b.d: Likewise. * ld-elf/compress1c.d: Likewise.
Diffstat (limited to 'ld/scripttempl/elf32cr16.sc')
-rw-r--r--ld/scripttempl/elf32cr16.sc18
1 files changed, 9 insertions, 9 deletions
diff --git a/ld/scripttempl/elf32cr16.sc b/ld/scripttempl/elf32cr16.sc
index 61351c5..b40bfbd 100644
--- a/ld/scripttempl/elf32cr16.sc
+++ b/ld/scripttempl/elf32cr16.sc
@@ -154,15 +154,15 @@ SECTIONS
Symbols in the DWARF debugging sections are relative to the beginning
of the section so we begin them at 0. */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
+ .debug_aranges 0 : { *(.debug_aranges .zdebug_aranges) }
+ .debug_pubnames 0 : { *(.debug_pubnames .zdebug_pubnames) }
+ .debug_info 0 : { *(.debug_info${RELOCATING+ .gnu.linkonce.wi.*} .zdebug_info) }
+ .debug_abbrev 0 : { *(.debug_abbrev .zdebug_abbrev) }
+ .debug_line 0 : { *(.debug_line .zdebug_line) }
+ .debug_frame 0 : { *(.debug_frame .zdebug_frame) }
+ .debug_str 0 : { *(.debug_str .zdebug_str) }
+ .debug_loc 0 : { *(.debug_loc .zdebug_loc) }
+ .debug_macinfo 0 : { *(.debug_macinfo .zdebug_macinfo) }
}
__DATA_IMAGE_START = LOADADDR(.data);