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