summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* Index: sim/frv/ChangeLogAndrew Cagney2003-10-3118-83/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-30 Andrew Cagney <cagney@redhat.com> * traps.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/d10v/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * simops.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/common/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: ld/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: bfd/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * syms.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. * bfd-in2.h: Re-generate.
* daily updateAlan Modra2003-10-301-1/+1
|
* * elfxx-ia64.c: Include objalloc.h, hashtab.h.Jakub Jelinek2003-10-302-85/+108
| | | | | | | | | | | | | | | | | | | | | (struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym fields. (struct elfNN_ia64_local_hash_table): Remove. (struct elfNN_ia64_link_hash_table): Change loc_hash_table's type to htab_t. Add loc_hash_memory field. (elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry): Removed. (elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New functions. (elfNN_ia64_hash_table_create): Use hashtab.h hashtable for loc_hash_table. Initialize loc_hash_memory. (elfNN_ia64_hash_table_free): New function. (elfNN_ia64_local_hash_lookup): Remove. (elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse callback. (elfNN_ia64_dyn_sym_traverse): Use htab_traverse. (get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table. (bfd_elfNN_bfd_link_hash_table_free): Define.
* * elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versionedAlan Modra2003-10-302-24/+18
| | | | symbol string in place.
* Check the correct arch_info object's mach field: all PowerPC machines areNick Clifton2003-10-302-1/+7
| | | | supersets of the original rs6000, but not later rs6000 machines.
* * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".Alan Modra2003-10-302-41/+40
| | | | | | | Add "val" and "sval" fields. (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete. (read_attribute_value): Expand and adjust DW_* occurrences. (scan_unit_for_functions, parse_comp_unit): Likewise.
* Remove separate vxworks stanza; merge withother common ELF triples.Nick Clifton2003-10-302-10/+21
|
* daily updateAlan Modra2003-10-291-1/+1
|
* * merge.c (struct sec_merge_sec_info): Update comment.Alan Modra2003-10-293-263/+199
| | | | | | | | | | | | | | | | (struct sec_merge_hash_entry): Remove entsize. (sec_merge_hash_lookup): Only adjust alignment when creating. (sec_merge_emit): Remove register keyword. (cmplengthentry, last4_eq, last_eq): Delete. (strrevcmp, strrevcmp_align, is_suffix): New. (merge_strings): Use them to implement fast suffix merging. * elf-strtab.c (struct elf_strtab_hash_entry): Update comments. Make "len" signed. (_bfd_elf_strtab_add): Lose on >2G strings. (_bfd_elf_strtab_emit): Don't emit strings with len < 0. (cmplengthentry, last4_eq): Delete. (strrevcmp, is_suffix): New. (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging.
* 2003-10-29 Daniel Jacobowitz <drow@mvista.com>Phil Blundell2003-10-292-319/+765
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-arm.h (elf32_arm_final_link_relocate): Move check for SEC_ALLOC. 2003-10-29 Philip Blundell <philb@gnu.org> * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New code sequence. (PLT_HEADER_SIZE): New. (struct elf32_arm_pcrel_relocs_copied): Rename to ... (struct elf32_arm_relocs_copied): ... this. Count both pcrel and non-pcrel relocs. All uses updated. (struct elf32_arm_link_hash_table): Add pointers to dynamic linker sections and symbol/section mapping cache. (create_got_section): New. (elf32_arm_create_dynamic_sections): New. (elf_backend_create_dynamic_sections): Use it. (elf32_arm_final_link_relocate): Support garbage collection of relocs. (elf32_arm_check_relocs): Likewise. (elf32_arm_adjust_dynamic_symbol): Likewise. (elf32_arm_copy_indirect_symbol): New. (elf32_arm_link_hash_table_create): Initialise new fields. (elf32_arm_gc_sweep_hook): Implement. (elf32_arm_discard_copies): Delete. (elf32_arm_finish_dynamic_symbol): Use new PLT code. (elf32_arm_finish_dynamic_sections): Likewise. (elf_backend_can_refcount): Define. (elf_backend_copy_indirect_symbol): Likewise. (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE.
* * elf64-ppc.c (elf_backend_grok_prstatus): Define.Alan Modra2003-10-292-2/+48
| | | | | (elf_backend_grok_psinfo): Define. (ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions.
* * elf.c (_bfd_elfcore_make_pseudosection): Allow multipleAlan Modra2003-10-292-15/+25
| | | | | | | | | sections with the same name. (elfcore_grok_lwpstatus): Likewise. (elfcore_grok_win32pstatus): Likewise. (elfcore_grok_note): Likewise. (elfcore_grok_nto_status): Likewise. (elfcore_grok_nto_gregs): Likewise.
* daily updateAlan Modra2003-10-281-1/+1
|
* daily updateAlan Modra2003-10-271-1/+1
|
* * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamicDaniel Jacobowitz2003-10-272-12/+24
| | | | objects.
* daily updateAlan Modra2003-10-261-1/+1
|
* daily updateAlan Modra2003-10-251-1/+1
|
* daily updateAlan Modra2003-10-251-1/+1
|
* * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.Richard Sandiford2003-10-242-0/+5
|
* bfd/H.J. Lu2003-10-242-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up hash table for real symbols. include/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove "wildcard". ld/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (lang_vers_match): Check "symbol" instead of "wildcard" and "pattern". Fix a typo. (lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (realsymbol): New function. (lang_new_vers_pattern): Set "symbol" and remove "wildcard". * ldlex.l (V_IDENTIFIER): Allow '\\'.
* daily updateAlan Modra2003-10-241-1/+1
|
* 2003-10-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-10-232-1/+5
| | | | * section.c (asection): Fix typo in comment.
* * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save tocAlan Modra2003-10-232-34/+94
| | | | | | | | | | reloc symbol index to it. Don't allow gd syms in shared libs to be optimized. (ppc64_elf_tls_optimize): Adjust get_tls_mask call. (ppc64_elf_size_stubs): Likewise. (ppc64_elf_relocate_section): Check that tls relocs are only used with tls syms, and similarly for non-tls. Correct symbol used when optimizing toc tls code.
* daily updateAlan Modra2003-10-231-1/+1
|
* (coff_swap_scnhdr_in): Only remove padding when processing an executable.Nick Clifton2003-10-222-4/+9
|
* bfd/Jakub Jelinek2003-10-223-71/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals field changes. (_bfd_elf_link_assign_sym_version): Likewise. * elflink.h (size_dynamic_sections): Likewise. include/ * bfdlink.h (struct bfd_elf_version_expr): Remove match field. Add wildcard and mask fields. (BFD_ELF_VERSION_C_TYPE): Define. (BFD_ELF_VERSION_CXX_TYPE): Likewise. (BFD_ELF_VERSION_JAVA_TYPE): Likewise. (struct bfd_elf_version_expr_head): New. (struct bfd_elf_version_tree): Add match field. Change type of globals and locals fields to struct bfd_elf_version_expr_head. ld/ * ldlang.c: Include hashtab.h. (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, lang_vers_match_lang_java): Remove. (lang_vers_match): New function. (lang_new_vers_pattern): Initialize wildcard and mask fields, don't initialize match. (lang_new_vers_node): Use xcalloc. Adjust for globals and locals field type changes. Set match field. (version_expr_head_hash, version_expr_head_eq): New functions. (lang_finalize_version_expr_head): New function. (lang_register_vers_node): Call lang_finalize_version_expr_head. Search in hash table if not wildcard when looking for duplicates. * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with duplicate checking. Initialize all fields of dot_entry from entry with the exception of pattern and next.
* daily updateAlan Modra2003-10-221-1/+1
|
* * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,Corinna Vinschen2003-10-215-15/+91
| | | | | | | | | bfd_mach_sh4a_nofpu): New machine types. * bfd-in2.h: Rebuilt. * cpu-sh.c (compatible): Remove unused function. (SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New. (arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu. * elf32-sh.c (sh_elf_set_mach_from_flags): Handle them.
* Fix up error messages for Maverick.Nick Clifton2003-10-212-1/+6
|
* Set the machine number as well as the architecture when converting from aNick Clifton2003-10-212-17/+25
| | | | binary file to another file type.
* Add ColfFire v4 supportNick Clifton2003-10-215-26/+46
|
* daily updateAlan Modra2003-10-211-1/+1
|
* 2003-10-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-2020-73/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
* daily updateAlan Modra2003-10-201-1/+1
|
* daily updateAlan Modra2003-10-191-1/+1
|
* Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.Hans-Peter Nilsson2003-10-185-46/+539
| | | | | | | | | | | | | | | | | | | | | | | | | * elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro. (struct _mmix_elf_section_data): New member pjs. (mmix_set_relaxable_size, mmix_elf_get_section_contents): New functions. (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE. (mmix_reloc_map): Ditto. (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE. (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto. (mmix_elf_perform_relocation): Ditto. Don't mark parameter addr unused. (mmix_elf_check_relocs): Move early return to after mmix_elf_check_common_relocs call. (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment. (_bfd_mmix_before_linker_allocation): Rename from _bfd_mmix_prepare_linker_allocated_gregs. All referers changed. Arrange to set the initial relaxable size of sections. (_bfd_mmix_after_linker_allocation): Rename from _bfd_mmix_finalize_linker_allocated_gregs. (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc. (bfd_elf64_get_section_contents): Define. * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE. * libbfd.h, bfd-in2.h: Regenerate.
* daily updateAlan Modra2003-10-181-1/+1
|
* * reloc.c (bfd_generic_relax_section): Default-setHans-Peter Nilsson2003-10-172-3/+21
| | | | | | section->_cooked_size here. (bfd_generic_get_relocated_section_contents): Don't set it here. Explain why.
* * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation ifDave Anglin2003-10-172-0/+10
| | | | output section has been discarded.
* Fix normal operation for h8300-coff targetNick Clifton2003-10-173-36/+66
|
* * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size forChristopher Faylor2003-10-172-1/+8
| | | | sections which lack size info.
* * configure.host: Add __USE_MINGW_FSEEK to HDEFINES forDanny Smith2003-10-172-0/+9
| | | | mingw32.
* daily updateAlan Modra2003-10-171-1/+1
|
* 2003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-10-162-2/+6
| | | | | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn undefined patterns with '*'.
* 2003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-10-162-1/+15
| | | | | | | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't use the last CIE from a different section. (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw size of the output section.
* .Roland McGrath2003-10-161-0/+5
|
* 2003-10-07 Roland McGrath <roland@redhat.com>Roland McGrath2003-10-161-0/+1
| | | | | * elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of new section from p_align header field.
* 2003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-10-162-2/+7
| | | | | * elf32-xtensa.c (xtensa_read_table_entries): The external size of entry is 8 bytes.
* Index: doc/ChangeLogAndrew Cagney2003-10-1644-79/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-15 Andrew Cagney <cagney@redhat.com> * bfdint.texi (BFD target vector symbols): Rename _get_symtab to _canonicalize_symtab. 2003-10-15 Andrew Cagney <cagney@redhat.com> * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab with NAME##_canonicalize_symtab. * libcoff-in.h (coff_canonicalize_symtab): Update. * xsym.h (bfd_sym_canonicalize_symtab): Update. * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update. * coffgen.c (coff_canonicalize_symtab): Update. * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update. * libnlm.h (nlmNAME(canonicalize_symtab)): Update. * ieee.c (ieee_vec): Update comment. * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update. * mmo.c (mmo_canonicalize_symtab): Update. * nlm-target.h (nlm_canonicalize_symtab): Update. * nlmcode.h (nlm_canonicalize_symtab): Update. * i386msdos.c (msdos_canonicalize_symtab): Update. * hp300hpux.c (MY (canonicalize_symtab)): Update. * oasys.c (oasys_canonicalize_symtab): Update. * som.c (som_canonicalize_symtab): Update. * pef.c (bfd_pef_canonicalize_symtab): Update. * nlmcode.h (nlm_canonicalize_symtab): Update. * xsym.c (bfd_sym_canonicalize_symtab): Update. * vms.c (vms_canonicalize_symtab): Update. * versados.c (versados_canonicalize_symtab): Update. * mach-o.c (bfd_mach_o_canonicalize_symtab): Update. * ieee.c (ieee_canonicalize_symtab): Update. * pdp11.c (NAME(aout,canonicalize_symtab)): Update. * reloc.c: Update comment. * libaout.h (NAME(aout,canonicalize_symtab)): Update. * coff64-rs6000.c (aix5coff64_vec): Update. * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update. * aoutx.h (NAME(aout,canonicalize_symtab)): Update. * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update. * hp300hpux.c (MY_canonicalize_symtab): Update. * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update. * aout-tic30.c (MY_canonicalize_symtab): Update. * aout-target.h (MY_canonicalize_symtab): Update. * ppcboot.c (ppcboot_canonicalize_symtab): Update. * elf.c (_bfd_elf_canonicalize_symtab): Update. * elfcode.h (elf_canonicalize_symtab): Update. * ihex.c (ihex_canonicalize_symtab): Update. * tekhex.c (tekhex_canonicalize_symtab): Update. * binary.c (binary_canonicalize_symtab): Update. * srec.c (srec_canonicalize_symtab): Update.
* daily updateAlan Modra2003-10-161-1/+1
|