linux/arch/x86/vdso
Jan Beulich 9f88b906b4 x86-64, vdso: Fix vDSO build breakage due to empty .rela.dyn
Certain ld versions (observed with 2.20.0) put an empty .rela.dyn
section into shared object files, breaking the assumption on the number
of sections to be copied to the final output. Simply discard any empty
SHT_REL and SHT_RELA sections to address this.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/53B5861E02000078000204D1@mail.emea.novell.com
Acked-by: Andy Lutomirski <luto@amacapital.net>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Tested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-07-10 15:59:56 -07:00
..
vdso32 x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
.gitignore x86, vdso: Reimplement vdso.so preparation in build-time C 2014-05-05 13:18:51 -07:00
checkundef.sh x86, vdso: Don't quote $nm in the script for checking vdso references 2010-07-27 23:52:29 -07:00
Makefile x86/vdso: Move DISABLE_BRANCH_PROFILING into the vdso makefile 2014-06-24 13:53:00 -07:00
vclock_gettime.c x86/vdso: Move DISABLE_BRANCH_PROFILING into the vdso makefile 2014-06-24 13:53:00 -07:00
vdso-fakesections.c x86/vdso: Remove some redundant in-memory section headers 2014-06-19 15:45:26 -07:00
vdso-layout.lds.S x86/vdso: Remove some redundant in-memory section headers 2014-06-19 15:45:26 -07:00
vdso-note.S x86_64: move vdso 2007-10-11 11:17:10 +02:00
vdso.lds.S x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vdso2c.c x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vdso2c.h x86-64, vdso: Fix vDSO build breakage due to empty .rela.dyn 2014-07-10 15:59:56 -07:00
vdso32-setup.c x86, mm: Improve _install_special_mapping and fix x86 vdso naming 2014-05-20 11:38:42 -07:00
vdsox32.lds.S x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vgetcpu.c x86: vdso: pvclock gettime support 2012-11-27 23:29:11 -02:00
vma.c x86, mm: Improve _install_special_mapping and fix x86 vdso naming 2014-05-20 11:38:42 -07:00