From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22452 invoked by alias); 21 Mar 2012 03:11:49 -0000 Received: (qmail 22436 invoked by uid 22791); 21 Mar 2012 03:11:48 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,TW_XF,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mo10.iij4u.or.jp (HELO mo.iij4u.or.jp) (210.138.174.78) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Mar 2012 03:11:32 +0000 Received: by mo.iij4u.or.jp (mo10) id q2L3BOPn030010; Wed, 21 Mar 2012 12:11:24 +0900 Received: from localhost (238.152.138.210.bn.2iij.net [210.138.152.238]) by mbox.iij4u.or.jp (mbox10) id q2L3BNe6029401; Wed, 21 Mar 2012 12:11:23 +0900 Date: Wed, 21 Mar 2012 03:11:00 -0000 Message-Id: <20120321.121127.243831052.kkojima@rr.iij4u.or.jp> To: thomas@codesourcery.com Cc: binutils@sourceware.org, aoliva@redhat.com, gdb-patches@sourceware.org, kevinb@redhat.com Subject: Re: [SH] .8byte directive (for DWARF data) From: Kaz Kojima In-Reply-To: <87vclzgvfx.fsf@schwinge.name> References: <87vclzgvfx.fsf@schwinge.name> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00761.txt.bz2 Thomas Schwinge 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