about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-08-18 15:46:01 +0200
committervanhauser-thc <vh@thc.org>2021-08-18 15:48:05 +0200
commit1959812e83becb0895b924d0398d634055cd0c10 (patch)
tree3a934c17bd6873bb84f7f769dda9020f0c92c08e /src
parentfaac1651e44a35ddaa9d6f3b989c6ee8a5bd9ae9 (diff)
downloadafl++-1959812e83becb0895b924d0398d634055cd0c10.tar.gz
more partial linking
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 244b46d1..a61635a2 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -794,6 +794,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
     if (!strcmp(cur, "-E")) preprocessor_only = 1;
     if (!strcmp(cur, "-shared")) shared_linking = 1;
     if (!strcmp(cur, "-Wl,-r")) partial_linking = 1;
+    if (!strcmp(cur, "-Wl,-i")) partial_linking = 1;
     if (!strcmp(cur, "-Wl,--relocatable")) partial_linking = 1;
     if (!strcmp(cur, "-r")) partial_linking = 1;
     if (!strcmp(cur, "--relocatable")) partial_linking = 1;