Messages in this thread Patch in this message | | | From | Petr Tesarik <> | Subject | [PATCH v3 6/9] x86: move 32-bit vDSO padding from .data to .rodata | Date | Tue, 16 Jun 2009 14:55:26 +0200 |
| |
The padding is read-only after all, so there is no reason to put it into a writable section.
Signed-off-by: Petr Tesarik <ptesarik@suse.cz> --- arch/x86/vdso/vdso32/int80.S | 2 +- arch/x86/vdso/vdso32/syscall.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/vdso/vdso32/int80.S b/arch/x86/vdso/vdso32/int80.S index b15b7c0..3f8c174 100644 --- a/arch/x86/vdso/vdso32/int80.S +++ b/arch/x86/vdso/vdso32/int80.S @@ -51,6 +51,6 @@ __kernel_vsyscall: * Pad out the segment to match the size of the sysenter.S version. */ VDSO32_vsyscall_eh_frame_size = 0x40 - .section .data,"aw",@progbits + .section .rodata,"a",@progbits .space VDSO32_vsyscall_eh_frame_size-(.LENDFDEDLSI-.LSTARTFRAMEDLSI), 0 .previous diff --git a/arch/x86/vdso/vdso32/syscall.S b/arch/x86/vdso/vdso32/syscall.S index 5415b56..7def1fe 100644 --- a/arch/x86/vdso/vdso32/syscall.S +++ b/arch/x86/vdso/vdso32/syscall.S @@ -72,6 +72,6 @@ __kernel_vsyscall: * Pad out the segment to match the size of the sysenter.S version. */ VDSO32_vsyscall_eh_frame_size = 0x40 - .section .data,"aw",@progbits + .section .rodata,"a",@progbits .space VDSO32_vsyscall_eh_frame_size-(.LENDFDE1-.LSTARTFRAME), 0 .previous -- 1.6.0.2
| |