diff options
author | vanhauser-thc <vh@thc.org> | 2021-07-05 16:14:54 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-07-05 16:14:54 +0200 |
commit | 6ec295db4e8188df410cf7dcccd1b3de5fbc2048 (patch) | |
tree | 13a661dd1e6107b8f26836613d836b497b545327 | |
parent | f7fb4495c4aa6a1e2eca17779f9a60a31b6dbdf1 (diff) | |
download | afl++-6ec295db4e8188df410cf7dcccd1b3de5fbc2048.tar.gz |
more partial linking
-rw-r--r-- | src/afl-cc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index 1e761c3d..d35b177d 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -789,7 +789,9 @@ 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; if (!strcmp(cur, "-c")) have_c = 1; if (!strncmp(cur, "-O", 2)) have_o = 1; |