This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH series] AVR: add support for new controller family to binutils, gcc and avr-libc


Hi Bjorn,

Thanks for continuing with this.

bfd:
2006-05-10 Bjoern Haase <bjoern.m.haase@web.de>


* archures.c: Add bfd_mach_avr6.
* cpu-avr.c: Likewise.
* bfd-in2.h: Add bfd_mach_avr6, BFD_RELOC_AVR_LO8_LDI_GS and BFD_RELOC_AVR_HI8_LDI_GS.
* libbfd.h: Add BFD_RELOC_AVR_LO8_LDI_GS, BFD_RELOC_AVR_HI8_LDI_GS.
* reloc.c: Likewise.
* elf32-avr.h: Add new file for communication with ld.
* elf32-avr.c
Add elf32-avr.h to include list.
(elf32_avr_stub_hash_entry): New function.
(elf32_avr_link_hash_table): New struct.
(avr_link_hash_table): Likewise.
(avr_stub_hash_entry): Likewise.
(avr_stub_hash_lookup): New function.
(stub_hash_newfunc): New function.
(elf32_avr_link_hash_table_create): New function.
(elf32_avr_link_hash_table_free): New function.
(avr_get_stub_addr): New function.
(debug_relax, debug_stubs): Add new global variables controlling
debugging printout to stdout.
(avr_pc_wrap_around): Change the type to bfd_vma.
(avr_replace_call_ret_sequences): Add a new variable controling linkrelax optimizations.
(avr_stub_is_required_for_16_bit_reloc): New function.
(avr_final_link_relocate): Add linker hash table to parameter list. Use stub addr. if necessary.
(elf32_avr_relocate_section):
Add linker hashtable to parameter list of avr_final_link_relocate.
(bfd_elf_avr_final_write_processing): Add support for bfd_mach_avr6.
(elf32_avr_object_p): Add support for E_AVR_MACH_AVR6.
(elf32_avr_relax_delete_bytes):
Iterate over all sections of a bfd when adjusting relocs addends.
(elf32_avr_relax_section):
Evaluate avr_replace_call_ret_sequences and recalculate the size of stub section.
(avr_stub_name): New function.
(avr_get_stub_entry): New function.
(avr_add_stub): New function.
(avr_build_one_stub): New function.
(avr_size_one_stub): New function.
(elf32_avr_setup_params): New function.
(elf32_avr_setup_section_lists): New function.
(get_local_syms): New function.
(elf32_avr_size_stubs): New function.
(bfd_elf32_bfd_link_hash_table_create): New function.
(bfd_elf32_bfd_link_hash_table_free): New function.


Gas:
2006-05-10 Bjoern Haase <bjoern.m.haase@web.de>


* config/tc-avr.c: Add new cpu targets avr6, avr2560 and avr2561.
* config/tc-avr.h (TC_VALIDATE_FIX): Don't generate fixups for PM type relocs except for constant immediates.


Include:
2006-05-10 Bjoern Haase <bjoern.m.haase@web.de>
* include/elf/avr.h
Add E_AVR_MACH_AVR6, R_AVR_LO8_LDI_GS and R_AVR_HI8_LDI_GS.


Ld:
2006-05-10 Bjoern Haase <bjoern.m.haase@web.de>


	* configure.tgt: Add avr6 to emulation list.
	* Makefile.am, ld/Makefile.in:
	Add eavr6.o and corresponding rule.
	* emulparams/avr6.sh: New file.
	* emulparams/avrX.sh:
	(TEMPLATE_NAME): Use elf32 instead of generic for target option support.
	(EXTRA_EM_FILE): Add reference to new em template file avrelf.
	* scripttempl/avr.sc: Add ".trampolines" section.
	* emultempl/avrelf.em: Add new file for target specific options.

Approved and applied.


Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]