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
This commit is contained in:
parent
500839a3a7
commit
c0d80b8819
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue