diff options
author | Paul Burton <paul.burton@mips.com> | 2018-08-06 15:24:25 -0700 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-08-06 15:28:46 -0700 |
commit | 4467f7ad7dbb0af5136fadb32dba37bc0388194f (patch) | |
tree | 32cc032530a0ca9faa01ab4f0332826e5153c8ed /fs/super.c | |
parent | 7dc084d62591bd5d7d09b4801fd4ec4ea3c59dca (diff) | |
download | linux-4467f7ad7dbb0af5136fadb32dba37bc0388194f.tar.bz2 |
MIPS: genvdso: Remove GOT checks
Our genvdso tool performs some rather paranoid checking that the VDSO
library isn't attempting to make use of a GOT by constraining the number
of entries that the GOT is allowed to contain to the minimum 2 entries
that are always generated by binutils.
Unfortunately lld prior to revision 334390 generates a third entry,
which is unused & thus harmless but falls foul of genvdso's checks &
causes the build to fail.
Since we already check that the VDSO contains no relocations it seems
reasonable to presume that it also doesn't contain use of a GOT, which
would involve relocations. Thus rather than attempting to work around
this issue by allowing 3 GOT entries when using lld, simply remove the
GOT checks which seem overly paranoid.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20152/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions