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