1 2009-05-25 Tristan Gingold <gingold@adacore.com>
3 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
5 * configure.com: Fix it: handle alloca and define TARGET in config.h.
7 2009-05-22 Alan Modra <amodra@bigpond.net.au>
9 * Makefile.am: Run "make dep-am".
10 * Makefile.in: Regenerate.
12 2009-05-12 Alan Modra <amodra@bigpond.net.au>
14 * objcopy.c (set_long_section_mode): Check input_bfd is coff
15 before accessing coff specific fields of bfd.
17 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
19 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
21 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
23 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
24 is defined, but not when __CYGWIN__ or _WIN32 are defined.
25 See wind_iconv_cp for call logic of this local funtion.
27 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
30 * winduni.c: Replace test of HAVE_ICONV_H with a test of
32 (iconv_onechar): Use ICONV_CONST instead of "const".
33 (wind_MultiByteToWideChar): Initialise local strings.
35 2009-04-30 Nick Clifton <nickc@redhat.com>
37 * readelf.c (dump_relocations): Display a relocation against an
38 ifunc symbol as if it were a function invocation.
39 (get_symbol_type): Handle STT_GNU_IFUNC.
41 2009-04-29 Anthony Green <green@moxielogic.com>
43 * NEWS: Tweak verilog support description.
45 2009-04-29 Alan Modra <amodra@bigpond.net.au>
46 Denis Scherbakov <denis_scherbakov@yahoo.com>
48 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
49 read, and merge with 32-bit case.
51 2009-04-27 Anthony Green <green@moxielogic.com>
53 * NEWS: Mention verilog support added to bfd.
55 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
57 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
60 2009-04-24 Cary Coutant <ccoutant@google.com>
62 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
63 Add missing newlines to HP extensions.
65 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
67 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
68 * doc/binutils.texi: Likewise.
70 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
73 * objcopy.c: Include coff/i386.h and coff/pe.h.
74 (pe_file_alignment): New.
75 (pe_heap_commit): Likewise.
76 (pe_heap_reserve): Likewise.
77 (pe_image_base): Likewise.
78 (pe_section_alignment): Likewise.
79 (pe_stack_commit): Likewise.
80 (pe_stack_reserve): Likewise.
81 (pe_subsystem): Likewise.
82 (pe_major_subsystem_version): Likewise.
83 (pe_minor_subsystem_version): Likewise.
84 (set_pe_subsystem): Likewise.
85 (convert_efi_target): Likewise.
86 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
87 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
88 OPTION_STACK and OPTION_SUBSYSTEM.
89 (copy_options): Likewise.
90 (copy_usage): Add --file-alignment, --heap, --image-base,
91 --section-alignment, --stack and --subsystem.
92 (copy_object): Set up PE parameters.
93 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
94 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
95 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
98 * NEWS: Mention --file-alignment, --heap, --image-base,
99 --section-alignment, --stack and --subsystem command line
102 * doc/binutils.texi: Document --file-alignment, --heap,
103 --image-base, --section-alignment, --stack and --subsystem
104 command line options for objcopy.
106 2009-04-15 Anthony Green <green@moxielogic.com>
108 * MAINTAINERS: Add myself as Moxie port maintainer.
110 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
112 * objcopy.c (enum long_section_name_handling): New enum type.
113 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
114 (copy_options[]): Add entry for --long-section-names option.
115 (copy_usage): Document it.
116 (set_long_section_mode): New subroutine.
117 (copy_file): Call it.
118 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
119 * doc/binutils.texi: Update objcopy documentation with details
122 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
124 * dlltool.c (set_dll_name_from_def): Accept new second arg that
125 indicates if we are building DLL or EXE, and use it to add a
126 default suffix to the output filename when none is already present.
127 (def_name): Indicate we are building an EXE when calling it.
128 (def_library): Indicate we are building a DLL when calling it.
130 2009-04-01 Jari Aalto <jari.aalto@cante.net>
133 * doc/binutils.texi (strings): Document the -V alias for the
135 * strings.c (usage): Likewise.
137 2009-03-31 Nick Clifton <nickc@redhat.com>
140 * configure.in: Import Solaris specific largefile test from
142 * configure: Regenerate.
144 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
146 * MAINTAINERS: Add self.
148 2009-03-27 Nick Clifton <nickc@redhat.com>
150 * dwarf.c (display_debug_ranges): Add the base address to the
151 displayed values for 'Begin' and 'End'.
153 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
155 * readelf.c (process_file_header): Don't report a corrupt string
156 table index if it is zero.
158 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
160 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
161 (dwarf_regnames_count): Likewise.
162 (frame_need_space): Return int.
163 (display_debug_frames): Check invalid registers.
165 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
167 * readelf.c (debug_apply_relocations): Check relocations
168 against STT_SECTION symbol.
170 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
172 * readelf.c (debug_apply_relocations): Allow relocations
173 against function symbols.
175 2009-03-18 Alan Modra <amodra@bigpond.net.au>
177 * sysdep.h: Include alloca-conf.h instead of config.h and remove
178 existing #if's handling alloca.
179 * Makefile.am: Run "make dep-am".
180 * Makefile.in: Regenerate.
182 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
184 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
185 * configure.in: Likewise.
186 * configure: Regenerate.
188 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
191 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
193 2009-03-11 Chris Demetriou <cgd@google.com>
195 * ar.c (deterministic): New global variable.
196 (main): Recognize new 'D' option, which enables 'deterministic mode'.
197 (usage): Document new 'D' option.
198 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
199 flags if deterministic mode was requested.
200 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
202 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
205 * objcopy.c (filter_symbols): Properly handle common symbols
208 2009-03-06 Nick Clifton <nickc@redhat.com>
210 * po/es.po: Updated Spanish translation.
212 2009-03-05 Nick Clifton <nickc@redhat.com>
214 * objdump.c (disassemble_section): If the computed next offset is
215 not beyond the current offset then just continue to the end.
217 2009-03-04 Tristan Gingold <gingold@adacore.com>
219 * MAINTAINERS: Add myself as VMS maintainer.
221 2009-03-03 Nick Clifton <nickc@redhat.com>
223 * readelf.c: Update formatting.
225 2009-03-03 Alan Modra <amodra@bigpond.net.au>
227 * Makefile.am: Run "make dep-am".
228 * Makefile.in: Regenerate.
230 2009-03-03 Alan Modra <amodra@bigpond.net.au>
232 * objdump.c (disassemble_section): Mask address before sign extending.
234 2009-03-02 Sebastian Biallas <sb@biallas.net>
236 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
237 (parse_ieee_bb): Set the filename if it has not already been
240 2009-03-02 Cary Coutant <ccoutant@google.com>
242 * readelf.c (adjust_relative_path): New function.
243 (struct archive_info): New type.
244 (setup_archive): New function.
245 (release_archive): New function.
246 (setup_nested_archive): New function.
247 (get_archive_member_name): New function.
248 (get_archive_member_name_at): New function.
249 (make_qualified_name): New function.
250 (process_archive): Factor out code for reading archive index and
251 long filename table to setup_archive. Add support for thin archives.
253 2009-03-02 Nick Clifton <nickc@redhat.com>
255 * po/sk.po: Updated Slovak translation.
257 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
259 * configure: Regenerate.
261 2009-02-23 Cary Coutant <ccoutant@google.com>
263 * objdump.c (load_specific_debug_section): New function, from
265 (load_debug_section): Use load_specific_debug_section.
266 (dump_dwarf_section): Likewise.
268 2009-02-23 Cary Coutant <ccoutant@google.com>
270 * readelf.c (parse_args): Select all sections explicitly for -w.
272 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
274 * windres.c (set_endianess): Copy name without leading '-'.
276 2009-02-09 Tristan Gingold <gingold@adacore.com>
278 * NEWS: Mention feature match between objdump and readelf for dumping
281 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
284 * objdump.c (usage): Update documentation for -W/--dwarf.
285 (enum option_values): Add OPTION_DWARF.
286 (long_options): --dwarf can accept arguments.
287 (dump_dwarf_section): Also check enabled field.
288 (main): Option -W can accept arguments, code moved to
289 dwarf.c and call dwarf_select_sections_all instead.
290 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
291 (parse_args): Move code to...
292 * dwarf.c (dwarf_select_sections_by_letters,
293 dwarf_select_sections_by_names): : ...here (new functions).
294 (do_debug_lines_decoded): Remove and replaced by ...
295 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
296 (display_debug_lines): Adjust for previous change.
297 (dwarf_select_sections_all): New function.
298 (debug_displays): Add initializer for enabled field.
299 * dwarf.h (do_debug_lines_decoded): Remove.
300 Add prototypes for the new functions.
301 (struct dwarf_section_display): Add enabled field.
303 2009-02-06 Nick Clifton <nickc@redhat.com>
305 * po/vi.po: Updated Vietnamese translation.
307 2009-02-03 Sandip Matte <sandip@rmicorp.com>
309 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
311 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
313 * NEWS: Move --as-needed change to ...
316 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
318 * configure.in: AC_SUBST pdfdir.
319 * Makefile.am: Add install-pdf, install-pdf-am,
320 and install-pdf-recursive targets.
321 * doc/Makefile.am: Define pdf__strip_dir. Add
322 install-pdf and install-pdf-am targets.
323 * po/Make-in: Add install-pdf target.
324 * configure: Regenerate.
325 * Makefile.in: Regenerate.
326 * doc/Makefile.in: Regenerate.
328 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
331 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
333 * doc/binutils.texi: Document --prefix=PREFIX and
334 --prefix-strip=LEVEL.
336 * objdump.c: Include "filenames.h".
338 (prefix_strip): Likewise.
339 (prefix_length): Likewise.
340 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
341 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
342 (long_options): Likewise.
343 (show_line): Handle prefix and prefix_strip.
344 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
346 * readelf.c (PATH_MAX): Moved to ...
349 2009-01-31 Alan Modra <amodra@bigpond.net.au>
351 * NEWS: Mention --as-needed change.
353 2009-01-29 Alan Modra <amodra@bigpond.net.au>
356 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
357 (bfd_get_archive_filename): Constify param.
358 * bucomm.h (bfd_get_archive_filename): Update prototype.
359 * objcopy.c (RETURN_NONFATAL): Delete.
360 (copy_unknown_object): Don't call bfd_get_archive_filename for
361 bfd_nonfatal_message filename, instead just pass bfd.
362 (copy_object): Likewise.
363 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
364 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
365 (setup_bfd_headers): Fix error message.
367 2009-01-27 Nick Clifton <nickc@redhat.com>
370 * objdump.c (disassemble_section): When the target uses signed
371 addresses make sure that we compute signed values.
373 2009-01-27 Nick Clifton <nickc@redhat.com>
375 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
378 2009-01-26 Nick Clifton <nickc@redhat.com>
381 * dlltool.c (xlate): When strip text after the @ sign, look for
382 the last one not the first one.
384 2009-01-16 Alan Modra <amodra@bigpond.net.au>
386 * configure.in (commonbfdlib): Delete.
387 * configure: Regenerate.
389 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
391 Cleanup code related to --identify option.
393 * binutils/dlltool.c (file scope): Removed globals identify_ms,
394 identify_member_contains_symname_result,
395 identify_dll_name_list_head, and identify_dll_name_list_tail.
396 Renamed existing typedef dll_name_list_type to
397 dll_name_list_node_type.
398 Added new typedefs dll_name_list_type, symname_search_data_type,
399 and identify_data_type.
400 (identify_append_dll_name_to_list): Renamed to...
401 (dll_name_list_append): ...here. Changed signature to accept list
402 argument rather than use global.
403 (identify_count_dll_name_list): Renamed to...
404 (dll_name_list_count): ...here. Changed signature to accept list
405 argument rather than use global.
406 (identify_print_dll_name_list): Renamed to...
407 (dll_name_list_print): ...here. Changed signature to accept list
408 argument rather than use global.
409 (identify_free_dll_name_list): Renamed to...
410 (dll_name_list_free_contents): ...here.
411 (dll_name_list_free): New function.
412 (dll_name_list_create): New function.
413 (identify_process_section_p): Changed signature to accept
414 ms_style_implib argument rather than use global.
415 (identify_member_contains_symname): Expect incoming void * data to
416 be symname_search_data_type.
417 (identify_dll_for_implib): Use new functions dll_name_list_create
418 and dll_name_list_free. Use new types symname_search_data_type
419 and identify_data_type to communicate with search routines.
420 (identify_search_section): Expect incoming void * data to be
421 identify_data_type. Use its contents rather than global
424 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
426 Add --identify-strict option. Handle ms-style implibs:
428 * dlltool.c (file scope): Added new globals identify_ms and
429 identify_strict. New typedef dll_name_list_type, and globals
430 identify_dll_name_list_head and identify_dll_name_list_tail. Added
431 new global identify_member_contains_symname_result.
432 (identify_append_dll_name_to_list): New function.
433 (identify_count_dll_name_list): New function.
434 (identify_print_dll_name_list): New function.
435 (identify_free_dll_name_list): New function.
436 (identify_search_archive): Changed signature to take function
437 pointer to operation to apply to each member, and data to pass on
439 (identify_search_member): Changed signature to accept user data
441 (identify_member_contains_symname): New function.
442 (identify_dll_for_implib): Rewrite. Now determines whether implib
443 is ms- or binutils- style, before searching sections for
444 dllname. Allows multiple dllnames.
445 (identify_process_section_p): Search alternate section for dllname
446 when implib is ms-style.
447 (identify_search_section): Add additional conditions to excludes
448 candidate sections from consideration.
449 (usage): Added --identify-strict.
450 (long_options): Added --identify-strict.
451 (main): Handle --identify-strict option.
452 * doc/binutils.texi: Document --identify-strict option.
453 * NEWS: Document --identify and --identify-strict options.
455 2009-01-13 Alan Modra <amodra@bigpond.net.au>
458 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
460 2009-01-13 Alan Modra <amodra@bigpond.net.au>
462 * objdump.c (disassemble_section): Don't assume non-instruction
463 data if object symbol at given address is in different section.
465 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
467 * dlltool.c (create_for_pep): New.
468 (flush_page): Use create_for_pep instead of using
469 macro DLLTOOL_MX86_64 clause.
470 (generate_idata_ofile): Likewise.
471 (make_one_lib_file): Likewise.
472 (make_head): Likewise.
473 (make_tail): Likewise.
474 (main): Initialize create_for_pep.
476 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
478 * dlltool.c (use_nul_prefixed_import_tables): New.
479 (make_head): Make prefix leading zero prefix element for
480 idata$4 and idata$5 dependent to new flag.
481 (usage): Add new option --use-nul-prefixed-import-tables.
482 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
483 (long_options): Add --use-nul-prefixed-import-tables.
485 * doc/binutils.texi: Add new option documentation for
486 --use-nul-prefixed-import-tables.
487 * NEWS: Add new option.
489 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
491 * windres.c (set_endianess): Get architecture name
492 for internal target names like "pe-arm-wince-little".
493 (find_arch_match): New helper.
494 * ChangeLog: Reset it.
495 * ChangeLog-2008: Moved old ChangeLog.
497 For older changes see ChangeLog-2008
503 version-control: never