m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing
MOTOROLA and USE_GAS.
* config/m68k/rtemself.h (MOTOROLA): Delete.
* config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete.
* config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74048
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-11-28 Gunther Nikl <gni@gecko.de>
+
+ * config.gcc (m68020-*-elf*, m68k-*-elf*, m68010-*-netbsdelf*,
+ m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing
+ MOTOROLA and USE_GAS.
+ * config/m68k/rtemself.h (MOTOROLA): Delete.
+ * config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete.
+ * config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete.
+
2003-11-29 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
;;
m68020-*-elf* | m68k-*-elf*)
tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h"
+ tm_defines="MOTOROLA USE_GAS"
tmake_file=m68k/t-m68kelf
extra_parts="crtbegin.o crtend.o"
use_fixproto=yes
;;
m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h"
+ tm_defines="MOTOROLA USE_GAS"
case ${target} in
m68010*)
target_cpu_default="0"
m68k-*-rtems*)
tmake_file="m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems"
tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h"
+ tm_defines="MOTOROLA USE_GAS"
extra_parts="crtbegin.o crtend.o"
;;
mcore-*-elf)
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* These are necessary for -fpic/-fPIC to work correctly. */
-#ifndef MOTOROLA
-#define MOTOROLA /* Use MOTOROLA syntax. */
-#endif
-#ifndef USE_GAS /* forces jsbr instead of jsr. */
-#define USE_GAS
-#endif
#ifndef SWBEG_ASM_OP
#define SWBEG_ASM_OP "\t.swbeg\t"
fprintf ((FILE), "%s&%d\n", SWBEG_ASM_OP, XVECLEN (PATTERN (TABLE), 1));
/* end of stuff from m68kv4.h */
-#undef SGS_CMP_ORDER
-
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s"
Here is a bunch of stuff lifted from m68kelf.h. We don't use that
file directly, because it has a lot of baggage we don't want. */
-#define MOTOROLA /* Use Motorola syntax */
-#define USE_GAS /* But GAS wants jbsr instead of jsr */
-
/* The prefix for register names. Note that REGISTER_NAMES
is supposed to include this prefix. Also note that this is NOT an
Boston, MA 02111-1307, USA. */
-#define MOTOROLA /* Use Motorola syntax rather than MIT. */
-
/* Target OS builtins. */
#undef TARGET_OS_CPP_BUILTINS /* Defined in m68kemb.h. */
#define TARGET_OS_CPP_BUILTINS() \