Subject: Re: crunchgen changes to use symbol renaming instead of symbol hiding
To: enami tsugutomo <enami@sm.sony.co.jp>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-toolchain
Date: 01/23/2003 15:33:24
enami tsugutomo wrote:

> Simon Burge <simonb@wasabisystems.com> writes:
> 
> > +#ifdef RENAME_SYMS
> > +    fprintf(outmk, "\t${NM} -ng %s.cro | grep -wv U | ", p->name);
> > +    fprintf(outmk, "egrep -vw _crunched_%s_stub | ", p->ident);
> > +    for (lst = p->keepsymbols; lst != NULL; lst = lst->next)
> > +	fprintf(outmk, "egrep -vw %s | ", lst->str);
> 
> I wonder how many number of egreps will run.  Is it known to fit
> normal limit?

In general, there is only one "keepsymbol" per crunched object.
Even though crunchgen supports it, I don't think our src/distrib
or src/rescue framework passes extra symbols to keep public to
crunchgen.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/