aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-10-082003-10-08 Dave Brolley <brolley@redhat.com>Dave Brolley5-1/+18
On behalf of Michael Snyder <msnyder@redhat.com> * archures.c: Add FRV fr550 machine. * cpu-frv.c: Ditto. * elf32-frv.c: Ditto. * bfd-in2.h: Regenerate.
2003-10-08 * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub codeThiemo Seufer2-5/+13
for non-SGI N64 ABI. Improve code consitency.
2003-10-08Include bfd_elf64_sparc_vec if BFD64 is enabled.Nick Clifton2-2/+5
2003-10-08daily updateAlan Modra1-1/+1
2003-10-07* elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16'sAlexandre Oliva2-1/+6
rightshift to 2.
2003-10-07bfd/Changelog:Nathan Sidwell6-34/+63
* libbfd-in.h (_bfd_link_section_stabs): Add string offset parameter. * cofflink.c (coff_link_add_symbols): Deal with split stab sections. * elflink.h (elf_link_add_object_symbols): Deal with split stab sections. * stabs.c (_bfd_link_section_stabs): Add string offset parameter. * libbfd.h: Regenerated. ld/ChangeLog: * ldwrite.c (unsplittable_name): New. (clone_section): Strip existing numeric suffix. Only truncate names for coff targets. (split_sections): Use unsplittable_name. binutils/ChangeLog: * objdump.c (read_section_stabs): Just read one section, return pointer to it. Add size parameter. (print_section_stabs): Add string offset parameter. Adjust. (struct stab_section_names): Add string offset member. (find_stabs_sections): Correct check for split section suffix, adjust read_section_stabs and print_section_stabs calls. (dump_stabs_section): Clear string_offset, free string table.
2003-10-07 * coffcode.h (coff_set_alignment_hook): With PE_COFF relocNathan Sidwell4-8/+46
overflow, set reloc start position to after the count reloc. Subtract one from num relocs. Give error on 0xffff relocs and no overflow. * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc overflow. * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >= 0xffff.
2003-10-07daily updateAlan Modra1-1/+1
2003-10-062003-10-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+37
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the last CIE/FDE if needed.
2003-10-06Change target of hppa-netbsd portNick Clifton2-2/+6
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.