summaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
Commit message (Collapse)AuthorAgeFilesLines
* libiberty: documentation markup and order fixes.Ralf Wildenhues2011-02-031-3/+3
| | | | | | | | | | | | | | | | libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
* merge from gccDJ Delorie2010-06-101-18/+49
|
* merge from gccgdb_7_0-2009-09-16-branchpointDJ Delorie2009-09-161-0/+3
|
* 2009-09-03 Ozkan Sezer <sezeroz@gmail.com>H.J. Lu2009-09-031-1/+1
| | | | | | | | | PR target/39065 * configure.ac: Also check for intptr_t. * config.h.in: Regenerated. * configure: Regenerated. * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t instead of of long.
* merge from gccDJ Delorie2009-06-211-2/+3
|
* merge from gccDJ Delorie2006-07-271-1/+22
|
* merge from gccDJ Delorie2005-06-301-32/+23
|
* merge from gccDJ Delorie2005-05-241-16/+21
|
* Update the address and phone number of the FSF organization.Nick Clifton2005-05-101-2/+2
|
* merge from gccDJ Delorie2005-03-281-104/+44
|
* merge from gccDJ Delorie2005-03-011-5/+5
|
* merge from gccDJ Delorie2004-04-221-62/+171
|
* merge from gccDJ Delorie2004-04-131-2/+16
|
* merge from gccDJ Delorie2004-04-011-49/+71
|
* 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
|
* Initial revisionIan Lance Taylor2000-02-221-0/+330