summaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-04-23 03:09:47 +0000
committerAndi Kleen <ak@gcc.gnu.org>2013-04-23 03:09:47 +0000
commit86210f13cdab46fb3ac1327f7e016646684e5709 (patch)
tree23ffa8b00dd8951c14d347d1ad8327bd887526c2 /libiberty/ChangeLog
parent7441bd3d2250272fa1dce0bb8eb192c13b824512 (diff)
downloadgcc-86210f13cdab46fb3ac1327f7e016646684e5709.tar.gz
Improve pointer hash function to include all bits
The hashtab pointer hash function is not very good. It throws most of the bits in the pointer away. This changes pointer_hash to use the mix code from jhash function that mixes all the bits on the pointer and makes them dependent on each other, before doing the modulo. libiberty/: 2013-04-22 Andi Kleen <ak@linux.intel.com> * hashtab.c (hash_pointer): Move to end of file and reimplement. From-SVN: r198171
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r--libiberty/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 717221dd891..1420ad402f3 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-22 Andi Kleen <ak@linux.intel.com>
+
+ * hashtab.c (hash_pointer): Move to end of file and reimplement.
+
2013-04-03 Jason Merrill <jason@redhat.com>
* cp-demangle.c (cplus_demangle_type): Fix function quals.