* write.c (fixup_segment): Improve error message for sym1-sym2
errors when sym1 is in a different segment from sym2.
-start-sanitize-m32rx
-Thu May 14 13:49:39 1998 Nick Clifton <nickc@cygnus.com>
-
- * config/tc-m32r.c: Chnage command line switch from
- --enable-special to --m32rx-enable-special and add shorter
- synonym: --m32rx-es.
- * doc/c-m32r.texi (M32R-Opts): Document changes to command line
- switch.
- * testsuite/gas/m32rx/m32rx.d: Change switch.
-
-end-sanitize-m32rx
Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
* config/tc-m32r.c (warn_unmatched_high): New static local.
(stabs_generate_asm_lineno): Move file name handling into
generate_asm_file.
-start-sanitize-m32rx
-Tue May 12 13:34:12 1998 Nick Clifton <nickc@cygnus.com>
-
- * config/tc-m32r.c: Add command line switch to support special
- M32Rx instructions.
- * doc/c-m32r.texi: Document new command line switch.
-
-end-sanitize-m32rx
Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
* config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
extended M32RX instruction set should be enabled. */
static int enable_m32rx = 0;
-/* Non-zero if --m32rx-enable-special has been specified, in which case support for
+/* Non-zero if --m32rx --hidden has been specified, in which case support for
the special M32RX instruction set should be enabled. */
static int enable_special = 0;
{"no-warn-explicit-parallel-conflicts", no_argument, NULL, OPTION_NO_WARN_PARALLEL},
{"Wnp", no_argument, NULL, OPTION_NO_WARN_PARALLEL},
#define OPTION_SPECIAL (OPTION_MD_BASE + 3)
- {"m32rx-enable-special", no_argument, NULL, OPTION_SPECIAL},
- {"m32rx-es", no_argument, NULL, OPTION_SPECIAL},
+ {"hidden", no_argument, NULL, OPTION_SPECIAL},
/* end-sanitize-m32rx */
/* Sigh. I guess all warnings must now have both variants. */
break;
case OPTION_SPECIAL:
- allow_m32rx (1);
- enable_special = 1;
+ if (enable_m32rx)
+ enable_special = 1;
+ else
+ {
+ extern char * myname;
+
+ /* Pretend that we do not recognise this option. */
+ fprintf (stderr, _("%s: unrecognised option: --hidden\n"), myname);
+ return 0;
+ }
break;
/* end-sanitize-m32rx */
fprintf (stream, _("\
--m32rx support the extended m32rx instruction set\n"));
fprintf (stream, _("\
---m32rx-enable-special support the special m32rx instructions\n"));
- fprintf (stream, _("\
---m32rx-es synonym for --m32rx-enable-special\n"));
- fprintf (stream, _("\
-O try to combine instructions in parallel\n"));
fprintf (stream, _("\