diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
commit | b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b (patch) | |
tree | 69d40fbef2c0c4ee32fe97b7a28b510f2e3c2dbc /gas/config/tc-msp430.c | |
parent | 7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (diff) |
Notes
Diffstat (limited to 'gas/config/tc-msp430.c')
-rw-r--r-- | gas/config/tc-msp430.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c index 6978b85a3e1af..6bf21549d456c 100644 --- a/gas/config/tc-msp430.c +++ b/gas/config/tc-msp430.c @@ -1,6 +1,7 @@ /* tc-msp430.c -- Assembler code for the Texas Instruments MSP430 - Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 + Free Software Foundation, Inc. Contributed by Dmitry Diky <diwil@mail.ru> This file is part of GAS, the GNU Assembler. @@ -20,9 +21,6 @@ the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <stdio.h> -#include <string.h> -#include <stdlib.h> #include <limits.h> #define PUSH_1X_WORKAROUND @@ -34,7 +32,7 @@ /* We will disable polymorphs by default because it is dangerous. - The potencial problem here is the following: assume we got the + The potential problem here is the following: assume we got the following code: jump .l1 @@ -168,7 +166,7 @@ static struct hcodes_s msp430_hcodes[] = const char comment_chars[] = ";"; const char line_comment_chars[] = "#"; -const char line_separator_chars[] = ""; +const char line_separator_chars[] = "{"; const char EXP_CHARS[] = "eE"; const char FLT_CHARS[] = "dD"; @@ -487,7 +485,7 @@ skip_space (char * s) return s; } -/* Extract one word from FROM and copy it to TO. Delimeters are ",;\n" */ +/* Extract one word from FROM and copy it to TO. Delimiters are ",;\n" */ static char * extract_operand (char * from, char * to, int limit) @@ -1918,7 +1916,6 @@ msp430_force_relocation_local(fixS *fixp) return 1; else return (!fixp->fx_pcrel - || fixp->fx_plt || generic_force_reloc(fixp)); } |