summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-04-11 12:30:15 +0300
committerWill Deacon <will.deacon@arm.com>2019-04-11 20:15:02 +0300
commit691efbedc60d2a7364a90e38882fc762f06f52c4 (patch)
treee027e5875a1829398b6eab2726cae0d08205380d /arch/arm64/Kconfig
parentd263119387de9975d2acba1dfd3392f7c5979c18 (diff)
downloadlinux-691efbedc60d2a7364a90e38882fc762f06f52c4.tar.xz
arm64: vdso: use $(LD) instead of $(CC) to link VDSO
We use $(LD) to link vmlinux, modules, decompressors, etc. VDSO is the only exceptional case where $(CC) is used as the linker driver, but I do not know why we need to do so. VDSO uses a special linker script, and does not link standard libraries at all. I changed the Makefile to use $(LD) rather than $(CC). I tested this, and VDSO worked for me. Users will be able to use their favorite linker (e.g. lld instead of of bfd) by passing LD= from the command line. My plan is to rewrite all VDSO Makefiles to use $(LD), then delete cc-ldoption. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions