mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-21 21:52:04 +03:00
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:
parent
3e9d3386f1
commit
72658c658b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user