libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.
Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795
1 The m68k mcpu processor does not like unaligned access
3 Disable at least mcpu32, m68010 and m68020. These processors certainly
4 do not like unaligned accesses.
6 Signed-off-by: Remy Bohmer <linux@bohmer.net>
8 newlib/libc/machine/m68k/memcpy.S | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 Index: newlib-1.18.0/newlib/libc/machine/m68k/memcpy.S
12 ===================================================================
13 --- newlib-1.18.0.orig/newlib/libc/machine/m68k/memcpy.S
14 +++ newlib-1.18.0/newlib/libc/machine/m68k/memcpy.S
19 -#if defined (__mcoldfire__) || defined (__mcpu32__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
20 +#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
21 # define MISALIGNED_OK 1
23 # define MISALIGNED_OK 0