Mercurial > hg > xemacs-beta
diff src/unexalpha.c @ 282:c42ec1d1cded r21-0b39
Import from CVS: tag r21-0b39
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:33:18 +0200 |
parents | 850242ba4a81 |
children | e11d67e05968 |
line wrap: on
line diff
--- a/src/unexalpha.c Mon Aug 13 10:32:23 2007 +0200 +++ b/src/unexalpha.c Mon Aug 13 10:33:18 2007 +0200 @@ -302,7 +302,7 @@ * Construct new symbol table header */ - bcopy (oldptr + nhdr.fhdr.f_symptr, buffer, cbHDRR); + memcpy (oldptr + nhdr.fhdr.f_symptr, buffer, cbHDRR); #define symhdr ((pHDRR)buffer) newsyms = nhdr.aout.tsize + nhdr.aout.dsize; @@ -394,7 +394,7 @@ if (!strcmp(s,"_edata")) { found++; - bcopy (x, &n_edata, cbEXTR); + memcpy (x, &n_edata, cbEXTR); n_edata.asym.value = Brk; SEEK (new, newsyms + cbHDRR + i, "seeking to symbol _edata in %s", new_name); @@ -404,7 +404,7 @@ else if (!strcmp(s,"_end")) { found++; - bcopy (x, &n_end, cbEXTR); + memcpy (x, &n_end, cbEXTR); n_end.asym.value = Brk; SEEK (new, newsyms + cbHDRR + i, "seeking to symbol _end in %s", new_name);