Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 8 Mar 2020 11:10:32 -0700
From: Fangrui Song <>
Subject: [PATCH] ldso: remove redundant switch case for REL_NONE

as a result of commit b6a6cd703ffefa6352249fb01f4da28d85d17306,
the REL_NONE case is now redundant.
 ldso/dynlink.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ldso/dynlink.c b/ldso/dynlink.c
index afec985a..6468f203 100644
--- 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;

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.