]> git.karo-electronics.de Git - karo-tx-linux.git/commit
uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc
authorRoland McGrath <roland@redhat.com>
Tue, 26 Oct 2010 21:22:19 +0000 (14:22 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:04 +0000 (11:21 -0400)
commitd034c6d3572a43f342e80d3f3af23a042e6e0d91
tree8d1cfc6eab76f340ce512ce8f8710755efb11342
parent9d2c41fe469d005e19a1aa87f847614ae8663dcd
uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc

commit aa5fb4dbfd121296ca97c68cf90043a7ea97579d upstream.

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/um/kernel/dyn.lds.S
arch/um/kernel/uml.lds.S