This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap/3922: sparc-elf embedded target makes UNIX calls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]