Updated sources to avoid using the identifier name "new", which is a
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2009-08-29  Martin Thuresson  <martin@mtme.org>
2
3         * nlmconv.c (main): Rename variable new to new_name.
4
5 2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
8         CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
9         (syslex.o): Likewise.
10         (sysinfo.o): Likewise.
11         (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
12         * Makefile.in: Regenerated.
13
14 2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
15
16         * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
17         (--subsystem): ... from here.
18
19 2009-08-24  Cary Coutant  <ccoutant@google.com>
20
21         * objdump.c (find_symbol_for_address): Avoid costly call to
22         bfd_octets_per_byte.
23
24 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
25
26         * Makefile.am (am__skiplex, am__skipyacc): New.
27         * Makefile.in: Regenerate.
28
29 2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
30
31         * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
32         * Makefile.in: Regenerate.
33
34 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
35
36         * Makefile.am (AM_CPPFLAGS): Renamed from ...
37         (INCLUDES): ... this.
38         (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
39         (installcheck-local): Renamed from ...
40         (installcheck): ... this.
41         * Makefile.in: Regenerate.
42
43         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
44         foreign.
45         (MKDEP, CLEANFILES): Remove now-unneeded variables.
46         (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
47         (mkdep section): Remove.
48         (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
49         (EXTRA_ar_SOURCES): New, list $(CFILES).
50         (syslex.o): Depend on syslex.c.
51         (sysinfo.o): Depend on sysinfo.c.
52         (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
53         Remove dependencies, now tracked by automake.
54         (srconv.o): Depend on sysroff.c.
55         (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
56         (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
57         (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
58         tracking rules; only list the dependency upon the primary source
59         file, but no included headers.
60         * Makefile.in: Regenerate.
61
62         * Makefile.am (install-pdf, install-pdf-recursive, install-html)
63         (install-html-recursive): Remove.
64         * Makefile.in: Regenerate.
65         * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
66         (html__strip_dir, install-html, install-html-am): Remove.
67         * doc/Makefile.in: Regenerate.
68
69         * Makefile.in: Regenerate.
70         * aclocal.m4: Likewise.
71         * config.in: Likewise.
72         * configure: Likewise.
73         * doc/Makefile.in: Likewise.
74
75 2009-08-17  Nick Clifton  <nickc@redhat.com>
76
77         * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
78         32-bit absolute reloc for the purposes of processing debug
79         sections.
80
81 2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
82
83         * readelf.c (get_arm_section_type_name): Added support for
84         new sections headers.
85
86 2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
87
88         PR binutils/10364
89         * objcopy.c (strip_main): Check return from smart_rename.
90         (copy_main): Likewise.
91
92 2009-07-27  Nick Clifton  <nickc@redhat.com>
93
94         PR 10413
95         * objdump.c (dump_section_header): Skip sections that we are
96         ignoring.
97
98 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
99
100         * readelf.c (guess_is_rela): Handle EM_L1OM.
101         (dump_relocations): Likewise.
102         (get_machine_name): Likewise.
103         (get_section_type_name): Likewise.
104         (get_elf_section_flags): Likewise.
105         (get_symbol_index_type): Likewise.
106         (is_32bit_abs_reloc): Likewise.
107         (is_32bit_pcrel_reloc): Likewise.
108         (is_64bit_abs_reloc): Likewise.
109         (is_64bit_pcrel_reloc): Likewise.
110         (is_none_reloc): Likewise.
111
112 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
113
114         * readelf.c (get_symbol_binding): For Linux targeted files return
115         UNIQUE for symbols with the STB_GNU_UNIQUE binding.
116         * doc/binutils.texi: Document the meaning of the 'u' symbol
117         binding in the output of nm and objdump --syms.
118
119 2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
120
121         * NEWS: Mention --insn-width.
122
123         * objdump.c (insn_width): New.
124         (usage): Display --insn-width.
125         (option_values): Add OPTION_INSN_WIDTH.
126         (long_options): Add --insn-width.
127         (disassemble_bytes): Handle insn_width.
128         (main): Handle OPTION_INSN_WIDTH.
129
130         * doc/binutils.texi: Document --insn-width.
131
132 2009-07-17  Nick Clifton  <nickc@redhat.com>
133
134         * dwarf.c (display_debug_lines): If do_debug_lines has not been
135         set then default to displaying raw .debug_line section contents.
136
137 2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
138
139         Support unordered .debug_info references to .debug_ranges.
140         * dwarf.c (struct range_entry, range_entry_compar): New.
141         (display_debug_ranges): Remove variables last_offset, first, j,
142         seen_first_offset, use_debug_info and next.  New variables
143         range_entries and range_entry_fill.  Create the sorted copy
144         range_entries.  Remove the FIXME error on detected unordered references.
145         * dwarf.h (debug_info <range_lists>): New comment.
146
147 2009-07-14  Nick Clifton  <nickc@redhat.com>
148
149         PR 10380
150         * README: Document use of LDFLAGS="--static".
151
152 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
153
154         * Makefile.am: Run "make dep-am".
155         * Makefile.in: Regenerated.
156
157 2009-07-10  Tom Tromey  <tromey@redhat.com>
158
159         * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
160         * Makefile.in: Rebuild.
161         * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
162
163 2009-07-06  Tristan Gingold  <gingold@adacore.com>
164
165         * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
166         sections.
167         * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
168         * dwarf.c (debug_displays): Adjust for removed field.
169
170 2009-07-03  Jakub Jelinek  <jakub@redhat.com>
171
172         * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
173         and DW_OP_implicit_value.
174
175 2009-07-01  Nick Clifton  <nickc@redhat.com>
176
177         PR 6714
178         * rclex.c (handle_quotes): Do not complain about whitespace
179         separating quoted strings.
180         (rclex_string): Ignore whitespace when looking for a new opening
181         quote following a closing quote.
182
183 2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
184
185         PR binutils/10321
186         * bucomm.c (get_file_size): Return -1 on error.
187
188         * objcopy.c (copy_file): Report empty file.
189
190 2009-06-23  Nick Clifton  <nickc@redhat.com>
191
192         * dwarf.c (display_debug_lines_raw): Include the name of the
193         section in warning message.
194         (struct debug_display): Enable reloc processing for .debug_line
195         and .debug_ranges sections.
196
197         * readelf.c: Add --relocated-dump command line option to dump the
198         relocated contents of a specified section.
199         (request_dump): New function.
200         (parse_args): Use it.
201         (dump_section_as_bytes): Add parameter to indicate whether the
202         contents should be relocated.
203         (target_specific_reloc_handling): Add code for a R_MN10300_16
204         reloc found after a R_MN10300_SYM_DIFF reloc.
205         (debug_apply_relocations): Rename to apply_relocations.
206         (get_section_contents): New function.  Replaces common code found
207         in dump_section_as_strings and dump_section_as_bytes.
208         * doc/binutils.texi: Document new command line option.
209         * NEWS: Mention the new feature.
210
211 2009-06-22  Nick Clifton  <nickc@redhat.com>
212
213         * readelf.c (target_specific_reloc_handling): New function:
214         Processes relocs in a target specific manner.
215         (debug_apply_relocations): Use the new function.
216         * dwarf.c (display_debug_loc): End the dump with a blank line.
217         (struct debug_display): Enable reloc processing for .debug_aranges
218         and .debug_loc sections.
219
220 2009-06-19  Nick Clifton  <nickc@redhat.com>
221
222         * ar.c (usage): Do not use #ifdef inside _("...).
223         * nm.c (usage): Likewise.
224
225 2009-06-18  Nick Clifton  <nickc@redhat.com>
226
227         PR 10288
228         * objdump.c (disassemble_bytes): Set the
229         USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
230         if the user has invoked the -m switch.
231         * doc/binutils.texi: Document the additional behaviour of
232         objdump's -m switch for ARM targets.
233
234 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
235
236         * configure.in: Merge cegcc and mingw32ce target name changes from
237         CeGCC project.
238
239 2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
240
241         * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
242         * configure: Regenerate.
243
244 2009-06-15  Nick Clifton  <nickc@redhat.com>
245
246         PR 10263
247         * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
248         the flags field of the disassemble_info structure if the -D switch
249         is in operation.
250
251 2009-06-12  Homer Xing  <homer.xing@yahoo.com>
252
253         * NEWS: Mention new feature added to gprof.
254
255 2009-06-12  John Reiser  <jreiser@BitWagon.com>
256
257         * readelf.c (process_symbol_table): Set gnubuckets to NULL after
258         freeing it and before returning.
259
260 2009-06-12  Jakub Jelinek  <jakub@redhat.com>
261
262         * readelf.c (process_symbol_table): Don't return early if
263         .hash/.gnu.hash is empty/unusable and not -D.
264
265 2009-06-09  Tom Bramer  <tjb@postpro.net>
266
267         PR 10165
268         * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
269         to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
270
271 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
272
273         * strings.c (main): Delay parsing of decimal digits.
274
275 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
276
277         * dep-in.sed: Don't use \n in replacement part of s command.
278         * Makefile.am (DEP1): LC_ALL for uniq.
279         Run "make dep-am".
280         * Makefile.in: Regenerate.
281
282 2009-06-03  Tristan Gingold  <gingold@adacore.com>
283
284         * MAINTAINERS: Add myself as Mach-O maintainer.
285
286 2009-06-01  Alan Modra  <amodra@bigpond.net.au>
287
288         PR 10199
289         * doc/binutils.texi (nm): Correct -S description.
290
291 2009-05-28  Nick Clifton  <nickc@redhat.com>
292
293         * po/da.po: Updated Danish translation.
294
295 2009-05-28  Nick Clifton  <nickc@redhat.com>
296
297         * readelf.c (display_debug_section): Do not display debug sections
298         with the NOBITS section type.
299
300 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
301
302         * aclocal.m4: Include ../config/plugins.m4.
303         * configure.in: Use AC_PLUGINS.
304         * configure: Regenerate.
305         * Makefile.in: Regenerate.
306         * doc/Makefile.in: Regenerate.
307
308 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
309
310         * ar.c (main): Call bfd_plugin_set_program_name.
311         * nm.c (main): Call bfd_plugin_set_program_name.
312
313 2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
314
315         * sysdump.c (tab): Use puts rather than two printfs.
316
317 2009-05-26  Nick Clifton  <nickc@redhat.com>
318
319         * po/id.po: Updated Indonesian translation.
320         * po/binutils.pot: Updated template file.
321
322 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
323
324         * ar.c: Include plugin.h.
325         (main): Handle the --plugin option.
326         * nm.c: Include plugin.h.
327         (OPTION_PLUGIN): New.
328         (long_options): Add plugin.
329         (main): Handle OPTION_PLUGIN.
330         * NEWS: Mention  the new feature.
331         * doc/binutils: Documement the new command line options.
332         * configure.in: Check for --enable-plugins.
333         * configure: Regenerate.
334
335 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
336
337         * dep-in.sed: Output one filename per line with all lines having
338         continuation backslash.  Prefix first line with "A", following
339         lines with "B".
340         * Makefile.am (DEP): Don't use dep.sed here.
341         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
342         sort and uniq.
343         * Makefile.in: Regenerate.
344
345 2009-05-25  Tristan Gingold  <gingold@adacore.com>
346
347         * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
348
349         * configure.com: Fix it: handle alloca and define TARGET in config.h.
350
351 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
352
353         * Makefile.am: Run "make dep-am".
354         * Makefile.in: Regenerate.
355
356 2009-05-12  Alan Modra  <amodra@bigpond.net.au>
357
358         * objcopy.c (set_long_section_mode): Check input_bfd is coff
359         before accessing coff specific fields of bfd.
360
361 2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
362
363         * MAINTAINERS:  Add myself as PE/COFF co-maintainer.
364
365 2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
366
367         * winduni.c (iconv_onechar): Only define when HAVE_ICONV
368         is defined, but not when __CYGWIN__ or _WIN32 are defined.
369         See wind_iconv_cp for call logic of this local funtion.
370
371 2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
372
373         PR 10109
374         * winduni.c: Replace test of HAVE_ICONV_H with a test of
375         HAVE_ICONV.
376         (iconv_onechar): Use ICONV_CONST instead of "const".
377         (wind_MultiByteToWideChar): Initialise local strings.
378
379 2009-04-30  Nick Clifton  <nickc@redhat.com>
380
381         * readelf.c (dump_relocations): Display a relocation against an
382         ifunc symbol as if it were a function invocation.
383         (get_symbol_type): Handle STT_GNU_IFUNC.
384
385 2009-04-29  Anthony Green  <green@moxielogic.com>
386
387         * NEWS: Tweak verilog support description.
388
389 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
390             Denis Scherbakov <denis_scherbakov@yahoo.com>
391
392         * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
393         read, and merge with 32-bit case.
394
395 2009-04-27  Anthony Green  <green@moxielogic.com>
396
397         * NEWS: Mention verilog support added to bfd.
398
399 2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
400
401         * objcopy.c (copy_object): Copy pe_opthdr before changing PE
402         parameters.
403
404 2009-04-24  Cary Coutant  <ccoutant@google.com>
405
406         * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
407         Add missing newlines to HP extensions.
408
409 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
410
411         * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
412         * doc/binutils.texi: Likewise.
413
414 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
415
416         PR binutils/10074
417         * objcopy.c: Include coff/i386.h and coff/pe.h.
418         (pe_file_alignment): New.
419         (pe_heap_commit): Likewise.
420         (pe_heap_reserve): Likewise.
421         (pe_image_base): Likewise.
422         (pe_section_alignment): Likewise.
423         (pe_stack_commit): Likewise.
424         (pe_stack_reserve): Likewise.
425         (pe_subsystem): Likewise.
426         (pe_major_subsystem_version): Likewise.
427         (pe_minor_subsystem_version): Likewise.
428         (set_pe_subsystem): Likewise.
429         (convert_efi_target): Likewise.
430         (command_line_switch): Add OPTION_FILE_ALIGNMENT,
431         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
432         OPTION_STACK and OPTION_SUBSYSTEM.
433         (copy_options): Likewise.
434         (copy_usage): Add --file-alignment, --heap, --image-base,
435         --section-alignment, --stack and --subsystem.
436         (copy_object): Set up PE parameters.
437         (copy_main): Process Add OPTION_FILE_ALIGNMENT,
438         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
439         OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
440         PEI target.
441
442         * NEWS: Mention --file-alignment, --heap, --image-base,
443         --section-alignment, --stack and --subsystem command line
444         options for objcopy.
445
446         * doc/binutils.texi: Document --file-alignment, --heap,
447         --image-base, --section-alignment, --stack and --subsystem
448         command line options for objcopy.
449
450 2009-04-15  Anthony Green  <green@moxielogic.com>
451
452         * MAINTAINERS: Add myself as Moxie port maintainer.
453
454 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
455
456         * objcopy.c (enum long_section_name_handling):  New enum type.
457         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
458         (copy_options[]):  Add entry for --long-section-names option.
459         (copy_usage):  Document it.
460         (set_long_section_mode):  New subroutine.
461         (copy_file):  Call it.
462         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
463         * doc/binutils.texi:  Update objcopy documentation with details
464         of new option.
465
466 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
467
468         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
469         indicates if we are building DLL or EXE, and use it to add a
470         default suffix to the output filename when none is already present.
471         (def_name):  Indicate we are building an EXE when calling it.
472         (def_library):  Indicate we are building a DLL when calling it.
473
474 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
475
476         PR 9972
477         * doc/binutils.texi (strings): Document the -V alias for the
478         --version option.
479         * strings.c (usage): Likewise.
480
481 2009-03-31  Nick Clifton  <nickc@redhat.com>
482
483         PR 9992
484         * configure.in: Import Solaris specific largefile test from
485         bfd/configure.in.
486         * configure: Regenerate.
487
488 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
489
490         * MAINTAINERS: Add self.
491
492 2009-03-27  Nick Clifton  <nickc@redhat.com>
493
494         * dwarf.c (display_debug_ranges): Add the base address to the
495         displayed values for 'Begin' and 'End'. 
496
497 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
498
499         * readelf.c (process_file_header): Don't report a corrupt string
500         table index if it is zero.
501
502 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
505         (dwarf_regnames_count): Likewise.
506         (frame_need_space): Return int.
507         (display_debug_frames): Check invalid registers.
508
509 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
510
511         * readelf.c (debug_apply_relocations): Check relocations
512         against STT_SECTION symbol.
513
514 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
515
516         * readelf.c (debug_apply_relocations): Allow relocations
517         against function symbols.
518
519 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
520
521         * sysdep.h: Include alloca-conf.h instead of config.h and remove
522         existing #if's handling alloca.
523         * Makefile.am: Run "make dep-am".
524         * Makefile.in: Regenerate.
525
526 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
527
528         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
529         * configure.in: Likewise.
530         * configure: Regenerate.
531
532 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
533
534         PR binutils/9945
535         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
536
537 2009-03-11  Chris Demetriou  <cgd@google.com>
538
539         * ar.c (deterministic): New global variable.
540         (main): Recognize new 'D' option, which enables 'deterministic mode'.
541         (usage): Document new 'D' option.
542         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
543         flags if deterministic mode was requested.
544         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
545
546 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
547
548         PR binutils/9933
549         * objcopy.c (filter_symbols): Properly handle common symbols
550         in relocatable file.
551
552 2009-03-06  Nick Clifton  <nickc@redhat.com>
553
554         * po/es.po: Updated Spanish translation.
555
556 2009-03-05  Nick Clifton  <nickc@redhat.com>
557
558         * objdump.c (disassemble_section): If the computed next offset is
559         not beyond the current offset then just continue to the end.
560
561 2009-03-04  Tristan Gingold  <gingold@adacore.com>
562
563         * MAINTAINERS: Add myself as VMS maintainer.
564
565 2009-03-03  Nick Clifton  <nickc@redhat.com>
566
567         * readelf.c: Update formatting.
568
569 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
570
571         * Makefile.am: Run "make dep-am".
572         * Makefile.in: Regenerate.
573
574 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
575
576         * objdump.c (disassemble_section): Mask address before sign extending.
577
578 2009-03-02  Sebastian Biallas  <sb@biallas.net>
579
580         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
581         (parse_ieee_bb): Set the filename if it has not already been
582         discovered.
583
584 2009-03-02  Cary Coutant  <ccoutant@google.com>
585
586         * readelf.c (adjust_relative_path): New function.
587         (struct archive_info): New type.
588         (setup_archive): New function.
589         (release_archive): New function.
590         (setup_nested_archive): New function.
591         (get_archive_member_name): New function.
592         (get_archive_member_name_at): New function.
593         (make_qualified_name): New function.
594         (process_archive): Factor out code for reading archive index and
595         long filename table to setup_archive.  Add support for thin archives.
596
597 2009-03-02  Nick Clifton  <nickc@redhat.com>
598
599         * po/sk.po: Updated Slovak translation.
600
601 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
602
603         * configure: Regenerate.
604
605 2009-02-23  Cary Coutant <ccoutant@google.com>
606
607         * objdump.c (load_specific_debug_section): New function, from
608         load_debug_section.
609         (load_debug_section): Use load_specific_debug_section.
610         (dump_dwarf_section): Likewise.
611
612 2009-02-23  Cary Coutant <ccoutant@google.com>
613
614         * readelf.c (parse_args): Select all sections explicitly for -w.
615
616 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
617
618         * windres.c (set_endianess): Copy name without leading '-'.
619
620 2009-02-09  Tristan Gingold  <gingold@adacore.com>
621
622         * NEWS: Mention feature match between objdump and readelf for dumping
623         dwarf info.
624
625         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
626         objdump.
627
628         * objdump.c (usage): Update documentation for -W/--dwarf.
629         (enum option_values): Add OPTION_DWARF.
630         (long_options): --dwarf can accept arguments.
631         (dump_dwarf_section): Also check enabled field.
632         (main): Option -W can accept arguments, code moved to
633         dwarf.c and call dwarf_select_sections_all instead.
634         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
635         (parse_args): Move code to...
636         * dwarf.c (dwarf_select_sections_by_letters,
637         dwarf_select_sections_by_names): : ...here (new functions).
638         (do_debug_lines_decoded): Remove and replaced by ...
639         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
640         (display_debug_lines): Adjust for previous change.
641         (dwarf_select_sections_all): New function.
642         (debug_displays): Add initializer for enabled field.
643         * dwarf.h (do_debug_lines_decoded): Remove.
644         Add prototypes for the new functions.
645         (struct dwarf_section_display): Add enabled field.
646
647 2009-02-06  Nick Clifton  <nickc@redhat.com>
648
649         * po/vi.po: Updated Vietnamese translation.
650
651 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
652
653         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
654
655 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
656
657         * NEWS: Move --as-needed change to ...
658         * ../ld/NEWS: Here.
659
660 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
661
662         * configure.in: AC_SUBST pdfdir.
663         * Makefile.am: Add install-pdf, install-pdf-am,
664         and install-pdf-recursive targets.
665         * doc/Makefile.am: Define pdf__strip_dir. Add
666         install-pdf and install-pdf-am targets.
667         * po/Make-in: Add install-pdf target.
668         * configure: Regenerate.
669         * Makefile.in: Regenerate.
670         * doc/Makefile.in: Regenerate.
671
672 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
673
674         PR binutils/9784
675         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
676
677         * doc/binutils.texi: Document --prefix=PREFIX and
678         --prefix-strip=LEVEL.
679
680         * objdump.c: Include "filenames.h".
681         (prefix): New.
682         (prefix_strip): Likewise.
683         (prefix_length): Likewise.
684         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
685         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
686         (long_options): Likewise.
687         (show_line): Handle prefix and prefix_strip.
688         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
689
690         * readelf.c (PATH_MAX): Moved to ...
691         * sysdep.h: Here.
692
693 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
694
695         * NEWS: Mention --as-needed change.
696
697 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
698
699         PR 9798
700         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
701         (bfd_get_archive_filename): Constify param.
702         * bucomm.h (bfd_get_archive_filename): Update prototype.
703         * objcopy.c (RETURN_NONFATAL): Delete.
704         (copy_unknown_object): Don't call bfd_get_archive_filename for
705         bfd_nonfatal_message filename, instead just pass bfd.
706         (copy_object): Likewise.
707         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
708         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
709         (setup_bfd_headers): Fix error message.
710
711 2009-01-27  Nick Clifton  <nickc@redhat.com>
712
713         PR 9774
714         * objdump.c (disassemble_section): When the target uses signed
715         addresses make sure that we compute signed values.
716
717 2009-01-27  Nick Clifton  <nickc@redhat.com>
718
719         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
720         maintainers.
721
722 2009-01-26  Nick Clifton  <nickc@redhat.com>
723
724         PR 9766
725         * dlltool.c (xlate): When strip text after the @ sign, look for
726         the last one not the first one.
727
728 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
729
730         * configure.in (commonbfdlib): Delete.
731         * configure: Regenerate.
732
733 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
734
735         Cleanup code related to --identify option.
736
737         * binutils/dlltool.c (file scope): Removed globals identify_ms,
738         identify_member_contains_symname_result,
739         identify_dll_name_list_head, and identify_dll_name_list_tail.
740         Renamed existing typedef dll_name_list_type to
741         dll_name_list_node_type.
742         Added new typedefs dll_name_list_type, symname_search_data_type,
743         and identify_data_type.
744         (identify_append_dll_name_to_list): Renamed to...
745         (dll_name_list_append): ...here.  Changed signature to accept list
746         argument rather than use global.
747         (identify_count_dll_name_list): Renamed to...
748         (dll_name_list_count): ...here.  Changed signature to accept list
749         argument rather than use global.
750         (identify_print_dll_name_list): Renamed to...
751         (dll_name_list_print): ...here.  Changed signature to accept list
752         argument rather than use global.
753         (identify_free_dll_name_list): Renamed to...
754         (dll_name_list_free_contents): ...here.
755         (dll_name_list_free): New function.
756         (dll_name_list_create): New function.
757         (identify_process_section_p): Changed signature to accept
758         ms_style_implib argument rather than use global.
759         (identify_member_contains_symname): Expect incoming void * data to
760         be symname_search_data_type.
761         (identify_dll_for_implib): Use new functions dll_name_list_create
762         and dll_name_list_free.  Use new types symname_search_data_type
763         and identify_data_type to communicate with search routines.
764         (identify_search_section): Expect incoming void * data to be
765         identify_data_type. Use its contents rather than global
766         variables.
767
768 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
769
770         Add --identify-strict option.  Handle ms-style implibs:
771
772         * dlltool.c (file scope): Added new globals identify_ms and
773         identify_strict. New typedef dll_name_list_type, and globals
774         identify_dll_name_list_head and identify_dll_name_list_tail. Added
775         new global identify_member_contains_symname_result.
776         (identify_append_dll_name_to_list): New function.
777         (identify_count_dll_name_list): New function.
778         (identify_print_dll_name_list): New function.
779         (identify_free_dll_name_list): New function.
780         (identify_search_archive): Changed signature to take function
781         pointer to operation to apply to each member, and data to pass on
782         to that function.
783         (identify_search_member): Changed signature to accept user data
784         from caller.
785         (identify_member_contains_symname): New function.
786         (identify_dll_for_implib): Rewrite. Now determines whether implib
787         is ms- or binutils- style, before searching sections for
788         dllname. Allows multiple dllnames.
789         (identify_process_section_p): Search alternate section for dllname
790         when implib is ms-style.
791         (identify_search_section): Add additional conditions to excludes
792         candidate sections from consideration.
793         (usage): Added --identify-strict.
794         (long_options): Added --identify-strict.
795         (main): Handle --identify-strict option.
796         * doc/binutils.texi: Document --identify-strict option.
797         * NEWS: Document --identify and --identify-strict options.
798
799 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
800
801         PR 7034
802         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
803
804 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
805
806         * objdump.c (disassemble_section): Don't assume non-instruction
807         data if object symbol at given address is in different section.
808
809 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
810
811         * dlltool.c (create_for_pep): New.
812         (flush_page): Use create_for_pep instead of using
813         macro DLLTOOL_MX86_64 clause.
814         (generate_idata_ofile): Likewise.
815         (make_one_lib_file): Likewise.
816         (make_head): Likewise.
817         (make_tail): Likewise.
818         (main): Initialize create_for_pep.
819
820 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
821
822         * dlltool.c (use_nul_prefixed_import_tables): New.
823         (make_head): Make prefix leading zero prefix element for
824         idata$4 and idata$5 dependent to new flag.
825         (usage): Add new option  --use-nul-prefixed-import-tables.
826         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
827         (long_options): Add --use-nul-prefixed-import-tables.
828         (main): Likewise.
829         * doc/binutils.texi: Add new option documentation for
830         --use-nul-prefixed-import-tables.
831         * NEWS: Add new option.
832
833 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
834
835         * windres.c (set_endianess): Get architecture name
836         for internal target names like "pe-arm-wince-little".
837         (find_arch_match): New helper.
838         * ChangeLog: Reset it.
839         * ChangeLog-2008: Moved old ChangeLog.
840
841 For older changes see ChangeLog-2008
842 \f
843 Local Variables:
844 mode: change-log
845 left-margin: 8
846 fill-column: 74
847 version-control: never
848 End: