1 2001-11-15 Andreas Schwab <schwab@suse.de>
3 * readelf.c: Fix warnings without terminating newline.
5 2001-11-15 Alan Modra <amodra@bigpond.net.au>
7 * doc/binutils.texi (objdump): Document ppc -M options.
9 2001-11-14 Andreas Jaeger <aj@suse.de>
11 * doc/binutils.texi (objdump): Fix description to use x86-64.
13 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
15 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
16 not all systems provide mkstemp.
18 2001-11-14 Alan Modra <amodra@bigpond.net.au>
20 * doc/binutils.texi (objdump): Document x86 -M options.
22 2001-11-13 Keith Walker <keith.walker@arm.com>
24 * readelf.c (read_and_display_attr_value): New function to
25 handle DW_FORM_indirect.
26 (read_and_display_attr): Use it.
28 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
30 * readelf.c (display_debug_lines): Deal with unknown standard
31 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
34 2001-11-13 Timothy Wall <twall@alum.mit.edu>
36 * MAINTAINERS: Add self as tic54x maintainer. This target
37 includes the IBM C54XDSP clone.
39 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
41 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
43 2001-11-09 Jeffrey A Law (law@cygnus.com)
45 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
46 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
47 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
48 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
49 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
50 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
51 (unw_decode_b2, unw_decode_b3_b4): Likewise.
53 * readelf.c (get_elf_class): Fix ISO portability glitch.
54 (get_data_encoding, get_osabi_name, request_dump): Likewise.
56 2001-11-07 Jakub Jelinek <jakub@redhat.com>
58 * readelf.c (debug_str, debug_str_size): New.
59 (display_debug_abbrev): If no abbrevs were read, skip the CU.
61 (read_and_display_addr): Handle DW_FORM_strp.
62 (display_debug_info): Read .debug_str section if present,
63 so that DW_FORM_strp can be handled.
64 Fix test for non-existant .debug_abbrev section.
66 2001-11-05 Jakub Jelinek <jakub@redhat.com>
68 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
70 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
72 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
74 * MAINTAINERS: Add self as s390/s390x maintainer.
76 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
78 * MAINTAINERS: Add self as PPC XCOFF maintainer.
80 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
82 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
83 * configure: Regernate.
87 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
89 * MAINTAINERS: Add self as MMIX port maintainer.
90 * readelf.c: Include elf/mmix.h.
91 (guess_is_rela): MMIX is RELA.
92 (dump_relocations): Handle MMIX relocations.
93 * Makefile.am: Regenerate dependencies.
94 * Makefile.in: Regenerate.
96 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
98 * readelf.c (parse_args): Handle multiple options to the -w
101 2001-10-12 Jakub Jelinek <jakub@redhat.com>
103 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
104 LOPROC, LOOS and LOUSER.
106 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
108 * MAINTAINERS: Update my email address.
110 2001-10-03 Alan Modra <amodra@bigpond.net.au>
112 * doc/Makefile.in: Regenerate.
113 * configure: Regenerate.
115 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
117 * readelf.c (display_debug_line, display_debug_pubnames,
118 display_debug_info, display_debug_frames): Detect and warn
119 about 64-bit format entries.
120 (display_debug_aranges): Reword 64-bit warning.
121 (debug_displays): Add .debug_pubtypes as a known, but not yet
122 supported, debug section.
124 2001-10-02 Alan Modra <amodra@bigpond.net.au>
126 * coffdump.c (PROGRAM_VERSION): Delete.
127 (main <'V'>): Call print_version.
128 * srconv.c: Likewise.
129 * sysdump.c: Likewise.
130 * version.c (program_version): Remove.
131 (print_version): Use BFD_VERSION_STRING. Just print the current
132 year in copyright message.
133 * addr2line.c (program_version): Remove unused declaration.
134 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
135 place of BFD_VERSION.
136 * Makefile.am (Makefile): Depend on bfd/configure.in.
137 (cplus-dem.o): Depend on Makefile.
139 * Makefile.in: Regenerate.
141 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
143 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
144 format .debug_arange sections.
145 (main): Add missing prototype.
147 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
149 * Makefile.am: Update dependencies with "make dep-am".
150 * Makefile.in: Regenerate.
152 2001-09-28 Richard Henderson <rth@redhat.com>
154 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
156 2001-09-26 Alan Modra <amodra@bigpond.net.au>
158 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
160 (non_fatal): Likewise.
161 * objdump.c (objdump_sprintf): Likewise.
162 * readelf.c (error): Likewise.
165 2001-09-25 Jakub Jelinek <jakub@redhat.com>
167 * readelf.c (do_wide): New.
168 (options): Add --wide.
169 (usage, parse_args): Likewise.
170 (process_program_headers): Put each segment on a single line if
172 (process_section_headers): Put each section on a single line if
174 * doc/binutils.texi: Document it.
177 2001-09-25 Alan Modra <amodra@bigpond.net.au>
179 * readelf.c (print_vma): Print 8 digits of low hex value.
181 2001-09-24 Andreas Jaeger <aj@suse.de>
183 * nlmconv.c: Fix warnings about unused attributes and function
186 * strings.c: Add prototype for get_char.
188 2000-09-19 H.J. Lu <hjl@gnu.org>
190 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
191 $(srcdir)/cxxfilt.man.
192 * doc/Makefile.in: Rebuild.
194 2001-09-19 Alan Modra <amodra@bigpond.net.au>
196 * objcopy.c (copy_main): Correct rename-section string parsing.
197 Consolidate new_name parsing, and error messages.
199 2001-09-18 Bruno Haible <haible@clisp.cons.org>
201 * addr2line.c: Don't include <ctype.h>.
202 (main): For gettext, also set the LC_CTYPE locate facet.
203 * ar.c (main): Likewise.
204 * coffdump.c (main): Likewise.
205 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
206 (main): For gettext, also set the LC_CTYPE locate facet.
207 Use ISALNUM instead of isalpha/isdigit.
208 * dllwrap.c: Don't include <ctype.h>.
209 (main): For gettext, also set the LC_CTYPE locate facet.
210 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
211 (main): For gettext, also set the LC_CTYPE locate facet.
212 Use TOUPPER instead of islower/toupper.
213 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
214 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
215 Use TOUPPER instead of islower/toupper.
216 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
217 * objcopy.c (main): Likewise.
218 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
219 (disassemble_bytes): Use ISPRINT instead of isprint.
220 (dump_section_stabs): Use ISDIGIT instead of isdigit.
221 (dump_data): Use ISPRINT instead of isprint.
222 (main): For gettext, also set the LC_CTYPE locate facet.
223 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
224 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
225 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
226 Use TOUPPER instead of islower/toupper.
227 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
228 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
229 (write_rc_accelerators): Use ISPRINT instead of isprint.
230 (write_rc_rcdata): Likewise.
231 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
232 * srconv.c (main): Likewise.
233 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
234 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
235 isdigit/isupper/islower.
236 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
237 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
238 stab_demangle_prefix, stab_demangle_qualified,
239 stab_demangle_template, stab_demangle_type,
240 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
241 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
242 (isgraphic): Use ISPRINT instead of isascii/isprint.
243 (main): Remove HAVE_LC_MESSAGES dependency.
244 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
245 (pbarray): Use ISPRINT instead of isprint.
246 (main): For gettext, also set the LC_CTYPE locate facet.
247 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
248 (format_from_filename): Use ISPRINT instead of isprint.
249 (main): For gettext, also set the LC_CTYPE locate facet.
250 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
251 (unicode_print): Use ISPRINT instead of isprint.
252 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
253 (stab_variable): Use ISDIGIT instead of isdigit.
255 2001-09-18 Alan Modra <amodra@bigpond.net.au>
257 * ar.c (print_contents): Cast args of bfd_seek to the right types.
258 Replace bfd_read call with call to bfd_bread.
259 (extract_file): Likewise.
261 * objdump.c (dump_section_header): Cast section->filepos to
262 unsigned long to suit printf format string.
263 * readelf.c (process_section_headers): Similarly for sh_offset.
264 (process_unwind): Likewise.
266 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
268 * strings.c (encoding, encoding_bytes): New variables.
269 (long_options): Add --encoding.
270 (main): Accept -e and --encoding.
271 (get_char): New function. Read a, possibly wide, character from
273 (print_strings): Use get_char().
274 (usage): Document new command line option.
275 * doc/binutils.texi: Document new command line option.
276 * NEWS: Announce new command line option.
278 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
280 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
281 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
282 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
283 Removed EM_CYGNUS_ARC.
285 2001-09-04 Jeffrey A Law (law@cygnus.com)
287 * readelf.c: Include elf/h8 for H8 series definitions.
288 (guess_is_rela): H8 series if RELA.
289 (dump_relocations): Handle H8 series relocations.
291 2001-08-31 Eric Christopher <echristo@redhat.com>
293 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
295 2001-08-29 Peter Targett <peter.targett@arccores.com>
297 * MAINTAINERS: Include ARC Maintainer.
299 2001-08-29 Ben Elliston <bje@redhat.com>
301 * stabs.c (stab_demangle_template): Initialise s4.
303 2001-08-27 Alan Modra <amodra@bigpond.net.au>
305 * readelf.c (dump_relocations): Recognise EM_PPC64.
307 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
309 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
311 2001-08-25 H.J. Lu <hjl@gnu.org>
313 * nm.c (print_width): New.
314 (display_rel_file): Set `print_width' according to
316 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
318 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
320 * objcopy.c (use_alt_mach_code): New variable.
321 (OPTION_ALT_MACH_CODE): Define.
322 (copy_options): Added --alt-machine-code.
323 (copy_main): Handle it.
324 (copy_object): Switch to alternate machine code if requested.
325 * doc/binutils.texi: Document new option.
328 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
330 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
332 2001-08-21 H.J. Lu <hjl@gnu.org>
334 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
335 (display_debug_info): Cast for 64bit hosts.
336 (display_debug_frames): Likewise.
337 (process_mips_specific): Likewise.
339 2001-08-21 Andreas Jaeger <aj@suse.de>
341 * coffgrok.h: Add missing parameter for prototype of coff_grok.
343 * sysdump.c: Add missing prototypes.
344 * srconv.c: Likewise.
345 * unwind-ia64.c: Likewise.
346 * coffdump.c: Likewise.
348 * sysinfo.y: Print prototypes, include <ansidecl.h>.
350 * coffgrok.c: Add missing prototypes, include libiberty.h instead
351 of declaring xcalloc.
353 2001-08-10 H.J. Lu <hjl@gnu.org>
355 * nm.c (print_value): Add one arg, bfd *.
356 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
357 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
358 (print_symbol_info_sysv): Likewise.
359 (print_symbol_info_posix): Likewise.
361 * objdump.c (dump_section_header): Replace printf_vma with
363 (print_section_stabs): Likewise.
364 (dump_bfd_header): Likewise.
365 (objdump_print_value): Replace sprintf_vma with
367 (disassemble_bytes): Likewise.
368 (dump_reloc_set): Likewise.
370 2001-08-10 Andreas Jaeger <aj@suse.de>
372 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
374 * configure: Regenerate.
376 2001-08-09 Alan Modra <amodra@bigpond.net.au>
378 * readelf.c: Add missing prototypes.
379 * objdump.c: Likewise. Format existing prototypes.
381 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
383 * readelf.c (display_debug_info): Add to abbrev_offset the addend
384 of any RELA relocation for the abbrev_offset memory location that
385 refers to the .debug_abbrev section symbol.
387 2001-08-07 H.J. Lu <hjl@gnu.org>
389 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
390 (main): Return process_file ().
392 2001-08-05 Philip Blundell <philb@gnu.org>
394 * doc/binutils.texi: Use "Thumb" not "THUMB".
396 2001-08-03 John Healy <jhealy@redhat.com>
398 Patch suggested by Frank Eigler <fche@redhat.com>.
399 * objdump.c (disassemble_data): Fill in section member of the
400 disasm_info structure.
402 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
404 * configure.in: Added --with-windres option.
405 * configure: Regenerated.
407 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
409 * doc/binutils.texi: Use @command{name} for commands;
410 use @option{-opt} for options; use @table @env for list of options;
411 remove spaces arround [ | ] in synopsis.
413 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
416 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
418 * objcopy.c: Fix formatting.
419 (section_rename): New structure.
420 (OPTION_RENAME_SECTION): New switch.
421 (copy_usage): Document new switch.
422 (add_section_rename): New function: Add a node to the section
424 (find_section_rename): New function: Find the new name and
426 (setup_section): Call find_section_name to determine the name
427 of the output section.
428 (copy_main): Handle OPTION_RENAME_SECTION.
429 * binutils.texi: Document new switch.
430 * NEWS: Mention new switch.
432 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
434 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
435 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
436 bug-binutils@gcc.org.
438 2001-07-28 Matthias Kramm <kramm@quiss.org>
440 * bucomm.c (list_supported_architectures): New function.
441 * bucomm.h (list_supported_architectures): Declare.
442 * objdump.c (usage): Call the above.
444 2001-07-25 Dave Brolley <brolley@redhat.com>
446 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
447 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
449 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
451 * README: Update for 2.11. Change bug reporting email address.
452 * MAINTAINERS: Tidy up. Change bug reporting email address.
454 2001-07-16 DJ Delorie <dj@redhat.com>
456 * resres.c (write_res_header): Align header size.
457 (res_align_file): Calculate alignment correctly.
459 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
461 * resrc.c (write_rc_resource): Likewise.
462 * windres.h (SUBLANG_SHIFT): Define - as 10.
464 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
466 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
468 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
470 * MAINTAINERS: Add notes about branch checkins.
472 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
474 * readelf.c (display_debug_macinfo): New function, display
475 .debug_macinfo section.
476 (do_debug_macinfo): New variable.
477 (parse_args): Handle "-w[mM]" to mean display macro info.
478 (process_section_headers): Handle debug_macinfo.
479 (debug_displays): Replace unsupported function with macinfo
480 function for .debug_macinfo display.
481 * doc/binutils.texi: Document new command line switch.
482 * NEWS: Document new feature of readelf.
484 2001-07-05 H.J. Lu <hjl@gnu.org>
486 * objcopy.c (filter_symbols): Don't turn undefined symbols
489 2001-07-03 H.J. Lu <hjl@gnu.org>
491 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
494 (dlltool.1): Likewise.
495 (nlmconv.1): Likewise.
497 (objcopy.1): Likewise.
498 (objdump.1): Likewise.
499 (ranlib.1): Likewise.
500 (readelf.1): Likewise.
502 (strings.1): Likewise.
504 (windres.1): Likewise.
505 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
506 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
509 * doc/Makefile.in: Regenerated.
511 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
513 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
515 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
517 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
519 2001-06-29 James Cownie <jcownie@etnus.com>
521 * readelf.c: Support DWARF 2.1 attributes.
523 2001-06-28 Alan Modra <amodra@bigpond.net.au>
525 * readelf.c (GET_DATA_ALLOC): Remove.
527 (get_data): New function combining above macros, with an extra
529 (slurp_rela_relocs): Use get_data, and catch error return.
530 (slurp_rel_relocs): Likewise.
531 (get_32bit_program_headers): Likewise.
532 (get_64bit_program_headers): Likewise.
533 (get_32bit_section_headers): Likewise.
534 (get_64bit_section_headers): Likewise.
535 (get_32bit_elf_symbols): Likewise.
536 (get_64bit_elf_symbols): Likewise.
537 (process_section_headers): Likewise.
538 (process_relocs): Likewise.
539 (slurp_ia64_unwind_table): Likewise.
540 (process_unwind): Likewise.
541 (get_32bit_dynamic_segment): Likewise.
542 (get_64bit_dynamic_segment): Likewise.
543 (process_dynamic_segment): Likewise.
544 (process_version_sections): Likewise.
545 (process_symbol_table): Likewise.
546 (dump_section): Likewise.
547 (display_debug_info): Likewise.
548 (display_debug_section): Likewise.
549 (process_section_contents): Likewise.
550 (process_corefile_note_segment): Likewise.
551 (process_mips_specific): Likewise. Also free econf32, econf64.
553 2001-06-25 Alan Modra <amodra@bigpond.net.au>
555 * readelf.c (dump_relocations): Print "bad symbol index" if
556 symtab == NULL with non-zero symtab_index.
557 (process_relocs): Don't bomb if reloc section has no symsec.
559 2001-06-24 H.J. Lu <hjl@gnu.org>
561 * objcopy.c (strip_main): Revert the change made on 2001-05-30
563 (copy_main): Apply the the change made to strip_main on
564 2001-05-30 by accident.
566 2001-06-23 Andreas Jaeger <aj@suse.de>
568 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
570 (unw_decode_x2): Likewise.
571 (unw_decode_x3): Likewise.
572 (unw_decode_x4): Likewise.
574 2001-06-23 Ben Elliston <bje@redhat.com>
576 * MAINTAINERS: Add myself as M88k maintainer.
578 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
580 * objcopy.c (strip_main): Support -o or --output-file command lien
583 2001-06-19 H.J. Lu <hjl@gnu.org>
585 * doc/Makefile.in: Regenerated.
587 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
589 * readelf.c: Restore formatting.
591 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
593 * Makefile.am: Move documentation into doc subdirectory.
594 * Makefile.in: Regenerated.
595 * binutils.texi: Move into doc subdirectory.
596 * addr2line.1: Removed.
598 * dlltool.1: Likewise.
599 * nlmconv.1: Likewise.
601 * objcopy.1: Likewise.
602 * objdump.1: Likewise.
603 * ranlib.1: Likewise.
604 * readelf.1: Likewise.
606 * strings.1: Likewise.
608 * windres.1: Likewise.
609 * cxxfilt.man: Likewise.
610 * doc: New Directory.
611 * doc/Makefile.am: New file.
612 * doc/Makefile.in: Generate.
614 2001-06-09 Alan Modra <amodra@bigpond.net.au>
616 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
618 2001-06-01 Alan Modra <amodra@bigpond.net.au>
620 * MAINTAINERS: Update my email address.
622 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
624 * objcopy.c: Add new switches: --keep-global-symbol,
625 --keep-symbols, --localize-symbols, --keep-global-symbols and
627 * binutils.texi: Document new switches.
628 * objcopy.1: Regenerate.
629 * NEWS: Announce new feature.
631 2001-05-28 Andreas Jaeger <aj@suse.de>
633 * readelf.c (display_debug_frames): Fix warnings: Remove unused
634 variables, fix format strings.
636 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
638 * objdump.c (disassemble_bytes): Remove section VMA adjustment
639 when computing the address of the line to show.
641 2001-05-16 Richard Henderson <rth@redhat.com>
643 * readelf.c (do_debug_frames_interp): New.
644 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
645 (byte_get_big_endian): Likewise.
646 (parse_args) ['F']: Set do_debug_frames_interp.
647 (Frame_Chunk): Make data_factor signed, add fde_encoding.
648 (frame_display_row): Don't trunc pc_begin to int.
649 (size_of_encoded_value): New.
650 (display_debug_frames): Handle 64-bit targets. Print raw data
651 unless do_debug_frames_interp.
652 (debug_displays): Remove duplicate .debug_frame.
654 2001-05-15 Ralf Baechle <ralf@gnu.org>
656 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
657 The former constant was never in active use and is used otherwise
660 2001-05-11 Jakub Jelinek <jakub@redhat.com>
662 * readelf.c (process_unwind): Print all unwind sections, not just
665 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
667 * readelf.c (process_unwind): Remove const specifier.
669 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
671 * strings.c (isgraphic): Do not use isascii() unless it is needed
672 for isprint() to work.
673 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
675 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
677 * NEWS: Announce support for OpenRISC.
679 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
681 * dlltool.c (do_default_excludes): Initialise to true.
683 2001-04-10 Alan Modra <amodra@one.net.au>
685 * MAINTAINERS: Update my email address
686 * nm.c (print_symbol_info_bsd): Use a simple printf string.
688 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
690 * readelf.c (display_debug_lines): Fix typo for "Prologue".
692 2001-03-30 H.J. Lu <hjl@gnu.org>
694 * readelf.c (process_unwind): Just return if do_unwind is 0.
696 2001-03-28 Roger Sayle <roger@metaphorics.com>
698 * dlltool.c (make_one_lib_file): Fix section flags for
699 .text, .data and .bss in stub ds*.o files to match those
702 2001-03-29 H.J. Lu <hjl@gnu.org>
704 * readelf.c (process_unwind): Only do unwind sections for
707 2001-03-28 H.J. Lu <hjl@gnu.org>
709 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
710 * Makefile.in: Regenerate.
712 2001-03-26 Andreas Jaeger <aj@suse.de>
714 * binutils.texi (nm): Fix texi syntax.
716 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
718 * binutils.texi: Put @c man begin and @c man end indications
719 to generate man pages using texi2pod and pod2man. Put @c man title
720 to identify each man. Add SEEALSO entries.
721 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
722 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
724 (*.1): Build the man pages from binutils.texi.
725 * Makefile.in: Regenerate.
727 2001-03-13 Eric Kohl <ekohl@rz-online.de>
729 * defparse.y (opt_equal_name): allow "." in name.
730 * dlltool.c (def_exports): Added ability to generate forwarded exports.
731 (gen_exp_file): Likewise.
733 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
735 * NEWS: Document addition of -B switch to objcopy.
736 * binutils.texi: Document addition of -B switch to objcopy.
737 * objcopy.c: (copy_options): Add --binary-architecture.
738 (copy_usage): Document -B/--binary-architecture.
739 (copy_main): Support -B/--binary-architecture. Set
740 bfd_external_binary_architecture.
742 2001-03-11 Andreas Jaeger <aj@suse.de>
744 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
745 (dump_relocations): Likewise.
746 (get_machine_name): Likewise.
748 2001-02-28 Nick Clifton <nickc@redhat.com>
750 * readelf.c: (struct unw_aux_info): Remove const modifier for
752 (process_unwind): Remove non-K&R compliant LHS type cast in call
753 to GET_DATA_ALLOC macro.
755 2001-02-28 Philip Blundell <pb@futuretv.com>
757 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
758 ABI is in use; remove ambiguity between the "unknown" EABI and
759 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
760 renamed EF_xx constants.
762 2001-02-27 Alan Modra <alan@linuxcare.com.au>
764 * configure.in (BFD_VERSION): New.
765 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
766 * configure: Regenerate.
767 * Makefile.am: Run "make dep-am"
768 * Makefile.in: Regenerate.
770 2001-02-14 Nick Clifton <nickc@redhat.com>
772 * MAINTAINERS: Add "Obvious Fix" rule.
774 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
776 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
777 literal concatenation.
779 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
781 * readelf.c (struct unw_aux_info): Remove const from the info member.
782 (process_unwind): Don't type-cast the third argument to the
783 GET_DATA_ALLOC macro.
785 2001-02-11 Nick Clifton <nickc@redhat.com>
787 * readelf.c (dump_relocations): Free corrected allocated
789 (process_unwind): Fix compile time warning.
791 2001-02-10 Nick Clifton <nickc@redhat.com>
793 * binutils.texi: Document new --unwind option to readelf.
795 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
797 * readelf.c: Add linux target for S/390.
799 2001-02-10 Alan Modra <alan@linuxcare.com.au>
801 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
804 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
806 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
807 * aclocal.m4: Regenerate.
808 * configure: Regenerate.
810 2001-02-07 Todd Vierling <tv@wasabisystems.com>
812 * bucomm.c (bfd_target_vector): Change extern array to pointer.
813 * objdump.c (bfd_target_vector): Likewise.
815 2001-02-07 David Mosberger <davidm@hpl.hp.com>
817 * readelf.c (process_unwind): New function.
818 (slurp_ia64_unwind_table): Ditto.
819 (dump_ia64_unwind): Ditto.
820 (find_symbol_for_address): Ditto.
821 (slurp_rela_relocs): New function (split off from dump_relocations()).
822 (slurp_rel_relocs): Ditto.
823 (parse_args): Handle '-u' option.
825 * unwind-ia64.c: New file.
826 * unwind-ia64.h: New file.
827 * Makefile.am: Include unwind-ia64.c in readelf build.
828 * Makefile.in: Regenerate.
829 * po/binutils.pot: Regenerate.
831 2001-02-04 Philip Blundell <philb@gnu.org>
833 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
834 * configure: Regenerate.
836 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
838 * ieee.c (ieee_add_bb11): Don't check for backslashes
839 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
841 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
843 * ieee.c: Update copyright.
844 (ieee_start_compilation_unit): Don't check for backslashes
845 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
847 * stabs.c: Update copyright. Include "filenames.h".
848 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
850 2001-01-23 Jakub Jelinek <jakub@redhat.com>
852 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
853 sections are present before using them. Remove code duplication.
854 (process_symbol_table): Check if VERDEF or VERNEED sections are
855 present before using them.
857 2001-01-17 Nick Clifton <nickc@redhat.com>
859 * objcopy.c (copy_object): Fail if attempting to convert the
860 endianness of the input object file.
862 * binutils.texi: Explain that objcopy cannot convert endianness.
864 2001-01-16 Nick Clifton <nickc@redhat.com>
866 * readelf.c (string_table_length): New variable.
867 (SECTION_NAME): Catch out of range indices and missing section
869 (process_section_headers): Delete useless local variable
870 string_table_offset. Set the value of string_table_length
871 after loading the string table.
872 (process_mips_specific): Use SECTION_NAME macro.
873 (process_file): Set string_table_length to 0 when it is freed.
875 2001-01-12 Nick Clifton <nickc@redhat.com>
877 * version.c (print_version): Update copyright date.
879 2001-01-11 Peter Targett <peter.targett@arccores.com>
881 * readelf.c (dump_relocations): Include selection with EM_ARC.
882 (get_machine_name) Update name to "ARC".
884 2001-01-09 Nick Clifton <nickc@redhat.com>
886 * Makefile.am: Add rule to build objdump.o from objdump.c and
888 * Makefile.in: Regenerate.
890 * configure.in: Define OBJDUMP_DEFS. Default to empty.
891 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
892 -DDISASSEMBLER_NEEDS_RELOCS.
893 * configure: Regenerate.
895 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
896 is defined read in the relocs even if dump_reloc_info is
899 2001-01-07 Philip Blundell <philb@gnu.org>
901 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
905 2000-12-19 Nick Clifton <nickc@redhat.com>
907 * dlltool.c: Add missing support for arm-epoc-pe.
908 * configure.in: Add missing support for arm-epoc-pe.
909 * configure: Regenerate.
911 2000-12-15 Nick Clifton <nickc@redhat.com>
913 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
914 Mode parts of the x86 port.
916 2000-12-04 Andreas Jaeger <aj@suse.de>
918 * readelf.c (guess_is_rela): Add EM_X86_64.
919 (dump_relocations): Add EM_X86_64.
920 (get_machine_name): Add EM_X86_64.
921 Include "elf/x86-64.h".
923 2000-12-12 Nick Clifton <nickc@redhat.com>
925 * readelf.c: Fix formatting.
927 2000-12-11 Jan Hubicka <jh@suse.cz>
929 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
931 2000-12-07 Andrew Haley <aph@redhat.com>
933 * readelf.c (display_debug_frames): Only display columns that are
934 referenced by the frame debug info.
936 2000-12-05 Nick Clifton <nickc@redhat.com>
938 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
940 2000-12-04 Jason Merrill <jason@redhat.com>
942 * readelf.c (process_section_headers): Handle linkonce.wi sections.
943 (display_debug_section): Likewise.
944 (display_debug_info): Display CU header before bailing.
946 2000-12-01 Chris Demetriou <cgd@sibyte.com>
948 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
949 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
950 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
952 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
955 * readelf.c (get_machine_flags): Add case for
958 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
960 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
962 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
964 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
965 Change sourceware.cygnus.com to sources.redhat.com.
966 Fix typo for "amongst".
968 2000-11-28 Nick Clifton <nickc@redhat.com>
970 * strip.1 (COPYING): Mention that the GNU Free Documentation
971 License is present in the sources, but not the output, and
972 also available from the GNU website.
973 (GNU Free Documentation License): Comment out this section.
982 * addr2line.1: Ditto.
984 2000-11-27 DJ Delorie <dj@redhat.com>
986 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
987 (parse_args): Support -wf option.
988 (process_section_headers): Ditto.
989 (debug_displays): Ditto.
990 (display_debug_frames): New, dump *_frame sections.
991 (frame_need_space): Support for above.
992 (frame_display_row): Ditto.
993 * binutils.texi: Document it.
995 2000-11-24 Nick Clifton <nickc@redhat.com>
997 * NEWS: Announce support for v5t, v5te and XScale.
999 2000-11-22 Nick Clifton <nickc@redhat.com>
1001 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1002 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1003 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1004 (get_elf_section_flags: Add SHF_GROUP.
1005 (process_section_headers): Adjust output for 32-bit binaries
1006 to look nice on an 80 column terminal.
1008 2000-11-20 H.J. Lu <hjl@gnu.org>
1010 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1013 2000-11-17 Richard Henderson <rth@redhat.com>
1015 * readelf.c (display_debug_lines): Adjust last change to
1016 use sizeof (external->li_length).
1018 2000-11-17 Richard Henderson <rth@redhat.com>
1020 * readelf.c (display_debug_lines): Fix section length check
1021 and end_of_sequence computation.
1023 2000-11-06 Nick Clifton <nickc@redhat.com>
1025 * binutils.texi: Add GNU Free Documentation License.
1026 * objcopy.1: Add GNU Free Documentation License.
1027 * objdump.1: Add GNU Free Documentation License.
1028 * addr2line.1: Add GNU Free Documentation License.
1029 * ar.1: Add GNU Free Documentation License.
1030 * nlmconv.1: Add GNU Free Documentation License.
1031 * nm.1: Add GNU Free Documentation License.
1032 * ranlib.1: Add GNU Free Documentation License.
1033 * size.1: Add GNU Free Documentation License.
1034 * strings.1: Add GNU Free Documentation License.
1035 * strip.1: Add GNU Free Documentation License.
1037 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1039 * objcopy.c (--srec-len=nn): New parameter to set the
1040 maximum length of generated Srecords.
1041 (--srec-forceS3): New parameter that restricts the generation of
1042 Srecords to type S3 only.
1043 * binutils.texi: Document new command line switches.
1044 * objcopy.1: Docuemnt the new command line switches.
1045 * NEWS: Announce the existence of the new command line switches.
1047 2000-10-31 Nick Clifton <nickc@redhat.com>
1049 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1050 code. Add Eric Chrisopher as maintainer of MN10300 port.
1052 2000-10-12 Roger Sayle <roger@metaphorics.com>
1054 * Make comma after string after icon/control optional.
1056 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1058 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1060 * NEWS: Mention support for MIPS32.
1062 2000-09-08 Nick Clifton <nickc@redhat.com>
1064 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1066 2000-09-07 H.J. Lu <hjl@gnu.org>
1068 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1069 * configure: Rebuild.
1071 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1073 * configure: Rebuilt with new libtool.m4.
1075 2000-09-05 Nick Clifton <nickc@redhat.com>
1077 * aclocal.m4: Regenerate.
1078 * config.in: Regenerate.
1079 * configure: Regenerate.
1081 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1083 * strip.1: Fix stray '\' in -o formatting.
1085 2000-09-02 Nick Clifton <nickc@redhat.com>
1087 * configure.in: Increase version number to 2.10.91.
1088 * configure: Regenerate.
1089 * aclocal.m4: Regenerate.
1090 * config.in: Regenerate.
1091 * po/binutils.pot: Regenerate.
1093 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1095 * acinclude.m4: Include libtool and gettext macros from the
1097 * aclocal.m4, configure: Rebuilt.
1099 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1101 * resrc.c (close_input_stream): Delete extraneous logic
1103 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1105 * NEWS: Mention support for CRIS.
1107 2000-08-21 Nick Clifton <nickc@redhat.com>
1109 * addr2line.c: Changed email address for Ulrich Lauther.
1111 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1113 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1115 2000-08-17 Nick Clifton <nickc@redhat.com>
1117 * readelf.c (display_debug_pubnames): Only issue warning
1118 message once. Terminate message with a new line.
1119 (display_debug_aranges): Only display version 2 debug info.
1121 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1123 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1124 for compatability with old BSD systems.
1126 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1128 * NEWS: Mention i860 support.
1130 2000-08-11 Carlo Wood <carlo@alinoe.com>
1132 * addr2line.c (main): Add const to char *.
1134 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1136 * ar.c (main): Don't crash if called with no arguments
1137 or only '-X32_64' as an argument.
1139 2000-08-08 DJ Delorie <dj@redhat.com>
1141 * resrc.c: use "gcc -xc" instead of -xc-header
1143 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1145 * readelf.c (elf/i860.h): Include.
1146 (dump_relocations): Add recognition of i860 architecture.
1147 (guess_is_rela): Add recognition of i860 architecture.
1149 2000-08-03 Nick Clifton <nickc@cygnus.com>
1151 * MAINTAINERS: Add information about CGEN maintainers.
1153 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1155 * nm.c (main): Ignore '-X32_64' as an option.
1156 * ar.c (main): Likewise.
1157 * binutils.texi (nm): Document new option.
1160 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1162 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1164 2000-07-20 H.J. Lu <hjl@gnu.org>
1166 * binutils.texi: Put back "@end table" deleted by
1169 2000-07-05 Kenneth Block <krblock@computer.org>
1171 * nm.c: Add optional style to demangle switch.
1172 * objdump.c: Add optional style to demangle switch.
1173 * addr2line.c: Add optional style to demangle switch.
1174 * binutils.texi: Document optional style to demangle
1177 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1179 * MAINTAINERS: Add self as CRIS port maintainer.
1180 * readelf.c: Include elf/cris.h.
1181 (guess_is_rela): Handle EM_CRIS.
1182 (dump_relocations): Ditto.
1183 (get_machine_name): Ditto.
1184 * Makefile.am: Rebuild dependencies.
1185 * Makefile.in: Regenerate.
1186 * po/binutils.pot: Regenerate.
1188 2000-07-19 H.J. Lu <hjl@gnu.org>
1190 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1192 (process_dynamic_segment): Print out strings for DT_CONFIG,
1193 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1195 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1197 * nm.c (usage): Change output of `nm --help' to include a
1198 description of the purpose of the program and a detailed
1199 description of the accepted options.
1201 2000-07-19 H.J. Lu <hjl@gnu.org>
1203 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1206 2000-07-19 H.J. Lu <hjl@gnu.org>
1208 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1210 2000-07-19 H.J. Lu <hjl@gnu.org>
1212 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1214 (process_dynamic_segment): Likewise.
1216 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1217 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1218 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1219 DF_1_NODUMP and DF_1_CONLFAT.
1221 2000-07-18 Nick Clifton <nickc@cygnus.com>
1223 * binutils.texi (readelf): Fix spelling typo.
1225 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1227 * objdump.c (usage): Make output of `objdump --help' more
1228 consistent with the rest of the GNU world. Add a line describing
1229 the purpose of the program.
1231 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1233 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1236 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1238 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1240 (process_symbol_table): Ditto.
1241 (procesS_extended_line_op): Ditto.
1242 (display_debug_lines): Ditto.
1243 (display_debug_pubnames): Ditto.
1244 (read_and_display_attr): Ditto.
1246 2000-07-09 Nick Clifton <nickc@cygnus.com>
1248 * MAINTAINERS: Add several more port specific maintainers.
1250 2000-07-05 Nick Clifton <nickc@cygnus.com>
1252 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1254 2000-06-05 DJ Delorie <dj@redhat.com>
1258 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1260 * dllwrap.c: Changed mistaken dyn_string_append() calls
1261 to dyn_string_append_cstr().
1263 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1265 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1266 struct debug_type stores size in bytes.
1268 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1270 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1271 (CLEANFILES): Add DEPA.
1272 * Makefile.in: Regenerate.
1274 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1276 * ar.c: Revert incorrect 2000-06-25 patch.
1277 * bucomm.c: Likewise.
1279 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1281 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1282 (external_coff_symbol_p): New function.
1283 (parse_coff): Use it.
1285 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1287 * ar.c (normalize): Advance past both characters in a DOS based
1288 <letter>: filepath prefix.
1290 * bucomm.c (make_tempname): Likewise.
1292 2000-06-24 Nick Clifton <nickc@cygnus.com>
1294 * objdump.c (usage): Fix description of --stabs switch.
1296 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1298 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1300 * Makefile.in: Regenerate.
1302 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1304 * ar.c (normalize): Correct pointer comparison when checking for
1307 * bucomm.c (make_tempname): Likewise.
1309 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1310 and search for backslashes in the original pathname.
1311 (ieee_add_bb11): Likewise.
1313 2000-06-18 Nick Clifton <nickc@redhat.com>
1315 * ar.c (print_contents): Improve verbose message.
1317 2000-06-15 H.J. Lu <hjl@gnu.org>
1319 * dyn-string.c: Removed. Not needed with dyn-string.c in
1321 * dyn-string.h: Likewise.
1323 * Makefile.am: Remove references to dyn-string.c and
1324 dyn-string.h. Rebuild dependency.
1325 * Makefile.in: Rebuild.
1327 2000-06-15 H.J. Lu <hjl@gnu.org>
1329 * binutils.texi: Put a warning on copying relocatable object
1330 files between two different formats.
1332 2000-06-13 DJ Delorie <dj@cygnus.com>
1334 * rcparse.y (control): ICON controls take an id as the first
1335 parameter, not an optional string. Also, call new convenience
1336 function that takes res_id's.
1337 * resrc.c (define_control): missing text means zero-length string,
1339 (define_icon_control): New.
1340 * windres.h: declare define_icon_control.
1342 2000-06-13 H.J. Lu <hjl@gnu.org>
1344 * configure: Regenerate.
1346 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1348 * configure.in (VERSION): Update to show this is the CVS mainline.
1350 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1352 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1353 analogous to <SPACE>.
1355 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1357 * objdump.c (display_target_list): Use bfd_close_all_done, not
1358 bfd_close to fix crash caused by 2000-05-24 change.
1360 2000-05-25 DJ Delorie <dj@cygnus.com>
1362 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1364 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1366 * Makefile.am: Update dependencies with "make dep-am"
1367 * Makefile.in: Regenerate.
1369 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1371 * ar.c: Include filenames.h.
1372 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1373 and drive letters in file names.
1374 (main): Support backslashes and drive letters in argv[0]. Drop
1375 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1376 FILENAME_CMP instead of strcmp to compare file names.
1377 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1379 (do_quick_append) [__GO32__]: Ditto.
1380 (get_pos_bfd, delete_members, move_members, replace_members):
1381 Compare file names with FILENAME_CMP.
1383 * bucomm.c: Include filenames.h.
1384 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1385 forward/backward slashes and drive letters in file names.
1387 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1388 mixed forward/backward slashes and drive letters in file names.
1390 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1391 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1394 * objcopy.c: Include filenames.h.
1395 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1396 before comparing to "strip".
1397 Use FILENAME_CMP to compare file names.
1399 * arsup.c: Include filenames.h.
1400 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1401 FILENAME_CMP to compare file names.
1402 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1403 the temporary file name.
1405 * configure.in: Check for setmode.
1406 * configure: Regenerate.
1408 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1410 * objdump.c (display_target_list): Close the bfd.
1411 (display_info_table): Likewise.
1413 2000-05-14 H.J. Lu (hjl@gnu.org)
1415 * objcopy.c (filter_symbols): Don't strip global symbols in
1416 relocatable object files.
1418 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1420 * size.c (usage): Associate short options with corresponding long
1421 option to give a clue as to their function.
1423 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1425 * size.c (main): Accept and ignore `-f' option.
1427 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1429 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1430 bindtextdomain): Replace defines with those from intl/libgettext.h
1431 to quieten gcc warnings.
1433 2000-05-12 H.J. Lu <hjl@gnu.org>
1435 * nlmconv.c (temp_filename): Removed.
1437 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1438 choose_temp_base ().
1439 * objdump.c (display_target_list): Likewise.
1440 (display_info_table): Likewise.
1442 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1444 * objcopy.c (setup_section): Add const and gettext calls for err.
1446 2000-05-02 H.J. Lu <hjl@gnu.org>
1448 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1449 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1450 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1451 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1452 and ELFOSABI_OPENBSD.
1454 2000-05-02 Kazu Hirata <kazu@hxi.com>
1456 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1457 * srconv.c: Likewise.
1458 * sysdump.c: Likewise.
1460 2000-04-23 Denis Chertykov <denisc@overta.ru>
1462 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1463 (get_machine_name): machine name for EM_AVR added.
1465 2000-04-21 Richard Henderson <rth@cygnus.com>
1466 David Mosberger <davidm@hpl.hp.com>
1468 * Makefile.am (readelf.o): Add elf/ia64.h.
1469 * Makefile.in: Rebuild.
1470 * readelf.c: Include elf/ia64.h.
1471 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1473 2000-04-17 Timothy Wall <twall@cygnus.com>
1475 * objdump.c (disassemble_data): Set octets per byte *after*
1476 resolving arch/mach for binary files.
1478 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1480 * arlex.l: Add directives to increase lex buffer size.
1482 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1483 already included by bucomm.h.
1485 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1487 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1488 `strftime' since strftime is not available on all systems.
1489 (process_mips_specific): Ditto.
1491 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1493 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1494 --enable-build-warnings option.
1495 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1496 * Makefile.in, configure: Re-generate.
1498 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1500 * addr2line.c: Update copyright.
1501 * objcopy.1: Likewise, and title.
1502 * strings.1: Likewise.
1504 * version.c (print_version): Add 2000.
1506 * rddbg.c (read_section_stabs_debugging_info): Don't use
1507 bfd_size_type for strx to avoid printf problems if BFD64.
1509 * bucomm.c: (report): Remove `static'.
1510 Move inclusion of stdarg.h/vararg.h from here.
1511 * bucomm.h: To here.
1512 (CONST): Change all occurences to const.
1513 (report): Declare it.
1514 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1515 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1516 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1518 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1519 Correct a typo in an error message.
1520 (do_quick_append): Use non_fatal instead of fprintf.
1521 (move_members): Use fatal instead of fprintf, exit.
1522 * coffdump.c (main): Same here.
1524 * dlltool.c (display): Delete.
1526 (inform): Use `report' instead of `display'.
1527 (rvaafter): Remove trailing \n from fatal error msg.
1529 (asm_prefix): Ditto.
1530 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1531 (def_name): Likewise.
1533 (scan_all_symbols): Likewise.
1534 (gen_lib_file): Likewise.
1535 (def_library): Likewise. Remove extra program_name too.
1536 (run): Remove \n from inform strings.
1537 (scan_drectve_symbols): Likewise.
1538 (add_excludes): Likewise.
1539 (scan_open_obj_file): Likewise.
1540 (gen_exp_file): Likewise.
1541 (gen_lib_file): Likewise.
1542 (process_duplicates): Likewise.
1544 * Makefile.am (dllwrap_SOURCES): Add version.c.
1545 * dllwrap.c (program_version): Delete.
1546 (print_version): Delete.
1547 (display): Always print trailing \n.
1549 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1552 (usage): gettext'ify.
1553 (long_options): Add missing initialisers.
1555 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1556 (select_output_format): Likewise.
1557 (powerpc_mangle_relocs): Likewise.
1558 (link_inputs): Likewise.
1560 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1561 (set_output_format): Likewise.
1562 (main): Use non_fatal instead of fprintf.
1563 (display_rel_file): Likewise.
1565 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1566 (slurp_dynamic_symtab): Same here.
1567 (disassemble_data): And here.
1568 (read_section_stabs): And here.
1569 (read_section_stabs): And here.
1570 (dump_bfd): And here.
1572 (objdump_sprintf): Use fatal instead of fprintf, exit.
1573 (disassemble_data): Same here.
1575 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1576 (parse_coff_struct_type): Same here.
1577 (parse_coff_enum_type): And here.
1578 (parse_coff): And here.
1579 * rddbg.c (read_debugging_info): And here.
1580 * size.c (main): And here.
1581 * windres.c (format_from_name): And here.
1582 * wrstabs.c (stab_write_symbol): Here too.
1583 (write_stabs_in_sections_debugging_info): And here.
1584 (stab_int_type): And here.
1585 (stab_struct_field): And here.
1586 (stab_typdef): And here.
1588 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1589 * srconv.c (main): Same here.
1590 * strings.c (main): And here.
1591 (integer_arg): And here.
1592 * sysdump.c (main): And here.
1594 2000-04-06 Timothy Wall <twall@cygnus.com>
1596 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1598 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1600 * readelf.c (decode_location_expression): Loop through multiple
1602 (read_and_display_attr): Pass in length.
1604 * readelf.c (read_and_display_attr): Add CU offset to references.
1605 (display_debug_info): Pass it in.
1607 2000-04-06 Nick Clifton <nickc@cygnus.com>
1609 * readelf.c (decode_ARM_machine_flags): New function.
1610 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1613 (get_machine_name): Catch EM_AVR
1615 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1617 * binutils.texi: Remove optional `=' from long options that have
1618 an `=' in the argument.
1619 * objcopy.1: Here too. Remove extra space on discard-all.
1621 * binutils.texi (objcopy): Mention --redefine-sym.
1622 * objcopy.1: Here too.
1625 * objcopy.c (parse_flags): Split off flag names from error message
1626 gettext as they are not translated.
1627 (copy_main): Similarly split off option name for --add-section,
1628 --set-section-flags, --change-section-vma, --change-section-lma
1630 Some white space changes.
1632 from Matthew Benjamin <matt@linuxbox.nu>
1633 * objcopy.c (struct redefine_node): New.
1634 (redefine_sym_list): New.
1635 (redefine_list_append): New.
1636 (lookup_sym_redefinition): New.
1637 (OPTION_REDEFINE_SYM): New.
1638 (copy_options): Add --redefine-sym option.
1639 (copy_usage): Mention it.
1640 (filter_symbols): Rename symbols on redefine_sym_list.
1641 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1642 (copy_main): Handle OPTION_REDEFINE_SYM.
1644 2000-04-04 H.J. Lu <hjl@gnu.org>
1646 * readelf.c (process_symbol_table): Correctly read in symbol
1647 versioning information.
1649 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1651 * po/binutils.pot: Regenerate.
1653 * addr2line.c (usage): Restore translated part of bug string.
1654 * ar.c (usage): Likewise.
1655 * nlmconv.c (show_usage): Likewise.
1656 * nm.c (usage): Likewise.
1657 * objcopy.c (copy_usage): Likewise.
1658 (strip_usage): Likewise.
1659 * objdump.c (usage): Likewise.
1660 * readelf.c (usage): Likewise.
1661 * size.c (usage): Likewise.
1662 * strings.c (usage): Likewise.
1663 * windres.c (usage): Likewise.
1665 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1666 (DEP): Quote when passing vars to sub-make. Add warning
1668 (DEP1): Rewrite for "gcc -MM".
1669 (CLEANFILES): Add DEP2.
1670 Update dependencies.
1671 * Makefile.in: Regenerate.
1673 2000-04-04 H.J. Lu <hjl@gnu.org>
1675 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1676 (arparse.h): Depend on arparse.c
1677 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1679 2000-04-03 H.J. Lu (hjl@gnu.org)
1681 * size.c (usage): Use REPORT_BUGS_TO.
1683 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1685 * bucomm.h: #include "bin-bugs.h"
1686 * addr2line.c (usage): Use REPORT_BUGS_TO.
1687 * ar.c (usage): Likewise.
1688 * nlmconv.c (show_usage): Likewise.
1689 * nm.c (usage): Likewise.
1690 (OPTION_TARGET): Define.
1691 (long_options): Use OPTION_TARGET rather than 200.
1694 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1695 (strip_usage): Likewise.
1696 * objdump.c (usage): Likewise.
1697 * readelf.c (usage): Likewise.
1698 * strings.c (usage): Likewise.
1699 * windres.c (usage): Likewise.
1701 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1703 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1705 2000-03-27 Nick Clifton <nickc@cygnus.com>
1707 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1708 string offsets in corrupt stabs entries.
1710 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1712 * readelf.c: Include elf/avr.h
1713 (dump_relocations): Add EM_AVR case.
1715 2000-03-09 Tim Waugh <twaugh@redhat.com>
1717 * strings.1: Correct '-bytes' to '--bytes'.
1719 2000-03-08 H.J. Lu <hjl@gnu.org>
1721 * Makefile.am (install-exec-local): Depend on
1722 install-binPROGRAMS for parallel make.
1723 * Makefile.in: Regenerated.
1725 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1727 From Brad Lucier <lucier@math.purdue.edu>:
1728 * readelf.c (process_dynamic_segment): Add cast to make sure
1729 argument to %* is int.
1731 2000-02-25 H.J. Lu <hjl@gnu.org>
1733 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1735 2000-02-24 Nick Clifton <nickc@cygnus.com>
1737 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1738 * configure: Regenerate.
1740 * dlltool.c: Add support for sh-pe and mips-pe targets.
1741 * rescoff.c: Add support for sh-pe and mips-pe targets.
1743 2000-02-23 H.J. Lu <hjl@gnu.org>
1745 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1747 2000-02-22 Nick Clifton <nickc@cygnus.com>
1749 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1751 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1753 From Brad Lucier <lucier@math.purdue.edu>:
1754 * readelf.c (process_version_sections): Add casts to make sure
1755 argument to %* is an int.
1756 (process_mips_specific): Add casts to make printf arguments match
1759 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1761 * objdump.c (dump_section_header): Change `opb' to unsigned.
1762 (find_symbol_for_address): Same here.
1763 (disassemble_data): And here. Change `addr_offset',
1764 `stop_offset', `nextstop_offset' to unsigned long.
1765 (dump_data): Change opb to unsigned.
1767 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1769 * resrc.c: Remove unmatched #if for cygwin.
1771 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1773 * binutils.texi: Document the change of flavor name from atpcs-special
1774 to special-atpcs to prevent name conflict in gdb.
1776 2000-02-08 Timothy Wall <twall@redhat.com>
1778 * objdump.c (show_line): Fix bug preventing printing of the very
1779 first line (line zero) of a file when interlisting source and
1780 assembly. Added option to print entire context from start of file
1781 when the first line from that file is encountered.
1783 2000-02-03 Timothy Wall <twall@redhat.com>
1785 * objdump.c (dump_section_header, find_symbol_for_address,
1786 show_line, disassemble_bytes, disassemble_data, dump_data):
1787 distinguish between octets and bytes.
1789 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1791 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1792 check to unresolved symbols.
1793 (print_symbol_info_sysv): Ditto.
1794 (print_symbol_info_posix): Ditto.
1796 * binutils.texi: Document new 'V' symclass flag for nm.
1798 2000-01-27 Nick Clifton <nickc@redhat.com>
1800 * binutils.texi (objdump): Document new ARM specific
1801 disassembler options.
1803 * objdump.c (usage): Call disassembler_usage().
1805 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1807 * readelf.c (get_dynamic_flags): Return buff.
1808 (process_dynamic_segment): Don't pass error strings to printf
1810 (read_and_display_attr): Use lx and ld to print longs.
1811 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1815 2000-01-17 Nick Clifton <nickc@cygnus.com>
1817 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1819 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1821 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1823 (debug_tag_type): Here too.
1824 * ieee.c (ieee_builtin_type): And here.
1825 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1827 2000-01-13 Nick Clifton <nickc@cygnus.com>
1829 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1832 2000-01-11 Nick Clifton <nickc@cygnus.com>
1834 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1836 2000-01-10 Nick Clifton <nickc@cygnus.com>
1838 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1840 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1842 * windres.c (long_options): Add --use-temp-file and
1843 --no-use-temp-file options.
1847 * windres.h: Update read_rc_file prototype.
1849 * resrc.c (cpp_temp_file): New static variable.
1850 (istream_type): New static variable.
1851 (close_pipe): Delete function.
1852 (run_cmd): New static function.
1853 (open_input_stream): New static function.
1854 (close_input_stream): New static function.
1855 (look_for_default): Handle DOS directory separator. Use
1856 open_input_stream instead of popen.
1857 (read_rc_file): Likewise.
1859 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1862 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1864 * dlltool.c (create_compat_implib): New variable.
1865 (gen_exp_file): Use.
1866 (make_one_lib_file): Use.
1867 (long_options): Add --compat-implib option.
1871 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1872 (main): Use. Don't look for "32" in cygwin and mingw target names.
1874 2000-01-03 Nick Clifton <nickc@cygnus.com>
1876 * binutils.texi: Document new, ARM specific disassembler
1877 command line switch "-M force-thumb".
1879 For older changes see ChangeLog-9899
1885 version-control: never