Mercurial > hg > xemacs-beta
diff src/unexec.c @ 5936:574f0cded429 cygwin
try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 13 Dec 2015 13:22:58 +0000 |
parents | 308d34e9f07d |
children |
line wrap: on
line diff
--- a/src/unexec.c Sat Dec 12 21:49:31 2015 +0000 +++ b/src/unexec.c Sun Dec 13 13:22:58 2015 +0000 @@ -455,7 +455,7 @@ { PERROR (a_name); } - if (scntemp.s_scnptr > 0L) + if (scntemp.s_scnptr > E0) { if (block_copy_start < scntemp.s_scnptr + scntemp.s_size) block_copy_start = scntemp.s_scnptr + scntemp.s_size; @@ -519,17 +519,17 @@ f_bhdr.s_paddr = f_ohdr.data_start + f_ohdr.dsize; f_bhdr.s_vaddr = f_ohdr.data_start + f_ohdr.dsize; f_bhdr.s_size = f_ohdr.bsize; - f_bhdr.s_scnptr = 0L; + f_bhdr.s_scnptr = E0; #ifndef USG_SHARED_LIBRARIES bias = f_dhdr.s_scnptr + f_dhdr.s_size - block_copy_start; #endif - if (f_hdr.f_symptr > 0L) + if (f_hdr.f_symptr > E0) { f_hdr.f_symptr += bias; } - if (f_thdr.s_lnnoptr > 0L) + if (f_thdr.s_lnnoptr > E0) { f_thdr.s_lnnoptr += bias; } @@ -876,7 +876,7 @@ return 0; #ifdef COFF - if (SYMS_START == 0L) + if (SYMS_START == E0) return 0; #endif /* COFF */