libiberty/
* 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.
This commit is contained in:
parent
85051ee6c1
commit
f996c00b60
|
@ -1,3 +1,8 @@
|
|||
2003-05-07 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* hashtab.h (burtle_hash): Prototype.
|
||||
(burtle_hash_object): New macro.
|
||||
|
||||
2003-04-28 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* bfdlink.h (bfd_link_info): Add relax_finalizing.
|
||||
|
|
|
@ -183,6 +183,11 @@ extern htab_eq htab_eq_pointer;
|
|||
/* A hash function for null-terminated strings. */
|
||||
extern hashval_t htab_hash_string PARAMS ((const PTR));
|
||||
|
||||
/* An iterative hash function for arbitrary data. */
|
||||
extern hashval_t burtle_hash PARAMS ((const PTR, size_t, hashval_t));
|
||||
/* Shorthand for hashing something with an intrinsic size. */
|
||||
#define burtle_hash_object(OB,INIT) burtle_hash (&OB, sizeof (OB), INIT)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
|
Loading…
Reference in New Issue