]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a1e3d66c5e7bbb43490917221f6cfb72c3e737d
tree84cb8aa63f068bd4609723b43cdfd41ec74c9665
parentd12ec19b8ad384d662096629d6df0eb4f3cec04d
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