--no-pic-executable alias to -no-pie

Sriraman Tallam tmsriram@google.com
Thu Sep 25 18:30:00 GMT 2014


Hi,

I added option -no-pie to gold:
https://sourceware.org/ml/binutils/2014-08/msg00104.html

I am now making --no-pic-executable alias to -no-pie.

Is this alright?

Thanks
Sri
-------------- next part --------------
	* options.h (--pic-executable): Add negative to alias to -no-pie

diff --git a/gold/options.h b/gold/options.h
index 804b822..b7d6165 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -976,6 +976,7 @@ class General_options
 	      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,
+		    N_("Do not create a position independent executable"), NULL,
 		    false);
 
   DEFINE_bool(pipeline_knowledge, options::ONE_DASH, '\0', false,


More information about the Binutils mailing list