aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2012-04-17 13:59:41 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2012-04-17 13:59:41 +0000
commit0b649256e38bd4c7242c964b1f6d31e6619db81e (patch)
tree461b6ba88632a5737abdb548808b7477151570f0 /gas
parentf41f5e616a40673b56bf68aefb99ad7d94fd17ae (diff)
downloadgdb-0b649256e38bd4c7242c964b1f6d31e6619db81e.zip
gdb-0b649256e38bd4c7242c964b1f6d31e6619db81e.tar.gz
gdb-0b649256e38bd4c7242c964b1f6d31e6619db81e.tar.bz2
gas/
* config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
Diffstat (limited to 'gas')
-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: