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