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