* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
f904699a
TT
12008-12-09 Tom Tromey <tromey@redhat.com>
2
3 * srconv.c (wr_hd): Add parens to placate gcc 4.4.
4
f5f53991
AS
52008-12-09 Andrew Stubbs <ams@codesourcery.com>
6
7 * readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M".
8 (arm_attr_tag_WMMX_arch): Add "WMMXv2".
9 (arm_attr_tag_NEON_arch): Rename to ...
10 (arm_attr_tag_Advanced_SIMD_arch): ... official name.
11 (arm_attr_tag_ABI_PCS_config): Rename to ...
12 (arm_attr_tag_PCS_config): ... official name.
13 (arm_attr_tag_ABI_PCS_RO_DATA): Rename to ...
14 (arm_attr_tag_ABI_PCS_RO_data): ... official name.
15 (arm_attr_tag_ABI_FP_denormal): Add "Sign only".
16 (arm_attr_tag_CPU_unaligned_access): New array.
17 (arm_attr_tag_T2EE_use): New array.
18 (arm_attr_tag_Virtualization_use): New array.
19 (arm_attr_tag_MPextension_use): New array.
20 (arm_attr_publ): NEON_arch -> Advanced_SIMD_arch.
21 ABI_PCS_config -> PCS_config.
22 ABI_PCS_RO_DATA -> ABI_PCS_RO_data.
23 Add CPU_unaligned_access, nodefaults, also_compatible_with,
24 T2EE_use, conformance, Virtualization_use and MPextension_use.
25 (display_arm_attribute): Handle Tag_nodefaults and
26 Tag_also_compatible_with.
27
2f3bb96a
BE
282008-12-04 Ben Elliston <bje@au.ibm.com>
29
30 * doc/binutils.texi (objdump): Update booke documentation.
31 * NEWS: Document user-visible changes to command line options.
32
171191ba
NC
332008-12-04 Nick Clifton <nickc@redhat.com>
34
35 * objdump.c (dump_reloc_set): Append "()" to symbol names which
36 have the BSF_INDIRECT_FUNCTION type.
37 * readelf.c (print_symbol): Fix handling of negative widths.
38 (dump_relocations): Append "()" to symbol names which have the
39 STT_IFUNC type. Display negative offsets as a positive number with
40 a "-" prefix.
41 (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
42 * doc/binutils.texi: Document 'i' symbol type.
43
508e676d
JK
442008-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
45
46 * strings.c (main): New variable `s'. Have string_min parsing
47 call fatal for invalid input strings.
48
20359e08
NC
492008-11-25 Nick Clifton <nickc@redhat.com>
50
51 PR7044
52 * dlltool.c (run): Use formatting string to avoid compile time
53 warning.
54 (gen_exp_file): Check return value from fread.
55 * windmc.c (main): Check return value from fread.
56
073f969c
SA
572008-11-21 Sterling Augustine <sterling@tensilica.com>
58
59 * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
60
793c5807
NC
612008-11-19 Nick Clifton <nickc@redhat.com>
62
63 * doc/fdl.texi: Update to v1.3
64 * doc/binutils.texinfo: Change license to v1.3.
65
8e79c3df
CM
662008-11-18 Catherine Moore <clm@codesourcery.com>
67
68 * readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
69 (arm_attr_tag_VFP_HP_extension): New.
70 (arm_attr_public_tag arm_attr_public_tags): Support
71 new attributes.
72
764c62eb
NC
732008-11-17 Nick Clifton <nickc@redhat.com>
74
75 * version.c (print_version): Update copyright year.
76
9b91d2fc
DS
772008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
78
79 * dlltool.c (identify_search_section): Cast argument, not return
80 value, of xstrdup to 'char*'.
81
d4732f7c
CW
822008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
83
84 Added --identify option to dlltool.
85 * binutils/dlltool.c: Add new global variables
86 identify_imp_name and identify_dll_name.
87 (identify_dll_for_implib, identify_search_archive,
88 identify_search_member, identify_process_section_p,
89 identify_search_section): New functions.
90 (usage): Added --identify.
91 (long_options): Added --identify.
92 (main): Handle --identify option.
93 * binutils/doc/binutils.texi: Document --identify.
94
f5913efe
TG
952008-11-14 Tristan Gingold <gingold@adacore.com>
96
97 Remove outdated mach-o specific tests.
98 * objdump.c (load_debug_section): Remove mach-o specific test.
99 (mach_o_uncompressed_dwarf_sections): Removed.
100 (mach_o_compressed_dwarf_sections): Removed.
101 (generic_uncompressed_dwarf_sections): Removed.
102 (generic_compressed_dwarf_sections): Removed.
103 (check_mach_o_dwarf): Removed.
104 (dump_dwarf): Remove call to check_mach_o_dwarf.
105
d387240a
TG
1062008-11-14 Tristan Gingold <gingold@adacore.com>
107
108 * configure.com: Get version from configure.in of bfd.
109 * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
110 (CFLAGS): Update flags.
111
ede76260
HPN
1122008-11-13 Hans-Peter Nilsson <hp@axis.com>
113 Alan Modra <amodra@bigpond.net.au>
114
115 * nm.c (filter_symbols): Only call memcpy when from != to.
116
17ceb936
AM
1172008-11-10 Tristan Gingold <gingold@adacore.com>
118 Alan Modra <amodra@bigpond.net.au>
119
120 * objdump.c (disassemble_bytes): Don't skip leading zeros when
121 end of section calculation overflows.
122
db448d50
NC
1232008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
124
125 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
126
27d93c47
AM
1272008-10-31 Alan Modra <amodra@bigpond.net.au>
128
129 * po/id.po: New file.
ac5d747e
AM
130 * configure.in (ALL_LINGUAS): Add id.
131 * configure: Regenerate.
27d93c47 132
e449363a
AM
1332008-10-21 Alan Modra <amodra@bigpond.net.au>
134
135 * windmc.c (res_alloc): Remove unnecessary cast.
136 * windres.c (res_alloc, reswr_alloc): Likewise.
137
cb8f3167
NC
1382008-10-20 Nick Clifton <nickc@redhat.com>
139
140 * readelf.c: Tidy up code formatting.
141
f82e0623
NF
1422008-10-10 Nathan Froyd <froydnj@codesourcery.com>
143
144 * readelf.c (display_power_gnu_attribute): Decode
145 Tag_GNU_Power_ABI_Struct_Return.
146
c67d8df7
AM
1472008-10-10 Alan Modra <amodra@bigpond.net.au>
148
149 * embedspu.sh: Pass -Wa,-noexecstack to $CC.
150
d078078d
KT
1512008-10-09 Kai Tietz <kai.tietz@onevision.com>
152
153 * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
154 (PAGE_MASK): Likewise.
155 (sfunc): Change to address size of bfd_vma for base-file.
156 (flush_page): Likewise.
157 (gen_exp_file): Likewise.
158
b9eb56c1
NC
1592008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
160
161 * readelf.c (process_section_headers): Do not cut the section names and
162 types if running with --wide.
163
80c35038
NC
1642008-10-06 Tom Tromey <tromey@redhat.com>
165
166 * dwarf.c (display_debug_frames): Change text for uniformity.
167 (process_debug_info): Likewise.
168 (display_debug_aranges): Likewise. Indent address output.
169 (display_debug_pubnames): Print offset in hex.
170
6176abac
NC
1712008-10-02 Andrew Paprocki <andrew@ishiboo.com>
172
173 PR 6934
174 * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
175 generated by the SUNPro C++ compiler.
176
42b722c1
NC
1772008-09-30 Andrew Paprocki <andrew@ishiboo.com>
178
179 PR 6922
180 * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
181 'b' and 'v' extensions.
182
718a6fd8
SE
1832008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
184 Steve Ellcey <sje@cup.hp.com>
185
186 * configure: Regenerate for new libtool.
187 * aclocal.m4: Ditto.
188 * Makefile.in: Ditto.
189 * doc/Makefile.in: Ditto.
190
119f4245
AM
1912008-09-28 Alan Modra <amodra@bigpond.net.au>
192
193 * objcopy.c (setup_section): Set elf_group_id.
194
f1c4cc75
RH
1952008-09-24 Richard Henderson <rth@redhat.com>
196
197 * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
198 (decode_location_expression): Add section parameter. Handle
199 DW_OP_GNU_encoded_addr.
200 (read_and_display_attr_value): Update decode_location_expression call.
201 (display_debug_loc, display_debug_frames): Likewise.
202
72556929
AM
2032008-09-25 Alan Modra <amodra@bigpond.net.au>
204
205 PR 6913
206 * dwarf.c (print_dwarf_vma): Don't call printf without format string.
207
2a7b2e88
JK
2082008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 Suppress warnings on NONE relocations to discarded sections.
211 * readelf.c (is_none_reloc): New function.
212 (debug_apply_relocations): Ignore is_none_reloc() relocations.
213
d053aef8
JK
2142008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
215
216 Fix loading large elf64 binaries on 32bit hosts.
217 * configure.in: Call AC_SYS_LARGEFILE.
218 * config.in: Regenerate.
219 * configure: Regenerate.
220
5cb12a97
AM
2212008-09-11 Alan Modra <amodra@bigpond.net.au>
222
223 * po/sv.po: Update.
224
9d4f29f3
TG
2252008-09-08 Tristan Gingold <gingold@adacore.com>
226
227 * BRANCHES: Add 2.18 and 2.19 release branches.
228
6e33da12
TG
2292008-09-08 Tristan Gingold <gingold@adacore.com>
230
231 * NEWS: Add a marker for the 2.19 features.
232
d966045b
DJ
2332008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
234
235 * readelf.c (load_specific_debug_section): New function, from
236 load_debug_section.
237 (load_debug_section): Use load_specific_debug_section.
238 (display_debug_section): Use load_specific_debug_section. Check for
239 multiple sections with the same name.
240
62bb81b8
TG
2412008-08-28 Tristan Gingold <gingold@adacore.com>
242
243 * objdump.c (dump_stabs): Add sections for Darwin.
244
4cef8a9f
AM
2452008-08-25 Alan Modra <amodra@bigpond.net.au>
246
247 * sysdep.h: Include "binary-io.h".
248 (O_BINARY): Don't define here.
249 * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
250 * strings.c: Likewise.
251 (main): Remove #ifdef SET_BINARY.
252 * Makefile.am: Run "make dep-am"
253 * Makefile.in: Regenerate.
254
da594c4a
AM
2552008-08-24 Alan Modra <amodra@bigpond.net.au>
256
257 * configure.in: Update a number of obsolete autoconf macros.
258 * configure: Regenerate.
259 * aclocal.m4: Regenerate.
260
85acf597
RH
2612008-08-21 Richard Henderson <rth@redhat.com>
262
263 * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
264 (is_64bit_pcrel_reloc): New.
265 (debug_apply_relocations): Use it. Handle hppa pcrel bias.
266
7357c5b6
AM
2672008-08-15 Alan Modra <amodra@bigpond.net.au>
268
269 PR 6526
270 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
271 * Makefile.in: Regenerate.
272 * aclocal.m4: Regenerate.
273 * config.in: Regenerate.
274 * configure: Regenerate.
275 * doc/Makefile.in: Regenerate.
276
216ff8b4
AM
2772008-08-09 Alan Modra <amodra@bigpond.net.au>
278
279 PR 6615
280 * rename.c (smart_rename): Punctuate error messages.
281
861fb55a
DJ
2822008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
283 Daniel Jacobowitz <dan@codesourcery.com>
284 Catherine Moore <clm@codesourcery.com>
285 Mark Shinwell <shinwell@codesourcery.com>
286
287 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
288 STO_MIPS_PIC.
289 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
290 (dump_relocations, debug_apply_relocations): Don't handle it here.
291 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
292 (print_mips_pltgot_entry): New function.
293 (process_mips_specific): Dump the PLT GOT.
294
85a82265
AM
2952008-08-08 Alan Modra <amodra@bigpond.net.au>
296
297 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
298
237dcb53
AM
2992008-08-06 Alan Modra <amodra@bigpond.net.au>
300
d3ae097c 301 PR 6774
237dcb53
AM
302 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
303 (setup_section): Don't zero vma and lma when extract_symbol.
304 (copy_section): Discard relocations when extract_symbol.
305 * doc/binutils.texi: Update --extract-symbol description.
306
323ee3f4
AM
3072008-08-04 Alan Modra <amodra@bigpond.net.au>
308
309 * Makefile.am (POTFILES.in): Set LC_ALL=C.
310 * Makefile.in: Regenerate.
311
3b26c801
AM
3122008-08-04 Markus Weiss <weissms@aros.org>
313
314 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
315
a656ed5b
L
3162008-08-01 H.J. Lu <hongjiu.lu@intel.com>
317
318 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
319 (dwarf_regnames_x86_64): Likewise.
320
0af1713e
AM
3212008-07-30 Alan Modra <amodra@bigpond.net.au>
322
323 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
324 windmc.c: Silence gcc warnings.
325
437c2fb7
AM
3262008-07-28 Alan Modra <amodra@bigpond.net.au>
327
328 * readelf.c (print_vma): Typo fix.
329
14a91970
AM
3302008-07-28 Alan Modra <amodra@bigpond.net.au>
331
332 PR 6769
333 * readelf.c (print_dec_vma, print_hex_vma): Delete.
334 (print_vma): Use BFD_VMA_FMT.
335 * size.c (size_number, rprint_number): Likewise.
336
6fcc464a
AM
3372008-07-26 Michael Eager <eager@eagercon.com>
338
339 * readelf.c (display_power_gnu_attribute): Display
340 single-precision hard float.
341
89eeb0bc
LM
3422008-07-21 Luis Machado <luisgpm@br.ibm.com>
343
344 * readelf.c (get_note_type): Handle VSX notes.
345
a71cc8e0
L
3462008-07-15 H.J. Lu <hongjiu.lu@intel.com>
347
348 * objdump.c (load_debug_section): Initialize section_is_compressed
349 for gcc 3.4/ia64.
350 * readelf.c (load_debug_section): Likewise.
351
1bac266e
JZ
3522008-07-12 Jie Zhang <jie.zhang@analog.com>
353
354 Revert
355 2008-07-12 Jie Zhang <jie.zhang@analog.com>
356 * readelf.c (get_machine_flags): Deal with Blackfin specific
357 flags.
358
8c684578
JZ
3592008-07-12 Jie Zhang <jie.zhang@analog.com>
360
361 * readelf.c (get_machine_flags): Deal with Blackfin specific
362 flags.
363
1b315056
CS
3642008-07-09 Craig Silverstein <csilvers@google.com>
365
366 * config.in: Add HAVE_ZLIB_H
367 * configure.in: Add test for libz and zlib.h
368 * configure: Regenerate.
369 * dwarf.c (debug_displays): Add .zdebug_* strings.
370 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
371 and compressed_name.
372 * objdump.c (load_debug_section): Call
373 bfd_uncompress_section_contents when loading a compressed
374 section.
375 (dump_dwarf_section): Recognize compressed section name.
376 (mach_o_dwarf_sections): Rename as
377 mach_o_uncompressed_dwarf_sections.
378 (mach_o_compressed_dwarf_sections): New variable.
379 (generic_dwarf_section): Rename as
380 generic_uncompressed_dwarf_sections.
381 (generic_compressed_dwarf_sections): New variable.
382 (check_mach_o_dwarf): Save and restore
383 mach_o_compressed_dwarf_sections.
384 * readelf.c: Add #include for config.h and zlib.h
385 (process_section_headers): Recognize compressed section name.
386 (uncompress_section_contents): New function.
387 (load_debug_section): Call uncompress_section_contents when
388 loading a compressed section.
389 (display_debug_section): Recognize compressed section name.
390
2b4590fb
AM
3912008-07-07 Alan Modra <amodra@bigpond.net.au>
392
393 * objdump.c (find_symbol_for_address): Prefer symbols in current
394 section.
395
0eb80fd3
AM
3962008-07-07 Alan Modra <amodra@bigpond.net.au>
397
398 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
399 * nlmconv.c (main, powerpc_build_stubs): Likewise.
400 * rescoff.c (write_coff_file): Likewise.
401 * resres.c (write_res_file): Likewise.
402 * windmc.c (windmc_write_bin): Likewise.
403
c1184619
SR
4042008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
405
406 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
407 (dump_relocations): Likewise.
408 (get_machine_name): Likewise.
409 (is_32bit_abs_reloc): Likewise.
410
7a283e07
RW
4112008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
412
413 * configure: Regenerate.
414
ff7eeb89
DD
4152008-06-12 DJ Delorie <dj@redhat.com>
416
417 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
418 (dump_relocations): Likewise.
419 (process_section_headers): Likewise.
420 (is_32bit_abs_reloc): Likewise.
421 (is_16bit_abs_reloc): Likewise.
422
b922d590
NC
4232008-06-12 Nick Clifton <nickc@redhat.com>
424
425 PR binutils/6483
426 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
427 debug information to display, try dumping DWARF information
428 instead.
429 * rddbg.c (read_debugging_info): Add a parameter to suppress the
430 display of a warning message when no debug information is found.
431 * budbg.h (read_debugging_info): Update prototype.
432 * objcopy.c (copy_object): Continue to allow read_debugging_info
433 to produce warning messages.
434 * doc/binutils.texi (--debugging): Document new behaviour of the
435 -g/--debugging option.
436
3201a343
BE
4372008-06-10 Ben Elliston <bje@gnu.org>
438
439 * MAINTAINERS: Remove myself as m68k maintainer.
440
8944f3c2
AM
4412008-05-14 Alan Modra <amodra@bigpond.net.au>
442
443 * Makefile.in: Regenerate.
444 * doc/Makefile.in: Regenerate.
445
cef1fe97
AM
4462008-05-12 Alan Modra <amodra@bigpond.net.au>
447
448 * embedspu.sh: Test for presence of ._ea by looking at section
449 table rather than looking at relocs. Correct toe_addr substitution.
450
8374f9d4
AM
4512008-05-08 Alan Modra <amodra@bigpond.net.au>
452
453 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
454 and if present, put image in ".data.speelf". Put program handle
455 in ".data.spehandle".
456
961c521f
NC
4572008-05-01 Nick Clifton <nickc@redhat.com>
458
459 * readelf.c (print_symbol): Add code to display non-printing
460 characters.
461
830bf75c
NC
4622008-04-30 John Heidemann <johnh@isi.edu>
463
464 * doc/binutils.texi (strings): Add "unicode" to the documentation
465 of strings in order to make explicit that it supports this
466 feature.
467
b391a3e3
AM
4682008-04-30 Alan Modra <amodra@bigpond.net.au>
469
470 * readelf.c (process_program_headers): Correct section in segment
471 display.
472
417ed8af
NC
4732008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
474 Nick Clifton <nickc@redhat.com>
475
476 PR binutils/6449
477 * objdump.c (slurp_file): Open the file in binary mode.
478 * ar.c: Remove conditional definition of O_BINARY.
479 * bin2.c: Likewise.
480 * rename.c: Likewise.
481 * strings.c: Likewise.
482 * sysdep.h: Add conditional definition of O_BINARY.
483
6194aaab
L
4842008-04-23 Paolo Bonzini <bonzini@gnu.org>
485
486 * aclocal.m4: Regenerate.
487 * configure: Regenerate.
488
047c9024
NC
4892008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
490
491 PR binutils/6034
492 * objcopy.c (stuct symlist): Rename to
493 is_specified_symbol_predicate_data.
494 (strip_specific_list): Rename to strip_specific_htab.
495 (strip_unneeded_list): Rename to strip_unneeded_htab.
496 (keep_specific_list): Rename to keep_specific_htab.
497 (localize_specific_list): Rename to localize_specific_htab.
498 (globalize_specific_list): Rename to globalize_specific_htab.
499 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
500 (weaken_specific_list): Rename to weaken_specific_htab.
501 (eq_string): New function.
502 (create_symbol_htab): New function.
503 (create_symbol_htabs): New function.
504 (add_specific_symbol): Change to use hash tables.
505 (is_specified_symbol_predicate): New function.
506 (is_specified_symbol): Use hash table lookup.
507 (is_strip_section): Update to use new functions and hash tables.
508 (filter_symbols): Likewise.
509 (copy_object): Likewise.
510 (copy_section): Likewise.
511 (strip_main): Likewise.
512 (copy_main): Likewise.
513 (main): Likewise.
514
0297aed6
DM
5152008-04-14 David S. Miller <davem@davemloft.net>
516
517 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
518
a262ae96
NC
5192008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
520
521 * dwarf.c (display_debug_lines): Rename to
522 display_debug_lines_raw.
523 (display_debug_lines_decoded): New function. Displays the
524 interpreted contents of a .debug_line section.
525 (display_debug_lines): New function: Selects either a raw dump or
526 a decoded dump (or both) as requested by the user.
527 * dwarf.h (do_debug_lines_decoded): New extern.
528 * readelf.c: Add support for -wL or --debug-dump=decodedline
529 option to display the decoded contents of a .debug_line section.
530 * doc/binutils.texi: Document the new option.
531 * NEWS: Mention the new feature.
532
cecf136e
AM
5332008-04-08 Alan Modra <amodra@bigpond.net.au>
534
535 * dwarf.c: Remove trailing whitespace throughout file.
536
1419b114
NC
5372008-04-04 Nick Clifton <nickc@redhat.com>
538
539 * po/sk.po: Updated Slovak translation.
540
c0f3af97
L
5412008-04-03 H.J. Lu <hongjiu.lu@intel.com>
542
543 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
544 (dwarf_regnames_x86_64): Likewise.
545
a8da6403
NC
5462008-03-27 Cary Coutant <ccoutant@google.com>
547
c0f3af97 548 Add support for thin archives.
a8da6403
NC
549 * ar.c (make_thin_archive): New global flag.
550 (map_over_members): Deal with full pathnames in thin archives.
551 (usage, main): Add 'T' option for building thin archives.
552 (replace_members): Pass thin archive flag to ar_emul_append.
553 * arsup.c (ar_open): Initialize new flag.
554 * binemul.c (ar_emul_append): Add new parameter for
555 flattening nested archives.
556 (do_ar_emul_default_append): New function.
557 (ar_emul_default_append): Factored out recursive code.
558 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
559 (struct bin_emulation_xfer_struct): New parameter for ar_append.
560 * dlltool.c (gen_lib_file): Initialize thin archive flag.
561 * emul_aix.c (ar_emul_aix_internal): Add new flatten
562 parameter, currently unimplemented.
563 All callers changed.
564 * objcopy.c (copy_archive): Preserve thin archive flag.
565 * doc/binutils.texi: Update ar documentation.
566 * NEWS: Mention the new feature.
567
bbeee7ea
L
5682008-03-20 H.J. Lu <hongjiu.lu@intel.com>
569
570 * readelf.c (process_mips_specific): Declare addr_size as int.
571
ccb4c951
RS
5722008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
573
574 * readelf.c (print_mips_got_entry): New function.
575 (process_mips_specific): Print GOT information.
576
58c85be7
RW
5772008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
578
579 * aclocal.m4: Regenerate.
580 * configure: Likewise.
581 * Makefile.in: Likewise.
582 * doc/Makefile.in: Likewise.
583
c59aaa83
BD
5842008-03-16 Brian Dessent <brian@dessent.net>
585
586 * rcparse.y (resid): Allow control text to span multiple lines.
587
72de5009
AM
5882008-03-13 Alan Modra <amodra@bigpond.net.au>
589
590 * readelf.c: Use %u throughout when printing sh_link or sh_info,
591 %lu when printing sh_addralign.
592 (process_version_sections): Use identical formats when printing
593 all offset and sh_link fields.
594
50e7d84b
AM
5952008-03-13 Alan Modra <amodra@bigpond.net.au>
596
597 * Makefile.am: Run "make dep-am".
598 * Makefile.in: Regenerate.
599 * doc/Makefile.in: Regenerate.
600 * configure: Regenerate.
601
4fbb74a6
AM
6022008-03-12 Alan Modra <amodra@bigpond.net.au>
603
604 PR 5900
605 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
606 Remove use throughout file.
607 (SECTION_HEADER): Likewise.
608 (dump_relocations): Don't adjust st_shndx for reserved range.
609 (process_file_header): Mask SHN_XINDEX to values seen in external
610 elf structs. Simplify valid section index tests.
611 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
612 Map reserved st_shndx to internal form.
613 (process_section_groups): Test that group symbol st_shndx is in
614 range, not just non-zero. Delete reserved range check.
615 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
616 OS or RSV.
617
b1cc4aeb
PB
6182008-03-09 Paul Brook <paul@codesourcery.com>
619
620 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
621
4b3be0b6
JW
6222008-03-03 James E. Wilson <wilson@tuliptree.org>
623
624 * MAINTAINERS: Update my email address.
625
35d60fe4
NC
6262008-03-03 Nick Clifton <nickc@redhat.com>
627
628 * dwarf.c (decode_location_expression): Handle
629 DW_OP_PGI_omp_thread_num.
630
d253b654
AM
6312008-03-01 Alan Modra <amodra@bigpond.net.au>
632
633 * objdump.c (objdump_print_addr): Initialise "sym".
634
20c0b65d
NC
6352008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
636 Nick Clifton <nickc@redhat.com>
637
638 * ar.c (usage): Mention -t command line switch.
639 * doc/binutils.texi (ranlib): Document -t command line switch.
640
32760852
NC
6412008-02-26 Nick Clifton <nickc@redhat.com>
642
643 * objdump.c (objdump_print_addr): If displaying file offsets, show
644 the offset even if there are no symbols available.
645 (dump_section): Display nothing if none of the section is going to
646 be dumped. Display the file offset, if requested, of the location
647 from where the dump starts.
648 * doc/binutils.texi (objdump): Mention that dumping via the -s
649 switch is also affected by the -F option.
650
fa0d8a3e
NC
6512008-02-26 Nick Clifton <nickc@redhat.com>
652
653 Re-apply this patch which was accidentally deleted:
654 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
655
656 * doc/binutils.texi: Use "Binutils Index" for index name.
657
98ec6e72
NC
6582008-02-22 Nick Clifton <nickc@redhat.com>
659
660 * objdump.c (display_file_offsets): New variable.
661 (long_options): Add -F/--file-offsets.
662 (objdump_print_addr_with_sym): If displaying file offsets, print
663 the offset of the given address.
664 (disassemble_bytes): If displaying file offsets, tell the user how
665 many zeroes are skipped and the file offset of the point where
666 dumping resumes.
667 (disassemble_section): Only display the name of the section if
668 data is going to be dumped from it.
669 (main): Handle new option. Produce error messages if the start or
670 stop addresses do not make sense.
671 * doc/binutils.texi: Document the new feature.
672 * NEWS: Mention the new feature.
673
7cefd12b
NC
6742008-02-15 Chu Li <chul@cn.fujitsu.com>
675 Nick Clifton <nickc@redhat.com>
c904a764
NC
676
677 PR binutils/5713
678 * strings.c (integer_arg): Delete function.
679 (string_min): Initialise to 4.
680 (main): Use strtoul to parse integer arguments.
681 Move check for an invalid string length to after all the arguments
682 have been parsed.
683 (usage): Use indentation to indicate that -<n> is a another form
684 of the --bytes= command line option.
685
fd64a958
NC
6862008-02-12 Nick Clifton <nickc@redhat.com>
687
688 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
689 the argument.
690 (scan_obj_filename): Do not drop the const qualifier when calling
691 mcore_elf_cache_filename.
692 (struct fname_cache): Add const qualifier to filename field.
693
d51c3015
L
6942008-02-08 H.J. Lu <hongjiu.lu@intel.com>
695
696 PR binutils/5713
697 * strings.c (main): Set string_min to 4 if it is <= 0.
698
ee832e18
AM
6992008-02-07 Alan Modra <amodra@bigpond.net.au>
700
701 * objdump.c (main): Don't pass unadorned NULL to concat.
702
bb8541b9
L
7032008-02-04 H.J. Lu <hongjiu.lu@intel.com>
704
705 PR 5715
706 * configure: Regenerated.
707
05c6f050
AN
7082008-02-03 Adam Nemet <anemet@caviumnetworks.com>
709
710 * readelf.c (get_machine_flags): Handle Octeon.
711
148b93f2
NC
7122008-01-30 Tristan Gingold <gingold@adacore.com>
713
714 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
715 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
716 (get_dynamic_type): Handle IA64-specific tags.
717 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
718 (get_section_type_name): Handle OS-specific sections (and
719 particularly IA64 OpenVMS one).
720 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
721 decode them.
722
2d9472a2
NC
7232008-01-29 Nick Clifton <nickc@redhat.com>
724
725 * dwarf.c (print_dwarf_vma): New function. Display the value of a
2e14fae2 726 dwarf_vma type at a specified precision. Use mingw field type
68e08bce 727 specifier if necessary.
2d9472a2
NC
728 (display_debug_loc): Use dwarf_vma type for begin and end values.
729 Use print_dwarf_vma to display their values. Use byte_get_signed
730 in order to correctly detect the -1 escape value.
731 (display_debug_aranges): Likewise.
732 (display_debug_ranges): Likewise.
733
fefffff8
AM
7342008-01-29 Alan Modra <amodra@bigpond.net.au>
735
736 * dwarf.c (display_debug_loc): Correct test for base address
737 entry when 64-bit host dumping 32-bit object.
738
ccdb9c9f
AM
7392008-01-29 Alan Modra <amodra@bigpond.net.au>
740
741 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
742
e36ea2de
NC
7432008-01-28 Nick Clifton <nickc@redhat.com>
744
745 PR binutils/5529
746 * rclex.c (yylex): Also allow the hypen character.
747
2dc4cec1
L
7482008-01-28 H.J. Lu <hongjiu.lu@intel.com>
749
750 * dwarf.c: Include "elf/common.h".
751 (eh_addr_size): Changed to int.
752 (dwarf_regnames_i386): New.
753 (dwarf_regnames_x86_64): Likewise.
754 (dwarf_regnames): Likewise.
755 (dwarf_regnames_count): Likewise.
756 (init_dwarf_regnames): Likewise.
757 (regname): Likewise.
758 (frame_display_row): Properly support different address size.
759 Call regname to get register name.
760 (display_debug_frames): Call regname to get register name.
761 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
762 instead of DW_CFA_def_cfa_reg.
763
764 * dwarf.h (init_dwarf_regnames): New.
765
766 * objdump.c: Include "elf-bfd.h".
767 (dump_dwarf): Call init_dwarf_regnames on ELF input.
768
769 * readelf.c (guess_is_rela): Change argument to int.
770 (parse_args): Remove the undocumented upper case options for
771 -wX.
a65c77b9 772 (process_file_header): Call init_dwarf_regnames.
2dc4cec1 773
f4236fe4
DD
7742008-01-25 DJ Delorie <dj@redhat.com>
775
776 * readelf.c (process_section_headers): Add m16c handler.
777 (is_16bit_abs_reloc): Recognize R_M32C_16.
778
6e3d6dc1
NC
7792008-01-25 Kai Tietz <kai.tietz@onevision.com>
780
781 * prdbg.c: Correct formatter style use.
782 * readelf.c: Likewise.
783 * strings.c: Likewise.
784
5ca3b13d
NC
7852008-01-25 Nick Clifton <nickc@redhat.com>
786
787 * po/ru.po: Updated Russian translation.
788
fabda5a7
L
7892008-01-17 H.J. Lu <hjl.tools@gmail.com>
790
791 * MAINTAINERS: Update my email address.
792
1febe64d
NC
7932008-01-14 Nick Clifton <nickc@redhat.com>
794
795 * dwarf.c (process_debug_info): Include the CU offset and corrupt
796 version value when reporting unrecognised DWARF version numbers.
797 (load_debug_info): Remember a failed attempt to load and parse the
798 .debug_info section and do not repeat such attempts.
799 (display_debug_lines): Check the return value from load_debug_info
800 and return whilst displaying a warning message if the load failed.
801 (display_debug_loc): Likewise.
802 (display_debug_ranges): Likewise.
cc86f28f
NC
803 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
804 when the .debug_info section could not be loaded/parsed.
805 (process_debug_info): Display the length of the compilation unit
806 in hex, so that it corresponds with the offsets that will follow.
807 Tell the user if the length was 32-bit or 64-bit.
808 If a DIE abbreviation could not be found, tell the user the offset
809 of the DIE.
810 (free_debug_memory): Do not attempt to free any entries in the
811 debug_information array if num_debug_info_entries is set to
812 DEBUG_INFO_UNAVAILABLE.
1febe64d 813
e819ade1
AS
8142008-01-10 Andreas Schwab <schwab@suse.de>
815
816 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
817
d25576aa
NC
8182008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
819
820 PR binutils/55326
821 * bucomm.c (list_supported_architectures): Free architecture list
822 after use.
823 * windres.c (set_endianess): Likewise.
824 * windmc.c (set_endianess): Likewise.
825
aeafac0c
KT
8262008-01-08 Kai Tietz <kai.tietz@onevision.com>
827
e36ea2de 828 PR binutils/5529
aeafac0c 829 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
e36ea2de 830 characters for name tokens.
aeafac0c 831
3c75e4f8
GM
8322008-01-04 Greg McGary <greg@mcgary.org>
833
834 * prdbg.c (print_vma): Print as long long, if host supports it.
835
ec4d4525
NC
8362008-01-03 Nick Clifton <nickc@redhat.com>
837
838 * dwarf.c (read_and_display_attr_value): Prefix values that are
839 displayed in hexadecimal with 0x.
840 For the DW_AT_import attribute display the abbreviation number and
841 tag of the imported DIE.
842 (process_debug_info): Warn about lengths that reserved by the
843 DWARF3 specification.
844 Provide more information when corrupted DIEs are detected.
845 Warn if DIE corruption makes the sibling level negative.
846
6c7ac64e 847For older changes see ChangeLog-2007
252b5132
RH
848\f
849Local Variables:
850mode: change-log
851left-margin: 8
852fill-column: 74
853version-control: never
854End:
This page took 0.407029 seconds and 4 git commands to generate.