summaryrefslogtreecommitdiff
path: root/bfd/elf32-cr16.c
Commit message (Collapse)AuthorAgeFilesLines
* PR ld/11133Alan Modra2010-01-081-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.
* Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton2009-12-111-5/+0
| | | | Fix up all warnings generated by the addition of this switch.
* 2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy2009-09-291-3/+0
| | | | | * elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case.
* 2009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy2009-09-091-0/+14
| | | | | * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the linkonce or linker script discarded section.
* update copyright datesAlan Modra2009-09-021-1/+1
|
* 2009-07-26 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy2009-07-271-0/+15
| | | | | * elf32-cr16.c (elf_cr16_final_link_relocate): Add code to handle to R_cr16_NUM32 relocation.
* * Add PIC support for CR16 target.M R Swami Reddy2008-11-271-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.
* * dwarf2.c (read_section): Fix formatting.Nick Clifton2008-11-181-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.
* elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.M R Swami Reddy2008-06-181-0/+1
|
* * elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.Nick Clifton2007-10-121-1/+1
| | | | * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
* Various CR16 fixesNick Clifton2007-10-011-122/+276
|
* Switch sources over to use the GPL version 3Nick Clifton2007-07-031-1/+1
|
* New port: National Semiconductor's CR16Nick Clifton2007-06-291-0/+1433