reflect comment to the official reference
[oota-llvm.git] / include / llvm / Object / ELF.h
index 9c2c7a64d5ec09aa9fd90df05f77d0947c93646f..1a4496dd967b5252f8af8dbf17c91036d8d3c10c 100644 (file)
@@ -2706,7 +2706,7 @@ static inline error_code GetELFSymbolVersion(const ObjectFile *Obj,
 
 /// 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++) {