aboutsummaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-02-01 12:58:35 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-02-01 12:58:35 -0800
commit53585c36db4e5cf2118ee4ff70a57276a9356f0c (patch)
treec5ccc05b101856374dffe4cae8ddb3805e239b6e /gcc/longlong.h
parentbc8a6d63e68700570c5616cb654f993e7ca0ca26 (diff)
downloadgcc-53585c36db4e5cf2118ee4ff70a57276a9356f0c.zip
gcc-53585c36db4e5cf2118ee4ff70a57276a9356f0c.tar.gz
gcc-53585c36db4e5cf2118ee4ff70a57276a9356f0c.tar.bz2
libgcc2.c: Include auto-host.h.
* libgcc2.c: Include auto-host.h. (ATTRIBUTE_HIDDEN): New. (__clz_tab): Don't declare here for clz and ctz. (__clzsi2, __clzdi2): Use count_leading_zeros. (__ctzsi2, __ctzdi2): Use count_trailing_zeros. (__popcount_tab): Mark ATTRIBUTE_HIDDEN. (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab. * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN. From-SVN: r62256
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index b886f2b..c1fee2d 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -134,7 +134,7 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype);
__asm__("cttz %1,%0" : "=r"(COUNT) : "r"(X))
#define COUNT_LEADING_ZEROS_0 64
#else
-extern const UQItype __clz_tab[];
+extern const UQItype __clz_tab[] ATTRIBUTE_HIDDEN;
#define count_leading_zeros(COUNT,X) \
do { \
UDItype __xr = (X), __t, __a; \
@@ -1287,7 +1287,7 @@ UDItype __umulsidi3 (USItype, USItype);
#endif
#if !defined (count_leading_zeros)
-extern const UQItype __clz_tab[];
+extern const UQItype __clz_tab[] ATTRIBUTE_HIDDEN;
#define count_leading_zeros(count, x) \
do { \
UWtype __xr = (x); \