X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2FChangeLog;h=ff7dcd4869ab3e8d3ca9745cbe150203beab3b94;hb=ff0829fd43f9844232e794f5be9f70fa20204616;hp=e3422df3d31e8fab0396bc832c56865a846b1e73;hpb=f7cb7d68c22ad9334ead499c25008d107906b891;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e3422df3d3..ff7dcd4869 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,6 +1,693 @@ +2000-09-10 Michael Sokolov + + * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for + target section name instead of dumping core when the target symbol is + undefined. + +2000-09-09 Kazu Hirata + + * riscix.c: Remove DEFUN. + +2000-09-08 Nick Clifton + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Do not + initialise flags in output bfd if the input bfd is the default + architecture with the default flags. + +2000-09-08 Kazu Hirata + + * archive.c: Fix formatting. + * coff-arm.c: Likewise. + * doc/chew.c: Likewise. + +2000-09-08 Alan Modra + + * section.c (bfd_get_unique_section_name): Put a dot before the + numeric suffix. + +2000-09-07 Kazu Hirata + + * doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID. + * elf.c: Fix formatting. + +2000-09-07 Alexandre Oliva + + * config.bfd (sh-*-linux*): Added. + * configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New. + * targets.c: Declare them. + * elf32-sh-lin.c: New file. + * Makefile.am: Compile it. + * elf32-sh.c: Don't override defines from elf32-sh-lin.c. + * configure, Makefile.in: Rebuilt. + +2000-09-06 Geoffrey Keating + + * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss + pseduo-section when determining where the TOC ends. + + * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to + output x_tvndx as it is only two bytes wide. + + * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute + reloc is 26 or 32 bits wide. + + * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant + for relocs that don't change anything. Also look at the full + 6 bits of bitsize. + +2000-09-06 Philip Blundell + + * config.bfd (arm*-*-uclinux*): New target. + +2000-09-06 Alexandre Oliva + + * configure: Rebuilt with new libtool.m4. + +2000-09-06 Alan Modra + + * section.c (bfd_get_unique_section_name): Avoid c++ reserved + word for variable name. + * bfd-in2.h: Regenerate. + +2000-09-05 Nick Clifton + + * config.in: Regenerate. + * libbfd.h: Regenerate. + * po/bfd.pot: Regenerate. + * doc/bfdint.texi: Remove CVS date string - it foils compares with + local versions. + +2000-09-05 Steven Johnson + + * cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry. + +2000-09-05 Alan Modra + + Shared library and PIC support. + * elf32-hppa.c (PLT_ENTRY_SIZE): New. + (GOT_ENTRY_SIZE): New. + (ELF_DYNAMIC_INTERPRETER): New. + (STUB_SUFFIX): Define. + (LONG_BRANCH_PIC_IN_SHLIB): Define. + (RELATIVE_DYNAMIC_RELOCS): Define. + (enum elf32_hppa_stub_type): New. + (struct elf32_hppa_stub_hash_entry): Rename offset to + stub_offset. Add a number of new fields. + (struct elf32_hppa_link_hash_entry): New. + (struct elf32_hppa_link_hash_table): Add numerous fields. Remove + global_value. + (elf32_hppa_hash_table): Rename to hppa_link_hash_table. + (elf32_hppa_stub_hash_lookup): Rename to hppa_stub_hash_lookup. + (elf32_hppa_stub_hash_newfunc): Rename to stub_hash_newfunc. Init + new fields. + (hppa_link_hash_newfunc): New function. + (elf32_hppa_link_hash_table_create): Use above function. Init new + fields. + (elf32_hppa_stub_name): Rename to hppa_stub_name. Pass in reloc + instead of addend, and remove sym_name from args. Don't use + symbol name for local syms, instead use sym index. + (elf32_hppa_size_of_stub): Rename to hppa_type_of_stub, and return + stub type rather than size. Pass in hash and handle import stub + case. Also pass in reloc instead of offset so we can calculate + PCREL22F and PCREL12F branches properly. + (elf32_hppa_build_one_stub): Rename to hppa_build_one_stub. Build + import and export stubs too. + (elf32_hppa_size_one_stub): Rename to hppa_size_one_stub. Handle + import and export stub sizing. + (elf32_hppa_check_relocs): New function. + (elf32_hppa_adjust_dynamic_symbol): New function. + (hppa_discard_copies): New function. + (elf32_hppa_size_dynamic_sections): New function. + (elf_backend_size_dynamic_sections): Define. + (elf32_hppa_finish_dynamic_symbol): New function. + (elf_backend_finish_dynamic_symbol): Define. + (elf32_hppa_size_stubs): Stash params in link hash table, and move + some local vars into the link hash table too. For shared links, + trundle over function syms, generating export stubs. Handle + PCREL22F branches. Break out stub creation code from here.. + (hppa_add_stub): .. to here. New function. + (elf32_hppa_final_link): Rename to elf32_hppa_set_gp, and don't + call the bfd linker. Use elf_gp to record global pointer. + Calculate a value from sections if $global$ is missing. + (bfd_elf32_bfd_final_link): Define as _bfd_elf32_gc_common_final_link. + (elf32_hppa_gc_mark_hook): New function. + (elf_backend_gc_mark_hook): Define. + (elf32_hppa_gc_sweep_hook): New function. + (elf_backend_gc_sweep_hook): Define. + (elf32_hppa_bfd_final_link_relocate): Rename to final_link_relocate. + Add rel to args, and remove howto, input_bfd, offset, addend, + sym_name as we can recalculate these locally. Handle calls to + dynamic objects, extra PIC relocs, PCREL22F branches. Change + handling of undefined weak syms. Check that stubs are in range. + Only look for import stubs on PCREL17F and PCREL22F relocs. Add + message on hitting a DPREL21L reloc that needs fixing. Subtract + off PC for PCREL14F. Break out code that does a stub lookup from + here.. + (hppa_get_stub_entry): ..to here. New function. + (elf32_hppa_relocate_insn): Merge into final_link_relocate. + (elf32_hppa_relocate_section): Handle got and plt relocs, dynamic + relocs, etc. etc. + (elf32_hppa_finish_dynamic_sections): New function. + (elf_backend_finish_dynamic_sections): Define. + (elf_backend_final_write_processing) Define. + (hppa_handle_PIC_calls): New function. + (elf32_hppa_build_stubs): Call it. Pass link_info to + hppa_build_one_stub. + (elf32_hppa_create_dynamic_sections): New function + to create .plt and .got then set .plt flags correctly. + (elf_backend_create_dynamic_sections): Define. + (elf32_hppa_object_p): New function. + (elf_backend_object_p): Define. + (elf32_hppa_elf_get_symbol_type): New function. + (elf_backend_get_symbol_type): Define. + (elf_backend_can_gc_sections): Define. + (elf_backend_want_got_plt): Define. + (elf_backend_plt_alignment): Set to 2. + (elf_backend_plt_readonly): Define. + (elf_backend_want_plt_sym): Define. + (elf_backend_got_header_size): Reserve one entry. + + * elf32-hppa.h (elf32_hppa_build_stubs): Don't pass stub bfd. + (elf32_hppa_size_stubs): Pass in multi_subspace. + (elf32_hppa_set_gp): Declare. + + * section.c (SEC_HAS_GOT_REF): Define new flag for asection. + (bfd_get_unique_section_name): New function. + * bfd_in2.h: Regenerate. + + * elf64-hppa.c (elf64_hppa_check_relocs): Handle R_PARISC_PCREL12F. + (elf64_hppa_size_dynamic_sections): Remove the FIXME at bfd_zalloc + comment. + + From David Huggins-Daines + * elf64-hppa.c (elf64_hppa_check_relocs): Fix a warning. + (elf64_hppa_mark_exported_functions): Set dyn_h->st_shndx. + (elf64_hppa_link_output_symbol_hook): Test dyn_h->st_shndx has + been updated in finish_dynamic_symbol before modifying function + symbol. + + * elf-hppa.h (elf_hppa_howto_table): Restructure into groups of + eight entries. Replace NULL with bfd_elf_generic_reloc. Add + R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT and R_PARISC_PCREL12F. + (_bfd_elf_hppa_gen_reloc_type): Handle R_PARISC_GNU_VT*. Add some + comments. Handle format == 12 for R_HPPA_PCREL_CALL. + (elf_hppa_final_link_relocate): Handle R_PARISC_PCREL12F. + (elf_hppa_relocate_insn): Likewise. Reformat some comments. + (elf_hppa_final_write_processing): Expose it for ARCH_SIZE == 32. + + From David Huggins-Daines + * elf-hppa.h (elf_hppa_is_local_label_name): Accept the SysV/ELF + style of local labels as well. + +2000-09-03 Philip Blundell + + * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate + references to undefined symbols in debugging sections. + +2000-09-02 H.J. Lu + + * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, + BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, + BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH + section. + +2000-09-02 Jason Eckhardt + + * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro. + (elf32_i860_is_local_label_name): New function and prototype. + +2000-09-02 Nick Clifton + + * configure.in: Increase version number to 2.10.91. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * po/bfd.pot: Regenerate. + +2000-09-02 Daniel Berlin + + * elf.c (_bfd_elf_make_section_from_shdr): Add + .gnu.linkobce.wi. to the list of debug section names. + +2000-09-02 Nick Clifton + + * dwarf2.c (find_debug_info): New function: Locate a section + containing dwarf2 debug information. + (bfd_dwarf2_find_nearest_line): Find all sections containing + debug information and include them in the stash. + +2000-09-01 Niibe Yutaka , Kaz Kojima , Alexandre Oliva + + * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, + R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New. + (sh_reloc_map): Add new relocs. + (sh_elf_check_relocs, sh_elf_link_hash_newfunc, + sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol, + sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol, + sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New + functions. + (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define. + (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, + elf_sh_plt_entry_be, elf_sh_plt_entry_le, + elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): + New array constants. + (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry): + New variables. + (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, + elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset, + elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset, + elf_sh_plt_reloc_offset): Define. + (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry, + elf_sh_link_hash_table): New structs. + (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros. + (sh_elf_relocate_section, sh_elf_check_relocs): Handle new + relocation types. + (elf_backend_create_dynamic_sections, + bfd_elf32_bfd_link_hash_table_create, + elf_backend_adjust_dynamic_symbol, + elf_backend_size_dynamic_sections, + elf_backend_finish_dynamic_symbol, + elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, + elf_backend_plt_readonly, elf_backend_want_plt_sym, + elf_backend_got_header_size, elf_backend_plt_header_size): + Define. + * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, + BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): + New relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + +2000-09-01 Alan Modra + + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27 + change. + +Thu Aug 31 22:49:30 2000 J"orn Rennecke + + * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags + not initialized, set them to indicate the SH1 instruction set. + +2000-08-31 Alexandre Oliva + + * acinclude.m4: Include libtool and gettext macros from the + top level. + * aclocal.m4, configure: Rebuilt. + +2000-08-29 Michael Snyder + + * elf.c: Eliminate references to __sparcv9 macro; replace with + autoconf variables HAVE_PSINFO32_T etc. + * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T, + HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO. + * config.in: Ditto. + * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can + detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto. + * aclocal.m4: Ditto. + * configure: Regenerate. + +2000-08-27 Alan Modra + + * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied + for any shared link, not just shared -Bsymbolic. + (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on + any shared link, and pass link info to it. + (elf_i386_size_dynamic_sections): Update comment. + (elf_i386_discard_copies): Modify to discard relocs for symbols + that have been forced local. + (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols + that have been forced local. + +2000-08-24 Denis Chertykov & Nick Clifton + + * elflink.h (elf_link_add_object_symbols): Allow common + symbols to have an alignment of 1 if explicitly requested, and + not overridden by other definitions. + +2000-08-22 Doug Kwan + + * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo. + * coffcode.h (coff_set_flags): Add detection of w65 architecture. + +2000-08-22 H.J. Lu + + * elf-bfd.h (elf_link_hash_table): Add runpath. + + * bfd-in.h (bfd_elf_get_runpath_list): New prototype. + * bfd-in2.h: Rebuilt. + + * elf.c (_bfd_elf_link_hash_table_init): Initialize the + "runpath" field to NULL. + (bfd_elf_get_runpath_list): New function. + + * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and + DT_RUNPATH entries. + +2000-08-22 Alexandre Oliva + + * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W, + R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them + explicitly. Improve validation of r_type. + +2000-08-21 H.J. Lu + + * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the + dynamic allocated content space. Add a comment to remind us that + one day this ought to be fixed. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. + * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. + +2000-08-21 Jason Eckhardt + + * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate + field with the newly relocated value instead of adding it to the + existing immediate field. + (elf32_i860_relocate_splitn): Likewise. + (elf32_i860_relocate_highadj): Likewise. + +2000-08-16 Jason Eckhardt + + * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it + was previously just a stub). + +2000-08-16 Alexandre Oliva + + * elflink.c (_bfd_elf_create_got_section): Don't abort(). + Formatting fixes. + (_bfd_elf_create_dynamic_sections): Likewise. + +2000-08-16 Andrew Macleod + + * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address + for undefined symbols to be the beginning of the section. + + * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate + four extra entries at the beginning of the .rela.plt section. + (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt + section to account for the four reserved entries in the .plt section. + +2000-08-15 Geoffrey Keating + + * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0 + to the list of NOPs we recognize after a branch-and-link. + Use the ori NOP when one is needed. + + * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation + for large archives. + +2000-08-14 Jim Wilson + + * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle + EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. + (elf64_ia64_print_private_bfd_data): Likewise. Also handle + EF_IA_64_ABSOLUTE. + +2000-08-11 Alexandre Oliva + + * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static. + +2000-08-10 Jason Eckhardt + + * elf32-i860.c (elf32_i860_relocate_section): New function. + (i860_final_link_relocate): New function. + (elf32_i860_relocate_splitn): New function. + (elf32_i860_relocate_pc16): New function. + (elf32_i860_relocate_highadj): New function. + (elf32_i860_howto): Minor adjustments to some relocations. + (elf_info_to_howto_rel): Define. + (elf_backend_relocate_section): Define. + +2000-08-10 Nick Clifton + + * elf32-arm.h: Fix formatting. + +2000-08-10 Bernd Schmidt + + * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static. + +2000-08-08 Jason Eckhardt + + * elf32-i860.c (elf32_i860_howto_table): Updated some fields. + +2000-08-07 Kazu Hirata + + * ieee.c (ieee_write_debug_part): Rewrite a comment. + * elf64-ia64.c: Fix a typo. + +2000-08-05 Jason Eckhardt + + * elf32-i860 (elf32_i860_howto_table): New structure. + (lookup_howto): New function. + (elf32_i860_reloc_type_lookup): New function. + (elf32_i860_info_to_howto_rela): New function. + (elf_code_to_howto_index): New structure. + (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela. + (bfd_elf32_bfd_reloc_type_lookup): Re-define as + elf32_i860_reloc_type_lookup. + +2000-08-04 Rodney Brown + + * som.c (struct fixup_format): Constify `format'. + (som_hppa_howto_table): Use SOM_HOWTO macro. + (try_prev_fixup, hppa_som_reloc): Decorate unused parameter. + (som_bfd_reloc_type_lookup): Likewise. + (compare_subspaces): Remove unused `count1', `count2'. + (som_begin_writing): Remove unused `total_reloc_size'. + (som_bfd_derive_misc_symbol_info): Decorate unused parameter. + (som_print_symbol, som_bfd_is_local_label_name): Likewise. + (som_set_reloc_info): Constify `cp'. Remove unused `addend'. + (som_find_nearest_line): Decorate unused parameter(s). + (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise. + (som_bfd_link_split_section): Likewise. + +2000-08-03 Nick Clifton + + * section.c: Restore backed out code. + * elf.c: Restore backed out code. + (copy_private_bfd_data): Fix bug preventing stipped dynamic + binaries from working. + * bfd-in2.h: Regenerate. + +2000-08-03 H.J. Lu + + * section.c: Back out the change made by Nick Clifton + on 2000-07-31. It breaks stripping dynamic + binaries. + * bfd-in2.h: Likewise. + * elf.c: Likewise. + +2000-08-03 Alexandre Oliva + + * elf32-sh.c (sh_elf_reloc_loop): Warning removal. + +2000-07-31 Jason Eckhardt + + * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860. + * bfd-in2.h, libbfd.h: Regenerate. + +2000-07-31 Nick Clifton + + * section.c (struct sec): Add new boolean field 'segment_mark'. + (STD_SECTION): Initialise new field to zero. + + * bfd-in2.h: Regenerate. + + * elf.c (copy_private_bfd_data): Reorganise section to segment + mapping to cope with moved sections requiring new segments, + and overlapping segments. + (SEGMENT_END): New macro: Return the end address of a segment. + (IS_CONTAINED_BY_VMA): New macro: Determine if a segment + contains a section by comparing their VMA addresses. + (IS_CONTAINED_BY_LMA): New macro: Determine if a segment + contains a section by comparing their LMA addresses. + (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a + section should be included in a segment. + (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment + follows another in memory. + (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two + segments overlap. + +2000-07-22 Jason Eckhardt + + * cpu-i860.c: Added comments. + + * elf32-i860.c (TARGET_LITTLE_SYM): Defined to + bfd_elf32_i860_little_vec. + (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". + (ELF_MAXPAGESIZE): Changed to 4096. + + * targets.c (bfd_elf32_i860_little_vec): Declaration of + new target. + (bfd_target_vector): Added bfd_elf32_i860_little_vec. + + * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added + config for little endian elf32 i860. + (targ_defvec): Define for the new config above + as "bfd_elf32_i860_little_vec". + (targ_selvecs): Define for the new config above + as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" + + * configure.in (bfd_elf32_i860_little_vec): Added recognition + of new target vec. + + * configure: Regenerated. + +2000-07-27 H.J. Lu + + * elflink.h (elf_merge_symbol): Take one more argument, + dt_needed, to indicate if the symbol comes from a DT_NEEDED + entry. Don't overide the existing weak definition if dt_needed + is true. + (elf_link_add_object_symbols): Pass dt_needed to + elf_merge_symbol (). + +2000-07-27 Nick Clifton + + * elflink.h (elf_link_size_reloc_section): Zeroes the section's + allocated contents. + +2000-07-25 Geoffrey Keating + + * configure.host (*-*-aix*): AIX has 'long long' always. + + * coff-rs6000.c (xcoff_write_one_armap_big): New procedure. + (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps. + (xcoff_write_archive_contents_big): Don't update the offset + of the symbol table, xcoff_write_armap will do it. + +2000-07-23 Ulf Carlsson + + * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead + of dynobj for SGI_COMPAT checks. + +2000-07-21 Michael Sokolov + + * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function. + * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration. + * bfd-in2.h: Regenerate. + +2000-07-21 Nick Clifton + + * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of + range symbol indices in relocs and issue an error message. + +2000-07-20 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check + info->new_dtags when setting DT_FLAGS_1. It will only be set + by the new linker options. It shouldn't break anything. + +2000-07-20 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 + only if info->new_dtags is true. + +2000-07-20 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set + DT_RUNPATH and DT_FLAGS only if info->new_dtags is true. + +2000-07-20 Hans-Peter Nilsson + + * Makefile.am (ALL_MACHINES): Add cpu-cris.lo. + (ALL_MACHINES_CFILES): Add cpu-cris.c. + (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo. + (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c. + (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules. + * Makefile.in: Rebuild. + * aclocal.m4: Rebuild. + * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris. + * archures.c (enum bfd_architecture): Add bfd_arch_cris. + (bfd_cris_arch): Declare. + (bfd_archures_list): Add bfd_cris_arch. + * bfd-in2.h: Rebuild. + * config.bfd: (cris-*-*): New target. + * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors. + * configure: Rebuild. + * elf.c (prep_headers): Add bfd_arch_cris. + * libbfd.h: Rebuild. + * libaout.h (enum machine_type): Add M_CRIS. + * reloc.c: Add CRIS relocations. + * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare. + (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec. + * cpu-cris.c, aout-cris.c, elf32-cris.c: New files. + * po/POTFILES.in, po/bfd.pot: Regenerate. + +2000-07-19 H.J. Lu + + * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set + DF_TEXTREL if DT_TEXTREL is set. + * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. + * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise. + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. + * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. + * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise. + * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also + set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if + DT_RPATH is set. + Set the DT_FLAGS and DT_FLAGS_1 entries if necessary. + +2000-07-19 H.J. Lu + + * bfd-in.h (bfd_elf_set_dt_needed_soname): New. + * bfd-in2.h: Rebuild. + + * elf-bfd.h (elf_obj_tdata): Add dt_soname. + (elf_dt_soname): New. + + * elf.c (bfd_elf_set_dt_needed_soname): New. + + * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED + entry if the shared object loaded by DT_NEEDED is used to + resolve the reference in a regular object. + +2000-07-19 H.J. Lu + + * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, + DT_DEPAUDIT and DT_AUDIT as strings. + +2000-07-19 Nick Clifton + + * format.c: Fix formatting. + +2000-07-19 H.J. Lu + + * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM. + +2000-07-19 H.J. Lu + + * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW, + DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ, + DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, + DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1, + DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, + DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT, + DT_FLAGS_1, DT_USED and DT_CHECKSUM. + +Tue Jul 18 13:11:54 2000 Andrew Cagney + + * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move + renamed functions from here... + (assign_section_numbers): Use renamed functions. + (prep_headers): Use renamed functions. + + * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here. + * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update. + * bfd-in2.h: Regenerate. + +2000-07-18 Ulf Carlsson + + * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add + parenthesis in if statement. + 2000-07-17 Koundinya K - Enable the support for Traditional MIPS. + Enable the support for Traditional MIPS. * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand return ict_none appropriately for traditional mips targets. (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips. @@ -19,15 +706,15 @@ (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT entry is required. For a function if PLT is not required then set the corresponding hash table entry to 0. - (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for + (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for traditonal mips. - (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a + (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a shared object set the value to 0. - (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol + (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol _DYNAMIC_LINKING for traditonal mips. (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP for traditonal mips. - + 2000-07-15 H.J. Lu * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. @@ -53,24 +740,24 @@ Tue Jul 11 17:21:52 2000 Andrew Cagney * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA - addresses to be "naturally" sign extended. Return -1 if unknown. + addresses to be "naturally" sign extended. Return -1 if unknown. * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration. * bfd-in2.h: Regenerate. Tue Jul 11 16:25:52 2000 Andrew Cagney * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32 - and ECOF_SIGNED_64 to list ways to extract an offset. + and ECOF_SIGNED_64 to list ways to extract an offset. (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in, - ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out): - Update. + ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out): + Update. * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64. * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32. Tue Jul 11 16:03:04 2000 Andrew Cagney * elfcode.h (elf_object_p): Use bfd_set_start_address and not - bfd_get_start_address. + bfd_get_start_address. (elf_swap_ehdr_in): Sign extend e_entry when applicable. (elf_swap_ehdr_out): Ditto. @@ -92,11 +779,11 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney 2000-07-09 Koundinya K - * elf32-mips.c (sort_dynamic_relocs): New Function. - (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs + * elf32-mips.c (sort_dynamic_relocs): New Function. + (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs via qsort to sort the dynamic relocations in increasing r_symndx value. - + 2000-07-09 Alan Modra * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add @@ -333,32 +1020,32 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into an external symbol for a non-shared, non-relocatable link. - + 2000-07-03 Nick Clifton * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol is an external symbol. (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak external symbol. - + 2000-07-03 Kazu Hirata * reloc16.c: Fix formatting. 2000-07-01 Koundinya K - * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* - to add a new target for traditional mips i.e - bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. - * configure.in: Likewise. - * configure: Rebuild. - * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in + * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* + to add a new target for traditional mips i.e + bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. + * configure.in: Likewise. + * configure: Rebuild. + * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in bfd_target_vector. (bfd_elf32_tradlittlemips_vec): Likewise. - * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test - to see that elfNN_bed does not get redefined even if the target file - is included twice for a chip. See elf32-mips.c. - + * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test + to see that elfNN_bed does not get redefined even if the target file + is included twice for a chip. See elf32-mips.c. + 2000-07-01 Alan Modra * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed @@ -366,9 +1053,9 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney * Makefile.in: Regenerate. 2000-06-30 DJ Delorie - + * peicode.h (coff_swap_filehdr_in): can't use e_magic because we - can't assume the PE header is at 0x80. + can't assume the PE header is at 0x80. 2000-06-29 Mark Elbrecht @@ -457,7 +1144,7 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney 2000-06-20 Maciej W. Rozycki * elf32-mips.c: Fix typos in comments. - + 2000-06-19 Mark Kettenis * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef @@ -470,7 +1157,7 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files. * configure.in (bfd_elf32_m68hc12_vec): Recognize. (bfd_elf32_m68hc11_vec): Likewise. - * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. + * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. Supports 68hc11 & 68hc12 at the same time. * targets.c (bfd_elf32_m68hc12_vec): Declare and put in bfd_target_vector. @@ -492,7 +1179,7 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. * elflink.h (elf_link_add_object_symbols): Likewise. (elf_link_assign_sym_version): Likewise. - + 2000-06-18 H.J. Lu * coff-i386.c (coff_i386_reloc): Don't return in case of @@ -512,7 +1199,7 @@ Tue Jul 11 16:03:04 2000 Andrew Cagney available. (elf_link_output_relocs): Likewise. (elf_reloc_link_order): Likewise. - + 2000-06-16 Nicholas Duffek * archures.c (enum bfd_architecture): #define constants for @@ -633,12 +1320,12 @@ Tue Jun 13 01:28:57 2000 J"orn Rennecke Tue May 30 15:39:04 2000 Andrew Cagney * trad-core.c: From hpux-core.c, include or - when possible. + when possible. 2000-05-31 Nick Clifton * opintl.h (_(String)): Explain why dgettext is used instead - of gettext. + of gettext. 2000-05-31 Ulrich Drepper @@ -649,8 +1336,8 @@ Tue May 30 15:39:04 2000 Andrew Cagney 2000-05-31 Alan Modra * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field - selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and - R_PARISC_DIR17F are for absolute branches; Handle them as such. + selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and + R_PARISC_DIR17F are for absolute branches; Handle them as such. 2000-05-30 Nick Clifton @@ -676,7 +1363,7 @@ Tue May 30 15:39:04 2000 Andrew Cagney 2000-05-26 Michael Snyder - * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, + * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, elfcore_grok_psinfo): Add code to allow debugging a 32-bit corefile on a 64-bit (Sparc Solaris) host. Also clean up a few old comments. @@ -774,17 +1461,17 @@ Tue May 30 15:39:04 2000 Andrew Cagney only if it is known for both input and output bfds. Separate error message strings as in some languages, it may be necessary to change more than one place in the string to change between - 'big' and 'little'. + 'big' and 'little'. * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline - endianess checks, call _bfd_generic_verify_endian_match() instead. - - * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise. + endianess checks, call _bfd_generic_verify_endian_match() instead. + + * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise. - * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise. + * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise. * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify - endianess before checking bfd flavours. + endianess before checking bfd flavours. 2000-05-22 H.J. Lu @@ -809,15 +1496,15 @@ Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com) 2000-05-17 S. Bharadwaj Yadavalli Rick Gorton - - * elflink.h: Add emitrelocations support: when enabled, relocation + + * elflink.h: Add emitrelocations support: when enabled, relocation information and relocation sections are put into final output executables. If the emitrelocations flag is set, do the following: (elf_bfd_final_link): Emit relocation sections. (elf_link_input_bfd): Compute relocation section contents. (elf_gc_sections): Don't clean relocation sections. -2000-05-16 Catherine Moore +2000-05-16 Catherine Moore * som.c (som_decode_symclass): Recognize weak symbols. @@ -889,7 +1576,7 @@ Fri May 5 20:44:40 2000 Clinton Popetz * coff64-rs6000.c: Ditto. * coff-pmac.c: Ditto. * Makefile.in: Regenerate. - + Fri May 5 16:51:03 2000 Clinton Popetz * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): @@ -1003,7 +1690,7 @@ Mon May 1 16:56:47 2000 Jim Wilson (bfd_hppa_insn2fmt): Change arg to unsigned int. Delete fmt. (hppa_rebuild_insn): Change args and return value to unsigned int. Make use of re_assemble_*. Correct case 11. - + * dep-in.sed: Handle ../opcodes/. * Makefile.am (SOURCE_HFILES): Add elf-hppa.h, elf32-hppa.h, elf64-hppa.h, hppa_stubs.h, xcoff.h. @@ -1027,7 +1714,7 @@ Mon May 1 16:56:47 2000 Jim Wilson Fri Apr 28 21:34:44 2000 Clinton Popetz * coffcode.h Copy changes mistakenly done to libcoff.h in - 4/24/2000 patch. + 4/24/2000 patch. 2000-04-29 Andreas Jaeger @@ -1048,7 +1735,7 @@ Fri Apr 28 14:58:37 2000 Clinton Popetz * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c. * coff-rs6000.c: Move all declarations and defines that are common to the xcoff backends into xcoff.h - * coff64-rs6000.c: Ditto, + * coff64-rs6000.c: Ditto, Fri Apr 28 08:35:21 2000 Clinton Popetz @@ -1060,13 +1747,13 @@ Fri Apr 28 08:35:21 2000 Clinton Popetz Fri Apr 28 08:05:12 2000 Clinton Popetz * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of - _bfd_coff_force_symnames in strings and + _bfd_coff_force_symnames in strings and _bfd_coff_debug_string_prefix_length to their default values. 2000-04-27 Alan Modra * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return if dynobj NULL. - Check local_got_refcounts before dereferencing. + Check local_got_refcounts before dereferencing. * elf32-ppc.c (ppc_elf_relocate_section): Check splt != NULL before deciding we don't need R_PPC_PLT32 relocation. @@ -1102,21 +1789,21 @@ Mon Apr 24 15:20:35 2000 Clinton Popetz xcoff64_swap_aux_out): New functions; handle xcoff symbol tables internally. (MINUS_ONE): New macro. - (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS + (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS relocation. - (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, + (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, coff_SWAP_aux_out): Map to the new functions. * coff64-rs6000.c: New file. - * libcoff.h (bfd_coff_backend_data): Add new fields - _bfd_coff_force_symnames_in_strings and + * libcoff.h (bfd_coff_backend_data): Add new fields + _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length. - (bfd_coff_force_symnames_in_strings, + (bfd_coff_force_symnames_in_strings, bfd_coff_debug_string_prefix_length): New macros for above fields. * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic. - Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead + Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead of using coff_swap_sym_in directly. (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64. - (coff_set_flags) Set magic for XCOFF64. + (coff_set_flags) Set magic for XCOFF64. (coff_compute_section_file_positions): Add symbol name length to string section length if bfd_coff_debug_string_prefix_length is true. @@ -1125,17 +1812,17 @@ Mon Apr 24 15:20:35 2000 Clinton Popetz using coff_swap_lineno_in directly. (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length fields. - * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force - symbol names into strings table when + * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force + symbol names into strings table when bfd_coff_force_symnames_in_strings is true. * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR, SET_RELOC_VADDR): New macros. - (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros. + (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros. (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C code. (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64 changes within RS6000COFF_C specific code. - (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, + (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO. * reloc.c (bfd_perform_relocation, bfd_install_relocation): Extend existing hack on target name. @@ -1197,7 +1884,7 @@ Fri Apr 21 13:20:53 2000 Richard Henderson David Mosberger Timothy Wall Jim Wilson - + * Makefile.am (ALL_MACHINES): Add cpu-ia64.lo. (ALL_MACHINES_CFILES): Add cpu-ia64.c. (BFD64_BACKENDS): Add elf64-ia64.lo. @@ -1220,7 +1907,7 @@ Fri Apr 21 13:20:53 2000 Richard Henderson Declare. (bfd_target_vect): Add bfd_elf64_ia64_little_vec. * cpu-ia64-opc.c, cpu-ia64.c, elf64-ia64.c: New files. - + 2000-04-21 Richard Henderson * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section @@ -1290,7 +1977,7 @@ Mon Apr 17 19:14:36 2000 David Mosberger bfd_efi_app_ia64_vec. (bfd_target_vector): Mention bfd_efi_app_ia32_vec and bfd_efi_app_ia64_vec. - + 2000-04-17 Timothy Wall * bfd-in2.h: Add prototypes for tic54x load page access. @@ -1298,9 +1985,9 @@ Mon Apr 17 19:14:36 2000 David Mosberger * coff-tic54x.c: Add load page functions; allow bfd_arch_unknown in customized _set_arch_mach function. * coffcode.h (coff_set_alignment_hook): Set section load page if - the appropriate macro is defined. + the appropriate macro is defined. (write_object_contents): Read section load page. - + 2000-04-13 Alan Modra * elf32-hppa.h: Update copyright date. @@ -1343,7 +2030,7 @@ Mon Apr 17 19:14:36 2000 David Mosberger * Makefile.in: Regenerate. * coffcode.h (coff_set_arch_mach_hook): Eliminate warning on unitialized variable. - + Fri Apr 7 15:56:57 2000 Andrew Cagney * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add @@ -1369,7 +2056,7 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney * Makefile.am: Fix dependency for elfarm-oabi.c * Makefile.in: Regenerate. - + * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. @@ -1378,7 +2065,7 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney * elfcore.h (elf_core_file_p): preserve value of tdata at entry, and restore it on failure. Release newly allocated tdata on failure. - + Fri Apr 7 11:33:47 2000 Jim Wilson * dwarf2.c (struct dwarf2_debug): New field dwarf_line_size. @@ -1399,7 +2086,7 @@ Fri Apr 7 11:33:47 2000 Jim Wilson * archures.c (bfd_archures_list): Add tic54x target. * coff-tic54x.c: New. * cpu-tic54x.c: New. - + 2000-04-06 Michael Snyder * elfcore.h (elf_core_file_p): call backend_object_p which @@ -1557,7 +2244,7 @@ Wed Mar 30 15:28:00 2000 Donald Lindsay 2000-03-11 Alan Modra - * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on + * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on a format mismatch rather than an "error" from bfd_read such as bfd_error_file_truncated. @@ -1667,7 +2354,7 @@ Wed Mar 30 15:28:00 2000 Donald Lindsay 'srelgot'. * elf32-mcore.c (mcore_elf_relocate_section): Initialise - 'oldinst'. + 'oldinst'. * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function parameters. @@ -1678,13 +2365,13 @@ Wed Mar 30 15:28:00 2000 Donald Lindsay * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED to unused function parameter. - + * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function parameters. Use EMPTY_HOWTO to initialise empty howto slots. Remove unused variables. - * peicode.h (pe_ILF_build_a_bfd): Initialise id6. + * peicode.h (pe_ILF_build_a_bfd): Initialise id6. 2000-03-01 H.J. Lu @@ -1743,7 +2430,7 @@ Wed Mar 30 15:28:00 2000 Donald Lindsay * configure: regenerate. * config.bfd: Add support for arm-wince, mips-pe and sh-pe - targets. + targets. * targets.c: Add mips and sh pe vectors. @@ -1818,7 +2505,7 @@ Fri Feb 25 18:39:26 2000 Rodney Brown (RodneyBrown@pmsc.com) 2000-02-24 Catherine Moore * som.c (som_misc_symbol_info): Add field - secondary_def. + secondary_def. (som_bfd_derive_misc_symbol_info): Initialize secondary_def. (som_build_and_write_symbol_table): Keep track @@ -1832,7 +2519,7 @@ Fri Feb 25 18:39:26 2000 Rodney Brown (RodneyBrown@pmsc.com) * dwarf2.c (read_address): Read 16-bits addresses. (parse_comp_unit): Accept addr_size == 2. - + 2000-02-23 Alan Modra * bfd-in.h: Update copyright date. @@ -2013,7 +2700,7 @@ Thu Feb 17 00:04:48 2000 J"orn Rennecke 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 + * 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. @@ -2051,7 +2738,7 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) * (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 + * (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. @@ -2062,7 +2749,7 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) the arch/mach info. 2000-02-08 Mark Elbrecht - + * coff-go32.c: Update comment. Update copyright. 2000-01-27 Thomas de Lellis @@ -2079,12 +2766,12 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) (bfd_is_undefined_symclass): New function. Return true if the given symbol class represents and undefined/unresolved symbol. - + (bfd_symbol_info): Use bfd_is_undefined_symclass to check for unresolved symbols. * bfd-in2.h: Add prototype for bfd_is_undefined_symbol(). - + * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the STT_ARM_16BIT flag set, but it is not attached to a data object return STT_ARM_16BIT so that it will be treated as code by the @@ -2124,7 +2811,7 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) = scnhsz, filhsz, relsz, aoutsz, etc) * coffswap.h: Ditto. - + 2000-01-13 Nick Clifton * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to @@ -2145,22 +2832,22 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) * coffgen.c: Indicate that the offset parameter is in bytes, not octets. - + * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte where appropriate to get the octet offset when calling bfd_set_section_contents. (bfd_coff_reloc_link_order): Ditto. - + * linker.c (bfd_generic_reloc_link_order): Ditto. (_bfd_default_link_order): Ditto. - + * reloc.c (bfd_perform_relocation): Distinguish between octets and bytes. Use octets when indexing into octet data; use bytes when calculating target addresses. (bfd_install_relocation): Ditto. - + * srec.c (srec_write_section): Ditto. - + 2000-01-13 Nick Clifton * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from @@ -2174,14 +2861,14 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) 2000-01-10 Egor Duda - * config.bfd: Include elf32_i386 vector to target list for cygwin + * config.bfd: Include elf32_i386 vector to target list for cygwin and mingw. - + * config.in: Undefine HAVE_WIN32_PSTATUS_T. * configure.in: Test for structure win32_pstatus_t in * configure: Regenerate. - + * elf.c (elfcore_grok_win32pstatus): New function: process win32_pstatus_t notes in elf core file. (elfcore_grok_note): Detect win32_pstatus notes. @@ -2201,7 +2888,7 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) 1999-12-27 Nick Clifton * peicode.h (pe_bfd_object_p): Only define for PE format - targets. + targets. 1999-12-17 Nick Clifton @@ -2215,7 +2902,7 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) presence of a PE format COFF object file. Also detect and warn about the presence of LINK6 format Image Library Format object files. - + 1999-12-16 Nick Clifton * coff-arm.c (NUM_ELEM): New macro. @@ -2230,12 +2917,12 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) * elflink.h (is_global_symbol_definition): New Function: Return true iff the symbol is being given a global definition in this - bfd. + bfd. (elf_link_is_defined_archive_symbol): Do not bother processing symbols for an archive element that has already been included in the link. Use is_global_symbol_definition(). - + 1999-12-09 Andrew Cagney * config.bfd: Add support for sparc-*-netbsdelf* and @@ -2372,11 +3059,11 @@ Tue Nov 30 22:41:14 1999 Jeffrey A Law (law@cygnus.com) (_bfd_elfcore_section_from_phdr): Remove call to elfcore_read_notes, now called by _bfd_elf_make_section_from_phdr. Note that this func is now just a stub between the caller and bfd_section_from_phdr. - + * elf-bfd.h (struct elf_backend_data): Add new function pointer elf_backend_section_from_phdr. (elf_backend_section_from_phdr): Add prototype. - + * elfxx-target.h (elf_backend_section_from_phdr): Define default. (elfNN_bed): Add elf_backend_section_from_phdr. @@ -2391,7 +3078,7 @@ Tue Nov 30 22:41:14 1999 Jeffrey A Law (law@cygnus.com) 1999-11-20 Nick Clifton * coff-mcore.c (coff_mcore_relocate_section): Fix typo in previous - delta. + delta. 1999-11-19 Catherine Moore @@ -2445,7 +3132,7 @@ Sat Oct 23 17:36:12 1999 Andrew Cagney bfd_mach_d10v_ts3. * cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add. * bfd-in2.h: Regenerate. - + 1999-10-15 Andrew Haley * dwarf1.c (parse_die): Fail to parse a die if its length is zero. @@ -2585,7 +3272,7 @@ Wed Sep 15 02:31:57 1999 Jeffrey A Law (law@cygnus.com) 1999-09-14 Nick Clifton * elf32-m32r.c (ELF_MAXPAGESIZE): Change to 0x1 (at request of - Mitsubishi). + Mitsubishi). Mon Sep 13 20:01:47 1999 Jeffrey A Law (law@cygnus.com) @@ -2613,7 +3300,7 @@ Mon Sep 13 20:01:47 1999 Jeffrey A Law (law@cygnus.com) PC24 relocs if the target is an undefined weak symbol. (arm_add_to_rel): Fix compiler warning. (elf32_arm_plt0_entry): Correct comments. - + 1999-09-13 Alan Modra * elfcode.h (write_relocs): Check for the_bfd NULL when handling @@ -2817,13 +3504,13 @@ Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com) DIR32, DIR64 and FPTR64 relocations. (elf_hppa_relocate_insn): Similarly. - * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the + * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the address of the .PARISC.global section. (elf_hppa_relocate_section): Lookup and pass the PA64 hash table entry elf_hppa_final_link_relocate. Do not give a warning for a reloc against an external symbol if it has a PA64 hash table entry. - (elf_hppa_final_link_relocate): Significantly rework. Handle + (elf_hppa_final_link_relocate): Significantly rework. Handle DLTIND relocations. Compute the final value of the relocation before passing the value of elf_hppa_relocate_insn. (elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling @@ -2844,7 +3531,7 @@ Tue Sep 7 17:25:12 1999 Jeffrey A Law (law@cygnus.com) (elf_hppa_relocate_insn): Similarly. * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and - DLTREL14WD relocs. + DLTREL14WD relocs. (elf_hppa_relocate_insn): Similarly. * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and @@ -2998,9 +3685,9 @@ Mon Aug 30 15:26:48 1999 Jeffrey A Law (law@cygnus.com) (ALL_MACHINES_CFILES): Add armnetbsd.c. (armnetbsd.lo): New rule with deps. * Makefile.in: Regenerate. - + * armnetbsd.c: New file: Definitions specific to arm-netbsd - target. + target. Tue Aug 24 00:25:58 1999 Jeffrey A Law (law@cygnus.com) @@ -3103,8 +3790,8 @@ Tue Aug 10 00:21:08 1999 Mark P. Mitchell prototype. Handle local symbols. Add commentary. (mips_elf_calculate_relocation): Adjust accordingly. (_bfd_mips_elf_check_relocs): Handle local symbols in R_MIPS_32 - relocations. - + relocations. + * elflink.h (elf_bfd_final_link): Tweak last change. 1999-08-09 Mark Mitchell @@ -3241,7 +3928,7 @@ Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com) Just return the relocation found. (mips_elf_relocate_section): Pull the LO16 addend out of the section itself when using REL relocations. - + * elf32-mips.c (mips_elf_calculate_relocation): Restore _DYNAMIC_LINK handling and handling of undefined symbols in shared libraries. @@ -3265,7 +3952,7 @@ Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com) and R_MIPS16_26 relocations correctly when relocating. (_bfd_mips_elf_check_relocs): Don't assume that R_MIPS_CALL_HI16 and R_MIPS_CALL_LO16 are for global symbols. - + 1999-08-02 Jakub Jelinek * elflink.h (elf_bfd_final_link): Copy the whole isym, not just @@ -3340,7 +4027,7 @@ Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com) 1999-07-27 Nick Clifton Patch generated by Bernd Schmidt. - + * coff-arm.c (coff_arm_is_local_label_name): Change to strip out only symbols that start with LOCAL_LABEL_PREFIX followed by 'L'. @@ -3417,59 +4104,59 @@ Mon Jul 19 14:03:44 1999 Mark P. Mitchell * nlm-target.h: Initialise the alternative_target field of the bfd_target structures to point to the other target (if defined). - + * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): New macro. (CREATE_LITTLE_COFF_TARGET_VEC): New macro. - + * aix386-core.c: Initialise new field of bfd_target structure. * aout-adobe.c: Initialise new field of bfd_target structure. - * aout-arm.c: Initialise new field of bfd_target structure. - * aout-target.h: Initialise new field of bfd_target structure. - * aout-tic30.c: Initialise new field of bfd_target structure. - * binary.c: Initialise new field of bfd_target structure. - * bout.c: Initialise new field of bfd_target structure. - * cisco-core.c: Initialise new field of bfd_target structure. + * aout-arm.c: Initialise new field of bfd_target structure. + * aout-target.h: Initialise new field of bfd_target structure. + * aout-tic30.c: Initialise new field of bfd_target structure. + * binary.c: Initialise new field of bfd_target structure. + * bout.c: Initialise new field of bfd_target structure. + * cisco-core.c: Initialise new field of bfd_target structure. * coff-a29k.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-alpha.c: Initialise new field of bfd_target structure. + * coff-alpha.c: Initialise new field of bfd_target structure. * coff-apollo.c: Use CREATE_BIG_COFF_TARGET_VEC. * coff-arm.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. * coff-h8300.c: Use CREATE_BIG_COFF_TARGET_VEC. * coff-h8500.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-i386.c: Initialise new field of bfd_target structure. - * coff-i860.c: Initialise new field of bfd_target structure. + * coff-i386.c: Initialise new field of bfd_target structure. + * coff-i860.c: Initialise new field of bfd_target structure. * coff-i960.c: Use CREATE_LITTLE_COFF_TARGET_VEC. * coff-m68k.c: Use CREATE_BIG_COFF_TARGET_VEC. * coff-mcore.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. - * coff-mips.c: Initialise new field of bfd_target structure. - * coff-ppc.c: Initialise new field of bfd_target structure. - * coff-rs6000.c: Initialise new field of bfd_target structure. + * coff-mips.c: Initialise new field of bfd_target structure. + * coff-ppc.c: Initialise new field of bfd_target structure. + * coff-rs6000.c: Initialise new field of bfd_target structure. * coff-sh.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. * coff-sparc.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-tic30.c: Initialise new field of bfd_target structure. + * coff-tic30.c: Initialise new field of bfd_target structure. * coff-tic80.c: Use CREATE_LITTLE_COFF_TARGET_VEC. * coff-w65.c: Use CREATE_LITTLE_COFF_TARGET_VEC. * coff-we32k.c: Use CREATE_BIG_COFF_TARGET_VEC. * coff-z8k.c: Use CREATE_BIG_COFF_TARGET_VEC. - * hppabsd-core.c: Initialise new field of bfd_target structure. - * hpux-core.c: Initialise new field of bfd_target structure. - * i386msdos.c: Initialise new field of bfd_target structure. - * i386os9k.c: Initialise new field of bfd_target structure. - * ieee.c: Initialise new field of bfd_target structure. - * ihex.c: Initialise new field of bfd_target structure. - * irix-core.c: Initialise new field of bfd_target structure. - * mipsbsd.c: Initialise new field of bfd_target structure. - * netbsd-core.c: Initialise new field of bfd_target structure. - * oasys.c: Initialise new field of bfd_target structure. - * osf-core.c: Initialise new field of bfd_target structure. - * ppcboot.c: Initialise new field of bfd_target structure. - * ptrace-core.c: Initialise new field of bfd_target structure. - * sco5-core.c: Initialise new field of bfd_target structure. - * som.c: Initialise new field of bfd_target structure. - * srec.c: Initialise new field of bfd_target structure. - * tekhex.c: Initialise new field of bfd_target structure. - * trad-core.c: Initialise new field of bfd_target structure. - * versados.c: Initialise new field of bfd_target structure. - * vms.c: Initialise new field of bfd_target structure. + * hppabsd-core.c: Initialise new field of bfd_target structure. + * hpux-core.c: Initialise new field of bfd_target structure. + * i386msdos.c: Initialise new field of bfd_target structure. + * i386os9k.c: Initialise new field of bfd_target structure. + * ieee.c: Initialise new field of bfd_target structure. + * ihex.c: Initialise new field of bfd_target structure. + * irix-core.c: Initialise new field of bfd_target structure. + * mipsbsd.c: Initialise new field of bfd_target structure. + * netbsd-core.c: Initialise new field of bfd_target structure. + * oasys.c: Initialise new field of bfd_target structure. + * osf-core.c: Initialise new field of bfd_target structure. + * ppcboot.c: Initialise new field of bfd_target structure. + * ptrace-core.c: Initialise new field of bfd_target structure. + * sco5-core.c: Initialise new field of bfd_target structure. + * som.c: Initialise new field of bfd_target structure. + * srec.c: Initialise new field of bfd_target structure. + * tekhex.c: Initialise new field of bfd_target structure. + * trad-core.c: Initialise new field of bfd_target structure. + * versados.c: Initialise new field of bfd_target structure. + * vms.c: Initialise new field of bfd_target structure. 1999-07-19 Andreas Schwab @@ -3480,11 +4167,11 @@ Sat Jul 17 02:28:28 1999 Mark P. Mitchell * elflink.h (elf_link_adjust_relocs): New function. (elf_bfd_final_link): Use it. - (elf_link_input_bfd): Deal with the fact that there can be + (elf_link_input_bfd): Deal with the fact that there can be two relocation sections for a single section. (elf_reloc_link_order): Likewise. - * elf32-mips.c (_bfd_mips_elf_final_link): Don't set GP for + * elf32-mips.c (_bfd_mips_elf_final_link): Don't set GP for a relocateable object. (_bfd_mips_elf_relocate_section): Handle relocateable links. @@ -3581,7 +4268,7 @@ Wed Jul 14 15:23:19 1999 Jim Wilson subwords when handling an R_MIPS16_26 relocation. (mips_elf_perform_relocation): Don't be paranoid abour right-shift semantics. - + * elf32-mips.c (elf_mips16_gprel_howto): Adjust src_mask and dst_mask to match reality. (_bfd_mips_elf_calculate_relocation): Handle R_MIPS16_GPREL. @@ -3592,7 +4279,7 @@ Wed Jul 14 15:23:19 1999 Jim Wilson 1999-07-13 Mark Mitchell * elf32-mips.c (mips_elf_calculate_relocation): Handle R_MIPS16_26. - (mips_elf_relocate_section): Adjust calling sequence for + (mips_elf_relocate_section): Adjust calling sequence for mips_elf_perform_relocation. (mips_elf_perform_relocation): Take additional argument. Handle R_MIPS16_26. Use bfd_put for convenience. @@ -3751,7 +4438,7 @@ Thu Jul 8 12:32:23 1999 John David Anglin (_bfd_mips_elf_create_dynamic_sections): New function. (_bfd_mips_elf_add_symbol_hook): Likewise. (_bfd_mips_elf_adjust_dynamic_symbol): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. (_bfd_mips_elf_finish_dynamic_sections): Likewise. (_bfd_mips_elf_gc_mark_hook): Likewise. (_bfd_mips_elf_gc_sweep_hook): Likewise. @@ -3821,7 +4508,7 @@ Thu Jul 8 12:32:23 1999 John David Anglin (_bfd_mips_elf_print_private_bfd_data): Print ABI=64 for 64-bit ABI. (_bfd_mips_elf_fake_sections): Remove duplicate handling of - .msym. + .msym. (mips_elf_global_got_index): Use MIPS_ELF_GOT_SIZE. (mips_elf_got_offset_from_index): Use misp_elf_got_section. (mips_elf_create_local_got_entry): Use MIPS_ELF_GOT_SIZE. @@ -3842,7 +4529,7 @@ Thu Jul 8 12:32:23 1999 John David Anglin (mips_elf64_section_processing): Likewise. Adjust elf backend entries to use _bfd_mips_elf variants now publicly available. - + * elflink.h (elf_link_create_dynamic_sections): Handle non-standard hash-entry sizes. (size_dynamic_sections): Likewise. @@ -3856,7 +4543,7 @@ Thu Jul 8 12:32:23 1999 John David Anglin * elf-bfd.h (elf_size_info): Add hash_entry_size, int_rels_per_ext_rel, swap_dyn_out, swap_reloc_in, swap_reloc_out, - wap_reloca_in, and swap_reloca_out. + wap_reloca_in, and swap_reloca_out. * elflink.h (elf_link_read_relocs_from_section): Adjust to handle multiple internal relocations per external relocation. (link_read_relocs): Likewise. @@ -3873,7 +4560,7 @@ Thu Jul 8 12:32:23 1999 John David Anglin (mips_elf64_be_swap_reloca_in): Likewise. (mips_elf64_be_swap_reloca_out): Likewise. (mips_elf64_size_info): Add entries for new fields. - + 1999-07-07 Ian Lance Taylor * elflink.h (elf_bfd_final_link): Assert that section reloc_count @@ -3897,17 +4584,17 @@ Tue Jul 6 10:23:39 1999 Jeffrey A Law (law@cygnus.com) 1999-07-05 Nick Clifton * coffcode.h (coff_set_arch_mach_hook): Recognise arm 5 - architectures. + architectures. (coff_set_flags): Recognise arm 5 architectures. * cpu-arm.c: Add support for strongarm and arm9 cpus. Add support for armv5 architecture. * archures.c: Add bfd_mach_arm_5 and bfd_mach_arm_5T. - + * reloc.c: Add new, assembler only, ARM reloc: BFD_RELOC_ARM_ADRL_IMMEDIATE. - + * bfd-in2.h: Regenerate. 1999-07-02 Mark Mitchell @@ -3947,7 +4634,7 @@ Fri Jul 2 12:21:10 1999 Jeffrey A Law (law@cygnus.com) (elf_link_size_reloc_section): Likewise. (elf_bfd_final_link): Use elf_link_size_reloc_section. (elf_link_input_bfd): Use elf_link_output_relocs. - + * elf32-mips.c (_bfd_mips_elf_fake_sections): Use _bfd_elf_init_reloc_shdr to initialize rel_hdr2. @@ -4011,7 +4698,7 @@ Thu Jul 1 13:58:48 1999 Jeffrey A Law (law@cygnus.com) (mips_elf_finish_dynamic_sections): Correct off-by-one error setting DT_MIPS_UNREFEXTNO. Adjust setting of DT_MIPS_GOTSYM for change to global_gotsym. Set DT_MIPS_OPTIONS on IRIX6. - + 1999-06-30 Ian Lance Taylor * elf32-mips.c (mips_elf_final_link): Don't set CPIC when doing a @@ -4060,7 +4747,7 @@ Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com) (mips_elf_finish_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. Don't assert the existence of .rld_map on IRIX6. (mips_elf_finish_dynamic_sections): Use MIPS_ELF_STUB_SECTION_NAME. - + * elf32-mips.c (mips_elf_adjust_dynindx): Remove. (mips_elf_size_dynamic_sections): Use _bfd_elf_link_adjust_dynindx instead. @@ -4093,7 +4780,7 @@ Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com) (IRIX_COMPAT): Likewise. (SGI_COMPAT): Implement in terms of IRIX_COMPAT. (mips_elf_relocate_section): Fix typo. - + 1999-06-26 Mumit Khan * peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections @@ -4224,7 +4911,7 @@ Wed Jun 16 03:09:57 1999 Jeffrey A Law (law@cygnus.com) * elflink.h (elf_link_remove_section_and_adjust_dynindices): Remove abfd parameter. Use _bfd_strip_section_from_output. (bfd_elf_size_dynamic_sections): Adjust callers accordingly. - + * elf-bfd.h (_bfd_elf_link_adjust_dynindx): New function. * elflink.c (_bfd_elf_link_adjust_dynindx): Define it. * elflink.h (elf_link_remove_section_and_adjust_dynindices): New @@ -4521,7 +5208,7 @@ Wed Jun 2 11:51:12 1999 Andreas Schwab no_pipeline_knowledge is false and the binary is from an old toolchain. (elf32_arm_merge_private_data): Generate an error if an attempt is - made to linl together big endian and little endian code. + made to link together big endian and little endian code. (elf32_arm_post_process_headers): New function: Initialise the EI_OSABI and EI_ABIVERSION fields of the newly created ELF program header.