1 2005-12-30 Jie Zhang <jie.zhang@analog.com>
3 * readelf.c (get_machine_name): Add case for Blackfin.
5 2005-12-27 Alan Modra <amodra@bigpond.net.au>
7 * Makefile.am: Run "make dep-am".
8 (Makefile): Remove dependency.
9 * Makefile.in: Regenerate.
11 2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13 * MAINTAINERS: Add myself as VAX maintainer.
15 2005-12-22 Randolph Chung <tausq@debian.org>
17 * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$
18 entry to names[] array for SOM binaries.
20 2005-12-21 H.J. Lu <hjl@gnu.org>
22 * MAINTAINERS: Add myself as x86_64 maintainer.
24 2005-12-16 Nathan Sidwell <nathan@codesourcery.com>
26 Second part of ms1 to mt renaming.
27 * readelf.c (guess_is_rela): Use EM_MT.
28 (dump_relocations, get_machine_name): Adjust.
30 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
32 * Makefile.am: Replace ms1 files with mt files.
33 * Makefile.in: Rebuilt.
34 * readelf.c (elf/mt.h): Adjust #include.
36 2005-11-30 Nick Clifton <nickc@redhat.com>
38 * configure.in (ALL_LINGUAS): Add fi.
39 * configure: Regenerate.
40 * po/fi.po: New file: Finnish translation.
42 2005-11-21 Arnold Metselaar <arnoldm@sourceware.org>
44 * MAINTAINERS: add myself as Z80 maintainer
46 2005-11-17 Andrew Haley <aph@redhat.com>
48 * cxxfilt.c (main): Flush output at newline.
50 2005-11-16 Mark Mitchell <mark@codesourcery.com>
52 * doc/binutils.texi: Include config.texi and @file documentation
55 2005-11-15 Jan Beulich <jbeulich@novell.com>
57 * objcopy.c (keep_file_symbols): New.
58 (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS.
59 (strip_options): Add --keep-file-symbols.
60 (copy_options): Likewise.
61 (copy_usage): Likewise.
62 (strip_usage): Likewise.
63 (filter_symbols): Act upon keep_file_symbols.
64 (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS.
65 (copy_main): Likewise.
66 * doc/binutils.texi: Document --keep-file-symbols for objcopy
69 2005-11-14 Daniel Jacobowitz <dan@codesourcery.com>
71 * readelf.c (struct dump_list_entry, request_dump_byname)
72 (initialise_dumps_byname): New.
73 (parse_args): Call request_dump_byname.
74 (process_section_contents): Call initialise_dumps_byname.
75 * doc/binutils.texi (readelf): Mention -x NAME.
78 2005-11-11 Nick Clifton <nickc@redhat.com>
81 * readelf.c (get_mips_symbol_other): New function.
82 (get_symbol_other): New function.
83 (process_symbol_table): Call get_symbol_other() to get a
84 description of the st_other field if it contains more information
85 than just the visibility.
87 2005-11-07 Steve Ellcey <sje@cup.hp.com>
89 * configure: Regenerate after modifying bfd/warning.m4.
91 2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
93 * Makefile.am: Run "make dep-am".
94 * Makefile.in: Regenerated.
96 * dep-in.sed: Replace " ./" with " ".
98 2005-10-25 Alan Modra <amodra@bigpond.net.au>
100 * po/POTFILES.in: Regenerate.
101 * po/binutils.pot: Regenerate.
103 2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com>
105 * MAINTAINERS: Add self as BFIN maintainer.
107 2005-10-18 Jie Zhang <jie.zhang@analog.com>
109 * MAINTAINERS: Add self as BFIN maintainer.
111 2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
113 * rclex.l (handle quotes): Stop parsing hex notation escaped
114 chars after the first two digits,
116 2005-10-11 Nick Clifton <nickc@redhat.com>
119 * cxxfilt.c (flags): Remove DMGL_TYPES;
120 (long_options): Rename --no-types to --types.
122 (demangle_it): Add a comment describing why _ and $ prefixes are
123 skipped. Use printf rather than puts to emit the demangled output
124 in order to avoid emitting a new line character.
125 (main): Have the -t flag enable type demangling.
126 Emit a newline after every demangled command line argument.
127 Copy whitespace from stdin to stdout.
128 * doc/binutils.texi (c++filt): Document the change to the -t
130 Document why demangling names on the command line is slightly
131 different to demangling names read from the standard input.
133 2005-10-10 Mark Mitchell <mark@codesourcery.com>
135 * doc/Makefile.am (config.texi): Set top_srcdir.
136 * doc/Makefile.in: Regenerated.
137 * doc/binutils.texi: Use at-file.texi from libiberty.
139 2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
142 * readelf.c (ABSADDR): New.
143 (dump_ia64_unwind): Use ABSADDR to get the unwind info address.
145 2005-10-10 Thomas Weidenmueller <w3seek@reactos.com>
147 * resbin.c (res_to_bin_accelerator): Place the terminating NUL at
148 the correct location in the bindata structure.
150 2005-10-10 Bryce Schober <bryce.schober@dynonavionics.com>
152 * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be
155 2005-10-04 Nick Clifton <nickc@redhat.com>
157 * cxxfilt.c: Treat mangled names specified on the command line in
158 the same way as mangled names read from stdin.
159 Add -i switch to disable the display of implementation details.
160 Add -t switch to disable the demangling of types.
161 * NEWS: Mention the new switches.
162 * doc/binutils.texi (cxxfilt): Document the -i and -t switches.
164 2005-10-03 Mark Mitchell <mark@codesourcery.com>
166 * addr2line.c (usage): Document @file.
167 * ar.c (usage): Likewise.
168 * coffdump (usage): Likewise.
169 * cxxfilt.c (usage): Likewise.
170 * dlltool.c (usage): Likewise.
171 * dllwrap.c (usage): Likewise.
172 * nlmconv.c (usage): Likewise.
173 * nm.c (usage): Likewise.
174 * objcopy.c (usage): Likewise.
175 * objdump.c (usage): Likewise.
176 * readelf.c (usage): Likewise.
177 * size.c (usage): Likeise.
178 * srconv.c (usage): Likewise.
179 * strings.c (usage): Likewise.
180 * windres.c (usage): Likewise.
181 * doc/binutils.texi: Add section on common options.
183 2005-10-03 H.J. Lu <hongjiu.lu@intel.com>
185 * NEWS: Mention -W/--dwarf.
187 * doc/binutils.texi: Document -W/--dwarf for objdump.
189 2005-10-01 Paul Brook <paul@codesourcery.com>
191 * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
192 arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
193 arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
194 arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
195 arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
196 arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
197 arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
198 arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
199 arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
200 arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
201 arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
202 arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
203 arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
204 (display_arm_attribute, process_arm_specific): New functions.
205 (process_arch_specific): Add EM_ARM.
207 2005-09-30 Mark Mitchell <mark@codesourcery.com>
209 * dlltool.c (main): Fix typo.
210 * windres.c (main): Likewise.
212 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
214 * Makefile.in: Regenerated.
216 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
218 * sysinfo.y (main): Undo last change.
220 2005-08-30 Mark Mitchell <mark@codesourcery.com>
222 * addr2line.c (main): Use expandargv.
223 * ar.c (main): Likewise.
224 * coffdump.c (main): Likewise.
225 * cxxfilt.c (main): Likewise.
226 * dlltool.c (main): Likewise.
227 * dllwrap.c (main): Likewise.
228 * nlmconv.c (main): Likewise.
229 * nm.c (main): Likewise.
230 * objcopy.c (main): Likewise.
231 * objdump.c (main): Likewise.
232 * readelf.c (main): Likewise.
233 * size.c (main): Likeiwse.
234 * srcconv.c (main): Likewise.
235 * strings.c (main): Likewise.
236 * sysdump.c (main): Likewise.
237 * sysinfo.y (main): Likewise.
238 * windres.c (main): Likewise.
240 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
242 * Makefile.am: Run "make dep-am".
243 * Makefile.in: Regenerated.
244 * aclocal.m4: Likewise.
246 2005-09-30 Catherine Moore <clm@cm00re.com>
248 * Makefile.am: Bfin support.
249 * Makefile.in: Regenerated.
250 * aclocal.m4: Regenerated.
251 * readelf.c (elf/bfin.h): Include.
252 (guess_is_rela): EM_BLACKFIN support.
253 (dump_relocations): Likewise.
255 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
257 * dwarf.c (fetch_indirect_string): Adjust for section address.
258 (process_debug_info): Likewise.
259 (display_debug_loc): Likewise.
260 (display_debug_ranges): Likewise.
262 * objdump.c (mach_o_dwarf_sections): New.
263 (generic_dwarf_sections): Likewise.
264 (check_mach_o_dwarf): Likewise.
265 (dump_dwarf): Call check_mach_o_dwarf.
267 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
269 * Makefile.am (objdump_SOURCES): Add dwarf.c.
270 * Makefile.in: Regenerated.
272 * objdump.c: Include "dwarf.h".
273 (usage): Add -W/--dwarf.
274 (long_options): Likewise.
275 (dump_dwarf_section_info): New.
276 (load_debug_section): Likewise.
277 (free_debug_section): Likewise.
278 (dump_dwarf_section): Likewise.
279 (dump_dwarf): Likewise.
280 (dump_bfd): Load symbol table and call dump_dwarf if
281 dump_dwarf_section_info isn't zero.
282 (main): Handle -W/--dwarf.
284 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
286 * readelf.c: Reordered.
287 (is_relocatable): New.
288 (dwarf_section): New structure for DWARF section.
289 (load_debug_section): New.
290 (free_debug_section): Likewise.
291 (debug_str_section): Likewise.
292 (debug_abbrev_section): Likewise.
293 (debug_str_contents): Removed.
294 (debug_str_size): Likewise.
295 (debug_loc_contents): Likewise.
296 (debug_loc_size): Likewise.
297 (debug_range_contents): Likewise.
298 (debug_range_size): Likewise.
299 (load_debug_str): Likewise.
300 (free_debug_str): Likewise.
301 (load_debug_loc): Likewise.
302 (free_debug_loc): Likewise.
303 (load_debug_arange): Likewise.
304 (free_debug_arange): Likewise.
305 (load_debug_abbrev): Likewise.
306 (free_debug_abbrev): Likewise.
307 (fetch_indirect_string): Updated.
308 (debug_apply_rela_addends): Likewise.
309 (process_debug_info): Likewise.
310 (get_debug_info): Likewise.
311 (display_debug_lines): Likewise.
312 (display_debug_pubnames): Likewise.
313 (display_debug_macinfo): Likewise.
314 (display_debug_abbrev): Likewise.
315 (display_debug_loc): Likewise.
316 (display_debug_str): Likewise.
317 (display_debug_info): Likewise.
318 (display_debug_aranges): Likewise.
319 (display_debug_ranges): Likewise.
320 (display_debug_frames): Likewise.
321 (display_debug_not_supported): Likewise.
322 (debug_displays): Likewise.
323 (display_debug_section): Likewise.
324 (get_file_header): Set is_relocatable.
326 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
328 * readelf.c (debug_apply_rela_addends): Relocate the whole
330 (process_debug_info): Don't call debug_apply_rela_addends.
331 (display_debug_frames): Likewise.
332 (get_debug_info): Call debug_apply_rela_addends.
333 (debug_displays): Add the "relocate" field.
334 (display_debug_section): Call debug_apply_rela_addends if
337 2005-09-30 Matthias Kurz <mk@baerlap.north.de>
339 * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris
340 version of <locale.h> when ENABLE_NLS is not defined.
342 2005-09-26 Mark Mitchell <mark@codesourcery.com>
344 * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
346 2005-09-20 Richard Henderson <rth@redhat.com>
348 * readelf.c (display_debug_lines): Use unsigned long for address
349 increments. Use 0x prefix for all hex numbers.
351 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
353 * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
356 2005-09-07 H.J. Lu <hongjiu.lu@intel.com>
358 * readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
360 2005-09-02 H.J. Lu <hongjiu.lu@intel.com>
362 * readelf.c (debug_abbrev_contents): New.
363 (debug_abbrev_size): Likewise.
364 (load_debug_abbrev): Likewise.
365 (free_debug_abbrev): Likewise.
366 (process_debug_info): Use them.
368 2005-08-17 H.J. Lu <hongjiu.lu@intel.com>
371 * objdump.c (disassemble_bytes): Don't adjust
373 (adjust_addresses): Don't adjust vma for debugging section.
374 Adjust lma only for relocatable files.
375 (dump_bfd): Tell adjust_addresses if it is a relocatable file.
377 2005-08-16 H.J. Lu <hongjiu.lu@intel.com>
379 * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
381 * configure.in (AC_GNU_SOURCE): Added.
382 (AC_CHECK_DECLS): Add stpcpy.
383 * configure: Regenerated.
384 * config.in: Likewise.
386 2005-08-16 Jakub Jelinek <jakub@redhat.com>
388 * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
389 UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
392 2005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
394 * doc/binutils.texi (objdump): Document -M e300.
396 2005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
398 * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
399 Don't access table entries past the end of the table.
401 2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
403 * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
404 (get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
406 2005-08-11 H.J. Lu <hongjiu.lu@intel.com>
408 * NEWS: Mention "-t/--section-details" and
409 "-N/--full-section-name".
411 * doc/binutils.texi: Document "-t/--section-details". Remove
412 "-N/--full-section-name".
414 * readelf.c (do_full_section_name): Renamed to ...
415 (do_section_details): This.
416 (option): Rename "-N/--full-section-name" to
417 "-t/--section-details".
419 (parse_args): Likewise.
420 (get_elf_section_flags): Support do_section_details.
421 (process_section_headers): Updated for do_section_details.
423 2005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
425 * readelf.c (get_parisc_dynamic_type): Add new dynamic types.
426 (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when
427 e_machine is EM_PARISC.
428 (get_parisc_segment_type): Add new segment types.
429 (get_parisc_section_type_name): Add new section names.
430 (dynamic_section_parisc_val): Add new table entries.
432 2005-08-01 Filip Navara <navaraf@reactos.com>
434 * dlltool.c (alphafunc): Remove and replace usage with nfunc.
435 (nfunc): Fix sorting of fastcall symbols when --kill-at is used.
437 2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
439 * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
440 (get_symbol_index_type): Likewise.
441 (get_elf_section_flags): Handle SHF_X86_64_LARGE.
443 2005-07-21 Eric Christopher <echristo@apple.com>
445 * MAINTAINERS: Change affiliation.
447 2005-07-19 Ben Elliston <bje@au.ibm.com>
449 * readelf.c (read_and_display_attr_value): Remove comment adjacent
450 to DW_ATE_decimal_float about it being a GNU extension.
452 2005-07-18 Nick Clifton <nickc@redhat.com>
454 * binemul.c: Fix name of Red Hat.
455 * binemul.h: Likewise.
456 * emul_aix.c: Likewise.
457 * emul_vanilla: Likewise.
459 2005-07-18 Ben Elliston <bje@au.ibm.com>
461 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
462 value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
464 2005-07-16 Alan Modra <amodra@bigpond.net.au>
466 * Makefile.am: Run "make dep-am".
467 * Makefile.in: Regenerate.
469 2005-07-15 Eric Christopher <echristo@redhat.com>
471 * MAINTAINERS: Change affiliation.
473 2005-07-14 Jim Blandy <jimb@redhat.com>
475 * readelf.c: #include "elf/m32c.h"
476 (guess_is_rela, dump_relocations, get_machine_name): Add cases for
478 * Makefile.am (readelf.o): Update dependencies.
479 * Makefile.in: Regenerated.
481 2005-07-08 Ben Elliston <bje@au.ibm.com>
483 * bucomm.h: Include <stdarg.h> unconditionally, not only when
484 ANSI_PROTOTYPES is defined. Remove #ifdef logic.
485 * dlltool.c: Likewise.
486 * dllwrap.c: Likewise.
488 2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
490 * bucomm.h (report): Add format attribute.
491 * dlltool.c (inform): Likewise.
492 * dllwrap.c (display, inform, warn): Likewise.
493 * objdump.c (objdump_sprintf): Likewise.
494 * readelf.c (error, warn): Likewise. Fix format bugs.
496 2005-07-05 Dmitry V. Levin <ldv@altlinux.org>
497 Nick Clifton <nickc@redhat.com>
499 * strings.c (filename_and_size_t): New typedef.
500 (strings_a_section): Skip sections with size greater or equal to
501 the file size. Cache the file size to avoid repeated stat()s.
502 (strings_object_file): Pass filename_and_size_t argument to
503 strings_a_section() via bfd_map_over_sections().
505 2005-07-04 Alan Modra <amodra@bigpond.net.au>
508 * objcopy.c (copy_object): Use bfd_make_section_with_flags.
509 (write_debugging_info): Likewise.
510 (setup_section): Use bfd_make_section_anyway_with_flags.
512 2005-07-01 Steve Ellcey <sje@cup.hp.com>
514 * configure.in (AM_BINUTILS_WARNINGS): Add.
515 (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
516 * configure: Regenerate.
517 * config.in: Regenerate.
518 * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
519 * bucomm.h: (NEED_DECLARATION_*): Ditto.
521 2005-06-30 Ben Elliston <bje@gnu.org>
523 * Makefile.am (check-DEJAGNU): Don't search for expect.
524 * Makefile.in: Regenerate.
526 2005-06-30 Ben Elliston <bje@gnu.org>
528 * Makefile.am (EXPECT): Set to expect.
529 (RUNTEST): Likewise, set to runtest.
530 * Makefile.in: Regenerate.
532 2005-06-17 Jakub Jelinek <jakub@redhat.com>
534 * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
535 (process_section_headers): Use it.
536 (process_relocs): Don't crash if symsec is not SHT_SYMTAB
538 (process_version_sections): Use sizeof (Elf_External_Versym)
539 instead of sh_entsize.
541 2005-06-16 Nick Clifton <nickc@redhat.com>
543 * rename.c (simple_copy): Only define if it is going to be used.
544 (smart_rename): Mark the preserve_dates parameter as possibly
547 * resres.c (write_res_data): Prevent a potential compile time
548 warning by casting the return value from fwrite.
550 2005-06-14 H.J. Lu <hongjiu.lu@intel.com>
553 * ar.c (BUFSIZE): Moved to ...
554 * bucomm.h (BUFSIZE): Here.
556 * bucomm.c: Include <assert.h>.
557 (bfd_get_archive_filename): New.
558 * bucomm.h (bfd_get_archive_filename): New.
560 * objcopy.c (copy_unknown_object): New.
561 (copy_object): Use bfd_get_archive_filename when reporting input
562 error. Don't call fatal on unknown arch.
563 (copy_archive): Call copy_unknown_object on unknown format or
566 2005-06-14 Jakub Jelinek <jakub@redhat.com>
568 * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
569 (get_data): Add nmemb argument. Return NULL if nmemb * size
570 overflows. If var == NULL, allocate one extra byte and
572 (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
573 get_64bit_program_headers, get_program_headers,
574 get_32bit_section_headers, get_64bit_section_headers,
575 get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
576 process_section_groups, process_relocs, slurp_ia64_unwind_table,
577 ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
578 get_32bit_dynamic_section, get_64bit_dynamic_section,
579 process_dynamic_section, process_version_sections, get_dynamic_data,
580 process_symbol_table, dump_section, load_debug_str, load_debug_loc,
581 load_debug_range, read_and_display_attr_value, process_debug_info,
582 get_debug_info, frame_need_space, display_debug_frames,
583 display_debug_section, process_mips_specific, process_gnu_liblist,
584 process_corefile_note_segment): Adjust get_data callers. Use
585 cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
586 passed size is a product of 2 numbers.
588 * readelf.c (print_mode): Fix comment typo.
589 (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
590 (dump_relocations): Fix a thinko in check for invalid st_name.
591 (process_program_headers): Don't crash if string_table is NULL.
592 (process_section_headers): Don't crash if e_shstrndx is invalid.
593 Ensure string_table_length is 0 if string_table == NULL.
594 Don't return just because string_table is NULL.
595 (process_section_groups): Don't crash if symtab's sh_link or
596 symbol's st_name is invalid. Fix a memory leak. Fix check for
597 invalid section number entry.
598 (process_relocs): Don't crash if relocation or symbol section's
600 (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
601 relocation section's sh_info is invalid.
602 (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
603 table's sh_link is invalid.
604 (process_version_sections): Don't crash on version or symbol
605 section's sh_link is invalid. Don't crash if symbol's st_shndx
607 (process_symbol_table): Don't crash if string table is corrupt
608 or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
609 (debug_apply_rela_addends): Don't crash if relocation section's
610 sh_info or sh_link is invalid.
611 (display_debug_loc): Warn for unterminated .debug_loc section
612 or start offsets not within .debug_loc section boundaries.
613 (process_gnu_liblist): Don't crash if liblist section's sh_link
614 or entry's l_name is invalid.
616 2005-06-09 Jakub Jelinek <jakub@redhat.com>
618 * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
619 If q->howto->name == NULL, print q->howto->type as number instead.
620 (dump_reloc_set): Likewise.
622 2005-06-07 Eric Christopher <echristo@redhat.com>
624 * readelf.c (guess_is_rela): Support ms1.
625 (dump_relocations): Ditto.
626 (get_machine_name): Ditto.
628 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
629 Michael Snyder <msnyder@redhat.com>
630 Stan Cox <scox@redhat.com>
632 * Makefile.am (readelf.o): Depend on ms1.h.
634 * Makefile.in: Regenerate.
636 * readelf.c: Include ms1.h.
638 2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
641 * nm.c (print_symbol): Call bfd_find_line before
642 bfd_find_nearest_line.
644 2005-06-06 Alan Modra <amodra@bigpond.net.au>
646 * NEWS: Mention new powerpc ld support.
648 2005-06-03 Steve Ellcey <sje@cup.hp.com>
650 * configure.in: Check for getc_unlocked prototype.
651 * configure: Regenerate.
652 * config.in: Regenerate.
653 * strings.c (get_char): Only call getc_unlocked if we have seen a
656 2005-06-03 Nick Clifton <nickc@redhat.com>
658 * configure.in (ALL_LINGUAS): Add zh_TW
659 * configure: Regenerate.
660 * po/zh_TW.po: New Chinese (traditional) translation.
662 2005-05-31 Richard Henderson <rth@redhat.com>
664 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
666 2005-05-29 Richard Henderson <rth@redhat.com>
668 * readelf.c (get_alpha_dynamic_type): New.
669 (get_dynamic_type): Call it.
671 2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
673 * readelf.c (process_section_groups): Report group section
674 index. Check if the section member index is valid.
676 2005-05-23 Fred Fish <fnf@specifixinc.com>
678 * addr2line.c (unwind_inlines): New flag for 'i' option.
679 (usage): Document '-i' option.
680 (long_options): Recognize '--inlines'.
681 (translate_addresses): Loop, calling bfd_find_inliner_info as
682 necessary and printing multiple output lines.
683 (main): Handle 'i' option.
684 * doc/binutils.texi (addr2line): Document '-i' option.
685 * NEWS: Mention new addr2line '-i' option.
687 2005-05-23 Nick Clifton <nickc@redhat.com>
689 * readelf.c (fetch_indirect_string): Display a warning message
690 when a corrupt DW_FORM_strp value is encountered.
692 (process_debug_info): Mention that the compilation unit offset is
693 being displayed in hexadecimal.
695 (display_debug_lines): Fix typo in name of .debug_line section.
697 2005-05-19 Zack Weinberg <zack@codesourcery.com>
699 * Makefile.am: Have 'all' depend on 'info'.
700 * Makefile.in: Regenerate.
702 2005-05-19 Ben Elliston <bje@au.ibm.com>
704 * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
705 value of DW_ATE_GNU_decimal_float.
707 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
709 * doc/Makefile.am (config.texi): Don't use $<.
710 * doc/Makefile.in: Regenerated.
712 2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
714 * deflex.l: Ignore CRs
716 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
718 * acinclude.m4: Remove obsolete code.
719 * configure.in: Update AC_PREREQ.
720 * doc/Makefile.am (binutils_TEXINFOS): Define.
721 (config.texi): Depend on distributed files instead of built
723 (binutils.dvi, binutils.info): Remove unnecessary rules.
724 (DISTCLEANFILES): Remove.
725 (install-data-local): Renamed from install.
726 (info-local): Renamed from info.
727 * Makefile.in, aclocal.m4, config.in, configure,
728 doc/Makefile.in: Regenerated.
730 2005-05-14 Alan Modra <amodra@bigpond.net.au>
732 * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
735 2005-05-13 Fred Fish <fnf@specifixinc.com>
737 * readelf.c: Fix a couple of obvious comment typos,
738 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
740 2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
742 * readelf.c (dump_ia64_unwind): Get stamp with proper size.
744 2005-05-12 Nick Clifton <nickc@redhat.com>
746 * readelf.c (display_debug_lines): If pointer_size has not been
747 found then assume that it is 4 in order to prevent a seg fault
748 when process_extend_line_op attempts to read the line data.
750 2005-05-11 Alan Modra <amodra@bigpond.net.au>
752 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
753 (get_dynamic_type): Call the above.
755 2005-05-07 Nick Clifton <nickc@redhat.com>
757 * Update the address and phone number of the FSF organization in
758 the GPL notices in the following files:
759 aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
760 arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
761 budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
762 cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
763 dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
764 ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
765 objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
766 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
767 size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
768 syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
769 windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
771 2005-05-06 Jan Beulich <jbeulich@novell.com>
773 * objcopy.c (copy_file): Don't delete output upon error here.
774 (copy_main): Delete output upon error.
776 2005-05-02 Ben Elliston <bje@au.ibm.com>
778 * dlltool.c (dtab): Remove empty function.
779 (process_duplicates): Remove calls to dtab().
781 2005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
783 * doc/binutils.texi (strip, objcopy): Clarify the description of
784 the "--strip-debug" option. Fix a typo.
786 2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
788 * bucomm.c: Undo the last change.
789 * bucomm.h: Likewise.
791 2005-04-29 Ben Elliston <bje@au.ibm.com>
793 * syslex.l (word, number, unit): Remove unused variables.
794 * nlmheader.y (keyword_tokens): Make static.
795 * coffdump.c (dump_coff_symbol, coff_dump): Make static.
796 * coffgrok.c (lofile, last_function_symbol, last_function_type,
797 last_struct, last_enum, cur_sfile): Make variables static.
798 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
799 sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
800 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
801 names, pnames): Likewise.
803 2005-04-29 Ben Elliston <bje@au.ibm.com>
805 * ar.c (mri_mode): Make static.
806 * arsup.c (obfd, real_name, outfile): Likewise.
807 * binemul.c (ar_emul_create): Remove unused function.
808 (ar_emul_default_create): Likewise.
809 * binemul.h (ar_emul_create): Remove declaration.
810 (ar_emul_default_create): Likewise.
811 (struct bin_emulation_xfer_struct): Remove ar_create member.
812 * bucomm.c (report): Make static.
813 * bucomm.h (report): Remove declaration.
814 * cxxfilt.c (mbuffer): Make static.
815 (main): Use unsigned ints for some loop control variables.
816 * readelf.c: Make many global variables static.
817 * size.c (berkeley_format): Make static.
818 (long_options): Likewise.
819 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
820 structure initialiser.
821 (bin_aix5_emulation): Likewise.
822 * emul_vanilla.c (bin_vanilla_emulation): Likewise.
824 2005-04-27 Ben Elliston <bje@au.ibm.com>
826 * syslex.l: Adjust top-of-file comment: this file is part of GNU
827 binutils, not GNU ld.
829 2005-04-25 Nick Clifton <nickc@redhat.com>
832 * objcopy.c (copy_archive): Initialise 'obfd' field of new
835 * objcopy.c (copy_usage): Fix description of -K switch.
837 * doc/binutils.texi (strip, objcopy): Fix description of -K
840 2005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
842 * readelf.c (display_debug_frames): Use data factor for
843 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
845 2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
847 * objdump.c (dump_section_header): Skip linker created section.
849 2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
851 * objdump.c (dump_section_header): Support SEC_GROUP.
853 2005-04-16 Nick Clifton <nickc@redhat.com>
855 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
858 2005-04-15 Nick Clifton <nickc@redhat.com>
860 * objcopy.c (copy_file): Issue an error message when attmepting to
861 copy an empty input file.
863 2005-04-14 Alan Modra <amodra@bigpond.net.au>
865 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
866 * configure.in: Include ../bfd/warning.m4 contents.
867 * Makefile.in: Regenerate.
868 * configure: Regenerate.
869 * doc/Makefile.in: Regenerate.
871 2005-04-12 Alan Modra <amodra@bigpond.net.au>
873 * Makefile.am: Run "make dep-am".
874 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
875 (sysroff.o, defparse.o, deflex.o): Likewise.
876 (nlmheader.o, rcparse.o, rclex.o): Likewise.
877 * Makefile.in: Regenerate.
878 * aclocal.m4: Regenerate.
879 * config.in: Regenerate.
880 * configure: Regenerate.
882 2005-04-11 Jan Beulich <jbeulich@novell.com>
884 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
886 2005-04-06 Nick Clifton <nickc@redhat.com>
887 H.J. Lu <hongjiu.lu@intel.com>
889 * po/rw.po: New translation: Kinyarwanda.
890 * configure.in (ALL_LINGUAS): Add rw.
891 * configure: Regenerate.
893 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
895 * readelf.c (debug_apply_rela_addends): Reorder r_info as
896 necessary for 64-bit MIPS.
898 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
900 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
902 2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
905 * objdump.c (dump_symbols): Add a check to see if the section for
906 the symbol is chosen using process_section_p.
908 2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
910 * NEWS: Mention new readelf options, "-N/--full-section-name"
911 and "-g/--section-groups".
913 * doc/binutils.texi: Document new readelf options,
914 "-N/--full-section-name" and "-g/--section-groups".
916 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
918 * readelf.c (do_full_section_name): New.
919 (options): Add "--full-section-name"/'N'.
920 (usage): Add -N/--full-section-name.
921 (parse_args): Handle 'N'.
922 (process_section_headers): Print out the full section name if
923 do_full_section_name isn't 0.
925 2005-03-31 Nick Clifton <nickc@redhat.com>
927 * configure.in: Add a check for <unistd.h> providing a prototype
928 for getopt() which is compatible with the one in
929 include/getopt.h. If so then define HAVE_DECL_GETOPT.
930 * configure: Regenerate.
931 * config.in (HAVE_DECL_GETOPT): Add.
932 * aclocal.m4: Regenerate.
933 * addr2line.c: Include "config.h" before "bfd.h" so that
934 HAVE_DECL_GETOPT is defined before getopt.h is included.
936 2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
938 * doc/binutils.texi: Document new VAX disassembler-specific option
940 * NEWS: Mention the new option.
942 2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
944 * MAINTAINERS: Add myself as H8300 maintainer.
946 2005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
948 * objdump.c (disassemble_bytes): Remove cast.
950 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
952 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
953 binutils-2_16-branch.
955 2005-03-25 Mark Kettenis <kettenis@gnu.org>
957 * MAINTAINERS: Add myself as M88k maintainer.
959 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
961 * winduni.c (unicode_from_ascii): Don't declare variables
962 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
965 2005-03-24 Dmitry Diky <diwil@spec.ru>
967 * MAINTAINERS: Add myself as MSP430 maintainer.
969 2005-03-23 Nick Clifton <nickc@redhat.com>
971 * po/fr.po: Updated translation.
973 2005-03-22 Nick Clifton <nickc@redhat.com>
975 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
978 2005-03-17 Paul Brook <paul@codesourcery.com>
979 Dan Jacobowitz <dan@codesourcery.com>
980 Mark Mitchell <mark@codesourcery.com>
982 * binutils/readelf.c (get_arm_segment_type): New function.
983 (get_segment_type): Use it.
985 2005-03-18 Paul Brook <paul@codesourcery.com>
987 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
989 2005-03-17 Diego Novillo <dnovillo@redhat.com>
991 * MAINTAINERS: Remove self as maintainer of x86 intel
994 2005-03-16 Nick Clifton <nickc@redhat.com>
995 Ben Elliston <bje@au.ibm.com>
997 * configure.in (werror): New switch: Add -Werror to the
998 compiler command line. Enabled by default. Disable via
1000 * configure: Regenerate.
1002 2005-03-15 Daniel Marques <marques@cs.cornell.edu>
1003 Nick Clifton <nickc@redhat.com>
1005 * objcopy.c (globalize_specific_list): New linked list of symbols
1006 to convert from local binding into global binding.
1007 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
1008 OPTION_GLOBALIZE_SYMBOLS.
1009 (copy_options): Add "globalize-symbol" and "globalize-symbols".
1010 (copy_usage): Document the new switches.
1011 (filter_symbols): Convert defined local symbols mentioned on the
1012 globalize_specific_list into global symbols.
1013 (copy_object): Perform actions if the globalize_specific_list is
1015 (copy_main): Handle new switches.
1016 * NEWS: Mention new feature.
1017 * doc/binutils.texi: Document new switches.
1019 2005-03-15 Alan Modra <amodra@bigpond.net.au>
1021 * po/es.po: Commit new Spanish translation.
1023 * po/fr.po: Commit new French translation.
1025 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1027 * po/tr.po: Commit new Turkish translation.
1029 2005-03-11 Nick Clifton <nickc@redhat.com>
1031 * po/fr.po: Updated French translation.
1033 2005-03-10 Nick Clifton <nickc@redhat.com>
1035 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
1036 * configure: Regenerate.
1037 * po/ro.po: New file.
1039 * po/ru.po: Updated file.
1041 2005-03-05 Alan Modra <amodra@bigpond.net.au>
1043 * po/binutils.pot: Regenerate.
1045 2005-03-02 Jan Beulich <jbeulich@novell.com>
1047 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
1048 * objcopy.c (copy_file): Likewise.
1049 (strip_main): Likewise.
1051 2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
1052 Nick Clifton <nickc@redhat.com>
1054 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
1055 (struct objdump_disasm_info): Add 'reloc' field.
1056 (disassemble_bytes): Fix check for when an insn has a reloc
1057 associated with it. Improve comment explaining why the use of
1058 octets is wrong. Set the 'reloc' field in objdump_disasm_info
1060 (objdump_print_addr): Use new 'reloc' field to lookup the correct
1061 address for the symbol associated with the current instruction's
1063 (disassemble_info): Initialise 'reloc' field.
1065 2005-02-28 Jakub Jelinek <jakub@redhat.com>
1067 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
1068 get_segment_type, get_section_type_name, get_elf_class,
1069 get_data_encoding, get_group_flags, dynamic_section_mips_val,
1070 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
1071 get_AT_name, process_mips_specific, process_gnu_liblist,
1072 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
1073 sprintf where needed.
1074 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
1075 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
1077 (get_dynamic_flags): Renamed to...
1078 (print_dynamic_flags): ... this. Print the flags to stdout instead
1079 of returning them as string.
1080 (process_dynamic_section): Adjust caller.
1082 2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
1084 * readelf.c (display_debug_ranges): Print out offset for end of
1087 2005-02-23 Alan Modra <amodra@bigpond.net.au>
1089 * dlltool.c: Warning fixes.
1090 * objdump.c: Likewise.
1092 2005-02-22 Alan Modra <amodra@bigpond.net.au>
1094 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
1095 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
1096 dependencies. Run "make dep-am".
1097 * nlmconv.c: Warning fixes.
1098 * readelf.c: Likewise.
1099 * srconv.c: Likewise.
1100 * sysdump.c: Likewise.
1101 * sysinfo.y: Likewise.
1102 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
1104 * Makefile.in: Regenerate.
1106 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1108 * objcopy.c (parse_flags): Replace SEC_SHARED with
1111 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
1112 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
1113 SEC_COFF_SHARED for COFF only.
1115 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1117 * Makefile.am: Run "make dep-am"
1118 * Makefile.in: Regenerate.
1119 * doc/Makefile.in: Regenerate.
1121 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1123 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
1124 (byte_get_little_endian): Don't handle size of -8.
1125 (byte_get_signed, byte_get_big_endian): Likewise.
1126 (print_dec_vma, print_hex_vma): New functions.
1127 (print_vma): Use them. Return chars output.
1128 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
1129 (process_symbol_table): Handle alpha and s390 .hash.
1131 2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
1133 * readelf.c (display_debug_loc): Print out offset for end of
1136 2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
1138 * Makefile.am (TOOL_PROGS): Add objdump.
1139 * Makefile.in: Regenerate.
1141 2005-02-17 Alan Modra <amodra@bigpond.net.au>
1143 * deflex.l (YY_NO_UNPUT): Define.
1144 * rclex.l (YY_NO_UNPUT): Define.
1145 * rcparse.y (null_unichar): New static var.
1146 (res_null_text): Use it rather than attempting to init from wchar_t.
1147 * windres.c: Include assert.h and time.h before getopt.h.
1148 Include config.h and unistd.h too.
1150 2005-02-15 Nick Clifton <nickc@redhat.com>
1152 * nlmconv.c: Provide a full prototype for the localtime() function
1153 in order to avoid a compile time warning.
1155 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
1157 * readelf.c (group_count): Don't initialize it.
1158 (process_section_groups): Reurn 1 if we won't do unwind nor
1159 section groups. Set group_count to 0 before counting group
1160 sections and return 1 if there are no group sections. Reread
1161 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
1163 (process_object): Only set do_unwind to 0 if
1164 process_section_groups return 0.
1166 2005-02-10 Ian Lance Taylor <ian@airs.com>
1168 * MAINTAINERS: Update my e-mail address.
1170 2005-02-10 Mark Mitchell <mark@codesourcery.com>
1172 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
1175 2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
1177 * MAINTAINERS: Add self as maintainer of MAXQ.
1179 2005-01-31 Richard Sandiford <rsandifo@redhat.com>
1181 * readelf.c (eh_addr_size): New variable.
1182 (find_section): Move earlier in file. Return empty sections too.
1183 (process_program_headers): Use find_section to find .dynamic.
1184 (process_section_headers): Initialize eh_addr_size.
1185 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
1186 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
1187 (display_debug_frames): Use it instead of local addr_size variable.
1188 (size_of_encoded_value): Get pointer size from eh_addr_size rather
1191 2005-01-31 Andrew Cagney <cagney@gnu.org>
1193 * configure: Regenerate to track ../gettext.m4.
1195 2005-01-31 Nick Clifton <nickc@redhat.com>
1197 * version.c (print_version): Bump the copyright date to 2005.
1199 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1201 * nm.c (display_rel_file): Read dynamic syms before calling
1202 bfd_get_synthetic_symtab.
1204 2005-01-21 Ben Elliston <bje@au.ibm.com>
1206 * dlltool.c (dump_iat): Remove unused function.
1207 (gen_exp_file): Remove #if 0'd code.
1208 (make_one_lib_file): Likewise.
1209 * srconv.c: Remove #if 0'd code throughout.
1210 * size.c (lprint_number): Remove.
1211 (print_berkeley_format): Remove #if 0'd code.
1212 * ar.c (do_quick_append): Remove declaration and definiton.
1213 (main): Remove #if 0'd code.
1214 * filemode.c (filemodestring): Remove #if 0'd function.
1215 * sysdump.c (unit_info_list): Remove function.
1216 (object_body_list): Likewise.
1217 (program_structure): Likewise.
1218 (debug_list): Likewise.
1219 (module): Remove #if 0'd code.
1221 2005-01-20 Mark Mitchell <mark@codesourcery.com>
1223 * BRANCHES: Add binutils-2_15-branch.
1225 * MAINTAINERS: Document branch policy.
1226 * BRANCHES: New file.
1228 2005-01-19 Fred Fish <fnf@specifixinc.com>
1230 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
1231 * doc/binutils.texi (objdump): Document the "no-aliases"
1234 2005-01-17 Eugene Kotlyarov <ekot@narod.ru>
1237 * rcparse.y (RCDATA): Allow a filename to be supplied as the
1238 parameter. Parse it with define_rcdata_file().
1239 * resrc.c (define_rcdata_file): New function.
1240 * windres.h: Provide a prototype for the new function.
1242 * resrc.c (define_user_file): Fix typo by replacing "font file"
1245 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
1247 * MAINTAINERS: Update my email address.
1249 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1251 * dlltool.c (set_dll_name_from_def): New function. Strip name
1252 to basename, with warning.
1254 (def_library): Likwise.
1255 (main): Strip arg of --dllname to basename, with warning.
1256 Only use basename of exp_name when inferring dll_name.
1258 2005-01-11 Nick Clifton <nickc@redhat.com>
1261 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
1262 footnote in order to prevent the sed script in the Makefile from
1263 converting it into c++filt.
1265 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1268 readelf.c (saved_base_address): Removed.
1269 (decode_64bit_range): Likewise.
1270 (decode_range): Likewise.
1271 (display_64bit_debug_ranges): Likewise.
1272 (debug_info): Add range_lists, num_range_lists and
1274 (read_and_display_attr_value): Handle do_debug_ranges.
1275 (process_debug_info): Likewise.
1276 (display_debug_ranges): Rewrite.
1277 (process_object): Free range_lists.
1279 2005-01-10 Andreas Schwab <schwab@suse.de>
1281 * configure.in: Don't define SKIP_ZEROES.
1282 * configure: Regenerate.
1283 * objdump.c (disassemble_data): Set skip_zeroes and
1284 skip_zeroes_at_end in disasm_info to defaults.
1285 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
1286 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
1288 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
1289 objdump_disasm_info.
1291 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1293 * readelf.c (display_debug_loc): Display base address
1294 specifiers. Always output <End of list>.
1296 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
1298 * readelf.c (have_frame_base): New.
1299 (need_base_address): Likewise.
1300 (saved_base_address): Likewise.
1301 (decode_location_expression): Return 1 if DW_AT_frame_base is
1303 (debug_info): Add base_address and a have_frame_base pointer.
1304 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
1305 saved_base_address. Record base address. Set have_frame_base.
1306 Record if a location list has DW_AT_frame_base. Display if a
1307 location expression has no DW_AT_frame_base but needs one. Set
1308 saved_base_address only if needed.
1309 (process_debug_info): Clear have_frame_base, saved_base_address
1310 and set need_base_address.
1311 (display_debug_loc): Display if a location expression has no
1312 DW_AT_frame_base but needs one. Display if start >= end. Don't
1313 adjust for section address. Properly handle base address.
1314 (process_object): Free the have_frame_base pointer in
1317 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1319 * readelf.c (display_debug_loc): Display offsets for hole and
1321 (display_debug_str): Add a newline at the end.
1323 2005-01-04 Armin Diehl <diehl@nordrhein.de>
1326 * nlmconv.c (main): Only store the basename of the output filename
1327 in the module table.
1329 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
1332 * readelf.c (process_debug_info): New.
1333 (debug_info): Add num_loc_offsets, loc_offsets and
1335 (get_debug_info): Use process_debug_info.
1336 (display_debug_loc): Properly handle location list. Warn if bad
1337 location lists are encoutnered.
1338 (read_and_process_attr_value): New.
1339 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
1340 (display_debug_info): Use process_debug_info.
1341 (process_object): Also free loc_offsets in debug_information.
1343 For older changes see ChangeLog-2004
1345 Copyright (C) 2005 Free Software Foundation, Inc.
1347 Copying and distribution of this file, with or without modification,
1348 are permitted in any medium without royalty provided the copyright
1349 notice and this notice are preserved.
1355 version-control: never