-2007-02-13 Alan Modra <amodra@bigpond.net.au>
+2008-03-27 Cary Coutant <ccoutant@google.com>
- * embedspu.sh: Add -W to readelf invocation.
+ Add support for thin archives.
+ * ar.c (make_thin_archive): New global flag.
+ (map_over_members): Deal with full pathnames in thin archives.
+ (usage, main): Add 'T' option for building thin archives.
+ (replace_members): Pass thin archive flag to ar_emul_append.
+ * arsup.c (ar_open): Initialize new flag.
+ * binemul.c (ar_emul_append): Add new parameter for
+ flattening nested archives.
+ (do_ar_emul_default_append): New function.
+ (ar_emul_default_append): Factored out recursive code.
+ * binutils/binemul.h (ar_emul_default_append): Add new parameter.
+ (struct bin_emulation_xfer_struct): New parameter for ar_append.
+ * dlltool.c (gen_lib_file): Initialize thin archive flag.
+ * emul_aix.c (ar_emul_aix_internal): Add new flatten
+ parameter, currently unimplemented.
+ All callers changed.
+ * objcopy.c (copy_archive): Preserve thin archive flag.
+ * doc/binutils.texi: Update ar documentation.
+ * NEWS: Mention the new feature.
-2007-02-06 Dave Brolley <brolley@redhat.com>
+2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
- * MAINTAINERS: Add myself as the maintainer of the MeP port.
+ * readelf.c (process_mips_specific): Declare addr_size as int.
-2007-02-06 Nick Clifton <nickc@redhat.com>
+2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
- PR gas/3800
- * readelf.c: Include elf/h8.h twice. The first time in order to
- get the reloc numbers, the second time in order to get the reloc
- decoder function.
- (dump_section): Tell the user if the section being displayed has
- unprocessed relocs associated with it.
- (get_reloc_size): New function - returns the size of a reloc.
- (debug_apply_rela_addends): Use get_reloc_size().
- * dwarf.c (read_and_display_attr_value): Extend number of
- languages known for the DW_AT_language attribute.
- (process_debug_info): Display the attribute offset before decoding
- the attribute, in case there are problems.
+ * readelf.c (print_mips_got_entry): New function.
+ (process_mips_specific): Print GOT information.
-2007-02-05 Dave Brolley <brolley@redhat.com>
+2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
- * readelf.c (dump_relocations): Don't check for
- (rtype == NULL && type == R_RELC).
+ * aclocal.m4: Regenerate.
+ * configure: Likewise.
+ * Makefile.in: Likewise.
+ * doc/Makefile.in: Likewise.
-2007-02-05 Dave Brolley <brolley@redhat.com>
+2008-03-16 Brian Dessent <brian@dessent.net>
- * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
- * Makefile.in: Regenerated.
- * Contribute the following changes:
- 2003-10-29 Dave Brolley <brolley@redhat.com>
+ * rcparse.y (resid): Allow control text to span multiple lines.
- * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
- * configure: Regenerated.
+2008-03-13 Alan Modra <amodra@bigpond.net.au>
- 2001-04-03 Ben Elliston <bje@redhat.com>
+ * readelf.c: Use %u throughout when printing sh_link or sh_info,
+ %lu when printing sh_addralign.
+ (process_version_sections): Use identical formats when printing
+ all offset and sh_link fields.
- * readelf.c: Include "elf/mep.h".
- (guess_is_rela): Handle EM_CYGNUS_MEP.
- (get_machine_name): Ditto.
- (dump_relocations): Ditto.
+2008-03-13 Alan Modra <amodra@bigpond.net.au>
-2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * doc/Makefile.in: Regenerate.
+ * configure: Regenerate.
- * MAINTAINERS: Add a space between H.J. and Lu.
+2008-03-12 Alan Modra <amodra@bigpond.net.au>
-2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
+ PR 5900
+ * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
+ Remove use throughout file.
+ (SECTION_HEADER): Likewise.
+ (dump_relocations): Don't adjust st_shndx for reserved range.
+ (process_file_header): Mask SHN_XINDEX to values seen in external
+ elf structs. Simplify valid section index tests.
+ (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
+ Map reserved st_shndx to internal form.
+ (process_section_groups): Test that group symbol st_shndx is in
+ range, not just non-zero. Delete reserved range check.
+ (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
+ OS or RSV.
- * doc/binutils.texi (objdump): Document the new addr64 option
- for i386 disassembler.
+2008-03-09 Paul Brook <paul@codesourcery.com>
-2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
+ * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
- PR binutils/3945
- * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
- target.
- (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
- * configure: Regenerated.
+2008-03-03 James E. Wilson <wilson@tuliptree.org>
- * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
+ * MAINTAINERS: Update my email address.
-2007-02-02 Nick Clifton <nickc@redhat.com>
+2008-03-03 Nick Clifton <nickc@redhat.com>
- * doc/binutils.texi (objdump): Document support for disassembling
- the 440 PowerPC architecture.
+ * dwarf.c (decode_location_expression): Handle
+ DW_OP_PGI_omp_thread_num.
-2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
+2008-03-01 Alan Modra <amodra@bigpond.net.au>
- * dwarf.c (process_debug_info): Protect against bogus length and
- abbrev offsets.
+ * objdump.c (objdump_print_addr): Initialise "sym".
-2007-01-25 Kazu Hirata <kazu@codesourcery.com>
+2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
+ Nick Clifton <nickc@redhat.com>
- * ar.c (print_contents, extract_file): Cast the return value
- of fwrite to size_t.
+ * ar.c (usage): Mention -t command line switch.
+ * doc/binutils.texi (ranlib): Document -t command line switch.
-2007-01-12 Alan Modra <amodra@bigpond.net.au>
+2008-02-26 Nick Clifton <nickc@redhat.com>
- * ar.c (open_inarch): Check fwrite return. Use size_t.
- (extract_file): Likewise. Remove test for "negative" file size.
- * readelf.c (process_program_headers): Check fscanf return.
+ * objdump.c (objdump_print_addr): If displaying file offsets, show
+ the offset even if there are no symbols available.
+ (dump_section): Display nothing if none of the section is going to
+ be dumped. Display the file offset, if requested, of the location
+ from where the dump starts.
+ * doc/binutils.texi (objdump): Mention that dumping via the -s
+ switch is also affected by the -F option.
-2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
+2008-02-26 Nick Clifton <nickc@redhat.com>
- * bucomm.c (template_in_dir): Fix typo.
+ Re-apply this patch which was accidentally deleted:
+ 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
-2007-01-11 Alan Modra <amodra@bigpond.net.au>
+ * doc/binutils.texi: Use "Binutils Index" for index name.
- * embedspu.sh: New file.
- * Makefile.am (embedspu): Add rule.
- * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
- * Makefile.in: Regenerate.
- * configure: Regenerate.
+2008-02-22 Nick Clifton <nickc@redhat.com>
-2007-01-11 Alan Modra <amodra@bigpond.net.au>
+ * objdump.c (display_file_offsets): New variable.
+ (long_options): Add -F/--file-offsets.
+ (objdump_print_addr_with_sym): If displaying file offsets, print
+ the offset of the given address.
+ (disassemble_bytes): If displaying file offsets, tell the user how
+ many zeroes are skipped and the file offset of the point where
+ dumping resumes.
+ (disassemble_section): Only display the name of the section if
+ data is going to be dumped from it.
+ (main): Handle new option. Produce error messages if the start or
+ stop addresses do not make sense.
+ * doc/binutils.texi: Document the new feature.
+ * NEWS: Mention the new feature.
- * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
- * bucomm.c (template_in_dir): New function, split out from..
- (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
- (make_tempdir): Use template_in_dir. Handle directory creation
- when !HAVE_MKDTEMP.
- * objcopy.c (MKDIR): Don't define.
- (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
- error message.
+2008-02-15 Chu Li <chul@cn.fujitsu.com>
+ Nick Clifton <nickc@redhat.com>
-2007-01-08 Kazu Hirata <kazu@codesourcery.com>
+ PR binutils/5713
+ * strings.c (integer_arg): Delete function.
+ (string_min): Initialise to 4.
+ (main): Use strtoul to parse integer arguments.
+ Move check for an invalid string length to after all the arguments
+ have been parsed.
+ (usage): Use indentation to indicate that -<n> is a another form
+ of the --bytes= command line option.
- * readelf.c (get_machine_flags): Treat Fido as an architecture
- by itself.
+2008-02-12 Nick Clifton <nickc@redhat.com>
-2007-01-08 Kai Tietz <kai.tietz@onevision.com>
+ * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
+ the argument.
+ (scan_obj_filename): Do not drop the const qualifier when calling
+ mcore_elf_cache_filename.
+ (struct fname_cache): Add const qualifier to filename field.
- * configure.in: Renamed target x86_64-*-mingw64 to
- x86_64-*-mingw*.
+2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/5713
+ * strings.c (main): Set string_min to 4 if it is <= 0.
+
+2008-02-07 Alan Modra <amodra@bigpond.net.au>
+
+ * objdump.c (main): Don't pass unadorned NULL to concat.
+
+2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 5715
* configure: Regenerated.
-2007-01-05 Alan Modra <amodra@bigpond.net.au>
+2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
+
+ * readelf.c (get_machine_flags): Handle Octeon.
+
+2008-01-30 Tristan Gingold <gingold@adacore.com>
+
+ * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
+ (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
+ (get_dynamic_type): Handle IA64-specific tags.
+ (get_ia64_section_type_name): Handle OpenVMS-specific sections.
+ (get_section_type_name): Handle OS-specific sections (and
+ particularly IA64 OpenVMS one).
+ (get_elf_section_flags): Makes flags static. Add entries for IA64 and
+ decode them.
+
+2008-01-29 Nick Clifton <nickc@redhat.com>
+
+ * dwarf.c (print_dwarf_vma): New function. Display the value of a
+ dwarf_vma type at a specified precision. Use mingw field type
+ specifier if necessary.
+ (display_debug_loc): Use dwarf_vma type for begin and end values.
+ Use print_dwarf_vma to display their values. Use byte_get_signed
+ in order to correctly detect the -1 escape value.
+ (display_debug_aranges): Likewise.
+ (display_debug_ranges): Likewise.
+
+2008-01-29 Alan Modra <amodra@bigpond.net.au>
+
+ * dwarf.c (display_debug_loc): Correct test for base address
+ entry when 64-bit host dumping 32-bit object.
+
+2008-01-29 Alan Modra <amodra@bigpond.net.au>
+
+ * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
+
+2008-01-28 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/5529
+ * rclex.c (yylex): Also allow the hypen character.
+
+2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * dwarf.c: Include "elf/common.h".
+ (eh_addr_size): Changed to int.
+ (dwarf_regnames_i386): New.
+ (dwarf_regnames_x86_64): Likewise.
+ (dwarf_regnames): Likewise.
+ (dwarf_regnames_count): Likewise.
+ (init_dwarf_regnames): Likewise.
+ (regname): Likewise.
+ (frame_display_row): Properly support different address size.
+ Call regname to get register name.
+ (display_debug_frames): Call regname to get register name.
+ Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
+ instead of DW_CFA_def_cfa_reg.
+
+ * dwarf.h (init_dwarf_regnames): New.
+
+ * objdump.c: Include "elf-bfd.h".
+ (dump_dwarf): Call init_dwarf_regnames on ELF input.
+
+ * readelf.c (guess_is_rela): Change argument to int.
+ (parse_args): Remove the undocumented upper case options for
+ -wX.
+ (process_file_header): Call init_dwarf_regnames.
+
+2008-01-25 DJ Delorie <dj@redhat.com>
+
+ * readelf.c (process_section_headers): Add m16c handler.
+ (is_16bit_abs_reloc): Recognize R_M32C_16.
+
+2008-01-25 Kai Tietz <kai.tietz@onevision.com>
+
+ * prdbg.c: Correct formatter style use.
+ * readelf.c: Likewise.
+ * strings.c: Likewise.
+
+2008-01-25 Nick Clifton <nickc@redhat.com>
+
+ * po/ru.po: Updated Russian translation.
+
+2008-01-17 H.J. Lu <hjl.tools@gmail.com>
+
+ * MAINTAINERS: Update my email address.
+
+2008-01-14 Nick Clifton <nickc@redhat.com>
+
+ * dwarf.c (process_debug_info): Include the CU offset and corrupt
+ version value when reporting unrecognised DWARF version numbers.
+ (load_debug_info): Remember a failed attempt to load and parse the
+ .debug_info section and do not repeat such attempts.
+ (display_debug_lines): Check the return value from load_debug_info
+ and return whilst displaying a warning message if the load failed.
+ (display_debug_loc): Likewise.
+ (display_debug_ranges): Likewise.
+ (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
+ when the .debug_info section could not be loaded/parsed.
+ (process_debug_info): Display the length of the compilation unit
+ in hex, so that it corresponds with the offsets that will follow.
+ Tell the user if the length was 32-bit or 64-bit.
+ If a DIE abbreviation could not be found, tell the user the offset
+ of the DIE.
+ (free_debug_memory): Do not attempt to free any entries in the
+ debug_information array if num_debug_info_entries is set to
+ DEBUG_INFO_UNAVAILABLE.
+
+2008-01-10 Andreas Schwab <schwab@suse.de>
+
+ * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
+
+2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
+
+ PR binutils/55326
+ * bucomm.c (list_supported_architectures): Free architecture list
+ after use.
+ * windres.c (set_endianess): Likewise.
+ * windmc.c (set_endianess): Likewise.
+
+2008-01-08 Kai Tietz <kai.tietz@onevision.com>
+
+ PR binutils/5529
+ * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
+ characters for name tokens.
+
+2008-01-04 Greg McGary <greg@mcgary.org>
+
+ * prdbg.c (print_vma): Print as long long, if host supports it.
+
+2008-01-03 Nick Clifton <nickc@redhat.com>
- * readelf.c (dump_section): Don't print 32-bit values, which
- were done incorrectly for little-endian. Instead print bytes.
+ * dwarf.c (read_and_display_attr_value): Prefix values that are
+ displayed in hexadecimal with 0x.
+ For the DW_AT_import attribute display the abbreviation number and
+ tag of the imported DIE.
+ (process_debug_info): Warn about lengths that reserved by the
+ DWARF3 specification.
+ Provide more information when corrupted DIEs are detected.
+ Warn if DIE corruption makes the sibling level negative.
-For older changes see ChangeLog-2006
+For older changes see ChangeLog-2007
\f
Local Variables:
mode: change-log