Patch from Steve Ellcey for hpux build failure.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index ff3a70892cc87a8ef39de66ab3b873aadd0d04ec..8a929a3780d38b8b2a8123828ae3c101bd02476b 100644 (file)
@@ -1,3 +1,470 @@
+2005-06-03  Steve Ellcey  <sje@cup.hp.com>
+
+       * configure.in: Check for getc_unlocked prototype.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * strings.c (get_char): Only call getc_unlocked if we have seen a
+       prototype.
+
+2005-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add zh_TW
+       * configure: Regenerate.
+       * po/zh_TW.po: New Chinese (traditional) translation.
+
+2005-05-31  Richard Henderson  <rth@redhat.com>
+
+       * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
+
+2005-05-29  Richard Henderson  <rth@redhat.com>
+
+       * readelf.c (get_alpha_dynamic_type): New.
+       (get_dynamic_type): Call it.
+
+2005-05-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (process_section_groups): Report group section
+       index. Check if the section member index is valid.
+
+2005-05-23  Fred Fish  <fnf@specifixinc.com>
+
+       * addr2line.c (unwind_inlines): New flag for 'i' option.
+       (usage): Document '-i' option.
+       (long_options): Recognize '--inlines'.
+       (translate_addresses): Loop, calling bfd_find_inliner_info as
+       necessary and printing multiple output lines.
+       (main): Handle 'i' option.
+       * doc/binutils.texi (addr2line): Document '-i' option.
+       * NEWS: Mention new addr2line '-i' option.
+
+2005-05-23  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (fetch_indirect_string): Display a warning message
+       when a corrupt DW_FORM_strp value is encountered.
+       
+       (process_debug_info): Mention that the compilation unit offset is
+       being displayed in hexadecimal.
+       
+       (display_debug_lines): Fix typo in name of .debug_line section.
+
+2005-05-19  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.am: Have 'all' depend on 'info'.
+       * Makefile.in: Regenerate.
+
+2005-05-19  Ben Elliston  <bje@au.ibm.com>
+
+       * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
+       value of DW_ATE_GNU_decimal_float.
+
+2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/Makefile.am (config.texi): Don't use $<.
+       * doc/Makefile.in: Regenerated.
+
+2005-05-15  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
+
+       * deflex.l: Ignore CRs
+
+2005-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * acinclude.m4: Remove obsolete code.
+       * configure.in: Update AC_PREREQ.
+       * doc/Makefile.am (binutils_TEXINFOS): Define.
+       (config.texi): Depend on distributed files instead of built
+       files.
+       (binutils.dvi, binutils.info): Remove unnecessary rules.
+       (DISTCLEANFILES): Remove.
+       (install-data-local): Renamed from install.
+       (info-local): Renamed from info.
+       * Makefile.in, aclocal.m4, config.in, configure,
+       doc/Makefile.in: Regenerated.
+
+2005-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
+       DT_PPC_GLINK.
+
+2005-05-13  Fred Fish  <fnf@specifixinc.com>
+
+       * readelf.c: Fix a couple of obvious comment typos,
+       'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
+
+2005-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (dump_ia64_unwind): Get stamp with proper size.
+
+2005-05-12  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (display_debug_lines): If pointer_size has not been
+       found then assume that it is 4 in order to prevent a seg fault
+       when process_extend_line_op attempts to read the line data.
+
+2005-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
+       (get_dynamic_type): Call the above.
+
+2005-05-07  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
+       arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
+       budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
+       cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
+       dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
+       ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
+       objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
+       readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
+       size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
+       syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
+       windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
+
+2005-05-06  Jan Beulich  <jbeulich@novell.com>
+
+       * objcopy.c (copy_file): Don't delete output upon error here.
+       (copy_main): Delete output upon error.
+
+2005-05-02  Ben Elliston  <bje@au.ibm.com>
+
+       * dlltool.c (dtab): Remove empty function.
+       (process_duplicates): Remove calls to dtab().
+
+2005-05-01  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * doc/binutils.texi (strip, objcopy): Clarify the description of
+       the "--strip-debug" option.  Fix a typo.
+
+2005-04-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bucomm.c: Undo the last change.
+       * bucomm.h: Likewise.
+
+2005-04-29  Ben Elliston  <bje@au.ibm.com>
+
+       * syslex.l (word, number, unit): Remove unused variables.
+       * nlmheader.y (keyword_tokens): Make static.
+       * coffdump.c (dump_coff_symbol, coff_dump): Make static.
+       * coffgrok.c (lofile, last_function_symbol, last_function_type,
+       last_struct, last_enum, cur_sfile): Make variables static.
+       * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
+       sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
+       * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
+       names, pnames): Likewise.
+
+2005-04-29  Ben Elliston  <bje@au.ibm.com>
+
+       * ar.c (mri_mode): Make static.
+       * arsup.c (obfd, real_name, outfile): Likewise.
+       * binemul.c (ar_emul_create): Remove unused function.
+       (ar_emul_default_create): Likewise.
+       * binemul.h (ar_emul_create): Remove declaration.
+       (ar_emul_default_create): Likewise.
+       (struct bin_emulation_xfer_struct): Remove ar_create member.
+       * bucomm.c (report): Make static.
+       * bucomm.h (report): Remove declaration.
+       * cxxfilt.c (mbuffer): Make static.
+       (main): Use unsigned ints for some loop control variables.
+       * readelf.c: Make many global variables static.
+       * size.c (berkeley_format): Make static.
+       (long_options): Likewise.
+       * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
+       structure initialiser.
+       (bin_aix5_emulation): Likewise.
+       * emul_vanilla.c (bin_vanilla_emulation): Likewise.
+
+2005-04-27  Ben Elliston  <bje@au.ibm.com>
+
+       * syslex.l: Adjust top-of-file comment: this file is part of GNU
+       binutils, not GNU ld.
+
+2005-04-25  Nick Clifton  <nickc@redhat.com>
+
+       PR872
+       * objcopy.c (copy_archive): Initialise 'obfd' field of new
+       name_list structure.
+
+       * objcopy.c (copy_usage): Fix description of -K switch.
+
+       * doc/binutils.texi (strip, objcopy): Fix description of -K
+       switch.
+
+2005-04-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * readelf.c (display_debug_frames): Use data factor for
+       DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
+
+2005-04-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objdump.c (dump_section_header): Skip linker created section.
+
+2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objdump.c (dump_section_header): Support SEC_GROUP.
+
+2005-04-16  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (debug_apply_rela_addends): Remove redundant %s from
+       printf string.
+
+2005-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (copy_file): Issue an error message when attmepting to
+       copy an empty input file.
+
+2005-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
+       * configure.in: Include ../bfd/warning.m4 contents.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2005-04-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
+       (sysroff.o, defparse.o, deflex.o): Likewise.
+       (nlmheader.o, rcparse.o, rclex.o): Likewise.
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2005-04-11  Jan Beulich  <jbeulich@novell.com>
+
+       * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
+
+2005-04-06  Nick Clifton  <nickc@redhat.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * po/rw.po: New translation: Kinyarwanda.
+       * configure.in (ALL_LINGUAS): Add rw.
+       * configure: Regenerate.
+
+2005-04-04  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * readelf.c (debug_apply_rela_addends): Reorder r_info as
+       necessary for 64-bit MIPS.
+
+2005-04-04  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * doc/binutils.texi (readelf): Remove a duplicate paragraph.
+
+2005-04-04  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
+
+       PR binutils/813
+       * objdump.c (dump_symbols): Add a check to see if the section for
+       the symbol is chosen using process_section_p.
+
+2005-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention new readelf options, "-N/--full-section-name"
+       and "-g/--section-groups".
+
+       * doc/binutils.texi: Document new readelf options,
+       "-N/--full-section-name" and "-g/--section-groups".
+
+2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (do_full_section_name): New.
+       (options): Add "--full-section-name"/'N'.
+       (usage): Add -N/--full-section-name.
+       (parse_args): Handle 'N'.
+       (process_section_headers): Print out the full section name if
+       do_full_section_name isn't 0.
+
+2005-03-31  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Add a check for <unistd.h> providing a prototype
+       for getopt() which is compatible with the one in
+       include/getopt.h.  If so then define HAVE_DECL_GETOPT.
+       * configure: Regenerate.
+       * config.in (HAVE_DECL_GETOPT): Add.
+       * aclocal.m4: Regenerate.
+       * addr2line.c: Include "config.h" before "bfd.h" so that
+       HAVE_DECL_GETOPT is defined before getopt.h is included.
+
+2005-03-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+       * doc/binutils.texi: Document new VAX disassembler-specific option
+       -M entry:0xfooba8.
+       * NEWS: Mention the new option.
+
+2005-03-29  Anil Paranjpe  <anilp1@kpitcummins.com>
+
+       * MAINTAINERS: Add myself as H8300 maintainer.
+
+2005-03-28  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
+
+       * objdump.c (disassemble_bytes): Remove cast.
+
+2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * BRANCHES: Add binutils-csl-arm-2005q1-branch and
+       binutils-2_16-branch.
+
+2005-03-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * MAINTAINERS: Add myself as M88k maintainer.
+
+2005-03-24  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * winduni.c (unicode_from_ascii): Don't declare variables
+       's' and 'w' if _WIN32.  Use MultiByteToWideChar to set the unicode
+       string len.
+
+2005-03-24  Dmitry Diky   <diwil@spec.ru>
+
+       * MAINTAINERS: Add myself as MSP430 maintainer.
+
+2005-03-23  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated translation.
+
+2005-03-22  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
+       privileges list.
+
+2005-03-17  Paul Brook <paul@codesourcery.com>
+           Dan Jacobowitz <dan@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+
+       * binutils/readelf.c (get_arm_segment_type): New function.
+       (get_segment_type): Use it.
+
+2005-03-18  Paul Brook  <paul@codesourcery.com>
+
+       * objdump.c (objdump_print_addr): Avoid uninitialized warning.
+
+2005-03-17  Diego Novillo  <dnovillo@redhat.com>
+
+       * MAINTAINERS: Remove self as maintainer of x86 intel
+       mode.
+
+2005-03-16  Nick Clifton  <nickc@redhat.com>
+           Ben Elliston  <bje@au.ibm.com>
+
+       * configure.in (werror): New switch: Add -Werror to the
+       compiler command line.  Enabled by default.  Disable via
+       --disable-werror.
+       * configure: Regenerate.
+
+2005-03-15  Daniel Marques  <marques@cs.cornell.edu>
+           Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (globalize_specific_list): New linked list of symbols
+       to convert from local binding into global binding.
+       (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
+       OPTION_GLOBALIZE_SYMBOLS.
+       (copy_options): Add "globalize-symbol" and "globalize-symbols".
+       (copy_usage): Document the new switches.
+       (filter_symbols): Convert defined local symbols mentioned on the
+       globalize_specific_list into global symbols.
+       (copy_object): Perform actions if the globalize_specific_list is
+       not empty.
+       (copy_main): Handle new switches.
+       * NEWS: Mention new feature.
+       * doc/binutils.texi: Document new switches.
+
+2005-03-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/es.po: Commit new Spanish translation.
+
+       * po/fr.po: Commit new French translation.
+
+2005-03-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/tr.po: Commit new Turkish translation.
+
+2005-03-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2005-03-10  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
+       * configure: Regenerate.
+       * po/ro.po: New file.
+
+       * po/ru.po: Updated file.
+
+2005-03-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/binutils.pot: Regenerate.
+
+2005-03-02  Jan Beulich  <jbeulich@novell.com>
+
+       * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
+       * objcopy.c (copy_file): Likewise.
+       (strip_main): Likewise.
+
+2005-03-01  Stig Petter Olsroed  <stigpo@users.sourceforge.net>
+           Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
+       (struct objdump_disasm_info): Add 'reloc' field.
+       (disassemble_bytes): Fix check for when an insn has a reloc
+       associated with it.  Improve comment explaining why the use of
+       octets is wrong.  Set the 'reloc' field in objdump_disasm_info
+       structure.
+       (objdump_print_addr): Use new 'reloc' field to lookup the correct
+       address for the symbol associated with the current instruction's
+       relocation.
+       (disassemble_info): Initialise 'reloc' field.
+
+2005-02-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (get_file_type, get_machine_name, get_osabi_name,
+       get_segment_type, get_section_type_name, get_elf_class,
+       get_data_encoding, get_group_flags, dynamic_section_mips_val,
+       get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
+       get_AT_name, process_mips_specific, process_gnu_liblist,
+       get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
+       sprintf where needed.
+       (get_dynamic_type): Likewise.  Increase buff to 64 bytes.
+       (get_elf_section_flags): Increase buff to 33 bytes.  Avoid
+       using strcat.
+       (get_dynamic_flags): Renamed to...
+       (print_dynamic_flags): ... this.  Print the flags to stdout instead
+       of returning them as string.
+       (process_dynamic_section): Adjust caller.
+
+2005-02-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (display_debug_ranges): Print out offset for end of
+       list.
+
+2005-02-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * dlltool.c: Warning fixes.
+       * objdump.c: Likewise.
+
+2005-02-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
+       (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
+       dependencies.  Run "make dep-am".
+       * nlmconv.c: Warning fixes.
+       * readelf.c: Likewise.
+       * srconv.c: Likewise.
+       * sysdump.c: Likewise.
+       * sysinfo.y: Likewise.
+       * syslex.l: Likewise.  Use yyleng instead of strlen, memcpy instead
+       of strcpy.
+       * Makefile.in: Regenerate.
+
+2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (parse_flags): Replace SEC_SHARED with
+       SEC_COFF_SHARED.
+
+       * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
+       SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
+       SEC_COFF_SHARED for COFF only.
+
 2005-02-21  Alan Modra  <amodra@bigpond.net.au>
 
        * Makefile.am: Run "make dep-am"
This page took 0.027464 seconds and 4 git commands to generate.