gdb-common.inc: Add -f to rm the files dont exist while building target gdb
[openembedded.git] / recipes / uclibc / uclibc-git / thumb-defined-arm-or-thumb.patch
blob6b73301bf76a46b9cadd405ea4aaaf46a60601e7
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 --- uClibc/ldso/include/dl-string.h.orig 2006-01-19 19:03:42.000000000 -0800
6 +++ uClibc/ldso/include/dl-string.h 2006-01-19 19:28:15.141758294 -0800
7 @@ -276,7 +276,7 @@ static __always_inline char * _dl_simple
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