diff options
author | Andrew Haley <aph@redhat.com> | 2003-05-13 15:32:19 +0000 |
---|---|---|
committer | Andrew Haley <aph@redhat.com> | 2003-05-13 15:32:19 +0000 |
commit | 32dfa85d9015feea4a06d423fe58f6eaf841456e (patch) | |
tree | 8aef0787fe2b1b6e64930d422f9f3443f742c6a3 /bfd | |
parent | ead7564810b987841fe57e6f047665c0374bfdac (diff) | |
download | gdb-32dfa85d9015feea4a06d423fe58f6eaf841456e.zip gdb-32dfa85d9015feea4a06d423fe58f6eaf841456e.tar.gz gdb-32dfa85d9015feea4a06d423fe58f6eaf841456e.tar.bz2 |
2003-05-13 Andrew Haley <aph@redhat.com>
* elf.c (bfd_elf_hash): Mask lower 32 bits of hash.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eaf2b9f..0046a36 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2003-05-13 Andrew Haley <aph@redhat.com> + + * elf.c (bfd_elf_hash): Mask lower 32 bits of hash. + 2003-05-13 Alan Modra <amodra@bigpond.net.au> H.J. Lu <hongjiu.lu@intel.com> @@ -271,7 +271,7 @@ bfd_elf_hash (namearg) h ^= g; } } - return h; + return h & 0xffffffff; } /* Read a specified number of bytes at a specified offset in an ELF |