diff options
author | Fangrui Song <maskray@google.com> | 2021-06-17 09:57:40 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2021-06-17 09:57:40 -0700 |
commit | e8f6c2a5bab10b039a12b69a30a8248c91161e11 (patch) | |
tree | 4ced3beb85ae6e760db5aa1c291f7e1a06282d93 /ld/ldlex.h | |
parent | 2af6d46fd331b8e632bb9245614bad0c974392a4 (diff) | |
download | gdb-e8f6c2a5bab10b039a12b69a30a8248c91161e11.zip gdb-e8f6c2a5bab10b039a12b69a30a8248c91161e11.tar.gz gdb-e8f6c2a5bab10b039a12b69a30a8248c91161e11.tar.bz2 |
ld: Add -no-pie
gold has had this option for many years. Not having this option caused
some confusion to users. The help message clarifies the default state.
ld/
* ldlex.h (enum option_values): Add OPTION_NO_PIE.
* lexsup.c (struct ld_options): Add -no-pie.
(parse_args): Handle -no-pie.
* ld.texi: Document -no-pie.
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r-- | ld/ldlex.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -133,6 +133,7 @@ enum option_values OPTION_ACCEPT_UNKNOWN_INPUT_ARCH, OPTION_NO_ACCEPT_UNKNOWN_INPUT_ARCH, OPTION_PIE, + OPTION_NO_PIE, OPTION_UNRESOLVED_SYMBOLS, OPTION_WARN_UNRESOLVED_SYMBOLS, OPTION_ERROR_UNRESOLVED_SYMBOLS, |