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