aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-pdp11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-pdp11.c')
-rw-r--r--gas/config/tc-pdp11.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gas/config/tc-pdp11.c b/gas/config/tc-pdp11.c
index 41f51bf..98e241f 100644
--- a/gas/config/tc-pdp11.c
+++ b/gas/config/tc-pdp11.c
@@ -501,8 +501,6 @@ parse_op_no_deferred (char *str, struct pdp11_code *operand)
/* label, d(rn), -(rn) */
default:
{
- char *old = str;
-
if (strncmp (str, "-(", 2) == 0) /* -(rn) */
{
str = parse_reg (str + 2, operand);
@@ -527,11 +525,6 @@ parse_op_no_deferred (char *str, struct pdp11_code *operand)
if (*str != '(')
{
- if (operand->reloc.exp.X_op != O_symbol)
- {
- operand->error = _("Label expected");
- return old;
- }
operand->code = 067;
operand->additional = 1;
operand->word = 0;