aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-07-29 13:52:00 +0000
committerNick Clifton <nickc@redhat.com>2005-07-29 13:52:00 +0000
commit0a7b9ba6058643f22eec1d04d981efdb1c78b12b (patch)
tree6f5ff0725974b08c12b151d58622fea8c820894b /gas
parente9156f741ab144279ff8cd831d33f2dd7f6232cd (diff)
downloadgdb-0a7b9ba6058643f22eec1d04d981efdb1c78b12b.zip
gdb-0a7b9ba6058643f22eec1d04d981efdb1c78b12b.tar.gz
gdb-0a7b9ba6058643f22eec1d04d981efdb1c78b12b.tar.bz2
(m32r_check_fixup): Fixed X_op check.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-m32r.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bd65c4b..5bdaec6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.
+
2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (handle_large_common): Declare only for ELF.
diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c
index 978f373..54452c5 100644
--- a/gas/config/tc-m32r.c
+++ b/gas/config/tc-m32r.c
@@ -479,7 +479,7 @@ m32r_check_fixup (expressionS *main_exp, bfd_reloc_code_real_type *r_type_p)
return 0;
}
- if (exp->X_op == O_PIC_reloc || exp->X_md != BFD_RELOC_UNUSED)
+ if (exp->X_op == O_PIC_reloc)
{
*r_type_p = exp->X_md;
if (exp == main_exp)