mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 16:30:53 +08:00
config.gcc (m68020-*-elf*, [...]): Add tm_defines containing MOTOROLA and USE_GAS.
* 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. From-SVN: r74048
This commit is contained in:
parent
3f69c502d0
commit
c16202e159
@ -1,3 +1,12 @@
|
||||
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.
|
||||
|
@ -1324,12 +1324,14 @@ m68k-*-coff*)
|
||||
;;
|
||||
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"
|
||||
@ -1376,6 +1378,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
|
||||
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)
|
||||
|
@ -22,13 +22,6 @@ along with GCC; see the file COPYING. If not, write to
|
||||
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"
|
||||
@ -246,8 +239,6 @@ extern int switch_table_difference_label_flag;
|
||||
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"
|
||||
|
||||
|
@ -143,9 +143,6 @@ while (0)
|
||||
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
|
||||
|
@ -20,8 +20,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
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() \
|
||||
|
Loading…
x
Reference in New Issue
Block a user