X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2FChangeLog;h=71782484f5861c7f277d4e780b78f64ee55e94b5;hb=bf572ba0b9deeeba341d197a3412a3c0b44d819f;hp=e935927984381d113f37b9a780f76f2e4472bc97;hpb=715c11f963fe6412d91c27e74f1e3c6a907b0fed;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e935927984..71782484f5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,686 @@ +1999-05-31 Mark Mitchell + + * elf-bfd.h (elf_backend_data): Remove use_rela_p. Add + may_use_rel_p, may_use_rela_p, default_use_rela_p. + (bfd_elf_section_data): Add use_rela_p. + * elf.c (bfd_section_from_shdr): Set use_rela_p appropriately. + (_bfd_elf_new_section_hook): Likewise. + (elf_fake_sections): Use may_use_rela_p, etc., instead of + use_rela_p. + (_bfd_elf_copy_private_section_data): Copy use_rela_p. + * elfcode.h (write_relocs): Determine whether or not use rela + relocs based on the relocation section header. + * elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p + instead of use_rela_p. + * elfxx-target.h (elf_backend_may_use_relp): New macro. + (elf_backend_may_use_rela_p): Likewise. + (elf_backend_default_use_rela_p): Likewise. + (elfNN_bed): Use them. + +Wed Jun 2 12:38:49 1999 Miodrag Vallat + + * hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096. + +Tue Jun 1 17:57:58 1999 Mark P. Mitchell + + * reloc.c (BFD_RELOC_MIPS_SUB): New relocation. + (BFD_RELOC_MIPS_GOT_PAGE): Likewise. + (BFD_RELOC_MIPS_GOT_OFST): Likewise. + (BFD_RELOC_MIPS_GOT_DISP): Likewise. + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + * elf32-mips.c (mips_info_to_howto_rela): New function. + (USE_REL): Adjust for new conventions. + (MINUS_ONE): New macro. + (elf_mips_howto_table): Add R_MIPS_SUB. + (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, + and MIPS_GOT_DISP. + (mips_elf_final_write_processing): Set sh_link, not sh_info, for a + .MIPS.content section. + (_bfd_mips_elf_fake_sections): Treat all sections that begin + with .MIPS.content as .MIPS.content sections. Set + SHF_MNIPS_NOSTRIP for such section. + (elf_info_to_howto): Define to mips_info_to_howto_rela. + * elf64-mips.c (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, + MIPS_GOT_OFST, and MIPS_GOT_DISP. + +Wed Jun 2 11:51:12 1999 Andreas Schwab + + * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized + variable. + + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous + `else'. + +1999-05-30 Philip Blundell + + * elf32-arm.h (elf32_arm_relocate_section): Reinstate change of + 1993-03-25 (!!). Take into account the bitmasks for the reloc so + the addend does not overflow into the rest of the word. + +1999-05-29 Nick Clifton + + * bfd-in.h: Amend prototype for + bfd_elf32_arm_process_before_allocation . + * bfd-in.h: Regenerate. + + * elfarm-oabi.c (NUM_ELEM): New macro: Compute the number of + elements in a fixed sized array. + (ARM_ELF_ABI_VERSION): Define. + (ARM_ELF_OS_ABI_VERSION): Define. + (R_ARM_THM_ABS5): Fix rightshift and size. + (R_ARM_THM_PC22): Fix size. + (R_ARM_PLT32): Define Howto. + (find_howto): New function: Locate a howto based on a reloc + number. + (elf32_arm_info_to_howto): Use find_howto if necessary. + (elf32_arm_reloc_map): Change type of field bfd_reloc_val to + bfd_reloc_code_real_type. + (elf32_arm_reloc_map[]): Add entries for BFD_RELOC_VTABLE_INHERIT + and BFD_RELOC_VTABLE_ENTRY. + (elf32_arm_reloc_type_lookup): Use find_howto if necessary. + + * elfarm-nabi.c (NUM_ELEM): New macro: Compute the number of + elements in a fixed sized array. + (ARM_ELF_ABI_VERSION): Define. + (ARM_ELF_OS_ABI_VERSION): Define. + (R_ARM_THM_ABS5): Fix rightshift and size. + (R_ARM_THM_PC22): Fix size. + (elf32_arm_info_to_howto_rel): Rename to elf32_arm_info_to_howto. + (elf32_arm_reloc_map): Change type of field bfd_reloc_val to + bfd_reloc_code_real_type. + + * elf32-arm.h (struct elf32_arm_link_hash_table): Add new field: + no_pipeline_knowledge. + (elf32_arm_link_hash_create): Initialise new field to zero. + (bfd_elf32_arm_process_before_allocation): Add new paraemter: + no_pipeline_knowledge. Use this parameter to initialise the field + in the globals data structure. + (elf32_arm_final_link_relocate): Only add in pipeline offset if + 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. + (elf32_arm_post_process_headers): New function: Initialise the + EI_OSABI and EI_ABIVERSION fields of the newly created ELF program + header. + (elf_backend_post_process_headers): Define. + +1999-05-28 Nick Clifton + + * elf-bfd.h (struct elf_backend_data): Add new field: + elf_backend_post_process_headers. + + * elfxx-target.h (elf_backend_post_process_headers): Define to + NULL if not already defined. + (elfNN_bed): Initialise elf_backend_post_process_headers field. + + * elf.c (prep_headers): Set the EI_OSABI and EI_ABIVERSION fields + to zero. + (_bfd_elf_compute_section_file_positions): Call + elf_backend_post_process_headers if defined. + +1999-05-28 Ian Lance Taylor + + * configure.in: Check whether getuid and getgid exist. + * archive.c: Define getuid and getgid as macros if HAVE_GETUID or + HAVE_GETGID are not defined, respectively. + (bfd_write_armap): Don't special case on _WIN32 for getuid and + getgid. + * configure.host: Set ac_cv_func_get{ug}id for *-*-windows*. + * configure, config.in: Rebuild. + +1999-05-28 Martin Dorey + + * elf32-i960.c: New file. + * elf.c (prep_headers): Handle bfd_arch_i960. + * targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec. + * config.bfd (i960-*-elf*): New target. + * configure.in (bfd_elf32_i960_vec): New target vector. + * Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo. + (BFD32_BACKENDS_CFILES): Add elf32-i960.c. + * Makefile.in, aclocal.m4, configure: Rebuild. + +1999-05-27 Nick Clifton + + * elfarm-oabi.c (elf32_arm_howto_table): Add entry for + R_ARM_PLT32. + (find_howto): New function: Find entries in the + elf32_arm_howto_table. + (elf32_arm_info_to_howto): Use find_howto if the entry cannot be + computed simply. + (elf32_arm_reloc_type_lookup): Add lookup for + BFD_RELOC_ARM_PLT32. + +1999-05-25 Philip Blundell + + * bfd/elf32-arm.h (elf32_arm_link_hash_newfunc): New function. + (elf32_arm_link_hash_table_create): Use above function as the + constructor for hash table entries. + (elf32_arm_relocate_section): Avoid crash when there is no output + section. + (elf32_arm_final_link_relocate): New parameter h. + (elf32_arm_relocate_section): Pass symbol hash entry to above + routine. + (elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct + comments. + +1999-05-25 Catherine Moore + + * coff-arm.c (coff_arm_relocate_section): Don't emit + base file entries for pc-relative values. + +1999-05-25 DJ Delorie + + * peicode.h (coff_swap_sym_in): When we create the actual section + to reflect the not-there section C_SECTION symbols refer to, + change the symbol class to C_STAT as the section is now really + there. + +1999-05-24 Philip Blundell + + * elf32-arm.h (elf32_arm_relocate_section): Undo change of + 1999-03-25. + +Mon May 17 13:35:35 1999 Stan Cox + * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed + F_PIC_INT to F_PIC. + * coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and + F_ARM_3M labels. Changed F_PIC_INT to F_PIC. + +1999-05-16 Nick Clifton + + * coff-mcore.c (in_reloc_p): Reinstate. + +1999-05-15 Nick Clifton + + * reloc.c (BFD_RELOC_MCORE_RVA): Define. + * bfd-in2.h: Regenerate. + * coff-mcore.c (in_reloc_p): Remove defintion. + (mcore_coff_howto): Add IMAGE_REL_MCORE_RVA. + (mcore_coff_reloc_type_lookup): Map BFD_RELOC_RVA to + IMAGE_REL_MCORE_RVA. + (coff_mcore_rtype_to_howto): Add special processing for + IMAGE_REL_MCORE_RVA. + (coff_mcore_relocate_section): Add support for + IMAGE_REL_MCORE_RVA. + * elf32-mcore (mcore_elf_howto_): Add R_MCORE_RELATIVE. + (mcore_elf_reloc_type_lookup): Map BFD_RELOC_RVA to + R_MCORE_RELATIVE. + (mcore_elf_relocate_section): Delete redundant case labels. + +Fri May 14 10:59:55 1999 Andreas Schwab + + * elf32-arm.h (elf32_arm_relocate_section): Fix operator + precedence between bit-and and comparison. + +Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com) + + * config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to + list of target formats (targ_selvecs). + (i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets. + (powerpcle*-*rtems*, sh-*-rtemself*): New targets. + +1999-05-10 DJ Delorie + + * ecoff.c (_bfd_ecoff_write_armap): give the symtab element a + reasonable mode until "ar x" is smart enough to skip it (fixes + gcc/libgcc.a builds on mips-ecoff targets + + * coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed + to work. Hack to support MS import libraries, which use different + COMDAT types than GNU. + (coff_slurp_symbol_table): C_SECTION symbols are local; they refer + to implied zero-length sections (see peicode below) + * coffgen.c (coff_get_normalized_symtab): Properly read long MS + filename symbols, which use one *or more* auxents. + * coffswap.h (coff_swap_aux_in): ditto + * peicode.h (coff_swap_sym_in): Build the implied zero-length + sections + +Tue May 11 15:51:58 1999 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false + for all relocations. + +1999-05-10 Catherine Moore + + * bfd-in.h (bfd_arm_allocate_interworking_sections): Static + if COFF_IMAGE_WITH_PE. + (bfd_arm_process_before_allocation): Likewise. + (bfd_arm_get_bfd_for_interworking): Likewise. + * coff-arm.c: Likewise. + * bfd-in2.h: Regenerate. + * configure.in (armpe_little_vec): Remove coff-arm.lo. + (armpe_big_vec): Likewise. + * configure: Rebuild. + +1999-05-10 Nick Clifton + + * elf.c (elf_fake_sections): Check for .rel. as start of rel + section, not just .rel. Same for .rela. + +1999-05-07 Nick Clifton + + * coff-mcore.c (coff_mcore_relocate_section): Replace assert about + endianism with an error message. + +Thu May 6 17:09:09 1999 Fred Fish + + * dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer + assignment from "unsigned char *" to "char *". + (decode_line_info): Likewise for dwarf_line_buffer assignment. + +1999-05-05 Catherine Moore + + * coff-arm.c (coff_arm_relocate_section): Add one to + address of ARM_RVA32 thumb functions. + +1999-05-05 Catherine Moore + + * elf32-m68k.c (elf32_m68k_set_private_flags): New. + (elf32_m68k_copy_private_bfd_data): New. + (elf32_m68k_merge_private_bfd_data): New. + (elf32_m68k_print_private_bfd_data): New. + (CPU32_FLAG): Define. + (PLT_CPU32_ENTRY_SIZE): Define. + (elf_cpu32_plt0_entry): Declare. + (elf_cpu32_plt_entry): Declare. + (elf_m68k_adjust_dynamic_symbol): Generate cpu32 plt entries. + (elf_m68k_finish_dynamic_symbol): Likewise. + (elf_m68k_finish_dynamic_sections): Likewise. + (elf_backend_plt_header_size): Remove definition. + (bfd_elf32_bfd_copy_private_bfd_data): Define. + (bfd_elf32_bfd_merge_private_bfd_data): Define. + (bfd_elf32_bfd_set_private_flags): Define. + (bfd_elf32_bfd_print_private_bfd_data): Define. + +Mon May 3 09:24:49 1999 Jeffrey A Law (law@cygnus.com) + + * som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE + and R_LONG_PCREL_MODE. + +1999-04-29 Nick Clifton + + * coff-mcore.c (coff_mcore_relocate_section): Fix typos. + +Fri Apr 28 16:36:19 1999 Stan Cox + + * elf32-sh.c (sh_elf_relocate_section): Include relocation addend + in relocation calculation. + +1999-04-26 Tom Tromey + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-21 Nick Clifton + + * coff-mcore.c: Add support for mcore relocs. + +1999-04-20 Gavin Romig-Koch + + * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): Scrap the + incorrect use EF_MIPS_xxBITPTRS. + +1999-04-18 Ian Lance Taylor + + * elf64-alpha.c (elf64_alpha_relax_section): Remove unused local + variable insn. + + * bfd-in2.h: Rebuild. + * libbfd.h: Rebuild. + +Sat Apr 17 20:55:15 1999 Catherine Moore + + * coff-arm.c (coff_arm_rtype_to_howto): Remove ARM26D transform. + (coff_arm_relocate_section): Add ARM26D transform. Only + change to ARM26D for relocateable links. + +1999-04-16 Gavin Romig-Koch + + * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): New. + (bfd_elf32_bfd_print_private_bfd_data): New. + +1999-04-15 Doug Evans + + * elf32-arm.h (elf32_arm_final_link_relocate): For R_ARM_THM_ABS5, + refetch addend if USE_REL, add many comments regarding current state. + For R_ARM_THM_PC22, refetch addend if USE_REL, simplify. + * elfarm-nabi.c (elf32_arm_howto_table): For R_ARM_THM_ABS5, fix + size and rightshift. For R_ARM_THM_PC22, fix bitsize. + * elfarm-oabi.c (elf32_arm_howto_table): Ditto. + +Wed Apr 14 14:33:08 1999 Richard Henderson + + * elf32-mips.c (_bfd_mips_elf_read_ecoff_info): Zero `debug'. + * elf64-alpha.c (elf64_alpha_read_ecoff_info): Likewise. + +1999-04-13 David Mosberger + + * dwarf2.c (decode_line_info): Don't truncate address to least + significant 32 bits (breaks 64 bit targets). + (lookup_address_in_function_table): Ditto. + (comp_unit_contains_address): Ditto. + +Tue Apr 13 21:27:19 1999 Catherine Moore + + * coff-arm.c (arm_emit_base_file_entry): New routine. + (A2T3_OFFSET): Define. + (T2A3_OFFSET): Define. + (coff_arm_relocate_section): Emit base file entries for interworking + stubs. + +1999-04-13 Philip Blundell + + * elfarm-nabi.c (elf32_arm_howto_table): Add dummy entries for + relocs 17 through 19. + +Sun Apr 11 01:25:17 1999 Richard Henderson + + * elfcode.h: Remove fnmatch.h. + * elflink.h (elf_link_assign_sym_version): Call back to ld + instead of calling fnmatch. + + * config.bfd (i?86-*-beoself): Include pe vecs. + +Sun Apr 11 01:14:06 1999 Richard Henderson + + * elf32-i386.c (elf_i386_finish_dynamic_sections): Allow .plt + to go missing. + +1999-04-10 Richard Henderson + + * elf32-i386.c (elf_i386_relocate_section): Mind no_undefined + when trying to resolve dynamic symbol references. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mips.c (mips_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elflink.h (elf_link_output_extsym): Likewise. + +Sat Apr 10 15:12:09 1999 Richard Henderson + + * section.c (_bfd_strip_section_from_output): New function moved from + * elf64-alpha.c (elf64_alpha_strip_section_from_output): ... here. + * elf32-i386.c (elf_i386_size_dynamic_sections): Use it. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-mips.c (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-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. + * bfd-in2.h: Update. + +1999-04-09 Ian Lance Taylor + + * elf64-sparc.c: Fix incorrect calls to bfd_check_overflow. + +1999-04-08 Nick Clifton + + * coff-mcore.c: New File: Support for mcore-pe targets. + * cpu-mcore.c: New File: Support for mcore targets. + * elf32-mcore.c: New File: Support for mcore-elf target. + * pe-mcore.c: New File: Definitions for mcore-pe target. + * pei-mcore.c: New File: Definitions for mcore-pei target. + * Makefile.am: Add support for MCore targets. + * Makefile.in: Regenerate. + * config.bfd: Add support for MCore targets. + * configure.in: Add support for MCore targets. + * configure: Regenerate. + * archures.c: Add support for MCore architecture. + * bfd-in2.h: Regenerate. + * coffcode.h: Add support for mcore-pe targets. + * elf.c: Add support for mcore-elf target. + * reloc.c: Add support for MCore relocs. + * targets.c: Add support for MCore targets. + +1999-04-07 Nick Clifton + + * elfarm-nabi.c (elf32_arm_howto_table): Add entries for + R_ARM_XPC25 and R_ARM_THM_XPC22. + (elf32_arm_reloc_map): Remove redundant entries. + +1999-04-06 Ian Lance Taylor + + * sysdep.h (LC_MESSAGES): Never define. + +1999-04-06 Chris Torek + + * reloc.c (bfd_check_overflow): Add addrsize parameter. Change + all callers. Rewrite completely. + (_bfd_relocate_contents): Rewrite overflow checking. + * bfd-in2.h: Rebuild. + +1999-04-05 Ian Lance Taylor + + From Gabriel Paubert : + * elf32-ppc.c (ppc_elf_howto_raw): Set R_PPC_GOT16_LO, + R_PPC_PLT16_LO and R_PPC_SECTOFF_LO to be complain_overflow_dont. + Set R_PPC_PLT16_HA, R_PPC_SECTOFF_HA and R_PPC_EMB_NADDR16_HA to + have a rightshift of 16 and use ppc_elf_addr16_ha_reloc. + * ppcboot.c (ppcboot_vec): Use little endian routines for + headers. + + * elf.c (elfcore_strndup): Only define if it will be used. + * elf32-ppc.c (ppc_elf_relax_section): Remove unused locals irel + and irelend. + (ppc_elf_check_relocs): Remove unused local i. + (ppc_elf_gc_mark_hook): Add default case to switch. + + From Bernd Nitzler : + * srec.c (srec_scan): Accept \r in symbol definitions. + (srec_object_p): Set HAS_SYMS if we saw any symbols. + (symbolsrec_object_p): Likewise. + +1999-04-04 Don Bowman + + * config.bfd: Add mips*el-*-vxworks* and mips*-*-vxworks*. + +1999-04-04 Ian Lance Taylor + + * dwarf1.c (parse_line_table): Remove unused locals last_pc and + last_line. + * elf-bfd.h (_bfd_elfcore_section_from_phdr): Declare. + * elf32-i386.c (elf_i386_gc_mark_hook): Add default case to + switch. + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove unused + local i. + * syms.c (_bfd_stab_section_find_nearest_line): Remove unused + local val. + +1999-03-31 Nick Clifton + + * config.bfd: Add support for arm-epoc-pe target. + * configure.in: Add support for arm-epoc-pe target. + * configure: Regenerate. + * targets.c: Add support for arm-epoc-pe target. + * coff-arm.c: Allow header files to override definition of + TARGET_UNDERSCORE and USER_LABEL_PREFIX. + * pe-arm.h: Allow previous header files to override definition of + TARGET_LITTLE_SYM and TARGET_BIG_SYM. + * pei-arm.h: Allow previous header files to override definition of + TARGET_LITTLE_SYM and TARGET_BIG_SYM. + * epoc-pe-arm.c: New file. Support arm-epoc-pe target. + * epoc-pei-arm.c: New file. Support arm-epoc-pei target. + +1999-03-30 Nick Clifton + + * elf.c (elf_map_symbols): Handle the case where section + symbols are generated for content-less sections which are + not mapped to the output file. + + * linker.c: Replace direct references to fields in BFD structure + with accessor macros. + + * elflink.h: Replace direct references to fields in BFD structure + with accessor macros. + +1999-03-25 Philip Blundell + + * config.bfd: Eliminate redundancy in checks for Linux/ARM. + + * elf32-arm.h (elf32_arm_relocate_section): Take the rightshift into + account when adjusting section symbols during a partial link. + +1999-03-24 Nick Clifton + + * coff-sparc.c (struct coff_reloc_map): Change type of field + 'bfd_reloc_val' to bfd_reloc_code_real_type. + * elf-m10200.c (struct mn10200_reloc_map): Ditto. + * elf-m10300.c (struct mn10300_reloc_map): Ditto. + * elf32-arc.c (struct arc_reloc_map): Ditto. + * elf32-d10v.c (struct d10v_reloc_map): Ditto. + * elf32-d30v.c (struct d30v_reloc_map): Ditto. + * elf32-fr30.c (struct fr30_reloc_map): Ditto. + * elf32-m32r.c (struct m32r_reloc_map): Ditto. + * elf32-sh.c (struct elf_reloc_map): Ditto. + * elf32-sparc.c (struct elf_reloc_map): Ditto. + * elf32-v850.c (struct v850_reloc_map): Ditto. + * elf64-sparc.c (struct elf_reloc_map): Ditto. + * elfarm-nabi.c (struct elf32_arm_reloc_map): Ditto. + * elfarm-oabi.c (struct elf32_arm_reloc_map): Ditto. + +1999-03-17 Martin Hunt + + * syms.c (_bfd_stab_section_find_nearest_line): Changed this + function so source-level assembly works. If multiple N_SOs + are seen without and N_FUNs, create an indextable entry with + a NULL function name. + +1999-03-16 Gavin Romig-Koch + + * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data) Allow merging + of certian similar cpus. + +1999-03-16 Gavin Romig-Koch + + * elf32-mips.c (_bfd_mips_elf_final_write_processing): + Add the 5000. Change the architecture for the 5400 to mips4. + (elf_mips_mach): Add r5000. + +1999-03-11 Doug Evans + + * cpu-i960.c (scan_i960_mach): Recognize i960:ka_sa and i960:kb_sb. + +1999-03-11 Nick Clifton + + * binary.c (binary_set_section_contents): Generate warning about + huge file offsets for any section that will occupy file space, not + just those that are loadable. + +1999-02-24 Jim Blandy + + * libbfd.h: Regenerate after Nick Clifton's Feb 17 changes. + +1999-02-22 Jim Lemke + + * elf32-ppc.c: Add ppc_elf_relax_section() for the ld option mpc860c0. + +Mon Feb 22 18:26:51 1999 Ian Lance Taylor + + * elf-bfd.h (ELF_LINK_HASH_REF_REGULAR_NONWEAK): Define. + * elflink.h: Revert all changes since Feb 16. Instead: + (elf_link_add_object_symbols): Set REF_REGULAR_NONWEAK flag if + appropriate. Copy it to version symbols. + (elf_fix_symbol_flags): Set REF_REGULAR_NONWEAK for non ELF + symbols if appropriate. + (elf_adjust_dynamic_symbol): Set REF_REGULAR_NONWEAK for weakdef + symbol if appropriate. + (elf_link_output_extsym): If symbol is marked as undefined, and + has no nonweak references, mark it as weak undefined. + +Fri Feb 19 16:01:12 1999 Ian Lance Taylor + + * elflink.h (elf_merge_symbol): When overriding a dynamic + definition with a weak undefined symbol, set NEEDS_PLT if it is a + function. + (elf_link_add_object_symbols): Don't copy the other field if we + are overridding. + +Thu Feb 18 18:07:43 1999 Ian Lance Taylor + + * elflink.h (elf_merge_symbol): Do not merge any symbol from a + shared object with a weak undefined symbol. + +1999-02-18 Nick Clifton + + * elfarm-nabi.c: Set partial_inplace back to false. + +1999-02-17 Nick Clifton + + * coff-arm.c (TARGET_UNDERSCORE): Re-enable. + (USER_LABEL_PREFIX): Set to "_". + + The following patches are from: Scott Bambrough + + + * libaout.h (M_ARM6_NETBSD): Set to 143. + + * reloc.c: Add ARM PIC relocs: BFD_RELOC_ARM_GOT12, + BFD_RELOC_ARM_GOT32, BFD_RELOC_ARM_JUMP_SLOT, BFD_RELOC_ARM_COPY, + BFD_RELOC_ARM_GLOB_DAT, BFD_RELOC_ARM_PLT32, + BFD_RELOC_ARM_RELATIVE, BFD_RELOC_ARM_GOTOFF, BFD_RELOC_ARM_GOTPC. + * bfd-in2.h: Regenerate. + + * elfarm-nabi.c (elf32_arm_howto_table): Set partial_inplace to + 'true' as REL relocs are now being used. Add new PIC relocs: + R_ARM_COPY, R_ARM_GLOB_DAT, R_ARM_JUMP_SLOT, R_ARM_RELATIVE, + R_ARM_GOTOFF, R_ARM_GOTPC, R_ARM_GOT32, R_ARM_PLT32. + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Check byte order + of targets. + (elf32_arm_final_link_relocate): Change parameters so that entire + reloc is passed. Add support for PIC relocs. + (elf32_arm_relocate_section): Pass entire reloc to + elf32_arm_final_link_relocate. + (elf32_arm_check_relocs): Handle new PIC relocs. + (elf32_arm_adjust_dynamic_symbol): New function. + (elf32_arm_size_dynamic_sections): New function. + (elf32_arm_discard_copies): New function. + (elf32_arm_finish_dynamic_symbol): New function. + (elf32_arm_finish_dynamic_sections): New function. + (ELF_MAXPAGE_SIZE): Define. + (bfd_elf32_bfd_reloc_type_lookup): Define. + (elf_backend_relocate_section): Define. + (elf_backend_adjust_dynamic_symbol): Define. + (elf_backend_create_dynamic_sections): Define. + (elf_backend_finish_dynamic_symbol): Define. + (elf_backend_finish_dynamic_sections): Define. + (elf_backend_size_dynamic_sections): Define. + (elf_backend_plt_readonly): Define. + (elf_backend_want_got_plt): Define. + (elf_backend_want_plt_sym): Define. + +Wed Feb 17 12:02:26 1999 Stan Cox + + * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Make reginfo + sections SEC_LINK_ONCE and SEC_LINK_DUPLICATES_SAME_SIZE. + (_bfd_mips_elf_fake_sections): Likewise. + +Wed Feb 17 12:07:23 1999 Andreas Schwab + + * elfarm-oabi.c (bfd_elf32_arm_allocate_interworking_sections, + bfd_elf32_arm_get_bfd_for_interworking, + bfd_elf32_arm_process_before_allocation): Define to avoid clash + with elfarm-nabi.c. + + * elf32-arm.h: Don't declare elf32_arm_info_to_howto. + (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub, + elf32_arm_find_nearest_line): Make them static. + +Tue Feb 16 22:44:37 1999 Ian Lance Taylor + + * elflink.h (elf_merge_symbol): Add pflags parameter. Change all + callers. Do not merge a definition from a shared object with a + weak undefined symbol. + (elf_link_add_object_symbols): Do not change the symbol type or + size if the old symbol overrides the new one. + +1999-02-08 Nick Clifton + + * config.bfd: Add support for strongarm target. + Mon Feb 8 11:18:14 1999 Andreas Schwab * elf32-m68k.c (reloc_map): Use the correct types for the struct @@ -167,7 +850,6 @@ Tue Dec 22 15:21:41 1998 Catherine Moore * bfd-in2.h: Likewise. * cpu-i386.c (bfd_i386_arch_intel_syntax): New. -start-sanitize-vr4xxx 1998-12-16 Gavin Romig-Koch * archures.c,bfd-in2.h (bfd_mach_mips4111): New. @@ -176,33 +858,16 @@ start-sanitize-vr4xxx (_bfd_mips_elf_final_write_processing): bfd_mach_mips4111 -> E_MIPS_ARCH_3 | E_MIPS_MACH_4111. -end-sanitize-vr4xxx 1998-12-15 Gavin Romig-Koch * elf32-mips.c (elf_mips_abi_name): New. (_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags. -start-sanitize-vr4xxx -1998-12-13 Gavin Romig-Koch - - * archures.c,bfd-in2.h (bfd_mach_mips4121): New. - * cpu-mips.c: Added vr4121. - * elf32-mips.c (elf_mips_mach): Same. - (_bfd_mips_elf_final_write_processing): Same. - -end-sanitize-vr4xxx 1998-12-12 Gavin Romig-Koch * elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4300. -start-sanitize-sky - - Mon Aug 10 18:59:42 EDT 1998 Jim Lemke - - * config.bfd (mips64el-skyb-elf): added new target - -end-sanitize-sky 1998-12-11 Ulrich Drepper * elf32-i386.c: Remove leaked development code from patch @@ -1138,33 +1803,13 @@ Fri Jul 24 13:54:19 1998 Nick Clifton Fri Jul 24 11:24:29 1998 Jeffrey A Law (law@cygnus.com) -start-sanitize-cygnus - * elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing - from 24bit operand to an 8bit operand. - - * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul", - "dmulu", "dmach", "dmachu" with 32bit operands. -end-sanitize-cygnus * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry. (mn10300_elf_reloc_map): Similarly. (mn10300_elf_final_link_relocate): Handle R_MN10300_24. -start-sanitize-cygnus - (mn10300_elf_relax_section): Support relaxing on the am33. -end-sanitize-cygnus Fri Jul 24 12:36:04 1998 Ian Lance Taylor -start-sanitize-r5900 - The value of R_MIPS15_S3 has changed: - * elf32-mips.c (elf_mips15_s3_howto): New static variable. - (mips_reloc_map): Remove BFD_RELOC_MIPS15_S3. - (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3 - specially. - (mips_info_to_howto_rel): Handle R_MIPS15_S3 specially. - (mips_elf_relocate_section): Check for R_MIPS15_S3. - -end-sanitize-r5900 * elf32-mips.c (elf_mips_howto_table): Add reloc types used on Irix 6. (bfd_elf32_bfd_reloc_type_lookup): Add default case. @@ -1183,10 +1828,6 @@ Thu Jul 23 13:33:19 1998 Doug Evans Thu Jul 23 11:29:43 1998 Jeffrey A Law (law@cygnus.com) -start-sanitize-cygnus - * elf-m10300.c (compute_function_info): Keep track of stack space - needed by am33 movm instruction variant. -end-sanitize-cygnus * Re-add lost change: * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field @@ -1289,12 +1930,10 @@ Wed Jul 15 11:20:01 1998 Ian Lance Taylor * sunos.c: Add undef of valid to avoid problem on SunOS. -start-sanitize-beos Tue Jul 14 15:30:59 1998 Richard Henderson * config.bfd (i?86-pc-beos{pe,elf,}*): Recognize. -end-sanitize-beos Tue Jul 14 11:22:21 1998 Andreas Schwab * elf32-m68k.c (elf_m68k_check_relocs): Also reference count @@ -1536,11 +2175,6 @@ Fri Jun 26 10:48:23 1998 Jeffrey A Law (law@cygnus.com) (_bfd_mn10300_elf_object_p): Likewise. (elf_backendfinal_write_processing): Define. (elf_backend_object_p): Likewise. -start-sanitize-cygnus - * archures.c (bfd_mach_am33): Define. - * cpu-m10300.c (bfd_am33_arch): New arch info structure. Link it - into the NEXT field of bfd_mn10300_arch. -end-sanitize-cygnus Thu Jun 25 18:31:08 1998 Nick Clifton @@ -1570,16 +2204,6 @@ Fri Jun 19 17:08:18 1998 Ian Lance Taylor * elf.c (_bfd_elf_section_from_bfd_section): Call bfd_set_error on failure. -start-sanitize-sky -Thu Jun 18 23:59:30 1998 Doug Evans - - * reloc.c: New relocs BFD_RELOC_MIPS_DVP_11_S4, - BFD_RELOC_MIPS_DVP_U15_S3. - * elf32-mips.c: Handle them. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -end-sanitize-sky Tue Jun 16 11:55:55 1998 Ian Lance Taylor * elf.c (copy_private_bfd_data): Improve handling of Solaris @@ -1632,13 +2256,6 @@ Wed Jun 3 17:52:49 1998 Ian Lance Taylor * Makefile.am (config.status): New target. * Makefile.in: Rebuild. -start-sanitize-sky -Wed Jun 3 11:39:57 1998 Doug Evans - - * elf32-mips.c (_bfd_mips_elf_fake_sections): Update to use - Elf32_Dvp_External_Overlay instead of 64 bit version. - -end-sanitize-sky Wed Jun 3 12:18:24 1998 Stan Cox * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Give an @@ -1687,16 +2304,6 @@ Mon Jun 1 12:14:28 1998 Ian Lance Taylor * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than 0x68. Reindent. Add some comments. -start-sanitize-sky -Sun May 31 16:11:22 1998 Doug Evans - - * elf32-mips.c (_bfd_mips_elf_final_write_processing): Set sh_link - field of .DVP.ovlytab to .DVP.ovlystrtab's section index. - (_bfd_mips_elf_section_from_shdr): Recognize SHT_DVP_OVERLAY_TABLE - and SHT_DVP_OVERLAY. - (_bfd_mips_elf_fake_sections): Ditto. - -end-sanitize-sky Fri May 29 09:58:08 1998 Nick Clifton * elf.c (copy_private_bfd_data): Adjust physical address of @@ -2371,16 +2978,6 @@ Mon Mar 23 14:23:36 1998 Nick Clifton * coff-arm.c: Add interworking functions to pe backends. -start-sanitize-r5900 -Sun Mar 22 13:05:08 1998 Jeffrey A Law (law@cygnus.com) - - * elf32-mips.c (R_MIPS15_S3): New relocation type. - (elf_mips_howto_table): Add R_MIPS15_S3. - (mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3. - * reloc.c (BFD_RELOC_MIPS15_S3): New relocation type. - * bfd-in2.h, libbfd.h: Rebuilt. - -end-sanitize-r5900 Fri Mar 20 18:47:20 1998 Ian Lance Taylor * configure.in: Use AM_DISABLE_SHARED. @@ -2412,18 +3009,6 @@ Sun Mar 8 23:37:26 1998 Stan Cox * config.bfd (sparclite-*-elf*): Added. -start-sanitize-cygnus-never -Tue Mar 3 11:24:05 1998 Gavin Koch - - * mips-cpu.c: Reorganize sanitization. - -end-sanitize-cygnus-never -start-sanitize-vr4320 -Tue Mar 3 11:24:05 1998 Gavin Koch - - * archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320. - -end-sanitize-vr4320 Mon Feb 23 19:31:19 1998 Ian Lance Taylor * configure.in: Add elf.lo to elf shell variable. @@ -2459,18 +3044,6 @@ Sun Feb 22 20:33:05 1998 Richard Henderson by gdb directly. * hosts/sparclinux.h: Remove. -start-sanitize-sky -Thu Feb 19 02:38:52 1998 Doug Evans - - * reloc.c (BFD_RELOC_MIPS_DVP_27_S4): New reloc type. - * elf32-mips.c (enum reloc_type): Add R_MIPS_DVP_27_S4. - (elf_mips_dvp_27_s4_howto): Describe it. - (bfd_elf32_bfd_reloc_type_lookup): Handle it. - (mips_info_to_how_rel): Handle it. - (mips_elf_relocate_section): Handle it. - * bfd-in2.h,libbfd.h: Regenerate. - -end-sanitize-sky Wed Feb 18 15:31:06 1998 Ian Lance Taylor * peicode.h (pe_print_idata): If there is no .idata section, look @@ -2479,12 +3052,6 @@ Wed Feb 18 15:31:06 1998 Ian Lance Taylor table even if there is no import name table. If the import address table holds actual addresses, print them. -start-sanitize-sky -Tue Feb 17 20:00:26 1998 Doug Evans - - * config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch. - -end-sanitize-sky Tue Feb 17 12:58:34 1998 Ian Lance Taylor * libbfd.c (bfd_seek): If fseek fails, save errno around call to @@ -2549,25 +3116,11 @@ Tue Feb 10 19:23:28 1998 H.J. Lu * configure: Rebuild. Tue Feb 10 15:16:38 1998 Nick Clifton -start-sanitize-cygnus - * elf32-m32r.c (m32r_elf_merge_private_bfd_data): Do not complain - when merging m32r BFDs into m32rx BFDs. -end-sanitize-cygnus * elf32-v850.c (remember_hi16s_reloc): New function. (find_remembered_hi16s_reloc): New function. (v850_elf_store_addend_in_insn): Use the above new functions to match up HI6S relocs with LO16 relocs. -start-sanitize-sky -Tue Feb 10 13:25:14 1998 Doug Evans - - * archures.c (bfd_mach_dvp_{vif,gif}): Renamed from ..._{pke,gpuif}. - (bfd_txvu_arch): Delete. - * cpu-mips.c (arch_info_struct): dvp:{vif,gif} renamed from - dvp:{pke,gpuif}. - * bfd-in2.h: Regenerate. - -end-sanitize-sky Tue Feb 10 15:01:39 1998 Ian Lance Taylor * configure.in: Change -linux* to -linux-gnu*. @@ -2591,9 +3144,6 @@ Fri Feb 6 14:48:20 1998 Nick Clifton Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) -start-sanitize-r5900 - * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. -end-sanitize-r5900 * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR get the size from bfd_arch_bits_per_address instead of directly from the isa. @@ -2682,14 +3232,6 @@ Mon Feb 2 14:09:46 1998 Ian Lance Taylor * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from 0x100000. -start-sanitize-sky -Fri Jan 30 17:48:17 1998 Doug Evans - - * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true - and partial_inplace=false. - (mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL. - -end-sanitize-sky Fri Jan 30 19:07:07 1998 Geoff Keating * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure @@ -2711,28 +3253,12 @@ Fri Jan 30 19:07:07 1998 Geoff Keating test for allocating space for a reloc in a shared object is the same as the test for emitting a reloc. -start-sanitize-sky -Thu Jan 29 17:44:53 1998 Doug Evans - - * elf32-mips.c: Add dvp support. - -end-sanitize-sky Thu Jan 29 15:55:35 1998 J.J. van der Heijden * config.bfd (i[3456]-*-mingw32*): New target. * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. * aclocal.m4, configure: Rebuild. -start-sanitize-sky -Wed Jan 28 15:14:28 1998 Doug Evans - - * config.bfd, configure.in: Add dvp support. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * archures.c, reloc.c, cpu-mips.c: Add dvp support. - * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. - -end-sanitize-sky Wed Jan 28 13:41:26 1998 Ian Lance Taylor * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we