[llvm] r177895 - reflect comment to the official reference
Shankar Easwaran
shankare at codeaurora.org
Mon Mar 25 12:50:40 PDT 2013
Author: shankare
Date: Mon Mar 25 14:50:40 2013
New Revision: 177895
URL: http://llvm.org/viewvc/llvm-project?rev=177895&view=rev
Log:
reflect comment to the official reference
Modified:
llvm/trunk/include/llvm/Object/ELF.h
Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=177895&r1=177894&r2=177895&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Mon Mar 25 14:50:40 2013
@@ -2706,7 +2706,7 @@ static inline error_code GetELFSymbolVer
/// This function returns the hash value for a symbol in the .dynsym section
/// Name of the API remains consistent as specified in the libelf
-/// REF : http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx
+/// REF : http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#hash
static inline unsigned elf_hash(StringRef &symbolName) {
unsigned h = 0, g;
for (unsigned i = 0; i < symbolName.size(); i++) {
More information about the llvm-commits
mailing list