ChangeLog revision 94536
12002-04-04  Alan Modra  <amodra@bigpond.net.au>
2
3	* dep-in.sed: Cope with absolute paths.
4	* Makefile.am (dep.sed): Subst TOPDIR.
5	Run "make dep-am".
6	* Makefile.in: Regenerate.
7
82002-03-28  Alan Modra  <amodra@bigpond.net.au>
9
10	* aclocal.m4: Regenerate.
11	* configure: Regenerate.
12
132002-03-07  Daniel Jacobowitz  <drow@mvista.com>
14
15	* README: Update some version numbers.
16
172002-03-07  Daniel Jacobowitz  <drow@mvista.com>
18
19	* doc/binutils.texi (Target Selection): Fix LD crossreferences.
20	(Architecture Selection): Likewise.
21
222002-03-07  Daniel Jacobowitz  <drow@mvista.com>
23
24	* NEWS: Mark version 2.12.
25
262002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
27
28	* NEWS: Mention support for MMIX.
29
302002-02-13  Matt Fredette  <fredette@netbsd.org>
31
32	* readelf.c (get_machine_flags): Recognize EF_M68000.
33
342002-02-12  Alexandre Oliva  <aoliva@redhat.com>
35
36	* MAINTAINERS: Added self as MN10300 co-maintainer.
37
382002-02-12  Alan Modra  <amodra@bigpond.net.au>
39
40	* readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
41	DT_PPC64_OPDSZ.
42
432002-02-11  Daniel Jacobowitz  <drow@mvista.com>
44
45	* MAINTAINERS: List myself as branch maintainer.
46
472002-02-11  Alan Modra  <amodra@bigpond.net.au>
48
49	* objcopy.c (MKDIR): Define.
50	(copy_archive): Make name_list.name const.  Use MKDIR.
51	Handle duplicate files in archives by making more temp dirs.
52
532002-02-10  Daniel Jacobowitz  <drow@mvista.com>
54
55	* nlmconv.c: Back out localtime PARAMS change.
56
572002-02-10  Daniel Jacobowitz  <drow@mvista.com>
58
59	* coffdump.c: Include "getopt.h" after "bucomm.h"
60	so that macros are defined correctly.
61	* nlmconv.c: Add PARAMS ((const time_t *)) to localtime
62	prototype.  Prototype main.
63	* nlmheader.y: Add PARAMS ((int)) to strerror prototype.
64
652002-02-06  Alexandre Oliva  <aoliva@redhat.com>
66
67	* MAINTAINERS: Added self as SH co-maintainer.
68
692002-02-05  Nick Clifton <nickc@redhat.com>
70
71	* po/tr.po: Updated translation.
72
732002-02-01  Alan Modra  <amodra@bigpond.net.au>
74
75	* Makefile.am: Run "make dep-am"
76	* Makefile.in: Regenerate.
77
782002-01-29  Daniel Jacobowitz  <drow@mvista.com>
79
80	* nm.c (print_value): Mark abfd unused.
81
822002-01-29  Daniel Jacobowitz  <drow@mvista.com>
83
84	* unwind-ia64.c (unw_decoder): Change second argument
85	to unsigned int, to match function prototypes.
86
872002-01-29  Daniel Jacobowitz  <drow@mvista.com>
88
89	* objdump.c: Include "getopt.h" after "bucomm.h" so that
90	__GNU_LIBRARY__ will be defined.
91	* size.c: Likewise.
92
932002-01-27  Daniel Jacobowitz  <drow@mvista.com>
94
95	* configure: Regenerated.
96
972002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
98
99	* doc/Makefile.am (install): Depend on install-info.
100	* doc/Makefile.in: Regenerate.
101
1022002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
103
104	* objcopy.c (strip_usage): Document -d as an alias
105	--strip-debug.
106
107	* size.c (usage): Document [-t | --totals] options.
108	(long_options): Add --totals option.
109	(main): If the [-t | --totals] option is specified and
110	the output format is Berkeley-style, print the total
111	text, data, and bss sizes of all objects listed.
112	(print_berkeley_format): If the [-t | --totals] option
113	is specified, track the total text, data, and bss
114	sizes.
115	* doc/binutils.texi (size): Document [-t | --totals] options.
116	(strip): Document -d as an alias for --strip-debug.
117	* NEWS: Mention new feature of size.
118
1192002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
120
121	* po/fr.po: Updated version.
122	* po/es.po: Updated version.
123
1242002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
125
126	* addr2line.c (usage): Update text to provide verbose
127	description of the command line options.
128	* ar.c (usage): Update text to provide verbose
129	description of the command line options.
130	(main): Accept -h and -H when running as ranlib.
131	* coffdump.c (show_usage): Update text to provide verbose
132	description of the command line options.
133	* dlltool.c (main): Accept -H as an alias for --help.
134	* nlmconv.c (show_usage): Update text to provide verbose
135	description of the command line options.
136	* nm.c (usage): Replace OPTIONS with option(s).
137	(main): Accept -H as an alias for --help.
138	* objcopy.c (strip_main): Accept -H as an alias for --help.
139	* objdump.c (main): Accept -v as an alias for --verbose.
140        * readelf.c (usage): Adjust format to match style used in
141	other binutils.
142	* size.c (usage): Update text to provide verbose description
143	of the command line options.
144	(main): Accept -v, -h and -H as command line options.
145	* srconv.c (show_usage): Update text to provide verbose
146	description of the command line options.
147	* strings.c (main): Accept -H and -v as command line options.
148	(usage): Update text to provide verbose description of the
149	command line options.
150	* sysdump.c (show_usage): Update text to provide verbose
151	description of the command line options.
152	* windres.c (usage): Adjust format to match style used in
153	other binutils.
154
155	* coffdump.c: Fix formatting.
156	* nlmconv.c: Fix formatting.
157	* srconv.c: Fix formatting.
158	* sysdump.c: Fix formatting.
159
1602002-01-22  Alan Modra  <amodra@bigpond.net.au>
161
162	* Makefile.am: Run "make dep-am".
163	* Makefile.in: Regenerate.
164
1652002-01-18  Andreas Jaeger  <aj@suse.de>
166
167	* version.c (print_version): Update year.
168
1692002-01-17  Alan Modra  <amodra@bigpond.net.au>
170
171	* readelf.c (get_machine_name): Handle EM_PPC64.
172	(guess_is_rela): Here too.
173
1742002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
175
176	* po/binutils.pot: Regenerate.
177	* po/fr.po: Regenerate.
178	* po/tr.po: Regenerate.
179
1802002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
181
182	* po/tr.po: Import new version.
183
1842002-01-16  Alan Modra  <amodra@bigpond.net.au>
185
186	* readelf.c (get_ppc64_dynamic_type): New.
187	(get_dynamic_type): Call it.
188
1892002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
190
191	* objcopy.c (copy_usage): Use "options" instead of "switches".
192        (strip_usage): Use "options" instead of "switches".
193	* doc/binutils.texi (dlltool):  Refer to "options" instead of
194        "switches".
195
1962002-01-14  Richard Earnshaw  <rearnsha@arm.com>
197
198	* MAINTAINERS: Add self as co-maintainer for the ARM code.
199
2002001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
201
202	* po/es.po: Import from translation project.
203	* configure.in (ALL_LINGUAS): Add es.
204	* configure: Regenerate.
205
2062002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
207
208	* readelf.c (get_netbsd_elfcore_note_type): Use
209	NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
210
2112002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
212
213	* readelf.c: Update copyright years.
214	(get_note_type): Return a const char *.
215	(get_netbsd_elfcore_note_type): New function.
216	(process_note): Use get_netbsd_elfcore_note_type to get
217	the note type string for NetBSD ELF core files.
218
2192002-01-06  Steve Ellcey  <sje@cup.hp.com>
220
221	* readelf.c (get_ia64_segment_type): Add support for macros.
222	(get_segment_type): Add support for IA64 specific macros.
223
2242001-12-20  Julian v. Bock  <julian@wongr.net>
225
226	* readelf.c (print_symbol): New function: Print a formatted symbol
227	name.  If --wide is specified do not truncate it.
228	(dump_relocations): Use print_symbol() to print symbol names.
229	(process_symbol_table): Likewise.
230	(process_syminfo): Likewise.
231	(process_mips_specific): Likewise.
232	(usage): Document new feature of --wide switch.
233	* doc/binutils.texi (objdump): Document additional behaviour of
234	--wide.
235
2362001-12-18  Michael Snyder  <msnyder@redhat.com>
237
238	* objcopy.c (copy_file): Accept corefiles (format bfd_core).
239	(copy_object): Don't set the start address or flags of a core file.
240	(copy_section): Don't relocate a core file.  Don't copy contents
241	if the input section has the contents flag set, but the output
242	section does not (which happens with the fake 'note' pseudo-
243	sections that BFD creates for corefiles).
244
2452001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
246
247	* readelf.c (get_machine_flags): Recognize header flags for ABI and
248	ASE extensions. More robust code for ISA checking. Ignore empty fields
249	in header flags for GNU extensions.
250
2512001-12-18  Alan Modra  <amodra@bigpond.net.au>
252
253	* objcopy.c (copy_archive): Set output bfd format outside the loop.
254
2552001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
256
257	* po/ja.po: Import from translation project.
258	* configure.in (ALL_LINGUAS): Add ja.
259	* configure: Regenerate.
260
2612001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
262
263	* addr2line.c (main): Protoype.
264	* ar.c (main): Protoype.
265	* nm.c (main): Protoype.
266	* objcopy.c (main): Protoype.
267	* objdump.c (main): Protoype.
268	* size.c (main): Protoype.
269	* strings.c (main): Protoype.
270
2712001-12-17  Alan Modra  <amodra@bigpond.net.au>
272
273	* readelf.c (symtab_shndx_hdr): New global.
274	(SECTION_HEADER_INDEX): Define.
275	(SECTION_HEADER_NUM): Define.
276	(SECTION_HEADER): Define.
277	(GET_ELF_SYMBOLS): Pass two params rather than three.
278	(get_32bit_elf_symbols): Take file and section args.  Read and
279	use SHT_SYMTAB_SHNDX.
280	(get_64bit_elf_symbols): Likewise.
281	(dump_relocations): Use SECTION_HEADER to index "section_headers".
282	(process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
283	Remember symtab_shdx_hdr.
284	(process_program_headers): Scan from index 1 for segment map.
285	(slurp_ia64_unwind_table): Use SECTION_HEADER to index
286	"section_headers".
287	(process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
288	(process_unwind): Likewise.
289	(process_version_sections): Likewise.
290	(process_symbol_table): Likewise.
291	(display_debug_info): Likewise.
292	(process_dynamic_segment): Fake up a symtab section for changed
293	GET_ELF_SYMBOLS.
294	(get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
295	(process_program_headers): Kill signed/unsigned warning.
296	(load_debug_str): Likewise.
297	(display_debug_info): Likewise.
298
2992001-12-13  Jakub Jelinek  <jakub@redhat.com>
300
301	* readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
302
3032001-12-11  Alan Modra  <amodra@bigpond.net.au>
304
305	* readelf.c (process_file_header): Print extended e_shnum and
306	e_shdtrndx values.  Set elf_header values for same.
307	(get_32bit_section_headers): Add "num" arg to read "num" headers.
308	(get_64bit_section_headers): Likewise.
309	(process_section_headers): Update calls.
310	(get_file_header): Call get_32bit_section_headers or 64bit variant.
311
3122001-12-10  Jakub Jelinek  <jakub@redhat.com>
313
314	* objcopy.c (setup_section): Copy entsize.
315
3162001-12-07  Geoffrey Keating  <geoffk@redhat.com>
317
318	* readelf.c (guess_is_rela): Add support for stormy16.
319	(dump_relocations): Likewise.
320	(get_machine_name): Likewise.
321
3222001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
323
324	* dllwrap.c (main) Replace multiple strings describing a
325	single error with a single, newline escaped sentence to permit
326	better translation into foreign languages.
327
328	* readelf.c (get_elf_class): Remove internalionalisation of ELF
329	class names.
330
3312001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
332
333	* strings.c (get_char): Initialize value.
334
3352001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
336
337	* arlex.l: Silence compile warnings.
338	* arsup.h: Likewise. Fix formatting.
339
3402001-12-04  Jakub Jelinek  <jakub@redhat.com>
341
342	* strings.c: Include config.h before bfd.h.
343	(file_off): New type.
344	(file_open): Define.
345	(print_strings): Use file_off instead of file_ptr.  Print addresses
346	which don't fit into long correctly.
347	(get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
348	available.
349	(strings_file): Use file_off instead of file_ptr.  Use file_open.
350	* configure.in: Check for getc_unlocked.
351	Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
352	be defined for it.
353	* configure: Rebuilt.
354	* config.h.in: Rebuilt.
355
3562001-11-29  H.J. Lu <hjl@gnu.org>
357
358	* bucomm.c (make_tempname): Revert the changes made on
359	2001-11-14 and 2001-11-12. They won't work with directories.
360
3612001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
362
363	* binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
364	CFLAGS_FOR_TARGET to runtest in environment.
365	* Makefile.in: Rebuild.
366	* doc/Makefile.in: Rebuild.
367
3682001-11-28  Mike Stump  <mrs@wrs.com>
369
370	* objcopy.c (setup_section): Preserve SEC_RELOC when
371	--set-section-flags is used.
372
3732001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
374
375	* readelf.c (do_debug_str): New variable.
376	(display_debug_str): New function: Display the contents of a
377	.debug_str section.
378	(load_debug_str): New function: Load in the contents of a
379	.debug_str section.
380	(free_debug_str): New function: Free the memory used by
381	load_debug_str().
382	(fetch_indirect_string): Retrieve a string from the .debug_str
383	section.
384	(usage): Add -ws.
385	(parse_args): Accept -ws.
386	(process_section_headers): Allow the display of the .debug_str
387	section.
388	(read_and_display_attr_value): Use fetch_indirect_string.  Show
389	offset into .debug_str section.
390	(display_debug_info): Use load_debug_str and free_debug_str.
391	(debug_displays): Add .debug_str.
392	* doc/binutils.texi: Document -ws.
393
3942001-11-19  Andreas Jaeger  <aj@suse.de>
395
396	* testsuite/binutils-all/objdump.exp: Add x86-64.
397
3982001-11-15  Andreas Schwab  <schwab@suse.de>
399
400	* readelf.c: Fix warnings without terminating newline.
401
4022001-11-15  Alan Modra  <amodra@bigpond.net.au>
403
404	* doc/binutils.texi (objdump): Document ppc -M options.
405
4062001-11-14  Andreas Jaeger  <aj@suse.de>
407
408	* doc/binutils.texi (objdump): Fix description to use x86-64.
409
4102001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
411
412	* bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
413	not all systems provide mkstemp.
414
4152001-11-14  Alan Modra  <amodra@bigpond.net.au>
416
417	* doc/binutils.texi (objdump): Document x86 -M options.
418
4192001-11-13  Keith Walker <keith.walker@arm.com>
420
421	* readelf.c (read_and_display_attr_value): New function to
422	handle DW_FORM_indirect.
423	(read_and_display_attr): Use it.
424
4252001-11-13  Geoffrey Keating  <geoffk@redhat.com>
426
427	* readelf.c (display_debug_lines): Deal with unknown standard
428	opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
429	DW_LNS_set_isa.
430
4312001-11-13  Timothy Wall  <twall@alum.mit.edu>
432
433	* MAINTAINERS: Add self as tic54x maintainer.  This target
434	includes the IBM C54XDSP clone.
435
4362001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
437
438	* bucomm.c (make_tempname): Use mkstemp in place of mktemp.
439
4402001-11-09  Jeffrey A Law  (law@cygnus.com)
441
442	* unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
443	(unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
444	(unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
445	(unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
446	(unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
447	(unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
448	(unw_decode_b2, unw_decode_b3_b4): Likewise.
449
450	* readelf.c (get_elf_class): Fix ISO portability glitch.
451	(get_data_encoding, get_osabi_name, request_dump): Likewise.
452
4532001-11-07  Jakub Jelinek  <jakub@redhat.com>
454
455	* readelf.c (debug_str, debug_str_size): New.
456	(display_debug_abbrev): If no abbrevs were read, skip the CU.
457	Call free_abbrevs.
458	(read_and_display_addr): Handle DW_FORM_strp.
459	(display_debug_info): Read .debug_str section if present,
460	so that DW_FORM_strp can be handled.
461	Fix test for non-existant .debug_abbrev section.
462
4632001-11-05  Jakub Jelinek  <jakub@redhat.com>
464
465	* arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
466
467	* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
468
4692001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
470
471	* MAINTAINERS: Add self as s390/s390x maintainer.
472
4732001-11-02  Tom Rix  <trix@bluey.cygnus.com>
474
475	* MAINTAINERS: Add self as PPC XCOFF maintainer.
476
4772001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
478
479	* configure.in (ALL_LINGUAS): Add "fr" and "tr".
480	* configure: Regernate.
481	* po/fr.po: New file.
482	* po/tr.po: New file.
483
4842001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
485
486	* MAINTAINERS: Add self as MMIX port maintainer.
487	* readelf.c: Include elf/mmix.h.
488	(guess_is_rela): MMIX is RELA.
489	(dump_relocations): Handle MMIX relocations.
490	* Makefile.am: Regenerate dependencies.
491	* Makefile.in: Regenerate.
492
4932001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
494
495	* readelf.c (parse_args): Handle multiple options to the -w
496	switch.
497
4982001-10-12  Jakub Jelinek  <jakub@redhat.com>
499
500	* readelf.c (get_section_type_name): Don't print SHT_ prefix for
501	LOPROC, LOOS and LOUSER.
502
5032001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
504
505	* MAINTAINERS: Update my email address.
506
5072001-10-03  Alan Modra  <amodra@bigpond.net.au>
508
509	* doc/Makefile.in: Regenerate.
510	* configure: Regenerate.
511
5122001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
513
514	* readelf.c (display_debug_line, display_debug_pubnames,
515	display_debug_info, display_debug_frames): Detect and warn
516	about 64-bit format entries.
517	(display_debug_aranges): Reword 64-bit warning.
518	(debug_displays): Add .debug_pubtypes as a known, but not yet
519	supported, debug section.
520
5212001-10-02  Alan Modra  <amodra@bigpond.net.au>
522
523	* coffdump.c (PROGRAM_VERSION): Delete.
524	(main <'V'>): Call print_version.
525	* srconv.c: Likewise.
526	* sysdump.c: Likewise.
527	* version.c (program_version): Remove.
528	(print_version): Use BFD_VERSION_STRING.  Just print the current
529	year in copyright message.
530	* addr2line.c (program_version): Remove unused declaration.
531	* objdump.c (display_target_tables): Use BFD_VERSION_STRING in
532	place of BFD_VERSION.
533	* Makefile.am (Makefile): Depend on bfd/configure.in.
534	(cplus-dem.o): Depend on Makefile.
535	Run "make dep-am".
536	* Makefile.in: Regenerate.
537
5382001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
539
540	* readelf.c (display_debug_aranges): Detect and warn about DWARF64
541	format .debug_arange sections.
542	(main): Add missing prototype.
543
5442001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
545
546	* Makefile.am: Update dependencies with "make dep-am".
547	* Makefile.in: Regenerate.
548
5492001-09-28  Richard Henderson  <rth@redhat.com>
550
551	* objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
552
5532001-09-26  Alan Modra  <amodra@bigpond.net.au>
554
555	* bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
556	VA_CLOSE.
557	(non_fatal): Likewise.
558	* objdump.c (objdump_sprintf): Likewise.
559	* readelf.c (error): Likewise.
560	(warn): Likewise.
561
5622001-09-25  Jakub Jelinek  <jakub@redhat.com>
563
564	* readelf.c (do_wide): New.
565	(options): Add --wide.
566	(usage, parse_args): Likewise.
567	(process_program_headers): Put each segment on a single line if
568	--wide is given.
569	(process_section_headers): Put each section on a single line if
570	--wide is given.
571	* doc/binutils.texi: Document it.
572	* NEWS: Likewise.
573
5742001-09-25  Alan Modra  <amodra@bigpond.net.au>
575
576	* readelf.c (print_vma): Print 8 digits of low hex value.
577
5782001-09-24  Andreas Jaeger  <aj@suse.de>
579
580	* nlmconv.c: Fix warnings about unused attributes and function
581	prototypes.
582
583	* strings.c: Add prototype for get_char.
584
5852000-09-19  H.J. Lu  <hjl@gnu.org>
586
587	* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
588	$(srcdir)/cxxfilt.man.
589	* doc/Makefile.in: Rebuild.
590
5912001-09-19  Alan Modra  <amodra@bigpond.net.au>
592
593	* objcopy.c (copy_main): Correct rename-section string parsing.
594	Consolidate new_name parsing, and error messages.
595
5962001-09-18  Bruno Haible  <haible@clisp.cons.org>
597
598	* addr2line.c: Don't include <ctype.h>.
599	(main): For gettext, also set the LC_CTYPE locate facet.
600	* ar.c (main): Likewise.
601	* coffdump.c (main): Likewise.
602	* dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
603	(main): For gettext, also set the LC_CTYPE locate facet.
604	Use ISALNUM instead of isalpha/isdigit.
605	* dllwrap.c: Don't include <ctype.h>.
606	(main): For gettext, also set the LC_CTYPE locate facet.
607	* nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
608	(main): For gettext, also set the LC_CTYPE locate facet.
609	Use TOUPPER instead of islower/toupper.
610	* nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
611	(yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
612	Use TOUPPER instead of islower/toupper.
613	* nm.c (main): For gettext, also set the LC_CTYPE locate facet.
614	* objcopy.c (main): Likewise.
615	* objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
616	(disassemble_bytes): Use ISPRINT instead of isprint.
617	(dump_section_stabs): Use ISDIGIT instead of isdigit.
618	(dump_data): Use ISPRINT instead of isprint.
619	(main): For gettext, also set the LC_CTYPE locate facet.
620	* rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
621	(cpp_line, handle_quotes): Use ISSPACE instead of isspace.
622	* rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
623	Use TOUPPER instead of islower/toupper.
624	* readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
625	* resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
626	(write_rc_accelerators): Use ISPRINT instead of isprint.
627	(write_rc_rcdata): Likewise.
628	* size.c (main): For gettext, also set the LC_CTYPE locate facet.
629	* srconv.c (main): Likewise.
630	* stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
631	(parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
632	isdigit/isupper/islower.
633	(parse_stab_string, parse_stab_type, parse_stab_argtypes,
634	parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
635	stab_demangle_prefix, stab_demangle_qualified,
636	stab_demangle_template, stab_demangle_type,
637	stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
638	* strings.c: Include "safe-ctype.h" instead of <ctype.h>.
639	(isgraphic): Use ISPRINT instead of isascii/isprint.
640	(main): Remove HAVE_LC_MESSAGES dependency.
641	* sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
642	(pbarray): Use ISPRINT instead of isprint.
643	(main): For gettext, also set the LC_CTYPE locate facet.
644	* windres.c: Include "safe-ctype.h" instead of <ctype.h>.
645	(format_from_filename): Use ISPRINT instead of isprint.
646	(main): For gettext, also set the LC_CTYPE locate facet.
647	* winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
648	(unicode_print): Use ISPRINT instead of isprint.
649	* wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
650	(stab_variable): Use ISDIGIT instead of isdigit.
651
6522001-09-18  Alan Modra  <amodra@bigpond.net.au>
653
654	* ar.c (print_contents): Cast args of bfd_seek to the right types.
655	Replace bfd_read call with call to bfd_bread.
656	(extract_file): Likewise.
657
658	* objdump.c (dump_section_header): Cast section->filepos to
659	unsigned long to suit printf format string.
660	* readelf.c (process_section_headers): Similarly for sh_offset.
661	(process_unwind): Likewise.
662
6632001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
664
665	* strings.c (encoding, encoding_bytes): New variables.
666	(long_options): Add --encoding.
667	(main): Accept -e and --encoding.
668	(get_char): New function.  Read a, possibly wide, character from
669	the input stream.
670	(print_strings): Use get_char().
671	(usage): Document new command line option.
672	* doc/binutils.texi: Document new command line option.
673	* NEWS: Announce new command line option.
674
6752001-09-12  Alexandre Oliva  <aoliva@redhat.com>
676
677	* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
678	get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
679	EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
680	Removed EM_CYGNUS_ARC.
681
6822001-09-04  Jeffrey A Law  (law@cygnus.com)
683
684	* readelf.c: Include elf/h8 for H8 series definitions.
685	(guess_is_rela): H8 series if RELA.
686	(dump_relocations): Handle H8 series relocations.
687
6882001-08-31  Eric Christopher  <echristo@redhat.com>
689
690	* readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
691
6922001-08-29  Peter Targett  <peter.targett@arccores.com>
693
694	* MAINTAINERS: Include ARC Maintainer.
695
6962001-08-29  Ben Elliston  <bje@redhat.com>
697
698	* stabs.c (stab_demangle_template): Initialise s4.
699
7002001-08-27  Alan Modra  <amodra@bigpond.net.au>
701
702	* readelf.c (dump_relocations): Recognise EM_PPC64.
703
7042001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
705
706	* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
707
7082001-08-25  H.J. Lu  <hjl@gnu.org>
709
710	* nm.c (print_width): New.
711	(display_rel_file): Set `print_width' according to
712	bfd_sprintf_vma.
713	(print_symbol_info_bsd): Check `print_width' instead of BFD64.
714
7152001-08-24  Alexandre Oliva  <aoliva@redhat.com>
716
717	* objcopy.c (use_alt_mach_code): New variable.
718	(OPTION_ALT_MACH_CODE): Define.
719	(copy_options): Added --alt-machine-code.
720	(copy_main): Handle it.
721	(copy_object): Switch to alternate machine code if requested.
722	* doc/binutils.texi: Document new option.
723	* NEWS: Likewise.
724
7252001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
726
727	* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
728
7292001-08-21  H.J. Lu  <hjl@gnu.org>
730
731	* readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
732	(display_debug_info): Cast for 64bit hosts.
733	(display_debug_frames): Likewise.
734	(process_mips_specific): Likewise.
735
7362001-08-21  Andreas Jaeger  <aj@suse.de>
737
738	* coffgrok.h: Add missing parameter for prototype of coff_grok.
739
740	* sysdump.c: Add missing prototypes.
741	* srconv.c: Likewise.
742	* unwind-ia64.c: Likewise.
743	* coffdump.c: Likewise.
744
745	* sysinfo.y: Print prototypes, include <ansidecl.h>.
746
747	* coffgrok.c: Add missing prototypes, include libiberty.h instead
748	of declaring xcalloc.
749
7502001-08-10  H.J. Lu  <hjl@gnu.org>
751
752	* nm.c (print_value): Add one arg, bfd *.
753	(print_value): Replace fprintf_vma with bfd_fprintf_vma.
754	(print_symbol_info_bsd): Also pass `abfd' to print_value ().
755	(print_symbol_info_sysv): Likewise.
756	(print_symbol_info_posix): Likewise.
757
758	* objdump.c (dump_section_header): Replace printf_vma with
759	bfd_printf_vma.
760	(print_section_stabs): Likewise.
761	(dump_bfd_header): Likewise.
762	(objdump_print_value): Replace sprintf_vma with
763	bfd_sprintf_vma.
764	(disassemble_bytes): Likewise.
765	(dump_reloc_set): Likewise.
766
7672001-08-10  Andreas Jaeger  <aj@suse.de>
768
769	* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
770	to build warnings.
771	* configure: Regenerate.
772
7732001-08-09  Alan Modra  <amodra@bigpond.net.au>
774
775	* readelf.c: Add missing prototypes.
776	* objdump.c: Likewise.  Format existing prototypes.
777
7782001-08-08  Alexandre Oliva  <aoliva@redhat.com>
779
780	* readelf.c (display_debug_info): Add to abbrev_offset the addend
781	of any RELA relocation for the abbrev_offset memory location that
782	refers to the .debug_abbrev section symbol.
783
7842001-08-07  H.J. Lu  <hjl@gnu.org>
785
786	* readelf.c (process_file): Return 0 if OK, otherwise return 1.
787	(main): Return process_file ().
788
7892001-08-05  Philip Blundell  <philb@gnu.org>
790
791	* doc/binutils.texi: Use "Thumb" not "THUMB".
792
7932001-08-03  John Healy  <jhealy@redhat.com>
794
795        Patch suggested by Frank Eigler <fche@redhat.com>.
796        * objdump.c (disassemble_data): Fill in section member of the
797        disasm_info structure.
798
7992001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
800
801	* configure.in: Added --with-windres option.
802	* configure: Regenerated.
803
8042001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
805
806	* doc/binutils.texi: Use @command{name} for commands;
807	use @option{-opt} for options; use @table @env for list of options;
808	remove spaces arround [ | ] in synopsis.
809
810	* doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
811	center title.
812
8132001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
814
815        * objcopy.c: Fix formatting.
816        (section_rename): New structure.
817        (OPTION_RENAME_SECTION): New switch.
818        (copy_usage): Document new switch.
819        (add_section_rename): New function: Add a node to the section
820        rename list.
821        (find_section_rename): New function: Find the new name and
822        flags for a section.
823        (setup_section): Call find_section_name to determine the name
824        of the output section.
825        (copy_main): Handle OPTION_RENAME_SECTION.
826        * binutils.texi: Document new switch.
827	* NEWS: Mention new switch.
828
8292001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
830
831	* README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
832	* MAINTAINERS: Rename bug-gnu-utils@gcc.org to
833	bug-binutils@gcc.org.
834
8352001-07-28  Matthias Kramm  <kramm@quiss.org>
836
837	* bucomm.c (list_supported_architectures): New function.
838	* bucomm.h (list_supported_architectures): Declare.
839	* objdump.c (usage): Call the above.
840
8412001-07-25  Dave Brolley  <brolley@redhat.com>
842
843	* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
844	(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
845
8462001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
847
848	* README: Update for 2.11.  Change bug reporting email address.
849	* MAINTAINERS: Tidy up.  Change bug reporting email address.
850
8512001-07-16  DJ Delorie  <dj@redhat.com>
852
853	* resres.c (write_res_header): Align header size.
854	(res_align_file): Calculate alignment correctly.
855
856	* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
857	correct 10).
858	* resrc.c (write_rc_resource): Likewise.
859	* windres.h (SUBLANG_SHIFT): Define - as 10.
860
8612001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
862
863	* MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
864
8652001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
866
867	* MAINTAINERS: Add notes about branch checkins.
868
8692001-07-05  Daniel Berlin  <dan@cgsoftware.com>
870
871	* readelf.c (display_debug_macinfo): New function, display
872	.debug_macinfo section.
873	(do_debug_macinfo): New variable.
874	(parse_args): Handle "-w[mM]" to mean display macro info.
875	(process_section_headers): Handle debug_macinfo.
876	(debug_displays): Replace unsupported function with macinfo
877	function for .debug_macinfo display.
878	* doc/binutils.texi: Document new command line switch.
879	* NEWS: Document new feature of readelf.
880
8812001-07-05  H.J. Lu  <hjl@gnu.org>
882
883	* objcopy.c (filter_symbols): Don't turn undefined symbols
884	into local.
885
8862001-07-03  H.J. Lu <hjl@gnu.org>
887
888	* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
889	$@.pod.
890	(ar.1): Likewise.
891	(dlltool.1): Likewise.
892	(nlmconv.1): Likewise.
893	(nm.1): Likewise.
894	(objcopy.1): Likewise.
895	(objdump.1): Likewise.
896	(ranlib.1): Likewise.
897	(readelf.1): Likewise.
898	(size.1): Likewise.
899	(strings.1): Likewise.
900	(strip.1): Likewise.
901	(windres.1): Likewise.
902	(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
903	($(DEMANGLER_NAME).1): Also substitute cxxfilt with
904	$(DEMANGLER_NAME).
905	(as.1): Removed.
906	* doc/Makefile.in: Regenerated.
907
9082001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
909
910	* MAINTAINERS: Change MIPS maintainer to Eric Christopher.
911
9122001-07-01  Daniel Berlin  <dan@cgsoftware.com>
913
914	* readelf.c: Support DWARF 2.1 tags, encodings, languages.
915
9162001-06-29  James Cownie <jcownie@etnus.com>
917
918	* readelf.c: Support DWARF 2.1 attributes.
919
9202001-06-28  Alan Modra  <amodra@bigpond.net.au>
921
922	* readelf.c (GET_DATA_ALLOC): Remove.
923	(GET_DATA): Remove.
924	(get_data): New function combining above macros, with an extra
925	test for zero size.
926	(slurp_rela_relocs): Use get_data, and catch error return.
927	(slurp_rel_relocs): Likewise.
928	(get_32bit_program_headers): Likewise.
929	(get_64bit_program_headers): Likewise.
930	(get_32bit_section_headers): Likewise.
931	(get_64bit_section_headers): Likewise.
932	(get_32bit_elf_symbols): Likewise.
933	(get_64bit_elf_symbols): Likewise.
934	(process_section_headers): Likewise.
935	(process_relocs): Likewise.
936	(slurp_ia64_unwind_table): Likewise.
937	(process_unwind): Likewise.
938	(get_32bit_dynamic_segment): Likewise.
939	(get_64bit_dynamic_segment): Likewise.
940	(process_dynamic_segment): Likewise.
941	(process_version_sections): Likewise.
942	(process_symbol_table): Likewise.
943	(dump_section): Likewise.
944	(display_debug_info): Likewise.
945	(display_debug_section): Likewise.
946	(process_section_contents): Likewise.
947	(process_corefile_note_segment): Likewise.
948	(process_mips_specific): Likewise.  Also free econf32, econf64.
949
9502001-06-25  Alan Modra  <amodra@bigpond.net.au>
951
952	* readelf.c (dump_relocations): Print "bad symbol index" if
953	symtab == NULL with non-zero symtab_index.
954	(process_relocs): Don't bomb if reloc section has no symsec.
955
9562001-06-24  H.J. Lu  <hjl@gnu.org>
957
958	* objcopy.c (strip_main): Revert the change made on 2001-05-30
959	by accident.
960	(copy_main): Apply the the change made to strip_main on
961	2001-05-30 by accident.
962
9632001-06-23  Andreas Jaeger  <aj@suse.de>
964
965	* unwind-ia64.c (unw_decode_x1): Add unused attribute for
966	parameter 'code'.
967	(unw_decode_x2): Likewise.
968	(unw_decode_x3): Likewise.
969	(unw_decode_x4): Likewise.
970
9712001-06-23  Ben Elliston  <bje@redhat.com>
972
973	* MAINTAINERS: Add myself as M88k maintainer.
974
9752001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
976
977	* objcopy.c (strip_main): Support -o or --output-file command lien
978	switch.
979
9802001-06-19  H.J. Lu <hjl@gnu.org>
981
982	* doc/Makefile.in: Regenerated.
983
9842001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
985
986	* readelf.c: Restore formatting.
987
9882001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
989
990        * Makefile.am: Move documentation into doc subdirectory.
991        * Makefile.in: Regenerated.
992	* binutils.texi: Move into doc subdirectory.
993        * addr2line.1: Removed.
994        * ar.1: Likewise.
995        * dlltool.1: Likewise.
996        * nlmconv.1: Likewise.
997        * nm.1: Likewise.
998        * objcopy.1: Likewise.
999        * objdump.1: Likewise.
1000        * ranlib.1: Likewise.
1001        * readelf.1: Likewise.
1002        * size.1: Likewise.
1003        * strings.1: Likewise.
1004        * strip.1: Likewise.
1005        * windres.1: Likewise.
1006        * cxxfilt.man: Likewise.
1007	* doc: New Directory.
1008	* doc/Makefile.am: New file.
1009	* doc/Makefile.in: Generate.
1010
10112001-06-09  Alan Modra  <amodra@bigpond.net.au>
1012
1013	* NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1014
10152001-06-01  Alan Modra  <amodra@bigpond.net.au>
1016
1017	* MAINTAINERS: Update my email address.
1018
10192001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1020
1021	* objcopy.c: Add new switches: --keep-global-symbol,
1022	--keep-symbols, --localize-symbols, --keep-global-symbols and
1023	--weaken-symbols.
1024	* binutils.texi: Document new switches.
1025	* objcopy.1: Regenerate.
1026	* NEWS: Announce new feature.
1027
10282001-05-28  Andreas Jaeger  <aj@suse.de>
1029
1030	* readelf.c (display_debug_frames): Fix warnings: Remove unused
1031	variables, fix format strings.
1032
10332001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1034
1035	* objdump.c (disassemble_bytes): Remove section VMA adjustment
1036	when computing the address of the line to show.
1037
10382001-05-16  Richard Henderson  <rth@redhat.com>
1039
1040	* readelf.c (do_debug_frames_interp): New.
1041	(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1042	(byte_get_big_endian): Likewise.
1043	(parse_args) ['F']: Set do_debug_frames_interp.
1044	(Frame_Chunk): Make data_factor signed, add fde_encoding.
1045	(frame_display_row): Don't trunc pc_begin to int.
1046	(size_of_encoded_value): New.
1047	(display_debug_frames): Handle 64-bit targets.  Print raw data
1048	unless do_debug_frames_interp.
1049	(debug_displays): Remove duplicate .debug_frame.
1050
10512001-05-15  Ralf Baechle  <ralf@gnu.org>
1052
1053	* readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1054	The former constant was never in active use and is used otherwise
1055	by the ABI.
1056
10572001-05-11  Jakub Jelinek  <jakub@redhat.com>
1058
1059	* readelf.c (process_unwind): Print all unwind sections, not just
1060	one.
1061
10622001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1063
1064	* readelf.c (process_unwind): Remove const specifier.
1065
10662001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1067
1068	* strings.c (isgraphic): Do not use isascii() unless it is needed
1069	for isprint() to work.
1070	(main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1071
10722001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1073
1074        * NEWS: Announce support for OpenRISC.
1075
10762001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1077
1078	* dlltool.c (do_default_excludes): Initialise to true.
1079
10802001-04-10  Alan Modra  <amodra@one.net.au>
1081
1082	* MAINTAINERS: Update my email address
1083	* nm.c (print_symbol_info_bsd): Use a simple printf string.
1084
10852001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1086
1087	* readelf.c (display_debug_lines): Fix typo for "Prologue".
1088
10892001-03-30  H.J. Lu  <hjl@gnu.org>
1090
1091	* readelf.c (process_unwind): Just return if do_unwind is 0.
1092
10932001-03-28  Roger Sayle  <roger@metaphorics.com>
1094
1095	* dlltool.c (make_one_lib_file): Fix section flags for
1096	.text, .data and .bss in stub ds*.o files to match those
1097	generated by gas.
1098
10992001-03-29  H.J. Lu  <hjl@gnu.org>
1100
1101	* readelf.c (process_unwind): Only do unwind sections for
1102	IA64.
1103
11042001-03-28  H.J. Lu  <hjl@gnu.org>
1105
1106	* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1107	* Makefile.in: Regenerate.
1108
11092001-03-26  Andreas Jaeger  <aj@suse.de>
1110
1111	* binutils.texi (nm): Fix texi syntax.
1112
11132001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1114
1115	* binutils.texi: Put @c man begin and @c man end indications
1116	to generate man pages using texi2pod and pod2man. Put @c man title
1117	to identify each man. Add SEEALSO entries.
1118	* Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1119	(man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1120	sort the list.
1121	(*.1): Build the man pages from binutils.texi.
1122	* Makefile.in: Regenerate.
1123
11242001-03-13  Eric Kohl  <ekohl@rz-online.de>
1125
1126	* defparse.y (opt_equal_name): allow "." in name.
1127	* dlltool.c (def_exports): Added ability to generate forwarded exports.
1128	(gen_exp_file): Likewise.
1129
11302001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1131
1132	* NEWS: Document addition of -B switch to objcopy.
1133	* binutils.texi:  Document addition of -B switch to objcopy.
1134	* objcopy.c: (copy_options): Add --binary-architecture.
1135	(copy_usage): Document -B/--binary-architecture.
1136	(copy_main): Support -B/--binary-architecture.  Set
1137	bfd_external_binary_architecture.
1138
11392001-03-11  Andreas Jaeger  <aj@suse.de>
1140
1141	* readelf.c (guess_is_rela): Handle EM_S390_OLD.
1142	(dump_relocations): Likewise.
1143	(get_machine_name): Likewise.
1144
11452001-02-28  Nick Clifton  <nickc@redhat.com>
1146
1147	* readelf.c: (struct unw_aux_info): Remove const modifier for
1148	'strtab' field.
1149	(process_unwind): Remove non-K&R compliant LHS type cast in call
1150	to GET_DATA_ALLOC macro.
1151
11522001-02-28  Philip Blundell  <pb@futuretv.com>
1153
1154	* readelf.c (decode_ARM_machine_flags): Explicitly mention which
1155	ABI is in use; remove ambiguity between the "unknown" EABI and
1156	unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1157	renamed EF_xx constants.
1158
11592001-02-27  Alan Modra  <alan@linuxcare.com.au>
1160
1161	* configure.in (BFD_VERSION): New.
1162	(AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1163	* configure: Regenerate.
1164	* Makefile.am: Run "make dep-am"
1165	* Makefile.in: Regenerate.
1166
11672001-02-14  Nick Clifton  <nickc@redhat.com>
1168
1169	* MAINTAINERS: Add "Obvious Fix" rule.
1170
11712001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1172
1173	* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1174	literal concatenation.
1175
11762001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1177
1178	* readelf.c (struct unw_aux_info): Remove const from the info member.
1179	(process_unwind): Don't type-cast the third argument to the
1180	GET_DATA_ALLOC macro.
1181
11822001-02-11  Nick Clifton  <nickc@redhat.com>
1183
1184	* readelf.c (dump_relocations): Free corrected allocated
1185	array.
1186	(process_unwind): Fix compile time warning.
1187
11882001-02-10  Nick Clifton  <nickc@redhat.com>
1189
1190	* binutils.texi: Document new --unwind option to readelf.
1191
11922001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1193
1194	* readelf.c: Add linux target for S/390.
1195
11962001-02-10  Alan Modra  <alan@linuxcare.com.au>
1197
1198	* nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1199	printf is a macro.
1200
12012001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1202
1203	* acinclude.m4 (AM_PROG_LEX): Override installed definition.
1204	* aclocal.m4: Regenerate.
1205	* configure: Regenerate.
1206
12072001-02-07  Todd Vierling  <tv@wasabisystems.com>
1208
1209	* bucomm.c (bfd_target_vector): Change extern array to pointer.
1210	* objdump.c (bfd_target_vector): Likewise.
1211
12122001-02-07  David Mosberger  <davidm@hpl.hp.com>
1213
1214	* readelf.c (process_unwind): New function.
1215	(slurp_ia64_unwind_table): Ditto.
1216	(dump_ia64_unwind): Ditto.
1217	(find_symbol_for_address): Ditto.
1218	(slurp_rela_relocs): New function (split off from dump_relocations()).
1219	(slurp_rel_relocs): Ditto.
1220	(parse_args): Handle '-u' option.
1221
1222	* unwind-ia64.c: New file.
1223	* unwind-ia64.h: New file.
1224	* Makefile.am: Include unwind-ia64.c in readelf build.
1225	* Makefile.in: Regenerate.
1226	* po/binutils.pot: Regenerate.
1227
12282001-02-04  Philip Blundell  <philb@gnu.org>
1229
1230	* configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1231	* configure: Regenerate.
1232
12332001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1234
1235	* ieee.c (ieee_add_bb11): Don't check for backslashes
1236	unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1237
12382001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1239
1240	* ieee.c: Update copyright.
1241	(ieee_start_compilation_unit): Don't check for backslashes
1242	unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1243
1244	* stabs.c: Update copyright. Include "filenames.h".
1245	(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1246
12472001-01-23  Jakub Jelinek  <jakub@redhat.com>
1248
1249	* readelf.c (process_version_sections): Check if VERDEF or VERNEED
1250	sections are present before using them.  Remove code duplication.
1251	(process_symbol_table): Check if VERDEF or VERNEED sections are
1252	present before using them.
1253
12542001-01-17  Nick Clifton  <nickc@redhat.com>
1255
1256	* objcopy.c (copy_object): Fail if attempting to convert the
1257	endianness of the input object file.
1258
1259	* binutils.texi: Explain that objcopy cannot convert endianness.
1260
12612001-01-16  Nick Clifton  <nickc@redhat.com>
1262
1263	* readelf.c (string_table_length): New variable.
1264	(SECTION_NAME): Catch out of range indices and missing section
1265	pointers.
1266	(process_section_headers): Delete useless local variable
1267	string_table_offset.  Set the value of string_table_length
1268	after loading the string table.
1269	(process_mips_specific): Use SECTION_NAME macro.
1270	(process_file): Set string_table_length to 0 when it is freed.
1271
12722001-01-12  Nick Clifton  <nickc@redhat.com>
1273
1274	* version.c (print_version): Update copyright date.
1275
12762001-01-11  Peter Targett  <peter.targett@arccores.com>
1277
1278	* readelf.c (dump_relocations): Include selection with EM_ARC.
1279	(get_machine_name) Update name to "ARC".
1280
12812001-01-09  Nick Clifton  <nickc@redhat.com>
1282
1283	* Makefile.am: Add rule to build objdump.o from objdump.c and
1284	using OBJDUMP_DEFS.
1285	* Makefile.in: Regenerate.
1286
1287	* configure.in: Define OBJDUMP_DEFS.  Default to empty.
1288	(arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1289	-DDISASSEMBLER_NEEDS_RELOCS.
1290	* configure: Regenerate.
1291
1292	* objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1293	is defined read in the relocs even if dump_reloc_info is
1294	false.
1295
12962001-01-07  Philip Blundell  <philb@gnu.org>
1297
1298	* binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1299	`bug-binutils'.
1300	* README: Likewise.
1301
13022000-12-19  Nick Clifton  <nickc@redhat.com>
1303
1304	* dlltool.c: Add missing support for arm-epoc-pe.
1305	* configure.in: Add missing support for arm-epoc-pe.
1306	* configure: Regenerate.
1307
13082000-12-15  Nick Clifton  <nickc@redhat.com>
1309
1310	* MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1311	Mode parts of the x86 port.
1312
13132000-12-04  Andreas Jaeger  <aj@suse.de>
1314
1315	* readelf.c (guess_is_rela): Add EM_X86_64.
1316	(dump_relocations): Add EM_X86_64.
1317	(get_machine_name): Add EM_X86_64.
1318	Include "elf/x86-64.h".
1319
13202000-12-12  Nick Clifton  <nickc@redhat.com>
1321
1322	* readelf.c: Fix formatting.
1323
13242000-12-11  Jan Hubicka  <jh@suse.cz>
1325
1326	* MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1327
13282000-12-07  Andrew Haley  <aph@redhat.com>
1329
1330	* readelf.c (display_debug_frames): Only display columns that are
1331	referenced by the frame debug info.
1332
13332000-12-05  Nick Clifton  <nickc@redhat.com>
1334
1335	* MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1336
13372000-12-04  Jason Merrill  <jason@redhat.com>
1338
1339	* readelf.c (process_section_headers): Handle linkonce.wi sections.
1340	(display_debug_section): Likewise.
1341	(display_debug_info): Display CU header before bailing.
1342
13432000-12-01  Chris Demetriou  <cgd@sibyte.com>
1344
1345	* readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1346	EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1347	E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1348
1349	* readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1350	and E_MIPS_ARCH_64.
1351
1352	* readelf.c (get_machine_flags): Add case for
1353	E_MIPS_MACH_SB1.
1354
13552000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1356
1357	* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1358
13592000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1360
1361	* MAINTAINERS: Add J��rn Rennecke and self as SH maintainers.
1362	Change sourceware.cygnus.com to sources.redhat.com.
1363	Fix typo for "amongst".
1364
13652000-11-28  Nick Clifton  <nickc@redhat.com>
1366
1367	* strip.1 (COPYING): Mention that the GNU Free Documentation
1368	License is present in the sources, but not the output, and
1369	also available from the GNU website.
1370	(GNU Free Documentation License): Comment out this section.
1371	* strings.1: Ditto.
1372	* size.1: Ditto.
1373	* ranlib.1: Ditto.
1374	* objdump.1: Ditto.
1375	* objcopy.1: Ditto.
1376	* nm.1: Ditto.
1377	* nlmconv.1: Ditto.
1378	* ar.1: Ditto.
1379	* addr2line.1: Ditto.
1380
13812000-11-27  DJ Delorie  <dj@redhat.com>
1382
1383	* readelf.c (usage): Add -wf (--debug-dump=frames) option.
1384	(parse_args): Support -wf option.
1385	(process_section_headers): Ditto.
1386	(debug_displays): Ditto.
1387	(display_debug_frames): New, dump *_frame sections.
1388	(frame_need_space): Support for above.
1389	(frame_display_row): Ditto.
1390	* binutils.texi: Document it.
1391
13922000-11-24  Nick Clifton  <nickc@redhat.com>
1393
1394	* NEWS: Announce support for v5t, v5te and XScale.
1395
13962000-11-22  Nick Clifton  <nickc@redhat.com>
1397
1398	* readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1399	EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1400	(get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1401	(get_elf_section_flags: Add SHF_GROUP.
1402	(process_section_headers): Adjust output for 32-bit binaries
1403	to look nice on an 80 column terminal.
1404
14052000-11-20  H.J. Lu  <hjl@gnu.org>
1406
1407	* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1408	ELFOSABI_AIX.
1409
14102000-11-17  Richard Henderson  <rth@redhat.com>
1411
1412	* readelf.c (display_debug_lines): Adjust last change to
1413	use sizeof (external->li_length).
1414
14152000-11-17  Richard Henderson  <rth@redhat.com>
1416
1417	* readelf.c (display_debug_lines): Fix section length check
1418	and end_of_sequence computation.
1419
14202000-11-06  Nick Clifton  <nickc@redhat.com>
1421
1422	* binutils.texi: Add GNU Free Documentation License.
1423	* objcopy.1: Add GNU Free Documentation License.
1424	* objdump.1: Add GNU Free Documentation License.
1425	* addr2line.1: Add GNU Free Documentation License.
1426	* ar.1: Add GNU Free Documentation License.
1427	* nlmconv.1: Add GNU Free Documentation License.
1428	* nm.1: Add GNU Free Documentation License.
1429	* ranlib.1: Add GNU Free Documentation License.
1430	* size.1: Add GNU Free Documentation License.
1431	* strings.1: Add GNU Free Documentation License.
1432	* strip.1: Add GNU Free Documentation License.
1433
14342000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1435
1436	* objcopy.c (--srec-len=nn): New parameter to set the
1437	maximum length of generated Srecords.
1438	(--srec-forceS3): New parameter that restricts the generation of
1439	Srecords to type S3 only.
1440	* binutils.texi: Document new command line switches.
1441	* objcopy.1: Docuemnt the new command line switches.
1442	* NEWS: Announce the existence of the new command line switches.
1443
14442000-10-31  Nick Clifton  <nickc@redhat.com>
1445
1446	* MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1447	code.  Add Eric Chrisopher as maintainer of MN10300 port.
1448
14492000-10-12  Roger Sayle  <roger@metaphorics.com>
1450
1451	* Make comma after string after icon/control optional.
1452
14532000-09-13  Anders Norlander  <anorland@acc.umu.se>
1454
1455	* readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1456
1457	* NEWS: Mention support for MIPS32.
1458
14592000-09-08  Nick Clifton  <nickc@redhat.com>
1460
1461	* MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1462
14632000-09-07  H.J. Lu  <hjl@gnu.org>
1464
1465	* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1466	* configure: Rebuild.
1467
14682000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1469
1470	* configure: Rebuilt with new libtool.m4.
1471
14722000-09-05  Nick Clifton  <nickc@redhat.com>
1473
1474	* aclocal.m4: Regenerate.
1475	* config.in: Regenerate.
1476	* configure: Regenerate.
1477
14782000-09-04  Todd Vierling  <tv@wasabisystems.com>
1479
1480	* strip.1: Fix stray '\' in -o formatting.
1481
14822000-09-02  Nick Clifton  <nickc@redhat.com>
1483
1484	* configure.in: Increase version number to 2.10.91.
1485	* configure: Regenerate.
1486	* aclocal.m4: Regenerate.
1487	* config.in: Regenerate.
1488	* po/binutils.pot: Regenerate.
1489
14902000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1491
1492	* acinclude.m4: Include libtool and gettext macros from the
1493	top level.
1494	* aclocal.m4, configure: Rebuilt.
1495
14962000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1497
1498	* resrc.c (close_input_stream): Delete extraneous logic
1499
15002000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1501
1502	* NEWS: Mention support for CRIS.
1503
15042000-08-21  Nick Clifton  <nickc@redhat.com>
1505
1506	* addr2line.c: Changed email address for Ulrich Lauther.
1507
15082000-08-17  Christopher C. Chimelis <chris@debian.org>
1509
1510	* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1511
15122000-08-17  Nick Clifton  <nickc@redhat.com>
1513
1514	* readelf.c (display_debug_pubnames): Only issue warning
1515	message once.  Terminate message with a new line.
1516	(display_debug_aranges): Only display version 2 debug info.
1517
15182000-08-14  Todd Vierling <tv@wasabisystems.com>
1519
1520	* objcopy.c (strip_main): Silently accept -d as an alias for -g
1521	for compatability with old BSD systems.
1522
15232000-08-14  Jason Eckhardt  <jle@cygnus.com>
1524
1525	* NEWS: Mention i860 support.
1526
15272000-08-11  Carlo Wood <carlo@alinoe.com>
1528
1529	* addr2line.c (main): Add const to char *.
1530
15312000-08-11  Geoff Keating  <geoffk@cygnus.com>
1532
1533	* ar.c (main): Don't crash if called with no arguments
1534	or only '-X32_64' as an argument.
1535
15362000-08-08  DJ Delorie  <dj@redhat.com>
1537
1538	* resrc.c: use "gcc -xc" instead of -xc-header
1539
15402000-08-05  Jason Eckhardt  <jle@cygnus.com>
1541
1542	* readelf.c (elf/i860.h): Include.
1543	(dump_relocations): Add recognition of i860 architecture.
1544	(guess_is_rela): Add recognition of i860 architecture.
1545
15462000-08-03  Nick Clifton  <nickc@cygnus.com>
1547
1548	* MAINTAINERS: Add information about CGEN maintainers.
1549
15502000-07-26  Geoff Keating  <geoffk@cygnus.com>
1551
1552	* nm.c (main): Ignore '-X32_64' as an option.
1553	* ar.c (main): Likewise.
1554	* binutils.texi (nm): Document new option.
1555	(ar): Likewise.
1556
15572000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1558
1559	* rdcoff.c (external_coff_symbol_p): K&R-ise.
1560
15612000-07-20  H.J. Lu  <hjl@gnu.org>
1562
1563	* binutils.texi: Put back "@end table" deleted by
1564	accident.
1565
15662000-07-05  Kenneth Block  <krblock@computer.org>
1567
1568	* nm.c: Add optional style to demangle switch.
1569	* objdump.c: Add optional style to demangle switch.
1570	* addr2line.c: Add optional style to demangle switch.
1571	* binutils.texi: Document optional style to demangle
1572	switch.
1573
15742000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1575
1576	* MAINTAINERS: Add self as CRIS port maintainer.
1577	* readelf.c: Include elf/cris.h.
1578	(guess_is_rela): Handle EM_CRIS.
1579	(dump_relocations): Ditto.
1580	(get_machine_name): Ditto.
1581	* Makefile.am: Rebuild dependencies.
1582	* Makefile.in: Regenerate.
1583	* po/binutils.pot: Regenerate.
1584
15852000-07-19  H.J. Lu  <hjl@gnu.org>
1586
1587	* readelf.c (get_dynamic_type): Change "AUXILARY" to
1588	"AUXILIARY".
1589	(process_dynamic_segment): Print out strings for DT_CONFIG,
1590	DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1591
15922000-07-19  Mark Kettenis  <kettenis@gnu.org>
1593
1594	* nm.c (usage): Change output of `nm --help' to include a
1595	description of the purpose of the program and a detailed
1596	description of the accepted options.
1597
15982000-07-19  H.J. Lu  <hjl@gnu.org>
1599
1600	* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1601	to DF_1_NODEFLIB.
1602
16032000-07-19  H.J. Lu  <hjl@gnu.org>
1604
1605	* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1606
16072000-07-19  H.J. Lu  <hjl@gnu.org>
1608
1609	* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1610	DT_FEATURE.
1611	(process_dynamic_segment): Likewise.
1612
1613	* readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1614	DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1615	(process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1616	DF_1_NODUMP and DF_1_CONLFAT.
1617
16182000-07-18  Nick Clifton  <nickc@cygnus.com>
1619
1620	* binutils.texi (readelf): Fix spelling typo.
1621
16222000-07-11  Mark Kettenis  <kettenis@gnu.org>
1623
1624	* objdump.c (usage): Make output of `objdump --help' more
1625	consistent with the rest of the GNU world.  Add a line describing
1626	the purpose of the program.
1627
16282000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
1629
1630	* stabs.c (parse_stab_range_type): Cast to proper type to fix
1631	warning.
1632
16332000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
1634
1635	* readelf.c (get_dynamic_data): Add casts and use unsigned chars
1636	to fix warnings.
1637	(process_symbol_table): Ditto.
1638	(procesS_extended_line_op): Ditto.
1639	(display_debug_lines): Ditto.
1640	(display_debug_pubnames): Ditto.
1641	(read_and_display_attr): Ditto.
1642
16432000-07-09  Nick Clifton  <nickc@cygnus.com>
1644
1645	* MAINTAINERS: Add several more port specific maintainers.
1646
16472000-07-05  Nick Clifton  <nickc@cygnus.com>
1648
1649	* MAINTAINERS: Add blanket write privs for Michael Meissner.
1650
16512000-06-05  DJ Delorie  <dj@redhat.com>
1652
1653	* MAINTAINERS: New.
1654
16552000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1656
1657	* dllwrap.c: Changed mistaken dyn_string_append() calls
1658	to dyn_string_append_cstr().
1659
16602000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1661
1662	* stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1663	struct debug_type stores size in bytes.
1664
16652000-07-01  Alan Modra  <alan@linuxcare.com.au>
1666
1667	* Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1668	(CLEANFILES): Add DEPA.
1669	* Makefile.in: Regenerate.
1670
16712000-06-27  Alan Modra  <alan@linuxcare.com.au>
1672
1673	* ar.c: Revert incorrect 2000-06-25 patch.
1674	* bucomm.c: Likewise.
1675
16762000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1677
1678	* rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1679	(external_coff_symbol_p): New function.
1680	(parse_coff): Use it.
1681
16822000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1683
1684	* ar.c (normalize): Advance past both characters in a DOS based
1685	<letter>: filepath prefix.
1686	(main): Likewise.
1687	* bucomm.c (make_tempname): Likewise.
1688
16892000-06-24  Nick Clifton  <nickc@cygnus.com>
1690
1691	* objdump.c (usage): Fix description of --stabs switch.
1692
16932000-06-22  Alan Modra  <alan@linuxcare.com.au>
1694
1695	* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1696	find one.
1697	* Makefile.in: Regenerate.
1698
16992000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1700
1701	* ar.c (normalize): Correct pointer comparison when checking for
1702	backslashes.
1703	(main): Likewise.
1704	* bucomm.c (make_tempname): Likewise.
1705
1706	* ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1707	and search for backslashes in the original pathname.
1708	(ieee_add_bb11): Likewise.
1709
17102000-06-18  Nick Clifton  <nickc@redhat.com>
1711
1712	* ar.c (print_contents): Improve verbose message.
1713
17142000-06-15  H.J. Lu  <hjl@gnu.org>
1715
1716	* dyn-string.c: Removed. Not needed with dyn-string.c in
1717	libiberty.
1718	* dyn-string.h: Likewise.
1719
1720	* Makefile.am: Remove references to dyn-string.c and
1721	dyn-string.h. Rebuild dependency.
1722	* Makefile.in: Rebuild.
1723
17242000-06-15  H.J. Lu  <hjl@gnu.org>
1725
1726	* binutils.texi: Put a warning on copying relocatable object
1727	files between two different formats.
1728
17292000-06-13  DJ Delorie  <dj@cygnus.com>
1730
1731	* rcparse.y (control): ICON controls take an id as the first
1732	parameter, not an optional string.  Also, call new convenience
1733	function that takes res_id's.
1734	* resrc.c (define_control): missing text means zero-length string,
1735	not zero ID.
1736	(define_icon_control): New.
1737	* windres.h: declare define_icon_control.
1738
17392000-06-13  H.J. Lu  <hjl@gnu.org>
1740
1741	* configure: Regenerate.
1742
17432000-06-08  David O'Brien  <obrien@FreeBSD.org>
1744
1745	* configure.in (VERSION): Update to show this is the CVS mainline.
1746
17472000-06-02  David O'Brien  <obrien@FreeBSD.org>
1748
1749	* strings.c (isgraphic): Interpret <TAB> as a printable character,
1750	analogous to <SPACE>.
1751
17522000-05-30  Alan Modra  <alan@linuxcare.com.au>
1753
1754	* objdump.c (display_target_list): Use bfd_close_all_done, not
1755	bfd_close to fix crash caused by 2000-05-24 change.
1756
17572000-05-25  DJ Delorie  <dj@cygnus.com>
1758
1759	* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1760
17612000-05-26  Alan Modra  <alan@linuxcare.com.au>
1762
1763	* Makefile.am: Update dependencies with "make dep-am"
1764	* Makefile.in: Regenerate.
1765
17662000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1767
1768	* ar.c: Include filenames.h.
1769	(normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1770	and drive letters in file names.
1771	(main): Support backslashes and drive letters in argv[0].  Drop
1772	the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1773	FILENAME_CMP instead of strcmp to compare file names.
1774	(open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1775	DJGPP v2.
1776	(do_quick_append) [__GO32__]: Ditto.
1777	(get_pos_bfd, delete_members, move_members, replace_members):
1778	Compare file names with FILENAME_CMP.
1779
1780	* bucomm.c: Include filenames.h.
1781	(make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1782	forward/backward slashes and drive letters in file names.
1783
1784	* ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1785	mixed forward/backward slashes and drive letters in file names.
1786
1787	* strings.c (O_BINARY, setmode, SET_BINARY): Define.
1788	(main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1789	mode.
1790
1791	* objcopy.c: Include filenames.h.
1792	(main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1793	before comparing to "strip".
1794	Use FILENAME_CMP to compare file names.
1795
1796	* arsup.c: Include filenames.h.
1797	(map_over_list, ar_delete, ar_replace, ar_extract): Use
1798	FILENAME_CMP to compare file names.
1799	(ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1800	the temporary file name.
1801
1802	* configure.in: Check for setmode.
1803	* configure: Regenerate.
1804
18052000-05-24  Alan Modra  <alan@linuxcare.com.au>
1806
1807	* objdump.c (display_target_list): Close the bfd.
1808	(display_info_table): Likewise.
1809
18102000-05-14  H.J. Lu  (hjl@gnu.org)
1811
1812	* objcopy.c (filter_symbols): Don't strip global symbols in
1813	relocatable object files.
1814
18152000-05-14  Alan Modra  <alan@linuxcare.com.au>
1816
1817	* size.c (usage): Associate short options with corresponding long
1818	option to give a clue as to their function.
1819
18202000-05-14  Philippe De Muyter  <phdm@macqel.be>
1821
1822	* size.c (main): Accept and ignore `-f' option.
1823
18242000-05-13  Alan Modra  <alan@linuxcare.com.au>
1825
1826	* bucomm.h (gettext, dgettext, dcgettext, textdomain,
1827	bindtextdomain): Replace defines with those from intl/libgettext.h
1828	to quieten gcc warnings.
1829
18302000-05-12  H.J. Lu  <hjl@gnu.org>
1831
1832	* nlmconv.c (temp_filename): Removed.
1833
1834	* nlmconv.c (link_inputs): Use make_temp_file () instead of
1835	choose_temp_base ().
1836	* objdump.c (display_target_list): Likewise.
1837	(display_info_table): Likewise.
1838
18392000-05-08  Alan Modra  <alan@linuxcare.com.au>
1840
1841	* objcopy.c (setup_section): Add const and gettext calls for err.
1842
18432000-05-02  H.J. Lu  <hjl@gnu.org>
1844
1845	* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1846	ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1847	ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1848	ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1849	and ELFOSABI_OPENBSD.
1850
18512000-05-02  Kazu Hirata  <kazu@hxi.com>
1852
1853	* coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1854	* srconv.c: Likewise.
1855	* sysdump.c: Likewise.
1856
18572000-04-23  Denis Chertykov  <denisc@overta.ru>
1858
1859	* readelf.c (guess_is_rela): AVR uses RELA relocations.
1860	(get_machine_name): machine name for EM_AVR added.
1861
18622000-04-21  Richard Henderson  <rth@cygnus.com>
1863	    David Mosberger  <davidm@hpl.hp.com>
1864
1865	* Makefile.am (readelf.o): Add elf/ia64.h.
1866	* Makefile.in: Rebuild.
1867	* readelf.c: Include elf/ia64.h.
1868	(guess_is_rela, dump_relocations): Handle EM_IA_64.
1869
18702000-04-17  Timothy Wall  <twall@cygnus.com>
1871
1872	* objdump.c (disassemble_data): Set octets per byte *after*
1873	resolving arch/mach for binary files.
1874
18752000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1876
1877	* arlex.l: Add directives to increase lex buffer size.
1878
1879	* objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1880	already included by bucomm.h.
1881
18822000-04-10  Philippe De Muyter  <phdm@macqel.be>
1883
1884	* readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1885	`strftime' since strftime is not available on all systems.
1886	(process_mips_specific): Ditto.
1887
18882000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
1889
1890	* configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1891	--enable-build-warnings option.
1892	* Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1893	* Makefile.in, configure: Re-generate.
1894
18952000-04-06  Alan Modra  <alan@linuxcare.com.au>
1896
1897	* addr2line.c: Update copyright.
1898	* objcopy.1: Likewise, and title.
1899	* strings.1: Likewise.
1900
1901	* version.c (print_version): Add 2000.
1902
1903	* rddbg.c (read_section_stabs_debugging_info): Don't use
1904	bfd_size_type for strx to avoid printf problems if BFD64.
1905
1906	* bucomm.c: (report): Remove `static'.
1907	Move inclusion of stdarg.h/vararg.h from here.
1908	* bucomm.h: To here.
1909	(CONST): Change all occurences to const.
1910	(report): Declare it.
1911	(bfd_fatal): Add ATTRIBUTE_NORETURN.
1912	(fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1913	(non_fatal): Add ATTRIBUTE_PRINTF_1.
1914
1915	* ar.c (main): Use fatal or non_fatal instead of fprintf.
1916	Correct a typo in an error message.
1917	(do_quick_append): Use non_fatal instead of fprintf.
1918	(move_members): Use fatal instead of fprintf, exit.
1919	* coffdump.c (main): Same here.
1920
1921	* dlltool.c (display): Delete.
1922	(warn): Delete.
1923	(inform): Use `report' instead of `display'.
1924	(rvaafter): Remove trailing \n from fatal error msg.
1925	(rvabefore): Ditto.
1926	(asm_prefix): Ditto.
1927	(yyerror): Replace `warn' with `non_fatal', and remove \n.
1928	(def_name): Likewise.
1929	(run): Likewise.
1930	(scan_all_symbols): Likewise.
1931	(gen_lib_file): Likewise.
1932	(def_library): Likewise.  Remove extra program_name too.
1933	(run): Remove \n from inform strings.
1934	(scan_drectve_symbols): Likewise.
1935	(add_excludes): Likewise.
1936	(scan_open_obj_file): Likewise.
1937	(gen_exp_file): Likewise.
1938	(gen_lib_file): Likewise.
1939	(process_duplicates): Likewise.
1940
1941	* Makefile.am (dllwrap_SOURCES): Add version.c.
1942	* dllwrap.c (program_version): Delete.
1943	(print_version): Delete.
1944	(display): Always print trailing \n.
1945	(warn): New.
1946	(delete_temp_files): Use warn instead of fprintf.  Use gettext.
1947	(run): Here too.
1948	(main): And here.
1949	(usage): gettext'ify.
1950	(long_options): Add missing initialisers.
1951
1952	* nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1953	(select_output_format): Likewise.
1954	(powerpc_mangle_relocs): Likewise.
1955	(link_inputs): Likewise.
1956
1957	* nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1958	(set_output_format): Likewise.
1959	(main): Use non_fatal instead of fprintf.
1960	(display_rel_file): Likewise.
1961
1962	* objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1963	(slurp_dynamic_symtab): Same here.
1964	(disassemble_data): And here.
1965	(read_section_stabs): And here.
1966	(read_section_stabs): And here.
1967	(dump_bfd): And here.
1968	(main): And here.
1969	(objdump_sprintf): Use fatal instead of fprintf, exit.
1970	(disassemble_data): Same here.
1971
1972	* rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1973	(parse_coff_struct_type): Same here.
1974	(parse_coff_enum_type): And here.
1975	(parse_coff): And here.
1976	* rddbg.c (read_debugging_info): And here.
1977	* size.c (main): And here.
1978	* windres.c (format_from_name): And here.
1979	* wrstabs.c (stab_write_symbol): Here too.
1980	(write_stabs_in_sections_debugging_info): And here.
1981	(stab_int_type): And here.
1982	(stab_struct_field): And here.
1983	(stab_typdef): And here.
1984
1985	* rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1986	* srconv.c (main): Same here.
1987	* strings.c (main): And here.
1988	(integer_arg): And here.
1989	* sysdump.c (main): And here.
1990
19912000-04-06  Timothy Wall  <twall@cygnus.com>
1992
1993	* objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1994
19952000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1996
1997	* readelf.c (decode_location_expression): Loop through multiple
1998	operations.
1999	(read_and_display_attr): Pass in length.
2000
2001	* readelf.c (read_and_display_attr): Add CU offset to references.
2002	(display_debug_info): Pass it in.
2003
20042000-04-06  Nick Clifton  <nickc@cygnus.com>
2005
2006	* readelf.c (decode_ARM_machine_flags): New function.
2007	(get_machine_flags): Call decode_ARM_machine_flags for ARM
2008	targets.
2009
2010	(get_machine_name): Catch EM_AVR
2011
20122000-04-05  Alan Modra  <alan@linuxcare.com.au>
2013
2014	* binutils.texi: Remove optional `=' from long options that have
2015	an `=' in the argument.
2016	* objcopy.1: Here too.  Remove extra space on discard-all.
2017
2018	* binutils.texi (objcopy): Mention --redefine-sym.
2019	* objcopy.1: Here too.
2020	* NEWS: And here.
2021
2022	* objcopy.c (parse_flags): Split off flag names from error message
2023	gettext as they are not translated.
2024	(copy_main): Similarly split off option name for --add-section,
2025	--set-section-flags, --change-section-vma, --change-section-lma
2026	error messages.
2027	Some white space changes.
2028
2029	from Matthew Benjamin <matt@linuxbox.nu>
2030	* objcopy.c (struct redefine_node): New.
2031	(redefine_sym_list): New.
2032	(redefine_list_append): New.
2033	(lookup_sym_redefinition): New.
2034	(OPTION_REDEFINE_SYM): New.
2035	(copy_options): Add --redefine-sym option.
2036	(copy_usage): Mention it.
2037	(filter_symbols): Rename symbols on redefine_sym_list.
2038	(copy_object): Call filter_symbols if redefine_sym_list != NULL.
2039	(copy_main): Handle OPTION_REDEFINE_SYM.
2040
20412000-04-04  H.J. Lu  <hjl@gnu.org>
2042
2043	* readelf.c (process_symbol_table): Correctly read in symbol
2044	versioning information.
2045
20462000-04-04  Alan Modra  <alan@linuxcare.com.au>
2047
2048	* po/binutils.pot: Regenerate.
2049
2050	* addr2line.c (usage): Restore translated part of bug string.
2051	* ar.c (usage): Likewise.
2052	* nlmconv.c (show_usage): Likewise.
2053	* nm.c (usage): Likewise.
2054	* objcopy.c (copy_usage): Likewise.
2055	(strip_usage): Likewise.
2056	* objdump.c (usage): Likewise.
2057	* readelf.c (usage): Likewise.
2058	* size.c (usage): Likewise.
2059	* strings.c (usage): Likewise.
2060	* windres.c (usage): Likewise.
2061
2062	* Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2063	(DEP): Quote when passing vars to sub-make.  Add warning
2064	message to end.
2065	(DEP1): Rewrite for "gcc -MM".
2066	(CLEANFILES): Add DEP2.
2067	Update dependencies.
2068	* Makefile.in: Regenerate.
2069
20702000-04-04  H.J. Lu  <hjl@gnu.org>
2071
2072	* Makefile.am (GENERATED_HFILES): Add rcparse.h
2073	(arparse.h): Depend on arparse.c
2074	(defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2075
20762000-04-03  H.J. Lu  (hjl@gnu.org)
2077
2078	* size.c (usage): Use REPORT_BUGS_TO.
2079
20802000-04-03  Alan Modra  <alan@linuxcare.com.au>
2081
2082	* bucomm.h: #include "bin-bugs.h"
2083	* addr2line.c (usage): Use REPORT_BUGS_TO.
2084	* ar.c (usage): Likewise.
2085	* nlmconv.c (show_usage): Likewise.
2086	* nm.c (usage): Likewise.
2087	(OPTION_TARGET): Define.
2088	(long_options): Use OPTION_TARGET rather than 200.
2089	(main): Likewise.
2090
2091	* objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2092	(strip_usage): Likewise.
2093	* objdump.c (usage): Likewise.
2094	* readelf.c (usage): Likewise.
2095	* strings.c (usage): Likewise.
2096	* windres.c (usage): Likewise.
2097
20982000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2099
2100	* readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2101
21022000-03-27  Nick Clifton  <nickc@cygnus.com>
2103
2104	* rddbg.c (read_section_stabs_debugging_info): Catch out of range
2105	string offsets in corrupt stabs entries.
2106
21072000-03-27  Alan Modra  <alan@linuxcare.com.au>
2108
2109	* readelf.c: Include elf/avr.h
2110	(dump_relocations): Add EM_AVR case.
2111
21122000-03-09  Tim Waugh  <twaugh@redhat.com>
2113
2114	* strings.1: Correct '-bytes' to '--bytes'.
2115
21162000-03-08  H.J. Lu  <hjl@gnu.org>
2117
2118	* Makefile.am (install-exec-local): Depend on
2119	install-binPROGRAMS for parallel make.
2120	* Makefile.in: Regenerated.
2121
21222000-02-27  Ian Lance Taylor  <ian@zembu.com>
2123
2124	From Brad Lucier <lucier@math.purdue.edu>:
2125	* readelf.c (process_dynamic_segment): Add cast to make sure
2126	argument to %* is int.
2127
21282000-02-25  H.J. Lu  <hjl@gnu.org>
2129
2130	* configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2131
21322000-02-24  Nick Clifton  <nickc@cygnus.com>
2133
2134	* configure.in: Add arm-wince, mips-pe and sh-pe targets.
2135	* configure: Regenerate.
2136
2137	* dlltool.c: Add support for sh-pe and mips-pe targets.
2138	* rescoff.c: Add support for sh-pe and mips-pe targets.
2139
21402000-02-23  H.J. Lu  <hjl@gnu.org>
2141
2142	* readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2143
21442000-02-22  Nick Clifton  <nickc@cygnus.com>
2145
2146	* readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2147
21482000-02-22  Ian Lance Taylor  <ian@zembu.com>
2149
2150	From Brad Lucier <lucier@math.purdue.edu>:
2151	* readelf.c (process_version_sections): Add casts to make sure
2152	argument to %* is an int.
2153	(process_mips_specific): Add casts to make printf arguments match
2154	format.
2155
21562000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2157
2158	* objdump.c (dump_section_header): Change `opb' to unsigned.
2159	(find_symbol_for_address): Same here.
2160	(disassemble_data): And here.  Change `addr_offset',
2161	`stop_offset', `nextstop_offset' to unsigned long.
2162	(dump_data): Change opb to unsigned.
2163
21642000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2165
2166	* resrc.c: Remove unmatched #if for cygwin.
2167
21682000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2169
2170	* binutils.texi: Document the change of flavor name from atpcs-special
2171	to special-atpcs to prevent name conflict in gdb.
2172
21732000-02-08  Timothy Wall  <twall@redhat.com>
2174
2175	* objdump.c (show_line): Fix bug preventing printing of the very
2176	first line (line zero) of a file when interlisting source and
2177	assembly.  Added option to print entire context from start of file
2178	when the first line from that file is encountered.
2179
21802000-02-03  Timothy Wall <twall@redhat.com>
2181
2182	* objdump.c (dump_section_header, find_symbol_for_address,
2183	show_line, disassemble_bytes, disassemble_data, dump_data):
2184	distinguish between octets and bytes.
2185
21862000-01-27  Thomas de Lellis  <tdel@windriver.com>
2187
2188	* nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2189	check to unresolved symbols.
2190	(print_symbol_info_sysv):  Ditto.
2191	(print_symbol_info_posix):  Ditto.
2192
2193	* binutils.texi: Document new 'V' symclass flag for nm.
2194
21952000-01-27  Nick Clifton  <nickc@redhat.com>
2196
2197	* binutils.texi (objdump): Document new ARM specific
2198	disassembler options.
2199
2200	* objdump.c (usage): Call disassembler_usage().
2201
22022000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2203
2204	* readelf.c (get_dynamic_flags): Return buff.
2205	(process_dynamic_segment): Don't pass error strings to printf
2206	as format arg.
2207	(read_and_display_attr): Use lx and ld to print longs.
2208	(process_corefile_note_segment): Cast bfd_vma to unsigned long
2209	before printing.
2210	Update copyright.
2211
22122000-01-17  Nick Clifton  <nickc@cygnus.com>
2213
2214	* readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2215
22162000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2217
2218	* debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2219	false.
2220	(debug_tag_type): Here too.
2221	* ieee.c (ieee_builtin_type): And here.
2222	* stabs.c (parse_stab_type, parse_stab_array_type): And here.
2223
22242000-01-13  Nick Clifton  <nickc@cygnus.com>
2225
2226	* readelf.c (get_machine_name): Change EM_S370 to return "IBM
2227	System/370".
2228
22292000-01-11  Nick Clifton  <nickc@cygnus.com>
2230
2231	* readelf.c (get_dynamic_type): Remove DT_ENCODING.
2232
22332000-01-10  Nick Clifton  <nickc@cygnus.com>
2234
2235	* readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2236
22372000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2238
2239	* windres.c (long_options): Add --use-temp-file and
2240	--no-use-temp-file options.
2241	(usage): Document.
2242	(main): Handle.
2243
2244	* windres.h: Update read_rc_file prototype.
2245
2246	* resrc.c (cpp_temp_file): New static variable.
2247	(istream_type): New static variable.
2248	(close_pipe): Delete function.
2249	(run_cmd): New static function.
2250	(open_input_stream): New static function.
2251	(close_input_stream): New static function.
2252	(look_for_default): Handle DOS directory separator. Use
2253	open_input_stream instead of popen.
2254	(read_rc_file): Likewise.
2255
2256	* binutils.texi: Document --use-temp-file, --no-use-temp-file
2257	options.
2258
22592000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2260
2261	* dlltool.c (create_compat_implib): New variable.
2262	(gen_exp_file): Use.
2263	(make_one_lib_file): Use.
2264	(long_options): Add --compat-implib option.
2265	(usage): Handle.
2266	(main): Handle.
2267
2268	* dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2269	(main): Use. Don't look for "32" in cygwin and mingw target names.
2270
22712000-01-03  Nick Clifton  <nickc@cygnus.com>
2272
2273	* binutils.texi: Document new, ARM specific disassembler
2274	command line switch "-M force-thumb".
2275
2276For older changes see ChangeLog-9899
2277
2278Local Variables:
2279mode: change-log
2280left-margin: 8
2281fill-column: 74
2282version-control: never
2283End:
2284