1 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
3 * readelf.c (get_machine_flags): Treat Fido as an architecture
6 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
8 * configure.in: Renamed target x86_64-*-mingw64 to
10 * configure: Regenerated.
12 2007-01-05 Alan Modra <amodra@bigpond.net.au>
14 * readelf.c (dump_section): Don't print 32-bit values, which
15 were done incorrectly for little-endian. Instead print bytes.
17 2006-12-25 Kazu Hirata <kazu@codesourcery.com>
19 * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.
21 2006-12-11 J"orn Rennecke <joern.rennecke@arc.com>
23 MAINTAINERS (SH): Remove my entry.
25 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
27 * configure.in: Define GENINSRC_NEVER.
28 * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
29 (DISTCLEANFILES): Pretend to add info file.
30 * po/Make-in (.po.gmo): Put gmo files in objdir.
31 * configure, Makefile.in, doc/Makefile.in: Regenerated.
33 2006-12-07 Kazu Hirata <kazu@codesourcery.com>
35 * readelf.c: Update uses of EF_M68K_*.
37 2006-10-30 Paul Brook <paul@codesourcery.com>
39 * objdump.c (disassemble_section): Set info->symtab_pos.
40 (disassemble_data): Set info->symtab and info->symtab_size.
42 2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
45 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
46 * configure: Regenerated.
47 * config.in: Likewise.
49 * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
50 (program_interpreter): Allocate PATH_MAX bytes instead of 64.
51 (process_program_headers): Don't assume that program interpreter
52 is shorter than 64 characters.
54 2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
55 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
56 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
57 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
58 Alan Modra <amodra@bigpond.net.au>
60 * readelf.c: Add SPU support.
61 * Makefile.am: Run "make dep-am".
62 * Makefile.in: Regenerate.
64 2006-10-13 Robert Connolly <robert@linuxfromscratch.org>
67 * configure.in: Check for the mkstemp and mkdtemp functions.
68 * configure: Regenerate.
69 * config.in (HAVE_MKDTEMP): New potential define.
70 (MAKE_MKSTEMP): Likewise.
71 * bucomm.c (make_tempname): Use mkstemp if it is available.
72 (make_tempdir): New function: Create a temporary directory using
73 mkdtemp, if it is available.
74 * bucomm.h (make_tempdir): New prototype.
75 * objcopy.c (copy_archive): Use make_tempdir if it is available.
76 (strip_main): Produce an warning message if a temporary file could
78 (copy_main): Likewise.
79 * ar.c (write_archive): Likewise.
81 2006-10-10 Andreas Schwab <schwab@suse.de>
83 * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
84 there are no location lists.
85 (display_debug_ranges): Similar for range_lists.
87 2006-10-04 H.J. Lu <hongjiu.lu@intel.com>
89 * readelf.c (debug_apply_rela_addends): Don't ignore relocation
90 against symbols without type.
92 2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
94 * nlmconv.c (main) : Use LITMEMCPY.
95 * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
97 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
100 * strings.c (main): Handle "-T format".
102 2006-09-26 Nick Clifton <nickc@redhat.com>
104 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
106 2006-09-26 Thiemo Seufer <ths@networkno.de>
108 * configure.in: Remove broken changequote lines.
110 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
112 * configure.in: Add new target x86_64-pc-mingw64.
113 * configure: Regenerate.
114 * dlltool.c: Adjust include for this target.
115 (DLLTOOL_MX86_64): Added macro to handle target specific code.
116 (mname): Added default target static as "i386:x86-64".
117 (MX86): Added macro for target ident.
118 (mtable): Added target specific definitions.
119 (rvaafter): Add handling of MX86.
120 (rvabefore): Add handling of MX86.
121 (asmprefix): Add handling of MX86.
123 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
125 * readelf.c: Add support for Score binaries.
126 * Makefile.am: Update readelf's dependencies.
127 * Makefile.in: Regenerate.
129 2006-09-16 Nick Clifton <nickc@redhat.com>
130 Pedro Alves <pedro_alves@portugalmail.pt>
132 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
133 macros defined in bfd.h.
134 * dlltool.c: Likewise.
135 * emul_aix.c: Likewise.
136 * nlmconv.c: Likewise.
137 * objdump.c: Likewise.
140 * readelf.c (const_strneq): New macro.
141 (process_section_headers, slurp_ia64_unwind_table,
142 slurp_hppa_unwind_table, display_debug_section, process_notes,
143 process_archive): Use the new macro.
145 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
148 * objcopy.c (group_signature): Return proper group signature.
150 2006-09-14 Alan Modra <amodra@bigpond.net.au>
153 * objcopy.c (group_signature): New function, split out from..
154 (setup_section): ..here.
155 (is_strip_section): Return true for SHT_GROUP sections that are
156 going to lose their group signature symbol.
158 2006-09-14 Alan Modra <amodra@bigpond.net.au>
161 * objcopy.c (copy_object): Load symbols earlier.
162 (setup_section): Mark group signature symbols with BSF_KEEP.
164 2006-09-09 Nick Clifton <nickc@redhat.com>
167 * objcopy.c (copy_archive): Add new parameter:
168 force_output_target. If not true, then perserve the file formats
169 of each copied archive element, otherwise force them to be one
170 specific file format.
171 (copy_file): Compute force_output_target parameter to pass to
174 2006-09-05 Nick Clifton <nickc@redhat.com>
177 * objcopy.c (is_strip_section): Do not treat group sections as
179 * doc/binutils.texi (--only-keep-debug): Document that this switch
180 is only intended for use on fully linked files.
182 2006-09-01 Nick Clifton <nickc@redhat.com>
185 * readelf.c (dump_relocations): Check for a NULL value in rtype
188 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
190 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
191 with -DDLLTOOL_ARM_WINCE for Windows CE case.
192 * configure: Regenerate.
193 * dlltool.c: Add support for arm-wince.
195 2006-08-15 Nick Clifton <nickc@redhat.com>
198 * wrstabs.c (stab_tag_type): Initialize 'size'.
200 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
203 * doc/Makefile.am: Use single quotes inside backquotes for
204 date command while generating config.texi.
205 * doc/Makefile.in: Regenerate.
207 2006-08-08 Nick Clifton <nickc@redhat.com>
210 * dwarf.c (display_debug_aranges): When the address size is
211 greater than 4 display addresses and lengths as 16 hex digits,
212 otherwise use 8 hex digits.
214 2006-08-06 Nick Clifton <nickc@redhat.com>
217 * addr2line.c (process_file): Change function from void to
218 returning an int. Return 0 upon success, 1 otherwise.
219 (main): Use return value from process_file as the exit value.
220 * ar.c (ranlib_only): Change function from void to returning an
221 int. Return 0 upon success, 1 otherwise.
222 (ranlib_touch): Likewise.
223 (main): Use return value from ranlib functions as exit value.
224 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
226 (copy_file): Likewise.
227 (strip_main): Likewise.
228 (copy_main): Likewise.
229 * objdump.c (display_file): Set exit_status to 1 if get_file_size
231 * size.c (display_file): Set return_code to 1 if get_file_size
234 2006-08-02 Thiemo Seufer <ths@mips.com>
235 Nigel Stephens <nigel@mips.com>
237 * readelf.c (dump_relocations): Handle MIPS-specific
238 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
239 (get_symbol_index_type): Similarly.
241 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
243 * doc/binutils.texinfo: Fix spelling mistakes.
245 2006-07-10 Jakub Jelinek <jakub@redhat.com>
247 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
248 (get_section_type_name): Handle SHT_GNU_HASH.
249 (dynamic_info_DT_GNU_HASH): New variable.
250 (process_dynamic_section): Handle DT_GNU_HASH.
251 (process_symbol_table): Print also DT_GNU_HASH histogram.
253 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
256 * doc/binutils.texi (Strings): Document -T shorthand for --target
258 * strings.c: Update comment to include -T option.
261 * doc/binutils.texi (readelf): Fix spelling typo.
263 2006-06-30 Nick Clifton <nickc@redhat.com>
265 * dwarf.c (display_debug_frames): Catch a corrupt length field
266 generating an end of block address that is beyond the end of the
268 When encountering a corrupt CIE pointer do not reset the start
269 pointer as more data still has to be read.
270 Do not warn about user defined call frame instructions.
272 2006-06-29 DJ Delorie <dj@redhat.com>
274 * readelf.c (process_section_headers): Add H8/300 support.
276 2006-06-23 Richard Sandiford <richard@codesourcery.com>
278 * objcopy.c (localize_hidden): New variable.
279 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
280 (copy_options): Add --localize-hidden.
281 (copy_usage): Mention --localize-hidden.
282 (is_hidden_symbol): New function.
283 (filter_symbols): Handle localize_hidden.
284 (copy_object): Call filter_symbols if localize_hidden.
285 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
286 * doc/binutils.texi (--localize-hidden): Document new option.
288 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
290 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
291 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
292 * Makefile.in: Regenerate.
294 2006-06-23 Alan Modra <amodra@bigpond.net.au>
296 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
297 * Makefile.in: Regenerate.
299 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
301 * po/Make-in (pdf, ps): New dummy targets.
303 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
305 * po/Make-in (top_builddir): Define.
307 2006-06-05 Alan Modra <amodra@bigpond.net.au>
309 * config.in: Regenerate.
311 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
313 * doc/Makefile.am (TEXI2DVI): Define.
314 * doc/Makefile.in: Regenerate.
316 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
318 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
319 DEPENDENCIES variables for every program.
321 (INCLUDES): Use @INCINTL@.
322 * acinclude.m4: Include new gettext macros.
323 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
324 Remove local code for po/Makefile.
325 * Makefile.in, configure, doc/Makefile.in: Regenerated.
327 2006-05-30 Nick Clifton <nickc@redhat.com>
329 * po/es.po: Updated Spanish translation.
331 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
333 * MAINTAINERS: Update my email address.
335 2006-05-24 Nick Clifton <nickc@redhat.com>
337 * po/fr.po: Updated French translation.
339 2006-05-23 Nick Clifton <nickc@redhat.com>
341 * po/vi.po: Updated Vietnamese translation.
343 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
345 * po/ru.po: Updated translation.
347 2006-05-19 Andreas Schwab <schwab@suse.de>
349 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
351 (dlltool.1): Likewise.
352 (nlmconv.1): Likewise.
354 (objcopy.1): Likewise.
355 (objdump.1): Likewise.
356 (ranlib.1): Likewise.
357 (readelf.1): Likewise.
359 (strings.1): Likewise.
361 (windres.1): Likewise.
362 (cxxfilt.man): Likewise.
363 * doc/Makefile.in: Regenerated.
365 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
367 * doc/binutils.texi: Use "Binutils Index" for index name.
369 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
371 * dwarf.c (display_debug_frames): Don't return on ZERO
374 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
376 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
377 (TEXI2POD): Use AM_MAKEINFOFLAGS.
378 (config.texi): Don't set top_srcdir.
379 * doc/binutils.texi: Don't use top_srcdir.
380 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
382 2006-04-26 Julian Brown <julian@codesourcery.com>
384 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
386 2006-04-19 Alan Modra <amodra@bigpond.net.au>
388 * Makefile.am: Run "make dep-am".
389 * Makefile.in: Regenerate.
391 2006-04-19 Alan Modra <amodra@bigpond.net.au>
393 * configure: Regenerate.
395 2006-04-18 Nick Clifton <nickc@redhat.com>
398 * readelf.c (SECTION_NAME): Cope with a missing string table.
399 (process_file_header): Cope with a corrupt e_shstrndx field.
400 (process_section_headers): Correctly handle an e_shstrndx value of
403 2006-04-12 Nick Clifton <nickc@redhat.com>
405 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
407 2006-04-10 Ben Elliston <bje@gnu.org>
409 * MAINTAINERS (CGEN Maintainers): Remove myself.
411 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
413 * po/Make-in: Add install-html target.
414 * Makefile.am: Add install-html and install-html-recursive targets.
415 * Makefile.in: Regenerate.
416 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
417 * configure: Regenerate.
418 * doc/Makefile.am: Add install-html and install-html-am targets.
419 * doc/Makefile.in: Regenerate.
421 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
423 * addr2line.c (long_options): Add new option 'section'.
424 (usage): Document new -j/--section option.
425 (find_offset_in_section): New function.
426 (translate_addresses): Add 'section' parameter.
427 If it is non-null, call find_offset_in_section on it.
428 (process_file): Add 'section_name' parameter.
429 If it is non-null, look for the section in the BFD object.
430 Pass the section to translate_addresses.
431 (main): Handle new -j option.
432 Pass the section name to process_file.
433 * doc/binutils.texi (addr2line): Document new -j/--section option.
435 2006-03-29 Ben Elliston <bje@au.ibm.com>
437 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
439 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
441 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
442 binutils-csl-2_17-branch instead.
444 2006-03-20 Paul Brook <paul@codesourcery.com>
446 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
448 2006-03-16 Alan Modra <amodra@bigpond.net.au>
451 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
452 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
454 2006-03-13 Ben Elliston <bje@au.ibm.com>
456 * bucomm.c (display_target_list): Make local variable `a' to be of
457 type enum bfd_architecture. Thus no need to cast enums to int.
458 (display_info_table): Likewise.
460 2006-03-10 Paul Brook <paul@codesourcery.com>
462 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
464 2006-03-10 Alan Modra <amodra@bigpond.net.au>
466 * dwarf.c (process_extended_line_op): Remove pointer_size param.
467 Use length instead to determine address size.
468 (get_pointer_size_and_offset_of_comp_unit): Delete.
469 (display_debug_lines): Adjust for above.
470 (display_debug_aranges): Don't stop on finding two zeros.
471 (display_debug_frames): For warning, print offset not pointer.
473 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
475 * dlltool.c: Update copyright year.
476 * doc/binutils.texi: Likewise.
478 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
480 * dlltool.c (add_stdcall_underscore): New flag.
481 (xlate): Also add underscore to stdcall symbol if
482 add_stdcall_underscore set.
483 (usage): Document --add-stdcall-underscore option.
484 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
485 (long_options): Use it for --add-stdcall-underscore option.
487 * doc/binutils.texi: Document --add-stdcall-underscore option
488 and differentiate from --add-underscore.
490 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
492 * readelf.c (get_machine_flags): Adjust.
494 2006-03-03 Jakub Jelinek <jakub@redhat.com>
496 * dwarf.c (frame_display_row, display_debug_frames): Handle
497 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
499 2006-02-28 Nick Clifton <nickc@redhat.com>
501 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
502 (copy_object): If bfd_alt_mach_code fails emit a more helpful
503 message and if the target architecture is ELF use the alternative
504 as replacement value for the e_machine number.
505 (copy_main): Use strtoul to parse the number provided with the
506 --alt-mach-code switch.
507 * doc/binutils.texi (--alt-mach-code): Document that this switch
508 can now set the absolute e_machine value.
510 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
512 * po/Make-in: Add html target.
514 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
516 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
518 2006-02-14 Jakub Jelinek <jakub@redhat.com>
520 * config.in: Rebuilt.
522 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
525 * readelf.c (process_program_headers): Use
526 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
528 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
530 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
531 * configure: Regenerate.
532 * objdump.c (fprintf): Remove declaration.
533 * bucomm.h (fprintf): Declare if not already declared.
534 (snprintf): Likewise.
535 (vsnprintf): Likewise.
537 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
539 * readelf.c (process_program_headers): Match PT_TLS segment
540 only with SHT_TLS sections.
542 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
544 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
546 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
548 * readelf.c (process_program_headers): Undo the last change.
550 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
552 * readelf.c (process_program_headers): Undo the change made on
553 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
556 2006-01-30 Nick Clifton <nickc@redhat.com>
558 * objcopy.c (copy_object): Catch the case where an attempt is made
559 to add a section that already exists and produce a more helpful
562 2006-01-26 Nick Clifton <nickc@redhat.com>
564 * po/vi.po: New Vietnamese translation.
565 * configure.in (ALL_LINGUAS): Add vi.
566 * configure: Regenerate.
568 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
570 Introduce TLS descriptors for i386 and x86_64.
571 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
574 2006-01-18 Nick Clifton <nickc@redhat.com>
577 * objcopy.c (copy_object): For PE format targets set the VMA of a
578 newly created gnu_debuglink section to a non-zero, aligned,
580 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
581 * Makefile.in: Regenerate.
583 2006-01-17 Andreas Schwab <schwab@suse.de>
586 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
587 * configure: Regenerate.
588 * objdump.c (struct objdump_disasm_info): Don't check for
589 DISASSEMBLER_NEEDS_RELOCS.
590 (objdump_print_addr): Likewise.
591 (disassemble_bytes): Check disassembler_needs_relocs from
592 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
594 (disassemble_section): Likewise.
595 (disassemble_data): Initialize it.
597 2006-01-11 Alan Modra <amodra@bigpond.net.au>
599 * objcopy.c (copy_object): Fix thinko.
601 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
603 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
605 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
606 (get_machine_name): Likewise.
608 For older changes see ChangeLog-2005
614 version-control: never