1 2001-11-14 Alan Modra <amodra@bigpond.net.au>
3 * doc/binutils.texi (objdump): Document x86 -M options.
5 2001-11-13 Keith Walker <keith.walker@arm.com>
7 * readelf.c (read_and_display_attr_value): New function to
8 handle DW_FORM_indirect.
9 (read_and_display_attr): Use it.
11 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
13 * readelf.c (display_debug_lines): Deal with unknown standard
14 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
17 2001-11-13 Timothy Wall <twall@alum.mit.edu>
19 * MAINTAINERS: Add self as tic54x maintainer. This target
20 includes the IBM C54XDSP clone.
22 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
24 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
26 2001-11-09 Jeffrey A Law (law@cygnus.com)
28 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
29 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
30 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
31 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
32 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
33 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
34 (unw_decode_b2, unw_decode_b3_b4): Likewise.
36 * readelf.c (get_elf_class): Fix ISO portability glitch.
37 (get_data_encoding, get_osabi_name, request_dump): Likewise.
39 2001-11-07 Jakub Jelinek <jakub@redhat.com>
41 * readelf.c (debug_str, debug_str_size): New.
42 (display_debug_abbrev): If no abbrevs were read, skip the CU.
44 (read_and_display_addr): Handle DW_FORM_strp.
45 (display_debug_info): Read .debug_str section if present,
46 so that DW_FORM_strp can be handled.
47 Fix test for non-existant .debug_abbrev section.
49 2001-11-05 Jakub Jelinek <jakub@redhat.com>
51 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
53 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
55 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
57 * MAINTAINERS: Add self as s390/s390x maintainer.
59 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
61 * MAINTAINERS: Add self as PPC XCOFF maintainer.
63 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
65 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
66 * configure: Regernate.
70 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
72 * MAINTAINERS: Add self as MMIX port maintainer.
73 * readelf.c: Include elf/mmix.h.
74 (guess_is_rela): MMIX is RELA.
75 (dump_relocations): Handle MMIX relocations.
76 * Makefile.am: Regenerate dependencies.
77 * Makefile.in: Regenerate.
79 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
81 * readelf.c (parse_args): Handle multiple options to the -w
84 2001-10-12 Jakub Jelinek <jakub@redhat.com>
86 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
87 LOPROC, LOOS and LOUSER.
89 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
91 * MAINTAINERS: Update my email address.
93 2001-10-03 Alan Modra <amodra@bigpond.net.au>
95 * doc/Makefile.in: Regenerate.
96 * configure: Regenerate.
98 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
100 * readelf.c (display_debug_line, display_debug_pubnames,
101 display_debug_info, display_debug_frames): Detect and warn
102 about 64-bit format entries.
103 (display_debug_aranges): Reword 64-bit warning.
104 (debug_displays): Add .debug_pubtypes as a known, but not yet
105 supported, debug section.
107 2001-10-02 Alan Modra <amodra@bigpond.net.au>
109 * coffdump.c (PROGRAM_VERSION): Delete.
110 (main <'V'>): Call print_version.
111 * srconv.c: Likewise.
112 * sysdump.c: Likewise.
113 * version.c (program_version): Remove.
114 (print_version): Use BFD_VERSION_STRING. Just print the current
115 year in copyright message.
116 * addr2line.c (program_version): Remove unused declaration.
117 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
118 place of BFD_VERSION.
119 * Makefile.am (Makefile): Depend on bfd/configure.in.
120 (cplus-dem.o): Depend on Makefile.
122 * Makefile.in: Regenerate.
124 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
126 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
127 format .debug_arange sections.
128 (main): Add missing prototype.
130 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
132 * Makefile.am: Update dependencies with "make dep-am".
133 * Makefile.in: Regenerate.
135 2001-09-28 Richard Henderson <rth@redhat.com>
137 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
139 2001-09-26 Alan Modra <amodra@bigpond.net.au>
141 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
143 (non_fatal): Likewise.
144 * objdump.c (objdump_sprintf): Likewise.
145 * readelf.c (error): Likewise.
148 2001-09-25 Jakub Jelinek <jakub@redhat.com>
150 * readelf.c (do_wide): New.
151 (options): Add --wide.
152 (usage, parse_args): Likewise.
153 (process_program_headers): Put each segment on a single line if
155 (process_section_headers): Put each section on a single line if
157 * doc/binutils.texi: Document it.
160 2001-09-25 Alan Modra <amodra@bigpond.net.au>
162 * readelf.c (print_vma): Print 8 digits of low hex value.
164 2001-09-24 Andreas Jaeger <aj@suse.de>
166 * nlmconv.c: Fix warnings about unused attributes and function
169 * strings.c: Add prototype for get_char.
171 2000-09-19 H.J. Lu <hjl@gnu.org>
173 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
174 $(srcdir)/cxxfilt.man.
175 * doc/Makefile.in: Rebuild.
177 2001-09-19 Alan Modra <amodra@bigpond.net.au>
179 * objcopy.c (copy_main): Correct rename-section string parsing.
180 Consolidate new_name parsing, and error messages.
182 2001-09-18 Bruno Haible <haible@clisp.cons.org>
184 * addr2line.c: Don't include <ctype.h>.
185 (main): For gettext, also set the LC_CTYPE locate facet.
186 * ar.c (main): Likewise.
187 * coffdump.c (main): Likewise.
188 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
189 (main): For gettext, also set the LC_CTYPE locate facet.
190 Use ISALNUM instead of isalpha/isdigit.
191 * dllwrap.c: Don't include <ctype.h>.
192 (main): For gettext, also set the LC_CTYPE locate facet.
193 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
194 (main): For gettext, also set the LC_CTYPE locate facet.
195 Use TOUPPER instead of islower/toupper.
196 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
197 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
198 Use TOUPPER instead of islower/toupper.
199 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
200 * objcopy.c (main): Likewise.
201 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
202 (disassemble_bytes): Use ISPRINT instead of isprint.
203 (dump_section_stabs): Use ISDIGIT instead of isdigit.
204 (dump_data): Use ISPRINT instead of isprint.
205 (main): For gettext, also set the LC_CTYPE locate facet.
206 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
207 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
208 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
209 Use TOUPPER instead of islower/toupper.
210 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
211 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
212 (write_rc_accelerators): Use ISPRINT instead of isprint.
213 (write_rc_rcdata): Likewise.
214 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
215 * srconv.c (main): Likewise.
216 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
217 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
218 isdigit/isupper/islower.
219 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
220 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
221 stab_demangle_prefix, stab_demangle_qualified,
222 stab_demangle_template, stab_demangle_type,
223 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
224 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
225 (isgraphic): Use ISPRINT instead of isascii/isprint.
226 (main): Remove HAVE_LC_MESSAGES dependency.
227 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
228 (pbarray): Use ISPRINT instead of isprint.
229 (main): For gettext, also set the LC_CTYPE locate facet.
230 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
231 (format_from_filename): Use ISPRINT instead of isprint.
232 (main): For gettext, also set the LC_CTYPE locate facet.
233 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
234 (unicode_print): Use ISPRINT instead of isprint.
235 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
236 (stab_variable): Use ISDIGIT instead of isdigit.
238 2001-09-18 Alan Modra <amodra@bigpond.net.au>
240 * ar.c (print_contents): Cast args of bfd_seek to the right types.
241 Replace bfd_read call with call to bfd_bread.
242 (extract_file): Likewise.
244 * objdump.c (dump_section_header): Cast section->filepos to
245 unsigned long to suit printf format string.
246 * readelf.c (process_section_headers): Similarly for sh_offset.
247 (process_unwind): Likewise.
249 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
251 * strings.c (encoding, encoding_bytes): New variables.
252 (long_options): Add --encoding.
253 (main): Accept -e and --encoding.
254 (get_char): New function. Read a, possibly wide, character from
256 (print_strings): Use get_char().
257 (usage): Document new command line option.
258 * doc/binutils.texi: Document new command line option.
259 * NEWS: Announce new command line option.
261 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
263 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
264 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
265 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
266 Removed EM_CYGNUS_ARC.
268 2001-09-04 Jeffrey A Law (law@cygnus.com)
270 * readelf.c: Include elf/h8 for H8 series definitions.
271 (guess_is_rela): H8 series if RELA.
272 (dump_relocations): Handle H8 series relocations.
274 2001-08-31 Eric Christopher <echristo@redhat.com>
276 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
278 2001-08-29 Peter Targett <peter.targett@arccores.com>
280 * MAINTAINERS: Include ARC Maintainer.
282 2001-08-29 Ben Elliston <bje@redhat.com>
284 * stabs.c (stab_demangle_template): Initialise s4.
286 2001-08-27 Alan Modra <amodra@bigpond.net.au>
288 * readelf.c (dump_relocations): Recognise EM_PPC64.
290 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
292 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
294 2001-08-25 H.J. Lu <hjl@gnu.org>
296 * nm.c (print_width): New.
297 (display_rel_file): Set `print_width' according to
299 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
301 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
303 * objcopy.c (use_alt_mach_code): New variable.
304 (OPTION_ALT_MACH_CODE): Define.
305 (copy_options): Added --alt-machine-code.
306 (copy_main): Handle it.
307 (copy_object): Switch to alternate machine code if requested.
308 * doc/binutils.texi: Document new option.
311 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
313 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
315 2001-08-21 H.J. Lu <hjl@gnu.org>
317 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
318 (display_debug_info): Cast for 64bit hosts.
319 (display_debug_frames): Likewise.
320 (process_mips_specific): Likewise.
322 2001-08-21 Andreas Jaeger <aj@suse.de>
324 * coffgrok.h: Add missing parameter for prototype of coff_grok.
326 * sysdump.c: Add missing prototypes.
327 * srconv.c: Likewise.
328 * unwind-ia64.c: Likewise.
329 * coffdump.c: Likewise.
331 * sysinfo.y: Print prototypes, include <ansidecl.h>.
333 * coffgrok.c: Add missing prototypes, include libiberty.h instead
334 of declaring xcalloc.
336 2001-08-10 H.J. Lu <hjl@gnu.org>
338 * nm.c (print_value): Add one arg, bfd *.
339 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
340 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
341 (print_symbol_info_sysv): Likewise.
342 (print_symbol_info_posix): Likewise.
344 * objdump.c (dump_section_header): Replace printf_vma with
346 (print_section_stabs): Likewise.
347 (dump_bfd_header): Likewise.
348 (objdump_print_value): Replace sprintf_vma with
350 (disassemble_bytes): Likewise.
351 (dump_reloc_set): Likewise.
353 2001-08-10 Andreas Jaeger <aj@suse.de>
355 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
357 * configure: Regenerate.
359 2001-08-09 Alan Modra <amodra@bigpond.net.au>
361 * readelf.c: Add missing prototypes.
362 * objdump.c: Likewise. Format existing prototypes.
364 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
366 * readelf.c (display_debug_info): Add to abbrev_offset the addend
367 of any RELA relocation for the abbrev_offset memory location that
368 refers to the .debug_abbrev section symbol.
370 2001-08-07 H.J. Lu <hjl@gnu.org>
372 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
373 (main): Return process_file ().
375 2001-08-05 Philip Blundell <philb@gnu.org>
377 * doc/binutils.texi: Use "Thumb" not "THUMB".
379 2001-08-03 John Healy <jhealy@redhat.com>
381 Patch suggested by Frank Eigler <fche@redhat.com>.
382 * objdump.c (disassemble_data): Fill in section member of the
383 disasm_info structure.
385 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
387 * configure.in: Added --with-windres option.
388 * configure: Regenerated.
390 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
392 * doc/binutils.texi: Use @command{name} for commands;
393 use @option{-opt} for options; use @table @env for list of options;
394 remove spaces arround [ | ] in synopsis.
396 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
399 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
401 * objcopy.c: Fix formatting.
402 (section_rename): New structure.
403 (OPTION_RENAME_SECTION): New switch.
404 (copy_usage): Document new switch.
405 (add_section_rename): New function: Add a node to the section
407 (find_section_rename): New function: Find the new name and
409 (setup_section): Call find_section_name to determine the name
410 of the output section.
411 (copy_main): Handle OPTION_RENAME_SECTION.
412 * binutils.texi: Document new switch.
413 * NEWS: Mention new switch.
415 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
417 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
418 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
419 bug-binutils@gcc.org.
421 2001-07-28 Matthias Kramm <kramm@quiss.org>
423 * bucomm.c (list_supported_architectures): New function.
424 * bucomm.h (list_supported_architectures): Declare.
425 * objdump.c (usage): Call the above.
427 2001-07-25 Dave Brolley <brolley@redhat.com>
429 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
430 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
432 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
434 * README: Update for 2.11. Change bug reporting email address.
435 * MAINTAINERS: Tidy up. Change bug reporting email address.
437 2001-07-16 DJ Delorie <dj@redhat.com>
439 * resres.c (write_res_header): Align header size.
440 (res_align_file): Calculate alignment correctly.
442 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
444 * resrc.c (write_rc_resource): Likewise.
445 * windres.h (SUBLANG_SHIFT): Define - as 10.
447 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
449 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
451 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
453 * MAINTAINERS: Add notes about branch checkins.
455 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
457 * readelf.c (display_debug_macinfo): New function, display
458 .debug_macinfo section.
459 (do_debug_macinfo): New variable.
460 (parse_args): Handle "-w[mM]" to mean display macro info.
461 (process_section_headers): Handle debug_macinfo.
462 (debug_displays): Replace unsupported function with macinfo
463 function for .debug_macinfo display.
464 * doc/binutils.texi: Document new command line switch.
465 * NEWS: Document new feature of readelf.
467 2001-07-05 H.J. Lu <hjl@gnu.org>
469 * objcopy.c (filter_symbols): Don't turn undefined symbols
472 2001-07-03 H.J. Lu <hjl@gnu.org>
474 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
477 (dlltool.1): Likewise.
478 (nlmconv.1): Likewise.
480 (objcopy.1): Likewise.
481 (objdump.1): Likewise.
482 (ranlib.1): Likewise.
483 (readelf.1): Likewise.
485 (strings.1): Likewise.
487 (windres.1): Likewise.
488 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
489 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
492 * doc/Makefile.in: Regenerated.
494 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
496 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
498 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
500 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
502 2001-06-29 James Cownie <jcownie@etnus.com>
504 * readelf.c: Support DWARF 2.1 attributes.
506 2001-06-28 Alan Modra <amodra@bigpond.net.au>
508 * readelf.c (GET_DATA_ALLOC): Remove.
510 (get_data): New function combining above macros, with an extra
512 (slurp_rela_relocs): Use get_data, and catch error return.
513 (slurp_rel_relocs): Likewise.
514 (get_32bit_program_headers): Likewise.
515 (get_64bit_program_headers): Likewise.
516 (get_32bit_section_headers): Likewise.
517 (get_64bit_section_headers): Likewise.
518 (get_32bit_elf_symbols): Likewise.
519 (get_64bit_elf_symbols): Likewise.
520 (process_section_headers): Likewise.
521 (process_relocs): Likewise.
522 (slurp_ia64_unwind_table): Likewise.
523 (process_unwind): Likewise.
524 (get_32bit_dynamic_segment): Likewise.
525 (get_64bit_dynamic_segment): Likewise.
526 (process_dynamic_segment): Likewise.
527 (process_version_sections): Likewise.
528 (process_symbol_table): Likewise.
529 (dump_section): Likewise.
530 (display_debug_info): Likewise.
531 (display_debug_section): Likewise.
532 (process_section_contents): Likewise.
533 (process_corefile_note_segment): Likewise.
534 (process_mips_specific): Likewise. Also free econf32, econf64.
536 2001-06-25 Alan Modra <amodra@bigpond.net.au>
538 * readelf.c (dump_relocations): Print "bad symbol index" if
539 symtab == NULL with non-zero symtab_index.
540 (process_relocs): Don't bomb if reloc section has no symsec.
542 2001-06-24 H.J. Lu <hjl@gnu.org>
544 * objcopy.c (strip_main): Revert the change made on 2001-05-30
546 (copy_main): Apply the the change made to strip_main on
547 2001-05-30 by accident.
549 2001-06-23 Andreas Jaeger <aj@suse.de>
551 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
553 (unw_decode_x2): Likewise.
554 (unw_decode_x3): Likewise.
555 (unw_decode_x4): Likewise.
557 2001-06-23 Ben Elliston <bje@redhat.com>
559 * MAINTAINERS: Add myself as M88k maintainer.
561 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
563 * objcopy.c (strip_main): Support -o or --output-file command lien
566 2001-06-19 H.J. Lu <hjl@gnu.org>
568 * doc/Makefile.in: Regenerated.
570 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
572 * readelf.c: Restore formatting.
574 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
576 * Makefile.am: Move documentation into doc subdirectory.
577 * Makefile.in: Regenerated.
578 * binutils.texi: Move into doc subdirectory.
579 * addr2line.1: Removed.
581 * dlltool.1: Likewise.
582 * nlmconv.1: Likewise.
584 * objcopy.1: Likewise.
585 * objdump.1: Likewise.
586 * ranlib.1: Likewise.
587 * readelf.1: Likewise.
589 * strings.1: Likewise.
591 * windres.1: Likewise.
592 * cxxfilt.man: Likewise.
593 * doc: New Directory.
594 * doc/Makefile.am: New file.
595 * doc/Makefile.in: Generate.
597 2001-06-09 Alan Modra <amodra@bigpond.net.au>
599 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
601 2001-06-01 Alan Modra <amodra@bigpond.net.au>
603 * MAINTAINERS: Update my email address.
605 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
607 * objcopy.c: Add new switches: --keep-global-symbol,
608 --keep-symbols, --localize-symbols, --keep-global-symbols and
610 * binutils.texi: Document new switches.
611 * objcopy.1: Regenerate.
612 * NEWS: Announce new feature.
614 2001-05-28 Andreas Jaeger <aj@suse.de>
616 * readelf.c (display_debug_frames): Fix warnings: Remove unused
617 variables, fix format strings.
619 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
621 * objdump.c (disassemble_bytes): Remove section VMA adjustment
622 when computing the address of the line to show.
624 2001-05-16 Richard Henderson <rth@redhat.com>
626 * readelf.c (do_debug_frames_interp): New.
627 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
628 (byte_get_big_endian): Likewise.
629 (parse_args) ['F']: Set do_debug_frames_interp.
630 (Frame_Chunk): Make data_factor signed, add fde_encoding.
631 (frame_display_row): Don't trunc pc_begin to int.
632 (size_of_encoded_value): New.
633 (display_debug_frames): Handle 64-bit targets. Print raw data
634 unless do_debug_frames_interp.
635 (debug_displays): Remove duplicate .debug_frame.
637 2001-05-15 Ralf Baechle <ralf@gnu.org>
639 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
640 The former constant was never in active use and is used otherwise
643 2001-05-11 Jakub Jelinek <jakub@redhat.com>
645 * readelf.c (process_unwind): Print all unwind sections, not just
648 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
650 * readelf.c (process_unwind): Remove const specifier.
652 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
654 * strings.c (isgraphic): Do not use isascii() unless it is needed
655 for isprint() to work.
656 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
658 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
660 * NEWS: Announce support for OpenRISC.
662 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
664 * dlltool.c (do_default_excludes): Initialise to true.
666 2001-04-10 Alan Modra <amodra@one.net.au>
668 * MAINTAINERS: Update my email address
669 * nm.c (print_symbol_info_bsd): Use a simple printf string.
671 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
673 * readelf.c (display_debug_lines): Fix typo for "Prologue".
675 2001-03-30 H.J. Lu <hjl@gnu.org>
677 * readelf.c (process_unwind): Just return if do_unwind is 0.
679 2001-03-28 Roger Sayle <roger@metaphorics.com>
681 * dlltool.c (make_one_lib_file): Fix section flags for
682 .text, .data and .bss in stub ds*.o files to match those
685 2001-03-29 H.J. Lu <hjl@gnu.org>
687 * readelf.c (process_unwind): Only do unwind sections for
690 2001-03-28 H.J. Lu <hjl@gnu.org>
692 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
693 * Makefile.in: Regenerate.
695 2001-03-26 Andreas Jaeger <aj@suse.de>
697 * binutils.texi (nm): Fix texi syntax.
699 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
701 * binutils.texi: Put @c man begin and @c man end indications
702 to generate man pages using texi2pod and pod2man. Put @c man title
703 to identify each man. Add SEEALSO entries.
704 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
705 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
707 (*.1): Build the man pages from binutils.texi.
708 * Makefile.in: Regenerate.
710 2001-03-13 Eric Kohl <ekohl@rz-online.de>
712 * defparse.y (opt_equal_name): allow "." in name.
713 * dlltool.c (def_exports): Added ability to generate forwarded exports.
714 (gen_exp_file): Likewise.
716 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
718 * NEWS: Document addition of -B switch to objcopy.
719 * binutils.texi: Document addition of -B switch to objcopy.
720 * objcopy.c: (copy_options): Add --binary-architecture.
721 (copy_usage): Document -B/--binary-architecture.
722 (copy_main): Support -B/--binary-architecture. Set
723 bfd_external_binary_architecture.
725 2001-03-11 Andreas Jaeger <aj@suse.de>
727 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
728 (dump_relocations): Likewise.
729 (get_machine_name): Likewise.
731 2001-02-28 Nick Clifton <nickc@redhat.com>
733 * readelf.c: (struct unw_aux_info): Remove const modifier for
735 (process_unwind): Remove non-K&R compliant LHS type cast in call
736 to GET_DATA_ALLOC macro.
738 2001-02-28 Philip Blundell <pb@futuretv.com>
740 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
741 ABI is in use; remove ambiguity between the "unknown" EABI and
742 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
743 renamed EF_xx constants.
745 2001-02-27 Alan Modra <alan@linuxcare.com.au>
747 * configure.in (BFD_VERSION): New.
748 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
749 * configure: Regenerate.
750 * Makefile.am: Run "make dep-am"
751 * Makefile.in: Regenerate.
753 2001-02-14 Nick Clifton <nickc@redhat.com>
755 * MAINTAINERS: Add "Obvious Fix" rule.
757 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
759 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
760 literal concatenation.
762 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
764 * readelf.c (struct unw_aux_info): Remove const from the info member.
765 (process_unwind): Don't type-cast the third argument to the
766 GET_DATA_ALLOC macro.
768 2001-02-11 Nick Clifton <nickc@redhat.com>
770 * readelf.c (dump_relocations): Free corrected allocated
772 (process_unwind): Fix compile time warning.
774 2001-02-10 Nick Clifton <nickc@redhat.com>
776 * binutils.texi: Document new --unwind option to readelf.
778 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
780 * readelf.c: Add linux target for S/390.
782 2001-02-10 Alan Modra <alan@linuxcare.com.au>
784 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
787 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
789 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
790 * aclocal.m4: Regenerate.
791 * configure: Regenerate.
793 2001-02-07 Todd Vierling <tv@wasabisystems.com>
795 * bucomm.c (bfd_target_vector): Change extern array to pointer.
796 * objdump.c (bfd_target_vector): Likewise.
798 2001-02-07 David Mosberger <davidm@hpl.hp.com>
800 * readelf.c (process_unwind): New function.
801 (slurp_ia64_unwind_table): Ditto.
802 (dump_ia64_unwind): Ditto.
803 (find_symbol_for_address): Ditto.
804 (slurp_rela_relocs): New function (split off from dump_relocations()).
805 (slurp_rel_relocs): Ditto.
806 (parse_args): Handle '-u' option.
808 * unwind-ia64.c: New file.
809 * unwind-ia64.h: New file.
810 * Makefile.am: Include unwind-ia64.c in readelf build.
811 * Makefile.in: Regenerate.
812 * po/binutils.pot: Regenerate.
814 2001-02-04 Philip Blundell <philb@gnu.org>
816 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
817 * configure: Regenerate.
819 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
821 * ieee.c (ieee_add_bb11): Don't check for backslashes
822 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
824 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
826 * ieee.c: Update copyright.
827 (ieee_start_compilation_unit): Don't check for backslashes
828 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
830 * stabs.c: Update copyright. Include "filenames.h".
831 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
833 2001-01-23 Jakub Jelinek <jakub@redhat.com>
835 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
836 sections are present before using them. Remove code duplication.
837 (process_symbol_table): Check if VERDEF or VERNEED sections are
838 present before using them.
840 2001-01-17 Nick Clifton <nickc@redhat.com>
842 * objcopy.c (copy_object): Fail if attempting to convert the
843 endianness of the input object file.
845 * binutils.texi: Explain that objcopy cannot convert endianness.
847 2001-01-16 Nick Clifton <nickc@redhat.com>
849 * readelf.c (string_table_length): New variable.
850 (SECTION_NAME): Catch out of range indices and missing section
852 (process_section_headers): Delete useless local variable
853 string_table_offset. Set the value of string_table_length
854 after loading the string table.
855 (process_mips_specific): Use SECTION_NAME macro.
856 (process_file): Set string_table_length to 0 when it is freed.
858 2001-01-12 Nick Clifton <nickc@redhat.com>
860 * version.c (print_version): Update copyright date.
862 2001-01-11 Peter Targett <peter.targett@arccores.com>
864 * readelf.c (dump_relocations): Include selection with EM_ARC.
865 (get_machine_name) Update name to "ARC".
867 2001-01-09 Nick Clifton <nickc@redhat.com>
869 * Makefile.am: Add rule to build objdump.o from objdump.c and
871 * Makefile.in: Regenerate.
873 * configure.in: Define OBJDUMP_DEFS. Default to empty.
874 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
875 -DDISASSEMBLER_NEEDS_RELOCS.
876 * configure: Regenerate.
878 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
879 is defined read in the relocs even if dump_reloc_info is
882 2001-01-07 Philip Blundell <philb@gnu.org>
884 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
888 2000-12-19 Nick Clifton <nickc@redhat.com>
890 * dlltool.c: Add missing support for arm-epoc-pe.
891 * configure.in: Add missing support for arm-epoc-pe.
892 * configure: Regenerate.
894 2000-12-15 Nick Clifton <nickc@redhat.com>
896 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
897 Mode parts of the x86 port.
899 2000-12-04 Andreas Jaeger <aj@suse.de>
901 * readelf.c (guess_is_rela): Add EM_X86_64.
902 (dump_relocations): Add EM_X86_64.
903 (get_machine_name): Add EM_X86_64.
904 Include "elf/x86-64.h".
906 2000-12-12 Nick Clifton <nickc@redhat.com>
908 * readelf.c: Fix formatting.
910 2000-12-11 Jan Hubicka <jh@suse.cz>
912 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
914 2000-12-07 Andrew Haley <aph@redhat.com>
916 * readelf.c (display_debug_frames): Only display columns that are
917 referenced by the frame debug info.
919 2000-12-05 Nick Clifton <nickc@redhat.com>
921 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
923 2000-12-04 Jason Merrill <jason@redhat.com>
925 * readelf.c (process_section_headers): Handle linkonce.wi sections.
926 (display_debug_section): Likewise.
927 (display_debug_info): Display CU header before bailing.
929 2000-12-01 Chris Demetriou <cgd@sibyte.com>
931 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
932 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
933 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
935 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
938 * readelf.c (get_machine_flags): Add case for
941 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
943 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
945 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
947 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
948 Change sourceware.cygnus.com to sources.redhat.com.
949 Fix typo for "amongst".
951 2000-11-28 Nick Clifton <nickc@redhat.com>
953 * strip.1 (COPYING): Mention that the GNU Free Documentation
954 License is present in the sources, but not the output, and
955 also available from the GNU website.
956 (GNU Free Documentation License): Comment out this section.
965 * addr2line.1: Ditto.
967 2000-11-27 DJ Delorie <dj@redhat.com>
969 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
970 (parse_args): Support -wf option.
971 (process_section_headers): Ditto.
972 (debug_displays): Ditto.
973 (display_debug_frames): New, dump *_frame sections.
974 (frame_need_space): Support for above.
975 (frame_display_row): Ditto.
976 * binutils.texi: Document it.
978 2000-11-24 Nick Clifton <nickc@redhat.com>
980 * NEWS: Announce support for v5t, v5te and XScale.
982 2000-11-22 Nick Clifton <nickc@redhat.com>
984 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
985 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
986 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
987 (get_elf_section_flags: Add SHF_GROUP.
988 (process_section_headers): Adjust output for 32-bit binaries
989 to look nice on an 80 column terminal.
991 2000-11-20 H.J. Lu <hjl@gnu.org>
993 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
996 2000-11-17 Richard Henderson <rth@redhat.com>
998 * readelf.c (display_debug_lines): Adjust last change to
999 use sizeof (external->li_length).
1001 2000-11-17 Richard Henderson <rth@redhat.com>
1003 * readelf.c (display_debug_lines): Fix section length check
1004 and end_of_sequence computation.
1006 2000-11-06 Nick Clifton <nickc@redhat.com>
1008 * binutils.texi: Add GNU Free Documentation License.
1009 * objcopy.1: Add GNU Free Documentation License.
1010 * objdump.1: Add GNU Free Documentation License.
1011 * addr2line.1: Add GNU Free Documentation License.
1012 * ar.1: Add GNU Free Documentation License.
1013 * nlmconv.1: Add GNU Free Documentation License.
1014 * nm.1: Add GNU Free Documentation License.
1015 * ranlib.1: Add GNU Free Documentation License.
1016 * size.1: Add GNU Free Documentation License.
1017 * strings.1: Add GNU Free Documentation License.
1018 * strip.1: Add GNU Free Documentation License.
1020 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1022 * objcopy.c (--srec-len=nn): New parameter to set the
1023 maximum length of generated Srecords.
1024 (--srec-forceS3): New parameter that restricts the generation of
1025 Srecords to type S3 only.
1026 * binutils.texi: Document new command line switches.
1027 * objcopy.1: Docuemnt the new command line switches.
1028 * NEWS: Announce the existence of the new command line switches.
1030 2000-10-31 Nick Clifton <nickc@redhat.com>
1032 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1033 code. Add Eric Chrisopher as maintainer of MN10300 port.
1035 2000-10-12 Roger Sayle <roger@metaphorics.com>
1037 * Make comma after string after icon/control optional.
1039 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1041 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1043 * NEWS: Mention support for MIPS32.
1045 2000-09-08 Nick Clifton <nickc@redhat.com>
1047 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1049 2000-09-07 H.J. Lu <hjl@gnu.org>
1051 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1052 * configure: Rebuild.
1054 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1056 * configure: Rebuilt with new libtool.m4.
1058 2000-09-05 Nick Clifton <nickc@redhat.com>
1060 * aclocal.m4: Regenerate.
1061 * config.in: Regenerate.
1062 * configure: Regenerate.
1064 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1066 * strip.1: Fix stray '\' in -o formatting.
1068 2000-09-02 Nick Clifton <nickc@redhat.com>
1070 * configure.in: Increase version number to 2.10.91.
1071 * configure: Regenerate.
1072 * aclocal.m4: Regenerate.
1073 * config.in: Regenerate.
1074 * po/binutils.pot: Regenerate.
1076 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1078 * acinclude.m4: Include libtool and gettext macros from the
1080 * aclocal.m4, configure: Rebuilt.
1082 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1084 * resrc.c (close_input_stream): Delete extraneous logic
1086 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1088 * NEWS: Mention support for CRIS.
1090 2000-08-21 Nick Clifton <nickc@redhat.com>
1092 * addr2line.c: Changed email address for Ulrich Lauther.
1094 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1096 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1098 2000-08-17 Nick Clifton <nickc@redhat.com>
1100 * readelf.c (display_debug_pubnames): Only issue warning
1101 message once. Terminate message with a new line.
1102 (display_debug_aranges): Only display version 2 debug info.
1104 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1106 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1107 for compatability with old BSD systems.
1109 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1111 * NEWS: Mention i860 support.
1113 2000-08-11 Carlo Wood <carlo@alinoe.com>
1115 * addr2line.c (main): Add const to char *.
1117 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1119 * ar.c (main): Don't crash if called with no arguments
1120 or only '-X32_64' as an argument.
1122 2000-08-08 DJ Delorie <dj@redhat.com>
1124 * resrc.c: use "gcc -xc" instead of -xc-header
1126 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1128 * readelf.c (elf/i860.h): Include.
1129 (dump_relocations): Add recognition of i860 architecture.
1130 (guess_is_rela): Add recognition of i860 architecture.
1132 2000-08-03 Nick Clifton <nickc@cygnus.com>
1134 * MAINTAINERS: Add information about CGEN maintainers.
1136 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1138 * nm.c (main): Ignore '-X32_64' as an option.
1139 * ar.c (main): Likewise.
1140 * binutils.texi (nm): Document new option.
1143 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1145 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1147 2000-07-20 H.J. Lu <hjl@gnu.org>
1149 * binutils.texi: Put back "@end table" deleted by
1152 2000-07-05 Kenneth Block <krblock@computer.org>
1154 * nm.c: Add optional style to demangle switch.
1155 * objdump.c: Add optional style to demangle switch.
1156 * addr2line.c: Add optional style to demangle switch.
1157 * binutils.texi: Document optional style to demangle
1160 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1162 * MAINTAINERS: Add self as CRIS port maintainer.
1163 * readelf.c: Include elf/cris.h.
1164 (guess_is_rela): Handle EM_CRIS.
1165 (dump_relocations): Ditto.
1166 (get_machine_name): Ditto.
1167 * Makefile.am: Rebuild dependencies.
1168 * Makefile.in: Regenerate.
1169 * po/binutils.pot: Regenerate.
1171 2000-07-19 H.J. Lu <hjl@gnu.org>
1173 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1175 (process_dynamic_segment): Print out strings for DT_CONFIG,
1176 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1178 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1180 * nm.c (usage): Change output of `nm --help' to include a
1181 description of the purpose of the program and a detailed
1182 description of the accepted options.
1184 2000-07-19 H.J. Lu <hjl@gnu.org>
1186 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1189 2000-07-19 H.J. Lu <hjl@gnu.org>
1191 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1193 2000-07-19 H.J. Lu <hjl@gnu.org>
1195 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1197 (process_dynamic_segment): Likewise.
1199 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1200 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1201 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1202 DF_1_NODUMP and DF_1_CONLFAT.
1204 2000-07-18 Nick Clifton <nickc@cygnus.com>
1206 * binutils.texi (readelf): Fix spelling typo.
1208 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1210 * objdump.c (usage): Make output of `objdump --help' more
1211 consistent with the rest of the GNU world. Add a line describing
1212 the purpose of the program.
1214 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1216 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1219 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1221 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1223 (process_symbol_table): Ditto.
1224 (procesS_extended_line_op): Ditto.
1225 (display_debug_lines): Ditto.
1226 (display_debug_pubnames): Ditto.
1227 (read_and_display_attr): Ditto.
1229 2000-07-09 Nick Clifton <nickc@cygnus.com>
1231 * MAINTAINERS: Add several more port specific maintainers.
1233 2000-07-05 Nick Clifton <nickc@cygnus.com>
1235 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1237 2000-06-05 DJ Delorie <dj@redhat.com>
1241 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1243 * dllwrap.c: Changed mistaken dyn_string_append() calls
1244 to dyn_string_append_cstr().
1246 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1248 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1249 struct debug_type stores size in bytes.
1251 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1253 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1254 (CLEANFILES): Add DEPA.
1255 * Makefile.in: Regenerate.
1257 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1259 * ar.c: Revert incorrect 2000-06-25 patch.
1260 * bucomm.c: Likewise.
1262 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1264 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1265 (external_coff_symbol_p): New function.
1266 (parse_coff): Use it.
1268 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1270 * ar.c (normalize): Advance past both characters in a DOS based
1271 <letter>: filepath prefix.
1273 * bucomm.c (make_tempname): Likewise.
1275 2000-06-24 Nick Clifton <nickc@cygnus.com>
1277 * objdump.c (usage): Fix description of --stabs switch.
1279 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1281 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1283 * Makefile.in: Regenerate.
1285 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1287 * ar.c (normalize): Correct pointer comparison when checking for
1290 * bucomm.c (make_tempname): Likewise.
1292 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1293 and search for backslashes in the original pathname.
1294 (ieee_add_bb11): Likewise.
1296 2000-06-18 Nick Clifton <nickc@redhat.com>
1298 * ar.c (print_contents): Improve verbose message.
1300 2000-06-15 H.J. Lu <hjl@gnu.org>
1302 * dyn-string.c: Removed. Not needed with dyn-string.c in
1304 * dyn-string.h: Likewise.
1306 * Makefile.am: Remove references to dyn-string.c and
1307 dyn-string.h. Rebuild dependency.
1308 * Makefile.in: Rebuild.
1310 2000-06-15 H.J. Lu <hjl@gnu.org>
1312 * binutils.texi: Put a warning on copying relocatable object
1313 files between two different formats.
1315 2000-06-13 DJ Delorie <dj@cygnus.com>
1317 * rcparse.y (control): ICON controls take an id as the first
1318 parameter, not an optional string. Also, call new convenience
1319 function that takes res_id's.
1320 * resrc.c (define_control): missing text means zero-length string,
1322 (define_icon_control): New.
1323 * windres.h: declare define_icon_control.
1325 2000-06-13 H.J. Lu <hjl@gnu.org>
1327 * configure: Regenerate.
1329 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1331 * configure.in (VERSION): Update to show this is the CVS mainline.
1333 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1335 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1336 analogous to <SPACE>.
1338 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1340 * objdump.c (display_target_list): Use bfd_close_all_done, not
1341 bfd_close to fix crash caused by 2000-05-24 change.
1343 2000-05-25 DJ Delorie <dj@cygnus.com>
1345 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1347 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1349 * Makefile.am: Update dependencies with "make dep-am"
1350 * Makefile.in: Regenerate.
1352 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1354 * ar.c: Include filenames.h.
1355 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1356 and drive letters in file names.
1357 (main): Support backslashes and drive letters in argv[0]. Drop
1358 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1359 FILENAME_CMP instead of strcmp to compare file names.
1360 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1362 (do_quick_append) [__GO32__]: Ditto.
1363 (get_pos_bfd, delete_members, move_members, replace_members):
1364 Compare file names with FILENAME_CMP.
1366 * bucomm.c: Include filenames.h.
1367 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1368 forward/backward slashes and drive letters in file names.
1370 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1371 mixed forward/backward slashes and drive letters in file names.
1373 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1374 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1377 * objcopy.c: Include filenames.h.
1378 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1379 before comparing to "strip".
1380 Use FILENAME_CMP to compare file names.
1382 * arsup.c: Include filenames.h.
1383 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1384 FILENAME_CMP to compare file names.
1385 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1386 the temporary file name.
1388 * configure.in: Check for setmode.
1389 * configure: Regenerate.
1391 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1393 * objdump.c (display_target_list): Close the bfd.
1394 (display_info_table): Likewise.
1396 2000-05-14 H.J. Lu (hjl@gnu.org)
1398 * objcopy.c (filter_symbols): Don't strip global symbols in
1399 relocatable object files.
1401 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1403 * size.c (usage): Associate short options with corresponding long
1404 option to give a clue as to their function.
1406 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1408 * size.c (main): Accept and ignore `-f' option.
1410 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1412 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1413 bindtextdomain): Replace defines with those from intl/libgettext.h
1414 to quieten gcc warnings.
1416 2000-05-12 H.J. Lu <hjl@gnu.org>
1418 * nlmconv.c (temp_filename): Removed.
1420 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1421 choose_temp_base ().
1422 * objdump.c (display_target_list): Likewise.
1423 (display_info_table): Likewise.
1425 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1427 * objcopy.c (setup_section): Add const and gettext calls for err.
1429 2000-05-02 H.J. Lu <hjl@gnu.org>
1431 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1432 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1433 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1434 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1435 and ELFOSABI_OPENBSD.
1437 2000-05-02 Kazu Hirata <kazu@hxi.com>
1439 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1440 * srconv.c: Likewise.
1441 * sysdump.c: Likewise.
1443 2000-04-23 Denis Chertykov <denisc@overta.ru>
1445 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1446 (get_machine_name): machine name for EM_AVR added.
1448 2000-04-21 Richard Henderson <rth@cygnus.com>
1449 David Mosberger <davidm@hpl.hp.com>
1451 * Makefile.am (readelf.o): Add elf/ia64.h.
1452 * Makefile.in: Rebuild.
1453 * readelf.c: Include elf/ia64.h.
1454 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1456 2000-04-17 Timothy Wall <twall@cygnus.com>
1458 * objdump.c (disassemble_data): Set octets per byte *after*
1459 resolving arch/mach for binary files.
1461 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1463 * arlex.l: Add directives to increase lex buffer size.
1465 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1466 already included by bucomm.h.
1468 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1470 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1471 `strftime' since strftime is not available on all systems.
1472 (process_mips_specific): Ditto.
1474 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1476 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1477 --enable-build-warnings option.
1478 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1479 * Makefile.in, configure: Re-generate.
1481 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1483 * addr2line.c: Update copyright.
1484 * objcopy.1: Likewise, and title.
1485 * strings.1: Likewise.
1487 * version.c (print_version): Add 2000.
1489 * rddbg.c (read_section_stabs_debugging_info): Don't use
1490 bfd_size_type for strx to avoid printf problems if BFD64.
1492 * bucomm.c: (report): Remove `static'.
1493 Move inclusion of stdarg.h/vararg.h from here.
1494 * bucomm.h: To here.
1495 (CONST): Change all occurences to const.
1496 (report): Declare it.
1497 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1498 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1499 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1501 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1502 Correct a typo in an error message.
1503 (do_quick_append): Use non_fatal instead of fprintf.
1504 (move_members): Use fatal instead of fprintf, exit.
1505 * coffdump.c (main): Same here.
1507 * dlltool.c (display): Delete.
1509 (inform): Use `report' instead of `display'.
1510 (rvaafter): Remove trailing \n from fatal error msg.
1512 (asm_prefix): Ditto.
1513 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1514 (def_name): Likewise.
1516 (scan_all_symbols): Likewise.
1517 (gen_lib_file): Likewise.
1518 (def_library): Likewise. Remove extra program_name too.
1519 (run): Remove \n from inform strings.
1520 (scan_drectve_symbols): Likewise.
1521 (add_excludes): Likewise.
1522 (scan_open_obj_file): Likewise.
1523 (gen_exp_file): Likewise.
1524 (gen_lib_file): Likewise.
1525 (process_duplicates): Likewise.
1527 * Makefile.am (dllwrap_SOURCES): Add version.c.
1528 * dllwrap.c (program_version): Delete.
1529 (print_version): Delete.
1530 (display): Always print trailing \n.
1532 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1535 (usage): gettext'ify.
1536 (long_options): Add missing initialisers.
1538 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1539 (select_output_format): Likewise.
1540 (powerpc_mangle_relocs): Likewise.
1541 (link_inputs): Likewise.
1543 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1544 (set_output_format): Likewise.
1545 (main): Use non_fatal instead of fprintf.
1546 (display_rel_file): Likewise.
1548 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1549 (slurp_dynamic_symtab): Same here.
1550 (disassemble_data): And here.
1551 (read_section_stabs): And here.
1552 (read_section_stabs): And here.
1553 (dump_bfd): And here.
1555 (objdump_sprintf): Use fatal instead of fprintf, exit.
1556 (disassemble_data): Same here.
1558 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1559 (parse_coff_struct_type): Same here.
1560 (parse_coff_enum_type): And here.
1561 (parse_coff): And here.
1562 * rddbg.c (read_debugging_info): And here.
1563 * size.c (main): And here.
1564 * windres.c (format_from_name): And here.
1565 * wrstabs.c (stab_write_symbol): Here too.
1566 (write_stabs_in_sections_debugging_info): And here.
1567 (stab_int_type): And here.
1568 (stab_struct_field): And here.
1569 (stab_typdef): And here.
1571 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1572 * srconv.c (main): Same here.
1573 * strings.c (main): And here.
1574 (integer_arg): And here.
1575 * sysdump.c (main): And here.
1577 2000-04-06 Timothy Wall <twall@cygnus.com>
1579 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1581 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1583 * readelf.c (decode_location_expression): Loop through multiple
1585 (read_and_display_attr): Pass in length.
1587 * readelf.c (read_and_display_attr): Add CU offset to references.
1588 (display_debug_info): Pass it in.
1590 2000-04-06 Nick Clifton <nickc@cygnus.com>
1592 * readelf.c (decode_ARM_machine_flags): New function.
1593 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1596 (get_machine_name): Catch EM_AVR
1598 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1600 * binutils.texi: Remove optional `=' from long options that have
1601 an `=' in the argument.
1602 * objcopy.1: Here too. Remove extra space on discard-all.
1604 * binutils.texi (objcopy): Mention --redefine-sym.
1605 * objcopy.1: Here too.
1608 * objcopy.c (parse_flags): Split off flag names from error message
1609 gettext as they are not translated.
1610 (copy_main): Similarly split off option name for --add-section,
1611 --set-section-flags, --change-section-vma, --change-section-lma
1613 Some white space changes.
1615 from Matthew Benjamin <matt@linuxbox.nu>
1616 * objcopy.c (struct redefine_node): New.
1617 (redefine_sym_list): New.
1618 (redefine_list_append): New.
1619 (lookup_sym_redefinition): New.
1620 (OPTION_REDEFINE_SYM): New.
1621 (copy_options): Add --redefine-sym option.
1622 (copy_usage): Mention it.
1623 (filter_symbols): Rename symbols on redefine_sym_list.
1624 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1625 (copy_main): Handle OPTION_REDEFINE_SYM.
1627 2000-04-04 H.J. Lu <hjl@gnu.org>
1629 * readelf.c (process_symbol_table): Correctly read in symbol
1630 versioning information.
1632 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1634 * po/binutils.pot: Regenerate.
1636 * addr2line.c (usage): Restore translated part of bug string.
1637 * ar.c (usage): Likewise.
1638 * nlmconv.c (show_usage): Likewise.
1639 * nm.c (usage): Likewise.
1640 * objcopy.c (copy_usage): Likewise.
1641 (strip_usage): Likewise.
1642 * objdump.c (usage): Likewise.
1643 * readelf.c (usage): Likewise.
1644 * size.c (usage): Likewise.
1645 * strings.c (usage): Likewise.
1646 * windres.c (usage): Likewise.
1648 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1649 (DEP): Quote when passing vars to sub-make. Add warning
1651 (DEP1): Rewrite for "gcc -MM".
1652 (CLEANFILES): Add DEP2.
1653 Update dependencies.
1654 * Makefile.in: Regenerate.
1656 2000-04-04 H.J. Lu <hjl@gnu.org>
1658 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1659 (arparse.h): Depend on arparse.c
1660 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1662 2000-04-03 H.J. Lu (hjl@gnu.org)
1664 * size.c (usage): Use REPORT_BUGS_TO.
1666 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1668 * bucomm.h: #include "bin-bugs.h"
1669 * addr2line.c (usage): Use REPORT_BUGS_TO.
1670 * ar.c (usage): Likewise.
1671 * nlmconv.c (show_usage): Likewise.
1672 * nm.c (usage): Likewise.
1673 (OPTION_TARGET): Define.
1674 (long_options): Use OPTION_TARGET rather than 200.
1677 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1678 (strip_usage): Likewise.
1679 * objdump.c (usage): Likewise.
1680 * readelf.c (usage): Likewise.
1681 * strings.c (usage): Likewise.
1682 * windres.c (usage): Likewise.
1684 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1686 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1688 2000-03-27 Nick Clifton <nickc@cygnus.com>
1690 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1691 string offsets in corrupt stabs entries.
1693 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1695 * readelf.c: Include elf/avr.h
1696 (dump_relocations): Add EM_AVR case.
1698 2000-03-09 Tim Waugh <twaugh@redhat.com>
1700 * strings.1: Correct '-bytes' to '--bytes'.
1702 2000-03-08 H.J. Lu <hjl@gnu.org>
1704 * Makefile.am (install-exec-local): Depend on
1705 install-binPROGRAMS for parallel make.
1706 * Makefile.in: Regenerated.
1708 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1710 From Brad Lucier <lucier@math.purdue.edu>:
1711 * readelf.c (process_dynamic_segment): Add cast to make sure
1712 argument to %* is int.
1714 2000-02-25 H.J. Lu <hjl@gnu.org>
1716 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1718 2000-02-24 Nick Clifton <nickc@cygnus.com>
1720 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1721 * configure: Regenerate.
1723 * dlltool.c: Add support for sh-pe and mips-pe targets.
1724 * rescoff.c: Add support for sh-pe and mips-pe targets.
1726 2000-02-23 H.J. Lu <hjl@gnu.org>
1728 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1730 2000-02-22 Nick Clifton <nickc@cygnus.com>
1732 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1734 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1736 From Brad Lucier <lucier@math.purdue.edu>:
1737 * readelf.c (process_version_sections): Add casts to make sure
1738 argument to %* is an int.
1739 (process_mips_specific): Add casts to make printf arguments match
1742 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1744 * objdump.c (dump_section_header): Change `opb' to unsigned.
1745 (find_symbol_for_address): Same here.
1746 (disassemble_data): And here. Change `addr_offset',
1747 `stop_offset', `nextstop_offset' to unsigned long.
1748 (dump_data): Change opb to unsigned.
1750 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1752 * resrc.c: Remove unmatched #if for cygwin.
1754 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1756 * binutils.texi: Document the change of flavor name from atpcs-special
1757 to special-atpcs to prevent name conflict in gdb.
1759 2000-02-08 Timothy Wall <twall@redhat.com>
1761 * objdump.c (show_line): Fix bug preventing printing of the very
1762 first line (line zero) of a file when interlisting source and
1763 assembly. Added option to print entire context from start of file
1764 when the first line from that file is encountered.
1766 2000-02-03 Timothy Wall <twall@redhat.com>
1768 * objdump.c (dump_section_header, find_symbol_for_address,
1769 show_line, disassemble_bytes, disassemble_data, dump_data):
1770 distinguish between octets and bytes.
1772 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1774 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1775 check to unresolved symbols.
1776 (print_symbol_info_sysv): Ditto.
1777 (print_symbol_info_posix): Ditto.
1779 * binutils.texi: Document new 'V' symclass flag for nm.
1781 2000-01-27 Nick Clifton <nickc@redhat.com>
1783 * binutils.texi (objdump): Document new ARM specific
1784 disassembler options.
1786 * objdump.c (usage): Call disassembler_usage().
1788 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1790 * readelf.c (get_dynamic_flags): Return buff.
1791 (process_dynamic_segment): Don't pass error strings to printf
1793 (read_and_display_attr): Use lx and ld to print longs.
1794 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1798 2000-01-17 Nick Clifton <nickc@cygnus.com>
1800 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1802 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1804 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1806 (debug_tag_type): Here too.
1807 * ieee.c (ieee_builtin_type): And here.
1808 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1810 2000-01-13 Nick Clifton <nickc@cygnus.com>
1812 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1815 2000-01-11 Nick Clifton <nickc@cygnus.com>
1817 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1819 2000-01-10 Nick Clifton <nickc@cygnus.com>
1821 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1823 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1825 * windres.c (long_options): Add --use-temp-file and
1826 --no-use-temp-file options.
1830 * windres.h: Update read_rc_file prototype.
1832 * resrc.c (cpp_temp_file): New static variable.
1833 (istream_type): New static variable.
1834 (close_pipe): Delete function.
1835 (run_cmd): New static function.
1836 (open_input_stream): New static function.
1837 (close_input_stream): New static function.
1838 (look_for_default): Handle DOS directory separator. Use
1839 open_input_stream instead of popen.
1840 (read_rc_file): Likewise.
1842 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1845 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1847 * dlltool.c (create_compat_implib): New variable.
1848 (gen_exp_file): Use.
1849 (make_one_lib_file): Use.
1850 (long_options): Add --compat-implib option.
1854 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1855 (main): Use. Don't look for "32" in cygwin and mingw target names.
1857 2000-01-03 Nick Clifton <nickc@cygnus.com>
1859 * binutils.texi: Document new, ARM specific disassembler
1860 command line switch "-M force-thumb".
1862 For older changes see ChangeLog-9899
1868 version-control: never