aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra1-0/+17
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
2000-02-21 ELF HPPA doesn't work at present; remove it until it does.Ian Lance Taylor1-0/+12
* config.bfd: Comment out setting targ_defvec to bfd_elf32_hppa_vec. * Makefile.am: Rebuild dependencies. (BFD32_BACKENDS): Remove elf32-hppa.lo. (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c. (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h. * Makefile.in: Rebuild. * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
2000-02-19* coffcode.h (coff_set_arch_mach_hook): Use free(), because thereGeoffrey Keating1-0/+5
is no bfd_free(). Revert bfd_free part of previous change.
2000-02-19* coffcode.h (coff_set_arch_mach_hook): Don't use variable-sizeGeoffrey Keating1-0/+11
arrays. (coff_compute_section_file_positions): Use bfd_free to pair bfd_malloc. (coff_write_object_contents): Likewise. * coff-rs6000.c (xcoff_howto_table_16): New variable. (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
2000-02-18 * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirectRichard Henderson1-0/+20
and hide_symbol members. (elf_link_hash_copy_indirect): Remove. (elf_link_hash_hide_symbol): Remove. (struct elf_backend_data): Add elf_backend_copy_indirect_symbol and elf_backend_hide_symbol. (_bfd_elf_link_hash_copy_indirect): Declare. (_bfd_elf_link_hash_hide_symbol): Declare. * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument. (_bfd_elf_link_hash_hide_symbol): Likewise. (_bfd_elf_link_hash_table_init): Don't init killed members. * elflink.h (elf_link_add_object_symbols): Use the bed function pointers not elf_link_hash_{copy_indirect,hide_symbol}. (elf_link_assign_sym_version): Likewise. * elfxx-target.h (elf_backend_copy_indirect_symbol): Default. (elf_backend_hide_symbol): Likewise. (elfNN_bed): Update for new members.
2000-02-17AIX 4.3 core dump changes.Kevin Buettner1-0/+11
2000-02-17bfd:Joern Rennecke1-0/+35
Reinstate bits of sh4 support that got accidentally deleted. Add sh-dsp support. bfd: * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros. (bfd_mach_sh3_dsp): Likewise. (bfd_mach_sh4): Reinstate. (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750. * bfd-in2.h: Regenerate. * coff-sh.c (struct sh_opcode): flags is no longer short. (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros. (sh_opcode41, sh_opcode42): Integrate as sh_opcode41. (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes. (sh_opcode41, sh_opcode4, sh_opcode80): Likewise. (sh_opcodes): No longer const. (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays. (sh_insn_uses_reg): Check for USESAS and USESR8. (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS. (_bfd_sh_align_load_span): Return early for SH4. Modify sh_opcodes lookup table for sh-dsp / sh3-dsp. Take into account that field b of a parallel processing insn could be mistaken for a separate insn. * cpu-sh.c (arch_info_struct): New array elements for sh2, sh-dsp and sh3-dsp. Reinstate element for sh4. (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros. (SH4_NEXT): Reinstate. (SH3_NEXT, SH3E_NEXT): Adjust. * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare. * elf32-sh.c (sh_elf_set_private_flags): New function. (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise. (sh_elf_merge_private_data): New function. (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define. (bfd_elf32_bfd_copy_private_bfd_data): Define. (bfd_elf32_bfd_merge_private_bfd_data): Change to sh_elf_merge_private_data. gas: * config/tc-sh.c ("elf/sh.h"): Include. (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. (md.begin): Initialize target_arch. Only include opcodes in has table that match selected architecture. (parse_reg): Recognize register names for sh-dsp. (parse_at): Recognize post-modify addressing. (get_operands): The leading space is now optional. (get_specific): Remove FDREG_N support. Add support for sh-dsp arguments. Update valid_arch. (build_Mytes): Add support for SDT_REG_N. (find_cooked_opcode): New function, broken out of md_assemble. (assemble_ppi, sh_elf_final_processing): New functions. (md_assemble): Use find_cooked_opcode and assemble_ppi. (md_longopts, md_parse_option): New option: -dsp. * config/tc-sh.h (elf_tc_final_processing): Define. (sh_elf_final_processing): Declare. include/elf: * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros. (EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise. (EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise. opcodes: * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions. (print_insn_ppi): Likewise. (print_insn_shx): Use info->mach to select appropriate insn set. Add support for sh-dsp. Remove FD_REG_N support. * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support. (sh_arg_type): Likewise. Remove FD_REG_N. (sh_dsp_reg_nums): New enum. (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros. (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise. (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise. (arch_sh3_dsp_up): Likewise. (sh_opcode_info): New field: arch. (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and D_REG_N. Fill in arch field. Add sh-dsp insns.
2000-02-13 * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect andRichard Henderson1-0/+14
hide_symbol members. (elf_link_hash_copy_indirect): New. (elf_link_hash_hide_symbol): New. * elflink.h (elf_link_add_object_symbols): Break out copy from indirect new new symbol to elf.c. (elf_link_assign_sym_version): Break out privatization of non-exported symbol to elf.c. * elf.c (_bfd_elf_link_hash_copy_indirect): New. (_bfd_elf_link_hash_hide_symbol): New. (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol.
2000-02-13 * section.c (_bfd_strip_section_from_output): Add info parameter.Ian Lance Taylor1-0/+13
If it passed as non-NULL, use it to check whether any input BFD has an input section which uses this output section. Change all callers. * bfd-in2.h: Rebuild. * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of 1999-11-29. * bfd-in2.h: Rebuild.
2000-02-10Add hooks to support TI COFF handling.Timothy Wall1-0/+9
2000-02-10Fix problem where -relax could reorder multiple consecutive sets of theJoern Rennecke1-0/+12
same register: * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG, USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros. * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes. * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg, sh_insns_uses_or_sets_freg): New functions. * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros. * (sh_insns_conflict): Use new functions and new macros to detect conflicts when two instructions both set same integer registers, both set same fp register, and both set special register.
2000-02-09Set arch/mach info prior to swapping in sections, so that the swappingTimothy Wall1-0/+6
routines have access to the arch/mach info.
2000-02-08apply patch from MArk Elbrecht tpo update comment and copyrightNick Clifton1-0/+4
2000-02-072000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-2/+2
* ChangeLog: Whitespace change to test logging. * bfd/ChangeLog, dejagnu/ChangeLog, include/ChangeLog, tcl/ChangeLog: Same.
2000-01-28Apply patch from Thomas de Lellis to allow nm to distinguish between weakNick Clifton1-1/+19
function symbols and weak data symbols.
2000-01-27Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions whenNick Clifton1-0/+7
bounded by non-function labels.
2000-01-26Most of these changes are really only cosmetic. The readelf.c patchAlan Modra1-0/+11
fixes a thinko in get_dynamic_flags. I found at least one message string that included a `%' being passed to printf in the format argument.
2000-01-24Remove use of a GCC extension when allocating local arrays.Nick Clifton1-0/+5
2000-01-21Fix seeks and reads past the end of a BIMNick Clifton1-0/+7
2000-01-14fix mis-applied patchNick Clifton1-0/+5
2000-01-13Applied Tim Wall's patch to replace RELSZ and friends with bfd_coff_relsz andNick Clifton1-0/+7
friends.
2000-01-13Fix bug in interwork stubs from thumb to armNick Clifton1-0/+5
2000-01-13Apply Tim walls octest vs bytes patchNick Clifton1-0/+31
2000-01-13Apply for for CR 102957.Nick Clifton1-0/+6
2000-01-10Add arm-conix targetNick Clifton1-0/+5
2000-01-10Apply patch from Egor Duda to process win32_pstatus notes in core dumps.Nick Clifton1-0/+14
2000-01-03ELF visibility patch from Martin Loewis.Nick Clifton1-0/+7
1999-12-29 * elflink.h (bfd_elf,size_dynamic_sections): Don't export allRichard Henderson1-0/+5
if no dynamic sections created.
1999-12-28fix PE file format detectionNick Clifton1-0/+5
1999-12-17Move PE format object file detection code into common place.Nick Clifton1-0/+13
1999-12-17catch bad arm relocsNick Clifton1-0/+10
1999-12-14Fix detection of common symbolsNick Clifton1-0/+10
1999-12-14Add support for sparc-*-netbsdelf* and sparc-*-netbsdaout*.Andrew Cagney1-0/+5
1999-12-14fix detection of common symbols.Nick Clifton1-0/+5
1999-12-10Fix elf linker's handling of commons in archive mapsNick Clifton1-0/+11
1999-12-10Revert previous patch.Nick Clifton1-0/+20
1999-12-10Change AR for ELF so that common symbols are not included in archive map.Nick Clifton1-0/+35
Change LD for ELF so that archive elements whoes archive map contains a reference to a common symbol will get linkled in. Add new field to bfd_target structure and initialise it for all bfd targets.
1999-12-07*** empty log message ***Jim Blandy1-0/+8
1999-12-03 * elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16Ian Lance Taylor1-0/+6
value by 4 before storing it back in the field. From Koundinya. K <kk@ddeorg.soft.net>.
1999-12-01 * archures.c (bfd_mach_am33): Define.Jeff Law1-0/+11
* bfd-in2.h: Rebuilt. * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions. (compute_function_info): Handle additional registers saved by movm on the am33. (elf_mn10300_mach): Handle E_MN10300_MACH_AM33. (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33.
1999-11-29* elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): NewJim Blandy1-0/+7
functions. * bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New declarations.
1999-11-28Add new relocations for alpha explicit relocation supportMichael Meissner1-0/+17
1999-11-26Add support for target specific processing of ELF segmentsNick Clifton1-0/+19
1999-11-25Add SEC_CODE and SEC_READONLY flags to glue sections.Nick Clifton1-0/+3
1999-11-25Add SEC_CODE and SEC_READONLY flags to glue sections.Nick Clifton1-0/+5
1999-11-20fix typoiNick Clifton1-0/+5
1999-11-19 * elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding.Catherine Moore1-0/+5
(elf_cpu32_plt_entry): Likewise.
1999-11-18Fix processing of RVA relocsNick Clifton1-0/+7
1999-11-18 * elf-bfd.h (struct elf_backend_data): Reorder collect andRichard Henderson1-0/+10
type_change_ok; add sign_extend_vma. * elf32-mips.c (elf_backend_sign_extend_vma): Define. * elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma. (elf_swap_shdr_in, elf_swap_phdr_in): Likewise. * elfxx-target.h (elf_backend_sign_extend_vma): Default. (elfNN_bed): Follow struture changes.
1999-11-09 * libbfd.c (bfd_read): Check result of read against desired resultIan Lance Taylor1-0/+10
using !=, not <. (_bfd_generic_get_section_contents): Set bfd_error if the seek is invalid compared to the section size.