Add option -no-pie.

This commit is contained in:
Sriraman Tallam 2014-08-13 18:40:19 -07:00
parent 78090f7c83
commit 8123365312
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-13 Sriraman Tallam <tmsriram@google.com>
* options.h (-no-pie): Add option.
2014-08-08 Jing Yu <jingyu@google.com>
Han Shen <shenhan@google.com>

View File

@ -972,7 +972,8 @@ class General_options
N_("(ARM only) Ignore for backward compatibility"), NULL);
DEFINE_bool(pie, options::ONE_DASH, '\0', false,
N_("Create a position independent executable"), NULL);
N_("Create a position independent executable"),
N_("Do not create a position independent executable"));
DEFINE_bool_alias(pic_executable, pie, options::TWO_DASHES, '\0',
N_("Create a position independent executable"), NULL,
false);