uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc
commitaa5fb4dbfd121296ca97c68cf90043a7ea97579d
authorRoland McGrath <roland@redhat.com>
Tue, 26 Oct 2010 21:22:19 +0000 (26 14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:12 +0000 (26 16:52 -0700)
treea490943ff3c3a174595f645c574ce60b85e781e5
parentd911202e3f722c29065942400ea108b7096bdac7
uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc

With glibc 2.11 or later that was built with --enable-multi-arch, the UML
link fails with undefined references to __rel_iplt_start and similar
symbols.  In recent binutils, the default linker script defines these
symbols (see ld --verbose).  Fix the UML linker scripts to match the new
defaults for these sections.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/dyn.lds.S
arch/um/kernel/uml.lds.S