change compile mode to save space instead of debugging time
committer: jreiser <jreiser> 963979818 +0000
This commit is contained in:
parent
c29270a018
commit
55b0533c80
@ -75,7 +75,7 @@ xread(struct Extent *x, char *buf, size_t count)
|
|||||||
// util
|
// util
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#if 0 //{ save space
|
#if 1 //{ save space
|
||||||
#define ERR_LAB error: exit(127);
|
#define ERR_LAB error: exit(127);
|
||||||
#define err_exit(a) goto error
|
#define err_exit(a) goto error
|
||||||
#else //}{ save debugging time
|
#else //}{ save debugging time
|
||||||
@ -361,6 +361,7 @@ void *upx_main(
|
|||||||
err_exit(18);
|
err_exit(18);
|
||||||
}
|
}
|
||||||
if (MAX_ELF_HDR!=read(fdi, (void *)ehdr, MAX_ELF_HDR)) {
|
if (MAX_ELF_HDR!=read(fdi, (void *)ehdr, MAX_ELF_HDR)) {
|
||||||
|
ERR_LAB
|
||||||
err_exit(19);
|
err_exit(19);
|
||||||
}
|
}
|
||||||
entry = do_xmap(fdi, ehdr, 0, 0);
|
entry = do_xmap(fdi, ehdr, 0, 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user