Mercurial > hg > CbC > CbC_gcc
diff gcc/config/i386/netware.h @ 36:855418dad1a3
gcc-4.4-20091020
author | e075725 |
---|---|
date | Tue, 22 Dec 2009 21:19:31 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/config/i386/netware.h Thu Sep 24 13:21:57 2009 +0900 +++ b/gcc/config/i386/netware.h Tue Dec 22 21:19:31 2009 +0900 @@ -72,17 +72,16 @@ #define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP | \ MASK_FLOAT_RETURNS | MASK_ALIGN_DOUBLE | MASK_MS_BITFIELD_LAYOUT) -/* 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. - - Don't use this macro to turn on various extra optimizations for - `-O'. That is what `OPTIMIZATION_OPTIONS' is for. */ -#undef OVERRIDE_OPTIONS -extern void netware_override_options (void); -#define OVERRIDE_OPTIONS netware_override_options () +/* Don't allow flag_pic to propagate since invalid relocations will + result otherwise. */ +#define SUBTARGET_OVERRIDE_OPTIONS \ +do { \ + if (flag_pic) \ + { \ + error ("-fPIC and -fpic are not supported for this target"); \ + flag_pic = 0; \ + } \ +} while (0) #undef MATH_LIBRARY #define MATH_LIBRARY "" @@ -99,6 +98,9 @@ #undef KEEP_AGGREGATE_RETURN_POINTER #define KEEP_AGGREGATE_RETURN_POINTER 1 +#undef ASM_COMMENT_START +#define ASM_COMMENT_START "#" + #undef DBX_REGISTER_NUMBER #define DBX_REGISTER_NUMBER(n) (svr4_dbx_register_map[n])