Revision 4304763b linux-user/main.c
b/linux-user/main.c | ||
---|---|---|
38 | 38 |
/* Force usage of an ELF interpreter even if it is an ELF shared |
39 | 39 |
object ! */ |
40 | 40 |
const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2"; |
41 |
#endif |
|
41 | 42 |
|
42 | 43 |
/* for recent libc, we add these dummies symbol which are not declared |
43 | 44 |
when generating a linked object (bug in ld ?) */ |
... | ... | |
48 | 49 |
long __fini_array_end[0]; |
49 | 50 |
#endif |
50 | 51 |
|
51 |
#endif |
|
52 |
|
|
53 | 52 |
/* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so |
54 | 53 |
we allocate a bigger stack. Need a better solution, for example |
55 | 54 |
by remapping the process stack directly at the right place */ |
Also available in: Unified diff