1 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
3 * readelf.c (display_debug_lines): Deal with unknown standard
4 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
7 2001-11-13 Timothy Wall <twall@alum.mit.edu>
9 * MAINTAINERS: Add self as tic54x maintainer. This target
10 includes the IBM C54XDSP clone.
12 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
14 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
16 2001-11-09 Jeffrey A Law (law@cygnus.com)
18 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
19 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
20 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
21 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
22 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
23 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
24 (unw_decode_b2, unw_decode_b3_b4): Likewise.
26 * readelf.c (get_elf_class): Fix ISO portability glitch.
27 (get_data_encoding, get_osabi_name, request_dump): Likewise.
29 2001-11-07 Jakub Jelinek <jakub@redhat.com>
31 * readelf.c (debug_str, debug_str_size): New.
32 (display_debug_abbrev): If no abbrevs were read, skip the CU.
34 (read_and_display_addr): Handle DW_FORM_strp.
35 (display_debug_info): Read .debug_str section if present,
36 so that DW_FORM_strp can be handled.
37 Fix test for non-existant .debug_abbrev section.
39 2001-11-05 Jakub Jelinek <jakub@redhat.com>
41 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
43 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
45 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
47 * MAINTAINERS: Add self as s390/s390x maintainer.
49 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
51 * MAINTAINERS: Add self as PPC XCOFF maintainer.
53 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
55 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
56 * configure: Regernate.
60 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
62 * MAINTAINERS: Add self as MMIX port maintainer.
63 * readelf.c: Include elf/mmix.h.
64 (guess_is_rela): MMIX is RELA.
65 (dump_relocations): Handle MMIX relocations.
66 * Makefile.am: Regenerate dependencies.
67 * Makefile.in: Regenerate.
69 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
71 * readelf.c (parse_args): Handle multiple options to the -w
74 2001-10-12 Jakub Jelinek <jakub@redhat.com>
76 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
77 LOPROC, LOOS and LOUSER.
79 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
81 * MAINTAINERS: Update my email address.
83 2001-10-03 Alan Modra <amodra@bigpond.net.au>
85 * doc/Makefile.in: Regenerate.
86 * configure: Regenerate.
88 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
90 * readelf.c (display_debug_line, display_debug_pubnames,
91 display_debug_info, display_debug_frames): Detect and warn
92 about 64-bit format entries.
93 (display_debug_aranges): Reword 64-bit warning.
94 (debug_displays): Add .debug_pubtypes as a known, but not yet
95 supported, debug section.
97 2001-10-02 Alan Modra <amodra@bigpond.net.au>
99 * coffdump.c (PROGRAM_VERSION): Delete.
100 (main <'V'>): Call print_version.
101 * srconv.c: Likewise.
102 * sysdump.c: Likewise.
103 * version.c (program_version): Remove.
104 (print_version): Use BFD_VERSION_STRING. Just print the current
105 year in copyright message.
106 * addr2line.c (program_version): Remove unused declaration.
107 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
108 place of BFD_VERSION.
109 * Makefile.am (Makefile): Depend on bfd/configure.in.
110 (cplus-dem.o): Depend on Makefile.
112 * Makefile.in: Regenerate.
114 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
116 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
117 format .debug_arange sections.
118 (main): Add missing prototype.
120 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
122 * Makefile.am: Update dependencies with "make dep-am".
123 * Makefile.in: Regenerate.
125 2001-09-28 Richard Henderson <rth@redhat.com>
127 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
129 2001-09-26 Alan Modra <amodra@bigpond.net.au>
131 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
133 (non_fatal): Likewise.
134 * objdump.c (objdump_sprintf): Likewise.
135 * readelf.c (error): Likewise.
138 2001-09-25 Jakub Jelinek <jakub@redhat.com>
140 * readelf.c (do_wide): New.
141 (options): Add --wide.
142 (usage, parse_args): Likewise.
143 (process_program_headers): Put each segment on a single line if
145 (process_section_headers): Put each section on a single line if
147 * doc/binutils.texi: Document it.
150 2001-09-25 Alan Modra <amodra@bigpond.net.au>
152 * readelf.c (print_vma): Print 8 digits of low hex value.
154 2001-09-24 Andreas Jaeger <aj@suse.de>
156 * nlmconv.c: Fix warnings about unused attributes and function
159 * strings.c: Add prototype for get_char.
161 2000-09-19 H.J. Lu <hjl@gnu.org>
163 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
164 $(srcdir)/cxxfilt.man.
165 * doc/Makefile.in: Rebuild.
167 2001-09-19 Alan Modra <amodra@bigpond.net.au>
169 * objcopy.c (copy_main): Correct rename-section string parsing.
170 Consolidate new_name parsing, and error messages.
172 2001-09-18 Bruno Haible <haible@clisp.cons.org>
174 * addr2line.c: Don't include <ctype.h>.
175 (main): For gettext, also set the LC_CTYPE locate facet.
176 * ar.c (main): Likewise.
177 * coffdump.c (main): Likewise.
178 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
179 (main): For gettext, also set the LC_CTYPE locate facet.
180 Use ISALNUM instead of isalpha/isdigit.
181 * dllwrap.c: Don't include <ctype.h>.
182 (main): For gettext, also set the LC_CTYPE locate facet.
183 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
184 (main): For gettext, also set the LC_CTYPE locate facet.
185 Use TOUPPER instead of islower/toupper.
186 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
187 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
188 Use TOUPPER instead of islower/toupper.
189 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
190 * objcopy.c (main): Likewise.
191 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
192 (disassemble_bytes): Use ISPRINT instead of isprint.
193 (dump_section_stabs): Use ISDIGIT instead of isdigit.
194 (dump_data): Use ISPRINT instead of isprint.
195 (main): For gettext, also set the LC_CTYPE locate facet.
196 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
197 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
198 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
199 Use TOUPPER instead of islower/toupper.
200 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
201 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
202 (write_rc_accelerators): Use ISPRINT instead of isprint.
203 (write_rc_rcdata): Likewise.
204 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
205 * srconv.c (main): Likewise.
206 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
207 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
208 isdigit/isupper/islower.
209 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
210 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
211 stab_demangle_prefix, stab_demangle_qualified,
212 stab_demangle_template, stab_demangle_type,
213 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
214 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
215 (isgraphic): Use ISPRINT instead of isascii/isprint.
216 (main): Remove HAVE_LC_MESSAGES dependency.
217 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
218 (pbarray): Use ISPRINT instead of isprint.
219 (main): For gettext, also set the LC_CTYPE locate facet.
220 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
221 (format_from_filename): Use ISPRINT instead of isprint.
222 (main): For gettext, also set the LC_CTYPE locate facet.
223 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
224 (unicode_print): Use ISPRINT instead of isprint.
225 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
226 (stab_variable): Use ISDIGIT instead of isdigit.
228 2001-09-18 Alan Modra <amodra@bigpond.net.au>
230 * ar.c (print_contents): Cast args of bfd_seek to the right types.
231 Replace bfd_read call with call to bfd_bread.
232 (extract_file): Likewise.
234 * objdump.c (dump_section_header): Cast section->filepos to
235 unsigned long to suit printf format string.
236 * readelf.c (process_section_headers): Similarly for sh_offset.
237 (process_unwind): Likewise.
239 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
241 * strings.c (encoding, encoding_bytes): New variables.
242 (long_options): Add --encoding.
243 (main): Accept -e and --encoding.
244 (get_char): New function. Read a, possibly wide, character from
246 (print_strings): Use get_char().
247 (usage): Document new command line option.
248 * doc/binutils.texi: Document new command line option.
249 * NEWS: Announce new command line option.
251 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
253 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
254 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
255 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
256 Removed EM_CYGNUS_ARC.
258 2001-09-04 Jeffrey A Law (law@cygnus.com)
260 * readelf.c: Include elf/h8 for H8 series definitions.
261 (guess_is_rela): H8 series if RELA.
262 (dump_relocations): Handle H8 series relocations.
264 2001-08-31 Eric Christopher <echristo@redhat.com>
266 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
268 2001-08-29 Peter Targett <peter.targett@arccores.com>
270 * MAINTAINERS: Include ARC Maintainer.
272 2001-08-29 Ben Elliston <bje@redhat.com>
274 * stabs.c (stab_demangle_template): Initialise s4.
276 2001-08-27 Alan Modra <amodra@bigpond.net.au>
278 * readelf.c (dump_relocations): Recognise EM_PPC64.
280 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
282 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
284 2001-08-25 H.J. Lu <hjl@gnu.org>
286 * nm.c (print_width): New.
287 (display_rel_file): Set `print_width' according to
289 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
291 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
293 * objcopy.c (use_alt_mach_code): New variable.
294 (OPTION_ALT_MACH_CODE): Define.
295 (copy_options): Added --alt-machine-code.
296 (copy_main): Handle it.
297 (copy_object): Switch to alternate machine code if requested.
298 * doc/binutils.texi: Document new option.
301 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
303 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
305 2001-08-21 H.J. Lu <hjl@gnu.org>
307 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
308 (display_debug_info): Cast for 64bit hosts.
309 (display_debug_frames): Likewise.
310 (process_mips_specific): Likewise.
312 2001-08-21 Andreas Jaeger <aj@suse.de>
314 * coffgrok.h: Add missing parameter for prototype of coff_grok.
316 * sysdump.c: Add missing prototypes.
317 * srconv.c: Likewise.
318 * unwind-ia64.c: Likewise.
319 * coffdump.c: Likewise.
321 * sysinfo.y: Print prototypes, include <ansidecl.h>.
323 * coffgrok.c: Add missing prototypes, include libiberty.h instead
324 of declaring xcalloc.
326 2001-08-10 H.J. Lu <hjl@gnu.org>
328 * nm.c (print_value): Add one arg, bfd *.
329 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
330 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
331 (print_symbol_info_sysv): Likewise.
332 (print_symbol_info_posix): Likewise.
334 * objdump.c (dump_section_header): Replace printf_vma with
336 (print_section_stabs): Likewise.
337 (dump_bfd_header): Likewise.
338 (objdump_print_value): Replace sprintf_vma with
340 (disassemble_bytes): Likewise.
341 (dump_reloc_set): Likewise.
343 2001-08-10 Andreas Jaeger <aj@suse.de>
345 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
347 * configure: Regenerate.
349 2001-08-09 Alan Modra <amodra@bigpond.net.au>
351 * readelf.c: Add missing prototypes.
352 * objdump.c: Likewise. Format existing prototypes.
354 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
356 * readelf.c (display_debug_info): Add to abbrev_offset the addend
357 of any RELA relocation for the abbrev_offset memory location that
358 refers to the .debug_abbrev section symbol.
360 2001-08-07 H.J. Lu <hjl@gnu.org>
362 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
363 (main): Return process_file ().
365 2001-08-05 Philip Blundell <philb@gnu.org>
367 * doc/binutils.texi: Use "Thumb" not "THUMB".
369 2001-08-03 John Healy <jhealy@redhat.com>
371 Patch suggested by Frank Eigler <fche@redhat.com>.
372 * objdump.c (disassemble_data): Fill in section member of the
373 disasm_info structure.
375 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
377 * configure.in: Added --with-windres option.
378 * configure: Regenerated.
380 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
382 * doc/binutils.texi: Use @command{name} for commands;
383 use @option{-opt} for options; use @table @env for list of options;
384 remove spaces arround [ | ] in synopsis.
386 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
389 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
391 * objcopy.c: Fix formatting.
392 (section_rename): New structure.
393 (OPTION_RENAME_SECTION): New switch.
394 (copy_usage): Document new switch.
395 (add_section_rename): New function: Add a node to the section
397 (find_section_rename): New function: Find the new name and
399 (setup_section): Call find_section_name to determine the name
400 of the output section.
401 (copy_main): Handle OPTION_RENAME_SECTION.
402 * binutils.texi: Document new switch.
403 * NEWS: Mention new switch.
405 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
407 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
408 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
409 bug-binutils@gcc.org.
411 2001-07-28 Matthias Kramm <kramm@quiss.org>
413 * bucomm.c (list_supported_architectures): New function.
414 * bucomm.h (list_supported_architectures): Declare.
415 * objdump.c (usage): Call the above.
417 2001-07-25 Dave Brolley <brolley@redhat.com>
419 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
420 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
422 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
424 * README: Update for 2.11. Change bug reporting email address.
425 * MAINTAINERS: Tidy up. Change bug reporting email address.
427 2001-07-16 DJ Delorie <dj@redhat.com>
429 * resres.c (write_res_header): Align header size.
430 (res_align_file): Calculate alignment correctly.
432 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
434 * resrc.c (write_rc_resource): Likewise.
435 * windres.h (SUBLANG_SHIFT): Define - as 10.
437 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
439 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
441 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
443 * MAINTAINERS: Add notes about branch checkins.
445 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
447 * readelf.c (display_debug_macinfo): New function, display
448 .debug_macinfo section.
449 (do_debug_macinfo): New variable.
450 (parse_args): Handle "-w[mM]" to mean display macro info.
451 (process_section_headers): Handle debug_macinfo.
452 (debug_displays): Replace unsupported function with macinfo
453 function for .debug_macinfo display.
454 * doc/binutils.texi: Document new command line switch.
455 * NEWS: Document new feature of readelf.
457 2001-07-05 H.J. Lu <hjl@gnu.org>
459 * objcopy.c (filter_symbols): Don't turn undefined symbols
462 2001-07-03 H.J. Lu <hjl@gnu.org>
464 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
467 (dlltool.1): Likewise.
468 (nlmconv.1): Likewise.
470 (objcopy.1): Likewise.
471 (objdump.1): Likewise.
472 (ranlib.1): Likewise.
473 (readelf.1): Likewise.
475 (strings.1): Likewise.
477 (windres.1): Likewise.
478 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
479 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
482 * doc/Makefile.in: Regenerated.
484 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
486 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
488 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
490 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
492 2001-06-29 James Cownie <jcownie@etnus.com>
494 * readelf.c: Support DWARF 2.1 attributes.
496 2001-06-28 Alan Modra <amodra@bigpond.net.au>
498 * readelf.c (GET_DATA_ALLOC): Remove.
500 (get_data): New function combining above macros, with an extra
502 (slurp_rela_relocs): Use get_data, and catch error return.
503 (slurp_rel_relocs): Likewise.
504 (get_32bit_program_headers): Likewise.
505 (get_64bit_program_headers): Likewise.
506 (get_32bit_section_headers): Likewise.
507 (get_64bit_section_headers): Likewise.
508 (get_32bit_elf_symbols): Likewise.
509 (get_64bit_elf_symbols): Likewise.
510 (process_section_headers): Likewise.
511 (process_relocs): Likewise.
512 (slurp_ia64_unwind_table): Likewise.
513 (process_unwind): Likewise.
514 (get_32bit_dynamic_segment): Likewise.
515 (get_64bit_dynamic_segment): Likewise.
516 (process_dynamic_segment): Likewise.
517 (process_version_sections): Likewise.
518 (process_symbol_table): Likewise.
519 (dump_section): Likewise.
520 (display_debug_info): Likewise.
521 (display_debug_section): Likewise.
522 (process_section_contents): Likewise.
523 (process_corefile_note_segment): Likewise.
524 (process_mips_specific): Likewise. Also free econf32, econf64.
526 2001-06-25 Alan Modra <amodra@bigpond.net.au>
528 * readelf.c (dump_relocations): Print "bad symbol index" if
529 symtab == NULL with non-zero symtab_index.
530 (process_relocs): Don't bomb if reloc section has no symsec.
532 2001-06-24 H.J. Lu <hjl@gnu.org>
534 * objcopy.c (strip_main): Revert the change made on 2001-05-30
536 (copy_main): Apply the the change made to strip_main on
537 2001-05-30 by accident.
539 2001-06-23 Andreas Jaeger <aj@suse.de>
541 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
543 (unw_decode_x2): Likewise.
544 (unw_decode_x3): Likewise.
545 (unw_decode_x4): Likewise.
547 2001-06-23 Ben Elliston <bje@redhat.com>
549 * MAINTAINERS: Add myself as M88k maintainer.
551 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
553 * objcopy.c (strip_main): Support -o or --output-file command lien
556 2001-06-19 H.J. Lu <hjl@gnu.org>
558 * doc/Makefile.in: Regenerated.
560 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
562 * readelf.c: Restore formatting.
564 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
566 * Makefile.am: Move documentation into doc subdirectory.
567 * Makefile.in: Regenerated.
568 * binutils.texi: Move into doc subdirectory.
569 * addr2line.1: Removed.
571 * dlltool.1: Likewise.
572 * nlmconv.1: Likewise.
574 * objcopy.1: Likewise.
575 * objdump.1: Likewise.
576 * ranlib.1: Likewise.
577 * readelf.1: Likewise.
579 * strings.1: Likewise.
581 * windres.1: Likewise.
582 * cxxfilt.man: Likewise.
583 * doc: New Directory.
584 * doc/Makefile.am: New file.
585 * doc/Makefile.in: Generate.
587 2001-06-09 Alan Modra <amodra@bigpond.net.au>
589 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
591 2001-06-01 Alan Modra <amodra@bigpond.net.au>
593 * MAINTAINERS: Update my email address.
595 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
597 * objcopy.c: Add new switches: --keep-global-symbol,
598 --keep-symbols, --localize-symbols, --keep-global-symbols and
600 * binutils.texi: Document new switches.
601 * objcopy.1: Regenerate.
602 * NEWS: Announce new feature.
604 2001-05-28 Andreas Jaeger <aj@suse.de>
606 * readelf.c (display_debug_frames): Fix warnings: Remove unused
607 variables, fix format strings.
609 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
611 * objdump.c (disassemble_bytes): Remove section VMA adjustment
612 when computing the address of the line to show.
614 2001-05-16 Richard Henderson <rth@redhat.com>
616 * readelf.c (do_debug_frames_interp): New.
617 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
618 (byte_get_big_endian): Likewise.
619 (parse_args) ['F']: Set do_debug_frames_interp.
620 (Frame_Chunk): Make data_factor signed, add fde_encoding.
621 (frame_display_row): Don't trunc pc_begin to int.
622 (size_of_encoded_value): New.
623 (display_debug_frames): Handle 64-bit targets. Print raw data
624 unless do_debug_frames_interp.
625 (debug_displays): Remove duplicate .debug_frame.
627 2001-05-15 Ralf Baechle <ralf@gnu.org>
629 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
630 The former constant was never in active use and is used otherwise
633 2001-05-11 Jakub Jelinek <jakub@redhat.com>
635 * readelf.c (process_unwind): Print all unwind sections, not just
638 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
640 * readelf.c (process_unwind): Remove const specifier.
642 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
644 * strings.c (isgraphic): Do not use isascii() unless it is needed
645 for isprint() to work.
646 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
648 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
650 * NEWS: Announce support for OpenRISC.
652 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
654 * dlltool.c (do_default_excludes): Initialise to true.
656 2001-04-10 Alan Modra <amodra@one.net.au>
658 * MAINTAINERS: Update my email address
659 * nm.c (print_symbol_info_bsd): Use a simple printf string.
661 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
663 * readelf.c (display_debug_lines): Fix typo for "Prologue".
665 2001-03-30 H.J. Lu <hjl@gnu.org>
667 * readelf.c (process_unwind): Just return if do_unwind is 0.
669 2001-03-28 Roger Sayle <roger@metaphorics.com>
671 * dlltool.c (make_one_lib_file): Fix section flags for
672 .text, .data and .bss in stub ds*.o files to match those
675 2001-03-29 H.J. Lu <hjl@gnu.org>
677 * readelf.c (process_unwind): Only do unwind sections for
680 2001-03-28 H.J. Lu <hjl@gnu.org>
682 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
683 * Makefile.in: Regenerate.
685 2001-03-26 Andreas Jaeger <aj@suse.de>
687 * binutils.texi (nm): Fix texi syntax.
689 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
691 * binutils.texi: Put @c man begin and @c man end indications
692 to generate man pages using texi2pod and pod2man. Put @c man title
693 to identify each man. Add SEEALSO entries.
694 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
695 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
697 (*.1): Build the man pages from binutils.texi.
698 * Makefile.in: Regenerate.
700 2001-03-13 Eric Kohl <ekohl@rz-online.de>
702 * defparse.y (opt_equal_name): allow "." in name.
703 * dlltool.c (def_exports): Added ability to generate forwarded exports.
704 (gen_exp_file): Likewise.
706 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
708 * NEWS: Document addition of -B switch to objcopy.
709 * binutils.texi: Document addition of -B switch to objcopy.
710 * objcopy.c: (copy_options): Add --binary-architecture.
711 (copy_usage): Document -B/--binary-architecture.
712 (copy_main): Support -B/--binary-architecture. Set
713 bfd_external_binary_architecture.
715 2001-03-11 Andreas Jaeger <aj@suse.de>
717 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
718 (dump_relocations): Likewise.
719 (get_machine_name): Likewise.
721 2001-02-28 Nick Clifton <nickc@redhat.com>
723 * readelf.c: (struct unw_aux_info): Remove const modifier for
725 (process_unwind): Remove non-K&R compliant LHS type cast in call
726 to GET_DATA_ALLOC macro.
728 2001-02-28 Philip Blundell <pb@futuretv.com>
730 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
731 ABI is in use; remove ambiguity between the "unknown" EABI and
732 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
733 renamed EF_xx constants.
735 2001-02-27 Alan Modra <alan@linuxcare.com.au>
737 * configure.in (BFD_VERSION): New.
738 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
739 * configure: Regenerate.
740 * Makefile.am: Run "make dep-am"
741 * Makefile.in: Regenerate.
743 2001-02-14 Nick Clifton <nickc@redhat.com>
745 * MAINTAINERS: Add "Obvious Fix" rule.
747 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
749 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
750 literal concatenation.
752 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
754 * readelf.c (struct unw_aux_info): Remove const from the info member.
755 (process_unwind): Don't type-cast the third argument to the
756 GET_DATA_ALLOC macro.
758 2001-02-11 Nick Clifton <nickc@redhat.com>
760 * readelf.c (dump_relocations): Free corrected allocated
762 (process_unwind): Fix compile time warning.
764 2001-02-10 Nick Clifton <nickc@redhat.com>
766 * binutils.texi: Document new --unwind option to readelf.
768 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
770 * readelf.c: Add linux target for S/390.
772 2001-02-10 Alan Modra <alan@linuxcare.com.au>
774 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
777 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
779 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
780 * aclocal.m4: Regenerate.
781 * configure: Regenerate.
783 2001-02-07 Todd Vierling <tv@wasabisystems.com>
785 * bucomm.c (bfd_target_vector): Change extern array to pointer.
786 * objdump.c (bfd_target_vector): Likewise.
788 2001-02-07 David Mosberger <davidm@hpl.hp.com>
790 * readelf.c (process_unwind): New function.
791 (slurp_ia64_unwind_table): Ditto.
792 (dump_ia64_unwind): Ditto.
793 (find_symbol_for_address): Ditto.
794 (slurp_rela_relocs): New function (split off from dump_relocations()).
795 (slurp_rel_relocs): Ditto.
796 (parse_args): Handle '-u' option.
798 * unwind-ia64.c: New file.
799 * unwind-ia64.h: New file.
800 * Makefile.am: Include unwind-ia64.c in readelf build.
801 * Makefile.in: Regenerate.
802 * po/binutils.pot: Regenerate.
804 2001-02-04 Philip Blundell <philb@gnu.org>
806 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
807 * configure: Regenerate.
809 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
811 * ieee.c (ieee_add_bb11): Don't check for backslashes
812 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
814 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
816 * ieee.c: Update copyright.
817 (ieee_start_compilation_unit): Don't check for backslashes
818 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
820 * stabs.c: Update copyright. Include "filenames.h".
821 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
823 2001-01-23 Jakub Jelinek <jakub@redhat.com>
825 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
826 sections are present before using them. Remove code duplication.
827 (process_symbol_table): Check if VERDEF or VERNEED sections are
828 present before using them.
830 2001-01-17 Nick Clifton <nickc@redhat.com>
832 * objcopy.c (copy_object): Fail if attempting to convert the
833 endianness of the input object file.
835 * binutils.texi: Explain that objcopy cannot convert endianness.
837 2001-01-16 Nick Clifton <nickc@redhat.com>
839 * readelf.c (string_table_length): New variable.
840 (SECTION_NAME): Catch out of range indices and missing section
842 (process_section_headers): Delete useless local variable
843 string_table_offset. Set the value of string_table_length
844 after loading the string table.
845 (process_mips_specific): Use SECTION_NAME macro.
846 (process_file): Set string_table_length to 0 when it is freed.
848 2001-01-12 Nick Clifton <nickc@redhat.com>
850 * version.c (print_version): Update copyright date.
852 2001-01-11 Peter Targett <peter.targett@arccores.com>
854 * readelf.c (dump_relocations): Include selection with EM_ARC.
855 (get_machine_name) Update name to "ARC".
857 2001-01-09 Nick Clifton <nickc@redhat.com>
859 * Makefile.am: Add rule to build objdump.o from objdump.c and
861 * Makefile.in: Regenerate.
863 * configure.in: Define OBJDUMP_DEFS. Default to empty.
864 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
865 -DDISASSEMBLER_NEEDS_RELOCS.
866 * configure: Regenerate.
868 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
869 is defined read in the relocs even if dump_reloc_info is
872 2001-01-07 Philip Blundell <philb@gnu.org>
874 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
878 2000-12-19 Nick Clifton <nickc@redhat.com>
880 * dlltool.c: Add missing support for arm-epoc-pe.
881 * configure.in: Add missing support for arm-epoc-pe.
882 * configure: Regenerate.
884 2000-12-15 Nick Clifton <nickc@redhat.com>
886 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
887 Mode parts of the x86 port.
889 2000-12-04 Andreas Jaeger <aj@suse.de>
891 * readelf.c (guess_is_rela): Add EM_X86_64.
892 (dump_relocations): Add EM_X86_64.
893 (get_machine_name): Add EM_X86_64.
894 Include "elf/x86-64.h".
896 2000-12-12 Nick Clifton <nickc@redhat.com>
898 * readelf.c: Fix formatting.
900 2000-12-11 Jan Hubicka <jh@suse.cz>
902 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
904 2000-12-07 Andrew Haley <aph@redhat.com>
906 * readelf.c (display_debug_frames): Only display columns that are
907 referenced by the frame debug info.
909 2000-12-05 Nick Clifton <nickc@redhat.com>
911 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
913 2000-12-04 Jason Merrill <jason@redhat.com>
915 * readelf.c (process_section_headers): Handle linkonce.wi sections.
916 (display_debug_section): Likewise.
917 (display_debug_info): Display CU header before bailing.
919 2000-12-01 Chris Demetriou <cgd@sibyte.com>
921 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
922 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
923 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
925 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
928 * readelf.c (get_machine_flags): Add case for
931 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
933 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
935 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
937 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
938 Change sourceware.cygnus.com to sources.redhat.com.
939 Fix typo for "amongst".
941 2000-11-28 Nick Clifton <nickc@redhat.com>
943 * strip.1 (COPYING): Mention that the GNU Free Documentation
944 License is present in the sources, but not the output, and
945 also available from the GNU website.
946 (GNU Free Documentation License): Comment out this section.
955 * addr2line.1: Ditto.
957 2000-11-27 DJ Delorie <dj@redhat.com>
959 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
960 (parse_args): Support -wf option.
961 (process_section_headers): Ditto.
962 (debug_displays): Ditto.
963 (display_debug_frames): New, dump *_frame sections.
964 (frame_need_space): Support for above.
965 (frame_display_row): Ditto.
966 * binutils.texi: Document it.
968 2000-11-24 Nick Clifton <nickc@redhat.com>
970 * NEWS: Announce support for v5t, v5te and XScale.
972 2000-11-22 Nick Clifton <nickc@redhat.com>
974 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
975 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
976 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
977 (get_elf_section_flags: Add SHF_GROUP.
978 (process_section_headers): Adjust output for 32-bit binaries
979 to look nice on an 80 column terminal.
981 2000-11-20 H.J. Lu <hjl@gnu.org>
983 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
986 2000-11-17 Richard Henderson <rth@redhat.com>
988 * readelf.c (display_debug_lines): Adjust last change to
989 use sizeof (external->li_length).
991 2000-11-17 Richard Henderson <rth@redhat.com>
993 * readelf.c (display_debug_lines): Fix section length check
994 and end_of_sequence computation.
996 2000-11-06 Nick Clifton <nickc@redhat.com>
998 * binutils.texi: Add GNU Free Documentation License.
999 * objcopy.1: Add GNU Free Documentation License.
1000 * objdump.1: Add GNU Free Documentation License.
1001 * addr2line.1: Add GNU Free Documentation License.
1002 * ar.1: Add GNU Free Documentation License.
1003 * nlmconv.1: Add GNU Free Documentation License.
1004 * nm.1: Add GNU Free Documentation License.
1005 * ranlib.1: Add GNU Free Documentation License.
1006 * size.1: Add GNU Free Documentation License.
1007 * strings.1: Add GNU Free Documentation License.
1008 * strip.1: Add GNU Free Documentation License.
1010 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1012 * objcopy.c (--srec-len=nn): New parameter to set the
1013 maximum length of generated Srecords.
1014 (--srec-forceS3): New parameter that restricts the generation of
1015 Srecords to type S3 only.
1016 * binutils.texi: Document new command line switches.
1017 * objcopy.1: Docuemnt the new command line switches.
1018 * NEWS: Announce the existence of the new command line switches.
1020 2000-10-31 Nick Clifton <nickc@redhat.com>
1022 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1023 code. Add Eric Chrisopher as maintainer of MN10300 port.
1025 2000-10-12 Roger Sayle <roger@metaphorics.com>
1027 * Make comma after string after icon/control optional.
1029 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1031 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1033 * NEWS: Mention support for MIPS32.
1035 2000-09-08 Nick Clifton <nickc@redhat.com>
1037 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1039 2000-09-07 H.J. Lu <hjl@gnu.org>
1041 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1042 * configure: Rebuild.
1044 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1046 * configure: Rebuilt with new libtool.m4.
1048 2000-09-05 Nick Clifton <nickc@redhat.com>
1050 * aclocal.m4: Regenerate.
1051 * config.in: Regenerate.
1052 * configure: Regenerate.
1054 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1056 * strip.1: Fix stray '\' in -o formatting.
1058 2000-09-02 Nick Clifton <nickc@redhat.com>
1060 * configure.in: Increase version number to 2.10.91.
1061 * configure: Regenerate.
1062 * aclocal.m4: Regenerate.
1063 * config.in: Regenerate.
1064 * po/binutils.pot: Regenerate.
1066 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1068 * acinclude.m4: Include libtool and gettext macros from the
1070 * aclocal.m4, configure: Rebuilt.
1072 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1074 * resrc.c (close_input_stream): Delete extraneous logic
1076 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1078 * NEWS: Mention support for CRIS.
1080 2000-08-21 Nick Clifton <nickc@redhat.com>
1082 * addr2line.c: Changed email address for Ulrich Lauther.
1084 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1086 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1088 2000-08-17 Nick Clifton <nickc@redhat.com>
1090 * readelf.c (display_debug_pubnames): Only issue warning
1091 message once. Terminate message with a new line.
1092 (display_debug_aranges): Only display version 2 debug info.
1094 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1096 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1097 for compatability with old BSD systems.
1099 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1101 * NEWS: Mention i860 support.
1103 2000-08-11 Carlo Wood <carlo@alinoe.com>
1105 * addr2line.c (main): Add const to char *.
1107 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1109 * ar.c (main): Don't crash if called with no arguments
1110 or only '-X32_64' as an argument.
1112 2000-08-08 DJ Delorie <dj@redhat.com>
1114 * resrc.c: use "gcc -xc" instead of -xc-header
1116 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1118 * readelf.c (elf/i860.h): Include.
1119 (dump_relocations): Add recognition of i860 architecture.
1120 (guess_is_rela): Add recognition of i860 architecture.
1122 2000-08-03 Nick Clifton <nickc@cygnus.com>
1124 * MAINTAINERS: Add information about CGEN maintainers.
1126 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1128 * nm.c (main): Ignore '-X32_64' as an option.
1129 * ar.c (main): Likewise.
1130 * binutils.texi (nm): Document new option.
1133 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1135 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1137 2000-07-20 H.J. Lu <hjl@gnu.org>
1139 * binutils.texi: Put back "@end table" deleted by
1142 2000-07-05 Kenneth Block <krblock@computer.org>
1144 * nm.c: Add optional style to demangle switch.
1145 * objdump.c: Add optional style to demangle switch.
1146 * addr2line.c: Add optional style to demangle switch.
1147 * binutils.texi: Document optional style to demangle
1150 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1152 * MAINTAINERS: Add self as CRIS port maintainer.
1153 * readelf.c: Include elf/cris.h.
1154 (guess_is_rela): Handle EM_CRIS.
1155 (dump_relocations): Ditto.
1156 (get_machine_name): Ditto.
1157 * Makefile.am: Rebuild dependencies.
1158 * Makefile.in: Regenerate.
1159 * po/binutils.pot: Regenerate.
1161 2000-07-19 H.J. Lu <hjl@gnu.org>
1163 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1165 (process_dynamic_segment): Print out strings for DT_CONFIG,
1166 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1168 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1170 * nm.c (usage): Change output of `nm --help' to include a
1171 description of the purpose of the program and a detailed
1172 description of the accepted options.
1174 2000-07-19 H.J. Lu <hjl@gnu.org>
1176 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1179 2000-07-19 H.J. Lu <hjl@gnu.org>
1181 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1183 2000-07-19 H.J. Lu <hjl@gnu.org>
1185 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1187 (process_dynamic_segment): Likewise.
1189 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1190 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1191 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1192 DF_1_NODUMP and DF_1_CONLFAT.
1194 2000-07-18 Nick Clifton <nickc@cygnus.com>
1196 * binutils.texi (readelf): Fix spelling typo.
1198 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1200 * objdump.c (usage): Make output of `objdump --help' more
1201 consistent with the rest of the GNU world. Add a line describing
1202 the purpose of the program.
1204 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1206 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1209 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1211 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1213 (process_symbol_table): Ditto.
1214 (procesS_extended_line_op): Ditto.
1215 (display_debug_lines): Ditto.
1216 (display_debug_pubnames): Ditto.
1217 (read_and_display_attr): Ditto.
1219 2000-07-09 Nick Clifton <nickc@cygnus.com>
1221 * MAINTAINERS: Add several more port specific maintainers.
1223 2000-07-05 Nick Clifton <nickc@cygnus.com>
1225 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1227 2000-06-05 DJ Delorie <dj@redhat.com>
1231 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1233 * dllwrap.c: Changed mistaken dyn_string_append() calls
1234 to dyn_string_append_cstr().
1236 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1238 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1239 struct debug_type stores size in bytes.
1241 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1243 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1244 (CLEANFILES): Add DEPA.
1245 * Makefile.in: Regenerate.
1247 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1249 * ar.c: Revert incorrect 2000-06-25 patch.
1250 * bucomm.c: Likewise.
1252 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1254 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1255 (external_coff_symbol_p): New function.
1256 (parse_coff): Use it.
1258 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1260 * ar.c (normalize): Advance past both characters in a DOS based
1261 <letter>: filepath prefix.
1263 * bucomm.c (make_tempname): Likewise.
1265 2000-06-24 Nick Clifton <nickc@cygnus.com>
1267 * objdump.c (usage): Fix description of --stabs switch.
1269 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1271 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1273 * Makefile.in: Regenerate.
1275 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1277 * ar.c (normalize): Correct pointer comparison when checking for
1280 * bucomm.c (make_tempname): Likewise.
1282 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1283 and search for backslashes in the original pathname.
1284 (ieee_add_bb11): Likewise.
1286 2000-06-18 Nick Clifton <nickc@redhat.com>
1288 * ar.c (print_contents): Improve verbose message.
1290 2000-06-15 H.J. Lu <hjl@gnu.org>
1292 * dyn-string.c: Removed. Not needed with dyn-string.c in
1294 * dyn-string.h: Likewise.
1296 * Makefile.am: Remove references to dyn-string.c and
1297 dyn-string.h. Rebuild dependency.
1298 * Makefile.in: Rebuild.
1300 2000-06-15 H.J. Lu <hjl@gnu.org>
1302 * binutils.texi: Put a warning on copying relocatable object
1303 files between two different formats.
1305 2000-06-13 DJ Delorie <dj@cygnus.com>
1307 * rcparse.y (control): ICON controls take an id as the first
1308 parameter, not an optional string. Also, call new convenience
1309 function that takes res_id's.
1310 * resrc.c (define_control): missing text means zero-length string,
1312 (define_icon_control): New.
1313 * windres.h: declare define_icon_control.
1315 2000-06-13 H.J. Lu <hjl@gnu.org>
1317 * configure: Regenerate.
1319 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1321 * configure.in (VERSION): Update to show this is the CVS mainline.
1323 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1325 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1326 analogous to <SPACE>.
1328 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1330 * objdump.c (display_target_list): Use bfd_close_all_done, not
1331 bfd_close to fix crash caused by 2000-05-24 change.
1333 2000-05-25 DJ Delorie <dj@cygnus.com>
1335 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1337 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1339 * Makefile.am: Update dependencies with "make dep-am"
1340 * Makefile.in: Regenerate.
1342 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1344 * ar.c: Include filenames.h.
1345 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1346 and drive letters in file names.
1347 (main): Support backslashes and drive letters in argv[0]. Drop
1348 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1349 FILENAME_CMP instead of strcmp to compare file names.
1350 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1352 (do_quick_append) [__GO32__]: Ditto.
1353 (get_pos_bfd, delete_members, move_members, replace_members):
1354 Compare file names with FILENAME_CMP.
1356 * bucomm.c: Include filenames.h.
1357 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1358 forward/backward slashes and drive letters in file names.
1360 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1361 mixed forward/backward slashes and drive letters in file names.
1363 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1364 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1367 * objcopy.c: Include filenames.h.
1368 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1369 before comparing to "strip".
1370 Use FILENAME_CMP to compare file names.
1372 * arsup.c: Include filenames.h.
1373 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1374 FILENAME_CMP to compare file names.
1375 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1376 the temporary file name.
1378 * configure.in: Check for setmode.
1379 * configure: Regenerate.
1381 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1383 * objdump.c (display_target_list): Close the bfd.
1384 (display_info_table): Likewise.
1386 2000-05-14 H.J. Lu (hjl@gnu.org)
1388 * objcopy.c (filter_symbols): Don't strip global symbols in
1389 relocatable object files.
1391 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1393 * size.c (usage): Associate short options with corresponding long
1394 option to give a clue as to their function.
1396 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1398 * size.c (main): Accept and ignore `-f' option.
1400 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1402 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1403 bindtextdomain): Replace defines with those from intl/libgettext.h
1404 to quieten gcc warnings.
1406 2000-05-12 H.J. Lu <hjl@gnu.org>
1408 * nlmconv.c (temp_filename): Removed.
1410 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1411 choose_temp_base ().
1412 * objdump.c (display_target_list): Likewise.
1413 (display_info_table): Likewise.
1415 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1417 * objcopy.c (setup_section): Add const and gettext calls for err.
1419 2000-05-02 H.J. Lu <hjl@gnu.org>
1421 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1422 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1423 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1424 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1425 and ELFOSABI_OPENBSD.
1427 2000-05-02 Kazu Hirata <kazu@hxi.com>
1429 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1430 * srconv.c: Likewise.
1431 * sysdump.c: Likewise.
1433 2000-04-23 Denis Chertykov <denisc@overta.ru>
1435 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1436 (get_machine_name): machine name for EM_AVR added.
1438 2000-04-21 Richard Henderson <rth@cygnus.com>
1439 David Mosberger <davidm@hpl.hp.com>
1441 * Makefile.am (readelf.o): Add elf/ia64.h.
1442 * Makefile.in: Rebuild.
1443 * readelf.c: Include elf/ia64.h.
1444 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1446 2000-04-17 Timothy Wall <twall@cygnus.com>
1448 * objdump.c (disassemble_data): Set octets per byte *after*
1449 resolving arch/mach for binary files.
1451 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1453 * arlex.l: Add directives to increase lex buffer size.
1455 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1456 already included by bucomm.h.
1458 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1460 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1461 `strftime' since strftime is not available on all systems.
1462 (process_mips_specific): Ditto.
1464 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1466 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1467 --enable-build-warnings option.
1468 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1469 * Makefile.in, configure: Re-generate.
1471 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1473 * addr2line.c: Update copyright.
1474 * objcopy.1: Likewise, and title.
1475 * strings.1: Likewise.
1477 * version.c (print_version): Add 2000.
1479 * rddbg.c (read_section_stabs_debugging_info): Don't use
1480 bfd_size_type for strx to avoid printf problems if BFD64.
1482 * bucomm.c: (report): Remove `static'.
1483 Move inclusion of stdarg.h/vararg.h from here.
1484 * bucomm.h: To here.
1485 (CONST): Change all occurences to const.
1486 (report): Declare it.
1487 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1488 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1489 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1491 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1492 Correct a typo in an error message.
1493 (do_quick_append): Use non_fatal instead of fprintf.
1494 (move_members): Use fatal instead of fprintf, exit.
1495 * coffdump.c (main): Same here.
1497 * dlltool.c (display): Delete.
1499 (inform): Use `report' instead of `display'.
1500 (rvaafter): Remove trailing \n from fatal error msg.
1502 (asm_prefix): Ditto.
1503 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1504 (def_name): Likewise.
1506 (scan_all_symbols): Likewise.
1507 (gen_lib_file): Likewise.
1508 (def_library): Likewise. Remove extra program_name too.
1509 (run): Remove \n from inform strings.
1510 (scan_drectve_symbols): Likewise.
1511 (add_excludes): Likewise.
1512 (scan_open_obj_file): Likewise.
1513 (gen_exp_file): Likewise.
1514 (gen_lib_file): Likewise.
1515 (process_duplicates): Likewise.
1517 * Makefile.am (dllwrap_SOURCES): Add version.c.
1518 * dllwrap.c (program_version): Delete.
1519 (print_version): Delete.
1520 (display): Always print trailing \n.
1522 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1525 (usage): gettext'ify.
1526 (long_options): Add missing initialisers.
1528 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1529 (select_output_format): Likewise.
1530 (powerpc_mangle_relocs): Likewise.
1531 (link_inputs): Likewise.
1533 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1534 (set_output_format): Likewise.
1535 (main): Use non_fatal instead of fprintf.
1536 (display_rel_file): Likewise.
1538 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1539 (slurp_dynamic_symtab): Same here.
1540 (disassemble_data): And here.
1541 (read_section_stabs): And here.
1542 (read_section_stabs): And here.
1543 (dump_bfd): And here.
1545 (objdump_sprintf): Use fatal instead of fprintf, exit.
1546 (disassemble_data): Same here.
1548 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1549 (parse_coff_struct_type): Same here.
1550 (parse_coff_enum_type): And here.
1551 (parse_coff): And here.
1552 * rddbg.c (read_debugging_info): And here.
1553 * size.c (main): And here.
1554 * windres.c (format_from_name): And here.
1555 * wrstabs.c (stab_write_symbol): Here too.
1556 (write_stabs_in_sections_debugging_info): And here.
1557 (stab_int_type): And here.
1558 (stab_struct_field): And here.
1559 (stab_typdef): And here.
1561 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1562 * srconv.c (main): Same here.
1563 * strings.c (main): And here.
1564 (integer_arg): And here.
1565 * sysdump.c (main): And here.
1567 2000-04-06 Timothy Wall <twall@cygnus.com>
1569 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1571 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1573 * readelf.c (decode_location_expression): Loop through multiple
1575 (read_and_display_attr): Pass in length.
1577 * readelf.c (read_and_display_attr): Add CU offset to references.
1578 (display_debug_info): Pass it in.
1580 2000-04-06 Nick Clifton <nickc@cygnus.com>
1582 * readelf.c (decode_ARM_machine_flags): New function.
1583 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1586 (get_machine_name): Catch EM_AVR
1588 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1590 * binutils.texi: Remove optional `=' from long options that have
1591 an `=' in the argument.
1592 * objcopy.1: Here too. Remove extra space on discard-all.
1594 * binutils.texi (objcopy): Mention --redefine-sym.
1595 * objcopy.1: Here too.
1598 * objcopy.c (parse_flags): Split off flag names from error message
1599 gettext as they are not translated.
1600 (copy_main): Similarly split off option name for --add-section,
1601 --set-section-flags, --change-section-vma, --change-section-lma
1603 Some white space changes.
1605 from Matthew Benjamin <matt@linuxbox.nu>
1606 * objcopy.c (struct redefine_node): New.
1607 (redefine_sym_list): New.
1608 (redefine_list_append): New.
1609 (lookup_sym_redefinition): New.
1610 (OPTION_REDEFINE_SYM): New.
1611 (copy_options): Add --redefine-sym option.
1612 (copy_usage): Mention it.
1613 (filter_symbols): Rename symbols on redefine_sym_list.
1614 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1615 (copy_main): Handle OPTION_REDEFINE_SYM.
1617 2000-04-04 H.J. Lu <hjl@gnu.org>
1619 * readelf.c (process_symbol_table): Correctly read in symbol
1620 versioning information.
1622 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1624 * po/binutils.pot: Regenerate.
1626 * addr2line.c (usage): Restore translated part of bug string.
1627 * ar.c (usage): Likewise.
1628 * nlmconv.c (show_usage): Likewise.
1629 * nm.c (usage): Likewise.
1630 * objcopy.c (copy_usage): Likewise.
1631 (strip_usage): Likewise.
1632 * objdump.c (usage): Likewise.
1633 * readelf.c (usage): Likewise.
1634 * size.c (usage): Likewise.
1635 * strings.c (usage): Likewise.
1636 * windres.c (usage): Likewise.
1638 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1639 (DEP): Quote when passing vars to sub-make. Add warning
1641 (DEP1): Rewrite for "gcc -MM".
1642 (CLEANFILES): Add DEP2.
1643 Update dependencies.
1644 * Makefile.in: Regenerate.
1646 2000-04-04 H.J. Lu <hjl@gnu.org>
1648 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1649 (arparse.h): Depend on arparse.c
1650 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1652 2000-04-03 H.J. Lu (hjl@gnu.org)
1654 * size.c (usage): Use REPORT_BUGS_TO.
1656 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1658 * bucomm.h: #include "bin-bugs.h"
1659 * addr2line.c (usage): Use REPORT_BUGS_TO.
1660 * ar.c (usage): Likewise.
1661 * nlmconv.c (show_usage): Likewise.
1662 * nm.c (usage): Likewise.
1663 (OPTION_TARGET): Define.
1664 (long_options): Use OPTION_TARGET rather than 200.
1667 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1668 (strip_usage): Likewise.
1669 * objdump.c (usage): Likewise.
1670 * readelf.c (usage): Likewise.
1671 * strings.c (usage): Likewise.
1672 * windres.c (usage): Likewise.
1674 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1676 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1678 2000-03-27 Nick Clifton <nickc@cygnus.com>
1680 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1681 string offsets in corrupt stabs entries.
1683 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1685 * readelf.c: Include elf/avr.h
1686 (dump_relocations): Add EM_AVR case.
1688 2000-03-09 Tim Waugh <twaugh@redhat.com>
1690 * strings.1: Correct '-bytes' to '--bytes'.
1692 2000-03-08 H.J. Lu <hjl@gnu.org>
1694 * Makefile.am (install-exec-local): Depend on
1695 install-binPROGRAMS for parallel make.
1696 * Makefile.in: Regenerated.
1698 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1700 From Brad Lucier <lucier@math.purdue.edu>:
1701 * readelf.c (process_dynamic_segment): Add cast to make sure
1702 argument to %* is int.
1704 2000-02-25 H.J. Lu <hjl@gnu.org>
1706 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1708 2000-02-24 Nick Clifton <nickc@cygnus.com>
1710 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1711 * configure: Regenerate.
1713 * dlltool.c: Add support for sh-pe and mips-pe targets.
1714 * rescoff.c: Add support for sh-pe and mips-pe targets.
1716 2000-02-23 H.J. Lu <hjl@gnu.org>
1718 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1720 2000-02-22 Nick Clifton <nickc@cygnus.com>
1722 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1724 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1726 From Brad Lucier <lucier@math.purdue.edu>:
1727 * readelf.c (process_version_sections): Add casts to make sure
1728 argument to %* is an int.
1729 (process_mips_specific): Add casts to make printf arguments match
1732 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1734 * objdump.c (dump_section_header): Change `opb' to unsigned.
1735 (find_symbol_for_address): Same here.
1736 (disassemble_data): And here. Change `addr_offset',
1737 `stop_offset', `nextstop_offset' to unsigned long.
1738 (dump_data): Change opb to unsigned.
1740 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1742 * resrc.c: Remove unmatched #if for cygwin.
1744 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1746 * binutils.texi: Document the change of flavor name from atpcs-special
1747 to special-atpcs to prevent name conflict in gdb.
1749 2000-02-08 Timothy Wall <twall@redhat.com>
1751 * objdump.c (show_line): Fix bug preventing printing of the very
1752 first line (line zero) of a file when interlisting source and
1753 assembly. Added option to print entire context from start of file
1754 when the first line from that file is encountered.
1756 2000-02-03 Timothy Wall <twall@redhat.com>
1758 * objdump.c (dump_section_header, find_symbol_for_address,
1759 show_line, disassemble_bytes, disassemble_data, dump_data):
1760 distinguish between octets and bytes.
1762 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1764 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1765 check to unresolved symbols.
1766 (print_symbol_info_sysv): Ditto.
1767 (print_symbol_info_posix): Ditto.
1769 * binutils.texi: Document new 'V' symclass flag for nm.
1771 2000-01-27 Nick Clifton <nickc@redhat.com>
1773 * binutils.texi (objdump): Document new ARM specific
1774 disassembler options.
1776 * objdump.c (usage): Call disassembler_usage().
1778 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1780 * readelf.c (get_dynamic_flags): Return buff.
1781 (process_dynamic_segment): Don't pass error strings to printf
1783 (read_and_display_attr): Use lx and ld to print longs.
1784 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1788 2000-01-17 Nick Clifton <nickc@cygnus.com>
1790 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1792 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1794 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1796 (debug_tag_type): Here too.
1797 * ieee.c (ieee_builtin_type): And here.
1798 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1800 2000-01-13 Nick Clifton <nickc@cygnus.com>
1802 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1805 2000-01-11 Nick Clifton <nickc@cygnus.com>
1807 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1809 2000-01-10 Nick Clifton <nickc@cygnus.com>
1811 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1813 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1815 * windres.c (long_options): Add --use-temp-file and
1816 --no-use-temp-file options.
1820 * windres.h: Update read_rc_file prototype.
1822 * resrc.c (cpp_temp_file): New static variable.
1823 (istream_type): New static variable.
1824 (close_pipe): Delete function.
1825 (run_cmd): New static function.
1826 (open_input_stream): New static function.
1827 (close_input_stream): New static function.
1828 (look_for_default): Handle DOS directory separator. Use
1829 open_input_stream instead of popen.
1830 (read_rc_file): Likewise.
1832 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1835 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1837 * dlltool.c (create_compat_implib): New variable.
1838 (gen_exp_file): Use.
1839 (make_one_lib_file): Use.
1840 (long_options): Add --compat-implib option.
1844 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1845 (main): Use. Don't look for "32" in cygwin and mingw target names.
1847 2000-01-03 Nick Clifton <nickc@cygnus.com>
1849 * binutils.texi: Document new, ARM specific disassembler
1850 command line switch "-M force-thumb".
1852 For older changes see ChangeLog-9899
1858 version-control: never