aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-cr16.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-08 PR ld/11133Alan Modra1-18/+4
* elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
2009-12-11Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton1-5/+0
Fix up all warnings generated by the addition of this switch.
2009-09-292009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy1-3/+0
* elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case.
2009-09-092009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy1-0/+14
* elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the linkonce or linker script discarded section.
2009-09-02update copyright datesAlan Modra1-1/+1
2009-07-272009-07-26 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy1-0/+15
* elf32-cr16.c (elf_cr16_final_link_relocate): Add code to handle to R_cr16_NUM32 relocation.
2008-11-27 * Add PIC support for CR16 target.M R Swami Reddy1-112/+1613
* elf32-cr16.c (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT): New macros (cr16_elf_howto_table): Add entries for for R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT. (cr16_reloc_map): Ditto (_bfd_cr16_elf_create_got_section): New function to create GOT section. (_bfd_cr16_elf_create_dynamic_sections): New function to create dynamic section. (_bfd_cr16_elf_adjust_dynamic_symbol): New function to adjust symbol defined by dynamic object. (_bfd_cr16_elf_size_dynamic_sections): New function to find the size of dynamic section. (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic symbols. (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic sections. (bfd_cr16_elf32_create_embedded_relocs): New function to create embedded relocs in .emreloc section in memory for .data.rel section. (_bfd_cr16_elf_reloc_type_class): New function for classify reloc types. (cr16_elf_check_relocs): New function for checking reloc types in first phase. (cr16_elf_final_link_relocate): Update for handling the new reloc types R_CR16_GOT_REGREL20 and R_CR16_GOTC_REGREL20. (elf32_cr16_relax_section): Update relax implementation. * reloc.c (bfd_reloc_code_type): Add entries for R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT. * bfd-in.h (bfd_boolean bfd_cr16_elf32_create_embedded_relocs): Declared * libbfd.h, bfd-in2.h: Regenerate.
2008-11-18 * dwarf2.c (read_section): Fix formatting.Nick Clifton1-29/+29
(read_n_bytes): Remove unhelpful comment. (read_indirect_string): Pass symbol table to read_section in case the .debug_str section needs relocating. PR 7037 * elf32-cr16.c (cr16_elf_howto_table): Zero the src_mask field of the reloc descriptions.
2008-06-18 elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.M R Swami Reddy1-0/+1
2007-10-12* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.Nick Clifton1-1/+1
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
2007-10-01Various CR16 fixesNick Clifton1-122/+276
2007-07-03Switch sources over to use the GPL version 3Nick Clifton1-1/+1
2007-06-29New port: National Semiconductor's CR16Nick Clifton1-0/+1433