Binfmt_flat: Add minimum support for the Blackfin relocations
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 3 Oct 2007 15:41:43 +0000 (23:41 +0800)
committerBryan Wu <bryan.wu@analog.com>
Wed, 3 Oct 2007 15:41:43 +0000 (23:41 +0800)
commitf9720205d1f847cb59e197e851b5276425363f6b
treea90405713cd06f8ead8fff25338a2df5427ac95a
parentf778089cb2445dfc6dfd30a7a567925fd8589f1e
Binfmt_flat: Add minimum support for the Blackfin relocations

Add minimum support for the Blackfin relocations, since we don't have
enough space in each reloc.  The idea is to store a value with one
relocation so that subsequent ones can access it.

Actually, this patch is required for Blackfin.  Currently if BINFMT_FLAT is
enabled, git-tree kernel will fail to compile.

Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Cc: David McCullough <davidm@snapgear.com>
Cc: Greg Ungerer <gerg@snapgear.com>
Cc: Miles Bader <miles.bader@necel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/binfmt_flat.c
include/asm-h8300/flat.h
include/asm-m32r/flat.h
include/asm-m68knommu/flat.h
include/asm-sh/flat.h
include/asm-v850/flat.h