binutils/
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * readelf.c (display_mips_gnu_attribute): Replace GCC options
4 with a textual description of a MIPS32r2 64-bit FPU.
5
6 2010-08-19 Alan Modra <amodra@gmail.com>
7
8 * NEWS: Mention change in linker script expression evaluation.
9
10 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
11
12 PR binutils/11889
13 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
14 sh_entsize.
15 (get_64bit_elf_symbols): Likewise.
16 (process_symbol_table): Likewise.
17 (process_section_groups): Check for corrupt headers.
18 (process_version_sections): Check for corrupt indicies.
19 (process_corefile_note_segment): Likewise.
20
21 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
22
23 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
24 variants.
25
26 2010-08-13 Tom Tromey <tromey@redhat.com>
27
28 * dwarf.c (process_debug_info): Don't subtract section address
29 when calculating location of cu abbrev within section.
30
31 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
32
33 PR binutils/11742
34 * readelf.c (get_archive_member_name): Do not read beyond the end
35 of the ar_name field.
36
37 2010-08-03 Tristan Gingold <gingold@adacore.com>
38
39 * dwarf.c (display_debug_lines): Mark file argument unused.
40 Do not try to load .debug_info section.
41
42 2010-08-02 Alan Modra <amodra@gmail.com>
43
44 * readelf.c (apply_relocations): D30V is really REL.
45
46 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
47 Ina Pandit <ina.pandit@kpitcummins.com>
48
49 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
50
51 2010-07-22 Alan Modra <amodra@gmail.com>
52
53 * readelf.c: Add Moxie support.
54
55 2010-07-20 Alan Modra <amodra@gmail.com>
56
57 * readelf.c (process_program_headers): Don't ignore all zero size
58 sections.
59
60 2010-07-19 Andreas Schwab <schwab@redhat.com>
61
62 * readelf.c (process_section_headers): Update key to flags.
63
64 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
65
66 * objcopy.c (copy_usage): Tweak previous typofix.
67
68 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
69
70 * objcopy.c (copy_usage): Fix a typo.
71
72 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
73
74 * dllwrap.c (main): Make sure is_leading_underscore
75 gets initialized with correct default.
76
77 2010-07-05 Alan Modra <amodra@gmail.com>
78
79 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
80
81 2010-07-03 Cary Coutant <ccoutant@google.com>
82
83 * objdump.c (load_specific_debug_section): Decompress section contents
84 before applying relocations.
85 * readelf.c (load_specific_debug_section): Update section size after
86 decompression.
87
88 2010-06-29 Alan Modra <amodra@gmail.com>
89
90 PR binutils/3166
91 * objcopy.c (is_strip_section): Revert 2006-09-05.
92 (setup_section): Make SHT_GROUP section nobits.
93
94 2010-06-29 Alan Modra <amodra@gmail.com>
95
96 * configure: Regenerate.
97 * po/POTFILES.in: Regenerate.
98
99 2010-06-27 Alan Modra <amodra@gmail.com>
100
101 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
102
103 2010-06-17 Nick Clifton <nickc@redhat.com>
104
105 PR binutils/11711
106 * windres.c (enum option_values): New enum.
107 (long_options): Use separate option number for --include-dir
108 option.
109 (main): Separate backwards compatibility check from code to
110 implement --include-dir. Check to see if directory exists and do
111 not complain if it does.
112
113 2010-06-15 Joseph Myers <joseph@codesourcery.com>
114
115 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
116 New.
117 (process_arch_specific): Call process_tic6x_specific for
118 EM_TI_C6000.
119
120 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
121
122 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
123 for 0x%lx.
124
125 2010-06-11 Tristan Gingold <gingold@adacore.com>
126 Doug Rupp <rupp@gnat.com>
127
128 * readelf.c (is_ia64_vms): New function.
129 (dump_relocations): Use it.
130 (get_machine_flags): Display IA-64 OpenVMS flags.
131 (process_program_headers): No error on OpenVMS if no .dynamic section.
132 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
133 declarations.
134 (dump_ia64_vms_dynamic_fixups): New function.
135 (dump_ia64_vms_dynamic_relocs): Ditto.
136 (process_ia64_vms_dynamic_relocs): Ditto.
137 (process_relocs): Handle IA-64 OpenVMS relocs.
138 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
139 (print_vms_time): New function.
140 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
141 DT_IA_64_VMS_LNKFLAGS.
142 (get_ia64_symbol_other): New function.
143 (get_symbol_other): Handle EM_IA_64.
144
145 2010-06-11 Tristan Gingold <gingold@adacore.com>
146
147 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
148 (UNW_DEC_ABI): Ditto for abiname.
149 (unw_decode_table): Make it const.
150
151 2010-06-10 Tristan Gingold <gingold@adacore.com>
152
153 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
154 not inplace.
155
156 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
157 Joseph Myers <joseph@codesourcery.com>
158 Andrew Stubbs <ams@codesourcery.com>
159
160 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
161
162 2010-05-25 Jay Krell <jay.krell@cornell.edu>
163
164 PR ld/11621
165 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
166 * Makefile.in: Regenerate.
167
168 2010-05-24 Tristan Gingold <gingold@adacore.com>
169
170 * readelf.c (usage): Add new trace sections for --debug-dump.
171 (process_section_headers): Handle dump of trace sections.
172 * objdump.c (usage): Add new trace sections for --dwarf.
173 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
174 (do_trace_aranges): Ditto.
175 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
176 and trace_aranges literals.
177 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
178 (do_trace_aranges): Ditto.
179 (process_debug_info): Add abbrev_sec argument and replace
180 abbrev with abbrev_sec.
181 (load_debug_info): Adjust call of process_debug_info.
182 (display_debug_info): Ditto.
183 (display_trace_info): New function.
184 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
185 and trace_aranges sections name.
186 (dwarf_select_sections_all): Also select trace sections.
187 (debug_displays): Reindent. Add entries for the trace sections.
188 * doc/binutils.texi (readelf): Document new --dwarf parameters.
189 (objdump): Ditto.
190
191 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
192
193 PR gas/11600
194 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
195 generic flag.
196
197 2010-05-07 Tristan Gingold <gingold@adacore.com>
198
199 * Makefile.in: Regenerate with automake 1.11.1.
200 * aclocal.m4: Ditto.
201 * doc/Makefile.in: Ditto.
202
203 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
204
205 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
206 * readelf.c (get_elf_section_flags): Likewise.
207 (process_section_headers): Likewise.
208
209 2010-05-05 Nick Clifton <nickc@redhat.com>
210
211 * po/es.po: Updated Spanish translation.
212
213 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
214
215 * dlltool.c (main): Query for bfd's underscoring default for
216 default target case.
217
218 2010-04-27 Nick Clifton <nickc@redhat.com>
219
220 * po/ru.po: Updated Russian translation.
221
222 2010-04-23 Alan Modra <amodra@gmail.com>
223
224 * readelf.c (process_program_headers): Replace use of
225 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
226
227 2010-04-22 Nick Clifton <nickc@redhat.com>
228
229 * po/binutils.pot: Updated by the Translation project.
230 * po/fi.po: Updated Finnish translation.
231 * po/vi.po: Updated Vietnamese translation.
232 * po/bg.po: New Bulgarian translation.
233 * configure.in (ALL_LINGUAS): Add bg.
234 * configure: Regenerate.
235
236 2010-04-20 Nick Clifton <nickc@redhat.com>
237
238 * po/fr.po: Updated french translation.
239
240 2010-04-20 Nick Clifton <nickc@redhat.com>
241
242 * readelf.c: Add _() macros to constant strings that are
243 translatable.
244
245 * readelf.c (display_mips_gnu_attribute): Replace GCC options
246 with a textual description of single and double precision float.
247
248 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
249
250 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
251 (arm_attr_tag_ABI_align8_needed): Remove.
252 (arm_attr_tag_ABI_align8_preserved): Remove.
253 (arm_attr_tag_ABI_HardFP_use): Update text strings.
254 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
255 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
256
257 2010-04-13 Nick Clifton <nickc@redhat.com>
258
259 PR binutils/11419
260 * dwarf.c (process_debug_info): Initialise the signature array.
261
262 2010-04-09 Nick Clifton <nickc@redhat.com>
263
264 * dwarf.c (process_debug_info): Remove unused variable
265 cu_abbrev_offset_ptr.
266 (display_debug_lines_decoded): Remove unused variable prev_line.
267 * elfedit.c (process_archive): Remove unused variable
268 file_name_size.
269 * ieee.c (ieee_start_compilation_unit): Remove unused variable
270 nindx.
271 (ieee_set_type): Remove unused variables info, targetindx and
272 baseindx.
273 * objdump.c (disassmble_byte): Remove unused variable done_dot.
274 * rddbg.c (read_section_stabs_debugging_info): Remove unused
275 variable other.
276 * readelf.c (dump_section_as_strings): Remove unused variable
277 addr.
278 (process_archive): Remove unused variable file_name_size.
279 * stabs.c (parse_stab_string): Mark desc parameter as unused.
280 Remove unused variable lineno.
281 (parse_stab_struct_type): Remove unused variable orig.
282 (stab_demangle_type): Remove unused variables constp, volatilep
283 and hold.
284
285 2010-04-07 Alan Modra <amodra@gmail.com>
286
287 * configure: Regenerate.
288
289 2010-04-06 Nick Clifton <nickc@redhat.com>
290
291 * po/vi.po: Updated Vietnamese translation.
292
293 2010-04-05 Jakub Jelinek <jakub@redhat.com>
294
295 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
296 fields.
297 (display_debug_frames): Handle CIE version 4.
298
299 * dwarf.c (struct State_Machine_Registers): Add op_index field,
300 change end_sequence type to unsigned char.
301 (reset_state_machine): Clear op_index.
302 (process_extended_line_op): For DW_LNE_set_address clear op_index.
303 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
304 Track op_index state machine register and print it if
305 li_max_ops_per_insn is != 1.
306 (display_debug_lines_decoded): Likewise.
307
308 2010-04-01 Jakub Jelinek <jakub@redhat.com>
309
310 * dwarf.c (read_and_display_attr_value): Don't reject
311 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
312 and DW_FORM_exprloc.
313 (process_debug_info): Handle cu_version == 4.
314 (display_debug_lines_raw, display_debug_lines_decoded): Handle
315 li_version == 4.
316
317 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
318
319 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
320 * Makefile.in: Regenerate.
321
322 2010-03-25 Joseph Myers <joseph@codesourcery.com>
323
324 * MAINTAINERS: Add self as TI C6X maintainer.
325 * NEWS: Add news entry for TI C6X support.
326 * readelf.c: Include elf/tic6x.h.
327 (guess_is_rela): Handle EM_TI_C6000.
328 (dump_relocations): Likewise.
329 (get_tic6x_dynamic_type): New.
330 (get_dynamic_type): Call it.
331 (get_machine_flags): Handle EF_C6000_REL.
332 (get_osabi_name): Handle machine-specific values only for relevant
333 machines. Handle C6X values.
334 (get_tic6x_segment_type): New.
335 (get_segment_type): Call it.
336 (get_tic6x_section_type_name): New.
337 (get_section_type_name): Call it.
338 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
339 EM_TI_C6000.
340
341 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
342
343 * doc/binutils.texi (readelf) <unwind information>: Mention support for
344 ARM unwind tables.
345
346 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
347
348 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
349
350 2010-03-17 Alan Modra <amodra@gmail.com>
351
352 * readelf.c (dump_arm_unwind): Warning fix.
353
354 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
355
356 * MAINTAINERS: Update my email address. List Tristan Gingold
357 as the release branch maintainer.
358
359 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
360
361 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
362
363 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
364
365 * NEWS: Document .ARM.exidx / .ARM.extab support.
366
367 * dwarf.c (read_leb128): Make non-static.
368 * dwarf.h (read_leb128): Declare.
369 * readelf.c (REMOVE_ARCH_BITS): Define.
370 (find_section_by_address): New.
371 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
372 (find_symbol_for_address): Handle the Thumb bit for ARM, by
373 using REMOVE_ARCH_BITS.
374 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
375 (arm_free_section, arm_section_get_word, decode_arm_unwind)
376 (dump_arm_unwind, arm_process_unwind): New.
377 (process_unwind): Handle ARM.
378
379 2010-02-26 Jie Zhang <jie@codesourcery.com>
380
381 * MAINTAINERS: Update my email address.
382
383 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
384
385 PR binutils/11298
386 * doc/binutils.texi (windmc): Fix synopsis and description of
387 ASCII options.
388
389 2010-02-19 Alan Modra <amodra@gmail.com>
390
391 * readelf.c (get_group_flags): Return empty string when flags zero.
392 Add space in other returned values.
393 (process_section_groups): Adjust format string.
394
395 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
396
397 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
398 newly permitted attribute values.
399 (arm_attr_tag_Virtualization_use): Likewise.
400 (arm_attr_tag_DIV_use): Add description of new attribute.
401 (arm_attr_tag_MPextension_use_legacy): Likewise.
402
403 2010-02-15 Nick Clifton <nickc@redhat.com>
404
405 * po/vi.po: Updated Vietnamese translation.
406
407 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
408
409 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
410 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
411
412 2010-02-08 Jim Blandy <jimb@red-bean.com>
413
414 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
415 'z' augmentation strings.
416
417 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
418
419 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
420 a new address, so as not to reuse a previous, non-related reloc.
421
422 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
423
424 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
425
426 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
427
428 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
429 sections.
430
431 2010-01-28 Nick Clifton <nickc@redhat.com>
432
433 PR 11225
434 * objdump.c (only): Replace with linked list.
435 (only_size, only_used): Replace with only_list.
436 (process_section_p): Set seen field on matches sections.
437 (add_only): New function.
438 (free_only_list): New function.
439 (disassemble_section): Check only_list.
440 (main): Use add_only and free_only_list.
441
442 2010-01-26 Tristan Gingold <gingold@adacore.com>
443
444 * Makefile.am (bin2c): Add libintl dependance and library.
445 * Makefile.in: Regenerate.
446
447 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
448
449 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
450
451 2010-01-19 Ian Lance Taylor <iant@google.com>
452
453 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
454 with non-ordinary files like /dev/null.
455
456 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
457 Alan Modra <amodra@gmail.com>
458
459 * readelf.c (process_file_header): Handle e_phnum extension.
460
461 2010-01-14 Tristan Gingold <gingold@adacore.com>
462
463 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
464 and DW_AT_GNAT_descriptive_type.
465
466 2010-01-13 Tristan Gingold <gingold@adacore.com>
467
468 * ar.c (main): Use lbasename.
469 (normalize): Ditto.
470 * objdump.c (update_source_path): Ditto.
471
472 2010-01-12 Tristan Gingold <gingold@adacore.com>
473
474 * makefile.vms (CFLAGS): Turns warnings into informational messages.
475
476 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
477
478 PR ld/11146
479 * NEWS: Mention --dyn-syms for readelf.
480
481 * readelf.c (do_dyn_syms): New.
482 (OPTION_DYN_SYMS): Likewise.
483 (options): Add "dyn-syms".
484 (usage): Add --dyn-syms.
485 (parse_args): Handle OPTION_DYN_SYMS.
486 (process_symbol_table): Handle do_dyn_syms.
487 (process_object): Likewise.
488 (process_archive): Likewise.
489
490 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
491 symbol hash tables for -D.
492
493 2010-01-11 Nick Clifton <nickc@redhat.com>
494
495 * NEWS: Mention addition of elfedit.
496
497 * po/fi.po: Updated Finnish translation.
498
499 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
500
501 * Makefile.in: Regenerate.
502 * configure: Regenerate.
503 * doc/Makefile.in: Regenerate.
504
505 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
506
507 * version.c (print_version): Change to "Copyright 2010".
508
509 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
510
511 * elfedit.c (input_elf_type): New.
512 (output_elf_type): Likewise.
513 (elf_type): Likewise.
514 (update_elf_header): Support updating ELF file type.
515 (command_line_switch): Add OPTION_INPUT_TYPE and
516 OPTION_OUTPUT_TYPE.
517 (options): Likewise.
518 (usage): Add --input-type and --output-type.
519 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
520 one of --output-mach and --output-type must be specified.
521
522 * doc/binutils.texi: Document --input-type and --output-type
523 for elfedit.
524
525 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
526
527 * doc/binutils.texi: Fix a typo.
528
529 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
530
531 * elfedit.c (update_elf_header): Don't change input_elf_class
532 nor input_elf_machine if they are -1.
533
534 2010-01-08 Tristan Gingold <gingold@adacore.com>
535
536 * ar.c: Remove bfd_special_undocumented_glue prototype.
537
538 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
539
540 * elfedit.c (update_elf_header): Reformat.
541
542 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
543
544 * readelf.c (usage): Fix indent for --symbols.
545
546 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
547
548 * doc/binutils.texi: Replace -histogram with --histogram.
549
550 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
551
552 PR binutils/11131
553 * Makefile.am (ELFEDIT_PROG): New.
554 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
555 (CFILES): Add elfedit.c.
556 (elfedit_DEPENDENCIES): New.
557 (elfedit_SOURCES): Likewise.
558 (elfedit_LDADD): Likewise.
559 * Makefile.in: Regenerated.
560
561 * elfedit.c: New.
562
563 * doc/binutils.texi: Document elfedit.
564
565 * doc/Makefile.am (man_MANS): Add elfedit.1.
566 (elfedit.1): New.
567 * doc/Makefile.in: Regenerated.
568
569 2010-01-06 Tristan Gingold <gingold@adacore.com>
570
571 * nm.c (usage): Remove extra blanks.
572
573 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
574
575 * objcopy.c: Update copyright.
576 * readelf.c: Likewise.
577
578 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
579
580 PR binutils/11130
581 * objcopy.c (copy_object): Remove "Warning: " from error
582 message.
583
584 2010-01-04 Nick Clifton <nickc@redhat.com>
585
586 PR 11128
587 * readelf.c (dump_section_as_strings): Use two separate
588 invocations of printf() in order to work around bugs in
589 the Solaris 8 implementation.
590
591 2010-01-04 Nick Clifton <nickc@redhat.com>
592
593 * po/ru.po: Updated Russian translation.
594
595 For older changes see ChangeLog-2009
596 \f
597 Local Variables:
598 mode: change-log
599 left-margin: 8
600 fill-column: 74
601 version-control: never
602 End:
This page took 0.042349 seconds and 5 git commands to generate.