mirror of https://gitee.com/openkylin/linux.git
e00c73ee05
GCC can replace a strncat() call with constant second argument into a strlen + store, which results in a link error: ERROR: "strlen" [net/ipv4/ip_tunnel.ko] undefined! The inline function is a simple for loop in C. Other architectures either use an asm optimized variant, or use the generic function from lib/string.c. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> |
||
---|---|---|
.. | ||
Makefile | ||
ashldi3.c | ||
ashrdi3.c | ||
checksum.c | ||
divsi3.S | ||
lshrdi3.c | ||
memcpy.c | ||
memmove.c | ||
memset.c | ||
modsi3.S | ||
muldi3.c | ||
mulsi3.S | ||
string.c | ||
uaccess.c | ||
udivsi3.S | ||
umodsi3.S |