binfmt_flat: don't offset the data start
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Jun 2019 07:09:02 +0000 (09:09 +0200)
committerGreg Ungerer <gerg@kernel.org>
Sun, 23 Jun 2019 23:16:47 +0000 (09:16 +1000)
commita2357223c50a784ae144c8398683551252bcd61d
treed5ea178771a9f356b6660235a3c2682a0d7eba42
parenta445d988b4790e06bb94e927e740017675d7e700
binfmt_flat: don't offset the data start

Ever since the initial commit of the binfmt_flat shared library
support back in the bitkeeper days we've offset the actual in-memory
.data start by one field per possible shared library, or 1 in case
shared library support isn't enabled.  I can't find anything in the
loader that actually makes use of it, nor was it present before
shared library support it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
fs/binfmt_flat.c