u-boot-brain/arch/sh
Tom Rini b2a3372138 sh: Do not provide strncmp
With modern GCC, we get warnings such as:
cmd/jffs2.c: In function 'mtdparts_init':
arch/sh/include/asm/string.h:110:38:
warning: array subscript is above array bounds [-Warray-bounds]
   : "0" (__cs), "1" (__ct), "r" (__cs+__n)
                                  ~~~~^~~~

This results in a small size reduction as well.

Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
2018-02-23 00:06:05 +01:00
..
cpu sh: Use -m2a-nofpu only 2018-02-21 23:42:47 +01:00
include/asm sh: Do not provide strncmp 2018-02-23 00:06:05 +01:00
lib env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
config.mk sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00
Kconfig env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
Makefile sh: share the correct version of start.S among all cpus 2016-12-02 21:32:53 -05:00