OSDN Git Service

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