1 2006-09-09 Nick Clifton <nickc@redhat.com>
4 * objcopy.c (copy_archive): Add new parameter:
5 force_output_target. If not true, then perserve the file formats
6 of each copied archive element, otherwise force them to be one
8 (copy_file): Compute force_output_target parameter to pass to
11 2006-09-05 Nick Clifton <nickc@redhat.com>
14 * objcopy.c (is_strip_section): Do not treat group sections as
16 * doc/binutils.texi (--only-keep-debug): Document that this switch
17 is only intended for use on fully linked files.
19 2006-09-01 Nick Clifton <nickc@redhat.com>
22 * readelf.c (dump_relocations): Check for a NULL value in rtype
25 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
27 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
28 with -DDLLTOOL_ARM_WINCE for Windows CE case.
29 * configure: Regenerate.
30 * dlltool.c: Add support for arm-wince.
32 2006-08-15 Nick Clifton <nickc@redhat.com>
35 * wrstabs.c (stab_tag_type): Initialize 'size'.
37 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
40 * doc/Makefile.am: Use single quotes inside backquotes for
41 date command while generating config.texi.
42 * doc/Makefile.in: Regenerate.
44 2006-08-08 Nick Clifton <nickc@redhat.com>
47 * dwarf.c (display_debug_aranges): When the address size is
48 greater than 4 display addresses and lengths as 16 hex digits,
49 otherwise use 8 hex digits.
51 2006-08-06 Nick Clifton <nickc@redhat.com>
54 * addr2line.c (process_file): Change function from void to
55 returning an int. Return 0 upon success, 1 otherwise.
56 (main): Use return value from process_file as the exit value.
57 * ar.c (ranlib_only): Change function from void to returning an
58 int. Return 0 upon success, 1 otherwise.
59 (ranlib_touch): Likewise.
60 (main): Use return value from ranlib functions as exit value.
61 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
63 (copy_file): Likewise.
64 (strip_main): Likewise.
65 (copy_main): Likewise.
66 * objdump.c (display_file): Set exit_status to 1 if get_file_size
68 * size.c (display_file): Set return_code to 1 if get_file_size
71 2006-08-02 Thiemo Seufer <ths@mips.com>
72 Nigel Stephens <nigel@mips.com>
74 * readelf.c (dump_relocations): Handle MIPS-specific
75 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
76 (get_symbol_index_type): Similarly.
78 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
80 * doc/binutils.texinfo: Fix spelling mistakes.
82 2006-07-10 Jakub Jelinek <jakub@redhat.com>
84 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
85 (get_section_type_name): Handle SHT_GNU_HASH.
86 (dynamic_info_DT_GNU_HASH): New variable.
87 (process_dynamic_section): Handle DT_GNU_HASH.
88 (process_symbol_table): Print also DT_GNU_HASH histogram.
90 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
93 * doc/binutils.texi (Strings): Document -T shorthand for --target
95 * strings.c: Update comment to include -T option.
98 * doc/binutils.texi (readelf): Fix spelling typo.
100 2006-06-30 Nick Clifton <nickc@redhat.com>
102 * dwarf.c (display_debug_frames): Catch a corrupt length field
103 generating an end of block address that is beyond the end of the
105 When encountering a corrupt CIE pointer do not reset the start
106 pointer as more data still has to be read.
107 Do not warn about user defined call frame instructions.
109 2006-06-29 DJ Delorie <dj@redhat.com>
111 * readelf.c (process_section_headers): Add H8/300 support.
113 2006-06-23 Richard Sandiford <richard@codesourcery.com>
115 * objcopy.c (localize_hidden): New variable.
116 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
117 (copy_options): Add --localize-hidden.
118 (copy_usage): Mention --localize-hidden.
119 (is_hidden_symbol): New function.
120 (filter_symbols): Handle localize_hidden.
121 (copy_object): Call filter_symbols if localize_hidden.
122 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
123 * doc/binutils.texi (--localize-hidden): Document new option.
125 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
127 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
128 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
129 * Makefile.in: Regenerate.
131 2006-06-23 Alan Modra <amodra@bigpond.net.au>
133 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
134 * Makefile.in: Regenerate.
136 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
138 * po/Make-in (pdf, ps): New dummy targets.
140 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
142 * po/Make-in (top_builddir): Define.
144 2006-06-05 Alan Modra <amodra@bigpond.net.au>
146 * config.in: Regenerate.
148 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
150 * doc/Makefile.am (TEXI2DVI): Define.
151 * doc/Makefile.in: Regenerate.
153 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
155 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
156 DEPENDENCIES variables for every program.
158 (INCLUDES): Use @INCINTL@.
159 * acinclude.m4: Include new gettext macros.
160 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
161 Remove local code for po/Makefile.
162 * Makefile.in, configure, doc/Makefile.in: Regenerated.
164 2006-05-30 Nick Clifton <nickc@redhat.com>
166 * po/es.po: Updated Spanish translation.
168 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
170 * MAINTAINERS: Update my email address.
172 2006-05-24 Nick Clifton <nickc@redhat.com>
174 * po/fr.po: Updated French translation.
176 2006-05-23 Nick Clifton <nickc@redhat.com>
178 * po/vi.po: Updated Vietnamese translation.
180 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
182 * po/ru.po: Updated translation.
184 2006-05-19 Andreas Schwab <schwab@suse.de>
186 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
188 (dlltool.1): Likewise.
189 (nlmconv.1): Likewise.
191 (objcopy.1): Likewise.
192 (objdump.1): Likewise.
193 (ranlib.1): Likewise.
194 (readelf.1): Likewise.
196 (strings.1): Likewise.
198 (windres.1): Likewise.
199 (cxxfilt.man): Likewise.
200 * doc/Makefile.in: Regenerated.
202 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
204 * doc/binutils.texi: Use "Binutils Index" for index name.
206 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
208 * dwarf.c (display_debug_frames): Don't return on ZERO
211 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
213 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
214 (TEXI2POD): Use AM_MAKEINFOFLAGS.
215 (config.texi): Don't set top_srcdir.
216 * doc/binutils.texi: Don't use top_srcdir.
217 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
219 2006-04-26 Julian Brown <julian@codesourcery.com>
221 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
223 2006-04-19 Alan Modra <amodra@bigpond.net.au>
225 * Makefile.am: Run "make dep-am".
226 * Makefile.in: Regenerate.
228 2006-04-19 Alan Modra <amodra@bigpond.net.au>
230 * configure: Regenerate.
232 2006-04-18 Nick Clifton <nickc@redhat.com>
235 * readelf.c (SECTION_NAME): Cope with a missing string table.
236 (process_file_header): Cope with a corrupt e_shstrndx field.
237 (process_section_headers): Correctly handle an e_shstrndx value of
240 2006-04-12 Nick Clifton <nickc@redhat.com>
242 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
244 2006-04-10 Ben Elliston <bje@gnu.org>
246 * MAINTAINERS (CGEN Maintainers): Remove myself.
248 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
250 * po/Make-in: Add install-html target.
251 * Makefile.am: Add install-html and install-html-recursive targets.
252 * Makefile.in: Regenerate.
253 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
254 * configure: Regenerate.
255 * doc/Makefile.am: Add install-html and install-html-am targets.
256 * doc/Makefile.in: Regenerate.
258 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
260 * addr2line.c (long_options): Add new option 'section'.
261 (usage): Document new -j/--section option.
262 (find_offset_in_section): New function.
263 (translate_addresses): Add 'section' parameter.
264 If it is non-null, call find_offset_in_section on it.
265 (process_file): Add 'section_name' parameter.
266 If it is non-null, look for the section in the BFD object.
267 Pass the section to translate_addresses.
268 (main): Handle new -j option.
269 Pass the section name to process_file.
270 * doc/binutils.texi (addr2line): Document new -j/--section option.
272 2006-03-29 Ben Elliston <bje@au.ibm.com>
274 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
276 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
278 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
279 binutils-csl-2_17-branch instead.
281 2006-03-20 Paul Brook <paul@codesourcery.com>
283 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
285 2006-03-16 Alan Modra <amodra@bigpond.net.au>
288 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
289 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
291 2006-03-13 Ben Elliston <bje@au.ibm.com>
293 * bucomm.c (display_target_list): Make local variable `a' to be of
294 type enum bfd_architecture. Thus no need to cast enums to int.
295 (display_info_table): Likewise.
297 2006-03-10 Paul Brook <paul@codesourcery.com>
299 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
301 2006-03-10 Alan Modra <amodra@bigpond.net.au>
303 * dwarf.c (process_extended_line_op): Remove pointer_size param.
304 Use length instead to determine address size.
305 (get_pointer_size_and_offset_of_comp_unit): Delete.
306 (display_debug_lines): Adjust for above.
307 (display_debug_aranges): Don't stop on finding two zeros.
308 (display_debug_frames): For warning, print offset not pointer.
310 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
312 * dlltool.c: Update copyright year.
313 * doc/binutils.texi: Likewise.
315 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
317 * dlltool.c (add_stdcall_underscore): New flag.
318 (xlate): Also add underscore to stdcall symbol if
319 add_stdcall_underscore set.
320 (usage): Document --add-stdcall-underscore option.
321 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
322 (long_options): Use it for --add-stdcall-underscore option.
324 * doc/binutils.texi: Document --add-stdcall-underscore option
325 and differentiate from --add-underscore.
327 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
329 * readelf.c (get_machine_flags): Adjust.
331 2006-03-03 Jakub Jelinek <jakub@redhat.com>
333 * dwarf.c (frame_display_row, display_debug_frames): Handle
334 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
336 2006-02-28 Nick Clifton <nickc@redhat.com>
338 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
339 (copy_object): If bfd_alt_mach_code fails emit a more helpful
340 message and if the target architecture is ELF use the alternative
341 as replacement value for the e_machine number.
342 (copy_main): Use strtoul to parse the number provided with the
343 --alt-mach-code switch.
344 * doc/binutils.texi (--alt-mach-code): Document that this switch
345 can now set the absolute e_machine value.
347 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
349 * po/Make-in: Add html target.
351 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
353 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
355 2006-02-14 Jakub Jelinek <jakub@redhat.com>
357 * config.in: Rebuilt.
359 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
362 * readelf.c (process_program_headers): Use
363 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
365 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
367 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
368 * configure: Regenerate.
369 * objdump.c (fprintf): Remove declaration.
370 * bucomm.h (fprintf): Declare if not already declared.
371 (snprintf): Likewise.
372 (vsnprintf): Likewise.
374 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
376 * readelf.c (process_program_headers): Match PT_TLS segment
377 only with SHT_TLS sections.
379 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
381 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
383 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
385 * readelf.c (process_program_headers): Undo the last change.
387 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
389 * readelf.c (process_program_headers): Undo the change made on
390 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
393 2006-01-30 Nick Clifton <nickc@redhat.com>
395 * objcopy.c (copy_object): Catch the case where an attempt is made
396 to add a section that already exists and produce a more helpful
399 2006-01-26 Nick Clifton <nickc@redhat.com>
401 * po/vi.po: New Vietnamese translation.
402 * configure.in (ALL_LINGUAS): Add vi.
403 * configure: Regenerate.
405 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
407 Introduce TLS descriptors for i386 and x86_64.
408 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
411 2006-01-18 Nick Clifton <nickc@redhat.com>
414 * objcopy.c (copy_object): For PE format targets set the VMA of a
415 newly created gnu_debuglink section to a non-zero, aligned,
417 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
418 * Makefile.in: Regenerate.
420 2006-01-17 Andreas Schwab <schwab@suse.de>
423 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
424 * configure: Regenerate.
425 * objdump.c (struct objdump_disasm_info): Don't check for
426 DISASSEMBLER_NEEDS_RELOCS.
427 (objdump_print_addr): Likewise.
428 (disassemble_bytes): Check disassembler_needs_relocs from
429 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
431 (disassemble_section): Likewise.
432 (disassemble_data): Initialize it.
434 2006-01-11 Alan Modra <amodra@bigpond.net.au>
436 * objcopy.c (copy_object): Fix thinko.
438 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
440 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
442 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
443 (get_machine_name): Likewise.
445 For older changes see ChangeLog-2005
451 version-control: never