Enable -Werror by default
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 0b1ad710981e39cc6b83e28a9b7ee4a26a15d035..f45d24c6bdb86014d167fd3b2e55af2f992f586c 100644 (file)
@@ -1,8 +1,263 @@
+2005-03-16  Nick Clifton  <nickc@redhat.com>
+           Ben Elliston  <bje@au.ibm.com>
+
+       * configure.in (error-on-warning): New switch: Add -Werror to the
+       compiler command line.  Enabled by default.  Disable via
+       --disable-error-on-warning.
+       * 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"
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2005-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (BYTE_GET8): Delete.  Replace uses with BYTE_GET.
+       (byte_get_little_endian): Don't handle size of -8.
+       (byte_get_signed, byte_get_big_endian): Likewise.
+       (print_dec_vma, print_hex_vma): New functions.
+       (print_vma): Use them.  Return chars output.
+       (get_dynamic_data): Return a bfd_vma array.  Add ent_size parm.
+       (process_symbol_table): Handle alpha and s390 .hash.
+
+2005-02-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (display_debug_loc): Print out offset for end of
+       list.
+
+2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * Makefile.am (TOOL_PROGS): Add objdump.
+       * Makefile.in: Regenerate.
+
+2005-02-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * deflex.l (YY_NO_UNPUT): Define.
+       * rclex.l (YY_NO_UNPUT): Define.
+       * rcparse.y (null_unichar): New static var.
+       (res_null_text): Use it rather than attempting to init from wchar_t.
+       * windres.c: Include assert.h and time.h before getopt.h.
+       Include config.h and unistd.h too.
+
+2005-02-15  Nick Clifton  <nickc@redhat.com>
+
+       * nlmconv.c: Provide a full prototype for the localtime() function
+       in order to avoid a compile time warning.
+
+2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (group_count): Don't initialize it.
+       (process_section_groups): Reurn 1 if we won't do unwind nor
+       section groups. Set group_count to 0 before counting group
+       sections and return 1 if there are no group sections. Reread
+       SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
+       section 0.
+       (process_object): Only set do_unwind to 0 if
+       process_section_groups return 0.
+
+2005-02-10  Ian Lance Taylor  <ian@airs.com>
+
+       * MAINTAINERS: Update my e-mail address.
+
+2005-02-10  Mark Mitchell  <mark@codesourcery.com>
+
+       * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
+       maintainers.
+
+2005-02-07  Inderpreet Singh <inderpreetb@noida.hcltech.com>
+
+        * MAINTAINERS: Add self as maintainer of MAXQ.
+
+2005-01-31  Richard Sandiford  <rsandifo@redhat.com>
+
+       * readelf.c (eh_addr_size): New variable.
+       (find_section): Move earlier in file.  Return empty sections too.
+       (process_program_headers): Use find_section to find .dynamic.
+       (process_section_headers): Initialize eh_addr_size.
+       (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
+       (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
+       (display_debug_frames): Use it instead of local addr_size variable.
+       (size_of_encoded_value): Get pointer size from eh_addr_size rather
+       than is_32bit_elf.
+
+2005-01-31  Andrew Cagney  <cagney@gnu.org>
+
+       * configure: Regenerate to track ../gettext.m4.
+
+2005-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * version.c (print_version): Bump the copyright date to 2005.
+
+2005-01-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * nm.c (display_rel_file): Read dynamic syms before calling
+       bfd_get_synthetic_symtab.
+
+2005-01-21  Ben Elliston  <bje@au.ibm.com>
+
+       * dlltool.c (dump_iat): Remove unused function.
+       (gen_exp_file): Remove #if 0'd code.
+       (make_one_lib_file): Likewise.
+       * srconv.c: Remove #if 0'd code throughout.
+       * size.c (lprint_number): Remove.
+       (print_berkeley_format): Remove #if 0'd code.
+       * ar.c (do_quick_append): Remove declaration and definiton.
+       (main): Remove #if 0'd code.
+       * filemode.c (filemodestring): Remove #if 0'd function.
+       * sysdump.c (unit_info_list): Remove function.
+       (object_body_list): Likewise.
+       (program_structure): Likewise.
+       (debug_list): Likewise.
+       (module): Remove #if 0'd code.
+
+2005-01-20  Mark Mitchell  <mark@codesourcery.com>
+
+       * BRANCHES: Add binutils-2_15-branch.
+
+       * MAINTAINERS: Document branch policy.
+       * BRANCHES: New file.
+
+2005-01-19  Fred Fish  <fnf@specifixinc.com>
+
+       * NEWS: Make note of the new MIPS disassembly option "no-aliases".
+       * doc/binutils.texi (objdump): Document the "no-aliases"
+       disassembly option.
+
+2005-01-17   Eugene Kotlyarov  <ekot@narod.ru>
+
+       PR binutils/647
+       * rcparse.y (RCDATA): Allow a filename to be supplied as the
+       parameter.  Parse it with define_rcdata_file().
+       * resrc.c (define_rcdata_file): New function.
+       * windres.h: Provide a prototype for the new function.
+
+       * resrc.c (define_user_file): Fix typo by replacing "font file"
+       with "file".
+
+2005-01-16  Jason Thorpe  <thorpej@netbsd.org>
+
+       * MAINTAINERS: Update my email address.
+
 2005-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * dlltool.c (set_dll_name_from_def): New function.  Strip name
        to basename, with warning.
-       (def_name): Use it. 
+       (def_name): Use it.
        (def_library): Likwise.
        (main): Strip arg of --dllname to basename, with warning.
        Only use basename of exp_name when inferring dll_name.
        decode_location_expression.
        (display_debug_frames): Pass 0 as the comp_unit offset to
        decode_location_expression.
-       
+
 2004-12-22  Nick Clifton  <nickc@redhat.com>
 
        * readelf.c (last_pointer_size, warned_about_missing_comp_units):
        of a 64-bit format .debug_ranges section.
        (display_debug_ranges): New function: Displays the contents of a
        32-bit .debug_ranges section.
-       
+
        (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
        global scope.
        (process_object): Initialise the dump_sects array from the
        get_debug_line_pointer_sizes.
        (display_debug_lines): Use the new functions.
        (display_debug_loc): Likewise.
-       
+
        (disassemble_section): Change return type to int.
        (display_debug_lines): Move local variables to their
        innermost scope.
 
        (debug_apply_rela_addends): Allow relocations against STT_OBJECT
        types as well.
-       
+
        * NEWS: Mention the support for decoding .debug_ranges sections.
        * doc/binutils.texi: Document the new command line switch to
        readelf.
This page took 0.04116 seconds and 4 git commands to generate.