This is the mail archive of the gcc@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: Embedded targets problem



Dmitry wrote:
> 
> probably we're got libgcc2.c versions mismatch.
> I'm using current cvs version.

OK.  That makes sense and explans the differences.

Then I contend that _gcov should be wrapped by inhibit_libc
just like the old code that was there.  This is a regression.
The gcov support should still be wrapped by a conditional
on inhibit_libc.  

--joel

> cheers,
> ~d
> 
> On Thursday 09 January 2003 17:19, Joel Sherrill wrote:
> > Dmitry wrote:
> > > > If this is all you want to do, why not define inhibit_libc in your
> > > > target's
> > > > config/t-XXX file?  I think it does exactly what you want to do.
> > >
> > > This  disables only __eprintf()
> >
> > Sorry to be thick headed but if inhibit_libc doesn't cover something
> > it should, then that's a problem.  So going back to your list:
> >
> > _eprintf  - inhibit_libc covers this OK
> > _gcov           - where is this symbol?  I don't see it.
> > _gcc_bcmp - has no IO, only depends on size_t being defined and
> >             that comes from gcc so what is wrong with this one?
> >             I would think it should compile without a C library being
> > there.
> >
> > But inhibit_libc does appear to cover the basic block profiling
> > stuff around line 1292.
> >
> > > Cheers,
> > > Dmitry.
> 
> --
> /********************************************************************
>      ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
>       `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys
>       (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
>     _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
>    (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
>  ********************************************************************/

-- 
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]