Mercurial > hg > xemacs-beta
comparison src/unexelf.c @ 251:677f6a0ee643 r20-5b24
Import from CVS: tag r20-5b24
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:19:59 +0200 |
parents | e70b3a057e12 |
children | 084402c475ba |
comparison
equal
deleted
inserted
replaced
250:f385a461c9aa | 251:677f6a0ee643 |
---|---|
678 break; | 678 break; |
679 } | 679 } |
680 if (n < 0) | 680 if (n < 0) |
681 fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); | 681 fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); |
682 | 682 |
683 NEW_PROGRAM_H (n).p_filesz += new_data2_size; | 683 NEW_PROGRAM_H (n).p_filesz = new_bss_addr - NEW_PROGRAM_H (n).p_vaddr; |
684 NEW_PROGRAM_H (n).p_memsz = NEW_PROGRAM_H (n).p_filesz; | 684 NEW_PROGRAM_H (n).p_memsz = NEW_PROGRAM_H (n).p_filesz; |
685 | 685 |
686 #if 0 /* Maybe allow section after data2 - does this ever happen? */ | 686 #if 0 /* Maybe allow section after data2 - does this ever happen? */ |
687 for (n = new_file_h->e_phnum - 1; n >= 0; n--) | 687 for (n = new_file_h->e_phnum - 1; n >= 0; n--) |
688 { | 688 { |