x86, vdso: Actually discard the .discard sections
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 25 Mar 2014 20:41:36 +0000 (13:41 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 25 Mar 2014 20:41:36 +0000 (13:41 -0700)
commit26f5ef2e3c3c18f1dc31461ddf1db00b014edcd4
tree18828b49781d60cc2ddf3fbd66be430582a1ac69
parent645a387ecbdb4aa78c8451a66416340616134537
x86, vdso: Actually discard the .discard sections

The .discard/.discard.* sections are used to generate intermediate
results for the assembler (effectively "test assembly".)  The output
is waste and should not be retained.

Cc: Stefani Seibold <stefani@seibold.net>
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-psizrnant8x3nrhbgvq2vekr@git.kernel.org
arch/x86/vdso/vdso-layout.lds.S