aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-08-03 15:04:58 +0100
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-08-03 16:05:48 +0100
commite4ae357fe8d4a337ae4bdd4cabb8286cb128819c (patch)
tree065225a3719c71efa9a9ef8a3126a169140752b5 /gas/config
parent8f34b74686c6b9bf83d1c46e93b5aecca2e0ed0e (diff)
downloadgdb-e4ae357fe8d4a337ae4bdd4cabb8286cb128819c.zip
gdb-e4ae357fe8d4a337ae4bdd4cabb8286cb128819c.tar.gz
gdb-e4ae357fe8d4a337ae4bdd4cabb8286cb128819c.tar.bz2
MSP430: Remove unused -md GAS option
The MSP430 GAS option "-md" is supposed to indicate that the CRT startup code should copy data from ROM to RAM at startup. However, this option has no effect; GAS handles the related behaviour automatically by looking for the presence of certain symbols in the input file. gas/ChangeLog: * config/tc-msp430.c (OPTION_MOVE_DATA): Remove. (md_parse_option): Remove case for OPTION_MOVE_DATA. (md_longopts): Remove "md" entry. (md_show_usage): Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-msp430.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c
index 840e513..df03c5d 100644
--- a/gas/config/tc-msp430.c
+++ b/gas/config/tc-msp430.c
@@ -685,8 +685,6 @@ static bfd_boolean warn_interrupt_nops = TRUE;
#define OPTION_NO_UNKNOWN_INTR_NOPS 'U'
static bfd_boolean do_unknown_interrupt_nops = TRUE;
#define OPTION_MCPU 'c'
-#define OPTION_MOVE_DATA 'd'
-static bfd_boolean move_data = FALSE;
#define OPTION_DATA_REGION 'r'
static bfd_boolean upper_data_region_in_use = FALSE;
/* The default is to use the lower region only. */
@@ -1467,10 +1465,6 @@ md_parse_option (int c, const char * arg)
do_unknown_interrupt_nops = FALSE;
return 1;
- case OPTION_MOVE_DATA:
- move_data = TRUE;
- return 1;
-
case OPTION_DATA_REGION:
if (strcmp (arg, "upper") == 0
|| strcmp (arg, "either") == 0)
@@ -1756,7 +1750,6 @@ struct option md_longopts[] =
{"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}
};
@@ -1795,8 +1788,6 @@ md_show_usage (FILE * stream)
" known how the state is changed, warn/insert NOPs (default)\n"
" -mn and/or -my are required for this to have any effect\n"));
fprintf (stream,
- _(" -md - Force copying of data from ROM to RAM at startup\n"));
- fprintf (stream,
_(" -mdata-region={none|lower|upper|either} - select region data will be\n"
" placed in.\n"));
}