]> git.baikalelectronics.ru Git - kernel.git/commit
x86, vdso: Make the vdso linker script compatible with Gold
authorAndy Lutomirski <luto@amacapital.net>
Thu, 3 Apr 2014 17:53:43 +0000 (10:53 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 3 Apr 2014 19:03:59 +0000 (12:03 -0700)
commit57f6cb3a8bd61c6c02b64cdbe20c0f92ef2e992b
treed7ccbfb882b5729f527a302934073b727e0d4fb5
parent025dbb3a083f94a5c8f017ccd686d7e14e7e8ddf
x86, vdso: Make the vdso linker script compatible with Gold

Gold can't parse the script due to:
https://sourceware.org/bugzilla/show_bug.cgi?id=16804

With a workaround in place for that issue, Gold 2.23 crashes due to:
https://sourceware.org/bugzilla/show_bug.cgi?id=15355

This works around the former bug and avoids the second by removing
the unnecessary vvar and hpet sections and segments.  The vdso and
hpet symbols are still there, and nothing needed the sections or
segments.

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/243fa205098d112ec759c9b1b26785c09f399833.1396547532.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/vdso/vdso-layout.lds.S