diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-06-03 16:44:15 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-06-03 16:44:15 +0200 |
commit | 55da5e3e022fe5556668224bc8546225dd59dfc6 (patch) | |
tree | cbff221db1f2312f3addb7cb9eb1011097a42c5b /src | |
parent | 0fbe5fb436b2ee939959230da7b0b660d81b41d7 (diff) | |
download | afl++-55da5e3e022fe5556668224bc8546225dd59dfc6.tar.gz |
partial linking with -Wl
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-cc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index db31461d..980e5d86 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -767,7 +767,8 @@ static void edit_params(u32 argc, char **argv, char **envp) { if (!strcmp(cur, "-x")) x_set = 1; if (!strcmp(cur, "-E")) preprocessor_only = 1; if (!strcmp(cur, "-shared")) shared_linking = 1; - if (!strcmp(cur, "-r")) partial_linking = 1; + if (!strcmp(cur, "-Wl,-r")) partial_linking = 1; + if (!strcmp(cur, "-Wl,-i")) partial_linking = 1; if (!strcmp(cur, "-c")) have_c = 1; if (!strncmp(cur, "-O", 2)) have_o = 1; |