OSDN Git Service

* MAINTAINERS: Add myself as m32r maintainer.
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
1 2009-10-16  Doug Evans  <dje@sebabeach.org>
2
3         * MAINTAINERS: Add myself as m32r maintainer.
4
5 2009-10-16  Jerker Bäck <jerker.back@gmail.com>
6
7         PR 10764
8         * Makefile.am (sysinfo.o, syslex.o): Place source file after all
9         command line switches.
10         * Makefile.in: Regenerate.
11
12 2009-10-16  Yann Droneaud  <yann@droneaud.fr>
13
14         PR 10768
15         * dlltool.c (bfd_get_errmsg): New macro.
16         (scan_obj_file): Use it.
17         (make_one_lib_file): Use it.
18         (make_head): Use it.
19         (make_delay_head): Use it.
20         (make_tail): Use it.
21         (gen_lib_file): Use it.
22         (identify_dll_for_implib): Use it.
23         (identify_search_archive):  Use it.
24
25 2009-10-16  Nick Clifton  <nickc@redhat.com>
26
27         * readelf.c (usage): Add mention of --debug-dump=frames-interp.
28         Wrap output to 80 columns.
29         * objdump.c (usage): Likewise.
30         * doc/binutils.texi (readelf): Add note about =frames-interp.
31
32 2009-10-01  Alan Modra  <amodra@bigpond.net.au>
33
34         * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
35
36 2009-09-29  Nick Clifton  <nickc@redhat.com>
37
38         * doc/binutils.texi (c++filt): Remove spurious description of
39         nonexistent --java command line switch for cxxfilt.
40
41 2009-09-29  DJ Delorie  <dj@redhat.com>
42
43         * readelf.c: Add support for RX target.
44         * MAINTAINERS: Add DJ and NickC as maintainers for RX.
45
46 2009-09-28  Alan Modra  <amodra@bigpond.net.au>
47
48         * configure.in: Don't invoke configure.tgt on $enable_targets.
49         * configure: Regenerate.
50
51 2009-09-28  Nick Clifton  <nickc@redhat.com>
52
53         PR 10478
54         * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
55         SHN_AFTER section link values in x86 binaries.
56         (process_section_headers): Likewise.
57
58 2009-09-25  Dimitry Gorbachev  <d.g.gorbachev@gmail.com>
59
60         PR 10656
61         * readelf.c: Remove duplicate declaration of variable do_wide.
62         * dwarf.h: Add export of do_wide.
63
64 2009-09-24  Cary Coutant  <ccoutant@google.com>
65
66         * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
67         (get_FORM_name): Add new DWARF-4 forms.
68         (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
69         (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
70         (process_debug_info): Add do_types parameter; change all callers.
71         Add support for .debug_types sections.
72         (display_debug_types): New function.
73         (debug_displays): Add .debug_types section.
74         * readelf.c (process_section_headers): Add .debug_types section.
75         (display_debug_section): Simplify call to streq.
76
77 2009-09-25  Alan Modra  <amodra@bigpond.net.au>
78
79         * readelf.c (print_dynamic_symbol): Format entries as for
80         normal symbol table.
81         (process_symbol_table): Use -7s format string for visibility.
82
83 2009-09-22  Richard Sandiford  <rdsandiford@googlemail.com>
84
85         * objdump.c (disassemble_section): Use bfd_get_arch_size
86         instead of assuming that the address size is 32 bits.
87
88 2009-09-21  Alan Modra  <amodra@bigpond.net.au>
89
90         * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
91         (get_ppc64_dynamic_type): Likewise.
92
93 2009-09-18  Nick Clifton  <nickc@redhat.com>
94
95         * po/es.po: Updated Spanish translation.
96         * po/vi.po: Updated Vietnamese translation.
97
98 2009-09-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
99
100         * readelf.c (process_version_sections, process_symbol_table):
101         Use symbolic constants.
102
103 2009-09-11  Nick Clifton  <nickc@redhat.com>
104
105         * po/binutils.pot: Updated by the Translation project.
106
107 2009-09-11  Philippe De Muyter  <phdm@macqel.be>
108
109         * obcopy.c (copy_object): New parameter `input_arch', architecture
110         of input file, if not specified in input file itself; all callers
111         updated; `binary_architecture' hack removed.
112         (copy_archive, copy_file): New parameter `input_arch', for
113         `copy_object' usage.
114         (copy_main): Accept `-B' (`--binary-architecture') option also
115         for any arch-less input ifile format, not only `binary'; remove
116         bfd_external_binary_architecture hack; instead, add `input_arch'
117         to calls to `copy_file'.
118         * windres.c, windmc.c : Obsolete and useless external references
119         to `bfd_external_binary_architecture' or `bfd_external_machine'
120         removed.
121         * doc/binutils.texi: Mention that -B parameter can be used for any
122         input file type which does not have its own architecture.
123
124 2009-09-10  Martin Thuresson  <martin@mtme.org>
125
126         Update sources to compile cleanly with -Wc++-compat:
127         * addr2line.c (slurp_symtab): Fix casts. Introduce variable
128         minisyms to avoid aliasing varning.
129         * ar.c: Add casts.
130         (normalize): Use name del instead of delete.
131         (display_target_list,display_info_table): Change loop counter
132         variable a to int.
133         * bucomm.c: Add casts.
134         * debug.c: Update function to use new names.
135         (struct debug_baseclass): Rename member from virtual to
136         is_virtual.
137         (struct debug_type_s, struct debug_field_s, struct
138         debug_baseclass_s, struct debug_method_s, struct
139         debug_method_variant_s, struct debug_type_s): Rename struct from
140         avoid name collision.
141         * debug.h: Use new struct names.
142         * dwarf.c: Add casts.
143         (free_debug_memory): Change loop counter variable a to int.
144         * ieee.c: Add casts.
145         (enum ieee_var_kind): Move to top level.
146         (ieee_class_baseclass): Rename parameter virtual to is_virtual.
147         (ieee_class_method_var): Rename variable virtual to is_virtual.
148         * nm.c: Add casts.
149         * objcopy.c: Add casts.
150         (copy_archive): Rename variable delete to del.
151         * objdump.c: Add casts.
152         (dump_dwarf_section): Change loop counter variable i to int.
153         * prdbg.c: Add casts.
154         (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
155         to is_virtual.
156         * readelf.c: Add casts.
157         (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
158         top level.
159         * size.c: Add casts.
160         * stabs.c (parse_stab_type, parse_stab_range_type,
161         (parse_stab_cpp_abbrev): Rename parameter from typename to
162         type_name.
163         (parse_stab_baseclasses): Rename variable virtual to is_virtual.
164         * strings.c: Add casts.
165         * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
166         is_virtual.
167
168 2009-09-09  Nick Clifton  <nickc@redhat.com>
169
170         PR 10478:
171         readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
172         SHF_ORDERED.
173         (process_section_headers): Warn about out of range sh_link
174         values.  When displaying detailed section header information
175         annote the SHN_BEFORE and SHN_AFTER values.
176
177 2009-09-08  Alan Modra  <amodra@bigpond.net.au>
178
179         * dwarf.c (byte_get_little_endian): Handle size of 3.
180         (byte_get_big_endian): Likewise.
181         * readelf.c (byte_put_little_endian): Likewise.
182         (byte_put_big_endian): Likewise.
183         (is_24bit_abs_reloc): New function.
184         (is_none_reloc): Formatting.
185         (apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
186         reloc peculiarity.
187
188 2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
189
190         * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
191         New.
192
193 2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
194
195         * dwarf.c (process_debug_info): Support section padding abbrev codes.
196
197 2009-09-07  Tristan Gingold  <gingold@adacore.com>
198
199         * po/binutils.pot: Regenerate.
200
201 2009-09-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
202
203         * Makefile.am (sysdump.o): Depend on sysroff.c.
204         * Makefile.in: Regenerate.
205
206 2009-09-05  Martin Thuresson  <martin@mtme.org>
207
208         * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
209         ieee_read_reference): Rename variables named class to cxxclass.
210
211 2009-09-04  Tristan Gingold  <gingold@adacore.com>
212
213         * BRANCHES: Add binutils-2_20-branch.
214
215 2009-09-04  Tristan Gingold  <gingold@adacore.com>
216
217         * NEWS: Add marker for 2.20.
218
219 2009-09-04  Timo Kreuzer  <timo.kreuzer@web.de>
220
221         * dlltool.c (delayimp_name): Add new global variable
222         (usage, long_options, main): Add new option "-y" / "--output-delaylib"
223         (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
224         how_dljtab_roff2, how_dljtab, trampoline.
225         (i386_dljtab): Add binary stub for x86 delay import.
226         (i386_trampoline): Add text assembly stub for x86 delay import.
227         (mtable): Add delay import data for M386 and MX86 only.
228         (make_delay_head): New function.
229         (make_one_lib_file): New arg delay creates delay-load import stub.
230         (gen_lib_file): New arg delay likewise.
231         (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
232         (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
233         (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
234         * NEWS: Mention new feature.  Also fix whitespace.
235         * doc/binutils.texi: Updated dlltool documentation.
236
237 2009-09-02  Tristan Gingold  <gingold@adacore.com>
238
239         * configure.com: Do not copy makefile.vms-in to makefile.vms
240         * makefile.vms-in: Renamed to...
241         * makefile.vms: ... this usual name as it is not processed anymore.
242         Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
243         objdump.exe.
244
245 2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
246
247         * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
248         (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
249         source file name for generated files which may be in $(srcdir).
250         * Makefile.in: Regenerate.
251
252 2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
253
254         * version.c (print_version): Change to "Copyright 2009".
255
256 2009-09-01  Tristan Gingold  <gingold@adacore.com>
257
258         * makefile.vms-in: Remove unused VERSION variable.  Remove unused
259         dependencies.
260         * configure.com: Ported to Itanium VMS.  Create build.com DCL script.
261
262 2009-08-29  Martin Thuresson  <martin@mtme.org>
263
264         * nlmconv.c (main): Rename variable new to new_name.
265
266 2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
267
268         * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
269         CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
270         (syslex.o): Likewise.
271         (sysinfo.o): Likewise.
272         (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
273         * Makefile.in: Regenerated.
274
275 2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
276
277         * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
278         (--subsystem): ... from here.
279
280 2009-08-24  Cary Coutant  <ccoutant@google.com>
281
282         * objdump.c (find_symbol_for_address): Avoid costly call to
283         bfd_octets_per_byte.
284
285 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
286
287         * Makefile.am (am__skiplex, am__skipyacc): New.
288         * Makefile.in: Regenerate.
289
290 2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
291
292         * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
293         * Makefile.in: Regenerate.
294
295 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
296
297         * Makefile.am (AM_CPPFLAGS): Renamed from ...
298         (INCLUDES): ... this.
299         (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
300         (installcheck-local): Renamed from ...
301         (installcheck): ... this.
302         * Makefile.in: Regenerate.
303
304         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
305         foreign.
306         (MKDEP, CLEANFILES): Remove now-unneeded variables.
307         (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
308         (mkdep section): Remove.
309         (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
310         (EXTRA_ar_SOURCES): New, list $(CFILES).
311         (syslex.o): Depend on syslex.c.
312         (sysinfo.o): Depend on sysinfo.c.
313         (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
314         Remove dependencies, now tracked by automake.
315         (srconv.o): Depend on sysroff.c.
316         (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
317         (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
318         (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
319         tracking rules; only list the dependency upon the primary source
320         file, but no included headers.
321         * Makefile.in: Regenerate.
322
323         * Makefile.am (install-pdf, install-pdf-recursive, install-html)
324         (install-html-recursive): Remove.
325         * Makefile.in: Regenerate.
326         * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
327         (html__strip_dir, install-html, install-html-am): Remove.
328         * doc/Makefile.in: Regenerate.
329
330         * Makefile.in: Regenerate.
331         * aclocal.m4: Likewise.
332         * config.in: Likewise.
333         * configure: Likewise.
334         * doc/Makefile.in: Likewise.
335
336 2009-08-17  Nick Clifton  <nickc@redhat.com>
337
338         * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
339         32-bit absolute reloc for the purposes of processing debug
340         sections.
341
342 2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
343
344         * readelf.c (get_arm_section_type_name): Added support for
345         new sections headers.
346
347 2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
348
349         PR binutils/10364
350         * objcopy.c (strip_main): Check return from smart_rename.
351         (copy_main): Likewise.
352
353 2009-07-27  Nick Clifton  <nickc@redhat.com>
354
355         PR 10413
356         * objdump.c (dump_section_header): Skip sections that we are
357         ignoring.
358
359 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
360
361         * readelf.c (guess_is_rela): Handle EM_L1OM.
362         (dump_relocations): Likewise.
363         (get_machine_name): Likewise.
364         (get_section_type_name): Likewise.
365         (get_elf_section_flags): Likewise.
366         (get_symbol_index_type): Likewise.
367         (is_32bit_abs_reloc): Likewise.
368         (is_32bit_pcrel_reloc): Likewise.
369         (is_64bit_abs_reloc): Likewise.
370         (is_64bit_pcrel_reloc): Likewise.
371         (is_none_reloc): Likewise.
372
373 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
374
375         * readelf.c (get_symbol_binding): For Linux targeted files return
376         UNIQUE for symbols with the STB_GNU_UNIQUE binding.
377         * doc/binutils.texi: Document the meaning of the 'u' symbol
378         binding in the output of nm and objdump --syms.
379
380 2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
381
382         * NEWS: Mention --insn-width.
383
384         * objdump.c (insn_width): New.
385         (usage): Display --insn-width.
386         (option_values): Add OPTION_INSN_WIDTH.
387         (long_options): Add --insn-width.
388         (disassemble_bytes): Handle insn_width.
389         (main): Handle OPTION_INSN_WIDTH.
390
391         * doc/binutils.texi: Document --insn-width.
392
393 2009-07-17  Nick Clifton  <nickc@redhat.com>
394
395         * dwarf.c (display_debug_lines): If do_debug_lines has not been
396         set then default to displaying raw .debug_line section contents.
397
398 2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
399
400         Support unordered .debug_info references to .debug_ranges.
401         * dwarf.c (struct range_entry, range_entry_compar): New.
402         (display_debug_ranges): Remove variables last_offset, first, j,
403         seen_first_offset, use_debug_info and next.  New variables
404         range_entries and range_entry_fill.  Create the sorted copy
405         range_entries.  Remove the FIXME error on detected unordered references.
406         * dwarf.h (debug_info <range_lists>): New comment.
407
408 2009-07-14  Nick Clifton  <nickc@redhat.com>
409
410         PR 10380
411         * README: Document use of LDFLAGS="--static".
412
413 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
414
415         * Makefile.am: Run "make dep-am".
416         * Makefile.in: Regenerated.
417
418 2009-07-10  Tom Tromey  <tromey@redhat.com>
419
420         * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
421         * Makefile.in: Rebuild.
422         * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
423
424 2009-07-06  Tristan Gingold  <gingold@adacore.com>
425
426         * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
427         sections.
428         * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
429         * dwarf.c (debug_displays): Adjust for removed field.
430
431 2009-07-03  Jakub Jelinek  <jakub@redhat.com>
432
433         * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
434         and DW_OP_implicit_value.
435
436 2009-07-01  Nick Clifton  <nickc@redhat.com>
437
438         PR 6714
439         * rclex.c (handle_quotes): Do not complain about whitespace
440         separating quoted strings.
441         (rclex_string): Ignore whitespace when looking for a new opening
442         quote following a closing quote.
443
444 2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
445
446         PR binutils/10321
447         * bucomm.c (get_file_size): Return -1 on error.
448
449         * objcopy.c (copy_file): Report empty file.
450
451 2009-06-23  Nick Clifton  <nickc@redhat.com>
452
453         * dwarf.c (display_debug_lines_raw): Include the name of the
454         section in warning message.
455         (struct debug_display): Enable reloc processing for .debug_line
456         and .debug_ranges sections.
457
458         * readelf.c: Add --relocated-dump command line option to dump the
459         relocated contents of a specified section.
460         (request_dump): New function.
461         (parse_args): Use it.
462         (dump_section_as_bytes): Add parameter to indicate whether the
463         contents should be relocated.
464         (target_specific_reloc_handling): Add code for a R_MN10300_16
465         reloc found after a R_MN10300_SYM_DIFF reloc.
466         (debug_apply_relocations): Rename to apply_relocations.
467         (get_section_contents): New function.  Replaces common code found
468         in dump_section_as_strings and dump_section_as_bytes.
469         * doc/binutils.texi: Document new command line option.
470         * NEWS: Mention the new feature.
471
472 2009-06-22  Nick Clifton  <nickc@redhat.com>
473
474         * readelf.c (target_specific_reloc_handling): New function:
475         Processes relocs in a target specific manner.
476         (debug_apply_relocations): Use the new function.
477         * dwarf.c (display_debug_loc): End the dump with a blank line.
478         (struct debug_display): Enable reloc processing for .debug_aranges
479         and .debug_loc sections.
480
481 2009-06-19  Nick Clifton  <nickc@redhat.com>
482
483         * ar.c (usage): Do not use #ifdef inside _("...).
484         * nm.c (usage): Likewise.
485
486 2009-06-18  Nick Clifton  <nickc@redhat.com>
487
488         PR 10288
489         * objdump.c (disassemble_bytes): Set the
490         USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
491         if the user has invoked the -m switch.
492         * doc/binutils.texi: Document the additional behaviour of
493         objdump's -m switch for ARM targets.
494
495 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
496
497         * configure.in: Merge cegcc and mingw32ce target name changes from
498         CeGCC project.
499
500 2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
501
502         * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
503         * configure: Regenerate.
504
505 2009-06-15  Nick Clifton  <nickc@redhat.com>
506
507         PR 10263
508         * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
509         the flags field of the disassemble_info structure if the -D switch
510         is in operation.
511
512 2009-06-12  Homer Xing  <homer.xing@yahoo.com>
513
514         * NEWS: Mention new feature added to gprof.
515
516 2009-06-12  John Reiser  <jreiser@BitWagon.com>
517
518         * readelf.c (process_symbol_table): Set gnubuckets to NULL after
519         freeing it and before returning.
520
521 2009-06-12  Jakub Jelinek  <jakub@redhat.com>
522
523         * readelf.c (process_symbol_table): Don't return early if
524         .hash/.gnu.hash is empty/unusable and not -D.
525
526 2009-06-09  Tom Bramer  <tjb@postpro.net>
527
528         PR 10165
529         * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
530         to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
531
532 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
533
534         * strings.c (main): Delay parsing of decimal digits.
535
536 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
537
538         * dep-in.sed: Don't use \n in replacement part of s command.
539         * Makefile.am (DEP1): LC_ALL for uniq.
540         Run "make dep-am".
541         * Makefile.in: Regenerate.
542
543 2009-06-03  Tristan Gingold  <gingold@adacore.com>
544
545         * MAINTAINERS: Add myself as Mach-O maintainer.
546
547 2009-06-01  Alan Modra  <amodra@bigpond.net.au>
548
549         PR 10199
550         * doc/binutils.texi (nm): Correct -S description.
551
552 2009-05-28  Nick Clifton  <nickc@redhat.com>
553
554         * po/da.po: Updated Danish translation.
555
556 2009-05-28  Nick Clifton  <nickc@redhat.com>
557
558         * readelf.c (display_debug_section): Do not display debug sections
559         with the NOBITS section type.
560
561 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
562
563         * aclocal.m4: Include ../config/plugins.m4.
564         * configure.in: Use AC_PLUGINS.
565         * configure: Regenerate.
566         * Makefile.in: Regenerate.
567         * doc/Makefile.in: Regenerate.
568
569 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
570
571         * ar.c (main): Call bfd_plugin_set_program_name.
572         * nm.c (main): Call bfd_plugin_set_program_name.
573
574 2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
575
576         * sysdump.c (tab): Use puts rather than two printfs.
577
578 2009-05-26  Nick Clifton  <nickc@redhat.com>
579
580         * po/id.po: Updated Indonesian translation.
581         * po/binutils.pot: Updated template file.
582
583 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
584
585         * ar.c: Include plugin.h.
586         (main): Handle the --plugin option.
587         * nm.c: Include plugin.h.
588         (OPTION_PLUGIN): New.
589         (long_options): Add plugin.
590         (main): Handle OPTION_PLUGIN.
591         * NEWS: Mention  the new feature.
592         * doc/binutils: Documement the new command line options.
593         * configure.in: Check for --enable-plugins.
594         * configure: Regenerate.
595
596 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
597
598         * dep-in.sed: Output one filename per line with all lines having
599         continuation backslash.  Prefix first line with "A", following
600         lines with "B".
601         * Makefile.am (DEP): Don't use dep.sed here.
602         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
603         sort and uniq.
604         * Makefile.in: Regenerate.
605
606 2009-05-25  Tristan Gingold  <gingold@adacore.com>
607
608         * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
609
610         * configure.com: Fix it: handle alloca and define TARGET in config.h.
611
612 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
613
614         * Makefile.am: Run "make dep-am".
615         * Makefile.in: Regenerate.
616
617 2009-05-12  Alan Modra  <amodra@bigpond.net.au>
618
619         * objcopy.c (set_long_section_mode): Check input_bfd is coff
620         before accessing coff specific fields of bfd.
621
622 2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
623
624         * MAINTAINERS:  Add myself as PE/COFF co-maintainer.
625
626 2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
627
628         * winduni.c (iconv_onechar): Only define when HAVE_ICONV
629         is defined, but not when __CYGWIN__ or _WIN32 are defined.
630         See wind_iconv_cp for call logic of this local funtion.
631
632 2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
633
634         PR 10109
635         * winduni.c: Replace test of HAVE_ICONV_H with a test of
636         HAVE_ICONV.
637         (iconv_onechar): Use ICONV_CONST instead of "const".
638         (wind_MultiByteToWideChar): Initialise local strings.
639
640 2009-04-30  Nick Clifton  <nickc@redhat.com>
641
642         * readelf.c (dump_relocations): Display a relocation against an
643         ifunc symbol as if it were a function invocation.
644         (get_symbol_type): Handle STT_GNU_IFUNC.
645
646 2009-04-29  Anthony Green  <green@moxielogic.com>
647
648         * NEWS: Tweak verilog support description.
649
650 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
651             Denis Scherbakov <denis_scherbakov@yahoo.com>
652
653         * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
654         read, and merge with 32-bit case.
655
656 2009-04-27  Anthony Green  <green@moxielogic.com>
657
658         * NEWS: Mention verilog support added to bfd.
659
660 2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
661
662         * objcopy.c (copy_object): Copy pe_opthdr before changing PE
663         parameters.
664
665 2009-04-24  Cary Coutant  <ccoutant@google.com>
666
667         * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
668         Add missing newlines to HP extensions.
669
670 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
671
672         * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
673         * doc/binutils.texi: Likewise.
674
675 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
676
677         PR binutils/10074
678         * objcopy.c: Include coff/i386.h and coff/pe.h.
679         (pe_file_alignment): New.
680         (pe_heap_commit): Likewise.
681         (pe_heap_reserve): Likewise.
682         (pe_image_base): Likewise.
683         (pe_section_alignment): Likewise.
684         (pe_stack_commit): Likewise.
685         (pe_stack_reserve): Likewise.
686         (pe_subsystem): Likewise.
687         (pe_major_subsystem_version): Likewise.
688         (pe_minor_subsystem_version): Likewise.
689         (set_pe_subsystem): Likewise.
690         (convert_efi_target): Likewise.
691         (command_line_switch): Add OPTION_FILE_ALIGNMENT,
692         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
693         OPTION_STACK and OPTION_SUBSYSTEM.
694         (copy_options): Likewise.
695         (copy_usage): Add --file-alignment, --heap, --image-base,
696         --section-alignment, --stack and --subsystem.
697         (copy_object): Set up PE parameters.
698         (copy_main): Process Add OPTION_FILE_ALIGNMENT,
699         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
700         OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
701         PEI target.
702
703         * NEWS: Mention --file-alignment, --heap, --image-base,
704         --section-alignment, --stack and --subsystem command line
705         options for objcopy.
706
707         * doc/binutils.texi: Document --file-alignment, --heap,
708         --image-base, --section-alignment, --stack and --subsystem
709         command line options for objcopy.
710
711 2009-04-15  Anthony Green  <green@moxielogic.com>
712
713         * MAINTAINERS: Add myself as Moxie port maintainer.
714
715 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
716
717         * objcopy.c (enum long_section_name_handling):  New enum type.
718         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
719         (copy_options[]):  Add entry for --long-section-names option.
720         (copy_usage):  Document it.
721         (set_long_section_mode):  New subroutine.
722         (copy_file):  Call it.
723         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
724         * doc/binutils.texi:  Update objcopy documentation with details
725         of new option.
726
727 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
728
729         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
730         indicates if we are building DLL or EXE, and use it to add a
731         default suffix to the output filename when none is already present.
732         (def_name):  Indicate we are building an EXE when calling it.
733         (def_library):  Indicate we are building a DLL when calling it.
734
735 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
736
737         PR 9972
738         * doc/binutils.texi (strings): Document the -V alias for the
739         --version option.
740         * strings.c (usage): Likewise.
741
742 2009-03-31  Nick Clifton  <nickc@redhat.com>
743
744         PR 9992
745         * configure.in: Import Solaris specific largefile test from
746         bfd/configure.in.
747         * configure: Regenerate.
748
749 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
750
751         * MAINTAINERS: Add self.
752
753 2009-03-27  Nick Clifton  <nickc@redhat.com>
754
755         * dwarf.c (display_debug_ranges): Add the base address to the
756         displayed values for 'Begin' and 'End'.
757
758 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
759
760         * readelf.c (process_file_header): Don't report a corrupt string
761         table index if it is zero.
762
763 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
764
765         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
766         (dwarf_regnames_count): Likewise.
767         (frame_need_space): Return int.
768         (display_debug_frames): Check invalid registers.
769
770 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
771
772         * readelf.c (debug_apply_relocations): Check relocations
773         against STT_SECTION symbol.
774
775 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
776
777         * readelf.c (debug_apply_relocations): Allow relocations
778         against function symbols.
779
780 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
781
782         * sysdep.h: Include alloca-conf.h instead of config.h and remove
783         existing #if's handling alloca.
784         * Makefile.am: Run "make dep-am".
785         * Makefile.in: Regenerate.
786
787 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
788
789         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
790         * configure.in: Likewise.
791         * configure: Regenerate.
792
793 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
794
795         PR binutils/9945
796         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
797
798 2009-03-11  Chris Demetriou  <cgd@google.com>
799
800         * ar.c (deterministic): New global variable.
801         (main): Recognize new 'D' option, which enables 'deterministic mode'.
802         (usage): Document new 'D' option.
803         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
804         flags if deterministic mode was requested.
805         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
806
807 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
808
809         PR binutils/9933
810         * objcopy.c (filter_symbols): Properly handle common symbols
811         in relocatable file.
812
813 2009-03-06  Nick Clifton  <nickc@redhat.com>
814
815         * po/es.po: Updated Spanish translation.
816
817 2009-03-05  Nick Clifton  <nickc@redhat.com>
818
819         * objdump.c (disassemble_section): If the computed next offset is
820         not beyond the current offset then just continue to the end.
821
822 2009-03-04  Tristan Gingold  <gingold@adacore.com>
823
824         * MAINTAINERS: Add myself as VMS maintainer.
825
826 2009-03-03  Nick Clifton  <nickc@redhat.com>
827
828         * readelf.c: Update formatting.
829
830 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
831
832         * Makefile.am: Run "make dep-am".
833         * Makefile.in: Regenerate.
834
835 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
836
837         * objdump.c (disassemble_section): Mask address before sign extending.
838
839 2009-03-02  Sebastian Biallas  <sb@biallas.net>
840
841         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
842         (parse_ieee_bb): Set the filename if it has not already been
843         discovered.
844
845 2009-03-02  Cary Coutant  <ccoutant@google.com>
846
847         * readelf.c (adjust_relative_path): New function.
848         (struct archive_info): New type.
849         (setup_archive): New function.
850         (release_archive): New function.
851         (setup_nested_archive): New function.
852         (get_archive_member_name): New function.
853         (get_archive_member_name_at): New function.
854         (make_qualified_name): New function.
855         (process_archive): Factor out code for reading archive index and
856         long filename table to setup_archive.  Add support for thin archives.
857
858 2009-03-02  Nick Clifton  <nickc@redhat.com>
859
860         * po/sk.po: Updated Slovak translation.
861
862 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
863
864         * configure: Regenerate.
865
866 2009-02-23  Cary Coutant <ccoutant@google.com>
867
868         * objdump.c (load_specific_debug_section): New function, from
869         load_debug_section.
870         (load_debug_section): Use load_specific_debug_section.
871         (dump_dwarf_section): Likewise.
872
873 2009-02-23  Cary Coutant <ccoutant@google.com>
874
875         * readelf.c (parse_args): Select all sections explicitly for -w.
876
877 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
878
879         * windres.c (set_endianess): Copy name without leading '-'.
880
881 2009-02-09  Tristan Gingold  <gingold@adacore.com>
882
883         * NEWS: Mention feature match between objdump and readelf for dumping
884         dwarf info.
885
886         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
887         objdump.
888
889         * objdump.c (usage): Update documentation for -W/--dwarf.
890         (enum option_values): Add OPTION_DWARF.
891         (long_options): --dwarf can accept arguments.
892         (dump_dwarf_section): Also check enabled field.
893         (main): Option -W can accept arguments, code moved to
894         dwarf.c and call dwarf_select_sections_all instead.
895         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
896         (parse_args): Move code to...
897         * dwarf.c (dwarf_select_sections_by_letters,
898         dwarf_select_sections_by_names): : ...here (new functions).
899         (do_debug_lines_decoded): Remove and replaced by ...
900         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
901         (display_debug_lines): Adjust for previous change.
902         (dwarf_select_sections_all): New function.
903         (debug_displays): Add initializer for enabled field.
904         * dwarf.h (do_debug_lines_decoded): Remove.
905         Add prototypes for the new functions.
906         (struct dwarf_section_display): Add enabled field.
907
908 2009-02-06  Nick Clifton  <nickc@redhat.com>
909
910         * po/vi.po: Updated Vietnamese translation.
911
912 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
913
914         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
915
916 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
917
918         * NEWS: Move --as-needed change to ...
919         * ../ld/NEWS: Here.
920
921 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
922
923         * configure.in: AC_SUBST pdfdir.
924         * Makefile.am: Add install-pdf, install-pdf-am,
925         and install-pdf-recursive targets.
926         * doc/Makefile.am: Define pdf__strip_dir. Add
927         install-pdf and install-pdf-am targets.
928         * po/Make-in: Add install-pdf target.
929         * configure: Regenerate.
930         * Makefile.in: Regenerate.
931         * doc/Makefile.in: Regenerate.
932
933 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
934
935         PR binutils/9784
936         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
937
938         * doc/binutils.texi: Document --prefix=PREFIX and
939         --prefix-strip=LEVEL.
940
941         * objdump.c: Include "filenames.h".
942         (prefix): New.
943         (prefix_strip): Likewise.
944         (prefix_length): Likewise.
945         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
946         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
947         (long_options): Likewise.
948         (show_line): Handle prefix and prefix_strip.
949         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
950
951         * readelf.c (PATH_MAX): Moved to ...
952         * sysdep.h: Here.
953
954 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
955
956         * NEWS: Mention --as-needed change.
957
958 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
959
960         PR 9798
961         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
962         (bfd_get_archive_filename): Constify param.
963         * bucomm.h (bfd_get_archive_filename): Update prototype.
964         * objcopy.c (RETURN_NONFATAL): Delete.
965         (copy_unknown_object): Don't call bfd_get_archive_filename for
966         bfd_nonfatal_message filename, instead just pass bfd.
967         (copy_object): Likewise.
968         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
969         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
970         (setup_bfd_headers): Fix error message.
971
972 2009-01-27  Nick Clifton  <nickc@redhat.com>
973
974         PR 9774
975         * objdump.c (disassemble_section): When the target uses signed
976         addresses make sure that we compute signed values.
977
978 2009-01-27  Nick Clifton  <nickc@redhat.com>
979
980         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
981         maintainers.
982
983 2009-01-26  Nick Clifton  <nickc@redhat.com>
984
985         PR 9766
986         * dlltool.c (xlate): When strip text after the @ sign, look for
987         the last one not the first one.
988
989 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
990
991         * configure.in (commonbfdlib): Delete.
992         * configure: Regenerate.
993
994 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
995
996         Cleanup code related to --identify option.
997
998         * dlltool.c (file scope): Removed globals identify_ms,
999         identify_member_contains_symname_result,
1000         identify_dll_name_list_head, and identify_dll_name_list_tail.
1001         Renamed existing typedef dll_name_list_type to
1002         dll_name_list_node_type.
1003         Added new typedefs dll_name_list_type, symname_search_data_type,
1004         and identify_data_type.
1005         (identify_append_dll_name_to_list): Renamed to...
1006         (dll_name_list_append): ...here.  Changed signature to accept list
1007         argument rather than use global.
1008         (identify_count_dll_name_list): Renamed to...
1009         (dll_name_list_count): ...here.  Changed signature to accept list
1010         argument rather than use global.
1011         (identify_print_dll_name_list): Renamed to...
1012         (dll_name_list_print): ...here.  Changed signature to accept list
1013         argument rather than use global.
1014         (identify_free_dll_name_list): Renamed to...
1015         (dll_name_list_free_contents): ...here.
1016         (dll_name_list_free): New function.
1017         (dll_name_list_create): New function.
1018         (identify_process_section_p): Changed signature to accept
1019         ms_style_implib argument rather than use global.
1020         (identify_member_contains_symname): Expect incoming void * data to
1021         be symname_search_data_type.
1022         (identify_dll_for_implib): Use new functions dll_name_list_create
1023         and dll_name_list_free.  Use new types symname_search_data_type
1024         and identify_data_type to communicate with search routines.
1025         (identify_search_section): Expect incoming void * data to be
1026         identify_data_type. Use its contents rather than global
1027         variables.
1028
1029 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1030
1031         Add --identify-strict option.  Handle ms-style implibs:
1032
1033         * dlltool.c (file scope): Added new globals identify_ms and
1034         identify_strict. New typedef dll_name_list_type, and globals
1035         identify_dll_name_list_head and identify_dll_name_list_tail. Added
1036         new global identify_member_contains_symname_result.
1037         (identify_append_dll_name_to_list): New function.
1038         (identify_count_dll_name_list): New function.
1039         (identify_print_dll_name_list): New function.
1040         (identify_free_dll_name_list): New function.
1041         (identify_search_archive): Changed signature to take function
1042         pointer to operation to apply to each member, and data to pass on
1043         to that function.
1044         (identify_search_member): Changed signature to accept user data
1045         from caller.
1046         (identify_member_contains_symname): New function.
1047         (identify_dll_for_implib): Rewrite. Now determines whether implib
1048         is ms- or binutils- style, before searching sections for
1049         dllname. Allows multiple dllnames.
1050         (identify_process_section_p): Search alternate section for dllname
1051         when implib is ms-style.
1052         (identify_search_section): Add additional conditions to excludes
1053         candidate sections from consideration.
1054         (usage): Added --identify-strict.
1055         (long_options): Added --identify-strict.
1056         (main): Handle --identify-strict option.
1057         * doc/binutils.texi: Document --identify-strict option.
1058         * NEWS: Document --identify and --identify-strict options.
1059
1060 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1061
1062         PR 7034
1063         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1064
1065 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1066
1067         * objdump.c (disassemble_section): Don't assume non-instruction
1068         data if object symbol at given address is in different section.
1069
1070 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
1071
1072         * dlltool.c (create_for_pep): New.
1073         (flush_page): Use create_for_pep instead of using
1074         macro DLLTOOL_MX86_64 clause.
1075         (generate_idata_ofile): Likewise.
1076         (make_one_lib_file): Likewise.
1077         (make_head): Likewise.
1078         (make_tail): Likewise.
1079         (main): Initialize create_for_pep.
1080
1081 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1082
1083         * dlltool.c (use_nul_prefixed_import_tables): New.
1084         (make_head): Make prefix leading zero prefix element for
1085         idata$4 and idata$5 dependent to new flag.
1086         (usage): Add new option  --use-nul-prefixed-import-tables.
1087         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1088         (long_options): Add --use-nul-prefixed-import-tables.
1089         (main): Likewise.
1090         * doc/binutils.texi: Add new option documentation for
1091         --use-nul-prefixed-import-tables.
1092         * NEWS: Add new option.
1093
1094 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
1095
1096         * windres.c (set_endianess): Get architecture name
1097         for internal target names like "pe-arm-wince-little".
1098         (find_arch_match): New helper.
1099         * ChangeLog: Reset it.
1100         * ChangeLog-2008: Moved old ChangeLog.
1101
1102 For older changes see ChangeLog-2008
1103 \f
1104 Local Variables:
1105 mode: change-log
1106 left-margin: 8
1107 fill-column: 74
1108 version-control: never
1109 End: