aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-avr.h
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2012-09-11 17:01:00 +0000
committerDenis Chertykov <denisc@overta.ru>2012-09-11 17:01:00 +0000
commit1179bed3c9899cce55e344e24249c27ab6256362 (patch)
treee40f17e8f82002a8fc92af44b81aa6011ff34f28 /gas/config/tc-avr.h
parentcfc35e02327c01a6d80d38612d7987735208807d (diff)
downloadgdb-1179bed3c9899cce55e344e24249c27ab6256362.zip
gdb-1179bed3c9899cce55e344e24249c27ab6256362.tar.gz
gdb-1179bed3c9899cce55e344e24249c27ab6256362.tar.bz2
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.
Diffstat (limited to 'gas/config/tc-avr.h')
-rw-r--r--gas/config/tc-avr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-avr.h b/gas/config/tc-avr.h
index 777a9df..e82bd01 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