patch-2.2.11 linux/include/asm-i386/elf.h
Next file: linux/include/asm-i386/keyboard.h
Previous file: linux/include/asm-i386/bugs.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Aug 9 12:05:02 1999
- Orig file:
v2.2.10/linux/include/asm-i386/elf.h
- Orig date:
Tue Jan 26 15:21:02 1999
diff -u --recursive --new-file v2.2.10/linux/include/asm-i386/elf.h linux/include/asm-i386/elf.h
@@ -51,7 +51,9 @@
the loader. We need to make sure that it is out of the way of the program
that it will "exec", and that there is sufficient room for the brk. */
-#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
+#define ELF_ET_DYN_BASE ((TASK_SIZE & 0x80000000) \
+ ? TASK_SIZE / 3 * 2 \
+ : 2 * TASK_SIZE / 3)
/* Wow, the "main" arch needs arch dependent functions too.. :) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)