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