* binemul.h (do_ar_emul_append): Declare.
[binutils-gdb.git] / binutils / ChangeLog
1 2010-12-10 Alan Modra <amodra@gmail.com>
2
3 * binemul.h (do_ar_emul_append): Declare.
4 * binemul.c (any_ok): New function.
5 (do_ar_emul_append): Rename from do_ar_emul_default_append. Make
6 global, add check arg. Adjust callers.
7 (ar_emul_default_replace): Tidy.
8 * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
9 bin_aix_emulation.
10 * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
11 (ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
12 (check_aix): New function.
13 (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
14
15 2010-12-09 Mike Frysinger <vapier@gentoo.org>
16
17 * .gitignore: New file.
18
19 2010-12-08 Alan Modra <amodra@gmail.com>
20
21 * ar.c: Formatting.
22 (usage): Correct help strings.
23 (decode_options): Correct getopt_long short options. Remove
24 duplicate non-handled option message.
25 (main): Don't handle -M specially.
26
27 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
28
29 * ar.c (long_options): Add target.
30 (decode_options): Handle the --target option.
31 (open_inarch): Check for plugin's target, default to --target
32 (replace_members): Use generic `target'.
33
34 * ar.c (operation): New global variable.
35 (show_version): Likewise.
36 (show_help): Likewise.
37 (long_options): Likewise.
38 (usage): Fix help string argument order.
39 (decode_options): New.
40 (ranlib_main): Use getopt_long.
41 (main): Use decode_options.
42
43 * ar.c (main): Split ranlib path.
44 (ranlib_usage): New
45 (ranlib_main): New
46
47 2010-12-03 Doug Evans <dje@google.com>
48
49 * dwarf.c: #include "bfd_stdint.h".
50 (do_gdb_index): New global.
51 (display_gdb_index): New function.
52 (dwarf_select_sections_by_names) Add "gdb_index".
53 (dwarf_select_sections_all): Set do_gdb_index.
54 (debug_displays): Add .gdb_index.
55 * dwarf.h (do_gdb_index): Declare.
56 * objdump.c (usage): Add gdb_index.
57 * readelf.c (usage): Add gdb_index.
58 (process_section_headers): Process ".gdb_index".
59 * doc/binutils.texi (readelf): Document gdb_index dump.
60 (objdump): Ditto.
61
62 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
63
64 PR binutils/11065
65 * dlltool.c (dll_name_set_by_exp_name): New variable.
66 (def_name): Allow setting of dll_name by .def file.
67 (def_library): Likewise.
68 (main): Set dll_name_set_by_exp_name, if dll_name is
69 set indirect by exp_name.
70
71 2010-11-26 Alan Modra <amodra@gmail.com>
72
73 * dwarf.c (decode_location_expression, display_debug_frames): Move
74 code handling DW_EH_PE_pcrel into..
75 (get_encoded_value): ..here.
76
77 2010-11-26 Alan Modra <amodra@gmail.com>
78
79 * po/ja.po: Update.
80
81 2010-11-25 Alan Modra <amodra@gmail.com>
82
83 * po/bg.po: Update.
84 * po/es.po: Update.
85 * po/fi.po: Update.
86 * po/ja.po: Update.
87 * po/ru.po: Update.
88 * po/zh_CN.po: Update.
89
90 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
91
92 PR binutils/12235
93 * elfcomm.c: New.
94 * elfcomm.h: Likewise.
95
96 * Makefile.am (HFILES): Add elfcomm.h.
97 (CFILES): Add elfcomm.c.
98 (ELFLIBS): New.
99 (readelf_SOURCES): Add $(ELFLIBS).
100 (elfedit_SOURCES): Likewise.
101 (objdump_SOURCES): Likewise.
102 * Makefile.in: Regenerated.
103
104 * dwarf.c: Include "elfcomm.h".
105 (byte_get): Removed.
106 (byte_get_little_endian): Likewise.
107 (byte_get_big_endian): Likewise.
108 (byte_get_signed): Likewise.
109 (error): Likewise.
110 (warn): Likewise.
111
112 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
113 (dwarf_size_type): Likewise.
114 (byte_get): Removed.
115 (byte_get_signed): Likewise.
116 (byte_get_little_endian): Likewise.
117 (byte_get_big_endian): Likewise.
118 (error): Likewise.
119 (warn): Likewise.
120
121 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
122 Call error () instead of non_fatal ().
123 (streq): Removed.
124 (strneq): Likewise.
125 (const_strneq): Likewise.
126 (non_fatal): Likewise.
127 (BYTE_GET): Likewise.
128 (BYTE_PUT): Likewise.
129 (byte_get): Likewise.
130 (byte_put): Likewise.
131 (byte_get_little_endian): Likewise.
132 (byte_get_big_endian): Likewise.
133 (byte_put_little_endian): Likewise.
134 (byte_put_big_endian): Likewise.
135 (adjust_relative_path): Likewise.
136 (archive_info): Likewise.
137 (setup_archive): Likewise.
138 (release_archive): Likewise.
139 (setup_nested_archive): Likewise.
140 (get_archive_member_name): Likewise.
141 (get_archive_member_name_at): Likewise.
142 (make_qualified_name): Likewise.
143
144 * objdump.c: Include "elfcomm.h".
145
146 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
147 (BYTE_GET): Removed.
148 (BYTE_GET_SIGNED): Removed.
149 (streq): Likewise.
150 (strneq): Likewise.
151 (const_strneq): Likewise.
152 (byte_put): Likewise.
153 (byte_put_little_endian): Likewise.
154 (byte_put_big_endian): Likewise.
155 (adjust_relative_path): Likewise.
156 (archive_info): Likewise.
157 (setup_archive): Likewise.
158 (release_archive): Likewise.
159 (setup_nested_archive): Likewise.
160 (get_archive_member_name): Likewise.
161 (get_archive_member_name_at): Likewise.
162 (make_qualified_name): Likewise.
163
164 2010-11-18 Alan Modra <amodra@gmail.com>
165
166 PR binutils/11742
167 * readelf.c (get_archive_member_name): Formatting. Properly
168 handle full size ar_name.
169
170 2010-11-17 Alan Modra <amodra@gmail.com>
171
172 * ar.c (print_contents): Don't internationalize strings without words.
173 * dwarf.c (process_extended_line_op): Likewise.
174 (process_debug_info): Likwise.
175 (display_debug_lines_raw): Likewise.
176 (display_debug_lines_decoded): Likewise.
177 (display_debug_abbrev): Likewise.
178 * readelf.c (process_file_header): Likewise.
179 (GET_OP): Likewise.
180 (decode_arm_unwind): Likewise.
181 (process_mips_specific): Likewise.
182 * resrc.c (run_cmd): Likewise.
183 (rcparse_warning): Likewise.
184 * objdump.c (dump_headers): Don't print "Pg".
185
186 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
187
188 * windmc.c: ,%s' -> `%s' in a number of strings.
189
190 2010-11-16 Jie Zhang <jie.zhang@analog.com>
191
192 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
193
194 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
195
196 * readelf.c (get_machine_flags): Add loongson-3a.
197
198 2010-11-10 Nick Clifton <nickc@redhat.com>
199
200 * po/ja.po: Updated Japanese translation.
201 * po/fr.po: Updated French translation.
202
203 2010-11-08 Nick Clifton <nickc@redhat.com>
204
205 * po/ja.po: Updated Japanese translation.
206
207 2010-11-08 Alan Modra <amodra@gmail.com>
208
209 * objcopy.c (copy_main): No need to rename sections when compressing
210 or decompressing.
211
212 2010-11-05 Alan Modra <amodra@gmail.com>
213
214 * bin2c.c: Remove internationalization and version report.
215 * Makefile.am: Update bin2c rule.
216 * Makefile.in: Regenerate.
217
218 2010-11-05 Tristan Gingold <gingold@adacore.com>
219
220 * po/binutils.pot: Regenerate
221
222 2010-11-05 Tristan Gingold <gingold@adacore.com>
223
224 * NEWS: Add marker for 2.21.
225
226 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
227
228 * objdump.c (dump_bfd_header): Don't display
229 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
230
231 2010-11-02 Joseph Myers <joseph@codesourcery.com>
232
233 * readelf.c (display_tic6x_attribute): Handle more attributes.
234
235 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
236
237 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
238 directives.
239
240 2010-10-29 Joseph Myers <joseph@codesourcery.com>
241
242 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
243 not hardcoded 32. Display name of this attribute.
244
245 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
246
247 * addr2line.c (process_file): Set BFD_DECOMPRESS.
248
249 * objcopy.c (do_debug_sections): New.
250 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
251 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
252 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
253 OPTION_DECOMPRESS_DEBUG_SECTIONS.
254 (copy_usage): Add --compress-debug-sections and
255 --decompress-debug-sections.
256 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
257 (copy_section): Replace bfd_get_section_contents with
258 bfd_get_full_section_contents.
259 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
260 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
261 rename DWARF debug sections.
262
263 * objdump.c (load_specific_debug_section): Replace
264 bfd_get_section_contents with bfd_get_full_section_contents.
265 Remove bfd_uncompress_section_contents.
266 (dump_section): Replace bfd_get_section_contents with
267 bfd_get_full_section_contents.
268 (display_file): Set BFD_DECOMPRESS if needed.
269
270 * readelf.c (uncompress_section_contents): Set buffer to NULL
271 to indiate decompression failure.
272 (load_specific_debug_section): Always call
273 uncompress_section_contents.
274
275 * doc/binutils.texi: Document --compress-debug-sections and
276 --decompress-debug-sections.
277
278 2010-10-29 Nick Clifton <nickc@redhat.com>
279
280 PR binutils/12058
281 * ar.c (usage): Revert previous change. Describe how 's' can be
282 used as a command letter.
283 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
284 a command letter.
285
286 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
287 Joseph Myers <joseph@codesourcery.com>
288
289 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
290
291 2010-10-28 Nick Clifton <nickc@redhat.com>
292
293 PR binutils/12058
294 * ar.c (usage): Remove spurious 's' from list of accepted command
295 letters.
296
297 2010-10-28 Alan Modra <amodra@gmail.com>
298
299 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
300 (is_32bit_pcrel_reloc): Support microblaze.
301
302 2010-10-26 Nick Clifton <nickc@redhat.com>
303
304 * po/ja.po: Updated Japanese transaltion.
305
306 2010-10-21 Joseph Myers <joseph@codesourcery.com>
307
308 * readelf.c (display_tic6x_attribute): Update for attribute
309 renaming.
310
311 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
312
313 * dwarf.c (byte_get_signed): Make it extern.
314
315 * dwarf.h (byte_get_signed): New.
316
317 * readelf.c (BYTE_GET_SIGNED): New.
318 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
319 (dump_relocations): Properly dump r_addend.
320
321 2010-10-08 Joseph Myers <joseph@codesourcery.com>
322
323 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
324 (set_print_radix): Update for __MSVCRT__ definition of
325 value_format_64bit.
326
327 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
328
329 Fix build with -DDEBUG=7
330 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
331
332 2010-10-06 Alan Modra <amodra@gmail.com>
333
334 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
335
336 2010-10-05 Alan Modra <amodra@gmail.com>
337
338 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
339 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
340 (list_supported_targets): Tidy.
341 * objdump.c (free_only_list): Formatting.
342 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
343 object".
344 (update_source_path): Delete redundant check for NULL filename.
345 (disassemble_bytes): Error if disassemble_fn returns a value
346 that won't increment address.
347 (disassemble_data): Don't capitalize error message.
348 (read_section_stabs): Likewise.
349 (main): Return non-zero exit status on bad options.
350
351 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
352
353 PR binutils/12088
354 * nm.c (plugin_target): New.
355 (main): Set plugin_target to "plugin" for --plugin.
356 (display_file): Pass plugin_target to bfd_openr if target
357 isn't set.
358
359 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
360
361 * configure: Regenerate.
362
363 2010-09-22 Mike Frysinger <vapier@gentoo.org>
364
365 * MAINTAINERS: Add self as ADI Blackfin maintainer.
366
367 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
368
369 * emul_aix.c (ar_emul_aix_append): Add a target argument
370 and ignore it if it is set.
371 (ar_emul_aix5_append): Likewise.
372 (ar_emul_aix_replace): Likewise.
373 (ar_emul_aix5_replace): Likewise.
374
375 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
376
377 * ar.c (plugin_target): New.
378 (main): Set plugin_target to "plugin" for --plugin.
379 (open_inarch): Initialize target to plugin_target.
380 (replace_members): Pass plugin_target to ar_emul_replace
381 and ar_emul_append.
382
383 * binemul.h (ar_emul_append): Add a target argument.
384 (ar_emul_default_append): Likewise.
385 (ar_emul_replace): Likewise.
386 (ar_emul_default_replace): Likewise.
387 (bin_emulation_xfer_struct): Add a target argument to
388 ar_append and ar_replace.
389
390 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
391 (do_ar_emul_default_append): Likewise.
392 (ar_emul_default_append): Likewise.
393 (ar_emul_replace): Likewise.
394 (ar_emul_default_replace): Likewise.
395
396 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
397
398 * objcopy.c: Add --interleave-width option to allow interleaving
399 of more than one byte at a time.
400 (copy_width): New variable.
401 (copy_options): Add --interleave-width.
402 (copy_section): When interleaving copy in units of copy_width
403 bytes.
404 (copy_main): Parse the new option.
405 * doc/binutils: Document the new option.
406 * NEWS: Mention the new feature.
407
408 2010-09-09 Jakub Jelinek <jakub@redhat.com>
409
410 * dwarf.c (decode_location_expression): Fix data adjustment
411 for DW_OP_GNU_implicit_pointer in v3+.
412
413 2010-09-09 Tristan Gingold <gingold@adacore.com>
414
415 * NEWS: Add entry to NEWS for hppa/som.
416
417 2010-09-09 Jakub Jelinek <jakub@redhat.com>
418
419 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
420 * dwarf.c (decode_location_expression): Add offset_size and
421 dwarf_version arguments. Prefix DIE offset with 0x for
422 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
423 complain if in frame info section. Handle
424 DW_OP_GNU_implicit_pointer.
425 (read_and_display_attr_value, display_debug_loc,
426 display_debug_frames): Adjust decode_location_expression callers.
427 (process_debug_info): Save offset_size and dwarf_version values
428 into debug_information array.
429
430 2010-09-07 Nick Clifton <nickc@redhat.com>
431
432 * readelf.c (process_section_headers): Mention meaning of 'l'
433 section flag for x86-64 targets.
434
435 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
436 Jakub Jelinek <jakub@redhat.com>
437
438 * dwarf.c (regname): New declaration.
439 (decode_location_expression): Print for registers also regname output.
440
441 2010-09-02 Richard Henderson <rth@redhat.com>
442
443 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
444 (init_dwarf_regnames): Use them.
445 * dwarf.h: Declare them.
446 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
447 the regnames, rather than using elf_machine_code.
448
449 2010-09-02 Richard Henderson <rth@redhat.com>
450
451 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
452
453 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
454
455 * elfedit.c (input_elf_osabi): New.
456 (output_elf_osbi): Likewise.
457 (osabis): Likewise.
458 (elf_osabi): Likewise.
459 (update_elf_header): Support updating ELF OSABI.
460 (make_qualified_name): Break long line.
461 (command_line_switch): Add OPTION_INPUT_OSABI and
462 OPTION_OUTPUT_OSABI.
463 (options): Likewise.
464 (usage): Add --input-osabi and --output-osabi.
465 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
466
467 * doc/binutils.texi: Document --input-osabi and --output-osabi
468 for elfedit.
469
470 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
471
472 * readelf.c (display_mips_gnu_attribute): Replace GCC options
473 with a textual description of a MIPS32r2 64-bit FPU.
474
475 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
476
477 PR binutils/11889
478 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
479 sh_entsize.
480 (get_64bit_elf_symbols): Likewise.
481 (process_symbol_table): Likewise.
482 (process_section_groups): Check for corrupt headers.
483 (process_version_sections): Check for corrupt indicies.
484 (process_corefile_note_segment): Likewise.
485
486 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
487
488 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
489 variants.
490
491 2010-08-13 Tom Tromey <tromey@redhat.com>
492
493 * dwarf.c (process_debug_info): Don't subtract section address
494 when calculating location of cu abbrev within section.
495
496 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
497
498 PR binutils/11742
499 * readelf.c (get_archive_member_name): Do not read beyond the end
500 of the ar_name field.
501
502 2010-08-03 Tristan Gingold <gingold@adacore.com>
503
504 * dwarf.c (display_debug_lines): Mark file argument unused.
505 Do not try to load .debug_info section.
506
507 2010-08-02 Alan Modra <amodra@gmail.com>
508
509 * readelf.c (apply_relocations): D30V is really REL.
510
511 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
512 Ina Pandit <ina.pandit@kpitcummins.com>
513
514 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
515
516 2010-07-22 Alan Modra <amodra@gmail.com>
517
518 * readelf.c: Add Moxie support.
519
520 2010-07-20 Alan Modra <amodra@gmail.com>
521
522 * readelf.c (process_program_headers): Don't ignore all zero size
523 sections.
524
525 2010-07-19 Andreas Schwab <schwab@redhat.com>
526
527 * readelf.c (process_section_headers): Update key to flags.
528
529 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
530
531 * objcopy.c (copy_usage): Tweak previous typofix.
532
533 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
534
535 * objcopy.c (copy_usage): Fix a typo.
536
537 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
538
539 * dllwrap.c (main): Make sure is_leading_underscore
540 gets initialized with correct default.
541
542 2010-07-05 Alan Modra <amodra@gmail.com>
543
544 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
545
546 2010-07-03 Cary Coutant <ccoutant@google.com>
547
548 * objdump.c (load_specific_debug_section): Decompress section contents
549 before applying relocations.
550 * readelf.c (load_specific_debug_section): Update section size after
551 decompression.
552
553 2010-06-29 Alan Modra <amodra@gmail.com>
554
555 PR binutils/3166
556 * objcopy.c (is_strip_section): Revert 2006-09-05.
557 (setup_section): Make SHT_GROUP section nobits.
558
559 2010-06-29 Alan Modra <amodra@gmail.com>
560
561 * configure: Regenerate.
562 * po/POTFILES.in: Regenerate.
563
564 2010-06-27 Alan Modra <amodra@gmail.com>
565
566 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
567
568 2010-06-17 Nick Clifton <nickc@redhat.com>
569
570 PR binutils/11711
571 * windres.c (enum option_values): New enum.
572 (long_options): Use separate option number for --include-dir
573 option.
574 (main): Separate backwards compatibility check from code to
575 implement --include-dir. Check to see if directory exists and do
576 not complain if it does.
577
578 2010-06-15 Joseph Myers <joseph@codesourcery.com>
579
580 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
581 New.
582 (process_arch_specific): Call process_tic6x_specific for
583 EM_TI_C6000.
584
585 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
586
587 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
588 for 0x%lx.
589
590 2010-06-11 Tristan Gingold <gingold@adacore.com>
591 Doug Rupp <rupp@gnat.com>
592
593 * readelf.c (is_ia64_vms): New function.
594 (dump_relocations): Use it.
595 (get_machine_flags): Display IA-64 OpenVMS flags.
596 (process_program_headers): No error on OpenVMS if no .dynamic section.
597 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
598 declarations.
599 (dump_ia64_vms_dynamic_fixups): New function.
600 (dump_ia64_vms_dynamic_relocs): Ditto.
601 (process_ia64_vms_dynamic_relocs): Ditto.
602 (process_relocs): Handle IA-64 OpenVMS relocs.
603 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
604 (print_vms_time): New function.
605 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
606 DT_IA_64_VMS_LNKFLAGS.
607 (get_ia64_symbol_other): New function.
608 (get_symbol_other): Handle EM_IA_64.
609
610 2010-06-11 Tristan Gingold <gingold@adacore.com>
611
612 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
613 (UNW_DEC_ABI): Ditto for abiname.
614 (unw_decode_table): Make it const.
615
616 2010-06-10 Tristan Gingold <gingold@adacore.com>
617
618 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
619 not inplace.
620
621 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
622 Joseph Myers <joseph@codesourcery.com>
623 Andrew Stubbs <ams@codesourcery.com>
624
625 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
626
627 2010-05-25 Jay Krell <jay.krell@cornell.edu>
628
629 PR ld/11621
630 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
631 * Makefile.in: Regenerate.
632
633 2010-05-24 Tristan Gingold <gingold@adacore.com>
634
635 * readelf.c (usage): Add new trace sections for --debug-dump.
636 (process_section_headers): Handle dump of trace sections.
637 * objdump.c (usage): Add new trace sections for --dwarf.
638 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
639 (do_trace_aranges): Ditto.
640 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
641 and trace_aranges literals.
642 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
643 (do_trace_aranges): Ditto.
644 (process_debug_info): Add abbrev_sec argument and replace
645 abbrev with abbrev_sec.
646 (load_debug_info): Adjust call of process_debug_info.
647 (display_debug_info): Ditto.
648 (display_trace_info): New function.
649 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
650 and trace_aranges sections name.
651 (dwarf_select_sections_all): Also select trace sections.
652 (debug_displays): Reindent. Add entries for the trace sections.
653 * doc/binutils.texi (readelf): Document new --dwarf parameters.
654 (objdump): Ditto.
655
656 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
657
658 PR gas/11600
659 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
660 generic flag.
661
662 2010-05-07 Tristan Gingold <gingold@adacore.com>
663
664 * Makefile.in: Regenerate with automake 1.11.1.
665 * aclocal.m4: Ditto.
666 * doc/Makefile.in: Ditto.
667
668 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
669
670 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
671 * readelf.c (get_elf_section_flags): Likewise.
672 (process_section_headers): Likewise.
673
674 2010-05-05 Nick Clifton <nickc@redhat.com>
675
676 * po/es.po: Updated Spanish translation.
677
678 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
679
680 * dlltool.c (main): Query for bfd's underscoring default for
681 default target case.
682
683 2010-04-27 Nick Clifton <nickc@redhat.com>
684
685 * po/ru.po: Updated Russian translation.
686
687 2010-04-23 Alan Modra <amodra@gmail.com>
688
689 * readelf.c (process_program_headers): Replace use of
690 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
691
692 2010-04-22 Nick Clifton <nickc@redhat.com>
693
694 * po/binutils.pot: Updated by the Translation project.
695 * po/fi.po: Updated Finnish translation.
696 * po/vi.po: Updated Vietnamese translation.
697 * po/bg.po: New Bulgarian translation.
698 * configure.in (ALL_LINGUAS): Add bg.
699 * configure: Regenerate.
700
701 2010-04-20 Nick Clifton <nickc@redhat.com>
702
703 * po/fr.po: Updated french translation.
704
705 2010-04-20 Nick Clifton <nickc@redhat.com>
706
707 * readelf.c: Add _() macros to constant strings that are
708 translatable.
709
710 * readelf.c (display_mips_gnu_attribute): Replace GCC options
711 with a textual description of single and double precision float.
712
713 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
714
715 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
716 (arm_attr_tag_ABI_align8_needed): Remove.
717 (arm_attr_tag_ABI_align8_preserved): Remove.
718 (arm_attr_tag_ABI_HardFP_use): Update text strings.
719 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
720 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
721
722 2010-04-13 Nick Clifton <nickc@redhat.com>
723
724 PR binutils/11419
725 * dwarf.c (process_debug_info): Initialise the signature array.
726
727 2010-04-09 Nick Clifton <nickc@redhat.com>
728
729 * dwarf.c (process_debug_info): Remove unused variable
730 cu_abbrev_offset_ptr.
731 (display_debug_lines_decoded): Remove unused variable prev_line.
732 * elfedit.c (process_archive): Remove unused variable
733 file_name_size.
734 * ieee.c (ieee_start_compilation_unit): Remove unused variable
735 nindx.
736 (ieee_set_type): Remove unused variables info, targetindx and
737 baseindx.
738 * objdump.c (disassmble_byte): Remove unused variable done_dot.
739 * rddbg.c (read_section_stabs_debugging_info): Remove unused
740 variable other.
741 * readelf.c (dump_section_as_strings): Remove unused variable
742 addr.
743 (process_archive): Remove unused variable file_name_size.
744 * stabs.c (parse_stab_string): Mark desc parameter as unused.
745 Remove unused variable lineno.
746 (parse_stab_struct_type): Remove unused variable orig.
747 (stab_demangle_type): Remove unused variables constp, volatilep
748 and hold.
749
750 2010-04-07 Alan Modra <amodra@gmail.com>
751
752 * configure: Regenerate.
753
754 2010-04-06 Nick Clifton <nickc@redhat.com>
755
756 * po/vi.po: Updated Vietnamese translation.
757
758 2010-04-05 Jakub Jelinek <jakub@redhat.com>
759
760 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
761 fields.
762 (display_debug_frames): Handle CIE version 4.
763
764 * dwarf.c (struct State_Machine_Registers): Add op_index field,
765 change end_sequence type to unsigned char.
766 (reset_state_machine): Clear op_index.
767 (process_extended_line_op): For DW_LNE_set_address clear op_index.
768 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
769 Track op_index state machine register and print it if
770 li_max_ops_per_insn is != 1.
771 (display_debug_lines_decoded): Likewise.
772
773 2010-04-01 Jakub Jelinek <jakub@redhat.com>
774
775 * dwarf.c (read_and_display_attr_value): Don't reject
776 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
777 and DW_FORM_exprloc.
778 (process_debug_info): Handle cu_version == 4.
779 (display_debug_lines_raw, display_debug_lines_decoded): Handle
780 li_version == 4.
781
782 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
783
784 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
785 * Makefile.in: Regenerate.
786
787 2010-03-25 Joseph Myers <joseph@codesourcery.com>
788
789 * MAINTAINERS: Add self as TI C6X maintainer.
790 * NEWS: Add news entry for TI C6X support.
791 * readelf.c: Include elf/tic6x.h.
792 (guess_is_rela): Handle EM_TI_C6000.
793 (dump_relocations): Likewise.
794 (get_tic6x_dynamic_type): New.
795 (get_dynamic_type): Call it.
796 (get_machine_flags): Handle EF_C6000_REL.
797 (get_osabi_name): Handle machine-specific values only for relevant
798 machines. Handle C6X values.
799 (get_tic6x_segment_type): New.
800 (get_segment_type): Call it.
801 (get_tic6x_section_type_name): New.
802 (get_section_type_name): Call it.
803 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
804 EM_TI_C6000.
805
806 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
807
808 * doc/binutils.texi (readelf) <unwind information>: Mention support for
809 ARM unwind tables.
810
811 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
812
813 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
814
815 2010-03-17 Alan Modra <amodra@gmail.com>
816
817 * readelf.c (dump_arm_unwind): Warning fix.
818
819 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
820
821 * MAINTAINERS: Update my email address. List Tristan Gingold
822 as the release branch maintainer.
823
824 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
825
826 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
827
828 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
829
830 * NEWS: Document .ARM.exidx / .ARM.extab support.
831
832 * dwarf.c (read_leb128): Make non-static.
833 * dwarf.h (read_leb128): Declare.
834 * readelf.c (REMOVE_ARCH_BITS): Define.
835 (find_section_by_address): New.
836 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
837 (find_symbol_for_address): Handle the Thumb bit for ARM, by
838 using REMOVE_ARCH_BITS.
839 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
840 (arm_free_section, arm_section_get_word, decode_arm_unwind)
841 (dump_arm_unwind, arm_process_unwind): New.
842 (process_unwind): Handle ARM.
843
844 2010-02-26 Jie Zhang <jie@codesourcery.com>
845
846 * MAINTAINERS: Update my email address.
847
848 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
849
850 PR binutils/11298
851 * doc/binutils.texi (windmc): Fix synopsis and description of
852 ASCII options.
853
854 2010-02-19 Alan Modra <amodra@gmail.com>
855
856 * readelf.c (get_group_flags): Return empty string when flags zero.
857 Add space in other returned values.
858 (process_section_groups): Adjust format string.
859
860 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
861
862 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
863 newly permitted attribute values.
864 (arm_attr_tag_Virtualization_use): Likewise.
865 (arm_attr_tag_DIV_use): Add description of new attribute.
866 (arm_attr_tag_MPextension_use_legacy): Likewise.
867
868 2010-02-15 Nick Clifton <nickc@redhat.com>
869
870 * po/vi.po: Updated Vietnamese translation.
871
872 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
873
874 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
875 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
876
877 2010-02-08 Jim Blandy <jimb@red-bean.com>
878
879 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
880 'z' augmentation strings.
881
882 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
883
884 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
885 a new address, so as not to reuse a previous, non-related reloc.
886
887 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
888
889 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
890
891 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
892
893 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
894 sections.
895
896 2010-01-28 Nick Clifton <nickc@redhat.com>
897
898 PR 11225
899 * objdump.c (only): Replace with linked list.
900 (only_size, only_used): Replace with only_list.
901 (process_section_p): Set seen field on matches sections.
902 (add_only): New function.
903 (free_only_list): New function.
904 (disassemble_section): Check only_list.
905 (main): Use add_only and free_only_list.
906
907 2010-01-26 Tristan Gingold <gingold@adacore.com>
908
909 * Makefile.am (bin2c): Add libintl dependance and library.
910 * Makefile.in: Regenerate.
911
912 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
913
914 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
915
916 2010-01-19 Ian Lance Taylor <iant@google.com>
917
918 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
919 with non-ordinary files like /dev/null.
920
921 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
922 Alan Modra <amodra@gmail.com>
923
924 * readelf.c (process_file_header): Handle e_phnum extension.
925
926 2010-01-14 Tristan Gingold <gingold@adacore.com>
927
928 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
929 and DW_AT_GNAT_descriptive_type.
930
931 2010-01-13 Tristan Gingold <gingold@adacore.com>
932
933 * ar.c (main): Use lbasename.
934 (normalize): Ditto.
935 * objdump.c (update_source_path): Ditto.
936
937 2010-01-12 Tristan Gingold <gingold@adacore.com>
938
939 * makefile.vms (CFLAGS): Turns warnings into informational messages.
940
941 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
942
943 PR ld/11146
944 * NEWS: Mention --dyn-syms for readelf.
945
946 * readelf.c (do_dyn_syms): New.
947 (OPTION_DYN_SYMS): Likewise.
948 (options): Add "dyn-syms".
949 (usage): Add --dyn-syms.
950 (parse_args): Handle OPTION_DYN_SYMS.
951 (process_symbol_table): Handle do_dyn_syms.
952 (process_object): Likewise.
953 (process_archive): Likewise.
954
955 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
956 symbol hash tables for -D.
957
958 2010-01-11 Nick Clifton <nickc@redhat.com>
959
960 * NEWS: Mention addition of elfedit.
961
962 * po/fi.po: Updated Finnish translation.
963
964 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
965
966 * Makefile.in: Regenerate.
967 * configure: Regenerate.
968 * doc/Makefile.in: Regenerate.
969
970 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
971
972 * version.c (print_version): Change to "Copyright 2010".
973
974 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
975
976 * elfedit.c (input_elf_type): New.
977 (output_elf_type): Likewise.
978 (elf_type): Likewise.
979 (update_elf_header): Support updating ELF file type.
980 (command_line_switch): Add OPTION_INPUT_TYPE and
981 OPTION_OUTPUT_TYPE.
982 (options): Likewise.
983 (usage): Add --input-type and --output-type.
984 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
985 one of --output-mach and --output-type must be specified.
986
987 * doc/binutils.texi: Document --input-type and --output-type
988 for elfedit.
989
990 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
991
992 * doc/binutils.texi: Fix a typo.
993
994 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
995
996 * elfedit.c (update_elf_header): Don't change input_elf_class
997 nor input_elf_machine if they are -1.
998
999 2010-01-08 Tristan Gingold <gingold@adacore.com>
1000
1001 * ar.c: Remove bfd_special_undocumented_glue prototype.
1002
1003 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * elfedit.c (update_elf_header): Reformat.
1006
1007 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * readelf.c (usage): Fix indent for --symbols.
1010
1011 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * doc/binutils.texi: Replace -histogram with --histogram.
1014
1015 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 PR binutils/11131
1018 * Makefile.am (ELFEDIT_PROG): New.
1019 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
1020 (CFILES): Add elfedit.c.
1021 (elfedit_DEPENDENCIES): New.
1022 (elfedit_SOURCES): Likewise.
1023 (elfedit_LDADD): Likewise.
1024 * Makefile.in: Regenerated.
1025
1026 * elfedit.c: New.
1027
1028 * doc/binutils.texi: Document elfedit.
1029
1030 * doc/Makefile.am (man_MANS): Add elfedit.1.
1031 (elfedit.1): New.
1032 * doc/Makefile.in: Regenerated.
1033
1034 2010-01-06 Tristan Gingold <gingold@adacore.com>
1035
1036 * nm.c (usage): Remove extra blanks.
1037
1038 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * objcopy.c: Update copyright.
1041 * readelf.c: Likewise.
1042
1043 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 PR binutils/11130
1046 * objcopy.c (copy_object): Remove "Warning: " from error
1047 message.
1048
1049 2010-01-04 Nick Clifton <nickc@redhat.com>
1050
1051 PR 11128
1052 * readelf.c (dump_section_as_strings): Use two separate
1053 invocations of printf() in order to work around bugs in
1054 the Solaris 8 implementation.
1055
1056 2010-01-04 Nick Clifton <nickc@redhat.com>
1057
1058 * po/ru.po: Updated Russian translation.
1059
1060 For older changes see ChangeLog-2009
1061 \f
1062 Local Variables:
1063 mode: change-log
1064 left-margin: 8
1065 fill-column: 74
1066 version-control: never
1067 End: