[PATCH resend 0/2] Fix x86-64 linker script when using gold

From: Andy Lutomirski
Date: Sat Jul 23 2011 - 15:19:29 EST


[resent because I misspelled linux-kernel the first time.]

We were hitting two bugs:
http://sourceware.org/bugzilla/show_bug.cgi?id=13019
http://sourceware.org/bugzilla/show_bug.cgi?id=13023

The former was really a bug on the linker script that neither the
old bfd linker nor the kernel loader cared about. It caused gold to
bail, though.

The second is, I think, a legitimate bug in gold. But rather than
regressing on current gold versions, we can work around it.

This is what I get for messing with the linker script :-/

Andy Lutomirski (2):
x86-64: Move the "user" vsyscall segment out of the data segment.
x86-64: Work around gold bug 13023

arch/x86/kernel/vmlinux.lds.S | 46 ++++++++++++++++++++++------------------
1 files changed, 25 insertions(+), 21 deletions(-)

--
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/