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

From: Harvey Harrison
Date: Thu Dec 06 2007 - 20:28:04 EST


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@xxxxxxxxxx>

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

Harvey

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/