From f494e23d8258d0808a8a790c0fa81f7c942fe25b Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Mon, 21 Feb 2011 23:27:01 +0000 Subject: [PATCH] * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate initialization of offset_reloc. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 3448f020a..73ee82a89 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-02-21 Maciej W. Rozycki + + * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate + initialization of offset_reloc. + 2011-02-15 Richard Henderson * dw2gencfi.c (dot_cfi_dummy): New. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index ae37e02e0..c84952cbd 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; -- 2.11.4.GIT