patch-2.1.53 linux/include/asm-mips/elf.h
Next file: linux/include/asm-mips/namei.h
Previous file: linux/include/asm-m68k/namei.h
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Thu Sep  4 12:54:49 1997
-  Orig file: 
v2.1.52/linux/include/asm-mips/elf.h
-  Orig date: 
Thu Jun 26 12:33:39 1997
diff -u --recursive --new-file v2.1.52/linux/include/asm-mips/elf.h linux/include/asm-mips/elf.h
@@ -40,4 +40,11 @@
  */
 #define ELF_PLAT_INIT(_r)	_r->regs[2] = 0;
 
+/* This is the location that an ET_DYN program is loaded if exec'ed.  Typical
+   use of this is to invoke "./ld.so someprog" to test out a new version of
+   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)
+
 #endif /* __ASM_MIPS_ELF_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov