提交 72658c65 编写于 作者: F Fangrui Song 提交者: Rich Felker

ldso: remove redundant switch case for REL_NONE

as a result of commit b6a6cd70,
the REL_NONE case is now redundant.
上级 3e9d3386
......@@ -415,8 +415,6 @@ static void do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stri
}
switch(type) {
case REL_NONE:
break;
case REL_OFFSET:
addend -= (size_t)reloc_addr;
case REL_SYMBOLIC:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册