Re: [PATCHv3 2/2] x86/vdso: Add build salt to the vDSO
From: Masahiro Yamada
Date: Wed May 23 2018 - 21:03:36 EST
2018-05-23 9:19 GMT+09:00 Laura Abbott <labbott@xxxxxxxxxx>:
>
> The vDSO is linked separately from the kernel and modules. Ensure it picks
> up the comment section, if available.
>
> Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx>
> ---
> v3: Invoke the generated linker script. The ".." nightmare is pretty
> ugly but I didn't see an easier way to pick up the generated file.
> That was actually part of my motivation for using an #include since
> paths for those are standardized.
Maybe, you found a different approach.
FWIW,
If you use the linker script approach, you could simply use
scripts/build-salt.lds
instead of
$(obj)/../../../../scripts/build-salt.lds
--
Best Regards
Masahiro Yamada