diff options
author | Paul Burton | 2018-08-07 00:24:25 +0200 |
---|---|---|
committer | Paul Burton | 2018-08-07 00:28:46 +0200 |
commit | 4467f7ad7dbb0af5136fadb32dba37bc0388194f (patch) | |
tree | 32cc032530a0ca9faa01ab4f0332826e5153c8ed /arch/mips/pic32 | |
parent | MIPS: Remove obsolete MIPS checks for DST node "chosen@0" (diff) | |
download | kernel-qcow2-linux-4467f7ad7dbb0af5136fadb32dba37bc0388194f.tar.gz kernel-qcow2-linux-4467f7ad7dbb0af5136fadb32dba37bc0388194f.tar.xz kernel-qcow2-linux-4467f7ad7dbb0af5136fadb32dba37bc0388194f.zip |
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 'arch/mips/pic32')
0 files changed, 0 insertions, 0 deletions