aboutsummaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
AgeCommit message (Collapse)AuthorFilesLines
2006-07-27merge from gccDJ Delorie1-1/+22
2005-06-30merge from gccDJ Delorie1-32/+23
2005-05-24merge from gccDJ Delorie1-16/+21
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-03-28merge from gccDJ Delorie1-104/+44
2005-03-01merge from gccDJ Delorie1-5/+5
2004-04-22merge from gccDJ Delorie1-62/+171
2004-04-13merge from gccDJ Delorie1-2/+16
2004-04-01merge from gccDJ Delorie1-49/+71
2003-10-30merge from gccDJ Delorie1-2/+2
2003-06-19merge from gccDJ Delorie1-0/+4
2003-05-07s/burtle/iterativeJason Merrill1-1/+1
2003-05-07libiberty/Jason Merrill1-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.
2003-04-15merge from gccDJ Delorie1-3/+0
2003-03-17merge from gccDJ Delorie1-4/+19
2003-03-12merge from gccDJ Delorie1-2/+2
2003-03-12merge from gccDJ Delorie1-3/+16
2003-01-26include/Daniel Jacobowitz1-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.
2003-01-20merge from gccDJ Delorie1-2/+4
2002-06-06merge from gccDJ Delorie1-41/+41
2002-04-10 * hashtab.c (higher_prime_number): Use 7 as minimum.Richard Henderson1-32/+46
(find_empty_slot_for_expand): Don't compute hash2 unless needed. (htab_find_slot_with_hash): Likewise.
2001-10-07merge from gccDJ Delorie1-4/+4
2001-08-17merge from gccDJ Delorie1-1/+24
2001-08-17merge from gccDJ Delorie1-0/+16
2001-03-15merge from gccDJ Delorie1-1/+1
2001-03-15merge from gccDJ Delorie1-32/+33
2000-11-29* hashtab.c (higher_prime_number): Use a table, rather than aDJ Delorie1-22/+56
seive, to find the next prime.
2000-11-04 * hashtab.c (htab_expand): Change to return int. Use calloc orHans-Peter Nilsson1-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.
2000-11-03 * hashtab.c: Change void * to PTR where necessary.Hans-Peter Nilsson1-36/+36
(htab_create, htab_expand): Correct formatting of comment before function.
2000-06-15Synced with libiberty in the gcc repository.H.J. Lu1-62/+107
2000-05-29 * hashtab.c, partition.c, xmemdup.c: Include string.hZack Weinberg1-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.
2000-03-24merge from gccJason Merrill1-166/+265
2000-02-22import libiberty from egcsIan Lance Taylor1-0/+330