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