fix for elf2aout
introduced while making the diff with the original prettier :/
This commit is contained in:
parent
00dcbb9dc6
commit
beac6b15c9
@ -223,6 +223,9 @@ usage:
|
|||||||
| OMAGIC);
|
| OMAGIC);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
aex.a_text = text.len;
|
||||||
|
aex.a_data = data.len;
|
||||||
|
aex.a_bss = bss.len;
|
||||||
#ifdef __minix
|
#ifdef __minix
|
||||||
aex.a_hdrlen = sizeof(struct exec);
|
aex.a_hdrlen = sizeof(struct exec);
|
||||||
aex.a_magic[0] = A_MAGIC0;
|
aex.a_magic[0] = A_MAGIC0;
|
||||||
@ -234,9 +237,6 @@ usage:
|
|||||||
/* total adds an implicit stack limit */
|
/* total adds an implicit stack limit */
|
||||||
aex.a_total = aex.a_text + aex.a_data + aex.a_bss + 20 * 1024 * 1024;
|
aex.a_total = aex.a_text + aex.a_data + aex.a_bss + 20 * 1024 * 1024;
|
||||||
#endif
|
#endif
|
||||||
aex.a_text = text.len;
|
|
||||||
aex.a_data = data.len;
|
|
||||||
aex.a_bss = bss.len;
|
|
||||||
aex.a_entry = ex.e_entry;
|
aex.a_entry = ex.e_entry;
|
||||||
aex.a_syms = (sizeof(struct nlist) *
|
aex.a_syms = (sizeof(struct nlist) *
|
||||||
(symtabix != -1
|
(symtabix != -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user