aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-avr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0149bd0..4888168 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
+
2012-04-12 David S. Miller <davem@davemloft.net>
* config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 98fc0f5..42eda2f 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -1224,7 +1224,7 @@ md_apply_fix (fixS *fixP, valueT * valP, segT seg)
break;
case BFD_RELOC_32:
- bfd_putl16 ((bfd_vma) value, where);
+ bfd_putl32 ((bfd_vma) value, where);
break;
case BFD_RELOC_16: