aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/elf.h')
-rw-r--r--include/asm-s390/elf.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/asm-s390/elf.h b/include/asm-s390/elf.h
index 8181ca5b98f..b760cd4de38 100644
--- a/include/asm-s390/elf.h
+++ b/include/asm-s390/elf.h
@@ -138,14 +138,7 @@ typedef s390_regs elf_gregset_t;
138 use of this is to invoke "./ld.so someprog" to test out a new version of 138 use of this is to invoke "./ld.so someprog" to test out a new version of
139 the loader. We need to make sure that it is out of the way of the program 139 the loader. We need to make sure that it is out of the way of the program
140 that it will "exec", and that there is sufficient room for the brk. */ 140 that it will "exec", and that there is sufficient room for the brk. */
141 141#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
142#ifndef __s390x__
143#define ELF_ET_DYN_BASE ((TASK_SIZE & 0x80000000) \
144 ? TASK_SIZE / 3 * 2 \
145 : 2 * TASK_SIZE / 3)
146#else /* __s390x__ */
147#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
148#endif /* __s390x__ */
149 142
150/* Wow, the "main" arch needs arch dependent functions too.. :) */ 143/* Wow, the "main" arch needs arch dependent functions too.. :) */
151 144