diff options
author | Paul Koning <pkoning@equallogic.com> | 2011-01-06 16:41:35 +0000 |
---|---|---|
committer | Paul Koning <pkoning@equallogic.com> | 2011-01-06 16:41:35 +0000 |
commit | 12505806d06803312a664d33cd05ab45067a67f1 (patch) | |
tree | 74516feba4b443ec748a383a9a69c33dd09bb3a2 /gas/config/tc-pdp11.c | |
parent | 663055845203f3a548a59ffd2849e6e1f9312799 (diff) | |
download | gdb-12505806d06803312a664d33cd05ab45067a67f1.zip gdb-12505806d06803312a664d33cd05ab45067a67f1.tar.gz gdb-12505806d06803312a664d33cd05ab45067a67f1.tar.bz2 |
* 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 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; |