delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/06/21/09:14:32

Message-ID: <3EF449C0.8C8A0C61@yahoo.com>
Date: Sat, 21 Jun 2003 08:04:16 -0400
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: LIBM patch for GCC 3.3 - math changes
References: <200306201334 DOT h5KDYMWU012441 AT speedy DOT ludd DOT luth DOT se> <000e01c337aa$7b238800$0100a8c0 AT acp42g> <3EF3E113 DOT 1C8C9C2B AT yahoo DOT com> <9743-Sat21Jun2003123351+0300-eliz AT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> 
> > Date: Sat, 21 Jun 2003 00:37:39 -0400
> > From: CBFalconer <cbfalconer AT yahoo DOT com>
> >
> > I don't know the details of this, so I may be talking nonsense,
> > but it reminds me of what I found in looking at the present
> > memalign.c.  That uses a herd of macros which do not appear in the
> > source, nor in malloc.h.
> 
> If you mean BEFORE, ENDSZ, DATA, etc., then they are defined in
> libc/malloc.h.  Since stdlib.h and libc/malloc.h are the only headers
> mentioned in memalign.c, I don't think looking up those macros is such
> a formidable taks.  But if searching two headers is too much, you
> could always use Grep:
> 
>     fgrep -e BEFORE -e ENDSZ -e DATA %DJDIR%/include/.../*.h
> 
> or, better yet, install the GNU ID-utils package, run `mkid' on both
> the `src' and `include' directories, and then type commands like
> 
>     lid ENDSZ
> 
> to get much faster (and more accurate) results than with Grep.

No - my mistake was not searching far enough for malloc.h; I got
the wrong one.  I have no problem with that organization.  I
envisioned the macros hidden in something else down the food
chain.  I didn't expand that tar file at all, just extracted
specific pieces.

BTW I have heard nothing about the use of hooks/malldbg with
memalign etc. I referred to in another thread.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019