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.
This commit is contained in:
Denis Chertykov 2012-09-11 17:01:00 +00:00
parent cfc35e0232
commit 1179bed3c9
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2012-09-11 Georg-Johann Lay <avr@gjlay.de>
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 <amodra@gmail.com> 2012-09-11 Alan Modra <amodra@gmail.com>
* Makefile.am (bootstrap): Add $EXEEXT to dependency. * Makefile.am (bootstrap): Add $EXEEXT to dependency.

View file

@ -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_LO8_LDI_PM_NEG \
|| FIXP->fx_r_type == BFD_RELOC_AVR_HI8_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_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_r_type == BFD_RELOC_AVR_16_PM) \
&& (FIXP->fx_addsy)) \ && (FIXP->fx_addsy)) \
{ \ { \
goto SKIP; \ goto SKIP; \
} }
/* This target is buggy, and sets fix size too large. */ /* This target is buggy, and sets fix size too large. */
#define TC_FX_SIZE_SLACK(FIX) 2 #define TC_FX_SIZE_SLACK(FIX) 2