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