PR7044
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
20359e08
NC
12008-11-25 Nick Clifton <nickc@redhat.com>
2
3 PR7044
4 * dlltool.c (run): Use formatting string to avoid compile time
5 warning.
6 (gen_exp_file): Check return value from fread.
7 * windmc.c (main): Check return value from fread.
8
073f969c
SA
92008-11-21 Sterling Augustine <sterling@tensilica.com>
10
11 * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
12
793c5807
NC
132008-11-19 Nick Clifton <nickc@redhat.com>
14
15 * doc/fdl.texi: Update to v1.3
16 * doc/binutils.texinfo: Change license to v1.3.
17
8e79c3df
CM
182008-11-18 Catherine Moore <clm@codesourcery.com>
19
20 * readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
21 (arm_attr_tag_VFP_HP_extension): New.
22 (arm_attr_public_tag arm_attr_public_tags): Support
23 new attributes.
24
764c62eb
NC
252008-11-17 Nick Clifton <nickc@redhat.com>
26
27 * version.c (print_version): Update copyright year.
28
9b91d2fc
DS
292008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
30
31 * dlltool.c (identify_search_section): Cast argument, not return
32 value, of xstrdup to 'char*'.
33
d4732f7c
CW
342008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
35
36 Added --identify option to dlltool.
37 * binutils/dlltool.c: Add new global variables
38 identify_imp_name and identify_dll_name.
39 (identify_dll_for_implib, identify_search_archive,
40 identify_search_member, identify_process_section_p,
41 identify_search_section): New functions.
42 (usage): Added --identify.
43 (long_options): Added --identify.
44 (main): Handle --identify option.
45 * binutils/doc/binutils.texi: Document --identify.
46
f5913efe
TG
472008-11-14 Tristan Gingold <gingold@adacore.com>
48
49 Remove outdated mach-o specific tests.
50 * objdump.c (load_debug_section): Remove mach-o specific test.
51 (mach_o_uncompressed_dwarf_sections): Removed.
52 (mach_o_compressed_dwarf_sections): Removed.
53 (generic_uncompressed_dwarf_sections): Removed.
54 (generic_compressed_dwarf_sections): Removed.
55 (check_mach_o_dwarf): Removed.
56 (dump_dwarf): Remove call to check_mach_o_dwarf.
57
d387240a
TG
582008-11-14 Tristan Gingold <gingold@adacore.com>
59
60 * configure.com: Get version from configure.in of bfd.
61 * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
62 (CFLAGS): Update flags.
63
ede76260
HPN
642008-11-13 Hans-Peter Nilsson <hp@axis.com>
65 Alan Modra <amodra@bigpond.net.au>
66
67 * nm.c (filter_symbols): Only call memcpy when from != to.
68
17ceb936
AM
692008-11-10 Tristan Gingold <gingold@adacore.com>
70 Alan Modra <amodra@bigpond.net.au>
71
72 * objdump.c (disassemble_bytes): Don't skip leading zeros when
73 end of section calculation overflows.
74
db448d50
NC
752008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
76
77 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
78
27d93c47
AM
792008-10-31 Alan Modra <amodra@bigpond.net.au>
80
81 * po/id.po: New file.
ac5d747e
AM
82 * configure.in (ALL_LINGUAS): Add id.
83 * configure: Regenerate.
27d93c47 84
e449363a
AM
852008-10-21 Alan Modra <amodra@bigpond.net.au>
86
87 * windmc.c (res_alloc): Remove unnecessary cast.
88 * windres.c (res_alloc, reswr_alloc): Likewise.
89
cb8f3167
NC
902008-10-20 Nick Clifton <nickc@redhat.com>
91
92 * readelf.c: Tidy up code formatting.
93
f82e0623
NF
942008-10-10 Nathan Froyd <froydnj@codesourcery.com>
95
96 * readelf.c (display_power_gnu_attribute): Decode
97 Tag_GNU_Power_ABI_Struct_Return.
98
c67d8df7
AM
992008-10-10 Alan Modra <amodra@bigpond.net.au>
100
101 * embedspu.sh: Pass -Wa,-noexecstack to $CC.
102
d078078d
KT
1032008-10-09 Kai Tietz <kai.tietz@onevision.com>
104
105 * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
106 (PAGE_MASK): Likewise.
107 (sfunc): Change to address size of bfd_vma for base-file.
108 (flush_page): Likewise.
109 (gen_exp_file): Likewise.
110
b9eb56c1
NC
1112008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
112
113 * readelf.c (process_section_headers): Do not cut the section names and
114 types if running with --wide.
115
80c35038
NC
1162008-10-06 Tom Tromey <tromey@redhat.com>
117
118 * dwarf.c (display_debug_frames): Change text for uniformity.
119 (process_debug_info): Likewise.
120 (display_debug_aranges): Likewise. Indent address output.
121 (display_debug_pubnames): Print offset in hex.
122
6176abac
NC
1232008-10-02 Andrew Paprocki <andrew@ishiboo.com>
124
125 PR 6934
126 * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
127 generated by the SUNPro C++ compiler.
128
42b722c1
NC
1292008-09-30 Andrew Paprocki <andrew@ishiboo.com>
130
131 PR 6922
132 * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
133 'b' and 'v' extensions.
134
718a6fd8
SE
1352008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
136 Steve Ellcey <sje@cup.hp.com>
137
138 * configure: Regenerate for new libtool.
139 * aclocal.m4: Ditto.
140 * Makefile.in: Ditto.
141 * doc/Makefile.in: Ditto.
142
119f4245
AM
1432008-09-28 Alan Modra <amodra@bigpond.net.au>
144
145 * objcopy.c (setup_section): Set elf_group_id.
146
f1c4cc75
RH
1472008-09-24 Richard Henderson <rth@redhat.com>
148
149 * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
150 (decode_location_expression): Add section parameter. Handle
151 DW_OP_GNU_encoded_addr.
152 (read_and_display_attr_value): Update decode_location_expression call.
153 (display_debug_loc, display_debug_frames): Likewise.
154
72556929
AM
1552008-09-25 Alan Modra <amodra@bigpond.net.au>
156
157 PR 6913
158 * dwarf.c (print_dwarf_vma): Don't call printf without format string.
159
2a7b2e88
JK
1602008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
161
162 Suppress warnings on NONE relocations to discarded sections.
163 * readelf.c (is_none_reloc): New function.
164 (debug_apply_relocations): Ignore is_none_reloc() relocations.
165
d053aef8
JK
1662008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
167
168 Fix loading large elf64 binaries on 32bit hosts.
169 * configure.in: Call AC_SYS_LARGEFILE.
170 * config.in: Regenerate.
171 * configure: Regenerate.
172
5cb12a97
AM
1732008-09-11 Alan Modra <amodra@bigpond.net.au>
174
175 * po/sv.po: Update.
176
9d4f29f3
TG
1772008-09-08 Tristan Gingold <gingold@adacore.com>
178
179 * BRANCHES: Add 2.18 and 2.19 release branches.
180
6e33da12
TG
1812008-09-08 Tristan Gingold <gingold@adacore.com>
182
183 * NEWS: Add a marker for the 2.19 features.
184
d966045b
DJ
1852008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
186
187 * readelf.c (load_specific_debug_section): New function, from
188 load_debug_section.
189 (load_debug_section): Use load_specific_debug_section.
190 (display_debug_section): Use load_specific_debug_section. Check for
191 multiple sections with the same name.
192
62bb81b8
TG
1932008-08-28 Tristan Gingold <gingold@adacore.com>
194
195 * objdump.c (dump_stabs): Add sections for Darwin.
196
4cef8a9f
AM
1972008-08-25 Alan Modra <amodra@bigpond.net.au>
198
199 * sysdep.h: Include "binary-io.h".
200 (O_BINARY): Don't define here.
201 * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
202 * strings.c: Likewise.
203 (main): Remove #ifdef SET_BINARY.
204 * Makefile.am: Run "make dep-am"
205 * Makefile.in: Regenerate.
206
da594c4a
AM
2072008-08-24 Alan Modra <amodra@bigpond.net.au>
208
209 * configure.in: Update a number of obsolete autoconf macros.
210 * configure: Regenerate.
211 * aclocal.m4: Regenerate.
212
85acf597
RH
2132008-08-21 Richard Henderson <rth@redhat.com>
214
215 * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
216 (is_64bit_pcrel_reloc): New.
217 (debug_apply_relocations): Use it. Handle hppa pcrel bias.
218
7357c5b6
AM
2192008-08-15 Alan Modra <amodra@bigpond.net.au>
220
221 PR 6526
222 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
223 * Makefile.in: Regenerate.
224 * aclocal.m4: Regenerate.
225 * config.in: Regenerate.
226 * configure: Regenerate.
227 * doc/Makefile.in: Regenerate.
228
216ff8b4
AM
2292008-08-09 Alan Modra <amodra@bigpond.net.au>
230
231 PR 6615
232 * rename.c (smart_rename): Punctuate error messages.
233
861fb55a
DJ
2342008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
235 Daniel Jacobowitz <dan@codesourcery.com>
236 Catherine Moore <clm@codesourcery.com>
237 Mark Shinwell <shinwell@codesourcery.com>
238
239 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
240 STO_MIPS_PIC.
241 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
242 (dump_relocations, debug_apply_relocations): Don't handle it here.
243 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
244 (print_mips_pltgot_entry): New function.
245 (process_mips_specific): Dump the PLT GOT.
246
85a82265
AM
2472008-08-08 Alan Modra <amodra@bigpond.net.au>
248
249 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
250
237dcb53
AM
2512008-08-06 Alan Modra <amodra@bigpond.net.au>
252
d3ae097c 253 PR 6774
237dcb53
AM
254 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
255 (setup_section): Don't zero vma and lma when extract_symbol.
256 (copy_section): Discard relocations when extract_symbol.
257 * doc/binutils.texi: Update --extract-symbol description.
258
323ee3f4
AM
2592008-08-04 Alan Modra <amodra@bigpond.net.au>
260
261 * Makefile.am (POTFILES.in): Set LC_ALL=C.
262 * Makefile.in: Regenerate.
263
3b26c801
AM
2642008-08-04 Markus Weiss <weissms@aros.org>
265
266 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
267
a656ed5b
L
2682008-08-01 H.J. Lu <hongjiu.lu@intel.com>
269
270 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
271 (dwarf_regnames_x86_64): Likewise.
272
0af1713e
AM
2732008-07-30 Alan Modra <amodra@bigpond.net.au>
274
275 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
276 windmc.c: Silence gcc warnings.
277
437c2fb7
AM
2782008-07-28 Alan Modra <amodra@bigpond.net.au>
279
280 * readelf.c (print_vma): Typo fix.
281
14a91970
AM
2822008-07-28 Alan Modra <amodra@bigpond.net.au>
283
284 PR 6769
285 * readelf.c (print_dec_vma, print_hex_vma): Delete.
286 (print_vma): Use BFD_VMA_FMT.
287 * size.c (size_number, rprint_number): Likewise.
288
6fcc464a
AM
2892008-07-26 Michael Eager <eager@eagercon.com>
290
291 * readelf.c (display_power_gnu_attribute): Display
292 single-precision hard float.
293
89eeb0bc
LM
2942008-07-21 Luis Machado <luisgpm@br.ibm.com>
295
296 * readelf.c (get_note_type): Handle VSX notes.
297
a71cc8e0
L
2982008-07-15 H.J. Lu <hongjiu.lu@intel.com>
299
300 * objdump.c (load_debug_section): Initialize section_is_compressed
301 for gcc 3.4/ia64.
302 * readelf.c (load_debug_section): Likewise.
303
1bac266e
JZ
3042008-07-12 Jie Zhang <jie.zhang@analog.com>
305
306 Revert
307 2008-07-12 Jie Zhang <jie.zhang@analog.com>
308 * readelf.c (get_machine_flags): Deal with Blackfin specific
309 flags.
310
8c684578
JZ
3112008-07-12 Jie Zhang <jie.zhang@analog.com>
312
313 * readelf.c (get_machine_flags): Deal with Blackfin specific
314 flags.
315
1b315056
CS
3162008-07-09 Craig Silverstein <csilvers@google.com>
317
318 * config.in: Add HAVE_ZLIB_H
319 * configure.in: Add test for libz and zlib.h
320 * configure: Regenerate.
321 * dwarf.c (debug_displays): Add .zdebug_* strings.
322 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
323 and compressed_name.
324 * objdump.c (load_debug_section): Call
325 bfd_uncompress_section_contents when loading a compressed
326 section.
327 (dump_dwarf_section): Recognize compressed section name.
328 (mach_o_dwarf_sections): Rename as
329 mach_o_uncompressed_dwarf_sections.
330 (mach_o_compressed_dwarf_sections): New variable.
331 (generic_dwarf_section): Rename as
332 generic_uncompressed_dwarf_sections.
333 (generic_compressed_dwarf_sections): New variable.
334 (check_mach_o_dwarf): Save and restore
335 mach_o_compressed_dwarf_sections.
336 * readelf.c: Add #include for config.h and zlib.h
337 (process_section_headers): Recognize compressed section name.
338 (uncompress_section_contents): New function.
339 (load_debug_section): Call uncompress_section_contents when
340 loading a compressed section.
341 (display_debug_section): Recognize compressed section name.
342
2b4590fb
AM
3432008-07-07 Alan Modra <amodra@bigpond.net.au>
344
345 * objdump.c (find_symbol_for_address): Prefer symbols in current
346 section.
347
0eb80fd3
AM
3482008-07-07 Alan Modra <amodra@bigpond.net.au>
349
350 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
351 * nlmconv.c (main, powerpc_build_stubs): Likewise.
352 * rescoff.c (write_coff_file): Likewise.
353 * resres.c (write_res_file): Likewise.
354 * windmc.c (windmc_write_bin): Likewise.
355
c1184619
SR
3562008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
357
358 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
359 (dump_relocations): Likewise.
360 (get_machine_name): Likewise.
361 (is_32bit_abs_reloc): Likewise.
362
7a283e07
RW
3632008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
364
365 * configure: Regenerate.
366
ff7eeb89
DD
3672008-06-12 DJ Delorie <dj@redhat.com>
368
369 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
370 (dump_relocations): Likewise.
371 (process_section_headers): Likewise.
372 (is_32bit_abs_reloc): Likewise.
373 (is_16bit_abs_reloc): Likewise.
374
b922d590
NC
3752008-06-12 Nick Clifton <nickc@redhat.com>
376
377 PR binutils/6483
378 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
379 debug information to display, try dumping DWARF information
380 instead.
381 * rddbg.c (read_debugging_info): Add a parameter to suppress the
382 display of a warning message when no debug information is found.
383 * budbg.h (read_debugging_info): Update prototype.
384 * objcopy.c (copy_object): Continue to allow read_debugging_info
385 to produce warning messages.
386 * doc/binutils.texi (--debugging): Document new behaviour of the
387 -g/--debugging option.
388
3201a343
BE
3892008-06-10 Ben Elliston <bje@gnu.org>
390
391 * MAINTAINERS: Remove myself as m68k maintainer.
392
8944f3c2
AM
3932008-05-14 Alan Modra <amodra@bigpond.net.au>
394
395 * Makefile.in: Regenerate.
396 * doc/Makefile.in: Regenerate.
397
cef1fe97
AM
3982008-05-12 Alan Modra <amodra@bigpond.net.au>
399
400 * embedspu.sh: Test for presence of ._ea by looking at section
401 table rather than looking at relocs. Correct toe_addr substitution.
402
8374f9d4
AM
4032008-05-08 Alan Modra <amodra@bigpond.net.au>
404
405 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
406 and if present, put image in ".data.speelf". Put program handle
407 in ".data.spehandle".
408
961c521f
NC
4092008-05-01 Nick Clifton <nickc@redhat.com>
410
411 * readelf.c (print_symbol): Add code to display non-printing
412 characters.
413
830bf75c
NC
4142008-04-30 John Heidemann <johnh@isi.edu>
415
416 * doc/binutils.texi (strings): Add "unicode" to the documentation
417 of strings in order to make explicit that it supports this
418 feature.
419
b391a3e3
AM
4202008-04-30 Alan Modra <amodra@bigpond.net.au>
421
422 * readelf.c (process_program_headers): Correct section in segment
423 display.
424
417ed8af
NC
4252008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
426 Nick Clifton <nickc@redhat.com>
427
428 PR binutils/6449
429 * objdump.c (slurp_file): Open the file in binary mode.
430 * ar.c: Remove conditional definition of O_BINARY.
431 * bin2.c: Likewise.
432 * rename.c: Likewise.
433 * strings.c: Likewise.
434 * sysdep.h: Add conditional definition of O_BINARY.
435
6194aaab
L
4362008-04-23 Paolo Bonzini <bonzini@gnu.org>
437
438 * aclocal.m4: Regenerate.
439 * configure: Regenerate.
440
047c9024
NC
4412008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
442
443 PR binutils/6034
444 * objcopy.c (stuct symlist): Rename to
445 is_specified_symbol_predicate_data.
446 (strip_specific_list): Rename to strip_specific_htab.
447 (strip_unneeded_list): Rename to strip_unneeded_htab.
448 (keep_specific_list): Rename to keep_specific_htab.
449 (localize_specific_list): Rename to localize_specific_htab.
450 (globalize_specific_list): Rename to globalize_specific_htab.
451 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
452 (weaken_specific_list): Rename to weaken_specific_htab.
453 (eq_string): New function.
454 (create_symbol_htab): New function.
455 (create_symbol_htabs): New function.
456 (add_specific_symbol): Change to use hash tables.
457 (is_specified_symbol_predicate): New function.
458 (is_specified_symbol): Use hash table lookup.
459 (is_strip_section): Update to use new functions and hash tables.
460 (filter_symbols): Likewise.
461 (copy_object): Likewise.
462 (copy_section): Likewise.
463 (strip_main): Likewise.
464 (copy_main): Likewise.
465 (main): Likewise.
466
0297aed6
DM
4672008-04-14 David S. Miller <davem@davemloft.net>
468
469 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
470
a262ae96
NC
4712008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
472
473 * dwarf.c (display_debug_lines): Rename to
474 display_debug_lines_raw.
475 (display_debug_lines_decoded): New function. Displays the
476 interpreted contents of a .debug_line section.
477 (display_debug_lines): New function: Selects either a raw dump or
478 a decoded dump (or both) as requested by the user.
479 * dwarf.h (do_debug_lines_decoded): New extern.
480 * readelf.c: Add support for -wL or --debug-dump=decodedline
481 option to display the decoded contents of a .debug_line section.
482 * doc/binutils.texi: Document the new option.
483 * NEWS: Mention the new feature.
484
cecf136e
AM
4852008-04-08 Alan Modra <amodra@bigpond.net.au>
486
487 * dwarf.c: Remove trailing whitespace throughout file.
488
1419b114
NC
4892008-04-04 Nick Clifton <nickc@redhat.com>
490
491 * po/sk.po: Updated Slovak translation.
492
c0f3af97
L
4932008-04-03 H.J. Lu <hongjiu.lu@intel.com>
494
495 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
496 (dwarf_regnames_x86_64): Likewise.
497
a8da6403
NC
4982008-03-27 Cary Coutant <ccoutant@google.com>
499
c0f3af97 500 Add support for thin archives.
a8da6403
NC
501 * ar.c (make_thin_archive): New global flag.
502 (map_over_members): Deal with full pathnames in thin archives.
503 (usage, main): Add 'T' option for building thin archives.
504 (replace_members): Pass thin archive flag to ar_emul_append.
505 * arsup.c (ar_open): Initialize new flag.
506 * binemul.c (ar_emul_append): Add new parameter for
507 flattening nested archives.
508 (do_ar_emul_default_append): New function.
509 (ar_emul_default_append): Factored out recursive code.
510 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
511 (struct bin_emulation_xfer_struct): New parameter for ar_append.
512 * dlltool.c (gen_lib_file): Initialize thin archive flag.
513 * emul_aix.c (ar_emul_aix_internal): Add new flatten
514 parameter, currently unimplemented.
515 All callers changed.
516 * objcopy.c (copy_archive): Preserve thin archive flag.
517 * doc/binutils.texi: Update ar documentation.
518 * NEWS: Mention the new feature.
519
bbeee7ea
L
5202008-03-20 H.J. Lu <hongjiu.lu@intel.com>
521
522 * readelf.c (process_mips_specific): Declare addr_size as int.
523
ccb4c951
RS
5242008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
525
526 * readelf.c (print_mips_got_entry): New function.
527 (process_mips_specific): Print GOT information.
528
58c85be7
RW
5292008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
530
531 * aclocal.m4: Regenerate.
532 * configure: Likewise.
533 * Makefile.in: Likewise.
534 * doc/Makefile.in: Likewise.
535
c59aaa83
BD
5362008-03-16 Brian Dessent <brian@dessent.net>
537
538 * rcparse.y (resid): Allow control text to span multiple lines.
539
72de5009
AM
5402008-03-13 Alan Modra <amodra@bigpond.net.au>
541
542 * readelf.c: Use %u throughout when printing sh_link or sh_info,
543 %lu when printing sh_addralign.
544 (process_version_sections): Use identical formats when printing
545 all offset and sh_link fields.
546
50e7d84b
AM
5472008-03-13 Alan Modra <amodra@bigpond.net.au>
548
549 * Makefile.am: Run "make dep-am".
550 * Makefile.in: Regenerate.
551 * doc/Makefile.in: Regenerate.
552 * configure: Regenerate.
553
4fbb74a6
AM
5542008-03-12 Alan Modra <amodra@bigpond.net.au>
555
556 PR 5900
557 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
558 Remove use throughout file.
559 (SECTION_HEADER): Likewise.
560 (dump_relocations): Don't adjust st_shndx for reserved range.
561 (process_file_header): Mask SHN_XINDEX to values seen in external
562 elf structs. Simplify valid section index tests.
563 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
564 Map reserved st_shndx to internal form.
565 (process_section_groups): Test that group symbol st_shndx is in
566 range, not just non-zero. Delete reserved range check.
567 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
568 OS or RSV.
569
b1cc4aeb
PB
5702008-03-09 Paul Brook <paul@codesourcery.com>
571
572 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
573
4b3be0b6
JW
5742008-03-03 James E. Wilson <wilson@tuliptree.org>
575
576 * MAINTAINERS: Update my email address.
577
35d60fe4
NC
5782008-03-03 Nick Clifton <nickc@redhat.com>
579
580 * dwarf.c (decode_location_expression): Handle
581 DW_OP_PGI_omp_thread_num.
582
d253b654
AM
5832008-03-01 Alan Modra <amodra@bigpond.net.au>
584
585 * objdump.c (objdump_print_addr): Initialise "sym".
586
20c0b65d
NC
5872008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
588 Nick Clifton <nickc@redhat.com>
589
590 * ar.c (usage): Mention -t command line switch.
591 * doc/binutils.texi (ranlib): Document -t command line switch.
592
32760852
NC
5932008-02-26 Nick Clifton <nickc@redhat.com>
594
595 * objdump.c (objdump_print_addr): If displaying file offsets, show
596 the offset even if there are no symbols available.
597 (dump_section): Display nothing if none of the section is going to
598 be dumped. Display the file offset, if requested, of the location
599 from where the dump starts.
600 * doc/binutils.texi (objdump): Mention that dumping via the -s
601 switch is also affected by the -F option.
602
fa0d8a3e
NC
6032008-02-26 Nick Clifton <nickc@redhat.com>
604
605 Re-apply this patch which was accidentally deleted:
606 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
607
608 * doc/binutils.texi: Use "Binutils Index" for index name.
609
98ec6e72
NC
6102008-02-22 Nick Clifton <nickc@redhat.com>
611
612 * objdump.c (display_file_offsets): New variable.
613 (long_options): Add -F/--file-offsets.
614 (objdump_print_addr_with_sym): If displaying file offsets, print
615 the offset of the given address.
616 (disassemble_bytes): If displaying file offsets, tell the user how
617 many zeroes are skipped and the file offset of the point where
618 dumping resumes.
619 (disassemble_section): Only display the name of the section if
620 data is going to be dumped from it.
621 (main): Handle new option. Produce error messages if the start or
622 stop addresses do not make sense.
623 * doc/binutils.texi: Document the new feature.
624 * NEWS: Mention the new feature.
625
7cefd12b
NC
6262008-02-15 Chu Li <chul@cn.fujitsu.com>
627 Nick Clifton <nickc@redhat.com>
c904a764
NC
628
629 PR binutils/5713
630 * strings.c (integer_arg): Delete function.
631 (string_min): Initialise to 4.
632 (main): Use strtoul to parse integer arguments.
633 Move check for an invalid string length to after all the arguments
634 have been parsed.
635 (usage): Use indentation to indicate that -<n> is a another form
636 of the --bytes= command line option.
637
fd64a958
NC
6382008-02-12 Nick Clifton <nickc@redhat.com>
639
640 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
641 the argument.
642 (scan_obj_filename): Do not drop the const qualifier when calling
643 mcore_elf_cache_filename.
644 (struct fname_cache): Add const qualifier to filename field.
645
d51c3015
L
6462008-02-08 H.J. Lu <hongjiu.lu@intel.com>
647
648 PR binutils/5713
649 * strings.c (main): Set string_min to 4 if it is <= 0.
650
ee832e18
AM
6512008-02-07 Alan Modra <amodra@bigpond.net.au>
652
653 * objdump.c (main): Don't pass unadorned NULL to concat.
654
bb8541b9
L
6552008-02-04 H.J. Lu <hongjiu.lu@intel.com>
656
657 PR 5715
658 * configure: Regenerated.
659
05c6f050
AN
6602008-02-03 Adam Nemet <anemet@caviumnetworks.com>
661
662 * readelf.c (get_machine_flags): Handle Octeon.
663
148b93f2
NC
6642008-01-30 Tristan Gingold <gingold@adacore.com>
665
666 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
667 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
668 (get_dynamic_type): Handle IA64-specific tags.
669 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
670 (get_section_type_name): Handle OS-specific sections (and
671 particularly IA64 OpenVMS one).
672 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
673 decode them.
674
2d9472a2
NC
6752008-01-29 Nick Clifton <nickc@redhat.com>
676
677 * dwarf.c (print_dwarf_vma): New function. Display the value of a
2e14fae2 678 dwarf_vma type at a specified precision. Use mingw field type
68e08bce 679 specifier if necessary.
2d9472a2
NC
680 (display_debug_loc): Use dwarf_vma type for begin and end values.
681 Use print_dwarf_vma to display their values. Use byte_get_signed
682 in order to correctly detect the -1 escape value.
683 (display_debug_aranges): Likewise.
684 (display_debug_ranges): Likewise.
685
fefffff8
AM
6862008-01-29 Alan Modra <amodra@bigpond.net.au>
687
688 * dwarf.c (display_debug_loc): Correct test for base address
689 entry when 64-bit host dumping 32-bit object.
690
ccdb9c9f
AM
6912008-01-29 Alan Modra <amodra@bigpond.net.au>
692
693 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
694
e36ea2de
NC
6952008-01-28 Nick Clifton <nickc@redhat.com>
696
697 PR binutils/5529
698 * rclex.c (yylex): Also allow the hypen character.
699
2dc4cec1
L
7002008-01-28 H.J. Lu <hongjiu.lu@intel.com>
701
702 * dwarf.c: Include "elf/common.h".
703 (eh_addr_size): Changed to int.
704 (dwarf_regnames_i386): New.
705 (dwarf_regnames_x86_64): Likewise.
706 (dwarf_regnames): Likewise.
707 (dwarf_regnames_count): Likewise.
708 (init_dwarf_regnames): Likewise.
709 (regname): Likewise.
710 (frame_display_row): Properly support different address size.
711 Call regname to get register name.
712 (display_debug_frames): Call regname to get register name.
713 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
714 instead of DW_CFA_def_cfa_reg.
715
716 * dwarf.h (init_dwarf_regnames): New.
717
718 * objdump.c: Include "elf-bfd.h".
719 (dump_dwarf): Call init_dwarf_regnames on ELF input.
720
721 * readelf.c (guess_is_rela): Change argument to int.
722 (parse_args): Remove the undocumented upper case options for
723 -wX.
a65c77b9 724 (process_file_header): Call init_dwarf_regnames.
2dc4cec1 725
f4236fe4
DD
7262008-01-25 DJ Delorie <dj@redhat.com>
727
728 * readelf.c (process_section_headers): Add m16c handler.
729 (is_16bit_abs_reloc): Recognize R_M32C_16.
730
6e3d6dc1
NC
7312008-01-25 Kai Tietz <kai.tietz@onevision.com>
732
733 * prdbg.c: Correct formatter style use.
734 * readelf.c: Likewise.
735 * strings.c: Likewise.
736
5ca3b13d
NC
7372008-01-25 Nick Clifton <nickc@redhat.com>
738
739 * po/ru.po: Updated Russian translation.
740
fabda5a7
L
7412008-01-17 H.J. Lu <hjl.tools@gmail.com>
742
743 * MAINTAINERS: Update my email address.
744
1febe64d
NC
7452008-01-14 Nick Clifton <nickc@redhat.com>
746
747 * dwarf.c (process_debug_info): Include the CU offset and corrupt
748 version value when reporting unrecognised DWARF version numbers.
749 (load_debug_info): Remember a failed attempt to load and parse the
750 .debug_info section and do not repeat such attempts.
751 (display_debug_lines): Check the return value from load_debug_info
752 and return whilst displaying a warning message if the load failed.
753 (display_debug_loc): Likewise.
754 (display_debug_ranges): Likewise.
cc86f28f
NC
755 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
756 when the .debug_info section could not be loaded/parsed.
757 (process_debug_info): Display the length of the compilation unit
758 in hex, so that it corresponds with the offsets that will follow.
759 Tell the user if the length was 32-bit or 64-bit.
760 If a DIE abbreviation could not be found, tell the user the offset
761 of the DIE.
762 (free_debug_memory): Do not attempt to free any entries in the
763 debug_information array if num_debug_info_entries is set to
764 DEBUG_INFO_UNAVAILABLE.
1febe64d 765
e819ade1
AS
7662008-01-10 Andreas Schwab <schwab@suse.de>
767
768 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
769
d25576aa
NC
7702008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
771
772 PR binutils/55326
773 * bucomm.c (list_supported_architectures): Free architecture list
774 after use.
775 * windres.c (set_endianess): Likewise.
776 * windmc.c (set_endianess): Likewise.
777
aeafac0c
KT
7782008-01-08 Kai Tietz <kai.tietz@onevision.com>
779
e36ea2de 780 PR binutils/5529
aeafac0c 781 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
e36ea2de 782 characters for name tokens.
aeafac0c 783
3c75e4f8
GM
7842008-01-04 Greg McGary <greg@mcgary.org>
785
786 * prdbg.c (print_vma): Print as long long, if host supports it.
787
ec4d4525
NC
7882008-01-03 Nick Clifton <nickc@redhat.com>
789
790 * dwarf.c (read_and_display_attr_value): Prefix values that are
791 displayed in hexadecimal with 0x.
792 For the DW_AT_import attribute display the abbreviation number and
793 tag of the imported DIE.
794 (process_debug_info): Warn about lengths that reserved by the
795 DWARF3 specification.
796 Provide more information when corrupted DIEs are detected.
797 Warn if DIE corruption makes the sibling level negative.
798
6c7ac64e 799For older changes see ChangeLog-2007
252b5132
RH
800\f
801Local Variables:
802mode: change-log
803left-margin: 8
804fill-column: 74
805version-control: never
806End:
This page took 0.447757 seconds and 4 git commands to generate.