diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-10-28 02:59:50 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-12-29 19:20:33 -0500 |
commit | 33d4bcca603c9174c0ee0e312fd3c6da03ff9e15 (patch) | |
tree | 3c4fff27ef129a017bf03b61353a5c81afdebdb2 /arch/m68k | |
parent | 9e95f7cdf5c3741ed00a298c0201d624833b4102 (diff) |
m68k: MMU enabled ColdFire needs 8k ELF alignment
Like the SUN3 hardware MMU the ColdFire MMU uses 8k pages. So we want
our ELF page size alingment to also be 8k. Modify the ELF alignment
setting.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/elf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/elf.h b/arch/m68k/include/asm/elf.h index 01c193d91412..e9b7cda59744 100644 --- a/arch/m68k/include/asm/elf.h +++ b/arch/m68k/include/asm/elf.h | |||
@@ -59,10 +59,10 @@ typedef struct user_m68kfp_struct elf_fpregset_t; | |||
59 | is actually used on ASV. */ | 59 | is actually used on ASV. */ |
60 | #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 | 60 | #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 |
61 | 61 | ||
62 | #ifndef CONFIG_SUN3 | 62 | #if defined(CONFIG_SUN3) || defined(CONFIG_COLDFIRE) |
63 | #define ELF_EXEC_PAGESIZE 4096 | ||
64 | #else | ||
65 | #define ELF_EXEC_PAGESIZE 8192 | 63 | #define ELF_EXEC_PAGESIZE 8192 |
64 | #else | ||
65 | #define ELF_EXEC_PAGESIZE 4096 | ||
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 68 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |