x86/vdso: Discard the __bug_table section
authorAndy Lutomirski <luto@amacapital.net>
Wed, 18 Jun 2014 22:59:46 +0000 (15:59 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 19 Jun 2014 22:44:51 +0000 (15:44 -0700)
It serves no purpose in user code.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/2a5bebff42defd8a5e81d96f7dc00f21143c80e8.1403129369.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/vdso/vdso-layout.lds.S

index 2ec72f651ebffa887ae037aebf556869fa5c6968..c84166cbcd285b4da69cea6a0c3bb6027a70409e 100644 (file)
@@ -75,6 +75,7 @@ SECTIONS
        /DISCARD/ : {
                *(.discard)
                *(.discard.*)
+               *(__bug_table)
        }
 }