Add and use elfcomm.c/elfcomm.h.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/12235
4 * elfcomm.c: New.
5 * elfcomm.h: Likewise.
6
7 * Makefile.am (HFILES): Add elfcomm.h.
8 (CFILES): Add elfcomm.c.
9 (ELFLIBS): New.
10 (readelf_SOURCES): Add $(ELFLIBS).
11 (elfedit_SOURCES): Likewise.
12 (objdump_SOURCES): Likewise.
13 * Makefile.in: Regenerated.
14
15 * dwarf.c: Include "elfcomm.h".
16 (byte_get): Removed.
17 (byte_get_little_endian): Likewise.
18 (byte_get_big_endian): Likewise.
19 (byte_get_signed): Likewise.
20 (error): Likewise.
21 (warn): Likewise.
22
23 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
24 (dwarf_size_type): Likewise.
25 (byte_get): Removed.
26 (byte_get_signed): Likewise.
27 (byte_get_little_endian): Likewise.
28 (byte_get_big_endian): Likewise.
29 (error): Likewise.
30 (warn): Likewise.
31
32 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
33 Call error () instead of non_fatal ().
34 (streq): Removed.
35 (strneq): Likewise.
36 (const_strneq): Likewise.
37 (non_fatal): Likewise.
38 (BYTE_GET): Likewise.
39 (BYTE_PUT): Likewise.
40 (byte_get): Likewise.
41 (byte_put): Likewise.
42 (byte_get_little_endian): Likewise.
43 (byte_get_big_endian): Likewise.
44 (byte_put_little_endian): Likewise.
45 (byte_put_big_endian): Likewise.
46 (adjust_relative_path): Likewise.
47 (archive_info): Likewise.
48 (setup_archive): Likewise.
49 (release_archive): Likewise.
50 (setup_nested_archive): Likewise.
51 (get_archive_member_name): Likewise.
52 (get_archive_member_name_at): Likewise.
53 (make_qualified_name): Likewise.
54
55 * objdump.c: Include "elfcomm.h".
56
57 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
58 (BYTE_GET): Removed.
59 (BYTE_GET_SIGNED): Removed.
60 (streq): Likewise.
61 (strneq): Likewise.
62 (const_strneq): Likewise.
63 (byte_put): Likewise.
64 (byte_put_little_endian): Likewise.
65 (byte_put_big_endian): Likewise.
66 (adjust_relative_path): Likewise.
67 (archive_info): Likewise.
68 (setup_archive): Likewise.
69 (release_archive): Likewise.
70 (setup_nested_archive): Likewise.
71 (get_archive_member_name): Likewise.
72 (get_archive_member_name_at): Likewise.
73 (make_qualified_name): Likewise.
74
75 2010-11-18 Alan Modra <amodra@gmail.com>
76
77 PR binutils/11742
78 * readelf.c (get_archive_member_name): Formatting. Properly
79 handle full size ar_name.
80
81 2010-11-17 Alan Modra <amodra@gmail.com>
82
83 * ar.c (print_contents): Don't internationalize strings without words.
84 * dwarf.c (process_extended_line_op): Likewise.
85 (process_debug_info): Likwise.
86 (display_debug_lines_raw): Likewise.
87 (display_debug_lines_decoded): Likewise.
88 (display_debug_abbrev): Likewise.
89 * readelf.c (process_file_header): Likewise.
90 (GET_OP): Likewise.
91 (decode_arm_unwind): Likewise.
92 (process_mips_specific): Likewise.
93 * resrc.c (run_cmd): Likewise.
94 (rcparse_warning): Likewise.
95 * objdump.c (dump_headers): Don't print "Pg".
96
97 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
98
99 * windmc.c: ,%s' -> `%s' in a number of strings.
100
101 2010-11-16 Jie Zhang <jie.zhang@analog.com>
102
103 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
104
105 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
106
107 * readelf.c (get_machine_flags): Add loongson-3a.
108
109 2010-11-10 Nick Clifton <nickc@redhat.com>
110
111 * po/ja.po: Updated Japanese translation.
112 * po/fr.po: Updated French translation.
113
114 2010-11-08 Nick Clifton <nickc@redhat.com>
115
116 * po/ja.po: Updated Japanese translation.
117
118 2010-11-08 Alan Modra <amodra@gmail.com>
119
120 * objcopy.c (copy_main): No need to rename sections when compressing
121 or decompressing.
122
123 2010-11-05 Alan Modra <amodra@gmail.com>
124
125 * bin2c.c: Remove internationalization and version report.
126 * Makefile.am: Update bin2c rule.
127 * Makefile.in: Regenerate.
128
129 2010-11-05 Tristan Gingold <gingold@adacore.com>
130
131 * po/binutils.pot: Regenerate
132
133 2010-11-05 Tristan Gingold <gingold@adacore.com>
134
135 * NEWS: Add marker for 2.21.
136
137 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
138
139 * objdump.c (dump_bfd_header): Don't display
140 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
141
142 2010-11-02 Joseph Myers <joseph@codesourcery.com>
143
144 * readelf.c (display_tic6x_attribute): Handle more attributes.
145
146 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
147
148 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
149 directives.
150
151 2010-10-29 Joseph Myers <joseph@codesourcery.com>
152
153 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
154 not hardcoded 32. Display name of this attribute.
155
156 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
157
158 * addr2line.c (process_file): Set BFD_DECOMPRESS.
159
160 * objcopy.c (do_debug_sections): New.
161 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
162 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
163 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
164 OPTION_DECOMPRESS_DEBUG_SECTIONS.
165 (copy_usage): Add --compress-debug-sections and
166 --decompress-debug-sections.
167 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
168 (copy_section): Replace bfd_get_section_contents with
169 bfd_get_full_section_contents.
170 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
171 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
172 rename DWARF debug sections.
173
174 * objdump.c (load_specific_debug_section): Replace
175 bfd_get_section_contents with bfd_get_full_section_contents.
176 Remove bfd_uncompress_section_contents.
177 (dump_section): Replace bfd_get_section_contents with
178 bfd_get_full_section_contents.
179 (display_file): Set BFD_DECOMPRESS if needed.
180
181 * readelf.c (uncompress_section_contents): Set buffer to NULL
182 to indiate decompression failure.
183 (load_specific_debug_section): Always call
184 uncompress_section_contents.
185
186 * doc/binutils.texi: Document --compress-debug-sections and
187 --decompress-debug-sections.
188
189 2010-10-29 Nick Clifton <nickc@redhat.com>
190
191 PR binutils/12058
192 * ar.c (usage): Revert previous change. Describe how 's' can be
193 used as a command letter.
194 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
195 a command letter.
196
197 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
198 Joseph Myers <joseph@codesourcery.com>
199
200 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
201
202 2010-10-28 Nick Clifton <nickc@redhat.com>
203
204 PR binutils/12058
205 * ar.c (usage): Remove spurious 's' from list of accepted command
206 letters.
207
208 2010-10-28 Alan Modra <amodra@gmail.com>
209
210 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
211 (is_32bit_pcrel_reloc): Support microblaze.
212
213 2010-10-26 Nick Clifton <nickc@redhat.com>
214
215 * po/ja.po: Updated Japanese transaltion.
216
217 2010-10-21 Joseph Myers <joseph@codesourcery.com>
218
219 * readelf.c (display_tic6x_attribute): Update for attribute
220 renaming.
221
222 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
223
224 * dwarf.c (byte_get_signed): Make it extern.
225
226 * dwarf.h (byte_get_signed): New.
227
228 * readelf.c (BYTE_GET_SIGNED): New.
229 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
230 (dump_relocations): Properly dump r_addend.
231
232 2010-10-08 Joseph Myers <joseph@codesourcery.com>
233
234 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
235 (set_print_radix): Update for __MSVCRT__ definition of
236 value_format_64bit.
237
238 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
239
240 Fix build with -DDEBUG=7
241 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
242
243 2010-10-06 Alan Modra <amodra@gmail.com>
244
245 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
246
247 2010-10-05 Alan Modra <amodra@gmail.com>
248
249 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
250 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
251 (list_supported_targets): Tidy.
252 * objdump.c (free_only_list): Formatting.
253 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
254 object".
255 (update_source_path): Delete redundant check for NULL filename.
256 (disassemble_bytes): Error if disassemble_fn returns a value
257 that won't increment address.
258 (disassemble_data): Don't capitalize error message.
259 (read_section_stabs): Likewise.
260 (main): Return non-zero exit status on bad options.
261
262 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
263
264 PR binutils/12088
265 * nm.c (plugin_target): New.
266 (main): Set plugin_target to "plugin" for --plugin.
267 (display_file): Pass plugin_target to bfd_openr if target
268 isn't set.
269
270 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
271
272 * configure: Regenerate.
273
274 2010-09-22 Mike Frysinger <vapier@gentoo.org>
275
276 * MAINTAINERS: Add self as ADI Blackfin maintainer.
277
278 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
279
280 * emul_aix.c (ar_emul_aix_append): Add a target argument
281 and ignore it if it is set.
282 (ar_emul_aix5_append): Likewise.
283 (ar_emul_aix_replace): Likewise.
284 (ar_emul_aix5_replace): Likewise.
285
286 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
287
288 * ar.c (plugin_target): New.
289 (main): Set plugin_target to "plugin" for --plugin.
290 (open_inarch): Initialize target to plugin_target.
291 (replace_members): Pass plugin_target to ar_emul_replace
292 and ar_emul_append.
293
294 * binemul.h (ar_emul_append): Add a target argument.
295 (ar_emul_default_append): Likewise.
296 (ar_emul_replace): Likewise.
297 (ar_emul_default_replace): Likewise.
298 (bin_emulation_xfer_struct): Add a target argument to
299 ar_append and ar_replace.
300
301 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
302 (do_ar_emul_default_append): Likewise.
303 (ar_emul_default_append): Likewise.
304 (ar_emul_replace): Likewise.
305 (ar_emul_default_replace): Likewise.
306
307 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
308
309 * objcopy.c: Add --interleave-width option to allow interleaving
310 of more than one byte at a time.
311 (copy_width): New variable.
312 (copy_options): Add --interleave-width.
313 (copy_section): When interleaving copy in units of copy_width
314 bytes.
315 (copy_main): Parse the new option.
316 * doc/binutils: Document the new option.
317 * NEWS: Mention the new feature.
318
319 2010-09-09 Jakub Jelinek <jakub@redhat.com>
320
321 * dwarf.c (decode_location_expression): Fix data adjustment
322 for DW_OP_GNU_implicit_pointer in v3+.
323
324 2010-09-09 Tristan Gingold <gingold@adacore.com>
325
326 * NEWS: Add entry to NEWS for hppa/som.
327
328 2010-09-09 Jakub Jelinek <jakub@redhat.com>
329
330 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
331 * dwarf.c (decode_location_expression): Add offset_size and
332 dwarf_version arguments. Prefix DIE offset with 0x for
333 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
334 complain if in frame info section. Handle
335 DW_OP_GNU_implicit_pointer.
336 (read_and_display_attr_value, display_debug_loc,
337 display_debug_frames): Adjust decode_location_expression callers.
338 (process_debug_info): Save offset_size and dwarf_version values
339 into debug_information array.
340
341 2010-09-07 Nick Clifton <nickc@redhat.com>
342
343 * readelf.c (process_section_headers): Mention meaning of 'l'
344 section flag for x86-64 targets.
345
346 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
347 Jakub Jelinek <jakub@redhat.com>
348
349 * dwarf.c (regname): New declaration.
350 (decode_location_expression): Print for registers also regname output.
351
352 2010-09-02 Richard Henderson <rth@redhat.com>
353
354 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
355 (init_dwarf_regnames): Use them.
356 * dwarf.h: Declare them.
357 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
358 the regnames, rather than using elf_machine_code.
359
360 2010-09-02 Richard Henderson <rth@redhat.com>
361
362 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
363
364 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
365
366 * elfedit.c (input_elf_osabi): New.
367 (output_elf_osbi): Likewise.
368 (osabis): Likewise.
369 (elf_osabi): Likewise.
370 (update_elf_header): Support updating ELF OSABI.
371 (make_qualified_name): Break long line.
372 (command_line_switch): Add OPTION_INPUT_OSABI and
373 OPTION_OUTPUT_OSABI.
374 (options): Likewise.
375 (usage): Add --input-osabi and --output-osabi.
376 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
377
378 * doc/binutils.texi: Document --input-osabi and --output-osabi
379 for elfedit.
380
381 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
382
383 * readelf.c (display_mips_gnu_attribute): Replace GCC options
384 with a textual description of a MIPS32r2 64-bit FPU.
385
386 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
387
388 PR binutils/11889
389 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
390 sh_entsize.
391 (get_64bit_elf_symbols): Likewise.
392 (process_symbol_table): Likewise.
393 (process_section_groups): Check for corrupt headers.
394 (process_version_sections): Check for corrupt indicies.
395 (process_corefile_note_segment): Likewise.
396
397 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
398
399 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
400 variants.
401
402 2010-08-13 Tom Tromey <tromey@redhat.com>
403
404 * dwarf.c (process_debug_info): Don't subtract section address
405 when calculating location of cu abbrev within section.
406
407 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
408
409 PR binutils/11742
410 * readelf.c (get_archive_member_name): Do not read beyond the end
411 of the ar_name field.
412
413 2010-08-03 Tristan Gingold <gingold@adacore.com>
414
415 * dwarf.c (display_debug_lines): Mark file argument unused.
416 Do not try to load .debug_info section.
417
418 2010-08-02 Alan Modra <amodra@gmail.com>
419
420 * readelf.c (apply_relocations): D30V is really REL.
421
422 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
423 Ina Pandit <ina.pandit@kpitcummins.com>
424
425 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
426
427 2010-07-22 Alan Modra <amodra@gmail.com>
428
429 * readelf.c: Add Moxie support.
430
431 2010-07-20 Alan Modra <amodra@gmail.com>
432
433 * readelf.c (process_program_headers): Don't ignore all zero size
434 sections.
435
436 2010-07-19 Andreas Schwab <schwab@redhat.com>
437
438 * readelf.c (process_section_headers): Update key to flags.
439
440 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
441
442 * objcopy.c (copy_usage): Tweak previous typofix.
443
444 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
445
446 * objcopy.c (copy_usage): Fix a typo.
447
448 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
449
450 * dllwrap.c (main): Make sure is_leading_underscore
451 gets initialized with correct default.
452
453 2010-07-05 Alan Modra <amodra@gmail.com>
454
455 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
456
457 2010-07-03 Cary Coutant <ccoutant@google.com>
458
459 * objdump.c (load_specific_debug_section): Decompress section contents
460 before applying relocations.
461 * readelf.c (load_specific_debug_section): Update section size after
462 decompression.
463
464 2010-06-29 Alan Modra <amodra@gmail.com>
465
466 PR binutils/3166
467 * objcopy.c (is_strip_section): Revert 2006-09-05.
468 (setup_section): Make SHT_GROUP section nobits.
469
470 2010-06-29 Alan Modra <amodra@gmail.com>
471
472 * configure: Regenerate.
473 * po/POTFILES.in: Regenerate.
474
475 2010-06-27 Alan Modra <amodra@gmail.com>
476
477 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
478
479 2010-06-17 Nick Clifton <nickc@redhat.com>
480
481 PR binutils/11711
482 * windres.c (enum option_values): New enum.
483 (long_options): Use separate option number for --include-dir
484 option.
485 (main): Separate backwards compatibility check from code to
486 implement --include-dir. Check to see if directory exists and do
487 not complain if it does.
488
489 2010-06-15 Joseph Myers <joseph@codesourcery.com>
490
491 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
492 New.
493 (process_arch_specific): Call process_tic6x_specific for
494 EM_TI_C6000.
495
496 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
497
498 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
499 for 0x%lx.
500
501 2010-06-11 Tristan Gingold <gingold@adacore.com>
502 Doug Rupp <rupp@gnat.com>
503
504 * readelf.c (is_ia64_vms): New function.
505 (dump_relocations): Use it.
506 (get_machine_flags): Display IA-64 OpenVMS flags.
507 (process_program_headers): No error on OpenVMS if no .dynamic section.
508 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
509 declarations.
510 (dump_ia64_vms_dynamic_fixups): New function.
511 (dump_ia64_vms_dynamic_relocs): Ditto.
512 (process_ia64_vms_dynamic_relocs): Ditto.
513 (process_relocs): Handle IA-64 OpenVMS relocs.
514 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
515 (print_vms_time): New function.
516 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
517 DT_IA_64_VMS_LNKFLAGS.
518 (get_ia64_symbol_other): New function.
519 (get_symbol_other): Handle EM_IA_64.
520
521 2010-06-11 Tristan Gingold <gingold@adacore.com>
522
523 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
524 (UNW_DEC_ABI): Ditto for abiname.
525 (unw_decode_table): Make it const.
526
527 2010-06-10 Tristan Gingold <gingold@adacore.com>
528
529 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
530 not inplace.
531
532 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
533 Joseph Myers <joseph@codesourcery.com>
534 Andrew Stubbs <ams@codesourcery.com>
535
536 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
537
538 2010-05-25 Jay Krell <jay.krell@cornell.edu>
539
540 PR ld/11621
541 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
542 * Makefile.in: Regenerate.
543
544 2010-05-24 Tristan Gingold <gingold@adacore.com>
545
546 * readelf.c (usage): Add new trace sections for --debug-dump.
547 (process_section_headers): Handle dump of trace sections.
548 * objdump.c (usage): Add new trace sections for --dwarf.
549 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
550 (do_trace_aranges): Ditto.
551 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
552 and trace_aranges literals.
553 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
554 (do_trace_aranges): Ditto.
555 (process_debug_info): Add abbrev_sec argument and replace
556 abbrev with abbrev_sec.
557 (load_debug_info): Adjust call of process_debug_info.
558 (display_debug_info): Ditto.
559 (display_trace_info): New function.
560 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
561 and trace_aranges sections name.
562 (dwarf_select_sections_all): Also select trace sections.
563 (debug_displays): Reindent. Add entries for the trace sections.
564 * doc/binutils.texi (readelf): Document new --dwarf parameters.
565 (objdump): Ditto.
566
567 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
568
569 PR gas/11600
570 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
571 generic flag.
572
573 2010-05-07 Tristan Gingold <gingold@adacore.com>
574
575 * Makefile.in: Regenerate with automake 1.11.1.
576 * aclocal.m4: Ditto.
577 * doc/Makefile.in: Ditto.
578
579 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
580
581 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
582 * readelf.c (get_elf_section_flags): Likewise.
583 (process_section_headers): Likewise.
584
585 2010-05-05 Nick Clifton <nickc@redhat.com>
586
587 * po/es.po: Updated Spanish translation.
588
589 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
590
591 * dlltool.c (main): Query for bfd's underscoring default for
592 default target case.
593
594 2010-04-27 Nick Clifton <nickc@redhat.com>
595
596 * po/ru.po: Updated Russian translation.
597
598 2010-04-23 Alan Modra <amodra@gmail.com>
599
600 * readelf.c (process_program_headers): Replace use of
601 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
602
603 2010-04-22 Nick Clifton <nickc@redhat.com>
604
605 * po/binutils.pot: Updated by the Translation project.
606 * po/fi.po: Updated Finnish translation.
607 * po/vi.po: Updated Vietnamese translation.
608 * po/bg.po: New Bulgarian translation.
609 * configure.in (ALL_LINGUAS): Add bg.
610 * configure: Regenerate.
611
612 2010-04-20 Nick Clifton <nickc@redhat.com>
613
614 * po/fr.po: Updated french translation.
615
616 2010-04-20 Nick Clifton <nickc@redhat.com>
617
618 * readelf.c: Add _() macros to constant strings that are
619 translatable.
620
621 * readelf.c (display_mips_gnu_attribute): Replace GCC options
622 with a textual description of single and double precision float.
623
624 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
625
626 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
627 (arm_attr_tag_ABI_align8_needed): Remove.
628 (arm_attr_tag_ABI_align8_preserved): Remove.
629 (arm_attr_tag_ABI_HardFP_use): Update text strings.
630 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
631 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
632
633 2010-04-13 Nick Clifton <nickc@redhat.com>
634
635 PR binutils/11419
636 * dwarf.c (process_debug_info): Initialise the signature array.
637
638 2010-04-09 Nick Clifton <nickc@redhat.com>
639
640 * dwarf.c (process_debug_info): Remove unused variable
641 cu_abbrev_offset_ptr.
642 (display_debug_lines_decoded): Remove unused variable prev_line.
643 * elfedit.c (process_archive): Remove unused variable
644 file_name_size.
645 * ieee.c (ieee_start_compilation_unit): Remove unused variable
646 nindx.
647 (ieee_set_type): Remove unused variables info, targetindx and
648 baseindx.
649 * objdump.c (disassmble_byte): Remove unused variable done_dot.
650 * rddbg.c (read_section_stabs_debugging_info): Remove unused
651 variable other.
652 * readelf.c (dump_section_as_strings): Remove unused variable
653 addr.
654 (process_archive): Remove unused variable file_name_size.
655 * stabs.c (parse_stab_string): Mark desc parameter as unused.
656 Remove unused variable lineno.
657 (parse_stab_struct_type): Remove unused variable orig.
658 (stab_demangle_type): Remove unused variables constp, volatilep
659 and hold.
660
661 2010-04-07 Alan Modra <amodra@gmail.com>
662
663 * configure: Regenerate.
664
665 2010-04-06 Nick Clifton <nickc@redhat.com>
666
667 * po/vi.po: Updated Vietnamese translation.
668
669 2010-04-05 Jakub Jelinek <jakub@redhat.com>
670
671 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
672 fields.
673 (display_debug_frames): Handle CIE version 4.
674
675 * dwarf.c (struct State_Machine_Registers): Add op_index field,
676 change end_sequence type to unsigned char.
677 (reset_state_machine): Clear op_index.
678 (process_extended_line_op): For DW_LNE_set_address clear op_index.
679 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
680 Track op_index state machine register and print it if
681 li_max_ops_per_insn is != 1.
682 (display_debug_lines_decoded): Likewise.
683
684 2010-04-01 Jakub Jelinek <jakub@redhat.com>
685
686 * dwarf.c (read_and_display_attr_value): Don't reject
687 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
688 and DW_FORM_exprloc.
689 (process_debug_info): Handle cu_version == 4.
690 (display_debug_lines_raw, display_debug_lines_decoded): Handle
691 li_version == 4.
692
693 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
694
695 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
696 * Makefile.in: Regenerate.
697
698 2010-03-25 Joseph Myers <joseph@codesourcery.com>
699
700 * MAINTAINERS: Add self as TI C6X maintainer.
701 * NEWS: Add news entry for TI C6X support.
702 * readelf.c: Include elf/tic6x.h.
703 (guess_is_rela): Handle EM_TI_C6000.
704 (dump_relocations): Likewise.
705 (get_tic6x_dynamic_type): New.
706 (get_dynamic_type): Call it.
707 (get_machine_flags): Handle EF_C6000_REL.
708 (get_osabi_name): Handle machine-specific values only for relevant
709 machines. Handle C6X values.
710 (get_tic6x_segment_type): New.
711 (get_segment_type): Call it.
712 (get_tic6x_section_type_name): New.
713 (get_section_type_name): Call it.
714 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
715 EM_TI_C6000.
716
717 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
718
719 * doc/binutils.texi (readelf) <unwind information>: Mention support for
720 ARM unwind tables.
721
722 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
723
724 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
725
726 2010-03-17 Alan Modra <amodra@gmail.com>
727
728 * readelf.c (dump_arm_unwind): Warning fix.
729
730 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
731
732 * MAINTAINERS: Update my email address. List Tristan Gingold
733 as the release branch maintainer.
734
735 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
736
737 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
738
739 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
740
741 * NEWS: Document .ARM.exidx / .ARM.extab support.
742
743 * dwarf.c (read_leb128): Make non-static.
744 * dwarf.h (read_leb128): Declare.
745 * readelf.c (REMOVE_ARCH_BITS): Define.
746 (find_section_by_address): New.
747 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
748 (find_symbol_for_address): Handle the Thumb bit for ARM, by
749 using REMOVE_ARCH_BITS.
750 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
751 (arm_free_section, arm_section_get_word, decode_arm_unwind)
752 (dump_arm_unwind, arm_process_unwind): New.
753 (process_unwind): Handle ARM.
754
755 2010-02-26 Jie Zhang <jie@codesourcery.com>
756
757 * MAINTAINERS: Update my email address.
758
759 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
760
761 PR binutils/11298
762 * doc/binutils.texi (windmc): Fix synopsis and description of
763 ASCII options.
764
765 2010-02-19 Alan Modra <amodra@gmail.com>
766
767 * readelf.c (get_group_flags): Return empty string when flags zero.
768 Add space in other returned values.
769 (process_section_groups): Adjust format string.
770
771 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
772
773 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
774 newly permitted attribute values.
775 (arm_attr_tag_Virtualization_use): Likewise.
776 (arm_attr_tag_DIV_use): Add description of new attribute.
777 (arm_attr_tag_MPextension_use_legacy): Likewise.
778
779 2010-02-15 Nick Clifton <nickc@redhat.com>
780
781 * po/vi.po: Updated Vietnamese translation.
782
783 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
784
785 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
786 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
787
788 2010-02-08 Jim Blandy <jimb@red-bean.com>
789
790 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
791 'z' augmentation strings.
792
793 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
794
795 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
796 a new address, so as not to reuse a previous, non-related reloc.
797
798 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
799
800 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
801
802 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
803
804 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
805 sections.
806
807 2010-01-28 Nick Clifton <nickc@redhat.com>
808
809 PR 11225
810 * objdump.c (only): Replace with linked list.
811 (only_size, only_used): Replace with only_list.
812 (process_section_p): Set seen field on matches sections.
813 (add_only): New function.
814 (free_only_list): New function.
815 (disassemble_section): Check only_list.
816 (main): Use add_only and free_only_list.
817
818 2010-01-26 Tristan Gingold <gingold@adacore.com>
819
820 * Makefile.am (bin2c): Add libintl dependance and library.
821 * Makefile.in: Regenerate.
822
823 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
824
825 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
826
827 2010-01-19 Ian Lance Taylor <iant@google.com>
828
829 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
830 with non-ordinary files like /dev/null.
831
832 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
833 Alan Modra <amodra@gmail.com>
834
835 * readelf.c (process_file_header): Handle e_phnum extension.
836
837 2010-01-14 Tristan Gingold <gingold@adacore.com>
838
839 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
840 and DW_AT_GNAT_descriptive_type.
841
842 2010-01-13 Tristan Gingold <gingold@adacore.com>
843
844 * ar.c (main): Use lbasename.
845 (normalize): Ditto.
846 * objdump.c (update_source_path): Ditto.
847
848 2010-01-12 Tristan Gingold <gingold@adacore.com>
849
850 * makefile.vms (CFLAGS): Turns warnings into informational messages.
851
852 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
853
854 PR ld/11146
855 * NEWS: Mention --dyn-syms for readelf.
856
857 * readelf.c (do_dyn_syms): New.
858 (OPTION_DYN_SYMS): Likewise.
859 (options): Add "dyn-syms".
860 (usage): Add --dyn-syms.
861 (parse_args): Handle OPTION_DYN_SYMS.
862 (process_symbol_table): Handle do_dyn_syms.
863 (process_object): Likewise.
864 (process_archive): Likewise.
865
866 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
867 symbol hash tables for -D.
868
869 2010-01-11 Nick Clifton <nickc@redhat.com>
870
871 * NEWS: Mention addition of elfedit.
872
873 * po/fi.po: Updated Finnish translation.
874
875 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
876
877 * Makefile.in: Regenerate.
878 * configure: Regenerate.
879 * doc/Makefile.in: Regenerate.
880
881 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
882
883 * version.c (print_version): Change to "Copyright 2010".
884
885 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
886
887 * elfedit.c (input_elf_type): New.
888 (output_elf_type): Likewise.
889 (elf_type): Likewise.
890 (update_elf_header): Support updating ELF file type.
891 (command_line_switch): Add OPTION_INPUT_TYPE and
892 OPTION_OUTPUT_TYPE.
893 (options): Likewise.
894 (usage): Add --input-type and --output-type.
895 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
896 one of --output-mach and --output-type must be specified.
897
898 * doc/binutils.texi: Document --input-type and --output-type
899 for elfedit.
900
901 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
902
903 * doc/binutils.texi: Fix a typo.
904
905 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
906
907 * elfedit.c (update_elf_header): Don't change input_elf_class
908 nor input_elf_machine if they are -1.
909
910 2010-01-08 Tristan Gingold <gingold@adacore.com>
911
912 * ar.c: Remove bfd_special_undocumented_glue prototype.
913
914 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
915
916 * elfedit.c (update_elf_header): Reformat.
917
918 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
919
920 * readelf.c (usage): Fix indent for --symbols.
921
922 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
923
924 * doc/binutils.texi: Replace -histogram with --histogram.
925
926 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
927
928 PR binutils/11131
929 * Makefile.am (ELFEDIT_PROG): New.
930 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
931 (CFILES): Add elfedit.c.
932 (elfedit_DEPENDENCIES): New.
933 (elfedit_SOURCES): Likewise.
934 (elfedit_LDADD): Likewise.
935 * Makefile.in: Regenerated.
936
937 * elfedit.c: New.
938
939 * doc/binutils.texi: Document elfedit.
940
941 * doc/Makefile.am (man_MANS): Add elfedit.1.
942 (elfedit.1): New.
943 * doc/Makefile.in: Regenerated.
944
945 2010-01-06 Tristan Gingold <gingold@adacore.com>
946
947 * nm.c (usage): Remove extra blanks.
948
949 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
950
951 * objcopy.c: Update copyright.
952 * readelf.c: Likewise.
953
954 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
955
956 PR binutils/11130
957 * objcopy.c (copy_object): Remove "Warning: " from error
958 message.
959
960 2010-01-04 Nick Clifton <nickc@redhat.com>
961
962 PR 11128
963 * readelf.c (dump_section_as_strings): Use two separate
964 invocations of printf() in order to work around bugs in
965 the Solaris 8 implementation.
966
967 2010-01-04 Nick Clifton <nickc@redhat.com>
968
969 * po/ru.po: Updated Russian translation.
970
971 For older changes see ChangeLog-2009
972 \f
973 Local Variables:
974 mode: change-log
975 left-margin: 8
976 fill-column: 74
977 version-control: never
978 End:
This page took 0.055066 seconds and 4 git commands to generate.