Add linker relaxation support for the AVR
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index f7bb9410c61358ce910f7ab26b0d8cba8b145fd3..4d9052100ff9d7bcb991ea40cf6197135d142453 100644 (file)
@@ -1,3 +1,19 @@
+2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
+       and R_AVR_MS8_LDI 
+       (bfd_elf_avr_final_write_processing): Set
+       EF_AVR_LINKRELAX_PREPARED in e_flags field.
+       (elf32_avr_relax_section): New function.
+       (elf32_avr_relax_delete_bytes): New function.
+       (elf32_avr_get_relocated_section_contents): New function.
+       (avr_pc_wrap_around): New function.
+       (avr_relative_distance_considering_wrap_around): New function.
+       (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
+       * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
 2006-03-02  DJ Delorie  <dj@redhat.com>
 
        * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
This page took 0.022757 seconds and 4 git commands to generate.