1 2006-09-16 Nick Clifton <nickc@redhat.com>
2 Pedro Alves <pedro_alves@portugalmail.pt>
4 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
5 macros defined in bfd.h.
7 * emul_aix.c: Likewise.
12 * readelf.c (const_strneq): New macro.
13 (process_section_headers, slurp_ia64_unwind_table,
14 slurp_hppa_unwind_table, display_debug_section, process_notes,
15 process_archive): Use the new macro.
17 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
20 * objcopy.c (group_signature): Return proper group signature.
22 2006-09-14 Alan Modra <amodra@bigpond.net.au>
25 * objcopy.c (group_signature): New function, split out from..
26 (setup_section): ..here.
27 (is_strip_section): Return true for SHT_GROUP sections that are
28 going to lose their group signature symbol.
30 2006-09-14 Alan Modra <amodra@bigpond.net.au>
33 * objcopy.c (copy_object): Load symbols earlier.
34 (setup_section): Mark group signature symbols with BSF_KEEP.
36 2006-09-09 Nick Clifton <nickc@redhat.com>
39 * objcopy.c (copy_archive): Add new parameter:
40 force_output_target. If not true, then perserve the file formats
41 of each copied archive element, otherwise force them to be one
43 (copy_file): Compute force_output_target parameter to pass to
46 2006-09-05 Nick Clifton <nickc@redhat.com>
49 * objcopy.c (is_strip_section): Do not treat group sections as
51 * doc/binutils.texi (--only-keep-debug): Document that this switch
52 is only intended for use on fully linked files.
54 2006-09-01 Nick Clifton <nickc@redhat.com>
57 * readelf.c (dump_relocations): Check for a NULL value in rtype
60 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
62 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
63 with -DDLLTOOL_ARM_WINCE for Windows CE case.
64 * configure: Regenerate.
65 * dlltool.c: Add support for arm-wince.
67 2006-08-15 Nick Clifton <nickc@redhat.com>
70 * wrstabs.c (stab_tag_type): Initialize 'size'.
72 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
75 * doc/Makefile.am: Use single quotes inside backquotes for
76 date command while generating config.texi.
77 * doc/Makefile.in: Regenerate.
79 2006-08-08 Nick Clifton <nickc@redhat.com>
82 * dwarf.c (display_debug_aranges): When the address size is
83 greater than 4 display addresses and lengths as 16 hex digits,
84 otherwise use 8 hex digits.
86 2006-08-06 Nick Clifton <nickc@redhat.com>
89 * addr2line.c (process_file): Change function from void to
90 returning an int. Return 0 upon success, 1 otherwise.
91 (main): Use return value from process_file as the exit value.
92 * ar.c (ranlib_only): Change function from void to returning an
93 int. Return 0 upon success, 1 otherwise.
94 (ranlib_touch): Likewise.
95 (main): Use return value from ranlib functions as exit value.
96 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
98 (copy_file): Likewise.
99 (strip_main): Likewise.
100 (copy_main): Likewise.
101 * objdump.c (display_file): Set exit_status to 1 if get_file_size
103 * size.c (display_file): Set return_code to 1 if get_file_size
106 2006-08-02 Thiemo Seufer <ths@mips.com>
107 Nigel Stephens <nigel@mips.com>
109 * readelf.c (dump_relocations): Handle MIPS-specific
110 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
111 (get_symbol_index_type): Similarly.
113 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
115 * doc/binutils.texinfo: Fix spelling mistakes.
117 2006-07-10 Jakub Jelinek <jakub@redhat.com>
119 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
120 (get_section_type_name): Handle SHT_GNU_HASH.
121 (dynamic_info_DT_GNU_HASH): New variable.
122 (process_dynamic_section): Handle DT_GNU_HASH.
123 (process_symbol_table): Print also DT_GNU_HASH histogram.
125 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
128 * doc/binutils.texi (Strings): Document -T shorthand for --target
130 * strings.c: Update comment to include -T option.
133 * doc/binutils.texi (readelf): Fix spelling typo.
135 2006-06-30 Nick Clifton <nickc@redhat.com>
137 * dwarf.c (display_debug_frames): Catch a corrupt length field
138 generating an end of block address that is beyond the end of the
140 When encountering a corrupt CIE pointer do not reset the start
141 pointer as more data still has to be read.
142 Do not warn about user defined call frame instructions.
144 2006-06-29 DJ Delorie <dj@redhat.com>
146 * readelf.c (process_section_headers): Add H8/300 support.
148 2006-06-23 Richard Sandiford <richard@codesourcery.com>
150 * objcopy.c (localize_hidden): New variable.
151 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
152 (copy_options): Add --localize-hidden.
153 (copy_usage): Mention --localize-hidden.
154 (is_hidden_symbol): New function.
155 (filter_symbols): Handle localize_hidden.
156 (copy_object): Call filter_symbols if localize_hidden.
157 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
158 * doc/binutils.texi (--localize-hidden): Document new option.
160 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
162 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
163 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
164 * Makefile.in: Regenerate.
166 2006-06-23 Alan Modra <amodra@bigpond.net.au>
168 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
169 * Makefile.in: Regenerate.
171 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
173 * po/Make-in (pdf, ps): New dummy targets.
175 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
177 * po/Make-in (top_builddir): Define.
179 2006-06-05 Alan Modra <amodra@bigpond.net.au>
181 * config.in: Regenerate.
183 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
185 * doc/Makefile.am (TEXI2DVI): Define.
186 * doc/Makefile.in: Regenerate.
188 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
190 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
191 DEPENDENCIES variables for every program.
193 (INCLUDES): Use @INCINTL@.
194 * acinclude.m4: Include new gettext macros.
195 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
196 Remove local code for po/Makefile.
197 * Makefile.in, configure, doc/Makefile.in: Regenerated.
199 2006-05-30 Nick Clifton <nickc@redhat.com>
201 * po/es.po: Updated Spanish translation.
203 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
205 * MAINTAINERS: Update my email address.
207 2006-05-24 Nick Clifton <nickc@redhat.com>
209 * po/fr.po: Updated French translation.
211 2006-05-23 Nick Clifton <nickc@redhat.com>
213 * po/vi.po: Updated Vietnamese translation.
215 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
217 * po/ru.po: Updated translation.
219 2006-05-19 Andreas Schwab <schwab@suse.de>
221 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
223 (dlltool.1): Likewise.
224 (nlmconv.1): Likewise.
226 (objcopy.1): Likewise.
227 (objdump.1): Likewise.
228 (ranlib.1): Likewise.
229 (readelf.1): Likewise.
231 (strings.1): Likewise.
233 (windres.1): Likewise.
234 (cxxfilt.man): Likewise.
235 * doc/Makefile.in: Regenerated.
237 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
239 * doc/binutils.texi: Use "Binutils Index" for index name.
241 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
243 * dwarf.c (display_debug_frames): Don't return on ZERO
246 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
248 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
249 (TEXI2POD): Use AM_MAKEINFOFLAGS.
250 (config.texi): Don't set top_srcdir.
251 * doc/binutils.texi: Don't use top_srcdir.
252 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
254 2006-04-26 Julian Brown <julian@codesourcery.com>
256 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
258 2006-04-19 Alan Modra <amodra@bigpond.net.au>
260 * Makefile.am: Run "make dep-am".
261 * Makefile.in: Regenerate.
263 2006-04-19 Alan Modra <amodra@bigpond.net.au>
265 * configure: Regenerate.
267 2006-04-18 Nick Clifton <nickc@redhat.com>
270 * readelf.c (SECTION_NAME): Cope with a missing string table.
271 (process_file_header): Cope with a corrupt e_shstrndx field.
272 (process_section_headers): Correctly handle an e_shstrndx value of
275 2006-04-12 Nick Clifton <nickc@redhat.com>
277 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
279 2006-04-10 Ben Elliston <bje@gnu.org>
281 * MAINTAINERS (CGEN Maintainers): Remove myself.
283 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
285 * po/Make-in: Add install-html target.
286 * Makefile.am: Add install-html and install-html-recursive targets.
287 * Makefile.in: Regenerate.
288 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
289 * configure: Regenerate.
290 * doc/Makefile.am: Add install-html and install-html-am targets.
291 * doc/Makefile.in: Regenerate.
293 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
295 * addr2line.c (long_options): Add new option 'section'.
296 (usage): Document new -j/--section option.
297 (find_offset_in_section): New function.
298 (translate_addresses): Add 'section' parameter.
299 If it is non-null, call find_offset_in_section on it.
300 (process_file): Add 'section_name' parameter.
301 If it is non-null, look for the section in the BFD object.
302 Pass the section to translate_addresses.
303 (main): Handle new -j option.
304 Pass the section name to process_file.
305 * doc/binutils.texi (addr2line): Document new -j/--section option.
307 2006-03-29 Ben Elliston <bje@au.ibm.com>
309 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
311 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
313 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
314 binutils-csl-2_17-branch instead.
316 2006-03-20 Paul Brook <paul@codesourcery.com>
318 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
320 2006-03-16 Alan Modra <amodra@bigpond.net.au>
323 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
324 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
326 2006-03-13 Ben Elliston <bje@au.ibm.com>
328 * bucomm.c (display_target_list): Make local variable `a' to be of
329 type enum bfd_architecture. Thus no need to cast enums to int.
330 (display_info_table): Likewise.
332 2006-03-10 Paul Brook <paul@codesourcery.com>
334 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
336 2006-03-10 Alan Modra <amodra@bigpond.net.au>
338 * dwarf.c (process_extended_line_op): Remove pointer_size param.
339 Use length instead to determine address size.
340 (get_pointer_size_and_offset_of_comp_unit): Delete.
341 (display_debug_lines): Adjust for above.
342 (display_debug_aranges): Don't stop on finding two zeros.
343 (display_debug_frames): For warning, print offset not pointer.
345 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
347 * dlltool.c: Update copyright year.
348 * doc/binutils.texi: Likewise.
350 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
352 * dlltool.c (add_stdcall_underscore): New flag.
353 (xlate): Also add underscore to stdcall symbol if
354 add_stdcall_underscore set.
355 (usage): Document --add-stdcall-underscore option.
356 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
357 (long_options): Use it for --add-stdcall-underscore option.
359 * doc/binutils.texi: Document --add-stdcall-underscore option
360 and differentiate from --add-underscore.
362 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
364 * readelf.c (get_machine_flags): Adjust.
366 2006-03-03 Jakub Jelinek <jakub@redhat.com>
368 * dwarf.c (frame_display_row, display_debug_frames): Handle
369 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
371 2006-02-28 Nick Clifton <nickc@redhat.com>
373 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
374 (copy_object): If bfd_alt_mach_code fails emit a more helpful
375 message and if the target architecture is ELF use the alternative
376 as replacement value for the e_machine number.
377 (copy_main): Use strtoul to parse the number provided with the
378 --alt-mach-code switch.
379 * doc/binutils.texi (--alt-mach-code): Document that this switch
380 can now set the absolute e_machine value.
382 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
384 * po/Make-in: Add html target.
386 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
388 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
390 2006-02-14 Jakub Jelinek <jakub@redhat.com>
392 * config.in: Rebuilt.
394 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
397 * readelf.c (process_program_headers): Use
398 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
400 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
402 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
403 * configure: Regenerate.
404 * objdump.c (fprintf): Remove declaration.
405 * bucomm.h (fprintf): Declare if not already declared.
406 (snprintf): Likewise.
407 (vsnprintf): Likewise.
409 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
411 * readelf.c (process_program_headers): Match PT_TLS segment
412 only with SHT_TLS sections.
414 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
416 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
418 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
420 * readelf.c (process_program_headers): Undo the last change.
422 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
424 * readelf.c (process_program_headers): Undo the change made on
425 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
428 2006-01-30 Nick Clifton <nickc@redhat.com>
430 * objcopy.c (copy_object): Catch the case where an attempt is made
431 to add a section that already exists and produce a more helpful
434 2006-01-26 Nick Clifton <nickc@redhat.com>
436 * po/vi.po: New Vietnamese translation.
437 * configure.in (ALL_LINGUAS): Add vi.
438 * configure: Regenerate.
440 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
442 Introduce TLS descriptors for i386 and x86_64.
443 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
446 2006-01-18 Nick Clifton <nickc@redhat.com>
449 * objcopy.c (copy_object): For PE format targets set the VMA of a
450 newly created gnu_debuglink section to a non-zero, aligned,
452 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
453 * Makefile.in: Regenerate.
455 2006-01-17 Andreas Schwab <schwab@suse.de>
458 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
459 * configure: Regenerate.
460 * objdump.c (struct objdump_disasm_info): Don't check for
461 DISASSEMBLER_NEEDS_RELOCS.
462 (objdump_print_addr): Likewise.
463 (disassemble_bytes): Check disassembler_needs_relocs from
464 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
466 (disassemble_section): Likewise.
467 (disassemble_data): Initialize it.
469 2006-01-11 Alan Modra <amodra@bigpond.net.au>
471 * objcopy.c (copy_object): Fix thinko.
473 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
475 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
477 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
478 (get_machine_name): Likewise.
480 For older changes see ChangeLog-2005
486 version-control: never