aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-06-29 00:41:02 +0000
committerSteve Chamberlain <sac@cygnus>1995-06-29 00:41:02 +0000
commit30355216bd56a1e5a91fd979227f29414b7ae234 (patch)
tree66057ca381eb4243fb610d21d2cf198d7ac07a91 /gas/config/tc-i386.c
parentde71eb7786da1170ae4b4acabeb4c62513c19602 (diff)
downloadgdb-30355216bd56a1e5a91fd979227f29414b7ae234.zip
gdb-30355216bd56a1e5a91fd979227f29414b7ae234.tar.gz
gdb-30355216bd56a1e5a91fd979227f29414b7ae234.tar.bz2
* config/obj-coff.c (fixup_segment): PE doens't use
the strange common symbol format that other 386s formats do. * config/tc-i386.c (md_begin): If LEX_AT defined then '@' is in the set of identifiers. (i386_operand): If LEX_AT, then don't look for @goto stuff. * config/te-pe.h: Define LEX_AT.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r--gas/config/tc-i386.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 2b58aff..29c6b50 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -477,6 +477,10 @@ md_begin ()
if (isalpha (c) || c == '_' || c == '.' || isdigit (c))
identifier_chars[c] = c;
+#ifdef LEX_AT
+ identifier_chars['@'] = '@';
+#endif
+
if (c == ' ' || c == '\t')
space_chars[c] = c;
}
@@ -2158,7 +2162,7 @@ i386_operand (operand_string)
save_input_line_pointer = input_line_pointer;
input_line_pointer = displacement_string_start;
END_STRING_AND_SAVE (displacement_string_end);
-
+#ifndef LEX_AT
{
/*
* We can have operands of the form
@@ -2196,7 +2200,7 @@ i386_operand (operand_string)
input_line_pointer = tmpbuf;
}
}
-
+#endif
exp_seg = expression (exp);
#ifdef BFD_ASSEMBLER
@@ -2795,17 +2799,6 @@ md_undefined_symbol (name)
return 0;
}
-/* Parse an operand that is machine-specific.
- We just return without modifying the expression if we have nothing
- to do. */
-
-/* ARGSUSED */
-void
-md_operand (expressionP)
- expressionS *expressionP;
-{
-}
-
/* Round up a section size to the appropriate boundary. */
valueT
md_section_align (segment, size)