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