x86 vDSO: canonicalize sysenter .eh_frame
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:44 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:44 +0000 (13:30 +0100)
commitcadd516422d9382313144aa58f9e46ee7a2c0a28
tree84cb8aa63f068bd4609723b43cdfd41ec74c9665
parent16e48e7e7929d841273d87027079660bca5e37bd
x86 vDSO: canonicalize sysenter .eh_frame

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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/vdso/vdso32/int80.S
arch/x86/vdso/vdso32/syscall.S
arch/x86/vdso/vdso32/sysenter.S