diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-04 02:19:40 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-04 02:19:40 +0000 |
commit | 18fce2f0dfd3eafaa7d43c8249f98dac608e44a6 (patch) | |
tree | 83b1c680e0b8353f9185997e90b74e3512f4e6f1 /gcc/config/m68k/m68kelf.h | |
parent | 139b2431f3a89d494a7134c78b5567a4f9028fe2 (diff) | |
download | gcc-18fce2f0dfd3eafaa7d43c8249f98dac608e44a6.tar.gz |
* config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
* config/m68k/m68k.c (override_options): ... here.
* config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
* config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
* config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
* config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/m68kelf.h')
-rw-r--r-- | gcc/config/m68k/m68kelf.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/m68k/m68kelf.h b/gcc/config/m68k/m68kelf.h index fef3ebcda85..7866a239209 100644 --- a/gcc/config/m68k/m68kelf.h +++ b/gcc/config/m68k/m68kelf.h @@ -251,20 +251,6 @@ extern int switch_table_difference_label_flag; || (GET_CODE (X) == SYMBOL_REF && SYMBOL_REF_FLAG (X)) \ || PCREL_GENERAL_OPERAND_OK) -/* Turn off function cse if we are doing PIC. We always want function call - to be done as `bsr foo@PLTPC', so it will force the assembler to create - the PLT entry for `foo'. Doing function cse will cause the address of `foo' - to be loaded into a register, which is exactly what we want to avoid when - we are doing PIC on svr4 m68k. */ -#undef OVERRIDE_OPTIONS -#define OVERRIDE_OPTIONS \ -{ \ - if (flag_pic) flag_no_function_cse = 1; \ - if (! TARGET_68020 && flag_pic == 2) \ - error("-fPIC is not currently supported on the 68000 or 68010\n"); \ - if (TARGET_PCREL && flag_pic == 0) \ - flag_pic = 1; \ -} /* end of stuff from m68kv4.h */ #undef SGS_CMP_ORDER |