* ar.c (long_options): Add target.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
1154c3ef
AM
12010-12-08 Arnaud Lacombe <lacombar@gmail.com>
2
90b79792
AM
3 * ar.c (long_options): Add target.
4 (decode_options): Handle the --target option.
5 (open_inarch): Check for plugin's target, default to --target
6 (replace_members): Use generic `target'.
7
4e407551
AM
8 * ar.c (operation): New global variable.
9 (show_version): Likewise.
10 (show_help): Likewise.
11 (long_options): Likewise.
12 (usage): Fix help string argument order.
13 (decode_options): New.
14 (ranlib_main): Use getopt_long.
15 (main): Use decode_options.
16
1154c3ef
AM
17 * ar.c (main): Split ranlib path.
18 (ranlib_usage): New
19 (ranlib_main): New
20
5bbdf3d5
DE
212010-12-03 Doug Evans <dje@google.com>
22
23 * dwarf.c: #include "bfd_stdint.h".
24 (do_gdb_index): New global.
25 (display_gdb_index): New function.
26 (dwarf_select_sections_by_names) Add "gdb_index".
27 (dwarf_select_sections_all): Set do_gdb_index.
28 (debug_displays): Add .gdb_index.
29 * dwarf.h (do_gdb_index): Declare.
30 * objdump.c (usage): Add gdb_index.
31 * readelf.c (usage): Add gdb_index.
32 (process_section_headers): Process ".gdb_index".
33 * doc/binutils.texi (readelf): Document gdb_index dump.
34 (objdump): Ditto.
35
04276a0c
KT
362010-12-01 Kai Tietz <kai.tietz@onevision.com>
37
38 PR binutils/11065
39 * dlltool.c (dll_name_set_by_exp_name): New variable.
40 (def_name): Allow setting of dll_name by .def file.
41 (def_library): Likewise.
42 (main): Set dll_name_set_by_exp_name, if dll_name is
43 set indirect by exp_name.
44
bad62cf5
AM
452010-11-26 Alan Modra <amodra@gmail.com>
46
47 * dwarf.c (decode_location_expression, display_debug_frames): Move
48 code handling DW_EH_PE_pcrel into..
49 (get_encoded_value): ..here.
50
a9a7adc0
AM
512010-11-26 Alan Modra <amodra@gmail.com>
52
53 * po/ja.po: Update.
54
1de34e0a
AM
552010-11-25 Alan Modra <amodra@gmail.com>
56
57 * po/bg.po: Update.
58 * po/es.po: Update.
59 * po/fi.po: Update.
60 * po/ja.po: Update.
61 * po/ru.po: Update.
62 * po/zh_CN.po: Update.
63
3284fe0c
L
642010-11-21 H.J. Lu <hongjiu.lu@intel.com>
65
66 PR binutils/12235
67 * elfcomm.c: New.
68 * elfcomm.h: Likewise.
69
70 * Makefile.am (HFILES): Add elfcomm.h.
71 (CFILES): Add elfcomm.c.
72 (ELFLIBS): New.
73 (readelf_SOURCES): Add $(ELFLIBS).
74 (elfedit_SOURCES): Likewise.
75 (objdump_SOURCES): Likewise.
76 * Makefile.in: Regenerated.
77
78 * dwarf.c: Include "elfcomm.h".
79 (byte_get): Removed.
80 (byte_get_little_endian): Likewise.
81 (byte_get_big_endian): Likewise.
82 (byte_get_signed): Likewise.
83 (error): Likewise.
84 (warn): Likewise.
85
86 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
87 (dwarf_size_type): Likewise.
88 (byte_get): Removed.
89 (byte_get_signed): Likewise.
90 (byte_get_little_endian): Likewise.
91 (byte_get_big_endian): Likewise.
92 (error): Likewise.
93 (warn): Likewise.
94
95 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
96 Call error () instead of non_fatal ().
97 (streq): Removed.
98 (strneq): Likewise.
99 (const_strneq): Likewise.
100 (non_fatal): Likewise.
101 (BYTE_GET): Likewise.
102 (BYTE_PUT): Likewise.
103 (byte_get): Likewise.
104 (byte_put): Likewise.
105 (byte_get_little_endian): Likewise.
106 (byte_get_big_endian): Likewise.
107 (byte_put_little_endian): Likewise.
108 (byte_put_big_endian): Likewise.
109 (adjust_relative_path): Likewise.
110 (archive_info): Likewise.
111 (setup_archive): Likewise.
112 (release_archive): Likewise.
113 (setup_nested_archive): Likewise.
114 (get_archive_member_name): Likewise.
115 (get_archive_member_name_at): Likewise.
116 (make_qualified_name): Likewise.
117
118 * objdump.c: Include "elfcomm.h".
119
120 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
121 (BYTE_GET): Removed.
122 (BYTE_GET_SIGNED): Removed.
123 (streq): Likewise.
124 (strneq): Likewise.
125 (const_strneq): Likewise.
126 (byte_put): Likewise.
127 (byte_put_little_endian): Likewise.
128 (byte_put_big_endian): Likewise.
129 (adjust_relative_path): Likewise.
130 (archive_info): Likewise.
131 (setup_archive): Likewise.
132 (release_archive): Likewise.
133 (setup_nested_archive): Likewise.
134 (get_archive_member_name): Likewise.
135 (get_archive_member_name_at): Likewise.
136 (make_qualified_name): Likewise.
137
3832723d
AM
1382010-11-18 Alan Modra <amodra@gmail.com>
139
140 PR binutils/11742
141 * readelf.c (get_archive_member_name): Formatting. Properly
142 handle full size ar_name.
143
cc5914eb
AM
1442010-11-17 Alan Modra <amodra@gmail.com>
145
146 * ar.c (print_contents): Don't internationalize strings without words.
147 * dwarf.c (process_extended_line_op): Likewise.
148 (process_debug_info): Likwise.
149 (display_debug_lines_raw): Likewise.
150 (display_debug_lines_decoded): Likewise.
151 (display_debug_abbrev): Likewise.
152 * readelf.c (process_file_header): Likewise.
153 (GET_OP): Likewise.
154 (decode_arm_unwind): Likewise.
155 (process_mips_specific): Likewise.
156 * resrc.c (run_cmd): Likewise.
157 (rcparse_warning): Likewise.
158 * objdump.c (dump_headers): Don't print "Pg".
159
426fb1a6
AM
1602010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
161
162 * windmc.c: ,%s' -> `%s' in a number of strings.
163
781303ce
MF
1642010-11-16 Jie Zhang <jie.zhang@analog.com>
165
166 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
167
fd503541
NC
1682010-11-11 Mingming Sun <mingm.sun@gmail.com>
169
170 * readelf.c (get_machine_flags): Add loongson-3a.
171
8e295ce0
NC
1722010-11-10 Nick Clifton <nickc@redhat.com>
173
174 * po/ja.po: Updated Japanese translation.
175 * po/fr.po: Updated French translation.
176
6548efc1
NC
1772010-11-08 Nick Clifton <nickc@redhat.com>
178
179 * po/ja.po: Updated Japanese translation.
180
4e011fb5
AM
1812010-11-08 Alan Modra <amodra@gmail.com>
182
183 * objcopy.c (copy_main): No need to rename sections when compressing
184 or decompressing.
185
7603b4ae
AM
1862010-11-05 Alan Modra <amodra@gmail.com>
187
188 * bin2c.c: Remove internationalization and version report.
189 * Makefile.am: Update bin2c rule.
190 * Makefile.in: Regenerate.
191
2ee0aedf
TG
1922010-11-05 Tristan Gingold <gingold@adacore.com>
193
194 * po/binutils.pot: Regenerate
195
44f45767
TG
1962010-11-05 Tristan Gingold <gingold@adacore.com>
197
198 * NEWS: Add marker for 2.21.
199
6b6bc957
L
2002010-11-02 H.J. Lu <hongjiu.lu@intel.com>
201
202 * objdump.c (dump_bfd_header): Don't display
203 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
204
87779176
JM
2052010-11-02 Joseph Myers <joseph@codesourcery.com>
206
207 * readelf.c (display_tic6x_attribute): Handle more attributes.
208
290c52bd
KT
2092010-10-30 Kai Tietz <kai.tietz@onevision.com>
210
211 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
212 directives.
213
3cbd1c06
JM
2142010-10-29 Joseph Myers <joseph@codesourcery.com>
215
216 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
217 not hardcoded 32. Display name of this attribute.
218
4a114e3e
L
2192010-10-29 H.J. Lu <hongjiu.lu@intel.com>
220
221 * addr2line.c (process_file): Set BFD_DECOMPRESS.
222
223 * objcopy.c (do_debug_sections): New.
224 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
225 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
226 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
227 OPTION_DECOMPRESS_DEBUG_SECTIONS.
228 (copy_usage): Add --compress-debug-sections and
229 --decompress-debug-sections.
230 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
231 (copy_section): Replace bfd_get_section_contents with
232 bfd_get_full_section_contents.
233 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
234 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
235 rename DWARF debug sections.
236
237 * objdump.c (load_specific_debug_section): Replace
6548efc1 238 bfd_get_section_contents with bfd_get_full_section_contents.
4a114e3e
L
239 Remove bfd_uncompress_section_contents.
240 (dump_section): Replace bfd_get_section_contents with
241 bfd_get_full_section_contents.
242 (display_file): Set BFD_DECOMPRESS if needed.
243
244 * readelf.c (uncompress_section_contents): Set buffer to NULL
245 to indiate decompression failure.
246 (load_specific_debug_section): Always call
247 uncompress_section_contents.
248
249 * doc/binutils.texi: Document --compress-debug-sections and
250 --decompress-debug-sections.
251
e58bcb8f
NC
2522010-10-29 Nick Clifton <nickc@redhat.com>
253
254 PR binutils/12058
255 * ar.c (usage): Revert previous change. Describe how 's' can be
256 used as a command letter.
257 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
258 a command letter.
259
b5593623
JM
2602010-10-29 Bernd Schmidt <bernds@codesourcery.com>
261 Joseph Myers <joseph@codesourcery.com>
262
263 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
264
3a728a9c
NC
2652010-10-28 Nick Clifton <nickc@redhat.com>
266
267 PR binutils/12058
268 * ar.c (usage): Remove spurious 's' from list of accepted command
269 letters.
270
137b6b5f
AM
2712010-10-28 Alan Modra <amodra@gmail.com>
272
273 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
274 (is_32bit_pcrel_reloc): Support microblaze.
275
a41df094
NC
2762010-10-26 Nick Clifton <nickc@redhat.com>
277
278 * po/ja.po: Updated Japanese transaltion.
279
75fa6dc1
JM
2802010-10-21 Joseph Myers <joseph@codesourcery.com>
281
282 * readelf.c (display_tic6x_attribute): Update for attribute
283 renaming.
284
598aaa76
L
2852010-10-08 H.J. Lu <hongjiu.lu@intel.com>
286
287 * dwarf.c (byte_get_signed): Make it extern.
288
289 * dwarf.h (byte_get_signed): New.
290
291 * readelf.c (BYTE_GET_SIGNED): New.
292 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
293 (dump_relocations): Properly dump r_addend.
294
a46d1146
JM
2952010-10-08 Joseph Myers <joseph@codesourcery.com>
296
297 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
298 (set_print_radix): Update for __MSVCRT__ definition of
299 value_format_64bit.
300
9ccb8af9
AM
3012010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
302
303 Fix build with -DDEBUG=7
304 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
305
8e085dd2
AM
3062010-10-06 Alan Modra <amodra@gmail.com>
307
308 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
309
a8c62f1c
AM
3102010-10-05 Alan Modra <amodra@gmail.com>
311
312 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
313 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
314 (list_supported_targets): Tidy.
315 * objdump.c (free_only_list): Formatting.
316 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
317 object".
318 (update_source_path): Delete redundant check for NULL filename.
319 (disassemble_bytes): Error if disassemble_fn returns a value
320 that won't increment address.
321 (disassemble_data): Don't capitalize error message.
322 (read_section_stabs): Likewise.
323 (main): Return non-zero exit status on bad options.
324
a4b8af35
L
3252010-10-03 H.J. Lu <hongjiu.lu@intel.com>
326
327 PR binutils/12088
328 * nm.c (plugin_target): New.
329 (main): Set plugin_target to "plugin" for --plugin.
330 (display_file): Pass plugin_target to bfd_openr if target
331 isn't set.
332
3cac54d2
RW
3332010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
334
335 * configure: Regenerate.
336
1c37c8ce
MF
3372010-09-22 Mike Frysinger <vapier@gentoo.org>
338
339 * MAINTAINERS: Add self as ADI Blackfin maintainer.
340
553c6717 3412010-09-17 H.J. Lu <hongjiu.lu@intel.com>
a2478677
L
342
343 * emul_aix.c (ar_emul_aix_append): Add a target argument
344 and ignore it if it is set.
345 (ar_emul_aix5_append): Likewise.
346 (ar_emul_aix_replace): Likewise.
347 (ar_emul_aix5_replace): Likewise.
348
492d5973
L
3492010-09-15 H.J. Lu <hongjiu.lu@intel.com>
350
351 * ar.c (plugin_target): New.
352 (main): Set plugin_target to "plugin" for --plugin.
353 (open_inarch): Initialize target to plugin_target.
354 (replace_members): Pass plugin_target to ar_emul_replace
355 and ar_emul_append.
356
357 * binemul.h (ar_emul_append): Add a target argument.
358 (ar_emul_default_append): Likewise.
359 (ar_emul_replace): Likewise.
360 (ar_emul_default_replace): Likewise.
361 (bin_emulation_xfer_struct): Add a target argument to
362 ar_append and ar_replace.
363
364 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
365 (do_ar_emul_default_append): Likewise.
366 (ar_emul_default_append): Likewise.
367 (ar_emul_replace): Likewise.
368 (ar_emul_default_replace): Likewise.
369
b7dd81f7
NC
3702010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
371
372 * objcopy.c: Add --interleave-width option to allow interleaving
373 of more than one byte at a time.
374 (copy_width): New variable.
375 (copy_options): Add --interleave-width.
376 (copy_section): When interleaving copy in units of copy_width
377 bytes.
378 (copy_main): Parse the new option.
379 * doc/binutils: Document the new option.
380 * NEWS: Mention the new feature.
381
8383c696
JJ
3822010-09-09 Jakub Jelinek <jakub@redhat.com>
383
384 * dwarf.c (decode_location_expression): Fix data adjustment
385 for DW_OP_GNU_implicit_pointer in v3+.
386
75875724
TG
3872010-09-09 Tristan Gingold <gingold@adacore.com>
388
389 * NEWS: Add entry to NEWS for hppa/som.
390
b7807392
JJ
3912010-09-09 Jakub Jelinek <jakub@redhat.com>
392
393 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
394 * dwarf.c (decode_location_expression): Add offset_size and
395 dwarf_version arguments. Prefix DIE offset with 0x for
396 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
397 complain if in frame info section. Handle
398 DW_OP_GNU_implicit_pointer.
399 (read_and_display_attr_value, display_debug_loc,
400 display_debug_frames): Adjust decode_location_expression callers.
401 (process_debug_info): Save offset_size and dwarf_version values
402 into debug_information array.
403
3dbcc61d
NC
4042010-09-07 Nick Clifton <nickc@redhat.com>
405
406 * readelf.c (process_section_headers): Mention meaning of 'l'
407 section flag for x86-64 targets.
408
18464d4d
JK
4092010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
410 Jakub Jelinek <jakub@redhat.com>
411
412 * dwarf.c (regname): New declaration.
413 (decode_location_expression): Print for registers also regname output.
414
b129eb0e
RH
4152010-09-02 Richard Henderson <rth@redhat.com>
416
417 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
418 (init_dwarf_regnames): Use them.
419 * dwarf.h: Declare them.
420 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
421 the regnames, rather than using elf_machine_code.
422
4232010-09-02 Richard Henderson <rth@redhat.com>
09fc85f6
RH
424
425 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
426
d0514c49
L
4272010-08-23 H.J. Lu <hongjiu.lu@intel.com>
428
429 * elfedit.c (input_elf_osabi): New.
430 (output_elf_osbi): Likewise.
431 (osabis): Likewise.
432 (elf_osabi): Likewise.
433 (update_elf_header): Support updating ELF OSABI.
434 (make_qualified_name): Break long line.
435 (command_line_switch): Add OPTION_INPUT_OSABI and
436 OPTION_OUTPUT_OSABI.
437 (options): Likewise.
438 (usage): Add --input-osabi and --output-osabi.
439 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
440
441 * doc/binutils.texi: Document --input-osabi and --output-osabi
442 for elfedit.
443
9eeefea8
MR
4442010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
445
446 * readelf.c (display_mips_gnu_attribute): Replace GCC options
447 with a textual description of a MIPS32r2 64-bit FPU.
448
dd24e3da
NC
4492010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
450
451 PR binutils/11889
452 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
453 sh_entsize.
454 (get_64bit_elf_symbols): Likewise.
455 (process_symbol_table): Likewise.
456 (process_section_groups): Check for corrupt headers.
457 (process_version_sections): Check for corrupt indicies.
458 (process_corefile_note_segment): Likewise.
459
f608cd77
NS
4602010-08-13 Nathan Sidwell <nathan@codesourcery.com>
461
462 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
463 variants.
464
0ac6fba0
AM
4652010-08-13 Tom Tromey <tromey@redhat.com>
466
467 * dwarf.c (process_debug_info): Don't subtract section address
468 when calculating location of cu abbrev within section.
469
2e49a6d0
NC
4702010-08-12 Michael Haubenwallner <haubi@gentoo.org>
471
472 PR binutils/11742
473 * readelf.c (get_archive_member_name): Do not read beyond the end
474 of the ar_name field.
475
1c4cc746
TG
4762010-08-03 Tristan Gingold <gingold@adacore.com>
477
478 * dwarf.c (display_debug_lines): Mark file argument unused.
479 Do not try to load .debug_info section.
480
c47320c3
AM
4812010-08-02 Alan Modra <amodra@gmail.com>
482
483 * readelf.c (apply_relocations): D30V is really REL.
484
1cd986c5
NC
4852010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
486 Ina Pandit <ina.pandit@kpitcummins.com>
487
488 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
489
5506d11a
AM
4902010-07-22 Alan Modra <amodra@gmail.com>
491
492 * readelf.c: Add Moxie support.
493
f4638467
AM
4942010-07-20 Alan Modra <amodra@gmail.com>
495
496 * readelf.c (process_program_headers): Don't ignore all zero size
497 sections.
498
1d0055ea
AS
4992010-07-19 Andreas Schwab <schwab@redhat.com>
500
501 * readelf.c (process_section_headers): Update key to flags.
502
447049af
DK
5032010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
504
505 * objcopy.c (copy_usage): Tweak previous typofix.
506
235f6e53
L
5072010-07-17 H.J. Lu <hongjiu.lu@intel.com>
508
509 * objcopy.c (copy_usage): Fix a typo.
510
f14ead0d
KT
5112010-07-15 Kai Tietz <kai.tietz@onevision.com>
512
513 * dllwrap.c (main): Make sure is_leading_underscore
514 gets initialized with correct default.
515
d3dbc530
AM
5162010-07-05 Alan Modra <amodra@gmail.com>
517
518 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
519
0acf065b
CC
5202010-07-03 Cary Coutant <ccoutant@google.com>
521
522 * objdump.c (load_specific_debug_section): Decompress section contents
523 before applying relocations.
524 * readelf.c (load_specific_debug_section): Update section size after
525 decompression.
526
6c67a030
AM
5272010-06-29 Alan Modra <amodra@gmail.com>
528
0ac6fba0 529 PR binutils/3166
6c67a030
AM
530 * objcopy.c (is_strip_section): Revert 2006-09-05.
531 (setup_section): Make SHT_GROUP section nobits.
532
360cfc9c
AM
5332010-06-29 Alan Modra <amodra@gmail.com>
534
535 * configure: Regenerate.
536 * po/POTFILES.in: Regenerate.
537
c7e2358a
AM
5382010-06-27 Alan Modra <amodra@gmail.com>
539
540 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
541
83bcb379
NC
5422010-06-17 Nick Clifton <nickc@redhat.com>
543
544 PR binutils/11711
545 * windres.c (enum option_values): New enum.
546 (long_options): Use separate option number for --include-dir
547 option.
548 (main): Separate backwards compatibility check from code to
549 implement --include-dir. Check to see if directory exists and do
550 not complain if it does.
551
59e6276b
JM
5522010-06-15 Joseph Myers <joseph@codesourcery.com>
553
554 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
555 New.
556 (process_arch_specific): Call process_tic6x_specific for
557 EM_TI_C6000.
558
7f01b0c6
L
5592010-06-11 H.J. Lu <hongjiu.lu@intel.com>
560
561 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
562 for 0x%lx.
563
28f997cf
TG
5642010-06-11 Tristan Gingold <gingold@adacore.com>
565 Doug Rupp <rupp@gnat.com>
566
567 * readelf.c (is_ia64_vms): New function.
568 (dump_relocations): Use it.
569 (get_machine_flags): Display IA-64 OpenVMS flags.
570 (process_program_headers): No error on OpenVMS if no .dynamic section.
571 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
572 declarations.
573 (dump_ia64_vms_dynamic_fixups): New function.
574 (dump_ia64_vms_dynamic_relocs): Ditto.
575 (process_ia64_vms_dynamic_relocs): Ditto.
576 (process_relocs): Handle IA-64 OpenVMS relocs.
577 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
578 (print_vms_time): New function.
579 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
580 DT_IA_64_VMS_LNKFLAGS.
581 (get_ia64_symbol_other): New function.
582 (get_symbol_other): Handle EM_IA_64.
583
9bcd0325
TG
5842010-06-11 Tristan Gingold <gingold@adacore.com>
585
586 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
587 (UNW_DEC_ABI): Ditto for abiname.
588 (unw_decode_table): Make it const.
589
e466bc6e
TG
5902010-06-10 Tristan Gingold <gingold@adacore.com>
591
592 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
593 not inplace.
594
8e45593f
NC
5952010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
596 Joseph Myers <joseph@codesourcery.com>
597 Andrew Stubbs <ams@codesourcery.com>
598
599 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
600
52a6ecd2
NC
6012010-05-25 Jay Krell <jay.krell@cornell.edu>
602
603 PR ld/11621
604 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
605 * Makefile.in: Regenerate.
606
6f875884
TG
6072010-05-24 Tristan Gingold <gingold@adacore.com>
608
609 * readelf.c (usage): Add new trace sections for --debug-dump.
610 (process_section_headers): Handle dump of trace sections.
611 * objdump.c (usage): Add new trace sections for --dwarf.
612 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
613 (do_trace_aranges): Ditto.
614 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
615 and trace_aranges literals.
616 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
617 (do_trace_aranges): Ditto.
618 (process_debug_info): Add abbrev_sec argument and replace
619 abbrev with abbrev_sec.
620 (load_debug_info): Adjust call of process_debug_info.
621 (display_debug_info): Ditto.
622 (display_trace_info): New function.
623 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
624 and trace_aranges sections name.
625 (dwarf_select_sections_all): Also select trace sections.
626 (debug_displays): Reindent. Add entries for the trace sections.
627 * doc/binutils.texi (readelf): Document new --dwarf parameters.
628 (objdump): Ditto.
629
18ae9cc1
L
6302010-05-18 H.J. Lu <hongjiu.lu@intel.com>
631
632 PR gas/11600
633 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
634 generic flag.
635
6540b386
TG
6362010-05-07 Tristan Gingold <gingold@adacore.com>
637
638 * Makefile.in: Regenerate with automake 1.11.1.
639 * aclocal.m4: Ditto.
640 * doc/Makefile.in: Ditto.
641
7f502d6c
L
6422010-05-06 H.J. Lu <hongjiu.lu@intel.com>
643
644 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
645 * readelf.c (get_elf_section_flags): Likewise.
646 (process_section_headers): Likewise.
647
3e01a7fd
NC
6482010-05-05 Nick Clifton <nickc@redhat.com>
649
650 * po/es.po: Updated Spanish translation.
651
1d2ca237
KT
6522010-04-27 Kai Tietz <kai.tietz@onevision.com>
653
654 * dlltool.c (main): Query for bfd's underscoring default for
655 default target case.
656
4ba3f034
NC
6572010-04-27 Nick Clifton <nickc@redhat.com>
658
659 * po/ru.po: Updated Russian translation.
660
9a83a553
AM
6612010-04-23 Alan Modra <amodra@gmail.com>
662
663 * readelf.c (process_program_headers): Replace use of
664 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
665
9c9c98a5
NC
6662010-04-22 Nick Clifton <nickc@redhat.com>
667
668 * po/binutils.pot: Updated by the Translation project.
669 * po/fi.po: Updated Finnish translation.
670 * po/vi.po: Updated Vietnamese translation.
671 * po/bg.po: New Bulgarian translation.
672 * configure.in (ALL_LINGUAS): Add bg.
673 * configure: Regenerate.
674
21b13a54
NC
6752010-04-20 Nick Clifton <nickc@redhat.com>
676
677 * po/fr.po: Updated french translation.
678
2b692964
NC
6792010-04-20 Nick Clifton <nickc@redhat.com>
680
681 * readelf.c: Add _() macros to constant strings that are
682 translatable.
683
0982e157
MR
684 * readelf.c (display_mips_gnu_attribute): Replace GCC options
685 with a textual description of single and double precision float.
686
75375b3e
MGD
6872010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
688
689 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
690 (arm_attr_tag_ABI_align8_needed): Remove.
691 (arm_attr_tag_ABI_align8_preserved): Remove.
692 (arm_attr_tag_ABI_HardFP_use): Update text strings.
693 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
694 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
695
1e70a64d
NC
6962010-04-13 Nick Clifton <nickc@redhat.com>
697
698 PR binutils/11419
699 * dwarf.c (process_debug_info): Initialise the signature array.
700
3d540e93
NC
7012010-04-09 Nick Clifton <nickc@redhat.com>
702
703 * dwarf.c (process_debug_info): Remove unused variable
704 cu_abbrev_offset_ptr.
705 (display_debug_lines_decoded): Remove unused variable prev_line.
706 * elfedit.c (process_archive): Remove unused variable
707 file_name_size.
708 * ieee.c (ieee_start_compilation_unit): Remove unused variable
709 nindx.
710 (ieee_set_type): Remove unused variables info, targetindx and
711 baseindx.
712 * objdump.c (disassmble_byte): Remove unused variable done_dot.
713 * rddbg.c (read_section_stabs_debugging_info): Remove unused
714 variable other.
715 * readelf.c (dump_section_as_strings): Remove unused variable
716 addr.
717 (process_archive): Remove unused variable file_name_size.
718 * stabs.c (parse_stab_string): Mark desc parameter as unused.
719 Remove unused variable lineno.
720 (parse_stab_struct_type): Remove unused variable orig.
721 (stab_demangle_type): Remove unused variables constp, volatilep
722 and hold.
723
397841b5
AM
7242010-04-07 Alan Modra <amodra@gmail.com>
725
726 * configure: Regenerate.
727
bd32c6bd
NC
7282010-04-06 Nick Clifton <nickc@redhat.com>
729
730 * po/vi.po: Updated Vietnamese translation.
731
a233b20c
JJ
7322010-04-05 Jakub Jelinek <jakub@redhat.com>
733
604282a7
JJ
734 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
735 fields.
736 (display_debug_frames): Handle CIE version 4.
737
a233b20c
JJ
738 * dwarf.c (struct State_Machine_Registers): Add op_index field,
739 change end_sequence type to unsigned char.
740 (reset_state_machine): Clear op_index.
741 (process_extended_line_op): For DW_LNE_set_address clear op_index.
742 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
743 Track op_index state machine register and print it if
744 li_max_ops_per_insn is != 1.
745 (display_debug_lines_decoded): Likewise.
746
932fd279
JJ
7472010-04-01 Jakub Jelinek <jakub@redhat.com>
748
749 * dwarf.c (read_and_display_attr_value): Don't reject
750 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
751 and DW_FORM_exprloc.
752 (process_debug_info): Handle cu_version == 4.
753 (display_debug_lines_raw, display_debug_lines_decoded): Handle
754 li_version == 4.
755
9f3d83dc
AS
7562010-03-30 Andreas Schwab <schwab@linux-m68k.org>
757
758 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
759 * Makefile.in: Regenerate.
760
40b36596
JM
7612010-03-25 Joseph Myers <joseph@codesourcery.com>
762
763 * MAINTAINERS: Add self as TI C6X maintainer.
764 * NEWS: Add news entry for TI C6X support.
765 * readelf.c: Include elf/tic6x.h.
766 (guess_is_rela): Handle EM_TI_C6000.
767 (dump_relocations): Likewise.
768 (get_tic6x_dynamic_type): New.
769 (get_dynamic_type): Call it.
770 (get_machine_flags): Handle EF_C6000_REL.
771 (get_osabi_name): Handle machine-specific values only for relevant
772 machines. Handle C6X values.
773 (get_tic6x_segment_type): New.
774 (get_segment_type): Call it.
775 (get_tic6x_section_type_name): New.
776 (get_section_type_name): Call it.
777 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
778 EM_TI_C6000.
779
ba7f2642
TS
7802010-03-25 Thomas Schwinge <thomas@codesourcery.com>
781
782 * doc/binutils.texi (readelf) <unwind information>: Mention support for
783 ARM unwind tables.
784
b115cf96
L
7852010-03-18 H.J. Lu <hongjiu.lu@intel.com>
786
787 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
788
8f73510c
AM
7892010-03-17 Alan Modra <amodra@gmail.com>
790
791 * readelf.c (dump_arm_unwind): Warning fix.
792
99164030
DJ
7932010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
794
795 * MAINTAINERS: Update my email address. List Tristan Gingold
796 as the release branch maintainer.
797
44ec90b9
RO
7982010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
799
800 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
801
0b6ae522
DJ
8022010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
803
804 * NEWS: Document .ARM.exidx / .ARM.extab support.
805
806 * dwarf.c (read_leb128): Make non-static.
807 * dwarf.h (read_leb128): Declare.
808 * readelf.c (REMOVE_ARCH_BITS): Define.
809 (find_section_by_address): New.
810 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
811 (find_symbol_for_address): Handle the Thumb bit for ARM, by
812 using REMOVE_ARCH_BITS.
813 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
814 (arm_free_section, arm_section_get_word, decode_arm_unwind)
815 (dump_arm_unwind, arm_process_unwind): New.
816 (process_unwind): Handle ARM.
817
92fc7b4f
JZ
8182010-02-26 Jie Zhang <jie@codesourcery.com>
819
820 * MAINTAINERS: Update my email address.
821
826fec2f
NC
8222010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
823
824 PR binutils/11298
825 * doc/binutils.texi (windmc): Fix synopsis and description of
826 ASCII options.
827
220453ec
AM
8282010-02-19 Alan Modra <amodra@gmail.com>
829
830 * readelf.c (get_group_flags): Return empty string when flags zero.
831 Add space in other returned values.
832 (process_section_groups): Adjust format string.
833
cd21e546
MGD
8342010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
835
836 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
837 newly permitted attribute values.
838 (arm_attr_tag_Virtualization_use): Likewise.
839 (arm_attr_tag_DIV_use): Add description of new attribute.
840 (arm_attr_tag_MPextension_use_legacy): Likewise.
841
ab7875de
NC
8422010-02-15 Nick Clifton <nickc@redhat.com>
843
844 * po/vi.po: Updated Vietnamese translation.
845
d7eeb400
MS
8462010-02-09 Michael Holzheu <holzheu@de.ibm.com>
847
848 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
849 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
850
d80e8de2
JB
8512010-02-08 Jim Blandy <jimb@red-bean.com>
852
853 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
854 'z' augmentation strings.
855
bb7c70ed
NC
8562010-02-08 Christophe Lyon <christophe.lyon@st.com>
857
858 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
859 a new address, so as not to reuse a previous, non-related reloc.
860
4339cae0
L
8612010-02-02 H.J. Lu <hongjiu.lu@intel.com>
862
863 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
864
0930eddd
NS
8652010-02-01 Nathan Sidwell <nathan@codesourcery.com>
866
867 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
868 sections.
869
70ecb384
NC
8702010-01-28 Nick Clifton <nickc@redhat.com>
871
872 PR 11225
873 * objdump.c (only): Replace with linked list.
874 (only_size, only_used): Replace with only_list.
875 (process_section_p): Set seen field on matches sections.
876 (add_only): New function.
877 (free_only_list): New function.
878 (disassemble_section): Check only_list.
879 (main): Use add_only and free_only_list.
880
571f7b5e
TG
8812010-01-26 Tristan Gingold <gingold@adacore.com>
882
883 * Makefile.am (bin2c): Add libintl dependance and library.
884 * Makefile.in: Regenerate.
885
55786da2 8862010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70ecb384 887
55786da2
AK
888 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
889
500ee42e
ILT
8902010-01-19 Ian Lance Taylor <iant@google.com>
891
892 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
893 with non-ordinary files like /dev/null.
894
2046a35d
AM
8952010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
896 Alan Modra <amodra@gmail.com>
897
0ac6fba0 898 * readelf.c (process_file_header): Handle e_phnum extension.
2046a35d 899
60a0e0e7
TG
9002010-01-14 Tristan Gingold <gingold@adacore.com>
901
902 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
903 and DW_AT_GNAT_descriptive_type.
904
fd3a6816
TG
9052010-01-13 Tristan Gingold <gingold@adacore.com>
906
907 * ar.c (main): Use lbasename.
908 (normalize): Ditto.
909 * objdump.c (update_source_path): Ditto.
910
6cdb8d82
TG
9112010-01-12 Tristan Gingold <gingold@adacore.com>
912
913 * makefile.vms (CFLAGS): Turns warnings into informational messages.
914
2c610e4b
L
9152010-01-11 H.J. Lu <hongjiu.lu@intel.com>
916
917 PR ld/11146
918 * NEWS: Mention --dyn-syms for readelf.
919
920 * readelf.c (do_dyn_syms): New.
2c610e4b
L
921 (OPTION_DYN_SYMS): Likewise.
922 (options): Add "dyn-syms".
923 (usage): Add --dyn-syms.
924 (parse_args): Handle OPTION_DYN_SYMS.
925 (process_symbol_table): Handle do_dyn_syms.
926 (process_object): Likewise.
927 (process_archive): Likewise.
928
929 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
930 symbol hash tables for -D.
931
20703056
NC
9322010-01-11 Nick Clifton <nickc@redhat.com>
933
d2420a8c
NC
934 * NEWS: Mention addition of elfedit.
935
20703056
NC
936 * po/fi.po: Updated Finnish translation.
937
3725885a
RW
9382010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
939
940 * Makefile.in: Regenerate.
941 * configure: Regenerate.
942 * doc/Makefile.in: Regenerate.
943
5256a5b0
L
9442010-01-08 H.J. Lu <hongjiu.lu@intel.com>
945
946 * version.c (print_version): Change to "Copyright 2010".
947
dd35de74
L
9482010-01-08 H.J. Lu <hongjiu.lu@intel.com>
949
950 * elfedit.c (input_elf_type): New.
951 (output_elf_type): Likewise.
952 (elf_type): Likewise.
953 (update_elf_header): Support updating ELF file type.
954 (command_line_switch): Add OPTION_INPUT_TYPE and
955 OPTION_OUTPUT_TYPE.
956 (options): Likewise.
957 (usage): Add --input-type and --output-type.
958 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
959 one of --output-mach and --output-type must be specified.
960
961 * doc/binutils.texi: Document --input-type and --output-type
962 for elfedit.
963
c7a795f8
L
9642010-01-08 H.J. Lu <hongjiu.lu@intel.com>
965
966 * doc/binutils.texi: Fix a typo.
967
2dc654c3
L
9682010-01-08 H.J. Lu <hongjiu.lu@intel.com>
969
970 * elfedit.c (update_elf_header): Don't change input_elf_class
971 nor input_elf_machine if they are -1.
972
2ad0e9f1
TG
9732010-01-08 Tristan Gingold <gingold@adacore.com>
974
975 * ar.c: Remove bfd_special_undocumented_glue prototype.
976
71a72a84
L
9772010-01-07 H.J. Lu <hongjiu.lu@intel.com>
978
979 * elfedit.c (update_elf_header): Reformat.
980
3f08eb35
L
9812010-01-07 H.J. Lu <hongjiu.lu@intel.com>
982
983 * readelf.c (usage): Fix indent for --symbols.
984
ed22650e
L
9852010-01-07 H.J. Lu <hongjiu.lu@intel.com>
986
987 * doc/binutils.texi: Replace -histogram with --histogram.
988
30fd33bb
L
9892010-01-06 H.J. Lu <hongjiu.lu@intel.com>
990
991 PR binutils/11131
992 * Makefile.am (ELFEDIT_PROG): New.
993 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
994 (CFILES): Add elfedit.c.
995 (elfedit_DEPENDENCIES): New.
996 (elfedit_SOURCES): Likewise.
997 (elfedit_LDADD): Likewise.
998 * Makefile.in: Regenerated.
999
1000 * elfedit.c: New.
1001
1002 * doc/binutils.texi: Document elfedit.
1003
1004 * doc/Makefile.am (man_MANS): Add elfedit.1.
1005 (elfedit.1): New.
1006 * doc/Makefile.in: Regenerated.
1007
d2ca6b5b
TG
10082010-01-06 Tristan Gingold <gingold@adacore.com>
1009
1010 * nm.c (usage): Remove extra blanks.
d2ca6b5b 1011
a0f19280
L
10122010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * objcopy.c: Update copyright.
1015 * readelf.c: Likewise.
1016
c1e2cb9d
L
10172010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 PR binutils/11130
1020 * objcopy.c (copy_object): Remove "Warning: " from error
1021 message.
1022
c975cc98
NC
10232010-01-04 Nick Clifton <nickc@redhat.com>
1024
1025 PR 11128
1026 * readelf.c (dump_section_as_strings): Use two separate
1027 invocations of printf() in order to work around bugs in
1028 the Solaris 8 implementation.
1029
619c8a7d
NC
10302010-01-04 Nick Clifton <nickc@redhat.com>
1031
a0f19280 1032 * po/ru.po: Updated Russian translation.
a6da20b5 1033
43ecc30f 1034For older changes see ChangeLog-2009
252b5132
RH
1035\f
1036Local Variables:
1037mode: change-log
1038left-margin: 8
1039fill-column: 74
1040version-control: never
1041End:
This page took 0.503898 seconds and 4 git commands to generate.