patch-2.1.53 linux/include/asm-sparc64/elf.h
Next file: linux/include/asm-sparc64/fbio.h
Previous file: linux/include/asm-sparc64/ebus.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Thu Sep 4 12:54:49 1997
- Orig file:
v2.1.52/linux/include/asm-sparc64/elf.h
- Orig date:
Thu Jun 26 12:33:40 1997
diff -u --recursive --new-file v2.1.52/linux/include/asm-sparc64/elf.h linux/include/asm-sparc64/elf.h
@@ -1,4 +1,4 @@
-/* $Id: elf.h,v 1.7 1997/06/14 21:28:07 davem Exp $ */
+/* $Id: elf.h,v 1.8 1997/08/21 18:09:07 richard Exp $ */
#ifndef __ASM_SPARC64_ELF_H
#define __ASM_SPARC64_ELF_H
@@ -38,5 +38,14 @@
#define USE_ELF_CORE_DUMP
#define ELF_EXEC_PAGESIZE 8192
+
+/* 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. */
+
+#ifndef ELF_ET_DYN_BASE
+#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
+#endif
#endif /* !(__ASM_SPARC64_ELF_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov