summaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
Commit message (Collapse)AuthorAgeFilesLines
* merge from gccDJ Delorie2003-10-301-2/+2
|
* merge from gccDJ Delorie2003-06-191-0/+4
|
* s/burtle/iterativeJason Merrill2003-05-071-1/+1
|
* libiberty/Jason Merrill2003-05-071-0/+138
| | | | | | | | | | * hashtab.c (burtle_hash): New fn. * configure.in: Add AC_C_BIGENDIAN_CROSS. * aclocal.m4: Include accross.m4. * configure, config.in: Regenerate. include/ * hashtab.h (burtle_hash): Prototype. (burtle_hash_object): New macro.
* merge from gccDJ Delorie2003-04-151-3/+0
|
* merge from gccDJ Delorie2003-03-171-4/+19
|
* merge from gccDJ Delorie2003-03-121-2/+2
|
* merge from gccDJ Delorie2003-03-121-3/+16
|
* include/Daniel Jacobowitz2003-01-261-2/+70
| | | | | | | | | | | * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types. (struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f. (htab_create_alloc_ex): New prototype. (htab_set_functions_ex): New prototype. libiberty/ * hashtab.c (htab_create_alloc_ex): New function. (hatab_set_functions_ex): New function. (htab_delete, htab_expand): Support alternate allocation functions.
* merge from gccDJ Delorie2003-01-201-2/+4
|
* merge from gccDJ Delorie2002-06-061-41/+41
|
* * hashtab.c (higher_prime_number): Use 7 as minimum.Richard Henderson2002-04-101-32/+46
| | | | | (find_empty_slot_for_expand): Don't compute hash2 unless needed. (htab_find_slot_with_hash): Likewise.
* merge from gccDJ Delorie2001-10-071-4/+4
|
* merge from gccDJ Delorie2001-08-171-1/+24
|
* merge from gccDJ Delorie2001-08-171-0/+16
|
* merge from gccDJ Delorie2001-03-151-1/+1
|
* merge from gccDJ Delorie2001-03-151-32/+33
|
* * hashtab.c (higher_prime_number): Use a table, rather than aDJ Delorie2000-11-291-22/+56
| | | | seive, to find the next prime.
* * hashtab.c (htab_expand): Change to return int. Use calloc orHans-Peter Nilsson2000-11-041-8/+58
| | | | | | | | | xcalloc depending on htab->return_allocation_failure. Return zero if calloc fails. (htab_create): Update comment to cover memory allocation. (htab_try_create): New. (htab_find_slot_with_hash): Return NULL if htab_expand fails. Update comment to cover this.
* * hashtab.c: Change void * to PTR where necessary.Hans-Peter Nilsson2000-11-031-36/+36
| | | | | (htab_create, htab_expand): Correct formatting of comment before function.
* Synced with libiberty in the gcc repository.H.J. Lu2000-06-151-62/+107
|
* * hashtab.c, partition.c, xmemdup.c: Include string.hZack Weinberg2000-05-291-0/+4
| | | | | | | | | | | | | if HAVE_STRING_H. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. * objalloc.c: Include config.h. Include stdlib.h and don't declare malloc or free if HAVE_STDLIB_H. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, else declare malloc without prototype. Include string.h if HAVE_STRING_H, else declare memset without prototype. Don't include stddef.h. * sort.c: Bring over from GCC.
* merge from gccJason Merrill2000-03-241-166/+265
|
* import libiberty from egcsIan Lance Taylor2000-02-221-0/+330