kernel-hacking-2024-linux-s.../arch/um
Al Viro 2c51a4bc02 um: fix strrchr() problems
richard@nod.at:
Fixes:
  /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libc.a(strrchr.o): In function `rindex':
  (.text+0x0): multiple definition of `strrchr'

If both STATIC_LINK and UML_NET_VDE are set to "y" libc's strrchr may
clash with the kernel implementation.

This workaround comes originally from Jeff Dike:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494995#35

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-14 18:09:37 -07:00
..
drivers um: fix free_winch() mess 2011-09-14 18:09:37 -07:00
include um: clean arch_ptrace() up a bit 2011-09-14 18:09:37 -07:00
kernel um: clean arch_ptrace() up a bit 2011-09-14 18:09:37 -07:00
os-Linux um: Save FPU registers between task switches 2011-09-14 18:09:37 -07:00
scripts
sys-i386 um: clean arch_ptrace() up a bit 2011-09-14 18:09:37 -07:00
sys-ia64
sys-ppc
sys-x86_64 um: clean arch_ptrace() up a bit 2011-09-14 18:09:37 -07:00
.gitignore
defconfig
Kconfig.char
Kconfig.common
Kconfig.debug lib: consolidate DEBUG_STACK_USAGE option 2011-05-25 08:39:54 -07:00
Kconfig.net
Kconfig.rest
Kconfig.um
Kconfig.x86 um: disable CMPXCHG_DOUBLE as it breaks UML build 2011-09-14 18:09:37 -07:00
Makefile um: fix strrchr() problems 2011-09-14 18:09:37 -07:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-x86_64