diff options
author | Barney Stratford <barney_stratford@fastmail.fm> | 2014-07-07 16:15:19 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-07-07 16:15:19 +0100 |
commit | 75f580857a7c65525a98a701c65d0814be04155f (patch) | |
tree | 48b3d0d2c727ec1d4cdfddb5d847fbf30bafdeb9 /include | |
parent | 38e229b2b3b5cc28c40ae114146bcdb45f60fc46 (diff) | |
download | binutils-75f580857a7c65525a98a701c65d0814be04155f.tar.gz binutils-75f580857a7c65525a98a701c65d0814be04155f.tar.bz2 binutils-75f580857a7c65525a98a701c65d0814be04155f.zip |
Adds support for writing values to AVR system I/O registers.
* elf32-avr.c: Handle R_AVR_PORT5 and R_AVR_PORT6.
* reloc.c: Add BFD_RELOC_AVR_PORT5 and BFD_RELOC_AVR_PORT6.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* avr.h: Add R_AVR_PORT5 and R_AVR_PORT6.
* config/tc-avr.c (avr_operand): Permit referring to r26-r31 by
name as [xyz][hl]. Permit using a symbol whoes name begins with
`r' to refer to a register.
Allow arbitrary expressions for the P and p operators.
(md_apply_fix): Check the BFD_RELOC_AVR_PORT5 and
BFD_RELOC_AVR_PORT6 relocations.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/avr.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 2db10e1f565..35d4f4ba53e 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2014-07-07 Barney Stratford <barney_stratford@fastmail.fm> + + * avr.h: Add R_AVR_PORT5 and R_AVR_PORT6. + 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm> Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> Pitchumani Sivanupandi <pitchumani.s@atmel.com> diff --git a/include/elf/avr.h b/include/elf/avr.h index 0f3ed0333ee..f2f500d49a3 100644 --- a/include/elf/avr.h +++ b/include/elf/avr.h @@ -85,6 +85,8 @@ START_RELOC_NUMBERS (elf_avr_reloc_type) RELOC_NUMBER (R_AVR_DIFF16, 31) RELOC_NUMBER (R_AVR_DIFF32, 32) RELOC_NUMBER (R_AVR_LDS_STS_16, 33) + RELOC_NUMBER (R_AVR_PORT6, 34) + RELOC_NUMBER (R_AVR_PORT5, 35) END_RELOC_NUMBERS (R_AVR_max) #endif /* _ELF_AVR_H */ |