[PATCH v3 0/9] clean up vdso-layout.lds.S

From: Petr Tesarik
Date: Tue Jun 16 2009 - 08:57:04 EST


The handling of various sections in the VDSO linker script
looks pretty haphazard. This patch series cleans it up in
these regards:

- improve the coding style
- remove superfluous sections
- issue a linker error if a section is encountered which
is known not to work
- check that the .got section is empty, except for the
three entries defined by the ABI
- discard sections which are not useful to user-space

Petr Tesarik (9):
x86: Adjust the coding style of vdso-layout.lds.S
x86: Remove .sdata from the vDSO linker script
x86: add .broken section to the vDSO linker script
x86: mark altinstr-related sections in vDSO as broken
x86: mark some standard sections as broken in a vDSO
x86: move 32-bit vDSO padding from .data to .rodata
x86: mark writable vDSO sections as broken
x86: check the size of GOT in vDSO
x86: remove .gnu.warning* sections from the vDSO

arch/x86/vdso/Makefile | 5 +-
arch/x86/vdso/vdso-layout.lds.S | 158 ++++++++++++++++++++++++++++++++-------
arch/x86/vdso/vdso32/int80.S | 2 +-
arch/x86/vdso/vdso32/syscall.S | 2 +-
4 files changed, 136 insertions(+), 31 deletions(-)

--
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/