+2020-11-12 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * config/tc-msp430.c (OPTION_MOVE_DATA): Define.
+ (md_parse_option): Ignore OPTION_MOVE_DATA.
+ (md_longopts): Handle -md option.
+ * testsuite/gas/msp430/msp430.exp: Run new test.
+ * testsuite/gas/msp430/empty.s: New test.
+ * testsuite/gas/msp430/ignore-md.d: New test.
+
2020-11-12 Nick Clifton <nickc@redhat.com>
PR 26850
/* The default is to use the lower region only. */
static bfd_boolean lower_data_region_only = TRUE;
+/* Deprecated option, silently ignore it for compatibility with GCC <= 10. */
+#define OPTION_MOVE_DATA 'd'
+
enum
{
OPTION_SILICON_ERRATA = OPTION_MD_BASE,
do_unknown_interrupt_nops = FALSE;
return 1;
+ case OPTION_MOVE_DATA:
+ /* Silently ignored. */
+ return 1;
+
case OPTION_DATA_REGION:
if (strcmp (arg, "upper") == 0
|| strcmp (arg, "either") == 0)
{"my", no_argument, NULL, OPTION_WARN_INTR_NOPS},
{"mu", no_argument, NULL, OPTION_UNKNOWN_INTR_NOPS},
{"mU", no_argument, NULL, OPTION_NO_UNKNOWN_INTR_NOPS},
+ {"md", no_argument, NULL, OPTION_MOVE_DATA},
{"mdata-region", required_argument, NULL, OPTION_DATA_REGION},
{NULL, no_argument, NULL, 0}
};