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