[PATCH] ARM: vdso: use $(LD) instead of $(CC) to link VDSO

2019-04-18 Thread Masahiro Yamada
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

Re: [PATCH] ARM: vdso: use $(LD) instead of $(CC) to link VDSO

2019-04-12 Thread Nick Desaulniers
On Thu, Apr 11, 2019 at 2:30 AM Masahiro Yamada wrote: > My plan is to rewrite all VDSO Makefiles to use $(LD), then delete > cc-ldoption. I too look forward to the removal of cc-ldoption. Thanks for the patch. Based on some of the discussion in a similar patch for aarch64: https://lkml.org/lkml

[PATCH] ARM: vdso: use $(LD) instead of $(CC) to link VDSO

2019-04-11 Thread Masahiro Yamada
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