From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22986 invoked by alias); 7 Aug 2003 04:06:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22977 invoked from network); 7 Aug 2003 04:06:10 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 7 Aug 2003 04:06:10 -0000 Received: from drow by nevyn.them.org with local (Exim 4.20 #1 (Debian)) id 19kc2U-0005FN-0i for ; Thu, 07 Aug 2003 00:06:10 -0400 Date: Thu, 07 Aug 2003 04:06:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [patch/testcase] gdb.asm/m32r.inc: fix compile error Message-ID: <20030807040609.GA20091@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <028801c35a51$47db96d0$5169910a@KEI> <20030805180235.GA30002@nevyn.them.org> <009b01c35bbc$dff15420$5169910a@KEI> <20030806130352.GA25689@nevyn.them.org> <00bb01c35c8a$b0142ba0$5169910a@KEI> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00bb01c35c8a$b0142ba0$5169910a@KEI> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00083.txt.bz2 On Thu, Aug 07, 2003 at 11:22:02AM +0900, Kei Sakamoto wrote: > > -nostartfiles should prevent the inclusion of crt* but not of libgloss; > > libgloss is a matter for -nostdlib, which we _don't_ use. I see that > > in the m32r GCC port, -lgloss is in ENDFILE_CPU_SPEC, which is unlike > > any other port. > > > > I don't want to mess with that right now, but does adding -lgloss to > > ${link-flags} in asm-source.exp fix the problem? > > It worked. I removed the declarations of symbols from the patch. > > By the way, I noticed another bug in m32r.inc. In m32r.inc, there is > a sequential nop after bl instruction, which is illegal. M32r simulator > doesn't care about it, but real m32r chips cause exceptions. > The attached new patch fixes this problem too. > > Kei > > === > > 2003-08-07 Kei Sakamoto > > * gdb.asm/asm-source.exp : Add -lgloss to link-flags. > * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction. > Replace ld24 with seth/add3. Thanks, this is OK - I've checked it in. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer