* reloc.c: Add BFD_RELOC_XSTORMY16_12.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 15468ab4a06e3e007beb341e9bbca36f1c341fc2..75dd8444b48a737d85d7e85b80f19e31f6c2b814 100644 (file)
@@ -1,3 +1,206 @@
+2002-12-20  DJ Delorie  <dj@redhat.com>
+
+       * reloc.c: Add BFD_RELOC_XSTORMY16_12.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12.
+       (xstormy16_reloc_map): Add R_XSTORMY16_12.
+       
+2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/bfdint.texi: Fix typos.
+
+2002-12-20  Paul Eggert  <eggert@twinsun.com>
+
+       Port to POSIX 1003.1-2001.
+       * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
+       * configure.in (build-warnings): Likewise.
+       (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1".
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2002-12-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-h8300.c: Include libiberty.h.
+       (h8300_reloc16_extra_cases): Check the hash table creator before
+       referencing h8300 specific fields.  Stash the hash table pointer
+       in a local var.  Comment typo fixes.
+       (h8300_bfd_link_add_symbols): Likewise.
+
+       * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
+       dst_mask comments.
+       * bfd-in2.h: Regenerate.
+
+2002-12-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
+       code a little.  Comment on dynamic relocs against section symbols.
+
+2002-12-17  Roger Sayle  <roger@eyesopen.com>
+
+       * configure.host (ia64-*-hpux*): Support 64 bit targets using
+       the HP compiler's "long long".
+
+2002-12-16  Andrew MacLeod  <amacleod@redhat.com>
+
+       * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
+       and R_XSTORMY16_HI16) howto entries.
+       (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16.
+       (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to
+       determine the start of the second reloc table.
+
+2002-12-16  Nathan Tallent  <eraxxon@alumni.rice.edu>
+
+       * ecofflink.c: Fix the reading of the debugging information
+       of Tru64/Alpha binaries that are produced by recent Compaq
+       compilers.
+       (mk_fdrtab): Fix error in creating the FDR (file descriptor)
+       table.
+       (lookup_line): Because of the strange information sometimes
+       generated by Compaq's recent compilers, change how the FDR
+       table is searched so that PDRs (procedure descriptors) are
+       correctly found.  Note that this change is really more of a hack;
+       however, I have included extensive documentation as to why
+       this is the best solution short of an extensive rewrite or
+       another hack.
+       (fdrtab_lookup): Add comments to explain the algorithm.
+
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
+       initializers to match struct declaration.
+
+2002-12-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c (comp_unit_contains_address): Comment typo fix.
+       * elf.c (get_program_header_size): Likewise.
+       * elf32-m32r.c (m32r_elf_lo16_reloc): Likewise.
+       (m32r_elf_generic_reloc): Likewise.
+       * elf32-ppc.c (ppc_elf_howto_init): Likewise.
+       * elflink.h (elf_bfd_discard_info): Likewise.
+
+2002-12-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
+       to DT_JMPREL.  Use srelplt input section size for DT_PLTRELSZ and
+       DT_RELSZ adjustment, not output section.  Avoid writing tags when
+       unchanged.  Don't assume linker script is sane, adjust DT_REL too.
+       * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw
+       size of srelplt for DT_PLTRELSZ.  Use srelplt input section size for
+       DT_RELASZ adjustment, not output section.  Avoid writing tags when
+       unchanged.  Adjust DT_RELA.
+       * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better
+       formatting.  Avoid writing tags when unchanged.  Adjust DT_RELA.
+
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
+       addend by 4.
+
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (struct mips_got_entry): New.
+       (struct mips_got_info): Added got_entries field.
+       (mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions.
+       (mips_elf_local_got_index, mips_elf_got_page,
+       mips_elf_got16_entry): Re-implement in terms of new...
+       (mips_elf_create_local_got_entry): Rewrite to use got_entries.
+       Change return type.
+       (mips_elf_highest): Warning clean-up.
+       (mips_elf_create_got_section): Initialize got_entries.
+       (_bfd_mips_elf_check_relocs): Use got_entries to estimate
+       local got size.
+       (_bfd_mips_elf_size_dynamic_sections): Do not account for
+       GOT_PAGE entries, since we now reuse GOT16 entries.
+
+2002-12-10  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * aoutx.h (set_section_contents): Allow an otherwise unrepresentable
+       read-only section that lies after .text and before .data to be
+       written into the output file and included in a_text.
+       (translate_to_native_sym_flags): If an otherwise unrepresentable
+       section was merged with .text, convert its symbols to N_TEXT
+       symbols.
+       * libaout.h (aout_section_merge_with_text_p): New macro.
+
+2002-12-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h: Comment typo fix.  Formatting.
+       * bfd-in2.h: Regenerate.
+       * coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
+       * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
+       * elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
+
+2002-12-05  Richard Henderson  <rth@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
+       Only send PCREL21B though the plt.  Fix installed reloc type.
+       (elfNN_ia64_relocate_section): Give error for dynamic reloc
+       against PCREL22 or PCREL64I; clean up error messages for
+       branch relocs.
+
+2002-12-04  Kevin Buettner  <kevinb@redhat.com>
+
+       * elf64-mips.c (elf64_mips_grok_prstatus, elf64_mips_grok_psinfo):
+       New functions.
+       (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
+
+2002-12-04  David Mosberger  <davidm@hpl.hp.com>
+
+       * cpu-ia64-opc.c: Add operand constant "ar.csd".
+
+2002-12-04  H.J. Lu <hjl@gnu.org>
+
+       * elfxx-ia64.c (get_local_sym_hash): Use section ID instead of
+       BFD address when constructing local name.
+
+2002-12-04  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec
+       member.
+       (elf_m68k_link_hash_table_create): Initialize it.
+       (elf_m68k_check_relocs): Handle symbols that are forced to be
+       local due to visibility changes.
+       (elf_m68k_adjust_dynamic_symbol): Likewise.
+       (elf_m68k_size_dynamic_sections): Likewise.
+       (elf_m68k_discard_copies): Likewise.
+       (elf_m68k_relocate_section): Likewise.
+
+2002-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.
+
+2002-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * srec.c (srec_write_symbols): Restore '$' prefix to address
+       accidentally removed in 2002-04-04 change.
+       (srec_get_symtab): Use 0 instead of `(long) FALSE'.
+
+2002-12-03  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-ppc.c (apuinfo_list_init): New function.
+       (apuinfo_list_add): New function: Add a value to the list.
+       (apuinfo_list_length): New function: Return the number of
+       values on the list.
+       (apuinfo_list_element): New function: Return a value on the
+       list.
+       (apuinfo_list_finish): New function: Free the resources used
+       by the list.
+       (ppc_elf_begin_write_processing): New function.  Scan the
+       input bfds for apuinfo sections.
+       (ppc_elf_write_section): New function: Delay the creation of
+       the contents of an apuinfo section in an output bfd.
+       (ppc_elf_final_write_processing): New function.  Create the
+       contents of an apuinfo section in an output bfd.
+       (elf_backend_begin_write_processing): Define.
+       (elf_backend_final_write_processing): Define.
+       (elf_backend_write_section): Define.
+
+2002-12-03  Richard Henderson  <rth@redhat.com>
+
+       * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry.
+
 2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
 
        Fix PR savannah/1417:
        pei-mips.c, pei-sh.c, peicode.h, ppcboot.c, ptrace-core.c, reloc.c,
        reloc16.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, simple.c,
        som.c, som.h, sparclinux.c, sparclynx.c, srec.c, stabs.c, sunos.c,
-       syms.c, targets.c, tekhex.c, ticoff.h, trad-core.c, versados.c, 
+       syms.c, targets.c, tekhex.c, ticoff.h, trad-core.c, versados.c,
        vms-gsd.c, vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h,
        xcoff-target.h, xcofflink.c, xsym.c, xsym.h: Replace boolean with
        bfd_boolean, true with TRUE, false with FALSE.  Simplify comparisons
 2002-11-28  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
        * elf32-sh.c (sh_elf_relocate_section): Don't complain about
-        unresolved debugging relocs in dynamic applications.
+       unresolved debugging relocs in dynamic applications.
        * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
 
 2002-11-26  Alan Modra  <amodra@bigpond.net.au>
This page took 0.030076 seconds and 4 git commands to generate.