summaryrefslogtreecommitdiff
path: root/gas/config/tc-avr.h
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2012-09-11 17:00:57 +0000
committerDenis Chertykov <denisc@overta.ru>2012-09-11 17:00:57 +0000
commitd221b5af8e19cad2651c93dacf9d1101f5c4d37c (patch)
treedd0d783f4955614d7502f4d12f25c73c8aec952c /gas/config/tc-avr.h
parent8d373b34332269ee2316578214f17ffcf10e12cd (diff)
downloadbinutils-redhat-d221b5af8e19cad2651c93dacf9d1101f5c4d37c.tar.gz
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 777a9df37a..e82bd01c19 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