1 2006-10-04 H.J. Lu <hongjiu.lu@intel.com>
3 * readelf.c (debug_apply_rela_addends): Don't ignore relocation
4 against symbols without type.
6 2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
8 * nlmconv.c (main) : Use LITMEMCPY.
9 * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
11 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
14 * strings.c (main): Handle "-T format".
16 2006-09-26 Nick Clifton <nickc@redhat.com>
18 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
20 2006-09-26 Thiemo Seufer <ths@networkno.de>
22 * configure.in: Remove broken changequote lines.
24 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
26 * configure.in: Add new target x86_64-pc-mingw64.
27 * configure: Regenerate.
28 * dlltool.c: Adjust include for this target.
29 (DLLTOOL_MX86_64): Added macro to handle target specific code.
30 (mname): Added default target static as "i386:x86-64".
31 (MX86): Added macro for target ident.
32 (mtable): Added target specific definitions.
33 (rvaafter): Add handling of MX86.
34 (rvabefore): Add handling of MX86.
35 (asmprefix): Add handling of MX86.
37 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
39 * readelf.c: Add support for Score binaries.
40 * Makefile.am: Update readelf's dependencies.
41 * Makefile.in: Regenerate.
43 2006-09-16 Nick Clifton <nickc@redhat.com>
44 Pedro Alves <pedro_alves@portugalmail.pt>
46 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
47 macros defined in bfd.h.
48 * dlltool.c: Likewise.
49 * emul_aix.c: Likewise.
50 * nlmconv.c: Likewise.
51 * objdump.c: Likewise.
54 * readelf.c (const_strneq): New macro.
55 (process_section_headers, slurp_ia64_unwind_table,
56 slurp_hppa_unwind_table, display_debug_section, process_notes,
57 process_archive): Use the new macro.
59 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
62 * objcopy.c (group_signature): Return proper group signature.
64 2006-09-14 Alan Modra <amodra@bigpond.net.au>
67 * objcopy.c (group_signature): New function, split out from..
68 (setup_section): ..here.
69 (is_strip_section): Return true for SHT_GROUP sections that are
70 going to lose their group signature symbol.
72 2006-09-14 Alan Modra <amodra@bigpond.net.au>
75 * objcopy.c (copy_object): Load symbols earlier.
76 (setup_section): Mark group signature symbols with BSF_KEEP.
78 2006-09-09 Nick Clifton <nickc@redhat.com>
81 * objcopy.c (copy_archive): Add new parameter:
82 force_output_target. If not true, then perserve the file formats
83 of each copied archive element, otherwise force them to be one
85 (copy_file): Compute force_output_target parameter to pass to
88 2006-09-05 Nick Clifton <nickc@redhat.com>
91 * objcopy.c (is_strip_section): Do not treat group sections as
93 * doc/binutils.texi (--only-keep-debug): Document that this switch
94 is only intended for use on fully linked files.
96 2006-09-01 Nick Clifton <nickc@redhat.com>
99 * readelf.c (dump_relocations): Check for a NULL value in rtype
102 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
104 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
105 with -DDLLTOOL_ARM_WINCE for Windows CE case.
106 * configure: Regenerate.
107 * dlltool.c: Add support for arm-wince.
109 2006-08-15 Nick Clifton <nickc@redhat.com>
112 * wrstabs.c (stab_tag_type): Initialize 'size'.
114 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
117 * doc/Makefile.am: Use single quotes inside backquotes for
118 date command while generating config.texi.
119 * doc/Makefile.in: Regenerate.
121 2006-08-08 Nick Clifton <nickc@redhat.com>
124 * dwarf.c (display_debug_aranges): When the address size is
125 greater than 4 display addresses and lengths as 16 hex digits,
126 otherwise use 8 hex digits.
128 2006-08-06 Nick Clifton <nickc@redhat.com>
131 * addr2line.c (process_file): Change function from void to
132 returning an int. Return 0 upon success, 1 otherwise.
133 (main): Use return value from process_file as the exit value.
134 * ar.c (ranlib_only): Change function from void to returning an
135 int. Return 0 upon success, 1 otherwise.
136 (ranlib_touch): Likewise.
137 (main): Use return value from ranlib functions as exit value.
138 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
140 (copy_file): Likewise.
141 (strip_main): Likewise.
142 (copy_main): Likewise.
143 * objdump.c (display_file): Set exit_status to 1 if get_file_size
145 * size.c (display_file): Set return_code to 1 if get_file_size
148 2006-08-02 Thiemo Seufer <ths@mips.com>
149 Nigel Stephens <nigel@mips.com>
151 * readelf.c (dump_relocations): Handle MIPS-specific
152 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
153 (get_symbol_index_type): Similarly.
155 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
157 * doc/binutils.texinfo: Fix spelling mistakes.
159 2006-07-10 Jakub Jelinek <jakub@redhat.com>
161 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
162 (get_section_type_name): Handle SHT_GNU_HASH.
163 (dynamic_info_DT_GNU_HASH): New variable.
164 (process_dynamic_section): Handle DT_GNU_HASH.
165 (process_symbol_table): Print also DT_GNU_HASH histogram.
167 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
170 * doc/binutils.texi (Strings): Document -T shorthand for --target
172 * strings.c: Update comment to include -T option.
175 * doc/binutils.texi (readelf): Fix spelling typo.
177 2006-06-30 Nick Clifton <nickc@redhat.com>
179 * dwarf.c (display_debug_frames): Catch a corrupt length field
180 generating an end of block address that is beyond the end of the
182 When encountering a corrupt CIE pointer do not reset the start
183 pointer as more data still has to be read.
184 Do not warn about user defined call frame instructions.
186 2006-06-29 DJ Delorie <dj@redhat.com>
188 * readelf.c (process_section_headers): Add H8/300 support.
190 2006-06-23 Richard Sandiford <richard@codesourcery.com>
192 * objcopy.c (localize_hidden): New variable.
193 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
194 (copy_options): Add --localize-hidden.
195 (copy_usage): Mention --localize-hidden.
196 (is_hidden_symbol): New function.
197 (filter_symbols): Handle localize_hidden.
198 (copy_object): Call filter_symbols if localize_hidden.
199 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
200 * doc/binutils.texi (--localize-hidden): Document new option.
202 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
204 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
205 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
206 * Makefile.in: Regenerate.
208 2006-06-23 Alan Modra <amodra@bigpond.net.au>
210 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
211 * Makefile.in: Regenerate.
213 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
215 * po/Make-in (pdf, ps): New dummy targets.
217 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
219 * po/Make-in (top_builddir): Define.
221 2006-06-05 Alan Modra <amodra@bigpond.net.au>
223 * config.in: Regenerate.
225 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
227 * doc/Makefile.am (TEXI2DVI): Define.
228 * doc/Makefile.in: Regenerate.
230 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
232 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
233 DEPENDENCIES variables for every program.
235 (INCLUDES): Use @INCINTL@.
236 * acinclude.m4: Include new gettext macros.
237 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
238 Remove local code for po/Makefile.
239 * Makefile.in, configure, doc/Makefile.in: Regenerated.
241 2006-05-30 Nick Clifton <nickc@redhat.com>
243 * po/es.po: Updated Spanish translation.
245 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
247 * MAINTAINERS: Update my email address.
249 2006-05-24 Nick Clifton <nickc@redhat.com>
251 * po/fr.po: Updated French translation.
253 2006-05-23 Nick Clifton <nickc@redhat.com>
255 * po/vi.po: Updated Vietnamese translation.
257 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
259 * po/ru.po: Updated translation.
261 2006-05-19 Andreas Schwab <schwab@suse.de>
263 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
265 (dlltool.1): Likewise.
266 (nlmconv.1): Likewise.
268 (objcopy.1): Likewise.
269 (objdump.1): Likewise.
270 (ranlib.1): Likewise.
271 (readelf.1): Likewise.
273 (strings.1): Likewise.
275 (windres.1): Likewise.
276 (cxxfilt.man): Likewise.
277 * doc/Makefile.in: Regenerated.
279 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
281 * doc/binutils.texi: Use "Binutils Index" for index name.
283 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
285 * dwarf.c (display_debug_frames): Don't return on ZERO
288 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
290 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
291 (TEXI2POD): Use AM_MAKEINFOFLAGS.
292 (config.texi): Don't set top_srcdir.
293 * doc/binutils.texi: Don't use top_srcdir.
294 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
296 2006-04-26 Julian Brown <julian@codesourcery.com>
298 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
300 2006-04-19 Alan Modra <amodra@bigpond.net.au>
302 * Makefile.am: Run "make dep-am".
303 * Makefile.in: Regenerate.
305 2006-04-19 Alan Modra <amodra@bigpond.net.au>
307 * configure: Regenerate.
309 2006-04-18 Nick Clifton <nickc@redhat.com>
312 * readelf.c (SECTION_NAME): Cope with a missing string table.
313 (process_file_header): Cope with a corrupt e_shstrndx field.
314 (process_section_headers): Correctly handle an e_shstrndx value of
317 2006-04-12 Nick Clifton <nickc@redhat.com>
319 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
321 2006-04-10 Ben Elliston <bje@gnu.org>
323 * MAINTAINERS (CGEN Maintainers): Remove myself.
325 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
327 * po/Make-in: Add install-html target.
328 * Makefile.am: Add install-html and install-html-recursive targets.
329 * Makefile.in: Regenerate.
330 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
331 * configure: Regenerate.
332 * doc/Makefile.am: Add install-html and install-html-am targets.
333 * doc/Makefile.in: Regenerate.
335 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
337 * addr2line.c (long_options): Add new option 'section'.
338 (usage): Document new -j/--section option.
339 (find_offset_in_section): New function.
340 (translate_addresses): Add 'section' parameter.
341 If it is non-null, call find_offset_in_section on it.
342 (process_file): Add 'section_name' parameter.
343 If it is non-null, look for the section in the BFD object.
344 Pass the section to translate_addresses.
345 (main): Handle new -j option.
346 Pass the section name to process_file.
347 * doc/binutils.texi (addr2line): Document new -j/--section option.
349 2006-03-29 Ben Elliston <bje@au.ibm.com>
351 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
353 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
355 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
356 binutils-csl-2_17-branch instead.
358 2006-03-20 Paul Brook <paul@codesourcery.com>
360 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
362 2006-03-16 Alan Modra <amodra@bigpond.net.au>
365 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
366 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
368 2006-03-13 Ben Elliston <bje@au.ibm.com>
370 * bucomm.c (display_target_list): Make local variable `a' to be of
371 type enum bfd_architecture. Thus no need to cast enums to int.
372 (display_info_table): Likewise.
374 2006-03-10 Paul Brook <paul@codesourcery.com>
376 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
378 2006-03-10 Alan Modra <amodra@bigpond.net.au>
380 * dwarf.c (process_extended_line_op): Remove pointer_size param.
381 Use length instead to determine address size.
382 (get_pointer_size_and_offset_of_comp_unit): Delete.
383 (display_debug_lines): Adjust for above.
384 (display_debug_aranges): Don't stop on finding two zeros.
385 (display_debug_frames): For warning, print offset not pointer.
387 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
389 * dlltool.c: Update copyright year.
390 * doc/binutils.texi: Likewise.
392 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
394 * dlltool.c (add_stdcall_underscore): New flag.
395 (xlate): Also add underscore to stdcall symbol if
396 add_stdcall_underscore set.
397 (usage): Document --add-stdcall-underscore option.
398 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
399 (long_options): Use it for --add-stdcall-underscore option.
401 * doc/binutils.texi: Document --add-stdcall-underscore option
402 and differentiate from --add-underscore.
404 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
406 * readelf.c (get_machine_flags): Adjust.
408 2006-03-03 Jakub Jelinek <jakub@redhat.com>
410 * dwarf.c (frame_display_row, display_debug_frames): Handle
411 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
413 2006-02-28 Nick Clifton <nickc@redhat.com>
415 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
416 (copy_object): If bfd_alt_mach_code fails emit a more helpful
417 message and if the target architecture is ELF use the alternative
418 as replacement value for the e_machine number.
419 (copy_main): Use strtoul to parse the number provided with the
420 --alt-mach-code switch.
421 * doc/binutils.texi (--alt-mach-code): Document that this switch
422 can now set the absolute e_machine value.
424 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
426 * po/Make-in: Add html target.
428 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
430 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
432 2006-02-14 Jakub Jelinek <jakub@redhat.com>
434 * config.in: Rebuilt.
436 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
439 * readelf.c (process_program_headers): Use
440 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
442 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
444 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
445 * configure: Regenerate.
446 * objdump.c (fprintf): Remove declaration.
447 * bucomm.h (fprintf): Declare if not already declared.
448 (snprintf): Likewise.
449 (vsnprintf): Likewise.
451 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
453 * readelf.c (process_program_headers): Match PT_TLS segment
454 only with SHT_TLS sections.
456 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
458 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
460 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
462 * readelf.c (process_program_headers): Undo the last change.
464 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
466 * readelf.c (process_program_headers): Undo the change made on
467 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
470 2006-01-30 Nick Clifton <nickc@redhat.com>
472 * objcopy.c (copy_object): Catch the case where an attempt is made
473 to add a section that already exists and produce a more helpful
476 2006-01-26 Nick Clifton <nickc@redhat.com>
478 * po/vi.po: New Vietnamese translation.
479 * configure.in (ALL_LINGUAS): Add vi.
480 * configure: Regenerate.
482 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
484 Introduce TLS descriptors for i386 and x86_64.
485 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
488 2006-01-18 Nick Clifton <nickc@redhat.com>
491 * objcopy.c (copy_object): For PE format targets set the VMA of a
492 newly created gnu_debuglink section to a non-zero, aligned,
494 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
495 * Makefile.in: Regenerate.
497 2006-01-17 Andreas Schwab <schwab@suse.de>
500 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
501 * configure: Regenerate.
502 * objdump.c (struct objdump_disasm_info): Don't check for
503 DISASSEMBLER_NEEDS_RELOCS.
504 (objdump_print_addr): Likewise.
505 (disassemble_bytes): Check disassembler_needs_relocs from
506 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
508 (disassemble_section): Likewise.
509 (disassemble_data): Initialize it.
511 2006-01-11 Alan Modra <amodra@bigpond.net.au>
513 * objcopy.c (copy_object): Fix thinko.
515 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
517 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
519 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
520 (get_machine_name): Likewise.
522 For older changes see ChangeLog-2005
528 version-control: never