diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:30:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:44 -0500 |
commit | cadd516422d9382313144aa58f9e46ee7a2c0a28 (patch) | |
tree | 84cb8aa63f068bd4609723b43cdfd41ec74c9665 /arch/x86/vdso/vdso32/int80.S | |
parent | 16e48e7e7929d841273d87027079660bca5e37bd (diff) |
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>
Diffstat (limited to 'arch/x86/vdso/vdso32/int80.S')
-rw-r--r-- | arch/x86/vdso/vdso32/int80.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/vdso/vdso32/int80.S b/arch/x86/vdso/vdso32/int80.S index be4b7a9a7cdd..b15b7c01aedb 100644 --- a/arch/x86/vdso/vdso32/int80.S +++ b/arch/x86/vdso/vdso32/int80.S | |||
@@ -50,7 +50,7 @@ __kernel_vsyscall: | |||
50 | /* | 50 | /* |
51 | * Pad out the segment to match the size of the sysenter.S version. | 51 | * Pad out the segment to match the size of the sysenter.S version. |
52 | */ | 52 | */ |
53 | VDSO32_vsyscall_eh_frame_size = 0x44 | 53 | VDSO32_vsyscall_eh_frame_size = 0x40 |
54 | .section .data,"aw",@progbits | 54 | .section .data,"aw",@progbits |
55 | .space VDSO32_vsyscall_eh_frame_size-(.LENDFDEDLSI-.LSTARTFRAMEDLSI), 0 | 55 | .space VDSO32_vsyscall_eh_frame_size-(.LENDFDEDLSI-.LSTARTFRAMEDLSI), 0 |
56 | .previous | 56 | .previous |