This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. f36e88862f94c15a88fa27df7af906ad75a42e7f
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 1 Jul 2014 09:21:44 -0000
- Subject: gdb and binutils branch master updated. f36e88862f94c15a88fa27df7af906ad75a42e7f
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via f36e88862f94c15a88fa27df7af906ad75a42e7f (commit)
from ba8e7d1e24bc53269b5814c99a321783dab3812a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f36e88862f94c15a88fa27df7af906ad75a42e7f
commit f36e88862f94c15a88fa27df7af906ad75a42e7f
Author: Barney Stratford <barney_stratford@fastmail.fm>
Date: Tue Jul 1 10:20:17 2014 +0100
Add support for the AVR Tiny series of microcontrollers.
* archures.c: add avrtiny architecture for avr target.
* bfd-in2.h: Regenerate.
* cpu-avr.c (arch_info_struct): add avrtiny arch info.
* elf32-avr.c (elf_avr_howto_table): new relocation R_AVR_LDS_STS_16
added for 16 bit LDS/STS instruction of avrtiny arch.
(avr_reloc_map): reloc R_AVR_LDS_STS_16 is mapped to
BFD_RELOC_AVR_LDS_STS_16.
(bfd_elf_avr_final_write_processing): select machine number avrtiny arch.
(elf32_avr_object_p): set machine number for avrtiny arch.
* libbfd.h: Regenerate.
* reloc.c: Add documentation for BFD_RELOC_AVR_LDS_STS_16 reloc.
* config/tc-avr.c (mcu_types): Add avrtiny arch.
Add avrtiny arch devices attiny4, attiny5, attiny9, attiny10, attiny20
and attiny40.
(md_show_usage): Add avrtiny arch in usage message.
(avr_operand): validate and issue error for invalid register for avrtiny.
add new reloc exp for 16 bit lds/sts instruction.
(md_apply_fix): check 16 bit lds/sts operand for out of range and encode.
(md_assemble): check ISA for arch and issue diagnostic.
* include/elf/avr.h (E_AVR_MACH_AVRTINY): define avrtiny machine number.
(R_AVR_LDS_STS_16): define 16 bit lds/sts reloc number.
* include/opcode/avr.h (AVR_ISA_TINY): define avrtiny specific ISA.
(AVR_ISA_2xxxa): define ISA without LPM.
(AVR_ISA_AVRTINY): define avrtiny arch ISA.
Add doc for contraint used in 16 bit lds/sts.
Adjust ISA group for icall, ijmp, pop and push.
Add 16 bit lds/sts encoding and update 32 bit lds/sts constraints.
* opcodes/avr-dis.c (avr_operand): Handle constraint j for 16 bit lds/sts.
(print_insn_avr): do not select opcode if insn ISA is avrtiny and machine
is not avrtiny.
* Makefile.am (ALL_EMULATION_SOURCES): add avrtiny emulation source.
(eavrtiny.c): add rules for avrtiny emulation source.
* Makefile.in: Regenerate.
* configure.tgt: Add avrtiny to avr target emulations.
* scripttempl/avrtiny.sc: New file.
linker script template for avrtiny arch.
* emulparams/avrtiny.sh: New file.
emulation parameters for avrtiny arch.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 18 ++++
bfd/archures.c | 1 +
bfd/bfd-in2.h | 5 +
bfd/cpu-avr.c | 43 ++++----
bfd/elf32-avr.c | 141 +++++++++++++++----------
bfd/libbfd.h | 1 +
bfd/reloc.c | 5 +
gas/ChangeLog | 16 +++
gas/NEWS | 2 +
gas/config/tc-avr.c | 107 ++++++++++++++-----
gas/doc/c-avr.texi | 91 +++++++++--------
include/elf/ChangeLog | 14 +++
include/elf/avr.h | 16 ++--
include/opcode/ChangeLog | 12 ++
include/opcode/avr.h | 42 +++++---
ld/ChangeLog | 14 +++
ld/Makefile.am | 5 +
ld/Makefile.in | 6 +
ld/configure.tgt | 2 +-
ld/emulparams/avrtiny.sh | 13 +++
ld/scripttempl/avrtiny.sc | 250 +++++++++++++++++++++++++++++++++++++++++++++
opcodes/ChangeLog | 9 ++
opcodes/avr-dis.c | 19 +++-
23 files changed, 658 insertions(+), 174 deletions(-)
create mode 100644 ld/emulparams/avrtiny.sh
create mode 100644 ld/scripttempl/avrtiny.sc
hooks/post-receive
--
gdb and binutils