Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932790AbaFTTUw (ORCPT ); Fri, 20 Jun 2014 15:20:52 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:43733 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbaFTTUv (ORCPT ); Fri, 20 Jun 2014 15:20:51 -0400 From: Andy Lutomirski To: Josh Boyer , "H. Peter Anvin" Cc: "Linux-Kernel@Vger. Kernel. Org" , Andy Lutomirski Subject: [PATCH v2 0/5] x86,vdso: Restore a bunch of section headers Date: Fri, 20 Jun 2014 12:20:39 -0700 Message-Id: X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/