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