This is the mail archive of the gcc-patches@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]

Re: bcopy -> memcpy/memmove transition proposal [patch]



  In message <199809210229.TAA09746@cygnus.com>you write:
  > OK, let's try using libiberty.  Here is the first, trivial patch,
  > which links in *host* libiberty.  This does not handle programs
  > that run in the *build* environment, but it does allow us to
  > start changing the old BSD calls to POSIX calls in most of the
  > code.
  > 
  > Comments?  Some subtlety I'm missing?
  > 
  > 	--Per Bothner
  > Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner
  > 
  > 	* Makefile.in (LIBS):  Link in libiberty.a.
  > 	* c-common.c, gcc.c, toplev.c:  Repalce (some) bcopy calls by memcpy.
I've installed this patch.  We'll see what happens.

I would tend to think any subtle issues have already been addressed
when we started using various files (particuliarly obstack) from
libiberty.

Once we're satisfied that this is working correctly, we should start
removing some of special code to get obstack, getopt, cplus-dem, etc
from the libiberty sources.

jeff


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