projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9d338
)
ldso: remove redundant switch case for REL_NONE
author
Fangrui Song
<i@maskray.me>
Sun, 8 Mar 2020 18:10:32 +0000
(11:10 -0700)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 20 Mar 2020 16:35:38 +0000
(12:35 -0400)
as a result of commit
b6a6cd703ffefa6352249fb01f4da28d85d17306
,
the REL_NONE case is now redundant.
ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/ldso/dynlink.c
b/ldso/dynlink.c
index afec985a3dbe35cb9fc8c68e8e89fcdccc4880cf..6468f203cb69b1dbfb6c5731c4e3f7c650546c7e 100644
(file)
--- a/
ldso/dynlink.c
+++ b/
ldso/dynlink.c
@@
-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: