comparison src/unexelf.c @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents 376386a54a3c
children e70b3a057e12
comparison
equal deleted inserted replaced
148:f659db2a1f73 149:538048ae2ab8
730 NEW_SECTION_H (nn).sh_addralign = OLD_SECTION_H (n).sh_addralign; 730 NEW_SECTION_H (nn).sh_addralign = OLD_SECTION_H (n).sh_addralign;
731 731
732 /* Now copy over what we have in the memory now. */ 732 /* Now copy over what we have in the memory now. */
733 memcpy (NEW_SECTION_H (nn).sh_offset + new_base, 733 memcpy (NEW_SECTION_H (nn).sh_offset + new_base,
734 (caddr_t) OLD_SECTION_H (n).sh_addr, 734 (caddr_t) OLD_SECTION_H (n).sh_addr,
735 /* #### mrb: should be old_bss_size instead? */
735 new_data2_size); 736 new_data2_size);
736 nn++; 737 nn++;
737 } 738 }
738 739
739 memcpy (&NEW_SECTION_H (nn), &OLD_SECTION_H (n), 740 memcpy (&NEW_SECTION_H (nn), &OLD_SECTION_H (n),