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