1 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3 * readelf.c: Include elf/mmix.h.
4 (guess_is_rela): MMIX is RELA.
5 (dump_relocations): Handle MMIX relocations.
6 * Makefile.am: Regenerate dependencies.
7 * Makefile.in: Regenerate.
9 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
11 * readelf.c (parse_args): Handle multiple options to the -w
14 2001-10-12 Jakub Jelinek <jakub@redhat.com>
16 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
17 LOPROC, LOOS and LOUSER.
19 Thu Oct 11 21:45:17 2001 J"orn Rennecke <amylaar@onetel.net.uk>
21 * MAINTAINERS: Update my email address.
23 2001-10-03 Alan Modra <amodra@bigpond.net.au>
25 * doc/Makefile.in: Regenerate.
26 * configure: Regenerate.
28 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
30 * readelf.c (display_debug_line, display_debug_pubnames,
31 display_debug_info, display_debug_frames): Detect and warn
32 about 64-bit format entries.
33 (display_debug_aranges): Reword 64-bit warning.
34 (debug_displays): Add .debug_pubtypes as a known, but not yet
35 supported, debug section.
37 2001-10-02 Alan Modra <amodra@bigpond.net.au>
39 * coffdump.c (PROGRAM_VERSION): Delete.
40 (main <'V'>): Call print_version.
42 * sysdump.c: Likewise.
43 * version.c (program_version): Remove.
44 (print_version): Use BFD_VERSION_STRING. Just print the current
45 year in copyright message.
46 * addr2line.c (program_version): Remove unused declaration.
47 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
49 * Makefile.am (Makefile): Depend on bfd/configure.in.
50 (cplus-dem.o): Depend on Makefile.
52 * Makefile.in: Regenerate.
54 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
56 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
57 format .debug_arange sections.
58 (main): Add missing prototype.
60 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
62 * Makefile.am: Update dependencies with "make dep-am".
63 * Makefile.in: Regenerate.
65 2001-09-28 Richard Henderson <rth@redhat.com>
67 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
69 2001-09-26 Alan Modra <amodra@bigpond.net.au>
71 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
73 (non_fatal): Likewise.
74 * objdump.c (objdump_sprintf): Likewise.
75 * readelf.c (error): Likewise.
78 2001-09-25 Jakub Jelinek <jakub@redhat.com>
80 * readelf.c (do_wide): New.
81 (options): Add --wide.
82 (usage, parse_args): Likewise.
83 (process_program_headers): Put each segment on a single line if
85 (process_section_headers): Put each section on a single line if
87 * doc/binutils.texi: Document it.
90 2001-09-25 Alan Modra <amodra@bigpond.net.au>
92 * readelf.c (print_vma): Print 8 digits of low hex value.
94 2001-09-24 Andreas Jaeger <aj@suse.de>
96 * nlmconv.c: Fix warnings about unused attributes and function
99 * strings.c: Add prototype for get_char.
101 2000-09-19 H.J. Lu <hjl@gnu.org>
103 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
104 $(srcdir)/cxxfilt.man.
105 * doc/Makefile.in: Rebuild.
107 2001-09-19 Alan Modra <amodra@bigpond.net.au>
109 * objcopy.c (copy_main): Correct rename-section string parsing.
110 Consolidate new_name parsing, and error messages.
112 2001-09-18 Bruno Haible <haible@clisp.cons.org>
114 * addr2line.c: Don't include <ctype.h>.
115 (main): For gettext, also set the LC_CTYPE locate facet.
116 * ar.c (main): Likewise.
117 * coffdump.c (main): Likewise.
118 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
119 (main): For gettext, also set the LC_CTYPE locate facet.
120 Use ISALNUM instead of isalpha/isdigit.
121 * dllwrap.c: Don't include <ctype.h>.
122 (main): For gettext, also set the LC_CTYPE locate facet.
123 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
124 (main): For gettext, also set the LC_CTYPE locate facet.
125 Use TOUPPER instead of islower/toupper.
126 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
127 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
128 Use TOUPPER instead of islower/toupper.
129 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
130 * objcopy.c (main): Likewise.
131 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
132 (disassemble_bytes): Use ISPRINT instead of isprint.
133 (dump_section_stabs): Use ISDIGIT instead of isdigit.
134 (dump_data): Use ISPRINT instead of isprint.
135 (main): For gettext, also set the LC_CTYPE locate facet.
136 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
137 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
138 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
139 Use TOUPPER instead of islower/toupper.
140 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
141 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
142 (write_rc_accelerators): Use ISPRINT instead of isprint.
143 (write_rc_rcdata): Likewise.
144 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
145 * srconv.c (main): Likewise.
146 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
147 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
148 isdigit/isupper/islower.
149 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
150 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
151 stab_demangle_prefix, stab_demangle_qualified,
152 stab_demangle_template, stab_demangle_type,
153 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
154 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
155 (isgraphic): Use ISPRINT instead of isascii/isprint.
156 (main): Remove HAVE_LC_MESSAGES dependency.
157 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
158 (pbarray): Use ISPRINT instead of isprint.
159 (main): For gettext, also set the LC_CTYPE locate facet.
160 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
161 (format_from_filename): Use ISPRINT instead of isprint.
162 (main): For gettext, also set the LC_CTYPE locate facet.
163 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
164 (unicode_print): Use ISPRINT instead of isprint.
165 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
166 (stab_variable): Use ISDIGIT instead of isdigit.
168 2001-09-18 Alan Modra <amodra@bigpond.net.au>
170 * ar.c (print_contents): Cast args of bfd_seek to the right types.
171 Replace bfd_read call with call to bfd_bread.
172 (extract_file): Likewise.
174 * objdump.c (dump_section_header): Cast section->filepos to
175 unsigned long to suit printf format string.
176 * readelf.c (process_section_headers): Similarly for sh_offset.
177 (process_unwind): Likewise.
179 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
181 * strings.c (encoding, encoding_bytes): New variables.
182 (long_options): Add --encoding.
183 (main): Accept -e and --encoding.
184 (get_char): New function. Read a, possibly wide, character from
186 (print_strings): Use get_char().
187 (usage): Document new command line option.
188 * doc/binutils.texi: Document new command line option.
189 * NEWS: Announce new command line option.
191 Wed Sep 12 20:07:16 2001 Alexandre Oliva <aoliva@redhat.com>
193 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
194 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
195 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
196 Removed EM_CYGNUS_ARC.
198 Tue Sep 4 20:26:08 2001 Jeffrey A Law (law@cygnus.com)
200 * readelf.c: Include elf/h8 for H8 series definitions.
201 (guess_is_rela): H8 series if RELA.
202 (dump_relocations): Handle H8 series relocations.
204 2001-08-31 Eric Christopher <echristo@redhat.com>
206 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
208 2001-08-29 Peter Targett <peter.targett@arccores.com>
210 * MAINTAINERS: Include ARC Maintainer.
212 2001-08-29 Ben Elliston <bje@redhat.com>
214 * stabs.c (stab_demangle_template): Initialise s4.
216 2001-08-27 Alan Modra <amodra@bigpond.net.au>
218 * readelf.c (dump_relocations): Recognise EM_PPC64.
220 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
222 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
224 2001-08-25 H.J. Lu <hjl@gnu.org>
226 * nm.c (print_width): New.
227 (display_rel_file): Set `print_width' according to
229 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
231 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
233 * objcopy.c (use_alt_mach_code): New variable.
234 (OPTION_ALT_MACH_CODE): Define.
235 (copy_options): Added --alt-machine-code.
236 (copy_main): Handle it.
237 (copy_object): Switch to alternate machine code if requested.
238 * doc/binutils.texi: Document new option.
241 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
243 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
245 2001-08-21 H.J. Lu <hjl@gnu.org>
247 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
248 (display_debug_info): Cast for 64bit hosts.
249 (display_debug_frames): Likewise.
250 (process_mips_specific): Likewise.
252 2001-08-21 Andreas Jaeger <aj@suse.de>
254 * coffgrok.h: Add missing parameter for prototype of coff_grok.
256 * sysdump.c: Add missing prototypes.
257 * srconv.c: Likewise.
258 * unwind-ia64.c: Likewise.
259 * coffdump.c: Likewise.
261 * sysinfo.y: Print prototypes, include <ansidecl.h>.
263 * coffgrok.c: Add missing prototypes, include libiberty.h instead
264 of declaring xcalloc.
266 2001-08-10 H.J. Lu <hjl@gnu.org>
268 * nm.c (print_value): Add one arg, bfd *.
269 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
270 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
271 (print_symbol_info_sysv): Likewise.
272 (print_symbol_info_posix): Likewise.
274 * objdump.c (dump_section_header): Replace printf_vma with
276 (print_section_stabs): Likewise.
277 (dump_bfd_header): Likewise.
278 (objdump_print_value): Replace sprintf_vma with
280 (disassemble_bytes): Likewise.
281 (dump_reloc_set): Likewise.
283 2001-08-10 Andreas Jaeger <aj@suse.de>
285 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
287 * configure: Regenerate.
289 2001-08-09 Alan Modra <amodra@bigpond.net.au>
291 * readelf.c: Add missing prototypes.
292 * objdump.c: Likewise. Format existing prototypes.
294 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
296 * readelf.c (display_debug_info): Add to abbrev_offset the addend
297 of any RELA relocation for the abbrev_offset memory location that
298 refers to the .debug_abbrev section symbol.
300 2001-08-07 H.J. Lu <hjl@gnu.org>
302 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
303 (main): Return process_file ().
305 2001-08-05 Philip Blundell <philb@gnu.org>
307 * doc/binutils.texi: Use "Thumb" not "THUMB".
309 2001-08-03 John Healy <jhealy@redhat.com>
311 Patch suggested by Frank Eigler <fche@redhat.com>.
312 * objdump.c (disassemble_data): Fill in section member of the
313 disasm_info structure.
315 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
317 * configure.in: Added --with-windres option.
318 * configure: Regenerated.
320 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
322 * doc/binutils.texi: Use @command{name} for commands;
323 use @option{-opt} for options; use @table @env for list of options;
324 remove spaces arround [ | ] in synopsis.
326 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
329 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
331 * objcopy.c: Fix formatting.
332 (section_rename): New structure.
333 (OPTION_RENAME_SECTION): New switch.
334 (copy_usage): Document new switch.
335 (add_section_rename): New function: Add a node to the section
337 (find_section_rename): New function: Find the new name and
339 (setup_section): Call find_section_name to determine the name
340 of the output section.
341 (copy_main): Handle OPTION_RENAME_SECTION.
342 * binutils.texi: Document new switch.
343 * NEWS: Mention new switch.
345 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
347 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
348 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
349 bug-binutils@gcc.org.
351 2001-07-28 Matthias Kramm <kramm@quiss.org>
353 * bucomm.c (list_supported_architectures): New function.
354 * bucomm.h (list_supported_architectures): Declare.
355 * objdump.c (usage): Call the above.
357 2001-07-25 Dave Brolley <brolley@redhat.com>
359 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
360 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
362 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
364 * README: Update for 2.11. Change bug reporting email address.
365 * MAINTAINERS: Tidy up. Change bug reporting email address.
367 2001-07-16 DJ Delorie <dj@redhat.com>
369 * resres.c (write_res_header): Align header size.
370 (res_align_file): Calculate alignment correctly.
372 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
374 * resrc.c (write_rc_resource): Likewise.
375 * windres.h (SUBLANG_SHIFT): Define - as 10.
377 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
379 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
381 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
383 * MAINTAINERS: Add notes about branch checkins.
385 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
387 * readelf.c (display_debug_macinfo): New function, display
388 .debug_macinfo section.
389 (do_debug_macinfo): New variable.
390 (parse_args): Handle "-w[mM]" to mean display macro info.
391 (process_section_headers): Handle debug_macinfo.
392 (debug_displays): Replace unsupported function with macinfo
393 function for .debug_macinfo display.
394 * doc/binutils.texi: Document new command line switch.
395 * NEWS: Document new feature of readelf.
397 2001-07-05 H.J. Lu <hjl@gnu.org>
399 * objcopy.c (filter_symbols): Don't turn undefined symbols
402 2001-07-03 H.J. Lu <hjl@gnu.org>
404 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
407 (dlltool.1): Likewise.
408 (nlmconv.1): Likewise.
410 (objcopy.1): Likewise.
411 (objdump.1): Likewise.
412 (ranlib.1): Likewise.
413 (readelf.1): Likewise.
415 (strings.1): Likewise.
417 (windres.1): Likewise.
418 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
419 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
422 * doc/Makefile.in: Regenerated.
424 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
426 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
428 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
430 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
432 2001-06-29 James Cownie <jcownie@etnus.com>
434 * readelf.c: Support DWARF 2.1 attributes.
436 2001-06-28 Alan Modra <amodra@bigpond.net.au>
438 * readelf.c (GET_DATA_ALLOC): Remove.
440 (get_data): New function combining above macros, with an extra
442 (slurp_rela_relocs): Use get_data, and catch error return.
443 (slurp_rel_relocs): Likewise.
444 (get_32bit_program_headers): Likewise.
445 (get_64bit_program_headers): Likewise.
446 (get_32bit_section_headers): Likewise.
447 (get_64bit_section_headers): Likewise.
448 (get_32bit_elf_symbols): Likewise.
449 (get_64bit_elf_symbols): Likewise.
450 (process_section_headers): Likewise.
451 (process_relocs): Likewise.
452 (slurp_ia64_unwind_table): Likewise.
453 (process_unwind): Likewise.
454 (get_32bit_dynamic_segment): Likewise.
455 (get_64bit_dynamic_segment): Likewise.
456 (process_dynamic_segment): Likewise.
457 (process_version_sections): Likewise.
458 (process_symbol_table): Likewise.
459 (dump_section): Likewise.
460 (display_debug_info): Likewise.
461 (display_debug_section): Likewise.
462 (process_section_contents): Likewise.
463 (process_corefile_note_segment): Likewise.
464 (process_mips_specific): Likewise. Also free econf32, econf64.
466 2001-06-25 Alan Modra <amodra@bigpond.net.au>
468 * readelf.c (dump_relocations): Print "bad symbol index" if
469 symtab == NULL with non-zero symtab_index.
470 (process_relocs): Don't bomb if reloc section has no symsec.
472 2001-06-24 H.J. Lu <hjl@gnu.org>
474 * objcopy.c (strip_main): Revert the change made on 2001-05-30
476 (copy_main): Apply the the change made to strip_main on
477 2001-05-30 by accident.
479 2001-06-23 Andreas Jaeger <aj@suse.de>
481 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
483 (unw_decode_x2): Likewise.
484 (unw_decode_x3): Likewise.
485 (unw_decode_x4): Likewise.
487 2001-06-23 Ben Elliston <bje@redhat.com>
489 * MAINTAINERS: Add myself as M88k maintainer.
491 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
493 * objcopy.c (strip_main): Support -o or --output-file command lien
496 2001-06-19 H.J. Lu <hjl@gnu.org>
498 * doc/Makefile.in: Regenerated.
500 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
502 * readelf.c: Restore formatting.
504 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
506 * Makefile.am: Move documentation into doc subdirectory.
507 * Makefile.in: Regenerated.
508 * binutils.texi: Move into doc subdirectory.
509 * addr2line.1: Removed.
511 * dlltool.1: Likewise.
512 * nlmconv.1: Likewise.
514 * objcopy.1: Likewise.
515 * objdump.1: Likewise.
516 * ranlib.1: Likewise.
517 * readelf.1: Likewise.
519 * strings.1: Likewise.
521 * windres.1: Likewise.
522 * cxxfilt.man: Likewise.
523 * doc: New Directory.
524 * doc/Makefile.am: New file.
525 * doc/Makefile.in: Generate.
527 2001-06-09 Alan Modra <amodra@bigpond.net.au>
529 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
531 2001-06-01 Alan Modra <amodra@bigpond.net.au>
533 * MAINTAINERS: Update my email address.
535 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
537 * objcopy.c: Add new switches: --keep-global-symbol,
538 --keep-symbols, --localize-symbols, --keep-global-symbols and
540 * binutils.texi: Document new switches.
541 * objcopy.1: Regenerate.
542 * NEWS: Announce new feature.
544 2001-05-28 Andreas Jaeger <aj@suse.de>
546 * readelf.c (display_debug_frames): Fix warnings: Remove unused
547 variables, fix format strings.
549 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
551 * objdump.c (disassemble_bytes): Remove section VMA adjustment
552 when computing the address of the line to show.
554 2001-05-16 Richard Henderson <rth@redhat.com>
556 * readelf.c (do_debug_frames_interp): New.
557 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
558 (byte_get_big_endian): Likewise.
559 (parse_args) ['F']: Set do_debug_frames_interp.
560 (Frame_Chunk): Make data_factor signed, add fde_encoding.
561 (frame_display_row): Don't trunc pc_begin to int.
562 (size_of_encoded_value): New.
563 (display_debug_frames): Handle 64-bit targets. Print raw data
564 unless do_debug_frames_interp.
565 (debug_displays): Remove duplicate .debug_frame.
567 2001-05-15 Ralf Baechle <ralf@gnu.org>
569 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
570 The former constant was never in active use and is used otherwise
573 2001-05-11 Jakub Jelinek <jakub@redhat.com>
575 * readelf.c (process_unwind): Print all unwind sections, not just
578 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
580 * readelf.c (process_unwind): Remove const specifier.
582 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
584 * strings.c (isgraphic): Do not use isascii() unless it is needed
585 for isprint() to work.
586 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
588 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
590 * NEWS: Announce support for OpenRISC.
592 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
594 * dlltool.c (do_default_excludes): Initialise to true.
596 2001-04-10 Alan Modra <amodra@one.net.au>
598 * MAINTAINERS: Update my email address
599 * nm.c (print_symbol_info_bsd): Use a simple printf string.
601 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
603 * readelf.c (display_debug_lines): Fix typo for "Prologue".
605 2001-03-30 H.J. Lu <hjl@gnu.org>
607 * readelf.c (process_unwind): Just return if do_unwind is 0.
609 2001-03-28 Roger Sayle <roger@metaphorics.com>
611 * dlltool.c (make_one_lib_file): Fix section flags for
612 .text, .data and .bss in stub ds*.o files to match those
615 2001-03-29 H.J. Lu <hjl@gnu.org>
617 * readelf.c (process_unwind): Only do unwind sections for
620 2001-03-28 H.J. Lu <hjl@gnu.org>
622 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
623 * Makefile.in: Regenerate.
625 2001-03-26 Andreas Jaeger <aj@suse.de>
627 * binutils.texi (nm): Fix texi syntax.
629 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
631 * binutils.texi: Put @c man begin and @c man end indications
632 to generate man pages using texi2pod and pod2man. Put @c man title
633 to identify each man. Add SEEALSO entries.
634 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
635 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
637 (*.1): Build the man pages from binutils.texi.
638 * Makefile.in: Regenerate.
640 2001-03-13 Eric Kohl <ekohl@rz-online.de>
642 * defparse.y (opt_equal_name): allow "." in name.
643 * dlltool.c (def_exports): Added ability to generate forwarded exports.
644 (gen_exp_file): Likewise.
646 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
648 * NEWS: Document addition of -B switch to objcopy.
649 * binutils.texi: Document addition of -B switch to objcopy.
650 * objcopy.c: (copy_options): Add --binary-architecture.
651 (copy_usage): Document -B/--binary-architecture.
652 (copy_main): Support -B/--binary-architecture. Set
653 bfd_external_binary_architecture.
655 2001-03-11 Andreas Jaeger <aj@suse.de>
657 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
658 (dump_relocations): Likewise.
659 (get_machine_name): Likewise.
661 2001-02-28 Nick Clifton <nickc@redhat.com>
663 * readelf.c: (struct unw_aux_info): Remove const modifier for
665 (process_unwind): Remove non-K&R compliant LHS type cast in call
666 to GET_DATA_ALLOC macro.
668 2001-02-28 Philip Blundell <pb@futuretv.com>
670 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
671 ABI is in use; remove ambiguity between the "unknown" EABI and
672 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
673 renamed EF_xx constants.
675 2001-02-27 Alan Modra <alan@linuxcare.com.au>
677 * configure.in (BFD_VERSION): New.
678 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
679 * configure: Regenerate.
680 * Makefile.am: Run "make dep-am"
681 * Makefile.in: Regenerate.
683 2001-02-14 Nick Clifton <nickc@redhat.com>
685 * MAINTAINERS: Add "Obvious Fix" rule.
687 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
689 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
690 literal concatenation.
692 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
694 * readelf.c (struct unw_aux_info): Remove const from the info member.
695 (process_unwind): Don't type-cast the third argument to the
696 GET_DATA_ALLOC macro.
698 2001-02-11 Nick Clifton <nickc@redhat.com>
700 * readelf.c (dump_relocations): Free corrected allocated
702 (process_unwind): Fix compile time warning.
704 2001-02-10 Nick Clifton <nickc@redhat.com>
706 * binutils.texi: Document new --unwind option to readelf.
708 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
710 * readelf.c: Add linux target for S/390.
712 2001-02-10 Alan Modra <alan@linuxcare.com.au>
714 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
717 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
719 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
720 * aclocal.m4: Regenerate.
721 * configure: Regenerate.
723 2001-02-07 Todd Vierling <tv@wasabisystems.com>
725 * bucomm.c (bfd_target_vector): Change extern array to pointer.
726 * objdump.c (bfd_target_vector): Likewise.
728 2001-02-07 David Mosberger <davidm@hpl.hp.com>
730 * readelf.c (process_unwind): New function.
731 (slurp_ia64_unwind_table): Ditto.
732 (dump_ia64_unwind): Ditto.
733 (find_symbol_for_address): Ditto.
734 (slurp_rela_relocs): New function (split off from dump_relocations()).
735 (slurp_rel_relocs): Ditto.
736 (parse_args): Handle '-u' option.
738 * unwind-ia64.c: New file.
739 * unwind-ia64.h: New file.
740 * Makefile.am: Include unwind-ia64.c in readelf build.
741 * Makefile.in: Regenerate.
742 * po/binutils.pot: Regenerate.
744 2001-02-04 Philip Blundell <philb@gnu.org>
746 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
747 * configure: Regenerate.
749 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
751 * ieee.c (ieee_add_bb11): Don't check for backslashes
752 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
754 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
756 * ieee.c: Update copyright.
757 (ieee_start_compilation_unit): Don't check for backslashes
758 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
760 * stabs.c: Update copyright. Include "filenames.h".
761 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
763 2001-01-23 Jakub Jelinek <jakub@redhat.com>
765 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
766 sections are present before using them. Remove code duplication.
767 (process_symbol_table): Check if VERDEF or VERNEED sections are
768 present before using them.
770 2001-01-17 Nick Clifton <nickc@redhat.com>
772 * objcopy.c (copy_object): Fail if attempting to convert the
773 endianness of the input object file.
775 * binutils.texi: Explain that objcopy cannot convert endianness.
777 2001-01-16 Nick Clifton <nickc@redhat.com>
779 * readelf.c (string_table_length): New variable.
780 (SECTION_NAME): Catch out of range indices and missing section
782 (process_section_headers): Delete useless local variable
783 string_table_offset. Set the value of string_table_length
784 after loading the string table.
785 (process_mips_specific): Use SECTION_NAME macro.
786 (process_file): Set string_table_length to 0 when it is freed.
788 2001-01-12 Nick Clifton <nickc@redhat.com>
790 * version.c (print_version): Update copyright date.
792 2001-01-11 Peter Targett <peter.targett@arccores.com>
794 * readelf.c (dump_relocations): Include selection with EM_ARC.
795 (get_machine_name) Update name to "ARC".
797 2001-01-09 Nick Clifton <nickc@redhat.com>
799 * Makefile.am: Add rule to build objdump.o from objdump.c and
801 * Makefile.in: Regenerate.
803 * configure.in: Define OBJDUMP_DEFS. Default to empty.
804 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
805 -DDISASSEMBLER_NEEDS_RELOCS.
806 * configure: Regenerate.
808 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
809 is defined read in the relocs even if dump_reloc_info is
812 2001-01-07 Philip Blundell <philb@gnu.org>
814 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
818 2000-12-19 Nick Clifton <nickc@redhat.com>
820 * dlltool.c: Add missing support for arm-epoc-pe.
821 * configure.in: Add missing support for arm-epoc-pe.
822 * configure: Regenerate.
824 2000-12-15 Nick Clifton <nickc@redhat.com>
826 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
827 Mode parts of the x86 port.
829 2000-12-04 Andreas Jaeger <aj@suse.de>
831 * readelf.c (guess_is_rela): Add EM_X86_64.
832 (dump_relocations): Add EM_X86_64.
833 (get_machine_name): Add EM_X86_64.
834 Include "elf/x86-64.h".
836 2000-12-12 Nick Clifton <nickc@redhat.com>
838 * readelf.c: Fix formatting.
840 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
842 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
844 2000-12-07 Andrew Haley <aph@redhat.com>
846 * readelf.c (display_debug_frames): Only display columns that are
847 referenced by the frame debug info.
849 2000-12-05 Nick Clifton <nickc@redhat.com>
851 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
853 2000-12-04 Jason Merrill <jason@redhat.com>
855 * readelf.c (process_section_headers): Handle linkonce.wi sections.
856 (display_debug_section): Likewise.
857 (display_debug_info): Display CU header before bailing.
859 2000-12-01 Chris Demetriou <cgd@sibyte.com>
861 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
862 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
863 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
865 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
868 * readelf.c (get_machine_flags): Add case for
871 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
873 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
875 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
877 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
878 Change sourceware.cygnus.com to sources.redhat.com.
879 Fix typo for "amongst".
881 2000-11-28 Nick Clifton <nickc@redhat.com>
883 * strip.1 (COPYING): Mention that the GNU Free Documentation
884 License is present in the sources, but not the output, and
885 also available from the GNU website.
886 (GNU Free Documentation License): Comment out this section.
895 * addr2line.1: Ditto.
897 2000-11-27 DJ Delorie <dj@redhat.com>
899 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
900 (parse_args): Support -wf option.
901 (process_section_headers): Ditto.
902 (debug_displays): Ditto.
903 (display_debug_frames): New, dump *_frame sections.
904 (frame_need_space): Support for above.
905 (frame_display_row): Ditto.
906 * binutils.texi: Document it.
908 2000-11-24 Nick Clifton <nickc@redhat.com>
910 * NEWS: Announce support for v5t, v5te and XScale.
912 2000-11-22 Nick Clifton <nickc@redhat.com>
914 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
915 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
916 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
917 (get_elf_section_flags: Add SHF_GROUP.
918 (process_section_headers): Adjust output for 32-bit binaries
919 to look nice on an 80 column terminal.
921 2000-11-20 H.J. Lu <hjl@gnu.org>
923 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
926 2000-11-17 Richard Henderson <rth@redhat.com>
928 * readelf.c (display_debug_lines): Adjust last change to
929 use sizeof (external->li_length).
931 2000-11-17 Richard Henderson <rth@redhat.com>
933 * readelf.c (display_debug_lines): Fix section length check
934 and end_of_sequence computation.
936 2000-11-06 Nick Clifton <nickc@redhat.com>
938 * binutils.texi: Add GNU Free Documentation License.
939 * objcopy.1: Add GNU Free Documentation License.
940 * objdump.1: Add GNU Free Documentation License.
941 * addr2line.1: Add GNU Free Documentation License.
942 * ar.1: Add GNU Free Documentation License.
943 * nlmconv.1: Add GNU Free Documentation License.
944 * nm.1: Add GNU Free Documentation License.
945 * ranlib.1: Add GNU Free Documentation License.
946 * size.1: Add GNU Free Documentation License.
947 * strings.1: Add GNU Free Documentation License.
948 * strip.1: Add GNU Free Documentation License.
950 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
952 * objcopy.c (--srec-len=nn): New parameter to set the
953 maximum length of generated Srecords.
954 (--srec-forceS3): New parameter that restricts the generation of
955 Srecords to type S3 only.
956 * binutils.texi: Document new command line switches.
957 * objcopy.1: Docuemnt the new command line switches.
958 * NEWS: Announce the existence of the new command line switches.
960 2000-10-31 Nick Clifton <nickc@redhat.com>
962 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
963 code. Add Eric Chrisopher as maintainer of MN10300 port.
965 2000-10-12 Roger Sayle <roger@metaphorics.com>
967 * Make comma after string after icon/control optional.
969 2000-09-13 Anders Norlander <anorland@acc.umu.se>
971 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
973 * NEWS: Mention support for MIPS32.
975 2000-09-08 Nick Clifton <nickc@redhat.com>
977 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
979 2000-09-07 H.J. Lu <hjl@gnu.org>
981 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
982 * configure: Rebuild.
984 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
986 * configure: Rebuilt with new libtool.m4.
988 2000-09-05 Nick Clifton <nickc@redhat.com>
990 * aclocal.m4: Regenerate.
991 * config.in: Regenerate.
992 * configure: Regenerate.
994 2000-09-04 Todd Vierling <tv@wasabisystems.com>
996 * strip.1: Fix stray '\' in -o formatting.
998 2000-09-02 Nick Clifton <nickc@redhat.com>
1000 * configure.in: Increase version number to 2.10.91.
1001 * configure: Regenerate.
1002 * aclocal.m4: Regenerate.
1003 * config.in: Regenerate.
1004 * po/binutils.pot: Regenerate.
1006 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1008 * acinclude.m4: Include libtool and gettext macros from the
1010 * aclocal.m4, configure: Rebuilt.
1012 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1014 * resrc.c (close_input_stream): Delete extraneous logic
1016 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1018 * NEWS: Mention support for CRIS.
1020 2000-08-21 Nick Clifton <nickc@redhat.com>
1022 * addr2line.c: Changed email address for Ulrich Lauther.
1024 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1026 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1028 2000-08-17 Nick Clifton <nickc@redhat.com>
1030 * readelf.c (display_debug_pubnames): Only issue warning
1031 message once. Terminate message with a new line.
1032 (display_debug_aranges): Only display version 2 debug info.
1034 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1036 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1037 for compatability with old BSD systems.
1039 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1041 * NEWS: Mention i860 support.
1043 2000-08-11 Carlo Wood <carlo@alinoe.com>
1045 * addr2line.c (main): Add const to char *.
1047 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1049 * ar.c (main): Don't crash if called with no arguments
1050 or only '-X32_64' as an argument.
1052 2000-08-08 DJ Delorie <dj@redhat.com>
1054 * resrc.c: use "gcc -xc" instead of -xc-header
1056 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1058 * readelf.c (elf/i860.h): Include.
1059 (dump_relocations): Add recognition of i860 architecture.
1060 (guess_is_rela): Add recognition of i860 architecture.
1062 2000-08-03 Nick Clifton <nickc@cygnus.com>
1064 * MAINTAINERS: Add information about CGEN maintainers.
1066 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1068 * nm.c (main): Ignore '-X32_64' as an option.
1069 * ar.c (main): Likewise.
1070 * binutils.texi (nm): Document new option.
1073 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1075 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1077 2000-07-20 H.J. Lu <hjl@gnu.org>
1079 * binutils.texi: Put back "@end table" deleted by
1082 2000-07-05 Kenneth Block <krblock@computer.org>
1084 * nm.c: Add optional style to demangle switch.
1085 * objdump.c: Add optional style to demangle switch.
1086 * addr2line.c: Add optional style to demangle switch.
1087 * binutils.texi: Document optional style to demangle
1090 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1092 * MAINTAINERS: Add self as CRIS port maintainer.
1093 * readelf.c: Include elf/cris.h.
1094 (guess_is_rela): Handle EM_CRIS.
1095 (dump_relocations): Ditto.
1096 (get_machine_name): Ditto.
1097 * Makefile.am: Rebuild dependencies.
1098 * Makefile.in: Regenerate.
1099 * po/binutils.pot: Regenerate.
1101 2000-07-19 H.J. Lu <hjl@gnu.org>
1103 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1105 (process_dynamic_segment): Print out strings for DT_CONFIG,
1106 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1108 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1110 * nm.c (usage): Change output of `nm --help' to include a
1111 description of the purpose of the program and a detailed
1112 description of the accepted options.
1114 2000-07-19 H.J. Lu <hjl@gnu.org>
1116 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1119 2000-07-19 H.J. Lu <hjl@gnu.org>
1121 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1123 2000-07-19 H.J. Lu <hjl@gnu.org>
1125 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1127 (process_dynamic_segment): Likewise.
1129 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1130 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1131 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1132 DF_1_NODUMP and DF_1_CONLFAT.
1134 2000-07-18 Nick Clifton <nickc@cygnus.com>
1136 * binutils.texi (readelf): Fix spelling typo.
1138 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1140 * objdump.c (usage): Make output of `objdump --help' more
1141 consistent with the rest of the GNU world. Add a line describing
1142 the purpose of the program.
1144 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1146 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1149 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1151 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1153 (process_symbol_table): Ditto.
1154 (procesS_extended_line_op): Ditto.
1155 (display_debug_lines): Ditto.
1156 (display_debug_pubnames): Ditto.
1157 (read_and_display_attr): Ditto.
1159 2000-07-09 Nick Clifton <nickc@cygnus.com>
1161 * MAINTAINERS: Add several more port specific maintainers.
1163 2000-07-05 Nick Clifton <nickc@cygnus.com>
1165 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1167 2000-06-05 DJ Delorie <dj@redhat.com>
1171 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1173 * dllwrap.c: Changed mistaken dyn_string_append() calls
1174 to dyn_string_append_cstr().
1176 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1178 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1179 struct debug_type stores size in bytes.
1181 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1183 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1184 (CLEANFILES): Add DEPA.
1185 * Makefile.in: Regenerate.
1187 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1189 * ar.c: Revert incorrect 2000-06-25 patch.
1190 * bucomm.c: Likewise.
1192 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1194 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1195 (external_coff_symbol_p): New function.
1196 (parse_coff): Use it.
1198 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1200 * ar.c (normalize): Advance past both characters in a DOS based
1201 <letter>: filepath prefix.
1203 * bucomm.c (make_tempname): Likewise.
1205 2000-06-24 Nick Clifton <nickc@cygnus.com>
1207 * objdump.c (usage): Fix description of --stabs switch.
1209 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1211 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1213 * Makefile.in: Regenerate.
1215 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1217 * ar.c (normalize): Correct pointer comparison when checking for
1220 * bucomm.c (make_tempname): Likewise.
1222 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1223 and search for backslashes in the original pathname.
1224 (ieee_add_bb11): Likewise.
1226 2000-06-18 Nick Clifton <nickc@redhat.com>
1228 * ar.c (print_contents): Improve verbose message.
1230 2000-06-15 H.J. Lu <hjl@gnu.org>
1232 * dyn-string.c: Removed. Not needed with dyn-string.c in
1234 * dyn-string.h: Likewise.
1236 * Makefile.am: Remove references to dyn-string.c and
1237 dyn-string.h. Rebuild dependency.
1238 * Makefile.in: Rebuild.
1240 2000-06-15 H.J. Lu <hjl@gnu.org>
1242 * binutils.texi: Put a warning on copying relocatable object
1243 files between two different formats.
1245 2000-06-13 DJ Delorie <dj@cygnus.com>
1247 * rcparse.y (control): ICON controls take an id as the first
1248 parameter, not an optional string. Also, call new convenience
1249 function that takes res_id's.
1250 * resrc.c (define_control): missing text means zero-length string,
1252 (define_icon_control): New.
1253 * windres.h: declare define_icon_control.
1255 2000-06-13 H.J. Lu <hjl@gnu.org>
1257 * configure: Regenerate.
1259 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1261 * configure.in (VERSION): Update to show this is the CVS mainline.
1263 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1265 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1266 analogous to <SPACE>.
1268 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1270 * objdump.c (display_target_list): Use bfd_close_all_done, not
1271 bfd_close to fix crash caused by 2000-05-24 change.
1273 2000-05-25 DJ Delorie <dj@cygnus.com>
1275 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1277 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1279 * Makefile.am: Update dependencies with "make dep-am"
1280 * Makefile.in: Regenerate.
1282 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1284 * ar.c: Include filenames.h.
1285 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1286 and drive letters in file names.
1287 (main): Support backslashes and drive letters in argv[0]. Drop
1288 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1289 FILENAME_CMP instead of strcmp to compare file names.
1290 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1292 (do_quick_append) [__GO32__]: Ditto.
1293 (get_pos_bfd, delete_members, move_members, replace_members):
1294 Compare file names with FILENAME_CMP.
1296 * bucomm.c: Include filenames.h.
1297 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1298 forward/backward slashes and drive letters in file names.
1300 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1301 mixed forward/backward slashes and drive letters in file names.
1303 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1304 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1307 * objcopy.c: Include filenames.h.
1308 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1309 before comparing to "strip".
1310 Use FILENAME_CMP to compare file names.
1312 * arsup.c: Include filenames.h.
1313 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1314 FILENAME_CMP to compare file names.
1315 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1316 the temporary file name.
1318 * configure.in: Check for setmode.
1319 * configure: Regenerate.
1321 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1323 * objdump.c (display_target_list): Close the bfd.
1324 (display_info_table): Likewise.
1326 2000-05-14 H.J. Lu (hjl@gnu.org)
1328 * objcopy.c (filter_symbols): Don't strip global symbols in
1329 relocatable object files.
1331 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1333 * size.c (usage): Associate short options with corresponding long
1334 option to give a clue as to their function.
1336 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1338 * size.c (main): Accept and ignore `-f' option.
1340 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1342 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1343 bindtextdomain): Replace defines with those from intl/libgettext.h
1344 to quieten gcc warnings.
1346 2000-05-12 H.J. Lu <hjl@gnu.org>
1348 * nlmconv.c (temp_filename): Removed.
1350 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1351 choose_temp_base ().
1352 * objdump.c (display_target_list): Likewise.
1353 (display_info_table): Likewise.
1355 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1357 * objcopy.c (setup_section): Add const and gettext calls for err.
1359 2000-05-02 H.J. Lu <hjl@gnu.org>
1361 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1362 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1363 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1364 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1365 and ELFOSABI_OPENBSD.
1367 2000-05-02 Kazu Hirata <kazu@hxi.com>
1369 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1370 * srconv.c: Likewise.
1371 * sysdump.c: Likewise.
1373 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
1375 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1376 (get_machine_name): machine name for EM_AVR added.
1378 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1379 David Mosberger <davidm@hpl.hp.com>
1381 * Makefile.am (readelf.o): Add elf/ia64.h.
1382 * Makefile.in: Rebuild.
1383 * readelf.c: Include elf/ia64.h.
1384 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1386 2000-04-17 Timothy Wall <twall@cygnus.com>
1388 * objdump.c (disassemble_data): Set octets per byte *after*
1389 resolving arch/mach for binary files.
1391 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1393 * arlex.l: Add directives to increase lex buffer size.
1395 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1396 already included by bucomm.h.
1398 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1400 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1401 `strftime' since strftime is not available on all systems.
1402 (process_mips_specific): Ditto.
1404 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1406 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1407 --enable-build-warnings option.
1408 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1409 * Makefile.in, configure: Re-generate.
1411 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1413 * addr2line.c: Update copyright.
1414 * objcopy.1: Likewise, and title.
1415 * strings.1: Likewise.
1417 * version.c (print_version): Add 2000.
1419 * rddbg.c (read_section_stabs_debugging_info): Don't use
1420 bfd_size_type for strx to avoid printf problems if BFD64.
1422 * bucomm.c: (report): Remove `static'.
1423 Move inclusion of stdarg.h/vararg.h from here.
1424 * bucomm.h: To here.
1425 (CONST): Change all occurences to const.
1426 (report): Declare it.
1427 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1428 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1429 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1431 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1432 Correct a typo in an error message.
1433 (do_quick_append): Use non_fatal instead of fprintf.
1434 (move_members): Use fatal instead of fprintf, exit.
1435 * coffdump.c (main): Same here.
1437 * dlltool.c (display): Delete.
1439 (inform): Use `report' instead of `display'.
1440 (rvaafter): Remove trailing \n from fatal error msg.
1442 (asm_prefix): Ditto.
1443 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1444 (def_name): Likewise.
1446 (scan_all_symbols): Likewise.
1447 (gen_lib_file): Likewise.
1448 (def_library): Likewise. Remove extra program_name too.
1449 (run): Remove \n from inform strings.
1450 (scan_drectve_symbols): Likewise.
1451 (add_excludes): Likewise.
1452 (scan_open_obj_file): Likewise.
1453 (gen_exp_file): Likewise.
1454 (gen_lib_file): Likewise.
1455 (process_duplicates): Likewise.
1457 * Makefile.am (dllwrap_SOURCES): Add version.c.
1458 * dllwrap.c (program_version): Delete.
1459 (print_version): Delete.
1460 (display): Always print trailing \n.
1462 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1465 (usage): gettext'ify.
1466 (long_options): Add missing initialisers.
1468 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1469 (select_output_format): Likewise.
1470 (powerpc_mangle_relocs): Likewise.
1471 (link_inputs): Likewise.
1473 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1474 (set_output_format): Likewise.
1475 (main): Use non_fatal instead of fprintf.
1476 (display_rel_file): Likewise.
1478 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1479 (slurp_dynamic_symtab): Same here.
1480 (disassemble_data): And here.
1481 (read_section_stabs): And here.
1482 (read_section_stabs): And here.
1483 (dump_bfd): And here.
1485 (objdump_sprintf): Use fatal instead of fprintf, exit.
1486 (disassemble_data): Same here.
1488 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1489 (parse_coff_struct_type): Same here.
1490 (parse_coff_enum_type): And here.
1491 (parse_coff): And here.
1492 * rddbg.c (read_debugging_info): And here.
1493 * size.c (main): And here.
1494 * windres.c (format_from_name): And here.
1495 * wrstabs.c (stab_write_symbol): Here too.
1496 (write_stabs_in_sections_debugging_info): And here.
1497 (stab_int_type): And here.
1498 (stab_struct_field): And here.
1499 (stab_typdef): And here.
1501 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1502 * srconv.c (main): Same here.
1503 * strings.c (main): And here.
1504 (integer_arg): And here.
1505 * sysdump.c (main): And here.
1507 2000-04-06 Timothy Wall <twall@cygnus.com>
1509 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1511 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1513 * readelf.c (decode_location_expression): Loop through multiple
1515 (read_and_display_attr): Pass in length.
1517 * readelf.c (read_and_display_attr): Add CU offset to references.
1518 (display_debug_info): Pass it in.
1520 2000-04-06 Nick Clifton <nickc@cygnus.com>
1522 * readelf.c (decode_ARM_machine_flags): New function.
1523 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1526 (get_machine_name): Catch EM_AVR
1528 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1530 * binutils.texi: Remove optional `=' from long options that have
1531 an `=' in the argument.
1532 * objcopy.1: Here too. Remove extra space on discard-all.
1534 * binutils.texi (objcopy): Mention --redefine-sym.
1535 * objcopy.1: Here too.
1538 * objcopy.c (parse_flags): Split off flag names from error message
1539 gettext as they are not translated.
1540 (copy_main): Similarly split off option name for --add-section,
1541 --set-section-flags, --change-section-vma, --change-section-lma
1543 Some white space changes.
1545 from Matthew Benjamin <matt@linuxbox.nu>
1546 * objcopy.c (struct redefine_node): New.
1547 (redefine_sym_list): New.
1548 (redefine_list_append): New.
1549 (lookup_sym_redefinition): New.
1550 (OPTION_REDEFINE_SYM): New.
1551 (copy_options): Add --redefine-sym option.
1552 (copy_usage): Mention it.
1553 (filter_symbols): Rename symbols on redefine_sym_list.
1554 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1555 (copy_main): Handle OPTION_REDEFINE_SYM.
1557 2000-04-04 H.J. Lu <hjl@gnu.org>
1559 * readelf.c (process_symbol_table): Correctly read in symbol
1560 versioning information.
1562 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1564 * po/binutils.pot: Regenerate.
1566 * addr2line.c (usage): Restore translated part of bug string.
1567 * ar.c (usage): Likewise.
1568 * nlmconv.c (show_usage): Likewise.
1569 * nm.c (usage): Likewise.
1570 * objcopy.c (copy_usage): Likewise.
1571 (strip_usage): Likewise.
1572 * objdump.c (usage): Likewise.
1573 * readelf.c (usage): Likewise.
1574 * size.c (usage): Likewise.
1575 * strings.c (usage): Likewise.
1576 * windres.c (usage): Likewise.
1578 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1579 (DEP): Quote when passing vars to sub-make. Add warning
1581 (DEP1): Rewrite for "gcc -MM".
1582 (CLEANFILES): Add DEP2.
1583 Update dependencies.
1584 * Makefile.in: Regenerate.
1586 2000-04-04 H.J. Lu <hjl@gnu.org>
1588 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1589 (arparse.h): Depend on arparse.c
1590 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1592 2000-04-03 H.J. Lu (hjl@gnu.org)
1594 * size.c (usage): Use REPORT_BUGS_TO.
1596 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1598 * bucomm.h: #include "bin-bugs.h"
1599 * addr2line.c (usage): Use REPORT_BUGS_TO.
1600 * ar.c (usage): Likewise.
1601 * nlmconv.c (show_usage): Likewise.
1602 * nm.c (usage): Likewise.
1603 (OPTION_TARGET): Define.
1604 (long_options): Use OPTION_TARGET rather than 200.
1607 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1608 (strip_usage): Likewise.
1609 * objdump.c (usage): Likewise.
1610 * readelf.c (usage): Likewise.
1611 * strings.c (usage): Likewise.
1612 * windres.c (usage): Likewise.
1614 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1616 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1618 2000-03-27 Nick Clifton <nickc@cygnus.com>
1620 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1621 string offsets in corrupt stabs entries.
1623 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1625 * readelf.c: Include elf/avr.h
1626 (dump_relocations): Add EM_AVR case.
1628 2000-03-09 Tim Waugh <twaugh@redhat.com>
1630 * strings.1: Correct '-bytes' to '--bytes'.
1632 2000-03-08 H.J. Lu <hjl@gnu.org>
1634 * Makefile.am (install-exec-local): Depend on
1635 install-binPROGRAMS for parallel make.
1636 * Makefile.in: Regenerated.
1638 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1640 From Brad Lucier <lucier@math.purdue.edu>:
1641 * readelf.c (process_dynamic_segment): Add cast to make sure
1642 argument to %* is int.
1644 2000-02-25 H.J. Lu <hjl@gnu.org>
1646 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1648 2000-02-24 Nick Clifton <nickc@cygnus.com>
1650 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1651 * configure: Regenerate.
1653 * dlltool.c: Add support for sh-pe and mips-pe targets.
1654 * rescoff.c: Add support for sh-pe and mips-pe targets.
1656 2000-02-23 H.J. Lu <hjl@gnu.org>
1658 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1660 2000-02-22 Nick Clifton <nickc@cygnus.com>
1662 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1664 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1666 From Brad Lucier <lucier@math.purdue.edu>:
1667 * readelf.c (process_version_sections): Add casts to make sure
1668 argument to %* is an int.
1669 (process_mips_specific): Add casts to make printf arguments match
1672 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1674 * objdump.c (dump_section_header): Change `opb' to unsigned.
1675 (find_symbol_for_address): Same here.
1676 (disassemble_data): And here. Change `addr_offset',
1677 `stop_offset', `nextstop_offset' to unsigned long.
1678 (dump_data): Change opb to unsigned.
1680 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1682 * resrc.c: Remove unmatched #if for cygwin.
1684 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1686 * binutils.texi: Document the change of flavor name from atpcs-special
1687 to special-atpcs to prevent name conflict in gdb.
1689 2000-02-08 Timothy Wall <twall@redhat.com>
1691 * objdump.c (show_line): Fix bug preventing printing of the very
1692 first line (line zero) of a file when interlisting source and
1693 assembly. Added option to print entire context from start of file
1694 when the first line from that file is encountered.
1696 2000-02-03 Timothy Wall <twall@redhat.com>
1698 * objdump.c (dump_section_header, find_symbol_for_address,
1699 show_line, disassemble_bytes, disassemble_data, dump_data):
1700 distinguish between octets and bytes.
1702 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1704 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1705 check to unresolved symbols.
1706 (print_symbol_info_sysv): Ditto.
1707 (print_symbol_info_posix): Ditto.
1709 * binutils.texi: Document new 'V' symclass flag for nm.
1711 2000-01-27 Nick Clifton <nickc@redhat.com>
1713 * binutils.texi (objdump): Document new ARM specific
1714 disassembler options.
1716 * objdump.c (usage): Call disassembler_usage().
1718 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1720 * readelf.c (get_dynamic_flags): Return buff.
1721 (process_dynamic_segment): Don't pass error strings to printf
1723 (read_and_display_attr): Use lx and ld to print longs.
1724 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1728 2000-01-17 Nick Clifton <nickc@cygnus.com>
1730 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1732 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1734 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1736 (debug_tag_type): Here too.
1737 * ieee.c (ieee_builtin_type): And here.
1738 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1740 2000-01-13 Nick Clifton <nickc@cygnus.com>
1742 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1745 2000-01-11 Nick Clifton <nickc@cygnus.com>
1747 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1749 2000-01-10 Nick Clifton <nickc@cygnus.com>
1751 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1753 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1755 * windres.c (long_options): Add --use-temp-file and
1756 --no-use-temp-file options.
1760 * windres.h: Update read_rc_file prototype.
1762 * resrc.c (cpp_temp_file): New static variable.
1763 (istream_type): New static variable.
1764 (close_pipe): Delete function.
1765 (run_cmd): New static function.
1766 (open_input_stream): New static function.
1767 (close_input_stream): New static function.
1768 (look_for_default): Handle DOS directory separator. Use
1769 open_input_stream instead of popen.
1770 (read_rc_file): Likewise.
1772 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1775 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1777 * dlltool.c (create_compat_implib): New variable.
1778 (gen_exp_file): Use.
1779 (make_one_lib_file): Use.
1780 (long_options): Add --compat-implib option.
1784 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1785 (main): Use. Don't look for "32" in cygwin and mingw target names.
1787 2000-01-03 Nick Clifton <nickc@cygnus.com>
1789 * binutils.texi: Document new, ARM specific disassembler
1790 command line switch "-M force-thumb".
1792 For older changes see ChangeLog-9899
1798 version-control: never