[PATCH v2 0/5] x86,vdso: Restore a bunch of section headers

From: Andy Lutomirski
Date: Fri Jun 20 2014 - 15:20:55 EST


This series makes me sad. It brings the 64-bit vdso back above 4kB,
like it was in 3.15. It's also just silly, but it seems to be
needed to keep binutils happy when debugging the vdso.

Patch 5 isn't really necessary, and is likely not 3.16 material.
It's useful for testing the rest of this series, though.

Only patch 5 changed from v1:
- Fix for old binutils.
- Pass --build-id, since normal binutils may not have it on by default.

Andy Lutomirski (5):
x86,vdso: Discard the __bug_table section
x86,vdso2c: Use better macros for ELF bitness
x86,vdso: Improve the fake section headers
x86,vdso: Remove some redundant in-memory section headers
x86,vdso: Create .build-id links for unstripped vdso files

arch/x86/vdso/Makefile | 20 +++-
arch/x86/vdso/vdso-fakesections.c | 41 +++----
arch/x86/vdso/vdso-layout.lds.S | 64 +++++++---
arch/x86/vdso/vdso.lds.S | 2 +
arch/x86/vdso/vdso2c.c | 73 ++++++------
arch/x86/vdso/vdso2c.h | 197 ++++++++++++++++++++++++++-----
arch/x86/vdso/vdso32/vdso-fakesections.c | 1 +
arch/x86/vdso/vdsox32.lds.S | 2 +
8 files changed, 284 insertions(+), 116 deletions(-)
create mode 100644 arch/x86/vdso/vdso32/vdso-fakesections.c

--
1.9.3

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