summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/elf.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /include/asm-m68k/elf.h
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'include/asm-m68k/elf.h')
-rw-r--r--include/asm-m68k/elf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-m68k/elf.h b/include/asm-m68k/elf.h
index 70a0c8087..8799724e6 100644
--- a/include/asm-m68k/elf.h
+++ b/include/asm-m68k/elf.h
@@ -33,14 +33,22 @@ typedef struct user_m68kfp_struct elf_fpregset_t;
#define ELF_PLAT_INIT(_r) _r->a1 = 0
#define USE_ELF_CORE_DUMP
+#ifndef CONFIG_SUN3
#define ELF_EXEC_PAGESIZE 4096
+#else
+#define ELF_EXEC_PAGESIZE 8192
+#endif
/* 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 CONFIG_SUN3
#define ELF_ET_DYN_BASE 0xD0000000UL
+#else
+#define ELF_ET_DYN_BASE 0x0D800000UL
+#endif
#define ELF_CORE_COPY_REGS(pr_reg, regs) \
/* Bleech. */ \