Re: [UML] Question about arch/x86/um/vdso/vdso-syms.lds
From: Richard Weinberger
Date: Wed May 09 2018 - 02:36:25 EST
Masahiro,
Am Mittwoch, 9. Mai 2018, 05:36:18 CEST schrieb Masahiro Yamada:
> Hi Richard,
>
>
> Please let me ask a question about vdso-syms.lds
> under arch/x86/um/vdso/.
>
> This file exists since:
>
> commit f1c2bb8b9964ed31de988910f8b1cfb586d30091
> Author: Richard Weinberger <richard@xxxxxx>
> Date: Mon Jul 25 17:12:54 2011 -0700
>
> um: implement a x86_64 vDSO
>
>
> So, I think you are the right person
> to reach out to.
>
>
> Originally, vdso-syms.lds was linked to vmlinux,
> but it is not since:
>
> commit 827880ec260ba048f95fe646b96a205c394fa0f0
> Author: Nicholas Piggin <npiggin@xxxxxxxxx>
> Date: Fri Jun 9 15:24:16 2017 +1000
>
> x86/um: thin archives build fix
>
>
>
> Something may be missing from my thought,
> but I wonder what vdso-syms.lds is used for.
Hmm, I think we can kill it. In 2011 I used the x86 vdso
code as "template" this is how the file made it into UML.
AFAICT it was forgotten after all the vdso related refactoring
in um and x86.
Thanks,
//richard