diff options
author | Julian Brown <julian@codesourcery.com> | 2011-08-01 12:02:45 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2011-08-01 12:02:45 +0000 |
commit | 247eb06feda17162e6f3ce4fd65f7db9dc3d04cd (patch) | |
tree | f40191ddc8ef7538172bd6a7e2df729399b95b50 /libgcc/fixed-bit.h | |
parent | 0747aae46ba020c777a7a1be44ebb383e3921b37 (diff) | |
download | gcc-247eb06feda17162e6f3ce4fd65f7db9dc3d04cd.zip gcc-247eb06feda17162e6f3ce4fd65f7db9dc3d04cd.tar.gz gcc-247eb06feda17162e6f3ce4fd65f7db9dc3d04cd.tar.bz2 |
Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
libgcc/
* Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
(libgcc-std.ver.in): Use above.
* fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
throughout file.
* config/t-fixedpoint-gnu-prefix: New file.
* config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
* libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
instead of __PFX__.
From-SVN: r177019
Diffstat (limited to 'libgcc/fixed-bit.h')
-rw-r--r-- | libgcc/fixed-bit.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libgcc/fixed-bit.h b/libgcc/fixed-bit.h index 620742c..4de3f40 100644 --- a/libgcc/fixed-bit.h +++ b/libgcc/fixed-bit.h @@ -25,6 +25,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #ifndef _FIXED_BIT_H #define _FIXED_BIT_H +#ifdef LIBGCC2_GNU_PREFIX +#define LIBGCC2_FIXEDBIT_GNU_PREFIX +#endif + /* To use this file we need to define one of the following: QQ_MODE, UQQ_MODE, HQ_MODE, UHQ_MODE, SQ_MODE, USQ_MODE, DQ_MODE, UDQ_MODE, TQ_MODE, UTQ_MODE, HA_MODE, UHA_MODE, SA_MODE, USA_MODE, DA_MODE, UDA_MODE, @@ -445,7 +449,7 @@ typedef union #define IBITS IBITS2(MODE_NAME) #define I_F_BITS (FBITS + IBITS) -#ifdef LIBGCC2_GNU_PREFIX +#ifdef LIBGCC2_FIXEDBIT_GNU_PREFIX #define FIXED_OP(OP,MODE,NUM) __gnu_ ## OP ## MODE ## NUM #else #define FIXED_OP(OP,MODE,NUM) __ ## OP ## MODE ## NUM @@ -1150,7 +1154,7 @@ extern FIXED_C_TYPE FIXED_USASHL (FIXED_C_TYPE, word_type); #define TO_HAVE_PADDING_BITS (TO_PADDING_BITS > 0) #endif /* TO_TYPE == 4 */ -#ifdef LIBGCC2_GNU_PREFIX +#ifdef LIBGCC2_FIXEDBIT_GNU_PREFIX #define FIXED_CONVERT_OP(OP,FROM,TO) __gnu_ ## OP ## FROM ## TO #define FIXED_CONVERT_OP2(OP,FROM,TO) __gnu_ ## OP ## FROM ## TO ## 2 #else |