From: Denis Chertykov Date: Tue, 11 Sep 2012 17:01:00 +0000 (+0000) Subject: PR gas/13503 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1179bed3c9899cce55e344e24249c27ab6256362;p=binutils-gdb.git PR gas/13503 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7b736da3020..b1004d22376 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ + +2012-09-11 Georg-Johann Lay + + PR gas/13503 + * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO, + BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO. + 2012-09-11 Alan Modra * Makefile.am (bootstrap): Add $EXEEXT to dependency. diff --git a/gas/config/tc-avr.h b/gas/config/tc-avr.h index 777a9df37a2..e82bd01c192 100644 --- a/gas/config/tc-avr.h +++ b/gas/config/tc-avr.h @@ -139,11 +139,14 @@ extern long md_pcrel_from_section (struct fix *, segT); || FIXP->fx_r_type == BFD_RELOC_AVR_LO8_LDI_PM_NEG \ || FIXP->fx_r_type == BFD_RELOC_AVR_HI8_LDI_PM_NEG \ || FIXP->fx_r_type == BFD_RELOC_AVR_HH8_LDI_PM_NEG \ + || FIXP->fx_r_type == BFD_RELOC_AVR_8_LO \ + || FIXP->fx_r_type == BFD_RELOC_AVR_8_HI \ + || FIXP->fx_r_type == BFD_RELOC_AVR_8_HLO \ || FIXP->fx_r_type == BFD_RELOC_AVR_16_PM) \ && (FIXP->fx_addsy)) \ { \ goto SKIP; \ - } + } /* This target is buggy, and sets fix size too large. */ #define TC_FX_SIZE_SLACK(FIX) 2