Re: [PATCH v2 2/4] x86/vdso: Remove a stale/misleading comment from the linker script
From: Andy Lutomirski
Date: Tue Dec 04 2018 - 17:49:39 EST
On Tue, Dec 4, 2018 at 1:26 PM Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
>
> Once upon a time, vdso2c aggressively stripped data from the vDSO
> image when generating the final userspace image. This included
> stripping the .altinstructions and .altinstr_replacement sections.
> Eventually, the stripping process reverted to "objdump -S" and no
> longer removed the aforementioned sections, but the comment remained.
>
> Keeping the .alt* sections at the end of the PT_LOAD segment is no
> longer necessary, but there's no harm in doing so and it's a helpful
> reminder that they don't need to be included in the final vDSO image,
> i.e. someone may want to take another stab at zapping/stripping the
> unneeded sections.
Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>