aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2001-11-07daily updateAlan Modra1-1/+1
2001-11-07 * Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.Jakub Jelinek11-73/+788
(BFD32_BACKENDS_CFILES): Add elf-strtab.c. (elf-strtab.lo): Add rule. * Makefile.in: Rebuilt. * configure.in (elf): Add elf-strtab.lo. * configure: Rebuilt. * elf-bfd.h (elf_strtab_hash): Forward declare. (struct elf_link_hash_table): Change dynstr type to struct elf_strtab_hash *. (struct elf_obj_tdata): Change strtab_ptr type to struct elf_strtab_hash *. (_bfd_elf_strtab_init, _bfd_elf_strtab_free, _bfd_elf_strtab_add, _bfd_elf_strtab_addref, _bfd_elf_strtab_delref, _bfd_elf_strtab_clear_all_refs, _bfd_elf_strtab_size, _bfd_elf_strtab_offset, _bfd_elf_strtab_emit, _bfd_elf_strtab_finalize): New prototypes. * elf-strtab.c: New file. * elflink.h (elf_link_add_object_symbols): Use _bfd_elf_strtab_add and _bfd_elf_strtab_size instead of _bfd_stringtab calls. Call _bfd_elf_strtab_delref if DT_NEEDED entry is not needed or when forcing dynamic symbol to local. (elf_link_create_dynamic_sections): Call _bfd_elf_strtab_init instead of elf_stringtab_init. (elf_link_record_local_dynamic_symbol): Likewise, change dynstr type. Use _bfd_elf_strtab functions instead of _bfd_stringtab calls. (size_dynamic_sections): Use _bfd_elf_strtab functions instead of _bfd_stringtab calls. For DT_RUNPATH and Verdaux vda_name fields, call _bfd_elf_strtab_addref. Call elf_finalize_dynstr. (elf_adjust_dynstr_offsets, elf_finalize_dynstr): New functions. (elf_fix_symbol_flags): Call _bfd_elf_strtab_delref when forcing dynamic symbol to local. (elf_link_assign_sym_version): Likewise. (elf_bfd_final_link): Call _bfd_elf_strtab_emit instead of _bfd_stringtab_emit. * elflink.c (_bfd_elf_link_record_dynamic_symbol): Change dynstr type. Call _bfd_elf_strtab functions instead of _bfd_stringtab functions. * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. * elf.c (_bfd_elf_init_reloc_shdr): Likewise. (elf_fake_sections): Likewise. (assign_section_numbers): Call _bfd_elf_strtab_clear_all_refs on shstrtab hash table, call _bfd_elf_strtab_addref on each section name in the output. Call _bfd_elf_strtab_finalize and use _bfd_elf_strtab_offset to finalize sh_name section header fields. (_bfd_elf_compute_section_file_positions): Use _bfd_elf_strtab_size instead of _bfd_stringtab_size. (prep_headers): Change shstrtab type. Use _bfd_elf_strtab calls instead of _bfd_stringtab calls.
2001-11-07 * elflink.h (elf_link_input_bfd <removed linkonce relocs>): FixAlan Modra2-19/+27
bad symtab segfault. Formatting and warning fixes. Improve error message for internationalisation.
2001-11-06daily updateAlan Modra1-1/+1
2001-11-062001-11-06 H.J. Lu (hjl@gnu.org)H.J. Lu2-20/+92
* elflink.h (elf_link_input_bfd): Complain relocs against discarded sections.
2001-11-05daily updateAlan Modra1-1/+1
2001-11-04daily updateAlan Modra1-1/+1
2001-11-03daily updateAlan Modra1-1/+1
2001-11-03 * elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.Alan Modra2-2/+6
2001-11-02daily updateAlan Modra1-1/+1
2001-11-022001-11-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+10
* elf32-mips.c (mips_elf_calculate_relocation): Don't create dynamic relocation for symbols defined in regular objects when creating executables.
2001-11-02Add translationsNick Clifton4-2/+2080
2001-11-02Add commentNick Clifton2-1/+13
2001-11-02Initialize subspace_sections.Nick Clifton2-1/+6
2001-11-022001-11-02 H.J. Lu (hjl@gnu.org)H.J. Lu2-1/+6
* coffgen.c (coff_object_p): Return 0 if the header is too big.
2001-11-02 * elfcore.h (elf_core_file_p): Preserve and clear abfd sectionHans-Peter Nilsson2-0/+26
information. Save bfd arch and mach values. Restore on error.
2001-11-02 * elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.Alan Modra2-24/+63
(allocate_PIC_calls): New function. (allocate_dynrelocs): Don't allocate pic_call plt entries here. (elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls. (elf32_hppa_finish_dynamic_symbol): Remove dead code.
2001-11-02Fix cutnpasto in last entryHans-Peter Nilsson1-1/+1
2001-11-02 * elf32-cris.c (cris_elf_grok_prstatus): New function.Hans-Peter Nilsson2-0/+81
(cris_elf_grok_prstatus): New function. (elf_backend_grok_prstatus): Define. (elf_backend_grok_psinfo): Define.
2001-11-01daily updateAlan Modra1-1/+1
2001-11-01 * elf64-ppc.c (ppc64_elf_relocate_section): Correct branchAlan Modra2-15/+19
prediction bits.
2001-11-01[ bfd/ChangeLog ]Chris Demetriou2-0/+7
2001-10-31 Chris Demetriou <cgd@demetriou.com> * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative relocations properly. [ gas/ChangeLog ] 2001-10-31 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded PIC code, assume pointers the same size as GPRs. (macro): In M_LA_AB handling for embedded PIC code, support "la $treg,foo-bar($breg)". In load/store handling (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)" which is used by the compiler for switch statements. In load/store double multi-instruction macro handling (label ldd_std) add a comment that no special handling is currently done for embedded PIC. (mips_ip): In 'o' (16-bit offset) case, only accept 16 bit offsets. [ gas/testsuite/ChangeLog ] 2001-10-31 Chris Demetriou <cgd@broadcom.com> * gas/mips/empic.s: Undo damage inflicted on 2000-12-02. * gas/mips/empic.d: Likewise. * gas/mips/elempic.d: Likewise (it was copied into other files). * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/empic2.s: New test to check new 'la' and 'lw' (and related ops) syntax, test loads with large offsets. * gas/mips/emcic2.d: Likewise. * gas/mips/mips.exp: Run the new test on ELF platforms.
2001-10-31daily updateAlan Modra1-1/+1
2001-10-312001-10-31 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* elflink.h (elf_link_output_extsym): Don't clear the visibility field for relocateable.
2001-10-31 Revert previous delta, instead do this.Alan Modra2-4/+19
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count .plt relocs in DT_RELASZ.
2001-10-31 * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZAlan Modra2-4/+7
whenever DT_PLTRELSZ.
2001-10-31Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targetsNick Clifton2-23/+35
2001-10-31Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.Nick Clifton2-1/+5
2001-10-31Remove #if 0 around bfd_mmo_mmix_vecHans-Peter Nilsson1-2/+0
2001-10-31Split file by ^L:s as in original submitted patchHans-Peter Nilsson1-6/+6
2001-10-30daily updateAlan Modra1-1/+1
2001-10-30Add MMIX supportNick Clifton23-756/+6100
2001-10-30If the LMA for a segment is known, use it for matching sections to segments.Nick Clifton2-10/+17
Use the LMA when adjusting for inter-section alignment padding.
2001-10-30Set the LMA based on the p_paddr of the segment that contains it.Nick Clifton2-10/+29
2001-10-29daily updateAlan Modra1-1/+1
2001-10-29 * README: Fix a typo.Kazu Hirata2-1/+5
2001-10-29 * bfdsumm.texi: Fix a typo.Kazu Hirata2-1/+5
2001-10-29daily update, a bit late..Alan Modra1-1/+1
2001-10-27daily updateAlan Modra1-1/+1
2001-10-27Change footer to refer to FSF. Change subtitle to refer to original ↵Nick Clifton2-6/+11
creation date.
2001-10-27daily updateAlan Modra1-1/+1
2001-10-26daily updateAlan Modra1-1/+1
2001-10-25 * peXXigen.c (_bfd_XX_print_private_bfd_data_common): CopyRichard Henderson2-1/+9
timestamp to time_t for ctime.
2001-10-25daily updateAlan Modra1-1/+1
2001-10-24 * elf32-cris.c (cris_reloc_type_lookup): Change loop to useHans-Peter Nilsson2-4/+9
unsigned, increasing index.
2001-10-24daily updateAlan Modra1-1/+1
2001-10-232001-10-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check m != NULL before accessing it.
2001-10-23 * elflink.h (elf_link_input_bfd): Zero the reloc instead of doingAlan Modra3-142/+153
bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup doesn't accept BFD_RELOC_* on some targets, eg. hppa. * elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs. (hppa_link_hash_newfunc): Likewise. (elf32_hppa_finish_dynamic_symbol): Likewise. (allocate_dynrelocs): Always allocate .got relocs if shared. (elf32_hppa_relocate_section): Output them too. Similarly consolidate .plt reloc code, and no longer initialise .plt when a reloc is output. (elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries when no reloc is output. From Herbert Xu <herbert@gondor.apana.org.au> * elf32-hppa.c (final_link_relocate): Call bfd_set_error for unreachable branches.
2001-10-23daily updateAlan Modra1-1/+1
2001-10-222001-10-22 H.J. Lu <hjl@gnu.org>H.J. Lu3-24/+50
* configure.in (WIN32LIBADD): Use -L../libiberty for mips*-*-linux*. * configure: Rebuild.