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