x86,vdso: Restore a bunch of section headers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesIn review
- v15 patches 12 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86,vdso: Discard the __bug_table sectionarch/ | +1 | 0 replies | |
| 2/5 | x86,vdso2c: Use better macros for ELF bitnessarch/ arch/ | +25 | 0 replies | |
| 3/5 | x86,vdso: Improve the fake section headersarch/ arch/ arch/ +5 more | +237 | 0 replies | |
| 4/5 | x86,vdso: Remove some redundant in-memory section headersarch/ arch/ arch/ | +26 | 0 replies | |
| 5/5 | x86,vdso: Create .build-id links for unstripped vdso filesarch/ | +13 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] x86,vdso: Restore a bunch of section headers
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
Signature · 1 line
1.9.3