1 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
3 * configure.in: Renamed target x86_64-*-mingw64 to
5 * configure: Regenerated.
7 2007-01-05 Alan Modra <amodra@bigpond.net.au>
9 * readelf.c (dump_section): Don't print 32-bit values, which
10 were done incorrectly for little-endian. Instead print bytes.
12 2006-12-25 Kazu Hirata <kazu@codesourcery.com>
14 * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.
16 2006-12-11 J"orn Rennecke <joern.rennecke@arc.com>
18 MAINTAINERS (SH): Remove my entry.
20 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
22 * configure.in: Define GENINSRC_NEVER.
23 * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
24 (DISTCLEANFILES): Pretend to add info file.
25 * po/Make-in (.po.gmo): Put gmo files in objdir.
26 * configure, Makefile.in, doc/Makefile.in: Regenerated.
28 2006-12-07 Kazu Hirata <kazu@codesourcery.com>
30 * readelf.c: Update uses of EF_M68K_*.
32 2006-10-30 Paul Brook <paul@codesourcery.com>
34 * objdump.c (disassemble_section): Set info->symtab_pos.
35 (disassemble_data): Set info->symtab and info->symtab_size.
37 2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
40 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
41 * configure: Regenerated.
42 * config.in: Likewise.
44 * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
45 (program_interpreter): Allocate PATH_MAX bytes instead of 64.
46 (process_program_headers): Don't assume that program interpreter
47 is shorter than 64 characters.
49 2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
50 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
51 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
52 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
53 Alan Modra <amodra@bigpond.net.au>
55 * readelf.c: Add SPU support.
56 * Makefile.am: Run "make dep-am".
57 * Makefile.in: Regenerate.
59 2006-10-13 Robert Connolly <robert@linuxfromscratch.org>
62 * configure.in: Check for the mkstemp and mkdtemp functions.
63 * configure: Regenerate.
64 * config.in (HAVE_MKDTEMP): New potential define.
65 (MAKE_MKSTEMP): Likewise.
66 * bucomm.c (make_tempname): Use mkstemp if it is available.
67 (make_tempdir): New function: Create a temporary directory using
68 mkdtemp, if it is available.
69 * bucomm.h (make_tempdir): New prototype.
70 * objcopy.c (copy_archive): Use make_tempdir if it is available.
71 (strip_main): Produce an warning message if a temporary file could
73 (copy_main): Likewise.
74 * ar.c (write_archive): Likewise.
76 2006-10-10 Andreas Schwab <schwab@suse.de>
78 * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
79 there are no location lists.
80 (display_debug_ranges): Similar for range_lists.
82 2006-10-04 H.J. Lu <hongjiu.lu@intel.com>
84 * readelf.c (debug_apply_rela_addends): Don't ignore relocation
85 against symbols without type.
87 2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
89 * nlmconv.c (main) : Use LITMEMCPY.
90 * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
92 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
95 * strings.c (main): Handle "-T format".
97 2006-09-26 Nick Clifton <nickc@redhat.com>
99 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
101 2006-09-26 Thiemo Seufer <ths@networkno.de>
103 * configure.in: Remove broken changequote lines.
105 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
107 * configure.in: Add new target x86_64-pc-mingw64.
108 * configure: Regenerate.
109 * dlltool.c: Adjust include for this target.
110 (DLLTOOL_MX86_64): Added macro to handle target specific code.
111 (mname): Added default target static as "i386:x86-64".
112 (MX86): Added macro for target ident.
113 (mtable): Added target specific definitions.
114 (rvaafter): Add handling of MX86.
115 (rvabefore): Add handling of MX86.
116 (asmprefix): Add handling of MX86.
118 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
120 * readelf.c: Add support for Score binaries.
121 * Makefile.am: Update readelf's dependencies.
122 * Makefile.in: Regenerate.
124 2006-09-16 Nick Clifton <nickc@redhat.com>
125 Pedro Alves <pedro_alves@portugalmail.pt>
127 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
128 macros defined in bfd.h.
129 * dlltool.c: Likewise.
130 * emul_aix.c: Likewise.
131 * nlmconv.c: Likewise.
132 * objdump.c: Likewise.
135 * readelf.c (const_strneq): New macro.
136 (process_section_headers, slurp_ia64_unwind_table,
137 slurp_hppa_unwind_table, display_debug_section, process_notes,
138 process_archive): Use the new macro.
140 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
143 * objcopy.c (group_signature): Return proper group signature.
145 2006-09-14 Alan Modra <amodra@bigpond.net.au>
148 * objcopy.c (group_signature): New function, split out from..
149 (setup_section): ..here.
150 (is_strip_section): Return true for SHT_GROUP sections that are
151 going to lose their group signature symbol.
153 2006-09-14 Alan Modra <amodra@bigpond.net.au>
156 * objcopy.c (copy_object): Load symbols earlier.
157 (setup_section): Mark group signature symbols with BSF_KEEP.
159 2006-09-09 Nick Clifton <nickc@redhat.com>
162 * objcopy.c (copy_archive): Add new parameter:
163 force_output_target. If not true, then perserve the file formats
164 of each copied archive element, otherwise force them to be one
165 specific file format.
166 (copy_file): Compute force_output_target parameter to pass to
169 2006-09-05 Nick Clifton <nickc@redhat.com>
172 * objcopy.c (is_strip_section): Do not treat group sections as
174 * doc/binutils.texi (--only-keep-debug): Document that this switch
175 is only intended for use on fully linked files.
177 2006-09-01 Nick Clifton <nickc@redhat.com>
180 * readelf.c (dump_relocations): Check for a NULL value in rtype
183 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
185 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
186 with -DDLLTOOL_ARM_WINCE for Windows CE case.
187 * configure: Regenerate.
188 * dlltool.c: Add support for arm-wince.
190 2006-08-15 Nick Clifton <nickc@redhat.com>
193 * wrstabs.c (stab_tag_type): Initialize 'size'.
195 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
198 * doc/Makefile.am: Use single quotes inside backquotes for
199 date command while generating config.texi.
200 * doc/Makefile.in: Regenerate.
202 2006-08-08 Nick Clifton <nickc@redhat.com>
205 * dwarf.c (display_debug_aranges): When the address size is
206 greater than 4 display addresses and lengths as 16 hex digits,
207 otherwise use 8 hex digits.
209 2006-08-06 Nick Clifton <nickc@redhat.com>
212 * addr2line.c (process_file): Change function from void to
213 returning an int. Return 0 upon success, 1 otherwise.
214 (main): Use return value from process_file as the exit value.
215 * ar.c (ranlib_only): Change function from void to returning an
216 int. Return 0 upon success, 1 otherwise.
217 (ranlib_touch): Likewise.
218 (main): Use return value from ranlib functions as exit value.
219 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
221 (copy_file): Likewise.
222 (strip_main): Likewise.
223 (copy_main): Likewise.
224 * objdump.c (display_file): Set exit_status to 1 if get_file_size
226 * size.c (display_file): Set return_code to 1 if get_file_size
229 2006-08-02 Thiemo Seufer <ths@mips.com>
230 Nigel Stephens <nigel@mips.com>
232 * readelf.c (dump_relocations): Handle MIPS-specific
233 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
234 (get_symbol_index_type): Similarly.
236 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
238 * doc/binutils.texinfo: Fix spelling mistakes.
240 2006-07-10 Jakub Jelinek <jakub@redhat.com>
242 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
243 (get_section_type_name): Handle SHT_GNU_HASH.
244 (dynamic_info_DT_GNU_HASH): New variable.
245 (process_dynamic_section): Handle DT_GNU_HASH.
246 (process_symbol_table): Print also DT_GNU_HASH histogram.
248 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
251 * doc/binutils.texi (Strings): Document -T shorthand for --target
253 * strings.c: Update comment to include -T option.
256 * doc/binutils.texi (readelf): Fix spelling typo.
258 2006-06-30 Nick Clifton <nickc@redhat.com>
260 * dwarf.c (display_debug_frames): Catch a corrupt length field
261 generating an end of block address that is beyond the end of the
263 When encountering a corrupt CIE pointer do not reset the start
264 pointer as more data still has to be read.
265 Do not warn about user defined call frame instructions.
267 2006-06-29 DJ Delorie <dj@redhat.com>
269 * readelf.c (process_section_headers): Add H8/300 support.
271 2006-06-23 Richard Sandiford <richard@codesourcery.com>
273 * objcopy.c (localize_hidden): New variable.
274 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
275 (copy_options): Add --localize-hidden.
276 (copy_usage): Mention --localize-hidden.
277 (is_hidden_symbol): New function.
278 (filter_symbols): Handle localize_hidden.
279 (copy_object): Call filter_symbols if localize_hidden.
280 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
281 * doc/binutils.texi (--localize-hidden): Document new option.
283 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
285 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
286 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
287 * Makefile.in: Regenerate.
289 2006-06-23 Alan Modra <amodra@bigpond.net.au>
291 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
292 * Makefile.in: Regenerate.
294 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
296 * po/Make-in (pdf, ps): New dummy targets.
298 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
300 * po/Make-in (top_builddir): Define.
302 2006-06-05 Alan Modra <amodra@bigpond.net.au>
304 * config.in: Regenerate.
306 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
308 * doc/Makefile.am (TEXI2DVI): Define.
309 * doc/Makefile.in: Regenerate.
311 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
313 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
314 DEPENDENCIES variables for every program.
316 (INCLUDES): Use @INCINTL@.
317 * acinclude.m4: Include new gettext macros.
318 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
319 Remove local code for po/Makefile.
320 * Makefile.in, configure, doc/Makefile.in: Regenerated.
322 2006-05-30 Nick Clifton <nickc@redhat.com>
324 * po/es.po: Updated Spanish translation.
326 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
328 * MAINTAINERS: Update my email address.
330 2006-05-24 Nick Clifton <nickc@redhat.com>
332 * po/fr.po: Updated French translation.
334 2006-05-23 Nick Clifton <nickc@redhat.com>
336 * po/vi.po: Updated Vietnamese translation.
338 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
340 * po/ru.po: Updated translation.
342 2006-05-19 Andreas Schwab <schwab@suse.de>
344 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
346 (dlltool.1): Likewise.
347 (nlmconv.1): Likewise.
349 (objcopy.1): Likewise.
350 (objdump.1): Likewise.
351 (ranlib.1): Likewise.
352 (readelf.1): Likewise.
354 (strings.1): Likewise.
356 (windres.1): Likewise.
357 (cxxfilt.man): Likewise.
358 * doc/Makefile.in: Regenerated.
360 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
362 * doc/binutils.texi: Use "Binutils Index" for index name.
364 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
366 * dwarf.c (display_debug_frames): Don't return on ZERO
369 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
371 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
372 (TEXI2POD): Use AM_MAKEINFOFLAGS.
373 (config.texi): Don't set top_srcdir.
374 * doc/binutils.texi: Don't use top_srcdir.
375 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
377 2006-04-26 Julian Brown <julian@codesourcery.com>
379 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
381 2006-04-19 Alan Modra <amodra@bigpond.net.au>
383 * Makefile.am: Run "make dep-am".
384 * Makefile.in: Regenerate.
386 2006-04-19 Alan Modra <amodra@bigpond.net.au>
388 * configure: Regenerate.
390 2006-04-18 Nick Clifton <nickc@redhat.com>
393 * readelf.c (SECTION_NAME): Cope with a missing string table.
394 (process_file_header): Cope with a corrupt e_shstrndx field.
395 (process_section_headers): Correctly handle an e_shstrndx value of
398 2006-04-12 Nick Clifton <nickc@redhat.com>
400 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
402 2006-04-10 Ben Elliston <bje@gnu.org>
404 * MAINTAINERS (CGEN Maintainers): Remove myself.
406 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
408 * po/Make-in: Add install-html target.
409 * Makefile.am: Add install-html and install-html-recursive targets.
410 * Makefile.in: Regenerate.
411 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
412 * configure: Regenerate.
413 * doc/Makefile.am: Add install-html and install-html-am targets.
414 * doc/Makefile.in: Regenerate.
416 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
418 * addr2line.c (long_options): Add new option 'section'.
419 (usage): Document new -j/--section option.
420 (find_offset_in_section): New function.
421 (translate_addresses): Add 'section' parameter.
422 If it is non-null, call find_offset_in_section on it.
423 (process_file): Add 'section_name' parameter.
424 If it is non-null, look for the section in the BFD object.
425 Pass the section to translate_addresses.
426 (main): Handle new -j option.
427 Pass the section name to process_file.
428 * doc/binutils.texi (addr2line): Document new -j/--section option.
430 2006-03-29 Ben Elliston <bje@au.ibm.com>
432 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
434 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
436 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
437 binutils-csl-2_17-branch instead.
439 2006-03-20 Paul Brook <paul@codesourcery.com>
441 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
443 2006-03-16 Alan Modra <amodra@bigpond.net.au>
446 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
447 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
449 2006-03-13 Ben Elliston <bje@au.ibm.com>
451 * bucomm.c (display_target_list): Make local variable `a' to be of
452 type enum bfd_architecture. Thus no need to cast enums to int.
453 (display_info_table): Likewise.
455 2006-03-10 Paul Brook <paul@codesourcery.com>
457 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
459 2006-03-10 Alan Modra <amodra@bigpond.net.au>
461 * dwarf.c (process_extended_line_op): Remove pointer_size param.
462 Use length instead to determine address size.
463 (get_pointer_size_and_offset_of_comp_unit): Delete.
464 (display_debug_lines): Adjust for above.
465 (display_debug_aranges): Don't stop on finding two zeros.
466 (display_debug_frames): For warning, print offset not pointer.
468 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
470 * dlltool.c: Update copyright year.
471 * doc/binutils.texi: Likewise.
473 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
475 * dlltool.c (add_stdcall_underscore): New flag.
476 (xlate): Also add underscore to stdcall symbol if
477 add_stdcall_underscore set.
478 (usage): Document --add-stdcall-underscore option.
479 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
480 (long_options): Use it for --add-stdcall-underscore option.
482 * doc/binutils.texi: Document --add-stdcall-underscore option
483 and differentiate from --add-underscore.
485 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
487 * readelf.c (get_machine_flags): Adjust.
489 2006-03-03 Jakub Jelinek <jakub@redhat.com>
491 * dwarf.c (frame_display_row, display_debug_frames): Handle
492 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
494 2006-02-28 Nick Clifton <nickc@redhat.com>
496 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
497 (copy_object): If bfd_alt_mach_code fails emit a more helpful
498 message and if the target architecture is ELF use the alternative
499 as replacement value for the e_machine number.
500 (copy_main): Use strtoul to parse the number provided with the
501 --alt-mach-code switch.
502 * doc/binutils.texi (--alt-mach-code): Document that this switch
503 can now set the absolute e_machine value.
505 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
507 * po/Make-in: Add html target.
509 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
511 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
513 2006-02-14 Jakub Jelinek <jakub@redhat.com>
515 * config.in: Rebuilt.
517 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
520 * readelf.c (process_program_headers): Use
521 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
523 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
525 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
526 * configure: Regenerate.
527 * objdump.c (fprintf): Remove declaration.
528 * bucomm.h (fprintf): Declare if not already declared.
529 (snprintf): Likewise.
530 (vsnprintf): Likewise.
532 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
534 * readelf.c (process_program_headers): Match PT_TLS segment
535 only with SHT_TLS sections.
537 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
539 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
541 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
543 * readelf.c (process_program_headers): Undo the last change.
545 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
547 * readelf.c (process_program_headers): Undo the change made on
548 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
551 2006-01-30 Nick Clifton <nickc@redhat.com>
553 * objcopy.c (copy_object): Catch the case where an attempt is made
554 to add a section that already exists and produce a more helpful
557 2006-01-26 Nick Clifton <nickc@redhat.com>
559 * po/vi.po: New Vietnamese translation.
560 * configure.in (ALL_LINGUAS): Add vi.
561 * configure: Regenerate.
563 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
565 Introduce TLS descriptors for i386 and x86_64.
566 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
569 2006-01-18 Nick Clifton <nickc@redhat.com>
572 * objcopy.c (copy_object): For PE format targets set the VMA of a
573 newly created gnu_debuglink section to a non-zero, aligned,
575 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
576 * Makefile.in: Regenerate.
578 2006-01-17 Andreas Schwab <schwab@suse.de>
581 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
582 * configure: Regenerate.
583 * objdump.c (struct objdump_disasm_info): Don't check for
584 DISASSEMBLER_NEEDS_RELOCS.
585 (objdump_print_addr): Likewise.
586 (disassemble_bytes): Check disassembler_needs_relocs from
587 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
589 (disassemble_section): Likewise.
590 (disassemble_data): Initialize it.
592 2006-01-11 Alan Modra <amodra@bigpond.net.au>
594 * objcopy.c (copy_object): Fix thinko.
596 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
598 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
600 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
601 (get_machine_name): Likewise.
603 For older changes see ChangeLog-2005
609 version-control: never