aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-02-21 23:27:02 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-02-21 23:27:02 +0000
commitdfa58db10cd0f761a650f63cd47c15423cda88de (patch)
treeb1590bd3cf15037b90d60b024da3392ee1c03938 /gas
parent8ecaf248f5cbe3f00d9bfdb967af8cfad571ccbb (diff)
downloadgdb-dfa58db10cd0f761a650f63cd47c15423cda88de.zip
gdb-dfa58db10cd0f761a650f63cd47c15423cda88de.tar.gz
gdb-dfa58db10cd0f761a650f63cd47c15423cda88de.tar.bz2
* config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
initialization of offset_reloc.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3448f02..73ee82a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
+ initialization of offset_reloc.
+
2011-02-15 Richard Henderson <rth@redhat.com>
* dw2gencfi.c (dot_cfi_dummy): New.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index ae37e02..c84952c 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -10075,9 +10075,6 @@ mips_ip (char *str, struct mips_cl_insn *ip)
/* Check whether there is only a single bracketed expression
left. If so, it must be the base register and the
constant must be zero. */
- offset_reloc[0] = BFD_RELOC_LO16;
- offset_reloc[1] = BFD_RELOC_UNUSED;
- offset_reloc[2] = BFD_RELOC_UNUSED;
if (*s == '(' && strchr (s + 1, '(') == 0)
{
offset_expr.X_op = O_constant;