Ken Raeburn 326aa685fe * tc-m68k.c (flag_reg_prefix_optional): New variable. Initialized to value of
REGISTER_PREFIX_OPTIONAL, if defined, or zero.
(m68k_reg_parse): If flag_reg_prefix_optional is set, permit register prefix to
be absent.
(m68k_ip_op): Accept `&' also for immediate constants.
(insert_reg): Don't bother with (two!?) sanity checks of the symbol table when
inserting each register.
(m68k_parse_long_option): New function.  Set flag_reg_prefix_optional if
"register-prefix-optional" is passed.
* tc-m68k.h (REGISTER_PREFIX): Always define if not already defined.
(OPTIONAL_REGISTER_PREFIX): Don't define.
(REGISTER_PREFIX_OPTIONAL): If not already defined, define as zero
or one depending on M68KCOFF.

Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
* tc-m68k.c (DATA, ADDR, SP, FPREG, COPNUM, BAD, BAC): Define as macros instead
of enumerators, since the Apollo compiler can't handle "enumVal1, enumVal2 =
enumVal1" when defining an enum type.
(make_pcrel_absolute) [NO_PCREL_RELOCS]: New function.
(tc_coff_fix2rtype) [NO_PCREL_RELOCS]: Generate only R_RELBYTE, R_DIR16, and
R_DIR32 relocs.
* tc-m68k.h [TE_APOLLO] (COFF_MAGIC, COFF_AOUTHDR_MAGIC): Use Apollo versions.
[TE_APOLLO] (OBJ_COFF_OMIT_OPTIONAL_HEADER): Undefine.  That is, do include the
optional header for Apollo target.
(COFF_MAGIC): Don't define as MC68MAGIC if it's already defined.

* tc-m68k.h [TE_DELTA] (LEX_PCT): Define as 1, so that `%' can be used within a
label name.

* tc-m68k.h (m68k_init_after_args): Declare.
(tc_init_after_args): Define as m68k_init_after_args.
* tc-m68k.c (m68k_init_after_args): New function, containing one-shot code from
md_assemble.  Added warning for combination of 68040 and 68851.
(md_assemble): Startup-time code deleted.
1994-04-26 22:21:15 +00:00
..
1994-04-07 23:02:49 +00:00
1992-02-27 18:52:18 +00:00
1993-07-07 16:14:44 +00:00
1993-12-01 22:53:14 +00:00
1993-04-02 18:42:37 +00:00
1993-02-08 19:20:27 +00:00
1992-02-13 08:39:15 +00:00
1992-02-13 08:39:15 +00:00
1993-10-11 21:12:37 +00:00
1994-04-19 01:08:38 +00:00
1992-12-03 23:48:47 +00:00
1991-12-01 07:11:25 +00:00
1992-02-13 08:39:15 +00:00
1993-09-14 17:58:35 +00:00
1994-01-28 00:21:03 +00:00
1994-03-11 23:07:26 +00:00
1993-07-22 18:02:01 +00:00
1992-02-24 18:25:19 +00:00
1993-12-20 16:43:37 +00:00
1992-02-17 15:54:49 +00:00
1993-06-30 10:30:54 +00:00
1993-06-30 10:30:54 +00:00
1992-12-03 23:41:18 +00:00
1992-08-25 22:12:54 +00:00
1993-05-05 12:41:52 +00:00
1993-05-05 12:43:06 +00:00
1992-02-21 11:37:01 +00:00
1994-02-18 19:57:35 +00:00
1994-01-09 20:49:23 +00:00
1992-02-13 08:39:15 +00:00