From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10377 invoked by alias); 14 Apr 2008 16:04:45 -0000 Received: (qmail 10364 invoked by uid 22791); 14 Apr 2008 16:04:43 -0000 X-Spam-Check-By: sourceware.org Received: from smtp108.biz.mail.mud.yahoo.com (HELO smtp108.biz.mail.mud.yahoo.com) (68.142.201.177) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 14 Apr 2008 16:04:23 +0000 Received: (qmail 78117 invoked from network); 14 Apr 2008 16:04:18 -0000 Received: from unknown (HELO localhost.localdomain) (wilson@tuliptree.org@69.110.32.105 with plain) by smtp108.biz.mail.mud.yahoo.com with SMTP; 14 Apr 2008 16:04:18 -0000 X-YMail-OSG: rOT1LCoVM1m_JRKsgHwX2S52iCaZBipWBvgifv8EKKcNLx9dtZjlCtcdKsX7YJ8Ij8nrH44pVw-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4803807F.6040304@tuliptree.org> Date: Mon, 14 Apr 2008 18:06:00 -0000 From: Jim Wilson User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: p0ulp3 CC: gcc-help@gcc.gnu.org, brian@dessent.net Subject: Re: [v850] cross compiler - file v850.md References: <231785cb0804100833t1b71f5cds9fb13a0617f89b2d@mail.gmail.com> <47FE8D1C.262ADA8A@dessent.net> <231785cb0804110529r174c581fw6f2dc48c8be53624@mail.gmail.com> <47FFCAF6.7060605@tuliptree.org> <231785cb0804140125v23184f67p9bda2be1701b6dbc@mail.gmail.com> In-Reply-To: <231785cb0804140125v23184f67p9bda2be1701b6dbc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00188.txt.bz2 p0ulp3 wrote: > So I have replaced each call of __DI() and __EI() by asm("di") and > asm("ei") and the program is linked now but if anyone has an idea to > solve this problem, let me know. Why are you expecting calls to __DI() to generate a "di" instruction? Maybe that is a GHS specific feature that GCC doesn't implement? If so, then add a macro that is defined only when __GNUC__ is defined that expands __DI() to asm("di") for gcc. Jim