From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Received: (qmail 3424 invoked from network); 9 Jan 2003 14:30:07 -0000 Received: from unknown (HELO mail.oarcorp.com) (216.107.91.226) by 209.249.29.67 with SMTP; 9 Jan 2003 14:30:07 -0000 Received: (qmail 1436 invoked from network); 9 Jan 2003 14:29:53 -0000 Received: from unknown (HELO OARcorp.com) (136.205.65.100) by 0 with SMTP; 9 Jan 2003 14:29:53 -0000 Message-ID: <3E1D8762.9C763108@OARcorp.com> Date: Thu, 09 Jan 2003 16:40:00 -0000 From: Joel Sherrill Organization: OAR Corporation X-Accept-Language: en MIME-Version: 1.0 To: diwil@eis.ru, gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: Embedded targets problem References: <200301081733.41836.diwil@eis.ru> <200301091654.16335.diwil@eis.ru> <3E1D8507.FB71ED8D@OARcorp.com> <200301091719.40052.diwil@eis.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00499.txt.bz2 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