Fix PPC_ADDR16_HA relocations
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 91681473439a7edba2f8fb78d091392590920561..7b7de13e1146babcd7652b5aedb9e54f36b91bfc 100644 (file)
@@ -1,3 +1,142 @@
+Fri Jul 14 11:58:34 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * elf32-ppc.c (ppc_elf_addr16_ha_inner): Rewrite to take just one
+       argument, the final relocated address.
+       (ppc_elf_addr16_ha_inner): Adjust ppc_elf_addr16_ha_inner caller.
+       (ppc_elf_relocate_section): Ditto.
+
+Thu Jul 13 17:22:03 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (hppa_som_gen_reloc_type): Choose a reasonable field
+       selector relocation for the difference of two symbols.
+
+Thu Jul 13 10:33:25 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (NAME(aout,slurp_reloc_table)): Cast argument to size_t
+       for malloc.
+       * coff-mips.c (mips_relocate_section): Likewise, for memmove.
+       (mips_relax_section): Likewise, for malloc.
+       * cofflink.c (process_embedded_commands): Likewise.
+       (_bfd_coff_final_link): Likewise.
+       * ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
+       (ecoff_final_link_debug_accumulate): Likewise.
+       (ecoff_indirect_link_order): Likewise, for memcpy and malloc.
+       (ecoff_reloc_link_order): Likewise, for malloc.
+       * ecofflink.c (ecoff_align_debug): Likewise, for memset.
+       (ecoff_write_symhdr): Likewise, for malloc.
+       * elf32-hppa.c (elf32_hppa_read_symext_info): Likewise.
+       * elf.c (assign_file_positions_except_relocs): Likewise, for
+       qsort.
+       * elf32-mips.c (mips_elf_read_ecoff_info): Likewise, for malloc.
+       * elfcode.h (elf_slurp_reloc_table): Likewise.
+       * elfcore.h (elf_corefile_note): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Likewise.
+       (elf_link_read_relocs): Likewise.
+       (NAME(bfd_elf,size_dynamic_sections)): Likewise, for memset.
+       * i386linux.c (bfd_linux_size_dynamic_sections): Likewise.
+       * ieee.c (do_with_relocs): Likewise.
+       * linker.c (default_indirect_link_order): Likewise, for malloc.
+       * nlmcode.h (nlm_object_p): Likewise.
+       (nlm_write_object_contents): Likewise.
+       * oasys.c (oasys_set_section_contents): Likewise, for memcpy.
+       * reloc.c (bfd_generic_get_relocated_section_contents): Likewise,
+       for malloc.
+       * section.c (bfd_get_section_contents): Likewise, for memcpy.
+       * srec.c (srec_get_section_contents): Likewise.
+       (srec_set_section_contents): Likewise.
+       * sunos.c (bfd_sunos_size_dynamic_sections): Likewise, for
+       realloc and memset.
+       (sunos_scan_relocs): Likewise, for malloc.
+       (sunos_scan_dynamic_symbol): Likewise, for realloc.
+       * syms.c (_bfd_generic_read_minisymbols): Likewise, for malloc.
+       * versados.c (versados_get_section_contents): Likewise, for
+       memcpy.
+
+       * libbfd.c (real_read): Add prototype.  Change argument types from
+       int to size_t.
+       (bfd_read): Cast real_read argument to size_t, not int.
+       (bfd_write): Cast fwrite argument to size_t, not int.
+
+       * elf64-gen.c (elf_info_to_howto): Fix definition for recent elf.c
+       changes.
+
+       * configure.in: Fix typo: change {$enableval} to ${enableval}.
+       * configure: Rebuild.
+
+       * Makefile.in (BFD32_BACKENDS): Add elflink.o.
+
+       * targets.c (bfd_target): Add fields _read_minisymbols and
+       _minisymbol_to_symbol.
+       (BFD_JUMP_TABLE_SYMBOLS): Add _read_minisymbols and
+       _minisymbol_to_symbol.
+       (bfd_read_minisymbols): Define.
+       (bfd_minisymbol_to_symbol): Define.
+       * syms.c (_bfd_generic_read_minisymbols): Define.
+       (_bfd_generic_minisymbol_to_symbol): Define.
+       * libbfd-in.h (_bfd_nosymbols_read_minisymbols): Define.
+       (_bfd_nosymbols_minisymbol_to_symbol): Define.
+       (_bfd_generic_read_minisymbols): Declare.
+       (_bfd_generic_minisymbol_to_symbol): Declare.
+       * bfd-in2.h: Rebuild.
+       * libbfd.h: Rebuild.
+       * aoutx.h (MINISYM_THRESHOLD): Define.
+       (NAME(aout,read_minisymbols)): New function.
+       (NAME(aout,minisymbol_to_symbol)): New function.
+       * libaout.h (NAME(aout,read_minisymbols)): Declare.
+       (NAME(aout,minisymbol_to_symbol)): Declare.
+       * aout-target.h (MY_read_minisymbols): Define.
+       (MY_minisymbol_to_symbol): Define.
+       * All targets: Define read_minisymbols and minisymbol_to_symbol.
+
+Wed Jul 12 17:55:55 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * elflink.h (elf_link_add_object_symbols): Cast return value from
+       bfd_alloc.
+
+       * elfcode.h (size_info): Don't use "&" before function names.
+
+Wed Jul 12 00:16:48 1995  Ken Raeburn  <raeburn@kr-pc.cygnus.com>
+
+       * libelf.h (elf_backend_data): Use unsigned, not unsigned char,
+       for bitfields.
+
+Tue Jul 11 15:19:53 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (bfd_section_from_shdr): In case SHT_REL[A], only get the
+        BFD section for the sh_link section if it is a SYMTAB section.
+
+       * aoutx.h (NAME(aout,link_add_symbols)): Don't bother to check
+       that archives hold a.out objects.
+       * cf-i386lynx.c (coff_bfd_link_add_symbols): Don't define.
+       (lynx_link_add_symbols): Remove.
+       * cf-m68klynx.c (coff_bfd_link_add_symbols): Don't define.
+       (lynx_link_add_symbols): Remove.
+       * elflink.h (elf_bfd_link_add_symbols): Don't bother to check that
+       archives hold ELF objects.
+
+       * archive.c (bfd_generic_archive_p): If the archive has a map, and
+       the target was defaulted, but the first object in the archive can
+       not be matched with that target, then return a bad format error.
+
+       * elf64-sparc.c (elf_sparc_howto_table): Set howto for WDISP16 to
+       elf64_wdisp16_reloc.
+       (elf64_wdisp16_reloc): New static function.
+       (elf64_sparc_relocate_section): New static function.
+       (elf_backend_relocate_section): Define.
+
+       * libelf.h (struct elf_size_info): Change type of last argument to
+       swap_symbol_out from char * to PTR.
+       (bfd_elf32_swap_symbol_out): Update declaration.
+       (bfd_elf64_swap_symbol_out): Likewise.
+       * elfcode.h (elf_swap_symbol_out): Change type of cdst from char *
+       to PTR.
+       * elf.c (swap_out_syms): Cast to PTR, not char *, when calling
+       swap_symbol_out routine.
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Likewise.
+       (elf_link_output_sym): Likewise.
+       (elf_link_output_extsym): Likewise.
+       * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Likewise.
+
 Tue Jul 11 12:29:49 1995  Rick Sladkey  <jrs@world.std.com>
 
        * elf.c (_bfd_elf_find_nearest_line): Handle the simple case where
@@ -304,7 +443,7 @@ Wed Jun 21 10:16:10 1995  Steve Chamberlain  <sac@slash.cygnus.com>
 Mon Jun 19 08:40:45 1995  Steve Chamberlain  <sac@slash.cygnus.com>
 
        * syms.c (coff_section_type): Compare only the front part
-       of a section name. (bfd/7238)
+       of a section name.
 
 Sat Jun 17 09:40:44 1995  Jeff Law  (law@snake.cs.utah.edu)
 
This page took 0.024304 seconds and 4 git commands to generate.