aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2011-12-08daily updateAlan Modra1-1/+1
2011-12-08bfd:Andrew Pinski5-0/+23
2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * archures.c (bfd_mach_mips_octeon2): New macro * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsocteon2): New enum value. (arch_info_struct): Add bfd_mach_mips_octeon2. * elfxx-mips.c (_bfd_elf_mips_mach): Support E_MIPS_MACH_OCTEON2. (mips_set_isa_flags): Add bfd_mach_mips_octeon2. (mips_mach_extensions): Add bfd_mach_mips_octeon2. gas: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * tc-mips.c (CPU_IS_OCTEON): Add Octeon2. (mips_cpu_info_table): Add Octeon2. * doc/c-mips.texi: Document octeon2 as an acceptable value for -march=. gas/testsuite: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * gas/mips/mips.exp: Add Octeon2 for an architecture. Run octeon2 test. * gas/mips/octeon2.d: New file. * gas/mips/octeon2.s: New file. include/opcode: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEON2. (INSN_OCTEON2): New macro. (CPU_OCTEON2): New macro. (OPCODE_IS_MEMBER): Add Octeon2. opcodes: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * mips-dis.c (mips_arch_choices): Add Octeon2. For "octeon+", just include OcteonP for the insn. * mips-opc.c (IOCT): Include Octeon2. (IOCTP): Include Octeon2. (IOCT2): New macro. (mips_builtin_opcodes): Add "laa", "laad", "lac", "lacd", "lad", "ladd", "lai", "laid", "las", "lasd", "law", "lawd". Move "lbux", "ldx", "lhx", "lwx", and "lwux" up to where the standard loads are, and add IOCT2 to them. Add "lbx" and "lhux". Add "qmac.00", "qmac.01", "qmac.02", "qmac.03", "qmacs.00", "qmacs.01", "qmacs.01", "qmacs.02" and "qmacs.03". Add "zcb" and "zcbt".
2011-12-07daily updateAlan Modra1-1/+1
2011-12-07 PR ld/12772Alan Modra2-1/+8
* elflink.c (elf_gc_sweep_symbol): Discard unmarked symbols defined in shared libraries.
2011-12-072011-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-90/+81
* mach-o.c (bfd_mach_o_canonicalize_symtab): Fix indentation. Adjust the condition. (bfd_mach_o_read_symtab_symbol): Now returns a bfd_boolean. Adjust return statements. (bfd_mach_o_read_symtab_strtab): Likewise. (bfd_mach_o_read_symtab_symbols): Likewise. (bfd_mach_o_scan_start_address): Likewise. Make it static. (bfd_mach_o_scan): Likewise. (bfd_mach_o_read_dysymtab_symbol): Remove unused function. (bfd_mach_o_header_p): Adjust call. (bfd_mach_o_cpu_name): Make it const. (bfd_mach_o_filetype_name): Likewise. (bfd_mach_o_header_flags_name): Likewise. (bfd_mach_o_section_type_name): Likewise. (bfd_mach_o_section_attribute_name): Likewise. (bfd_mach_o_load_command_name): Likewise. (bfd_mach_o_get_section_type_from_name): Add a const qualifier after above change. (bfd_mach_o_get_section_attribute_from_name): Likewise. * mach-o.h (bfd_mach_o_read_dysymtab_symbol) (bfd_mach_o_scan_start_address, bfd_mach_o_scan): Remove.
2011-12-06daily updateAlan Modra1-1/+1
2011-12-06include/elf/ChangeLog:Ulrich Weigand3-0/+71
* common.h (NT_S390_LAST_BREAK): Define. (NT_S390_SYSTEM_CALL): Likewise. bfd/ChangeLog: * elf-bfd.h (elfcore_write_s390_last_break): Add prototype. (elfcore_write_s390_system_call): Likewise. * elf.c (elfcore_write_s390_last_break): New function. (elfcore_write_s390_system_call): Likewise. (elfcore_write_register_note): Call them. (elfcore_grok_s390_last_break): New function. (elfcore_grok_s390_system_call): Likewise. (elfcore_grok_note): Call them.
2011-12-05daily updateAlan Modra1-1/+1
2011-12-052011-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+10
* mach-o.c (bfd_mach_o_read_symtab_symbol): Accept indirect symbols.
2011-12-052011-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+11
* mach-o.c (bfd_mach_o_write_contents): Handle LC_LOAD_UPWARD_DYLIB. (bfd_mach_o_read_dylib): Likewise. (bfd_mach_o_read_command): Likewise. (bfd_mach_o_bfd_print_private_bfd_data): Likewise.
2011-12-052011-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-18/+12
* mach-o.c (bfd_mach_o_read_command): Add the bfd in the error message. (bfd_mach_o_openr_next_archived_file): Use arch name as member name. (bfd_mach_o_fat_extract): Ditto.
2011-12-04daily updateAlan Modra1-1/+1
2011-12-03daily updateAlan Modra1-1/+1
2011-12-03 PR ld/13468Alan Modra2-6/+9
* elflink.c (bfd_elf_final_link): Don't segfault when checking for DT_TEXTREL and .dynamic does not exist.
2011-12-03 PR ld/13470Alan Modra3-8/+27
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive change in 2011-07-01 commit. Comment. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
2011-12-02daily updateAlan Modra1-1/+1
2011-12-01daily updateAlan Modra1-1/+1
2011-12-01 * elf32-m68k.c (elf_m68k_check_relocs) <R_68K_8, R68K_16, R_68K_32>: ForNick Clifton2-2/+11
non-SEC_ALLOC sections break before GOT and PLT accounting.
2011-12-01 * elf32-cris.c (cris_elf_check_relocs) <plt accounting forHans-Peter Nilsson2-5/+12
R_CRIS_8, R_CRIS_16, and R_CRIS_32>: Move early break for non-SEC_ALLOC sections before GOT and PLT accounting.
2011-11-30daily updateAlan Modra1-1/+1
2011-11-29daily updateAlan Modra1-1/+1
2011-11-29opcode/Andrew Pinski5-0/+15
2011-11-29 Andrew Pinski <apinski@cavium.com> * mips-dis.c (mips_arch_choices): Add Octeon+. * mips-opc.c (IOCT): Include Octeon+. (IOCTP): New macro. (mips_builtin_opcodes): Add "saa" and "saad". bfd/ 2011-11-29 Andrew Pinski <apinski@cavium.com> * archures.c (bfd_mach_mips_octeonp): New macro. * bfd-in2.h: Regenerate. * bfd/cpu-mips.c (I_mipsocteonp): New enum value. (arch_info_struct): Add bfd_mach_mips_octeonp. * elfxx-mips.c (mips_set_isa_flags): Add bfd_mach_mips_octeonp. (mips_mach_extensions): Add bfd_mach_mips_octeonp. include/opcodes/ 2011-11-29 Andrew Pinski <apinski@cavium.com> * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEONP. (INSN_OCTEONP): New macro. (CPU_OCTEONP): New macro. (OPCODE_IS_MEMBER): Add Octeon+. (M_SAA_AB, M_SAAD_AB, M_SAA_OB, M_SAAD_OB): New enum values. gas/ 2011-11-29 Andrew Pinski <apinski@cavium.com> * config/tc-mips.c (CPU_IS_OCTEON): New macro function. (CPU_HAS_SEQ): Change to use CPU_IS_OCTEON. (NO_ISA_COP): Likewise. (macro) <ld_st>: Add support when off0 is true. Add support for M_SAA_AB, M_SAA_OB, M_SAAD_OB and M_SAAD_AB. (mips_cpu_info_table): Add octeon+. * doc/c-mips.texi: Document octeon+ as an acceptable value for -march=. gas/testsuite/ 2011-11-29 Andrew Pinski <apinski@cavium.com> * gas/mips/mips.exp: Add octeon+ for an architecture. Run octeon-saa-saad test. (run_dump_test_arch): For Octeon architectures, also try octeon@. * gas/mips/octeon-pref.d: Remove -march=octeon from command line. * gas/mips/octeon.d: Likewise. * gas/mips/octeon-saa-saad.d: New file. * gas/mips/octeon-saa-saad.s: New file
2011-11-28daily updateAlan Modra1-1/+1
2011-11-27daily updateAlan Modra1-1/+1
2011-11-26daily updateAlan Modra1-1/+1
2011-11-25daily updateAlan Modra1-1/+1
2011-11-24daily updateAlan Modra1-1/+1
2011-11-23daily updateAlan Modra1-1/+1
2011-11-232011-11-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+17
* vms-lib.c (get_idxlen): Add comments. Fix type in sizeof. (vms_write_index): Add comments.
2011-11-22daily updateAlan Modra1-1/+1
2011-11-22* elf32-rx.c (rx_elf_object_p): Add more checks for "scanning" toDJ Delorie2-0/+17
avoid using the special non-swapping target when not explicitly requested.
2011-11-22* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.DJ Delorie2-1/+5
2011-11-222011-11-22 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+10
* mach-o.c (bfd_mach_o_print_symbol): Display COM for common symbols. Print section name in brackets.
2011-11-21daily updateAlan Modra1-1/+1
2011-11-21 * config.bfd: Add vectors for powerpc and powerpc64-freebsd.Alan Modra7-0/+66
* configure.in (TDEFINES): Add rules for powerpc*-freebsd. * configure: Regenerate. * elf32-ppc.c: Add powerpc-freebsd definitions. * elf64-ppc.c: Add powerpc64-freebsd definitions. * targets.c: Add bits for powerpc and powerpc64-freebsd.
2011-11-20daily updateAlan Modra1-1/+1
2011-11-19daily updateAlan Modra1-1/+1
2011-11-18daily updateAlan Modra1-1/+1
2011-11-17daily updateAlan Modra1-1/+1
2011-11-17 * elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that itAlan Modra2-1/+6
needs to be translated only once.
2011-11-16daily updateAlan Modra1-1/+1
2011-11-16 * elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask toMaciej W. Rozycki3-72/+82
zero throughout. (mips16_elf64_howto_table_rela): Likewise. (micromips_elf64_howto_table_rela): Likewise. * elfn32-mips.c (elf_mips_howto_table_rela): Likewise. (elf_mips16_howto_table_rela): Likewise. (elf_micromips_howto_table_rela): Likewise.
2011-11-15daily updateAlan Modra1-1/+1
2011-11-15Fix a typo.Maciej W. Rozycki1-1/+1
2011-11-15 * elflink.c (_bfd_elf_create_got_section): ReplaceAlan Modra3-39/+48
bfd_make_section_with_flags with bfd_make_section_anyway_with_flags. (_bfd_elf_link_create_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_create_glink): Likewise. (ppc_elf_create_dynamic_sections): Likewise.
2011-11-15 * elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move.Maxim Kuvyrkov2-3/+7
2011-11-14daily updateAlan Modra1-1/+1
2011-11-13daily updateAlan Modra1-1/+1
2011-11-12daily updateAlan Modra1-1/+1
2011-11-11daily updateAlan Modra1-1/+1