* ChangeLog: Fix typos.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 9bad45f336ca5a0c774344c69baafdd9d6a1a1c6..a5d422e7a0c40f25158227bacb696bd575090ea9 100644 (file)
@@ -1,3 +1,294 @@
+2003-11-28  Christian Groessler  <chris@groessler.org>
+
+       * cpu-z8k.c: Convert to ISO C90.
+       * coff-z8k.c: Likewise.
+
+2003-11-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
+       Add link info argument.
+       * elf32-i370.c (elf_backend_modify_segment_map): Likewise.
+       * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
+       * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
+       * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
+       * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
+       * elf.c (assign_file_positions_except_relocs,
+       assign_file_positions_for_segments): Likewise.  Adjust calls.
+
+2003-11-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
+       of the note.
+
+2003-11-26  Daniel Jacobowitz  <drow@mvista.com>
+            Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
+       (mips_elf_set_no_stub): New function.
+       (mips_elf_multi_got): Call it.
+       (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
+       a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
+       use mips_elf_create_dynamic_relocation to deal with any compatibility
+       issues.  Store the adjusted addend in the GOT slot.
+
+2003-11-25  Mattias EngdegĂ„rd  <mattias@virtutech.se>
+
+       * stabs.c (_bfd_link_section_stabs): Skip N_EXCL stabs when
+       procesing N_BINCL stabs.
+
+2003-11-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
+       ppc_stub_plt_call to symbols defined in shared libs.
+
+2003-11-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
+       * elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
+       * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
+       (elf_i386_check_relocs): Set it.
+       (elf_i386_finish_dynamic_symbol): If it is not set,
+       clear st_value of SHN_UNDEF symbol.
+
+2003-11-20  Jim Blandy  <jimb@redhat.com>
+
+       * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
+       family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
+
+2003-11-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
+       section for reloc output and subtract the output section's address
+       from the addend when converting a relocation into one against a
+       section symbol.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+
+2003-11-18  James E Wilson  <wilson@specifixinc.com>
+
+       * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
+       (elfNN_ia64_size_dynamic_sections): When stripping sections, check
+       for ia64_info->rel_fptr_sec.
+
+2003-11-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
+       size is zero.
+
+2003-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf.c (_bfd_elf_link_hash_copy_indirect): Copy
+       ELF_LINK_HASH_NEEDS_PLT.  Fix formatting.
+       * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
+       * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
+       * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
+       * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
+       * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
+       * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
+       * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
+       * elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove.
+       (elf_backend_copy_indirect_symbol): Don't define.
+
+2003-11-14  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local
+       GOT entries.
+
+2003-11-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32
+       to R_390_RELATIVE. Convert the other relocations against local
+       symbols to relocations against the start of the section.
+       * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64
+       to R_390_RELATIVE. Convert the other relocations against local
+       symbols to relocations against the start of the section.
+
+2003-11-11  Nick Clifton  <nickc@redhat.com>
+
+       * elf-m10300.c (bfd_mn10300_elf_size_dynamic_sections): Use
+       info->executable not info->shared to decide if a .interp section
+       should be present.
+       * elf32-arm.h (elf32_arm_size_dynamic_sections): Likewise.
+       * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
+       * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
+       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+       * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
+       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise.
+       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+       * elfxx-mips.c (_bfd_mips_size_dynamic_sections): Likewise.
+       * elflink.h (size_dynamic_sections): Likewise.
+
+2003-11-10  Jonathan Wilson <jonwil@tpgi.com.au>
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Swap out tls pointer.
+       (_bfd_XXi_final_link_postscript): Look for __tks_used symbol.  If
+       found initialise the tls data directory entry.
+
+2003-11-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_install_value): Delete.
+       (shared_stub_entry, stub_entry): Make them arrays of ints.
+       Remove initial branch.
+       (ppc_elf_relax_section): Write one branch around all trampolines
+       instead.  Correct bogus R_PPC_PLTREL24 handling.  Correct
+       branch range check.  Only use shared_stub_entry when shared.
+       Test that branches can reach stubs.  Write trampolines out at
+       end so that just one realloc is used.  Handle little-endian
+       mode.  Move relevant code from ppc_elf_install_value to here.
+       (ppc_elf_relocate_section): Move code handling RELAX32 from
+       ppc_elf_install_value to here.
+
+2003-11-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.
+       (ppc_elf_install_value): Handle R_PPC_RELAX32PC.  Merge duplicate
+       cases.
+       (shared_stub_entry): Correct opcode.
+       (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs.
+       (ppc_elf_relocate_section): Handle them.
+
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return
+       updated section in case of merged section.
+       * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration.
+       * elf-hppa.h (elf_hppa_relocate_section): Adjust call.
+       * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
+       * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+       * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+       * elf32-avr.c (elf32_avr_relocate_section): Likewise.
+       * elf32-cris.c (cris_elf_relocate_section): Likewise.
+       * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+       * elf32-frv.c (elf32_frv_relocate_section): Likewise.
+       * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       * elf32-i370.c (i370_elf_relocate_section): Likewise.
+       * elf32-i860.c (elf32_i860_relocate_section): Likewise.
+       * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+       * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
+       * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-s390.c (elf_s390_relocate_section): Likewise.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf32-v850.c (v850_elf_relocate_section) Likewise.
+       * elf32-vax.c (elf_vax_relocate_section): Likewise.
+       * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+       * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
+
+       * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol
+       section for reloc output.
+       * elf32-i370.c (i370_elf_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf32-vax.c (elf_vax_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything
+       for R_PPC_RELAX32 reloc.  Don't bother checking ppc_elf_install_value
+       return value.
+       * elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check
+       sec->id.
+
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.
+       (elf32_d10v_relocate_section): Use them to handle -r reloc
+       adjustments, and in place of _bfd_elf_rela_local_sym.
+
+       * cpu-iq2000.c (arch_info_struct): Warning fix.
+
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
+       (elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on
+       weakdefs.
+       (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS.
+       (elf32_hppa_adjust_dynamic_symbol): Likewise.  Copy weakdef
+       NON_GOT_REF.
+       (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and
+       SYMBOL_CALLS_LOCAL.  Discard relocs for undef weak syms with
+       non-default visibility.
+       (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and
+       SYMBOL_CALLS_LOCAL.
+
+2003-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.
+       * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto.
+       * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto.
+       * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto.
+       * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto.
+       * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto.
+       * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.
+
+       * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix
+       "dereferencing type-punned pointer" warnings.
+
+       * aout-adobe.c (aout_adobe_set_section_contents): Constify location.
+       * aoutx.h (NAME(aout,set_section_contents)): Ditto.
+       * bfd-in2.h: Regenerate.
+       * binary.c (binary_set_section_contents): Ditto.
+       * bout.c (b_out_set_section_contents): Ditto.
+       * coff-tic54x.c (tic54x_set_section_contents): Ditto.
+       * coffcode.h (coff_set_section_contents): Ditto.
+       * ecoff.c (_bfd_ecoff_set_section_contents): Ditto.
+       * elf-bfd.h (_bfd_elf_set_section_contents): Ditto.
+       * elf.c (_bfd_elf_set_section_contents): Ditto.
+       * elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto.
+       * elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto.
+       * i386msdos.c (msdos_set_section_contents): Ditto.
+       * ieee.c (ieee_set_section_contents): Ditto.
+       * ihex.c (ihex_set_section_contents): Ditto.
+       * libaout.h (NAME(aout,set_section_contents)): Ditto.
+       * libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto.
+       (_bfd_generic_set_section_contents): Ditto.
+       * libbfd.h: Regenerate.
+       * libbfd.c (_bfd_generic_set_section_contents): Ditto.
+       * libecoff.h (_bfd_ecoff_set_section_contents): Ditto.
+       * libnlm.h (nlmNAME(set_section_contents)): Ditto.
+       (struct nlm_backend_data <nlm_mangle_relocs>): Ditto.
+       * mmo.c (mmo_set_section_contents): Ditto.
+       * nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto.
+       * nlm32-i386.c (nlm_i386_mangle_relocs): Ditto.
+       * nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto.
+       * nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto.
+       * nlmcode.h (nlm_set_section_contents): Ditto.
+       * oasys.c (oasys_set_section_contents): Ditto.
+       * pdp11.c (NAME(aout,set_section_contents)): Ditto.
+       * ppcboot.c (ppcboot_set_section_contents): Ditto.
+       * srec.c (srec_set_section_contents): Ditto.
+       * targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto.
+       * tekhex.c (tekhex_set_section_contents): Ditto.
+       (move_section_contents): Ditto.
+       * versados.c (versados_set_section_contents): Ditto.
+       * vms-misc.c (_bfd_save_vms_section): Ditto.
+       * vms.c (vms_set_section_contents): Ditto.
+       * vms.h (_bfd_save_vms_section): Ditto.
+
+2003-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc_size_one_stub): Size relbrlt.  Accept info arg
+       rather than htab.
+       (ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal.  Zero
+       relbrlt size.
+       (ppc64_elf_build_stubs): Allocate space for relbrlt.
+
 2003-11-04  Alan Modra  <amodra@bigpond.net.au>
 
        * bfd-in.h (_bfd_elf_tls_setup): Declare.
        * section.c (bfd_set_section_contents): Make the "location" buffer
        constant.
        * bfd-in2.h: Re-generate.
-       
+
 2003-10-30  Andrew Cagney  <cagney@redhat.com>
 
        * syms.c: Replace "struct symbol_cache_entry" with "struct
 
 2003-10-29  Daniel Jacobowitz  <drow@mvista.com>
 
-        * elf32-arm.h (elf32_arm_final_link_relocate): Move check for
-        SEC_ALLOC.
+       * elf32-arm.h (elf32_arm_final_link_relocate): Move check for
+       SEC_ALLOC.
 
 2003-10-29  Philip Blundell  <philb@gnu.org>
 
        (elf32_arm_check_relocs): Likewise.
        (elf32_arm_adjust_dynamic_symbol): Likewise.
        (elf32_arm_copy_indirect_symbol): New.
-       (elf32_arm_link_hash_table_create): Initialise new fields. 
+       (elf32_arm_link_hash_table_create): Initialise new fields.
        (elf32_arm_gc_sweep_hook): Implement.
        (elf32_arm_discard_copies): Delete.
        (elf32_arm_finish_dynamic_symbol): Use new PLT code.
 
 2003-05-04  H.J. Lu <hjl@gnu.org>
 
-       * elflink.h (elf_merge_symbol): Correctly handle weak definiton.
+       * elflink.h (elf_merge_symbol): Correctly handle weak definition.
 
 2003-05-04  H.J. Lu <hjl@gnu.org>
 
        * config.bfd: Added DLX configuraton.
        * Makefile.am: Added DLX configuraton.
        * configure.in: Added DLX configuraton.
-       * archures.c: Add DLX architecure.
+       * archures.c: Add DLX architecture.
        * reloc.c: Add DLX relocs.
        * targets.c: Added DLX target vector.
        * configure: Regenerate.
This page took 0.02877 seconds and 4 git commands to generate.