1 # in various places defined(__arm__) is used to protect/select code which
2 # is ARM specific, that code must also be selected for __thumb__ because
3 # __thumb__ is an ARM but __arm__ is not set...
5 --- ./ldso/include/dl-string.h.orig 2005-09-07 14:09:19.375564254 -0700
6 +++ ./ldso/include/dl-string.h 2005-09-07 14:09:52.045620051 -0700
9 /* On some arches constant strings are referenced through the GOT.
10 * This requires that load_addr must already be defined... */
11 -#if defined(mc68000) || defined(__arm__) || defined(__mips__) \
12 +#if defined(mc68000) || defined(__arm__) || defined(__thumb__) || defined(__mips__) \
13 || defined(__sh__) || defined(__powerpc__)
14 # define CONSTANT_STRING_GOT_FIXUP(X) \
15 if ((X) < (const char *) load_addr) (X) += load_addr
16 --- ./libc/sysdeps/linux/common/create_module.c.orig 2005-09-07 14:09:55.597843578 -0700
17 +++ ./libc/sysdeps/linux/common/create_module.c 2005-09-07 14:10:11.650853730 -0700
20 #ifdef __NR_create_module
22 -#if defined(__i386__) || defined(__m68k__) || defined(__arm__) || defined(__cris__) || defined(__i960__)
23 +#if defined(__i386__) || defined(__m68k__) || defined(__arm__) || defined(__thumb__) || defined(__cris__) || defined(__i960__)
24 #define __NR___create_module __NR_create_module
25 #ifdef __STR_NR_create_module
26 #define __STR_NR___create_module __STR_NR_create_module
27 --- ./utils/ldd.c.orig 2005-09-07 14:10:32.368157388 -0700
28 +++ ./utils/ldd.c 2005-09-07 14:11:23.735389724 -0700
34 +#if defined(__arm__) || defined(__thumb__)
35 #define MATCH_MACHINE(x) (x == EM_ARM)
36 #define ELFCLASSM ELFCLASS32