include/opcode/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 48850877a86e91b31671ba84495139a2a332dd1e..57d7ee948a89c8b0638b5f8475ddc10df6fad0c3 100644 (file)
-2002-11-16  Klee Dienes  <kdienes@apple.com>
-
-       * m88k-dis.c: Include libiberty.h (for xmalloc).
-       (HASHTAB): New type, used to build instruction hash tables.
-       Contains a pointer to an INSTAB and a pointer to the next hash
-       chain entry.
-       (instructions): Move definition from m88k.h; remove initialization
-       of 'next' field.
-       (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
-       (printop): Mark pointer to OPSPEC as const.
-       (install): Remove; fold into init_disasm.
-       (m88kdis): Update to ihashtab_initialized to 1 after calling init_disasm.
-       entry_ptr now iterates through HASHTABs, not INSTABs.
-       (init_disasm): Iterate through the instructions and add to hashtable[].
+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:
+       * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust
+       branch if it goes to the start of the deleted region.
+
+2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * bfd-in2.h (bfd_mach_m6812): Rebuild.
+       * archures.c (bfd_mach_m6812_default, bfd_mach_m6812,
+       bfd_mach_m6812s): Declare.
+
+       * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function.
+       (_bfd_m68hc12_elf_set_private_flags): Call it.
+       (_bfd_m68hc12_elf_print_private_bfd_data): Report processor version.
+       (_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and
+       report microcontroller incompatibilities (HC12 vs HCS12).
+       (elf_backend_object_p): Update.
+
+2002-11-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (TRUE_FALSE_ALREADY_DEFINED, BFD_TRUE_FALSE): Delete.
+       (enum bfd_boolean, boolean): Delete.
+       (bfd_boolean): Typedef to an int.
+       (FALSE, TRUE): Define.
+       * aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, aout-cris.c,
+       aout-encap.c, aout-ns32k.c, aout-target.h, aout-tic30.c, aoutf1.h,
+       aoutx.h, archive.c, archive64.c, archures.c, bfd-in.h, bfd.c, bfdwin.c,
+       binary.c, bout.c, cache.c, cisco-core.c, coff-a29k.c, coff-alpha.c,
+       coff-apollo.c, coff-arm.c, coff-aux.c, coff-h8300.c, coff-h8500.c,
+       coff-i386.c, coff-i860.c, coff-i960.c, coff-ia64.c, coff-m68k.c,
+       coff-m88k.c, coff-mcore.c, coff-mips.c, coff-or32.c, coff-ppc.c,
+       coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, coff-tic30.c,
+       coff-tic4x.c, coff-tic54x.c, coff-tic80.c, coff-w65.c, coff-we32k.c,
+       coff-z8k.c, coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c,
+       corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c,
+       cpu-cris.c, cpu-d10v.c, cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c,
+       cpu-h8300.c, cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c,
+       cpu-i860.c, cpu-i960.c, cpu-ia64.c, cpu-ip2k.c, cpu-m10200.c,
+       cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, cpu-m68hc12.c, cpu-m68k.c,
+       cpu-m88k.c, cpu-mcore.c, cpu-mips.c, cpu-mmix.c, cpu-ns32k.c,
+       cpu-openrisc.c, cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c,
+       cpu-rs6000.c, cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c,
+       cpu-tic4x.c, cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c,
+       cpu-w65.c, cpu-we32k.c, cpu-xstormy16.c, cpu-z8k.c, dwarf1.c,
+       dwarf2.c, ecoff.c, ecofflink.c, efi-app-ia32.c, efi-app-ia64.c,
+       elf-bfd.h, elf-eh-frame.c, elf-hppa.h, elf-m10200.c, elf-m10300.c,
+       elf-strtab.c, elf.c, elf32-arc.c, elf32-arm.h, elf32-avr.c,
+       elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c,
+       elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-hppa.h,
+       elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c,
+       elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c,
+       elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c,
+       elf32-pj.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-sh64-com.c,
+       elf32-sh64.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c,
+       elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c,
+       elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c,
+       elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c,
+       elfarm-oabi.c, elfcode.h, elfcore.h, elflink.c, elflink.h,
+       elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h,
+       elfxx-target.h, format.c, freebsd.h, genlink.h, hash.c, hp300hpux.c,
+       hppabsd-core.c, hpux-core.c, i386aout.c, i386linux.c, i386lynx.c,
+       i386mach3.c, i386msdos.c, i386os9k.c, ieee.c, ihex.c, irix-core.c,
+       libaout.h, libbfd-in.h, libbfd.c, libcoff-in.h, libecoff.h, libieee.h,
+       libnlm.h, liboasys.h, libpei.h, libxcoff.h, linker.c, lynx-core.c,
+       m68klinux.c, m68klynx.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c,
+       mmo.c, netbsd-core.c, netbsd.h, nlm.c, nlm32-alpha.c, nlm32-i386.c,
+       nlm32-ppc.c, nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c,
+       pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, pe-mcore.c, pe-mips.c,
+       pe-sh.c, peXXigen.c, pef.c, pei-arm.c, pei-i386.c, pei-mcore.c,
+       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, 
+       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
+       of bfd_boolean vars with TRUE/FALSE.  Formatting.
+       * bfd-in2.h, libbfd.h, libcoff.h: Regenerate
+
+2002-11-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h: Replace occurrences of Elf32_Internal_* and
+       Elf64_Internal_* with Elf_Internal_*.  Replace Elf_Internal_Rel
+       with Elf_Internal_Rela.
+       * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h,
+       elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c,
+       elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c,
+       elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c,
+       elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c,
+       elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c,
+       elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c,
+       elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c,
+       elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
+       elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c,
+       elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto.
+       * elf-hppa.h (elf_hppa_internal_shdr): Delete.  Use Elf_Internal_Shdr
+       throughout instead.
+       * elf.c (_bfd_elf_no_info_to_howto_rel): Delete.
+       * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *.
+       Remove INLINE keyword.
+       (elf_swap_reloc_in): Likewise.  Also clear r_addend.
+       (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand
+       as a bfd_byte *.
+       (elf_write_relocs): Consolidate REL and RELA code.
+       (elf_slurp_reloc_table_from_section): Simplify REL code.
+       (NAME(_bfd_elf,size_info)): Populate reloc swap entries.
+       * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define.
+       * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and
+       RELA code.
+       (elf_link_adjust_relocs): Likewise.  Don't malloc space for temp
+       reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL.
+       (elf_link_output_relocs): Likewise.
+       (elf_reloc_link_order): Likewise.
+       (elf_finish_pointer_linker_section): Likewise.
+       (struct elf_link_sort_rela): Remove union.
+       (elf_link_sort_cmp1): Update to suit.
+       (elf_link_sort_cmp2): Here too.
+       (elf_link_sort_relocs): Consolidate REL and RELA code.  Fix memory
+       over-allocation for int_rels_per_ext_rel != 1 case.
+       * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls.
+       * elf32-i386.c: Likewise.
+       * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out.
+       * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c,
+       elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise.
+       * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out.
+       * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
+       elf64-sparc.c, elf64-x86-64.c: Likewise.
+       * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out.
+       * elfxx-mips.c (sort_dynamic_relocs): Likewise for
+       bfd_elf32_swap_reloc_in.
+
+       * elf32-arm.h: Update elf32_arm_info_to_howto calls.
+       * elf32-mips.c: Likewise for mips_info_to_howto_rel.
+       (mips_elf64_swap_reloc_in): Zero r_addend.
+       (mips_elf64_be_swap_reloc_in): Likewise.
+       (mips_elf64_slurp_one_reloc_table): Simplify.
+
+       * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries.
+       * elf64-hppa.c (hppa64_elf_size_info): Likewise.
+       * elf64-sparc.c (sparc64_elf_size_info): Likewise.
+
+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.
+       * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
+
+2002-11-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.
+       (_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs
+       on a relocatable link.  Comment typos.
+       * elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure
+       in the order they are declared.  Clear elf_hash_value too.
+       (_bfd_elf_link_hash_table_init): Likewise assign in order.  Clear
+       eh_info and tls_segment.
+       * elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets
+       sorted when discarding relocs by turning them into R_*_NONE.
+
+       * libbfd.c (warn_deprecated): Comment spelling.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2002-11-21  Richard Henderson  <rth@redhat.com>
+
+       * elflink.h (elf_link_add_object_symbols): Don't overwrite the
+       arch's st_other bits when merging visibilities.
+       (elf_link_output_extsym): Tidy clearing of visibility field.
+
+2002-11-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.
+       (SWAP_OUT_RELOC_OFFSET): Define.
+
+2002-11-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf.c (_bfd_elf_link_hash_table_init): Make sure
+       can_refcount is properly extended to the type of
+       init_refcount.
+
+2002-11-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (MIPS_RELOC_RELA_P): New macro.
+       (_bfd_mips_elf_relocate_section): Use it.
+
+       * elfxx-mips.c (MNAME): New macro.
+       (_bfd_mips_elf_check_relocs): Use it.
+       (_bfd_mips_elf_discard_info): Likewise.
+       (_bfd_mips_elf_final_link): Likewise.
+
+2002-11-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjust
+       rel_hdr.sh_size too.
+
+2002-11-18  Klee Dienes  <kdienes@apple.com>
+
+       * Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo.
+       (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c.
+       (BFD_H_FILES): Add bfdwin.c, bfdio.c.
+       (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c.
+       Add dependencies for bfdwin.c, bfdio.c.
+       * bfd.c: Remove bfd_get_mtime, bfd_get_size.
+       * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal,
+       bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite,
+       bfd_tell, bfd_flush, bfd_stat, bfd_seek.
+       * bfdio.c: New file.  Contains real_read, bfd_bread, bfd_write,
+       bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime,
+       bfd_get_size (moved from libbfd.c and bfd.c).
+       * bfdwin.c New file.  Contains _bfd_window_internal,
+       bfd_init_window, bfd_free_window, bfd_get_file_window (moved from
+       libbfd.c and bfd.c).
+       * po/SRC-POTFILES.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * aclocal.m4: Regenerate.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2002-11-18  Klee Dienes  <kdienes@apple.com>
+
+       * bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY.
 
 2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
 
 
 2002-11-06  Klee Dienes  <kdienes@apple.com>
 
-         * coff-stgo32.c (stub_bytes): Mark as const.
+        * coff-stgo32.c (stub_bytes): Mark as const.
         Fix comment formatting.
 
 2002-11-06  Klee Dienes  <kdienes@apple.com>
 
-       * Makefile.am (BFD32_BACKENDS): Add mach-o.lo, pef.lo, and 
+       * Makefile.am (BFD32_BACKENDS): Add mach-o.lo, pef.lo, and
        xsym.lo.
        (BFD32_BACKENDS_CFILES): Add mach-o.c, pef.c, and xsym.c.
        (SOURCE_HFILES): Add mach-o.h, pef.h, pef-traceback.h, xsym.h
        * bfd.c (struct bfd): Add private data for mach-o, pef, and sym.
        * targets.c (enum bfd_flavour): Add flavours for mach-o, pef, and
        sym.
-        (_bfd_target_vector): Add target vectors for mach-o, pef, and sym.
+       (_bfd_target_vector): Add target vectors for mach-o, pef, and sym.
        * Makefile.in: Regenerate.
        * doc/Makefile.in: Regenerate.
-        * bfd-in2.h: Regenerate.
+       * bfd-in2.h: Regenerate.
        * xsym.c: New file.  Contains support for the Apple/Metrowerks
        xSYM debugging format.
        * xsym.h: New file.
        * pef-traceback.h: New file.  Contains support for parsing PowerPC
        traceback tables as used by PEF executables (and perhaps other
        systems as well).
-        * mach-o.c: New file.  Contains support for the Mach-O object file
+       * mach-o.c: New file.  Contains support for the Mach-O object file
        format.
        * mach-o.h: New file.
        * mach-o-target.c: New file.  Declares the mach-o targets
        themselves.  Included three times by mach-o.c; each time with a
        different set of macros set.
-       
+
 2002-11-06  Graeme Peterson  <gp@qnx.com>
 
        * Makefile.am: Remove entries for elf32-qnx.[ch].
This page took 0.026026 seconds and 4 git commands to generate.