aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2013-03-25 19:50:40 +0000
committerShankar Easwaran <shankare@codeaurora.org>2013-03-25 19:50:40 +0000
commit8b2824a1b21fe7bd3908774feb5f79c98cc7d9a2 (patch)
tree68b0f94a2973e12d27a095f83ddb6a99855767ff
parent8b23cd0ba1d2f5f5a2890c6818369eb985eff33d (diff)
downloadexternal_llvm-8b2824a1b21fe7bd3908774feb5f79c98cc7d9a2.zip
external_llvm-8b2824a1b21fe7bd3908774feb5f79c98cc7d9a2.tar.gz
external_llvm-8b2824a1b21fe7bd3908774feb5f79c98cc7d9a2.tar.bz2
reflect comment to the official reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177895 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Object/ELF.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h
index 9c2c7a6..1a4496d 100644
--- a/include/llvm/Object/ELF.h
+++ b/include/llvm/Object/ELF.h
@@ -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++) {