diff options
author | Paul Koning <ni1d@arrl.net> | 2011-01-06 16:40:11 +0000 |
---|---|---|
committer | Paul Koning <ni1d@arrl.net> | 2011-01-06 16:40:11 +0000 |
commit | 6b557042d624b74d3bb343cd59117331136c019b (patch) | |
tree | 397ed301140534c6b58b5e6252831689b50d74e7 /gas/config/tc-pdp11.c | |
parent | f01c89e06d1237e981432d0cf4b89b8a7600aa23 (diff) | |
download | binutils-redhat-6b557042d624b74d3bb343cd59117331136c019b.tar.gz |
* config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
references to absolute addresses.
Diffstat (limited to 'gas/config/tc-pdp11.c')
-rw-r--r-- | gas/config/tc-pdp11.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gas/config/tc-pdp11.c b/gas/config/tc-pdp11.c index 41f51bf7af..98e241f67b 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; |