diff options
| author | Ulrich Drepper <[email protected]> | 2006-06-11 00:20:43 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-06-11 00:20:43 +0000 |
| commit | 2d88028a7b30d9e9be8e5af089cd6dcc22f80ce1 (patch) | |
| tree | 5a10d1118c2d8d0d696c6b83c796c77ed7c30414 /src/ld.c | |
| parent | 697f4db2f34c054a2f93b45dbdbbaec82e34a409 (diff) | |
Implement -z execstack/noexecstack options.
Diffstat (limited to 'src/ld.c')
| -rw-r--r-- | src/ld.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -931,6 +931,10 @@ parse_z_option (const char *arg) ld_state.as_needed = false; else if (strcmp (arg, "systemlibrary") == 0) ld_state.is_system_library = true; + else if (strcmp (arg, "execstack") == 0) + ld_state.execstack = execstack_true; + else if (strcmp (arg, "noexecstack") == 0) + ld_state.execstack = execstack_false_force; else if (strcmp (arg, "allextract") != 0 && strcmp (arg, "defaultextract") != 0 && strcmp (arg, "weakextract") != 0 |
