From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24244 invoked by alias); 4 Aug 2003 06:22:48 -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 24235 invoked from network); 4 Aug 2003 06:22:46 -0000 Received: from unknown (HELO mail02.idc.renesas.com) (202.234.163.13) by sources.redhat.com with SMTP; 4 Aug 2003 06:22:46 -0000 Received: from mail02.idc.renesas.com ([127.0.0.1]) by mail02.idc.renesas.com with ESMTP id h746Mi1O016001 for ; Mon, 4 Aug 2003 15:22:45 +0900 (JST) Received: from guardian03.idc.renesas.com ([172.20.8.134]) by mail02.idc.renesas.com with ESMTP id h746MiUO015998 for ; Mon, 4 Aug 2003 15:22:44 +0900 (JST) Received: (from root@localhost) by guardian03.idc.renesas.com with id h746MiKT027263 for gdb-patches@sources.redhat.com; Mon, 4 Aug 2003 15:22:44 +0900 (JST) Received: from unknown [172.20.8.68] by guardian03.idc.renesas.com with SMTP id RAA27260 ; Mon, 4 Aug 2003 15:22:43 +0900 Received: from mta01.idc.renesas.com (localhost [127.0.0.1]) by mta01.idc.renesas.com with ESMTP id h746Mg4G020099 for ; Mon, 4 Aug 2003 15:22:42 +0900 (JST) Received: from rnsmtp01.hoku_r.renesas.com ([10.145.246.51]) by mta01.idc.renesas.com with ESMTP id h746MfZV020096 for ; Mon, 4 Aug 2003 15:22:41 +0900 (JST) Received: from mrkaisv.hoku.renesas.com ([10.145.105.245]) by rnsmtp01.hoku_r.renesas.com (8.9.3/3.7W) with ESMTP id PAA13609 for ; Mon, 4 Aug 2003 15:22:42 +0900 (JST) Received: from KEI (unknown [10.145.105.81]) by mrkaisv.hoku.renesas.com (Postfix) with SMTP id AA12D798568 for ; Mon, 4 Aug 2003 15:22:41 +0900 (JST) Message-ID: <028801c35a51$47db96d0$5169910a@KEI> From: "Kei Sakamoto" To: Subject: [patch/testcase] gdb.asm/m32r.inc: fix compile error Date: Mon, 04 Aug 2003 06:22:00 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0285_01C35A9C.B7A1AD10" X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-08/txt/msg00025.txt.bz2 This is a multi-part message in MIME format. ------=_NextPart_000_0285_01C35A9C.B7A1AD10 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-length: 487 Thank you, everyone. Now m32r is back! :-) The attached fixes compile errors of asm-source.exp for m32r-elf. There are several missing symbols. It also replaces ld24 instruction with seth/add3 instruction. ld24 can handle only 24bit address, so ld24 fails to set sp when _stack is located at a large address. Kei Sakamoto === 2003-08-04 Kei Sakamoto * gdb.asm/m32r.inc : Add several missing symbols. Replace ld24 with seth/add3. ------=_NextPart_000_0285_01C35A9C.B7A1AD10 Content-Type: application/octet-stream; name="diffs" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="diffs" Content-length: 752 diff -Npur src/gdb/testsuite/gdb.asm/m32r.inc src.orig/gdb/testsuite/gdb.as= m/m32r.inc=0A= --- src/gdb/testsuite/gdb.asm/m32r.inc 2003-08-04 13:10:12.000000000 +0900= =0A= +++ src.orig/gdb/testsuite/gdb.asm/m32r.inc 2001-11-22 10:13:10.000000000 += 0900=0A= @@ -30,22 +30,6 @@=0A= =20=0A= comment "crt0 startup"=0A= .macro gdbasm_startup=0A= - seth sp, #shigh(_stack)=0A= - add3 sp, sp, #low(_stack)=0A= + ld24 sp,_stack=0A= ldi fp,#0=0A= .endm=0A= -=0A= - .weak _exit=0A= -gdbasm_declare _exit=0A= - .weak _kill=0A= -gdbasm_declare _kill=0A= - .weak _write=0A= -gdbasm_declare _write=0A= - .weak _sbrk=0A= -gdbasm_declare _sbrk=0A= - .weak _getpid=0A= -gdbasm_declare _getpid=0A= - .weak _stack=0A= -gdbasm_declare _stack=0A= - nop=0A= -=0A= ------=_NextPart_000_0285_01C35A9C.B7A1AD10--