From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 588 invoked by alias); 6 Aug 2003 01:45:20 -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 579 invoked from network); 6 Aug 2003 01:45:19 -0000 Received: from unknown (HELO mail02.idc.renesas.com) (202.234.163.13) by sources.redhat.com with SMTP; 6 Aug 2003 01:45:19 -0000 Received: from mail02.idc.renesas.com ([127.0.0.1]) by mail02.idc.renesas.com with ESMTP id h761jG1Q023913 for ; Wed, 6 Aug 2003 10:45:16 +0900 (JST) Received: from guardian01.idc.renesas.com ([172.20.8.132]) by mail02.idc.renesas.com with ESMTP id h761jFUO023910; Wed, 6 Aug 2003 10:45:15 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id h761jEKQ013829; Wed, 6 Aug 2003 10:45:14 +0900 (JST) Received: from unknown [172.20.8.68] by guardian01.idc.renesas.com with SMTP id LAA13828 ; Wed, 6 Aug 2003 10:45:13 +0900 Received: from mta01.idc.renesas.com (localhost [127.0.0.1]) by mta01.idc.renesas.com with ESMTP id h761jD4G025149; Wed, 6 Aug 2003 10:45:13 +0900 (JST) Received: from rnsmtp01.hoku_r.renesas.com ([10.145.246.51]) by mta01.idc.renesas.com with ESMTP id h761jCZV025146; Wed, 6 Aug 2003 10:45:12 +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 KAA19174; Wed, 6 Aug 2003 10:45:12 +0900 (JST) Received: from KEI (unknown [10.145.105.81]) by mrkaisv.hoku.renesas.com (Postfix) with SMTP id A35FF7984BB; Wed, 6 Aug 2003 10:45:11 +0900 (JST) Message-ID: <009b01c35bbc$dff15420$5169910a@KEI> From: "Kei Sakamoto" To: "Daniel Jacobowitz" Cc: References: <028801c35a51$47db96d0$5169910a@KEI> <20030805180235.GA30002@nevyn.them.org> Subject: Re: [patch/testcase] gdb.asm/m32r.inc: fix compile error Date: Wed, 06 Aug 2003 01:45:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-08/txt/msg00075.txt.bz2 > Two minor things: > - You accidentally sent a reversed diff. > - ChangeLog formatting. It should be: > > 2003-08-04 Kei Sakamoto > > * gdb.asm/m32r.inc: Add several missing symbols. Replace ld24 > with seth/add3. Sorry about that. > One less minor thing: no other port needs to declare symbols. It looks > like part of libc is being dragged in somehow on m32r; could you > explain why the symbols are necessary? asm-source is compiled with -nostartfiles. So gcc does not use libgloss.a. But on m32r, somehow several system calls, _write, etc., are included in it. So it is necessary to declare these symbols. On other architectures, these system calls are included in libc.a, which is not removed by -nostartfiles. Unfortunately, I don't know why m32r's libgloss is different from others. Should I modify libgloss and newlib rather than declare symbols in m32r.inc? Kei Sakamoto