summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/step.c
diff options
context:
space:
mode:
authorAndy Lutomirski2011-08-03 15:31:51 +0200
committerH. Peter Anvin2011-08-05 01:13:38 +0200
commitf670bb760e7d32ec9c690e748a1d5d04921363ab (patch)
tree00e4c05a5b92ed93d513af7c5a355980fc0cd7f4 /arch/x86/kernel/step.c
parentx86-64: Move the "user" vsyscall segment out of the data segment. (diff)
downloadkernel-qcow2-linux-f670bb760e7d32ec9c690e748a1d5d04921363ab.tar.gz
kernel-qcow2-linux-f670bb760e7d32ec9c690e748a1d5d04921363ab.tar.xz
kernel-qcow2-linux-f670bb760e7d32ec9c690e748a1d5d04921363ab.zip
x86-64: Work around gold bug 13023
Gold has trouble assigning numbers to the location counter inside of an output section description. The bug was triggered by 9fd67b4ed0714ab718f1f9bd14c344af336a6df7, which consolidated all of the vsyscall sections into a single section. The workaround is IMO still nicer than the old way of doing it. This produces an apparently valid kernel image and passes my vdso tests on both GNU ld version 2.21.51.0.6-2.fc15 20110118 and GNU gold (version 2.21.51.0.6-2.fc15 20110118) 1.10 as distributed by Fedora 15. Signed-off-by: Andy Lutomirski <luto@mit.edu> Link: http://lkml.kernel.org/r/0b260cb806f1f9a25c00ce8377a5f035d57f557a.1312378163.git.luto@mit.edu Reported-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/step.c')
0 files changed, 0 insertions, 0 deletions