From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27038 invoked by alias); 25 Jun 2002 20:06:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 27024 invoked by uid 71); 25 Jun 2002 20:06:03 -0000 Date: Tue, 25 Jun 2002 13:16:00 -0000 Message-ID: <20020625200603.27023.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Joel Sherrill Subject: Re: bootstrap/3922: sparc-elf embedded target makes UNIX calls Reply-To: Joel Sherrill X-SW-Source: 2002-06/txt/msg00608.txt.bz2 List-Id: The following reply was made to PR bootstrap/3922; it has been noted by GNATS. From: Joel Sherrill To: davem@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: bootstrap/3922: sparc-elf embedded target makes UNIX calls Date: Tue, 25 Jun 2002 14:52:38 -0500 davem@gcc.gnu.org wrote: > > Synopsis: sparc-elf embedded target makes UNIX calls > > State-Changed-From-To: open->analyzed > State-Changed-By: davem > State-Changed-When: Tue Jun 25 12:47:03 2002 > State-Changed-Why: > It gets it from the trampoline stack execute protection > code, ie. the macro sol2.h:TRANSFER_FROM_TRAMPOLINE > > I've always been mystified why the embedded targets > use the Solaris headers. They either have to start > using their own embedded headers or somehow > conditionalize TRANSFER_FROM_TRAMPOLINE with a suitable > ifdef that will match on the embedded Sparc targets. > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3922 FWIW newlib prototypes the missing routines and RTEMS includes stubs for all the UNIX routines that are sufficient to make the linkage happy. If anyone cares, I can provide them and maybe they can go in newlib. But someone more knowledgeable about sparc-elf (not sparc-rtems) would have to speak. -- Joel Sherrill, Ph.D. Director of Research & Development joel@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985