From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 843 invoked by alias); 13 Oct 2003 15:21:37 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 836 invoked from network); 13 Oct 2003 15:21:35 -0000 Received: from unknown (HELO kirk.baltic.net) (193.189.247.10) by sources.redhat.com with SMTP; 13 Oct 2003 15:21:35 -0000 Received: (qmail 29857 invoked from network); 13 Oct 2003 15:17:38 -0000 Received: from waldorf.gecko.de (HELO kermit.int.gecko.de) (193.189.247.200) by kirk.baltic.net with SMTP; 13 Oct 2003 15:17:38 -0000 Received: from lorien.int.gecko.de (lorien [192.168.120.159]) by kermit.int.gecko.de (8.10.1/8.10.1) with ESMTP id h9DFNv700924; Mon, 13 Oct 2003 17:23:57 +0200 (MET DST) Received: from lorien.int.gecko.de (localhost [127.0.0.1]) by lorien.int.gecko.de (8.12.9/8.12.9) with ESMTP id h9DFMN0X073114; Mon, 13 Oct 2003 17:22:24 +0200 (MEST) (envelope-from munk@lorien.int.gecko.de) Received: (from munk@localhost) by lorien.int.gecko.de (8.12.9/8.12.9/Submit) id h9DFMNSF073113; Mon, 13 Oct 2003 17:22:23 +0200 (MEST) Date: Mon, 13 Oct 2003 17:24:00 -0000 From: Gunther Nikl To: Bernardo Innocenti Cc: GCC Mailing List Subject: Re: Testing m68k changes on AmigaOS and Linux/m68k Message-ID: <20031013152223.GA45308@lorien.int.gecko.de> References: <3F88BBCF.7090106@develer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F88BBCF.7090106@develer.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-10/txt/msg00450.txt.bz2 Hello Bernardo, > I've recently applied all my remaining m68k patches. Your changes caused some breakage for my patches ;-) > Since I can only test on ColdFire targets, would you mind doing a > bootstrap on Linux/m68k and/or AmigaOS? I maintain my patches on a cross-setup by building a cross-compiler. That cross-compiler is then used to build a "native" compiler for my target. I don't boostrap on the target because thats much to slow for my taste ;-( Building the cross-compiler revealed two errors in m68k.c. The patch is attached. Using the cross-compiler to built the native compiler revealed two bugs (?) in gcc/Makefile[.in]. I changed the Makefile and was able to build the native compiler but I don't know whether my changes to the Makefile are correct. The cross-compiler to AmigaOS seems to work correctly (modulo the open issues regarding small-data). I goint to test the coss-built native compiler tonight. Gunther --cut-- 2003-10-13 Gunther Nikl * config/m68k/m68k.c (m68k_output_function_prologue): Fix usage of current_frame at two places (one type and one missing) --- m68k.c.orig Mon Oct 13 11:35:20 2003 +++ m68k.c Mon Oct 13 14:48:23 2003 @@ -623,7 +623,7 @@ #ifdef MOTOROLA asm_fprintf (stream, "\tfmovm %I0x%x,-(%Rsp)\n", current_frame.fpu_mask); #else - asm_fprintf (stream, "\tfmovem %I0x%x,%Rsp@-\n", current_frmae.fpu_mask); + asm_fprintf (stream, "\tfmovem %I0x%x,%Rsp@-\n", current_frame.fpu_mask); #endif if (dwarf2out_do_frame ()) { @@ -934,7 +934,7 @@ #else asm_fprintf (stream, "\tmoveml %s@(-%wd),%I0x%x\n", reg_names[FRAME_POINTER_REGNUM], - offset + fsize, + current_frame.offset + fsize, current_frame.reg_mask); #endif } --cut--