From 0b649256e38bd4c7242c964b1f6d31e6619db81e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 17 Apr 2012 13:59:41 +0000 Subject: [PATCH] gas/ * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32. --- gas/ChangeLog | 4 ++++ gas/config/tc-avr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0149bd0050c..4888168650e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2012-04-17 Richard Sandiford + + * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32. + 2012-04-12 David S. Miller * 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 98fc0f5476b..42eda2fd1bc 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: -- 2.30.2