aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-19 08:56:08 +0000
committerAlan Modra <amodra@gmail.com>2005-02-19 08:56:08 +0000
commitb5682e5666232dbae25d81089f71a68ed4146ffc (patch)
treeb75fd98017b9f80de60ae34d0806314d2106ba64 /gas
parentc187109005662c6b91a6ae5ed3b9ecacd798d61f (diff)
downloadbinutils-b5682e5666232dbae25d81089f71a68ed4146ffc.zip
binutils-b5682e5666232dbae25d81089f71a68ed4146ffc.tar.gz
binutils-b5682e5666232dbae25d81089f71a68ed4146ffc.tar.bz2
* config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
* read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test. * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-hppa.h14
-rw-r--r--gas/doc/internals.texi8
-rw-r--r--gas/read.c6
4 files changed, 11 insertions, 23 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bc63a19..59e755e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
+ * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
+ * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
+
2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 4b43a7f..666d03b 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -1,6 +1,6 @@
/* tc-hppa.h -- Header file for the PA
Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002,
- 2003 Free Software Foundation, Inc.
+ 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -119,15 +119,9 @@ extern const char hppa_symbol_chars[];
parse_cons_expression_hppa (EXP)
#define TC_CONS_FIX_NEW cons_fix_new_hppa
-/* On the PA, an equal sign often appears as a condition or nullification
- completer in an instruction. This can be detected by checking the
- previous character, if the character is a comma, then the equal is
- being used as part of an instruction. */
-#define TC_EQUAL_IN_INSN(C, PTR) ((C) == ',')
-
-/* Similarly for an exclamation point. It is used in FP comparison
- instructions and as an end of line marker. When used in an instruction
- it will always follow a comma. */
+/* On the PA, an exclamation point can appear in an instruction. It is
+ used in FP comparison instructions and as an end of line marker.
+ When used in an instruction it will always follow a comma. */
#define TC_EOL_IN_INSN(PTR) (*(PTR) == '!' && (PTR)[-1] == ',')
int hppa_fix_adjustable PARAMS((struct fix *));
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index 1c3ad97..e0fb749 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1024,14 +1024,6 @@ LABELS_WITHOUT_COLONS is defined.
If you define this macro, GAS will not require pseudo-ops to start with a
@kbd{.} character.
-@item TC_EQUAL_IN_INSN
-@cindex TC_EQUAL_IN_INSN
-If you define this macro, it should return nonzero if the instruction is
-permitted to contain an @kbd{=} character. GAS will call it with two
-arguments, the character before the @kbd{=} character, and the value of
-@code{input_line_pointer} at that point. GAS uses this macro to decide if a
-@kbd{=} is an assignment or an instruction.
-
@item TC_EOL_IN_INSN
@cindex TC_EOL_IN_INSN
If you define this macro, it should return nonzero if the current input line
diff --git a/gas/read.c b/gas/read.c
index 3365c82..807f410 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -710,11 +710,7 @@ read_a_source_file (char *name)
}
else if (c == '='
|| ((c == ' ' || c == '\t')
- && input_line_pointer[1] == '='
-#ifdef TC_EQUAL_IN_INSN
- && !TC_EQUAL_IN_INSN (c, input_line_pointer)
-#endif
- ))
+ && input_line_pointer[1] == '='))
{
equals (s, 1);
demand_empty_rest_of_line ();