aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/elf.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/include/asm/elf.h
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/elf.h')
-rw-r--r--arch/mips/include/asm/elf.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/mips/include/asm/elf.h b/arch/mips/include/asm/elf.h
index 455c0ac7d4ea..cf3ae2480b1d 100644
--- a/arch/mips/include/asm/elf.h
+++ b/arch/mips/include/asm/elf.h
@@ -11,13 +11,13 @@
11 11
12/* ELF header e_flags defines. */ 12/* ELF header e_flags defines. */
13/* MIPS architecture level. */ 13/* MIPS architecture level. */
14#define EF_MIPS_ARCH_1 0x00000000 /* -mips1 code. */ 14#define EF_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
15#define EF_MIPS_ARCH_2 0x10000000 /* -mips2 code. */ 15#define EF_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
16#define EF_MIPS_ARCH_3 0x20000000 /* -mips3 code. */ 16#define EF_MIPS_ARCH_3 0x20000000 /* -mips3 code. */
17#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */ 17#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
18#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */ 18#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
19#define EF_MIPS_ARCH_32 0x50000000 /* MIPS32 code. */ 19#define EF_MIPS_ARCH_32 0x50000000 /* MIPS32 code. */
20#define EF_MIPS_ARCH_64 0x60000000 /* MIPS64 code. */ 20#define EF_MIPS_ARCH_64 0x60000000 /* MIPS64 code. */
21#define EF_MIPS_ARCH_32R2 0x70000000 /* MIPS32 R2 code. */ 21#define EF_MIPS_ARCH_32R2 0x70000000 /* MIPS32 R2 code. */
22#define EF_MIPS_ARCH_64R2 0x80000000 /* MIPS64 R2 code. */ 22#define EF_MIPS_ARCH_64R2 0x80000000 /* MIPS64 R2 code. */
23 23
@@ -74,7 +74,7 @@
74#define R_MIPS_CALL16 11 74#define R_MIPS_CALL16 11
75#define R_MIPS_GPREL32 12 75#define R_MIPS_GPREL32 12
76/* The remaining relocs are defined on Irix, although they are not 76/* The remaining relocs are defined on Irix, although they are not
77 in the MIPS ELF ABI. */ 77 in the MIPS ELF ABI. */
78#define R_MIPS_UNUSED1 13 78#define R_MIPS_UNUSED1 13
79#define R_MIPS_UNUSED2 14 79#define R_MIPS_UNUSED2 14
80#define R_MIPS_UNUSED3 15 80#define R_MIPS_UNUSED3 15
@@ -214,7 +214,7 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
214 \ 214 \
215 if (__h->e_machine != EM_MIPS) \ 215 if (__h->e_machine != EM_MIPS) \
216 __res = 0; \ 216 __res = 0; \
217 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \ 217 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
218 __res = 0; \ 218 __res = 0; \
219 \ 219 \
220 __res; \ 220 __res; \
@@ -292,7 +292,7 @@ do { \
292 __SET_PERSONALITY32_O32(); \ 292 __SET_PERSONALITY32_O32(); \
293} while (0) 293} while (0)
294#else 294#else
295#define __SET_PERSONALITY32(ex) do { } while (0) 295#define __SET_PERSONALITY32(ex) do { } while (0)
296#endif 296#endif
297 297
298#define SET_PERSONALITY(ex) \ 298#define SET_PERSONALITY(ex) \
@@ -337,11 +337,11 @@ extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *);
337 instruction set this cpu supports. This could be done in userspace, 337 instruction set this cpu supports. This could be done in userspace,
338 but it's not easy, and we've already done it here. */ 338 but it's not easy, and we've already done it here. */
339 339
340#define ELF_HWCAP (0) 340#define ELF_HWCAP (0)
341 341
342/* 342/*
343 * This yields a string that ld.so will use to load implementation 343 * This yields a string that ld.so will use to load implementation
344 * specific libraries for optimization. This is more specific in 344 * specific libraries for optimization. This is more specific in
345 * intent than poking at uname or /proc/cpuinfo. 345 * intent than poking at uname or /proc/cpuinfo.
346 */ 346 */
347 347
@@ -365,11 +365,11 @@ extern const char *__elf_platform;
365 365
366/* This is the location that an ET_DYN program is loaded if exec'ed. Typical 366/* This is the location that an ET_DYN program is loaded if exec'ed. Typical
367 use of this is to invoke "./ld.so someprog" to test out a new version of 367 use of this is to invoke "./ld.so someprog" to test out a new version of
368 the loader. We need to make sure that it is out of the way of the program 368 the loader. We need to make sure that it is out of the way of the program
369 that it will "exec", and that there is sufficient room for the brk. */ 369 that it will "exec", and that there is sufficient room for the brk. */
370 370
371#ifndef ELF_ET_DYN_BASE 371#ifndef ELF_ET_DYN_BASE
372#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2) 372#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
373#endif 373#endif
374 374
375#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 375#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1