aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2000-02-22 * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning forIan Lance Taylor2-3/+19
invalid relocation types, and change them to R_386_NONE.
2000-02-222000-02-22 H.J. Lu <hjl@gnu.org>Ian Lance Taylor1-4/+6
* elflink.h (elf_bfd_final_link): Call output_extsym for global symbols converted to local symbols even when stripping all symbols. (elf_link_output_extsym): Process global symbols converted to local symbols even if they are being stripped.
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra7-16/+47
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 Taylor5-16/+24
* 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 Keating2-5/+10
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 Keating3-77/+800
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 Henderson5-34/+58
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-17Fix copyright line.Kevin Buettner1-1/+1
2000-02-17AIX 4.3 core dump changes.Kevin Buettner2-12/+54
2000-02-17bfd:Joern Rennecke7-45/+414
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 Henderson4-87/+94
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 Taylor12-38/+91
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-13rebuildIan Lance Taylor1-16/+42
2000-02-10Add hooks to support TI COFF handling.Timothy Wall3-0/+19
2000-02-10Fix problem where -relax could reorder multiple consecutive sets of theJoern Rennecke2-16/+123
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 Wall2-4/+12
routines have access to the arch/mach info.
2000-02-08apply patch from MArk Elbrecht tpo update comment and copyrightNick Clifton2-2/+6
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 Clifton3-6/+63
function symbols and weak data symbols.
2000-01-27Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions whenNick Clifton2-7/+27
bounded by non-function labels.
2000-01-26Most of these changes are really only cosmetic. The readelf.c patchAlan Modra4-6/+16
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 Clifton2-5/+31
2000-01-21Fix seeks and reads past the end of a BIMNick Clifton2-1/+23
2000-01-20fix spelling of MotorolaNick Clifton2-2/+2
2000-01-14fix mis-applied patchNick Clifton2-1/+9
2000-01-13Applied Tim Wall's patch to replace RELSZ and friends with bfd_coff_relsz andNick Clifton3-41/+52
friends.
2000-01-13Fix bug in interwork stubs from thumb to armNick Clifton2-1/+6
2000-01-13Apply Tim walls octest vs bytes patchNick Clifton9-53/+155
2000-01-13Apply for for CR 102957.Nick Clifton2-1/+7
2000-01-10Add arm-conix targetNick Clifton2-1/+6
2000-01-10Apply patch from Egor Duda to process win32_pstatus notes in core dumps.Nick Clifton6-2/+109
2000-01-04oops - omitted from previous deltaNick Clifton1-1/+1
2000-01-03ELF visibility patch from Martin Loewis.Nick Clifton4-7/+65
1999-12-29 * elflink.h (bfd_elf,size_dynamic_sections): Don't export allRichard Henderson2-14/+19
if no dynamic sections created.
1999-12-28fix PE file format detectionNick Clifton2-1/+9
1999-12-17Move PE format object file detection code into common place.Nick Clifton4-128/+96
1999-12-17catch bad arm relocsNick Clifton2-10/+36
1999-12-14Fix detection of common symbolsNick Clifton2-5/+54
1999-12-14Add support for sparc-*-netbsdelf* and sparc-*-netbsdaout*.Andrew Cagney2-1/+15
1999-12-14fix detection of common symbols.Nick Clifton2-1/+8
1999-12-10Fix elf linker's handling of commons in archive mapsNick Clifton2-1/+120
1999-12-10Revert previous patch.Nick Clifton19-76/+35
1999-12-10Change AR for ELF so that common symbols are not included in archive map.Nick Clifton19-15/+111
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-07Add support for SSE registers in ELF core files.Jim Blandy1-12/+49
* elf.c (elfcore_make_note_pseudosection): New function. (elfcore_grok_prfpreg): Use it. (elfcore_grok_prxfpreg): New function. (elfcore_grok_note): Recognize Linux NT_PRXFPREG notes.
1999-12-03 * elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16Ian Lance Taylor2-0/+7
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 Law5-3/+189
* 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 Blandy3-0/+71
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 Meissner5-0/+65
1999-11-26Add support for target specific processing of ELF segmentsNick Clifton4-17/+82