diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-31 00:26:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-31 00:26:22 +0000 |
commit | 8472ea4c5d55b9bde2672ca01ebac1c9f1e73b81 (patch) | |
tree | 5d08a184107386214fffc36bcb133ac8b32d6513 | |
parent | 6ba32f38056ea0b08ec1b49ed01b196db0ac248e (diff) |
John Bowler writes in Bug 385:
in various places defined(__arm__) is used to protect/select code which
is ARM specific, that code must also be selected for __thumb__ because
__thumb__ is an ARM but __arm__ is not set...
-rw-r--r-- | ldso/include/dl-string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h index e2d4d36ed..ec098d2ca 100644 --- a/ldso/include/dl-string.h +++ b/ldso/include/dl-string.h @@ -276,8 +276,8 @@ static __always_inline char * _dl_simple_ltoahex(char * local, unsigned long i) /* On some arches constant strings are referenced through the GOT. * This requires that load_addr must already be defined... */ -#if defined(mc68000) || defined(__arm__) || defined(__mips__) \ - || defined(__sh__) || defined(__powerpc__) +#if defined(mc68000) || defined(__arm__) || defined(__thumb__) || \ + defined(__mips__) || defined(__sh__) || defined(__powerpc__) # define CONSTANT_STRING_GOT_FIXUP(X) \ if ((X) < (const char *) load_addr) (X) += load_addr # define NO_EARLY_SEND_STDERR |