Automatic date update in version.in
[binutils-gdb.git] / binutils / ChangeLog-2006
blob8286b4aaf5a541216390f7968a4a7ae3b089abdd
1 2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
3         * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.
5 2006-12-11  J"orn Rennecke  <joern.rennecke@arc.com>
7         MAINTAINERS (SH): Remove my entry.
9 2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
11         * configure.in: Define GENINSRC_NEVER.
12         * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
13         (DISTCLEANFILES): Pretend to add info file.
14         * po/Make-in (.po.gmo): Put gmo files in objdir.
15         * configure, Makefile.in, doc/Makefile.in: Regenerated.
17 2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
19         * readelf.c: Update uses of EF_M68K_*.
21 2006-10-30  Paul Brook  <paul@codesourcery.com>
23         * objdump.c (disassemble_section): Set info->symtab_pos.
24         (disassemble_data): Set info->symtab and info->symtab_size.
26 2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>
28         PR binutils/3384
29         * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
30         * configure: Regenerated.
31         * config.in: Likewise.
33         * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
34         (program_interpreter): Allocate PATH_MAX bytes instead of 64.
35         (process_program_headers): Don't assume that program interpreter
36         is shorter than 64 characters.
38 2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
39             Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
40             Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
41             Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
42             Alan Modra  <amodra@bigpond.net.au>
44         * readelf.c: Add SPU support.
45         * Makefile.am: Run "make dep-am".
46         * Makefile.in: Regenerate.
48 2006-10-13  Robert Connolly  <robert@linuxfromscratch.org>
50         PR binutils/2876
51         * configure.in: Check for the mkstemp and mkdtemp functions.
52         * configure: Regenerate.
53         * config.in (HAVE_MKDTEMP): New potential define.
54         (MAKE_MKSTEMP): Likewise.
55         * bucomm.c (make_tempname): Use mkstemp if it is available.
56         (make_tempdir): New function: Create a temporary directory using
57         mkdtemp, if it is available.
58         * bucomm.h (make_tempdir): New prototype.
59         * objcopy.c (copy_archive): Use make_tempdir if it is available.
60         (strip_main): Produce an warning message if a temporary file could
61         not be created.
62         (copy_main): Likewise.
63         * ar.c (write_archive): Likewise.
65 2006-10-10  Andreas Schwab  <schwab@suse.de>
67         * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
68         there are no location lists.
69         (display_debug_ranges): Similar for range_lists.
71 2006-10-04  H.J. Lu  <hongjiu.lu@intel.com>
73         * readelf.c (debug_apply_rela_addends): Don't ignore relocation
74         against symbols without type.
76 2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
78         * nlmconv.c (main) : Use LITMEMCPY.
79         * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
81 2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
83         PR binutils/3257
84         * strings.c (main): Handle "-T format".
86 2006-09-26  Nick Clifton  <nickc@redhat.com>
88         * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
90 2006-09-26  Thiemo Seufer  <ths@networkno.de>
92         * configure.in: Remove broken changequote lines.
94 2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
96         * configure.in: Add new target x86_64-pc-mingw64.
97         * configure: Regenerate.
98         * dlltool.c: Adjust include for this target.
99         (DLLTOOL_MX86_64): Added macro to handle target specific code.
100         (mname): Added default target static as "i386:x86-64".
101         (MX86): Added macro for target ident.
102         (mtable): Added target specific definitions.
103         (rvaafter): Add handling of MX86.
104         (rvabefore): Add handling of MX86.
105         (asmprefix): Add handling of MX86.
107 2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
109         * readelf.c: Add support for Score binaries.
110         * Makefile.am: Update readelf's dependencies.
111         * Makefile.in: Regenerate.
113 2006-09-16  Nick Clifton  <nickc@redhat.com>
114             Pedro Alves  <pedro_alves@portugalmail.pt>
116         * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
117         macros defined in bfd.h.
118         * dlltool.c: Likewise.
119         * emul_aix.c: Likewise.
120         * nlmconv.c: Likewise.
121         * objdump.c: Likewise.
122         * prdbg.c: Likewise.
123         * stabs.c: Likewise.
124         * readelf.c (const_strneq): New macro.
125         (process_section_headers, slurp_ia64_unwind_table,
126         slurp_hppa_unwind_table, display_debug_section, process_notes,
127         process_archive): Use the new macro.
129 2006-09-14  H.J. Lu  <hongjiu.lu@intel.com>
131         PR binutils/3181
132         * objcopy.c (group_signature): Return proper group signature.
134 2006-09-14  Alan Modra  <amodra@bigpond.net.au>
136         PR 3181
137         * objcopy.c (group_signature): New function, split out from..
138         (setup_section): ..here.
139         (is_strip_section): Return true for SHT_GROUP sections that are
140         going to lose their group signature symbol.
142 2006-09-14  Alan Modra  <amodra@bigpond.net.au>
144         PR 3181
145         * objcopy.c (copy_object): Load symbols earlier.
146         (setup_section): Mark group signature symbols with BSF_KEEP.
148 2006-09-09  Nick Clifton  <nickc@redhat.com>
150         PR binutils/3110
151         * objcopy.c (copy_archive): Add new parameter:
152         force_output_target.  If not true, then perserve the file formats
153         of each copied archive element, otherwise force them to be one
154         specific file format.
155         (copy_file): Compute force_output_target parameter to pass to
156         copy_archive.
158 2006-09-05  Nick Clifton  <nickc@redhat.com>
160         PR binutils/3166
161         * objcopy.c (is_strip_section): Do not treat group sections as
162         debugging sections.
163         * doc/binutils.texi (--only-keep-debug): Document that this switch
164         is only intended for use on fully linked files.
166 2006-09-01  Nick Clifton  <nickc@redhat.com>
168         PR binutils/3146
169         * readelf.c (dump_relocations): Check for a NULL value in rtype
170         before using it.
172 2006-08-21  Pedro Alves  <pedro_alves@portugalmail.pt>
174         * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
175         with -DDLLTOOL_ARM_WINCE for Windows CE case.
176         * configure: Regenerate.
177         * dlltool.c: Add support for arm-wince.
179 2006-08-15  Nick Clifton  <nickc@redhat.com>
181         PR binutils/3039
182         * wrstabs.c (stab_tag_type): Initialize 'size'.
184 2006-08-10  J"orn Rennecke  <joern.rennecke@st.com>
186         PR binutils/3017
187         * doc/Makefile.am: Use single quotes inside backquotes for
188         date command while generating config.texi.
189         * doc/Makefile.in: Regenerate.
191 2006-08-08  Nick Clifton  <nickc@redhat.com>
193         PR binutils/2768
194         * dwarf.c (display_debug_aranges): When the address size is
195         greater than 4 display addresses and lengths as 16 hex digits,
196         otherwise use 8 hex digits.
198 2006-08-06  Nick Clifton  <nickc@redhat.com>
200         PR binutils/3001
201         * addr2line.c (process_file): Change function from void to
202         returning an int.  Return 0 upon success, 1 otherwise.
203         (main): Use return value from process_file as the exit value.
204         * ar.c (ranlib_only):  Change function from void to returning an
205         int.  Return 0 upon success, 1 otherwise.
206         (ranlib_touch): Likewise.
207         (main): Use return value from ranlib functions as exit value.
208         * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
209         fails.
210         (copy_file): Likewise.
211         (strip_main): Likewise.
212         (copy_main): Likewise.
213         * objdump.c (display_file): Set exit_status to 1 if get_file_size
214         fails.
215         * size.c (display_file): Set return_code to 1 if get_file_size
216         fails.
218 2006-08-02  Thiemo Seufer  <ths@mips.com>
219             Nigel Stephens  <nigel@mips.com>
221         * readelf.c (dump_relocations): Handle MIPS-specific
222         SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
223         (get_symbol_index_type): Similarly.
225 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
227         * doc/binutils.texinfo: Fix spelling mistakes.
229 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
231         * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
232         (get_section_type_name): Handle SHT_GNU_HASH.
233         (dynamic_info_DT_GNU_HASH): New variable.
234         (process_dynamic_section): Handle DT_GNU_HASH.
235         (process_symbol_table): Print also DT_GNU_HASH histogram.
237 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
239         PR binutils/2879
240         * doc/binutils.texi (Strings): Document -T shorthand for --target
241         switch.
242         * strings.c: Update comment to include -T option.
244         PR binutils/2875
245         * doc/binutils.texi (readelf): Fix spelling typo.
247 2006-06-30  Nick Clifton  <nickc@redhat.com>
249         * dwarf.c (display_debug_frames): Catch a corrupt length field
250         generating an end of block address that is beyond the end of the
251         section.
252         When encountering a corrupt CIE pointer do not reset the start
253         pointer as more data still has to be read.
254         Do not warn about user defined call frame instructions.
256 2006-06-29  DJ Delorie  <dj@redhat.com>
258         * readelf.c (process_section_headers): Add H8/300 support.
260 2006-06-23  Richard Sandiford  <richard@codesourcery.com>
262         * objcopy.c (localize_hidden): New variable.
263         (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
264         (copy_options): Add --localize-hidden.
265         (copy_usage): Mention --localize-hidden.
266         (is_hidden_symbol): New function.
267         (filter_symbols): Handle localize_hidden.
268         (copy_object): Call filter_symbols if localize_hidden.
269         (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
270         * doc/binutils.texi (--localize-hidden): Document new option.
272 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
274         * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
275         (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
276         * Makefile.in: Regenerate.
278 2006-06-23  Alan Modra  <amodra@bigpond.net.au>
280         * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
281         * Makefile.in: Regenerate.
283 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
285         * po/Make-in (pdf, ps): New dummy targets.
287 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
289         * po/Make-in (top_builddir): Define.
291 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
293         * config.in: Regenerate.
295 2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
297         * doc/Makefile.am (TEXI2DVI): Define.
298         * doc/Makefile.in: Regenerate.
300 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
302         * Makefile.am: Replace INTLLIBS with LIBINTL everywhere.  Add
303         DEPENDENCIES variables for every program.
304         (INTLLIBS): Remove.
305         (INCLUDES): Use @INCINTL@.
306         * acinclude.m4: Include new gettext macros.
307         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
308         Remove local code for po/Makefile.
309         * Makefile.in, configure, doc/Makefile.in: Regenerated.
311 2006-05-30  Nick Clifton  <nickc@redhat.com>
313         * po/es.po: Updated Spanish translation.
315 2006-05-25  J"orn Rennecke <joern.rennecke@st.com>
317         * MAINTAINERS: Update my email address.
319 2006-05-24  Nick Clifton  <nickc@redhat.com>
321         * po/fr.po: Updated French translation.
323 2006-05-23  Nick Clifton  <nickc@redhat.com>
325         * po/vi.po: Updated Vietnamese translation.
327 2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
329         * po/ru.po: Updated translation.
331 2006-05-19  Andreas Schwab  <schwab@suse.de>
333         * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
334         (ar.1): Likewise.
335         (dlltool.1): Likewise.
336         (nlmconv.1): Likewise.
337         (nm.1): Likewise.
338         (objcopy.1): Likewise.
339         (objdump.1): Likewise.
340         (ranlib.1): Likewise.
341         (readelf.1): Likewise.
342         (size.1): Likewise.
343         (strings.1): Likewise.
344         (strip.1): Likewise.
345         (windres.1): Likewise.
346         (cxxfilt.man): Likewise.
347         * doc/Makefile.in: Regenerated.
349 2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>
351         * doc/binutils.texi: Use "Binutils Index" for index name.
353 2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
355         * dwarf.c (display_debug_frames): Don't return on ZERO
356         terminator.
358 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
360         * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
361         (TEXI2POD): Use AM_MAKEINFOFLAGS.
362         (config.texi): Don't set top_srcdir.
363         * doc/binutils.texi: Don't use top_srcdir.
364         * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
366 2006-04-26  Julian Brown  <julian@codesourcery.com>
368         * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
370 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
372         * Makefile.am: Run "make dep-am".
373         * Makefile.in: Regenerate.
375 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
377         * configure: Regenerate.
379 2006-04-18  Nick Clifton  <nickc@redhat.com>
381         PR 2257
382         * readelf.c (SECTION_NAME): Cope with a missing string table.
383         (process_file_header): Cope with a corrupt e_shstrndx field.
384         (process_section_headers): Correctly handle an e_shstrndx value of
385         SHF_UNDEF.
387 2006-04-12  Nick Clifton  <nickc@redhat.com>
389         * objdump.c (objdump_symbol_at_address): Fix typo in comment.
391 2006-04-10  Ben Elliston  <bje@gnu.org>
393         * MAINTAINERS (CGEN Maintainers): Remove myself.
395 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
397         * po/Make-in: Add install-html target.
398         * Makefile.am: Add install-html and install-html-recursive targets.
399         * Makefile.in: Regenerate.
400         * configure.in: AC_SUBST datarootdir, docdir and htmldir.
401         * configure: Regenerate.
402         * doc/Makefile.am: Add install-html and install-html-am targets.
403         * doc/Makefile.in: Regenerate.
405 2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
407         * addr2line.c (long_options): Add new option 'section'.
408         (usage): Document new -j/--section option.
409         (find_offset_in_section): New function.
410         (translate_addresses): Add 'section' parameter.
411         If it is non-null, call find_offset_in_section on it.
412         (process_file): Add 'section_name' parameter.
413         If it is non-null, look for the section in the BFD object.
414         Pass the section to translate_addresses.
415         (main): Handle new -j option.
416         Pass the section name to process_file.
417         * doc/binutils.texi (addr2line): Document new -j/--section option.
419 2006-03-29  Ben Elliston  <bje@au.ibm.com>
421         * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
423 2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
425         * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
426         binutils-csl-2_17-branch instead.
428 2006-03-20  Paul Brook  <paul@codesourcery.com>
430         * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
432 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
434         PR 2434
435         * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
436         * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
438 2006-03-13  Ben Elliston  <bje@au.ibm.com>
440         * bucomm.c (display_target_list): Make local variable `a' to be of
441         type enum bfd_architecture.  Thus no need to cast enums to int.
442         (display_info_table): Likewise.
444 2006-03-10  Paul Brook  <paul@codesourcery.com>
446         * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
448 2006-03-10  Alan Modra  <amodra@bigpond.net.au>
450         * dwarf.c (process_extended_line_op): Remove pointer_size param.
451         Use length instead to determine address size.
452         (get_pointer_size_and_offset_of_comp_unit): Delete.
453         (display_debug_lines): Adjust for above.
454         (display_debug_aranges): Don't stop on finding two zeros.
455         (display_debug_frames): For warning, print offset not pointer.
457 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
459         * dlltool.c: Update copyright year.
460         * doc/binutils.texi: Likewise.
462 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
464         * dlltool.c (add_stdcall_underscore): New flag.
465         (xlate): Also add underscore to stdcall symbol if
466         add_stdcall_underscore set.
467         (usage): Document --add-stdcall-underscore option.
468         (OPTION_ADD_STDCALL_UNDERSCORE): New define.
469         (long_options): Use it for --add-stdcall-underscore option.
470         (main): Handle it.
471         * doc/binutils.texi: Document --add-stdcall-underscore option
472         and differentiate from --add-underscore.
474 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
476         * readelf.c (get_machine_flags): Adjust.
478 2006-03-03  Jakub Jelinek  <jakub@redhat.com>
480         * dwarf.c (frame_display_row, display_debug_frames): Handle
481         DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
483 2006-02-28  Nick Clifton  <nickc@redhat.com>
485         * objcopy.c (use_alt_mach_code): Change type to unsigned long.
486         (copy_object):  If bfd_alt_mach_code fails emit a more helpful
487         message and if the target architecture is ELF use the alternative
488         as replacement value for the e_machine number.
489         (copy_main): Use strtoul to parse the number provided with the
490         --alt-mach-code switch.
491         * doc/binutils.texi (--alt-mach-code): Document that this switch
492         can now set the absolute e_machine value.
494 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
496         * po/Make-in: Add html target.
498 2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
500         * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
502 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
504         * config.in: Rebuilt.
506 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
508         PR binutils/2258
509         * readelf.c (process_program_headers): Use
510         ELF_IS_SECTION_IN_SEGMENT_MEMORY.
512 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
514         * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
515         * configure: Regenerate.
516         * objdump.c (fprintf): Remove declaration.
517         * bucomm.h (fprintf): Declare if not already declared.
518         (snprintf): Likewise.
519         (vsnprintf): Likewise.
521 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
523         * readelf.c (process_program_headers): Match PT_TLS segment
524         only with SHT_TLS sections.
526 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
528         * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
530 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
532         * readelf.c (process_program_headers): Undo the last change.
534 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
536         * readelf.c (process_program_headers): Undo the change made on
537         2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
538         sections.
540 2006-01-30  Nick Clifton  <nickc@redhat.com>
542         * objcopy.c (copy_object): Catch the case where an attempt is made
543         to add a section that already exists and produce a more helpful
544         warning message.
546 2006-01-26  Nick Clifton  <nickc@redhat.com>
548         * po/vi.po: New Vietnamese translation.
549         * configure.in (ALL_LINGUAS): Add vi.
550         * configure: Regenerate.
552 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
554         Introduce TLS descriptors for i386 and x86_64.
555         * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
556         DT_TLSDESC_PLT.
558 2006-01-18  Nick Clifton  <nickc@redhat.com>
560         PR binutils/1391
561         * objcopy.c (copy_object): For PE format targets set the VMA of a
562         newly created gnu_debuglink section to a non-zero, aligned,
563         contiguous value.
564         * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
565         * Makefile.in: Regenerate.
567 2006-01-17  Andreas Schwab  <schwab@suse.de>
569         PR binutils/1486
570         * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
571         * configure: Regenerate.
572         * objdump.c (struct objdump_disasm_info): Don't check for
573         DISASSEMBLER_NEEDS_RELOCS.
574         (objdump_print_addr): Likewise.
575         (disassemble_bytes): Check disassembler_needs_relocs from
576         disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
577         at compile-time.
578         (disassemble_section): Likewise.
579         (disassemble_data): Initialize it.
581 2006-01-11  Alan Modra  <amodra@bigpond.net.au>
583         * objcopy.c (copy_object): Fix thinko.
585         * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
587 2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
589         * readelf.c (guess_is_rela): Add case for Nios/Nios II.
590         (get_machine_name): Likewise.
592 For older changes see ChangeLog-2005
594 Copyright (C) 2006 Free Software Foundation, Inc.
596 Copying and distribution of this file, with or without modification,
597 are permitted in any medium without royalty provided the copyright
598 notice and this notice are preserved.
600 Local Variables:
601 mode: change-log
602 left-margin: 8
603 fill-column: 74
604 version-control: never
605 End: