aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-10-06Add i386-knetbsd-gnu triplet.Nick Clifton4-322/+313
2003-10-06daily updateAlan Modra1-1/+1
2003-10-05daily updateAlan Modra1-1/+1
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler2-3/+8
* coff-z8k.c (extra_case): Fix displacement length check for R_JR and R_CALLR.
2003-10-04 * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.Stephane Carrez5-251/+167
* elf32-m68hc11.c: Likewise. * elf32-m68hc12.c: Likewise. * elf32-m68hc1x.h: Likewise.
2003-10-04 * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix mergeStephane Carrez2-2/+7
of flags between HC12 and HCS12.
2003-10-04Set SEC_EXCLUDE flag on sections which become empty after merging.Nick Clifton2-2/+10
2003-10-04daily updateAlan Modra1-1/+1
2003-10-03daily updateAlan Modra1-1/+1
2003-10-02daily updateAlan Modra1-1/+1
2003-10-01daily updateAlan Modra1-1/+1
2003-09-30 * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,Jakub Jelinek2-8/+13
R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB.
2003-09-30[ bfd/ChangeLog ]Chris Demetriou6-0/+28
2003-09-30 Chris Demetriou <cgd@broadcom.com> * archures.c (bfd_mach_mipsisa64r2): New define. * bfd-in2.h: Regenerate. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. * cpu-mips.c (I_mipsisa64r2): New enum value. (arch_info_struct): Add entry for I_mipsisa64r2. * elfxx-mips.c (_bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. [ binutils/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. [ gas/Changelog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. * configure: Regenerate. * config/tc-mips.c (imm2_expr): New variable. (md_assemble, mips16_ip): Initialize imm2_expr. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. (macro): Handle M_DEXT and M_DINS. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. (mips_ip): Likewise. (OPTION_MIPS64R2): New define. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. (md_parse_option): Handle OPTION_MIPS64R2. (s_mipsset): Handle setting "mips64r2" ISA. (mips_cpu_info_table): Add mips64r2. (md_show_usage): Document -mips64r2 option. * doc/as.texinfo: Docuemnt -mips64r2 option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips64r2.d: New file. * gas/mips/cp0sel-names-mips64r2.d: New file. * gas/mips/elf_arch_mips64r2.d: New file. * gas/mips/hwr-names-mips64r2.d: New file. * gas/mips/mips32r2-ill-fp64.l: New file. * gas/mips/mips32r2-ill-fp64.s: New file. * gas/mips/mips64r2-ill.l: New file. * gas/mips/mips64r2-ill.s: New file. * gas/mips/mips64r2.d: New file. * gas/mips/mips64r2.s: New file. * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. [ include/elf/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_64R2): New define. [ include/opcode/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document +E, +F, +G, +H, and +I operand types. Update documentation of I, +B and +C operand types. (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. (M_DEXT, M_DINS): New enum values. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ldmain.c (get_emulation): Ignore "-mips64r2". [ ld/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations with MIPS64r2. [ opcodes/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" (print_insn_args): Add handing for +E, +F, +G, and +H. * mips-opc.c (I65): New define for MIPS64r2. (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to be supported on MIPS64r2.
2003-09-30daily updateAlan Modra1-1/+1
2003-09-292003-09-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+26
* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New. Handle SHN_IA_64_ANSI_COMMON. (elf_backend_section_from_bfd_section): Defined.
2003-09-29daily updateAlan Modra1-1/+1
2003-09-28daily updateAlan Modra1-1/+1
2003-09-27daily updateAlan Modra1-1/+1
2003-09-252003-09-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+29
* elflink.c (elf_link_read_relocs_from_section): Add an argument of a pointer to section. Check bad symbol index. (_bfd_elf_link_read_relocs): Modify calls to elf_link_read_relocs_from_section.
2003-09-24* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,DJ Delorie2-57/+304
R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces. (R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, R_SH_PSHA, R_SH_PSHL): New. * elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces, R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, R_SH_PSHA, R_SH_PSHL added. (sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8. (sh_elf_relocate_section): Support new relocs.
2003-09-23 * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobberedBob Wilson2-2/+7
dynamic relocation offsets.
2003-09-23 * simple.c (bfd_simple_get_relocated_section_contents): Free theAlan Modra2-1/+6
hash table using _bfd_generic_link_hash_table_free.
2003-09-23 * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". ChangeAlan Modra17-250/+202
type of prefix_length and suffix_length to int. Rename "attributes" to "attr". Comment. (_bfd_elf_get_sec_type_attr): Update prototype. * elf.c (get_special_section): Rewrite. (_bfd_elf_get_sec_type_attr): Return struct rather than passing in attr and type pointers. (_bfd_elf_new_section_hook): Adjust for above. (special_sections): Merge suffix with prefix. Set prefix_length for all entries. Set suffix_length appropriately. * elf32-m32r.c (m32r_elf_special_sections): Likewise. * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. * elf32-mcore.c (mcore_elf_special_sections): Likewise. * elf32-sh64.c (sh64_elf_special_sections): Likewise. * elf32-v850.c (v850_elf_special_sections): Likewise. * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. * elf64-alpha.c (elf64_alpha_special_sections): Likewise. * elf64-hppa.c (elf64_hppa_special_sections): Likewise. * elf64-ppc.c (ppc64_elf_special_sections): Likewise. * elf64-sh64.c (sh64_elf64_special_sections): Likewise. * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. * elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags.
2003-09-21 * elf64-alpha.c (elf64_alpha_create_got_section): InitializeDaniel Jacobowitz2-2/+12
->got if the section already exists.
2003-09-20daily updateAlan Modra1-1/+1
2003-09-19 * dwarf2.c (decode_line_info): Cope with an initially emptyNathan Sidwell2-1/+6
filename table.
2003-09-192003-09-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-351/+501
* acinclude.m4: Include ../config/accross.m4. * aclocal.m4: Regenerated. * configure.host (HOST_64BIT_TYPE): Remove if it is set to long or long long. (HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long. (host64): Remove if HOST_64BIT_TYPE is set to long. * configure.in (HOST_64BIT_TYPE): Set according to the size of long and long long. (HOST_U_64BIT_TYPE): Likewise. (host64): Likewise. * configure: Regenerated.
2003-09-19 * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)Alan Modra2-6/+11
since some ABIs round up the size of the struct.
2003-09-19daily updateAlan Modra1-1/+1
2003-09-182003-09-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+11
* elflink.c (_bfd_elf_merge_symbol): Allow type change if the old symbol is undefined and the new symbol is defined.
2003-09-18 * simple.c (bfd_simple_get_relocated_section_contents): UseAndreas Schwab2-1/+7
_bfd_generic_link_hash_table_create instead of bfd_link_hash_table_create.
2003-09-18daily updateAlan Modra1-1/+1
2003-09-17daily updateAlan Modra1-1/+1
2003-09-16daily updateAlan Modra1-1/+1
2003-09-15daily updateAlan Modra1-1/+1
2003-09-14daily updateAlan Modra1-1/+1
2003-09-13daily updateAlan Modra1-1/+1
2003-09-12daily updateAlan Modra1-1/+1
2003-09-11daily updateAlan Modra1-1/+1
2003-09-102003-09-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
2003-09-10 * elf32-hppa.c (struct elf32_hppa_link_hash_entry,Dave Anglin2-144/+112
hppa_link_hash_newfunc, hppa_build_one_stub, elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static, allocate_dynrelocs, elf32_hppa_size_dynamic_sections, elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code for generating import stubs for calls to statically linked PIC functions. (hppa_type_of_stub): Don't generate an import stub for calls to statically linked pic functions. Generate import stubs for calls in a shared object, to functions not in a regular file, and to defined weak functions. Add new argument INFO. (hppa_build_one_stub): Don't undef ADDIL_DP. (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag. (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub. (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a non-shared link. Convert instructions that use the the linkage table pointer, or a facsimile thereof, to use the global data pointer when the reloc has been changed.
2003-09-10daily updateAlan Modra1-1/+1
2003-09-09daily updateAlan Modra1-1/+1
2003-09-08 * archures.c: Add new machine names for hppa.Joel Brobecker4-6/+20
* bfd-in2.h: Regenerate. * cpu-hppa.c: Use the new machine names.
2003-09-08daily updateAlan Modra1-1/+1
2003-09-07daily updateAlan Modra1-1/+1
2003-09-06 * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): RemoveStephane Carrez3-63/+22
all_local_syms member. * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms to get the local symbols.
2003-09-06 * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.Stephane Carrez3-2/+31
(elf_backend_special_sections): Define.a PR savannah/4950: * elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors section is read-only.
2003-09-06daily updateAlan Modra1-1/+1
2003-09-05daily updateAlan Modra1-1/+1