Messages in this thread | | | From | Masahiro Yamada <> | Date | Thu, 24 May 2018 10:55:33 +0900 | Subject | Re: [PATCHv3 2/2] x86/vdso: Add build salt to the vDSO |
| |
2018-05-23 9:19 GMT+09:00 Laura Abbott <labbott@redhat.com>: > > 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@redhat.com> > --- > 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
| |