From 2e94de8acbe524d919f1ea8807913d7b005e1578 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 4 Jun 2010 14:14:53 -0700 Subject: [PATCH] fs/binfmt_flat.c: split the stack & data alignments The stack and data have different alignment requirements, so don't force them to wear the same shoe. Increase the data alignment to match that which the elf2flt linker script has always been using: 0x20 bytes. Not only does this bring the kernel loader in line with the toolchain, but it also fixes a swath of gcc tests which try to force larger alignment values but randomly fail when the FLAT loader fails to deliver. Signed-off-by: Mike Frysinger Cc: Herbert Xu Cc: David Woodhouse Cc: Pekka Enberg Acked-by: David McCullough Acked-by: Greg Ungerer Cc: Paul Mundt Tested-by: Michal Simek Cc: Hirokazu Takata Cc: Yoshinori Sato Cc: Geert Uytterhoeven Cc: Jie Zhang Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed