ldso: remove redundant switch case for REL_NONE

as a result of commit b6a6cd703f,
the REL_NONE case is now redundant.
This commit is contained in:
Fangrui Song 2020-03-08 11:10:32 -07:00 committed by Rich Felker
parent 3e9d3386f1
commit 72658c658b
1 changed files with 0 additions and 2 deletions

View File

@ -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: