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