Re: [PATCH x86/mm] x86 vDSO: canonicalize sysenter .eh_frame

Harvey Harrison
2007-12-07T01:28:00Z

On Thu, 2007-12-06 at 17:14 -0800, Roland McGrath wrote:
> Some assembler versions automagically optimize .eh_frame contents,
> changing their size. The CFI in sysenter.S was not using optimal
> formatting, so it would be changed by newer/smarter assemblers.
> This ran afoul of the wired constant for padding out the other vDSO
> images to match its size. This changes the original hand-coded
> source to use the optimal format encoding for its operations. That
> leaves nothing more for a fancy assembler to do, so the sizes will
> match the wired-in expected size regardless of the assembler version.
>
> Signed-off-by: Roland McGrath <roland@redhat.com>

Confirm this fixes the compile errors I was seeing with x86.git

Harvey