Commit c0d80b88 by Jeff Law

pa.h (OVERRIDE_OPTIONS): Define.

	* pa.h (OVERRIDE_OPTIONS): Define.  Give a warning if -fpic or
	-fPIC was specified on the command line.

From-SVN: r4820
parent 500839a3
......@@ -116,6 +116,21 @@ extern int target_flags;
#define WCHAR_TYPE "short unsigned int"
#define WCHAR_TYPE_SIZE 16
/* Sometimes certain combinations of command options do not make sense
on a particular target machine. You can define a macro
`OVERRIDE_OPTIONS' to take account of this. This macro, if
defined, is executed once just after all the command options have
been parsed.
On the PA, it is used to explicitly warn the user that -fpic and -fPIC
do not work. */
#define OVERRIDE_OPTIONS \
{ \
if (flag_pic != 0) \
warning ("-fpic and -fPIC are not supported on the PA."); \
}
/* Omit frame pointer at high optimization levels. */
#define OPTIMIZATION_OPTIONS(OPTIMIZE) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment