aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2004-03-07daily updateAlan Modra1-1/+1
2004-03-06daily updateAlan Modra1-1/+1
2004-03-05Reviewed and approved by Alan Modra <amodra@bigpond.net.au>Fred Fish2-7/+11
2004-03-05 Fred Fish <fnf@redhat.com> * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force mips16 symbols to be even rather than testing first for even/odd. (_bfd_mips_elf_link_output_symbol_hook): Ditto.
2004-03-05 * elf.c (map_sections_to_segments): Ignore .tbss sections forNathan Sidwell2-1/+8
layout purposes. * ldlang.c (lang_add_section): Don't force SEC_LOAD on SEC_THREAD_LOCAL. (IGNORE_SECTION): Ignore .tbss sections too. (lang_size_sections_1): .tbss sections do not advance dot. * ld-scripts/size.exp: New. * ld-scripts/size-[12].{d,s,t}: New.
2004-03-04daily updateAlan Modra1-1/+1
2004-03-03daily updateAlan Modra1-1/+1
2004-03-03* elflink.c (bfd_elf_record_link_assignment): Mark undefweak andAlexandre Oliva2-0/+12
undefined symbols as hash_new.
2004-03-032003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke5-4/+31
opcodes: * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu. * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions accordingly. bfd: * archures.c: Add bfd_mach_sh4_nommu_nofpu. * cpu-sh.c: Ditto. * elf32-sh.c: Ditto. * bfd-in2.h: Regenerate. include/elf: * sh.h: Add EF_SH4_NOMMU_NOFPU. gas: * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. (sh_elf_final_processing): Output BFD type sh4_nofpu if that is the most general type or the user specifically requested it. (md_assemble): Add a new error message for when an instruction is understood, but is not allowed due to an -isa option.
2004-03-02* elf32-frv.c (struct frv_pic_relocs_info): Added fixups andAlexandre Oliva2-37/+159
dynrelocs. (_frv_count_got_plt_entries): Initialize them. (frv_pic_relocs_info_find): Add insert argument. Adjust all callers. (frv_pic_relocs_info_for_global): Likewise. (frv_pic_relocs_info_for_local): Likewise. (frv_pic_merge_early_relocs_info): New. (_frv_resolve_final_relocs_info): Use it in case one entry maps to another. (_frv_add_dyn_reloc): Add entry argument. Adjust all callers. Check that we don't exceed the allocated count for entry. (_frv_add_rofixup): Likewise. (_frv_emit_got_relocs_plt_entries): Adjust for coding standards. (elf32_frv_finish_dynamic_sections): Improve error message in case we emit too few rofixup entries.
2004-03-02daily updateAlan Modra1-1/+1
2004-03-01daily updateAlan Modra1-1/+1
2004-03-01Add fr450 support.Richard Sandiford5-6/+54
2004-02-29daily updateAlan Modra1-1/+1
2004-02-292004-02-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-347/+364
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype. * elflink.h (is_global_data_symbol_definition): Moved to elflink.c. (elf_link_is_defined_archive_symbol): Likewise. (elf_link_add_archive_symbols): Likewise. Renamed to _bfd_elf_link_add_archive_symbols. * elflink.c (elf_link_is_defined_archive_symbol): Get the size of ELF symbol table entry from backend. (_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols instead of elf_link_add_object_symbols.
2004-02-28daily updateAlan Modra1-1/+1
2004-02-28* elf-bfd.h (struct elf_backend_data): AddedAlexandre Oliva5-3/+158
elf_backend_can_make_relative_eh_frame, elf_backend_can_make_lsda_relative_eh_frame and elf_backend_encode_eh_address. (_bfd_elf_encode_eh_address): Declare. (_bfd_elf_can_make_relative): Declare. * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new hooks to decide whether to attempt to make_relative and make_lsda_relative. (_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address. (_bfd_elf_can_make_relative): New. (_bfd_elf_encode_eh_address): New. * elf32-frv.c (frv_elf_use_relative_eh_frame): New. (frv_elf_encode_eh_address): New. (elf_backend_can_make_relative_eh_frame): Define. (elf_backend_can_make_lsda_relative_eh_frame): Define. (elf_backend_encode_eh_address): Define. * elfxx-target.h (elf_backend_can_make_relative_eh_frame): Define. (elf_backend_can_make_lsda_relative_eh_frame): Define. (elf_backend_encode_eh_address): Define. (elfNN_bed): Add them.
2004-02-28* elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: SetAlexandre Oliva2-1/+6
complain_on_overflow to signed.
2004-02-27daily updateAlan Modra1-1/+1
2004-02-272004-02-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-38/+135
* elflink.h (sort_symbol): New. (elf_link_add_object_symbols): Use a sorted symbol array for weakdef.
2004-02-27 * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCALMartin Schwidefsky3-14/+13
for pc relative relocs. (elf_s390_relocate_section): Likewise. * elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for pc relative relocs. (elf_s390_relocate_section): Likewise.
2004-02-26daily updateAlan Modra1-1/+1
2004-02-262004-02-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to count_dyn_reloc.
2004-02-262004-02-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-12/+19
* elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext. field to track if a relocation is against readonly section. (count_dyn_reloc): Take a new argument for rent->reltext. (elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc. (get_reloc_section): Don't set ia64_info->reltext here. (allocate_dynrel_entries): Set ia64_info->reltext here.
2004-02-25daily updateAlan Modra1-1/+1
2004-02-24daily updateAlan Modra1-1/+1
2004-02-24* elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.Alexandre Oliva2-112/+148
(_frv_emit_got_relocs_plt_entries): Decay relocation to protected function's descriptor to symbol+offset, and map local undefweak symbol to NULL function descriptor. (elf32_frv_relocate_section): Likewise.
2004-02-23daily updateAlan Modra1-1/+1
2004-02-23Add support for 64bit NETBSD coresNick Clifton3-130/+170
2004-02-23 * elflink.h (size_dynamic_sections): If not adding DT_FLAGS andJakub Jelinek2-0/+10
DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.
2004-02-22daily updateAlan Modra1-1/+1
2004-02-212004-02-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+25
* elflink.c (_bfd_elf_merge_symbol): Properly handle undefined symbols with non-default visibility.
2004-02-21daily updateAlan Modra1-1/+1
2004-02-21 * peXXigen.c (_bfd_XXi_swap_scnhdr_out): ClearDanny Smith2-4/+8
IMAGE_SCN_MEM_WRITE on known sections only.
2004-02-20daily updateAlan Modra1-1/+1
2004-02-20 * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weakJakub Jelinek2-0/+17
symbols used in PIE relocs.
2004-02-19daily updateAlan Modra1-1/+1
2004-02-19 * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): ClearJakub Jelinek2-2/+6
.plt sh_entsize.
2004-02-18daily updateAlan Modra1-1/+1
2004-02-18 * configure.in: Update version to 2.15.90.Daniel Jacobowitz3-2/+7
* configure: Regenerate.
2004-02-17daily updateAlan Modra1-1/+1
2004-02-17bfd/Richard Sandiford2-23/+15
* elfxx-mips.c (mips_elf_calculate_relocation): Use _bfd_elf_symbol_refs_local_p to decide whether to decay a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend. (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE relocs if the symbol wasn't defined by a regular object file. Don't check the symbol's dynindx. ld/testsuite/ * ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02 changes to the way large constants are added. * ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise. Adjust order of GOT entries after today's change to the handling of GOT_PAGE relocations.
2004-02-16daily updateAlan Modra1-1/+1
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-20/+14
* bfd-in.h (file_ptr, ufile_ptr): Configure type using @bfd_file_ptr@. * bfd-in2.h: Re-generate.
2004-02-15daily updateAlan Modra1-1/+1
2004-02-14daily updateAlan Modra1-1/+1
2004-02-142004-02-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+10
* configure.host (HDEFINES): When hppa*-*-hpux*, define _LARGEFILE64_SOURCE.
2004-02-132004-02-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-8/+51
* elf.c (vma_page_aligned_bias): New function. (assign_file_positions_except_relocs) (assign_file_positions_for_segments): Replace broken modulo arithmetic with call to vma_page_aligned_bias.
2004-02-12daily updateAlan Modra1-1/+1
2004-02-112004-02-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-21/+78
* bfd-in.h: Update copyright. (bfd_tell): Change return type to file_ptr. * bfd-in2.h: Re-generate. * cache.c: Update copyright. (bfd_cache_lookup_worker): Use real_fseek, do not cast offset parameter. (close_one): Use real_ftell. * bfdio.c: Update copyright. (real_ftell, real_fseek): New functions. (bfd_tell): Use real_fseek and real_ftell, change return type to file_ptr. (bfd_seek): Use real_ftell and real_fseek, change type of file_position to a file_ptr. * libbfd-in.h: Update copyright. (real_ftell, real_fseek): Declare. * libbfd.h: Re-generate.
2004-02-11daily updateAlan Modra1-1/+1