OSDN Git Service

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