1 2006-12-07 Kazu Hirata <kazu@codesourcery.com>
3 * readelf.c: Update uses of EF_M68K_*.
5 2006-10-30 Paul Brook <paul@codesourcery.com>
7 * objdump.c (disassemble_section): Set info->symtab_pos.
8 (disassemble_data): Set info->symtab and info->symtab_size.
10 2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
13 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
14 * configure: Regenerated.
15 * config.in: Likewise.
17 * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
18 (program_interpreter): Allocate PATH_MAX bytes instead of 64.
19 (process_program_headers): Don't assume that program interpreter
20 is shorter than 64 characters.
22 2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
23 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
24 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
25 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
26 Alan Modra <amodra@bigpond.net.au>
28 * readelf.c: Add SPU support.
29 * Makefile.am: Run "make dep-am".
30 * Makefile.in: Regenerate.
32 2006-10-13 Robert Connolly <robert@linuxfromscratch.org>
35 * configure.in: Check for the mkstemp and mkdtemp functions.
36 * configure: Regenerate.
37 * config.in (HAVE_MKDTEMP): New potential define.
38 (MAKE_MKSTEMP): Likewise.
39 * bucomm.c (make_tempname): Use mkstemp if it is available.
40 (make_tempdir): New function: Create a temporary directory using
41 mkdtemp, if it is available.
42 * bucomm.h (make_tempdir): New prototype.
43 * objcopy.c (copy_archive): Use make_tempdir if it is available.
44 (strip_main): Produce an warning message if a temporary file could
46 (copy_main): Likewise.
47 * ar.c (write_archive): Likewise.
49 2006-10-10 Andreas Schwab <schwab@suse.de>
51 * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
52 there are no location lists.
53 (display_debug_ranges): Similar for range_lists.
55 2006-10-04 H.J. Lu <hongjiu.lu@intel.com>
57 * readelf.c (debug_apply_rela_addends): Don't ignore relocation
58 against symbols without type.
60 2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
62 * nlmconv.c (main) : Use LITMEMCPY.
63 * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
65 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
68 * strings.c (main): Handle "-T format".
70 2006-09-26 Nick Clifton <nickc@redhat.com>
72 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
74 2006-09-26 Thiemo Seufer <ths@networkno.de>
76 * configure.in: Remove broken changequote lines.
78 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
80 * configure.in: Add new target x86_64-pc-mingw64.
81 * configure: Regenerate.
82 * dlltool.c: Adjust include for this target.
83 (DLLTOOL_MX86_64): Added macro to handle target specific code.
84 (mname): Added default target static as "i386:x86-64".
85 (MX86): Added macro for target ident.
86 (mtable): Added target specific definitions.
87 (rvaafter): Add handling of MX86.
88 (rvabefore): Add handling of MX86.
89 (asmprefix): Add handling of MX86.
91 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
93 * readelf.c: Add support for Score binaries.
94 * Makefile.am: Update readelf's dependencies.
95 * Makefile.in: Regenerate.
97 2006-09-16 Nick Clifton <nickc@redhat.com>
98 Pedro Alves <pedro_alves@portugalmail.pt>
100 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
101 macros defined in bfd.h.
102 * dlltool.c: Likewise.
103 * emul_aix.c: Likewise.
104 * nlmconv.c: Likewise.
105 * objdump.c: Likewise.
108 * readelf.c (const_strneq): New macro.
109 (process_section_headers, slurp_ia64_unwind_table,
110 slurp_hppa_unwind_table, display_debug_section, process_notes,
111 process_archive): Use the new macro.
113 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
116 * objcopy.c (group_signature): Return proper group signature.
118 2006-09-14 Alan Modra <amodra@bigpond.net.au>
121 * objcopy.c (group_signature): New function, split out from..
122 (setup_section): ..here.
123 (is_strip_section): Return true for SHT_GROUP sections that are
124 going to lose their group signature symbol.
126 2006-09-14 Alan Modra <amodra@bigpond.net.au>
129 * objcopy.c (copy_object): Load symbols earlier.
130 (setup_section): Mark group signature symbols with BSF_KEEP.
132 2006-09-09 Nick Clifton <nickc@redhat.com>
135 * objcopy.c (copy_archive): Add new parameter:
136 force_output_target. If not true, then perserve the file formats
137 of each copied archive element, otherwise force them to be one
138 specific file format.
139 (copy_file): Compute force_output_target parameter to pass to
142 2006-09-05 Nick Clifton <nickc@redhat.com>
145 * objcopy.c (is_strip_section): Do not treat group sections as
147 * doc/binutils.texi (--only-keep-debug): Document that this switch
148 is only intended for use on fully linked files.
150 2006-09-01 Nick Clifton <nickc@redhat.com>
153 * readelf.c (dump_relocations): Check for a NULL value in rtype
156 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
158 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
159 with -DDLLTOOL_ARM_WINCE for Windows CE case.
160 * configure: Regenerate.
161 * dlltool.c: Add support for arm-wince.
163 2006-08-15 Nick Clifton <nickc@redhat.com>
166 * wrstabs.c (stab_tag_type): Initialize 'size'.
168 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
171 * doc/Makefile.am: Use single quotes inside backquotes for
172 date command while generating config.texi.
173 * doc/Makefile.in: Regenerate.
175 2006-08-08 Nick Clifton <nickc@redhat.com>
178 * dwarf.c (display_debug_aranges): When the address size is
179 greater than 4 display addresses and lengths as 16 hex digits,
180 otherwise use 8 hex digits.
182 2006-08-06 Nick Clifton <nickc@redhat.com>
185 * addr2line.c (process_file): Change function from void to
186 returning an int. Return 0 upon success, 1 otherwise.
187 (main): Use return value from process_file as the exit value.
188 * ar.c (ranlib_only): Change function from void to returning an
189 int. Return 0 upon success, 1 otherwise.
190 (ranlib_touch): Likewise.
191 (main): Use return value from ranlib functions as exit value.
192 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
194 (copy_file): Likewise.
195 (strip_main): Likewise.
196 (copy_main): Likewise.
197 * objdump.c (display_file): Set exit_status to 1 if get_file_size
199 * size.c (display_file): Set return_code to 1 if get_file_size
202 2006-08-02 Thiemo Seufer <ths@mips.com>
203 Nigel Stephens <nigel@mips.com>
205 * readelf.c (dump_relocations): Handle MIPS-specific
206 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
207 (get_symbol_index_type): Similarly.
209 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
211 * doc/binutils.texinfo: Fix spelling mistakes.
213 2006-07-10 Jakub Jelinek <jakub@redhat.com>
215 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
216 (get_section_type_name): Handle SHT_GNU_HASH.
217 (dynamic_info_DT_GNU_HASH): New variable.
218 (process_dynamic_section): Handle DT_GNU_HASH.
219 (process_symbol_table): Print also DT_GNU_HASH histogram.
221 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
224 * doc/binutils.texi (Strings): Document -T shorthand for --target
226 * strings.c: Update comment to include -T option.
229 * doc/binutils.texi (readelf): Fix spelling typo.
231 2006-06-30 Nick Clifton <nickc@redhat.com>
233 * dwarf.c (display_debug_frames): Catch a corrupt length field
234 generating an end of block address that is beyond the end of the
236 When encountering a corrupt CIE pointer do not reset the start
237 pointer as more data still has to be read.
238 Do not warn about user defined call frame instructions.
240 2006-06-29 DJ Delorie <dj@redhat.com>
242 * readelf.c (process_section_headers): Add H8/300 support.
244 2006-06-23 Richard Sandiford <richard@codesourcery.com>
246 * objcopy.c (localize_hidden): New variable.
247 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
248 (copy_options): Add --localize-hidden.
249 (copy_usage): Mention --localize-hidden.
250 (is_hidden_symbol): New function.
251 (filter_symbols): Handle localize_hidden.
252 (copy_object): Call filter_symbols if localize_hidden.
253 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
254 * doc/binutils.texi (--localize-hidden): Document new option.
256 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
258 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
259 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
260 * Makefile.in: Regenerate.
262 2006-06-23 Alan Modra <amodra@bigpond.net.au>
264 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
265 * Makefile.in: Regenerate.
267 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
269 * po/Make-in (pdf, ps): New dummy targets.
271 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
273 * po/Make-in (top_builddir): Define.
275 2006-06-05 Alan Modra <amodra@bigpond.net.au>
277 * config.in: Regenerate.
279 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
281 * doc/Makefile.am (TEXI2DVI): Define.
282 * doc/Makefile.in: Regenerate.
284 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
286 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
287 DEPENDENCIES variables for every program.
289 (INCLUDES): Use @INCINTL@.
290 * acinclude.m4: Include new gettext macros.
291 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
292 Remove local code for po/Makefile.
293 * Makefile.in, configure, doc/Makefile.in: Regenerated.
295 2006-05-30 Nick Clifton <nickc@redhat.com>
297 * po/es.po: Updated Spanish translation.
299 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
301 * MAINTAINERS: Update my email address.
303 2006-05-24 Nick Clifton <nickc@redhat.com>
305 * po/fr.po: Updated French translation.
307 2006-05-23 Nick Clifton <nickc@redhat.com>
309 * po/vi.po: Updated Vietnamese translation.
311 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
313 * po/ru.po: Updated translation.
315 2006-05-19 Andreas Schwab <schwab@suse.de>
317 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
319 (dlltool.1): Likewise.
320 (nlmconv.1): Likewise.
322 (objcopy.1): Likewise.
323 (objdump.1): Likewise.
324 (ranlib.1): Likewise.
325 (readelf.1): Likewise.
327 (strings.1): Likewise.
329 (windres.1): Likewise.
330 (cxxfilt.man): Likewise.
331 * doc/Makefile.in: Regenerated.
333 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
335 * doc/binutils.texi: Use "Binutils Index" for index name.
337 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
339 * dwarf.c (display_debug_frames): Don't return on ZERO
342 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
344 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
345 (TEXI2POD): Use AM_MAKEINFOFLAGS.
346 (config.texi): Don't set top_srcdir.
347 * doc/binutils.texi: Don't use top_srcdir.
348 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
350 2006-04-26 Julian Brown <julian@codesourcery.com>
352 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
354 2006-04-19 Alan Modra <amodra@bigpond.net.au>
356 * Makefile.am: Run "make dep-am".
357 * Makefile.in: Regenerate.
359 2006-04-19 Alan Modra <amodra@bigpond.net.au>
361 * configure: Regenerate.
363 2006-04-18 Nick Clifton <nickc@redhat.com>
366 * readelf.c (SECTION_NAME): Cope with a missing string table.
367 (process_file_header): Cope with a corrupt e_shstrndx field.
368 (process_section_headers): Correctly handle an e_shstrndx value of
371 2006-04-12 Nick Clifton <nickc@redhat.com>
373 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
375 2006-04-10 Ben Elliston <bje@gnu.org>
377 * MAINTAINERS (CGEN Maintainers): Remove myself.
379 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
381 * po/Make-in: Add install-html target.
382 * Makefile.am: Add install-html and install-html-recursive targets.
383 * Makefile.in: Regenerate.
384 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
385 * configure: Regenerate.
386 * doc/Makefile.am: Add install-html and install-html-am targets.
387 * doc/Makefile.in: Regenerate.
389 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
391 * addr2line.c (long_options): Add new option 'section'.
392 (usage): Document new -j/--section option.
393 (find_offset_in_section): New function.
394 (translate_addresses): Add 'section' parameter.
395 If it is non-null, call find_offset_in_section on it.
396 (process_file): Add 'section_name' parameter.
397 If it is non-null, look for the section in the BFD object.
398 Pass the section to translate_addresses.
399 (main): Handle new -j option.
400 Pass the section name to process_file.
401 * doc/binutils.texi (addr2line): Document new -j/--section option.
403 2006-03-29 Ben Elliston <bje@au.ibm.com>
405 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
407 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
409 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
410 binutils-csl-2_17-branch instead.
412 2006-03-20 Paul Brook <paul@codesourcery.com>
414 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
416 2006-03-16 Alan Modra <amodra@bigpond.net.au>
419 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
420 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
422 2006-03-13 Ben Elliston <bje@au.ibm.com>
424 * bucomm.c (display_target_list): Make local variable `a' to be of
425 type enum bfd_architecture. Thus no need to cast enums to int.
426 (display_info_table): Likewise.
428 2006-03-10 Paul Brook <paul@codesourcery.com>
430 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
432 2006-03-10 Alan Modra <amodra@bigpond.net.au>
434 * dwarf.c (process_extended_line_op): Remove pointer_size param.
435 Use length instead to determine address size.
436 (get_pointer_size_and_offset_of_comp_unit): Delete.
437 (display_debug_lines): Adjust for above.
438 (display_debug_aranges): Don't stop on finding two zeros.
439 (display_debug_frames): For warning, print offset not pointer.
441 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
443 * dlltool.c: Update copyright year.
444 * doc/binutils.texi: Likewise.
446 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
448 * dlltool.c (add_stdcall_underscore): New flag.
449 (xlate): Also add underscore to stdcall symbol if
450 add_stdcall_underscore set.
451 (usage): Document --add-stdcall-underscore option.
452 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
453 (long_options): Use it for --add-stdcall-underscore option.
455 * doc/binutils.texi: Document --add-stdcall-underscore option
456 and differentiate from --add-underscore.
458 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
460 * readelf.c (get_machine_flags): Adjust.
462 2006-03-03 Jakub Jelinek <jakub@redhat.com>
464 * dwarf.c (frame_display_row, display_debug_frames): Handle
465 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
467 2006-02-28 Nick Clifton <nickc@redhat.com>
469 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
470 (copy_object): If bfd_alt_mach_code fails emit a more helpful
471 message and if the target architecture is ELF use the alternative
472 as replacement value for the e_machine number.
473 (copy_main): Use strtoul to parse the number provided with the
474 --alt-mach-code switch.
475 * doc/binutils.texi (--alt-mach-code): Document that this switch
476 can now set the absolute e_machine value.
478 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
480 * po/Make-in: Add html target.
482 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
484 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
486 2006-02-14 Jakub Jelinek <jakub@redhat.com>
488 * config.in: Rebuilt.
490 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
493 * readelf.c (process_program_headers): Use
494 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
496 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
498 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
499 * configure: Regenerate.
500 * objdump.c (fprintf): Remove declaration.
501 * bucomm.h (fprintf): Declare if not already declared.
502 (snprintf): Likewise.
503 (vsnprintf): Likewise.
505 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
507 * readelf.c (process_program_headers): Match PT_TLS segment
508 only with SHT_TLS sections.
510 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
512 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
514 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
516 * readelf.c (process_program_headers): Undo the last change.
518 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
520 * readelf.c (process_program_headers): Undo the change made on
521 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
524 2006-01-30 Nick Clifton <nickc@redhat.com>
526 * objcopy.c (copy_object): Catch the case where an attempt is made
527 to add a section that already exists and produce a more helpful
530 2006-01-26 Nick Clifton <nickc@redhat.com>
532 * po/vi.po: New Vietnamese translation.
533 * configure.in (ALL_LINGUAS): Add vi.
534 * configure: Regenerate.
536 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
538 Introduce TLS descriptors for i386 and x86_64.
539 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
542 2006-01-18 Nick Clifton <nickc@redhat.com>
545 * objcopy.c (copy_object): For PE format targets set the VMA of a
546 newly created gnu_debuglink section to a non-zero, aligned,
548 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
549 * Makefile.in: Regenerate.
551 2006-01-17 Andreas Schwab <schwab@suse.de>
554 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
555 * configure: Regenerate.
556 * objdump.c (struct objdump_disasm_info): Don't check for
557 DISASSEMBLER_NEEDS_RELOCS.
558 (objdump_print_addr): Likewise.
559 (disassemble_bytes): Check disassembler_needs_relocs from
560 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
562 (disassemble_section): Likewise.
563 (disassemble_data): Initialize it.
565 2006-01-11 Alan Modra <amodra@bigpond.net.au>
567 * objcopy.c (copy_object): Fix thinko.
569 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
571 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
573 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
574 (get_machine_name): Likewise.
576 For older changes see ChangeLog-2005
582 version-control: never