mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
merge from gcc
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-03-15 Michael Meissner <meissner@redhat.com>
|
||||||
|
|
||||||
|
* hashtab.c (higher_prime_number): Silence warning that 4294967291
|
||||||
|
might be a signed integer under pre-ISO C systems.
|
||||||
|
|
||||||
2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
|
2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
John David Anglin <dave@hiauly1.hia.nrc.ca>
|
John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* An expandable hash tables datatype.
|
/* An expandable hash tables datatype.
|
||||||
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Contributed by Vladimir Makarov (vmakarov@cygnus.com).
|
Contributed by Vladimir Makarov (vmakarov@cygnus.com).
|
||||||
|
|
||||||
This file is part of the libiberty library.
|
This file is part of the libiberty library.
|
||||||
@ -81,37 +81,38 @@ higher_prime_number (n)
|
|||||||
/* These are primes that are near, but slightly smaller than, a
|
/* These are primes that are near, but slightly smaller than, a
|
||||||
power of two. */
|
power of two. */
|
||||||
static unsigned long primes[] = {
|
static unsigned long primes[] = {
|
||||||
2,
|
(unsigned long) 2,
|
||||||
7,
|
(unsigned long) 7,
|
||||||
13,
|
(unsigned long) 13,
|
||||||
31,
|
(unsigned long) 31,
|
||||||
61,
|
(unsigned long) 61,
|
||||||
127,
|
(unsigned long) 127,
|
||||||
251,
|
(unsigned long) 251,
|
||||||
509,
|
(unsigned long) 509,
|
||||||
1021,
|
(unsigned long) 1021,
|
||||||
2039,
|
(unsigned long) 2039,
|
||||||
4093,
|
(unsigned long) 4093,
|
||||||
8191,
|
(unsigned long) 8191,
|
||||||
16381,
|
(unsigned long) 16381,
|
||||||
32749,
|
(unsigned long) 32749,
|
||||||
65521,
|
(unsigned long) 65521,
|
||||||
131071,
|
(unsigned long) 131071,
|
||||||
262139,
|
(unsigned long) 262139,
|
||||||
524287,
|
(unsigned long) 524287,
|
||||||
1048573,
|
(unsigned long) 1048573,
|
||||||
2097143,
|
(unsigned long) 2097143,
|
||||||
4194301,
|
(unsigned long) 4194301,
|
||||||
8388593,
|
(unsigned long) 8388593,
|
||||||
16777213,
|
(unsigned long) 16777213,
|
||||||
33554393,
|
(unsigned long) 33554393,
|
||||||
67108859,
|
(unsigned long) 67108859,
|
||||||
134217689,
|
(unsigned long) 134217689,
|
||||||
268435399,
|
(unsigned long) 268435399,
|
||||||
536870909,
|
(unsigned long) 536870909,
|
||||||
1073741789,
|
(unsigned long) 1073741789,
|
||||||
2147483647,
|
(unsigned long) 2147483647,
|
||||||
4294967291
|
/* 4294967291L */
|
||||||
|
((unsigned long) 2147483647) + ((unsigned long) 2147483642),
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned long* low = &primes[0];
|
unsigned long* low = &primes[0];
|
||||||
|
Reference in New Issue
Block a user