This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [SH] .8byte directive (for DWARF data)
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: thomas at codesourcery dot com
- Cc: binutils at sourceware dot org, aoliva at redhat dot com, gdb-patches at sourceware dot org, kevinb at redhat dot com
- Date: Wed, 21 Mar 2012 12:11:27 +0900 (JST)
- Subject: Re: [SH] .8byte directive (for DWARF data)
- References: <87vclzgvfx.fsf@schwinge.name>
Thomas Schwinge <thomas@codesourcery.com> wrote:
> On SH, GDB's gdb.dwarf2/dw2-intermix.exp currently fails as follows:
>
> Running [GDB]/testsuite/gdb.dwarf2/dw2-intermix.exp ...
> gdb compile failed, [GDB]/testsuite/gdb.dwarf2/dw2-intermix.S: Assembler messages:
> [GDB]/testsuite/gdb.dwarf2/dw2-intermix.S:139: Error: unsupported BFD relocation size 8
> [GDB]/testsuite/gdb.dwarf2/dw2-intermix.S:142: Error: unsupported BFD relocation size 8
>
> gdb.dwarf2/dw2-intermix.S:
>
> [...]
> 18 /* Test a minimal file containing intermixed 32-bit and 64-bit DWARF
> 19 formats. This is not allowed by the (draft) DWARF-3 standard, but
> 20 GDB should handle it gracefully nevertheless. */
> [...]
> 135 /* Line table */
> 136 .section .debug_line
> 137 .Lline1_begin:
> 138 .4byte 0xffffffff
> 139 .8byte .Lline1_end - .Lline1_start /* Initial length */
> 140 .Lline1_start:
> 141 .2byte 2 /* Version */
> 142 .8byte .Lline1_lines - .Lline1_hdr /* header_length */
> 143 .Lline1_hdr:
> 144 .byte 1 /* Minimum insn length */
> [...]
>
> Here is a patch for the assembler, OK to commit?
OK. Thanks for the patch!
Regards,
kaz