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