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