ChangeLog revision 61843
12000-05-30  Alan Modra  <alan@linuxcare.com.au>
2
3	* objdump.c (display_target_list): Use bfd_close_all_done, not
4	bfd_close to fix crash caused by 2000-05-24 change.
5
62000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
7
8	* ar.c: Include filenames.h.
9	(normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
10	and drive letters in file names.
11	(main): Support backslashes and drive letters in argv[0].  Drop
12	the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
13	FILENAME_CMP instead of strcmp to compare file names.
14	(open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
15	DJGPP v2.
16	(do_quick_append) [__GO32__]: Ditto.
17	(get_pos_bfd, delete_members, move_members, replace_members):
18	Compare file names with FILENAME_CMP.
19
20	* bucomm.c: Include filenames.h.
21	(make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
22	forward/backward slashes and drive letters in file names.
23
24	* ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
25	mixed forward/backward slashes and drive letters in file names.
26
27	* strings.c (O_BINARY, setmode, SET_BINARY): Define.
28	(main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
29	mode.
30
31	* objcopy.c: Include filenames.h.
32	(main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
33	before comparing to "strip".
34	Use FILENAME_CMP to compare file names.
35
36	* arsup.c: Include filenames.h.
37	(map_over_list, ar_delete, ar_replace, ar_extract): Use
38	FILENAME_CMP to compare file names.
39	(ar_open): Prepend "tmp-" instead of appending "-tmp", to create
40	the temporary file name.
41
42	* configure.in: Check for setmode.
43	* configure: Regenerate.
44
452000-05-24  Alan Modra  <alan@linuxcare.com.au>
46
47	* objdump.c (display_target_list): Close the bfd.
48	(display_info_table): Likewise.
49
502000-05-23  Philip Blundell  <pb@futuretv.com>
51
52	* configure.in: Set version to 2.10.
53	* configure: Regenerate.
54
552000-05-02  H.J. Lu  <hjl@gnu.org>
56
57	* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
58	ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
59	ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
60	ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
61	and ELFOSABI_OPENBSD.
62
632000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
64
65	* arlex.l: Add directives to increase lex buffer size.
66
67	* objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
68        already included by bucomm.h.
69
702000-04-10  Philippe De Muyter  <phdm@macqel.be>
71
72	* readelf (dynamic_segment_mips_val): Call `sprintf', not
73	`strftime' since strftime is not available on all systems.
74	(process_mips_specific): Ditto.
75
762000-04-06  Alan Modra  <alan@linuxcare.com.au>
77
78	* addr2line.c: Update copyright.
79	* objcopy.1: Likewise, and title.
80	* strings.1: Likewise.
81
82	* version.c (print_version): Add 2000.
83
84	* rddbg.c (read_section_stabs_debugging_info): Don't use
85	bfd_size_type for strx to avoid printf problems if BFD64.
86
87	* bucomm.c: (report): Remove `static'.
88	Move inclusion of stdarg.h/vararg.h from here.
89	* bucomm.h: To here.
90	(CONST): Change all occurences to const.
91	(report): Declare it.
92	(bfd_fatal): Add ATTRIBUTE_NORETURN.
93	(fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
94	(non_fatal): Add ATTRIBUTE_PRINTF_1.
95
96	* ar.c (main): Use fatal or non_fatal instead of fprintf.
97	Correct a typo in an error message.
98	(do_quick_append): Use non_fatal instead of fprintf.
99	(move_members): Use fatal instead of fprintf, exit.
100	* coffdump.c (main): Same here.
101
102	* dlltool.c (display): Delete.
103	(warn): Delete.
104	(inform): Use `report' instead of `display'.
105	(rvaafter): Remove trailing \n from fatal error msg.
106	(rvabefore): Ditto.
107	(asm_prefix): Ditto.
108	(yyerror): Replace `warn' with `non_fatal', and remove \n.
109	(def_name): Likewise.
110	(run): Likewise.
111	(scan_all_symbols): Likewise.
112	(gen_lib_file): Likewise.
113	(def_library): Likewise.  Remove extra program_name too.
114	(run): Remove \n from inform strings.
115	(scan_drectve_symbols): Likewise.
116	(add_excludes): Likewise.
117	(scan_open_obj_file): Likewise.
118	(gen_exp_file): Likewise.
119	(gen_lib_file): Likewise.
120	(process_duplicates): Likewise.
121
122	* Makefile.am (dllwrap_SOURCES): Add version.c.
123	* dllwrap.c (program_version): Delete.
124	(print_version): Delete.
125	(display): Always print trailing \n.
126	(warn): New.
127	(delete_temp_files): Use warn instead of fprintf.  Use gettext.
128	(run): Here too.
129	(main): And here.
130	(usage): gettext'ify.
131	(long_options): Add missing initialisers.
132
133	* nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
134	(select_output_format): Likewise.
135	(powerpc_mangle_relocs): Likewise.
136	(link_inputs): Likewise.
137
138	* nm.c (set_print_radix): Use fatal instead of fprintf, exit.
139	(set_output_format): Likewise.
140	(main): Use non_fatal instead of fprintf.
141	(display_rel_file): Likewise.
142
143	* objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
144	(slurp_dynamic_symtab): Same here.
145	(disassemble_data): And here.
146	(read_section_stabs): And here.
147	(read_section_stabs): And here.
148	(dump_bfd): And here.
149	(main): And here.
150	(objdump_sprintf): Use fatal instead of fprintf, exit.
151	(disassemble_data): Same here.
152
153	* rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
154	(parse_coff_struct_type): Same here.
155	(parse_coff_enum_type): And here.
156	(parse_coff): And here.
157	* rddbg.c (read_debugging_info): And here.
158	* size.c (main): And here.
159	* windres.c (format_from_name): And here.
160	* wrstabs.c (stab_write_symbol): Here too.
161	(write_stabs_in_sections_debugging_info): And here.
162	(stab_int_type): And here.
163	(stab_struct_field): And here.
164	(stab_typdef): And here.
165
166	* rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
167	* srconv.c (main): Same here.
168	* strings.c (main): And here.
169	(integer_arg): And here.
170	* sysdump.c (main): And here.
171
1722000-04-05  Alan Modra  <alan@linuxcare.com.au>
173
174	* binutils.texi: Remove optional `=' from long options that have
175	an `=' in the argument.
176	* objcopy.1: Here too.  Remove extra space on discard-all.
177
178	* binutils.texi (objcopy): Mention --redefine-sym.
179	* objcopy.1: Here too.
180	* NEWS: And here.
181
182	* objcopy.c (parse_flags): Split off flag names from error message
183	gettext as they are not translated.
184	(copy_main): Similarly split off option name for --add-section,
185	--set-section-flags, --change-section-vma, --change-section-lma
186	error messages.
187	Some white space changes.
188
189	from Matthew Benjamin <matt@linuxbox.nu>
190	* objcopy.c (struct redefine_node): New.
191	(redefine_sym_list): New.
192	(redefine_list_append): New.
193	(lookup_sym_redefinition): New.
194	(OPTION_REDEFINE_SYM): New.
195	(copy_options): Add --redefine-sym option.
196	(copy_usage): Mention it.
197	(filter_symbols): Rename symbols on redefine_sym_list.
198	(copy_object): Call filter_symbols if redefine_sym_list != NULL.
199	(copy_main): Handle OPTION_REDEFINE_SYM.
200
2012000-04-04  H.J. Lu  <hjl@gnu.org>
202
203	* readelf.c (process_symbol_table): Correctly read in symbol
204	versioning information.
205
2062000-04-04  Alan Modra  <alan@linuxcare.com.au>
207
208	* po/binutils.pot: Regenerate.
209
210	* addr2line.c (usage): Restore translated part of bug string.
211	* ar.c (usage): Likewise.
212	* nlmconv.c (show_usage): Likewise.
213	* nm.c (usage): Likewise.
214	* objcopy.c (copy_usage): Likewise.
215	(strip_usage): Likewise.
216	* objdump.c (usage): Likewise.
217	* readelf.c (usage): Likewise.
218	* size.c (usage): Likewise.
219	* strings.c (usage): Likewise.
220	* windres.c (usage): Likewise.
221
222	* Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
223	(DEP): Quote when passing vars to sub-make.  Add warning
224	message to end.
225	(DEP1): Rewrite for "gcc -MM".
226	(CLEANFILES): Add DEP2.
227	Update dependencies.
228	* Makefile.in: Regenerate.
229
2302000-04-04  H.J. Lu  <hjl@gnu.org>
231
232	* Makefile.am (GENERATED_HFILES): Add rcparse.h
233	(arparse.h): Depend on arparse.c
234	(defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
235
2362000-04-03  H.J. Lu  (hjl@gnu.org)
237
238	* size.c (usage): Use REPORT_BUGS_TO.
239
2402000-04-03  Alan Modra  <alan@linuxcare.com.au>
241
242	* bucomm.h: #include "bin-bugs.h"
243	* addr2line.c (usage): Use REPORT_BUGS_TO.
244	* ar.c (usage): Likewise.
245	* nlmconv.c (show_usage): Likewise.
246	* nm.c (usage): Likewise.
247	(OPTION_TARGET): Define.
248	(long_options): Use OPTION_TARGET rather than 200.
249	(main): Likewise.
250
251	* objcopy.c (copy_usage): Use REPORT_BUGS_TO.
252	(strip_usage): Likewise.
253	* objdump.c (usage): Likewise.
254	* readelf.c (usage): Likewise.
255	* strings.c (usage): Likewise.
256	* windres.c (usage): Likewise.
257
2582000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
259
260	* readelf.c: Include sys/types.h before sys/stat.h for ultrix.
261
2622000-03-27  Nick Clifton  <nickc@cygnus.com>
263
264	* rddbg.c (read_section_stabs_debugging_info): Catch out of range
265	string offsets in corrupt stabs entries.
266
2672000-03-27  Alan Modra  <alan@linuxcare.com.au>
268
269	* readelf.c: Include elf/avr.h
270	(dump_relocations): Add EM_AVR case.
271
2722000-03-09  Tim Waugh  <twaugh@redhat.com>
273
274	* strings.1: Correct '-bytes' to '--bytes'.
275
2762000-03-08  H.J. Lu  <hjl@gnu.org>
277
278	* Makefile.am (install-exec-local): Depend on
279	install-binPROGRAMS for parallel make.
280	* Makefile.in: Regenerated.
281
2822000-02-27  Ian Lance Taylor  <ian@zembu.com>
283
284	From Brad Lucier <lucier@math.purdue.edu>:
285	* readelf.c (process_dynamic_segment): Add cast to make sure
286	argument to %* is int.
287
2882000-02-25  H.J. Lu  <hjl@gnu.org>
289
290	* configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
291
2922000-02-24  Nick Clifton  <nickc@cygnus.com>
293
294	* configure.in: Add arm-wince, mips-pe and sh-pe targets.
295	* configure: Regenerate.
296
297	* dlltoolc.: Add support for sh-pe and mips-pe targets.
298	* rescoff.c: Add support for sh-pe and mips-pe targets.
299
3002000-02-23  H.J. Lu  <hjl@gnu.org>
301
302	* readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
303
3042000-02-22  Nick Clifton  <nickc@cygnus.com>
305
306	* readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
307
3082000-02-22  Ian Lance Taylor  <ian@zembu.com>
309
310	From Brad Lucier <lucier@math.purdue.edu>:
311	* readelf.c (process_version_sections): Add casts to make sure
312	argument to %* is an int.
313	(process_mips_specific): Add casts to make printf arguments match
314	format.
315
3162000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
317
318	* objdump.c (dump_section_header): Change `opb' to unsigned.
319	(find_symbol_for_address): Same here.
320	(disassemble_data): And here.  Change `addr_offset',
321	`stop_offset', `nextstop_offset' to unsigned long.
322	(dump_data): Change opb to unsigned.
323
3242000-02-18  Frank Ch. Eigler  <fche@redhat.com>
325
326	* resrc.c: Remove unmatched #if for cygwin.
327
3282000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
329
330	* binutils.texi: Document the change of flavor name from atpcs-special
331	to special-atpcs to prevent name conflict in gdb.
332
3332000-02-08  Timothy Wall  <twall@redhat.com>
334
335	* objdump.c (show_line): Fix bug preventing printing of the very
336	first line (line zero) of a file when interlisting source and
337	assembly.  Added option to print entire context from start of file
338	when the first line from that file is encountered.
339
3402000-02-03  Timothy Wall <twall@redhat.com>
341
342	* binutils/objdump.c (dump_section_header, find_symbol_for_address,
343	show_line, disassemble_bytes, disassemble_data, dump_data):
344	distinguish between octets and bytes.
345	
3462000-01-27  Thomas de Lellis  <tdel@windriver.com>
347
348        * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
349	check to unresolved symbols.
350        (print_symbol_info_sysv):  Ditto.
351        (print_symbol_info_posix):  Ditto.
352
353        * binutils.texi: Document new 'V' symclass flag for nm.
354
3552000-01-27  Nick Clifton  <nickc@redhat.com>
356
357	* binutils.texi (objdump): Document new ARM specific
358	disassembler options.
359
360	* objdump.c (usage): Call disassembler_usage().
361
3622000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
363
364	* readelf.c (get_dynamic_flags): Return buff.
365	(process_dynamic_segment): Don't pass error strings to printf
366	as format arg.
367	(read_and_display_attr): Use lx and ld to print longs.
368	(process_corefile_note_segment): Cast bfd_vma to unsigned long
369	before printing.
370	Update copyright.
371
3722000-01-17  Nick Clifton  <nickc@cygnus.com>
373
374	* readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
375
3762000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
377
378	* debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
379	false.
380	(debug_tag_type): Here too.
381	* ieee.c (ieee_builtin_type): And here.
382	* stabs.c (parse_stab_type, parse_stab_array_type): And here.
383
3842000-01-13  Nick Clifton  <nickc@cygnus.com>
385
386	* readelf.c (get_machine_name): Change EM_S370 to return "IBM
387	System/370".
388
3892000-01-11  Nick Clifton  <nickc@cygnus.com>
390
391	* readelf.c (get_dynamic_type): Remove DT_ENCODING.
392
3932000-01-10  Nick Clifton  <nickc@cygnus.com>
394
395	* readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
396
3972000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
398
399	* windres.c (long_options): Add --use-temp-file and 
400	--no-use-temp-file options.
401	(usage): Document.
402	(main): Handle.
403	
404	* windres.h: Update read_rc_file prototype.
405	
406	* resrc.c (cpp_temp_file): New static variable.
407	(istream_type): New static variable.
408	(close_pipe): Delete function.
409	(run_cmd): New static function.
410	(open_input_stream): New static function.
411	(close_input_stream): New static function.
412	(look_for_default): Handle DOS directory separator. Use 
413	open_input_stream instead of popen.
414	(read_rc_file): Likewise.
415	
416	* binutils.texi: Document --use-temp-file, --no-use-temp-file
417	options. 
418
4192000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
420 
421	* dlltool.c (create_compat_implib): New variable.
422	(gen_exp_file): Use.
423	(make_one_lib_file): Use.
424	(long_options): Add --compat-implib option.
425	(usage): Handle.
426	(main): Handle.
427
428	* dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
429	(main): Use. Don't look for "32" in cygwin and mingw target names.
430
4312000-01-03  Nick Clifton  <nickc@cygnus.com>
432
433	* binutils.texi: Document new, ARM specific disassembler
434          command line switch "-M force-thumb".
435
4361999-12-28  Nick Clifton  <nickc@cygnus.com>
437
438	* readelf.c: Update with new constants added by Oct 4, 1999
439	ELF ABI draft.
440	(guess_is_rela): Add new machine codes, but leave
441	rel type undetermined.
442	(get_machine_name): Add new machine codes.
443	(get_section_type_name): Add new section types.
444	(get_elf_section_flags): New funciton: Decode section flags.
445	(process_section_headers): Call get_elf_section_flags() in
446	order to decode flags in section header.
447	(get_dynamic_flags): New function: Decode dynamic section
448	flags.
449	(process_dynamic_section): Display flags (if present).
450	(get_symbol_type): Add STT_COMMON.
451	(get_symbol_visibility): New function: Decode a symbol's
452	visibility.
453	(process_symbol_table): Call get_symbol_visibility().
454	(get_note_type): Add NT_PRXFPREGS.
455
4561999-12-26  Ian Lance Taylor  <ian@zembu.com>
457
458	* strings.c (main): Correct handling of numeric argument.
459
4601999-12-23  Andrew Haley  <aph@cygnus.com>
461
462	* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
463	jtab; was 8.
464
4651999-12-17  Nick Clifton  <nickc@cygnus.com>
466
467	* dlltool.c (mtable): Stop compile time warnings about missing
468	initialisers.
469	(yyerror): Stop compile time warnings about unused paramater.
470	(INIT_SEC_DATA): New macro: initialise an entry in the secdata
471	array.
472	(secdata): Stop ccompile time warnings about uninitialised
473	fields.
474	(dtab): Stop compile time warnings about unused parameter.
475	(long_options): Stop compile time warning about missing
476	initialiser. 
477
4781999-12-10  Nick Clifton  <nickc@cygnus.com>
479
480	* readelf.c (print_vma): Support native 64bit ELF systems.
481
4821999-12-09  Nick Clifton  <nickc@cygnus.com>
483
484	* dlltool.c (mtable): Add epoc-arm specific entry.
485	Make default arm entry pass -mpacs-26 to assembler.
486	(flush_page): Do not mangle null entries.
487	
4881999-12-07  H . J . Lu  hjl@valinux.com
489
490	* readelf.c: Fix compile time warnings.  Support more than 999
491	symbols.
492
4931999-12-03  Nick Clifton  <nickc@cygnus.com>
494
495	* readelf.c (enum print_mode): New type.
496	(print_vma): New function.
497	(dump_relocations): Use print_vma to display bfd_vma values.
498	(process_file_header): Use print_vma to display bfd_vma values.
499	(process_program_headers): Use print_vma to display bfd_vma values.
500	(process_section_headers): Use print_vma to display bfd_vma values.
501	(dynamic_segment_parisc_val): Use print_vma to display bfd_vma values.
502	(process_dynamic_segment): Use print_vma to display bfd_vma values.
503	(process_symbol_table): Use print_vma to display bfd_vma values.
504	(process_mips_specific): Use print_vma to display bfd_vma values.
505
5061999-11-25  Fred Fish  <fnf@cygnus.com>
507
508	* readelf.c (process_note): Change arg from Elf_External_Note
509	to Elf32_Internal_Note, which also turns the function body
510	into little more than a call to printf.
511	(process_corefile_note_segment):  Substantially rewritten
512	to properly handle case where target and host are different
513	endianness, handle note sections with padding, and add some
514	cruft to handle notes with unterminated name data.
515
5161999-11-22  Nick Clifton  <nickc@cygnus.com>
517
518	* objcopy.c (copy_usage): Reformat.
519	(strip_usage): Reformat.
520
5211999-11-21  Nick Clifton  <nickc@cygnus.com>
522
523	* objdump.c (usage): Overhaul output:  One line per switch.
524	Textual description of each switch.  Distinguish between
525	optional switches and required switches.
526	(long_options): Add 'g', 'G' and 'z' short options.
527	(main): Distinguish between optional switches and required
528	switches.
529
530	* binutils.texi: Add -g -G and -z short options for
531	--debugging, --stabs and --disassemble-zeroes.
532
5331999-11-03  Nick Clifton  <nickc@cygnus.com>
534
535	* dlltool.c (flush_page): Clip short values to prevent warnings
536	from the assembler.
537	Change default mcore machine name to 'mcore-le' and rename
538	big-endian version to 'mcore-be'. 
539
5401999-10-27  Fred Fish  <fnf@cygnus.com>
541
542	* objdump.c (display_bfd): Break into two functions.  The
543	actual dumping code moves to dump_bfd.  If bfd is not
544	unambiguously recognized as a bfd_object, attempt to dump
545	it as a bfd_core.
546	(dump_bfd): New function.
547
5481999-10-26  Nick Clifton  <nickc@cygnus.com>
549
550	* dlltool.c (assemble_file): Remove spurious test of exp_name.
551
5521999-10-22  Nick Clifton  <nickc@cygnus.com>
553
554	* dlltool.c (struct mac): Add new field 'how_default_as_switches'.
555	(mtable): Initialise new field.  Some machines have a non empty
556	string for this field.
557	(HOW_BFD_TARGET): Undefine and replace with...
558	(HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a
559	file for reading.  This is set to 0 so that any recognisable bfd
560	format can be read.
561	(HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening
562	a file for writing.  This is set to the target machine type.
563	(ASM_SWITCHES): New macro: default switches to use when assembling
564	a file.
565	(assemble_file): New function: Assemble a source file into a
566	destination object file.
567	(gen_exp_file): Use assemble_file to create the exp file.
568	(make_one_lib_file): Use assemble_file to create the lib file.
569	Open output file use HOW_BFD_WRITE_TARGET and input files using
570	HOW_BFD_READ_TARGET.
571	(make_head): Use assemble_file to create the head file.
572	(make_tail): Use assemble_file to create the tail file.
573	(gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET.
574
5751999-10-15  Ian Lance Taylor  <ian@zembu.com>
576
577	* ar.c (normalize): Fix full_pathname code.
578
5791999-10-08  Ben Elliston  <bje@cygnus.com>
580
581        * binutils.texi: Some rewording and clarifications.
582
5831999-09-15  Ulrich Drepper  <drepper@cygnus.com>
584
585	* readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
586	the value is zero.
587	(process_symbol_table): Don't print histogram if hash table is empty.
588
5891999-09-15  Ulrich Drepper  <drepper@cygnus.com>
590
591	* readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
592
5931999-09-02  Ulrich Drepper  <drepper@cygnus.com>
594
595	* readelf.c (get_symbol_type): Add support for HPUX and PARISC
596	specific symbol types.
597
598	* readelf.c: Add HPUX and PARISC extensions to dynamic and program
599	header table printing.
600
601	* readelf.c (get_machine_flags): Add handling of PARISC.
602
6031999-09-29  Mumit Khan  <khan@xraylith.wisc.edu>
604
605	* dlltool.c (scan_drectve_symbols): Handle type tags in exported
606	symbols.
607	(scan_filtered_symbols): Likewise.
608
6091999-09-19  Ian Lance Taylor  <ian@zembu.com>
610
611	* resrc.c (write_rc_rcdata): Fix local variable shadowing
612	problem.  If RCDATA_BUFFER data can be read as strings, modify
613	code to print the strings as comments.
614	* resres.c: Add casts to avoid warnings.
615	(write_res_data, read_res_data): Don't put the program name in the
616	error message; fatal already puts it there.
617
6181999-09-14  Michael Meissner  <meissner@cygnus.com>
619
620	* configure.in (Canonicalization of target names): Remove adding
621	${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
622	generates $ac_config_sub with a ${CONFIG_SHELL} already.
623	* configure: Regenerate.
624
6251999-09-12  Ian Lance Taylor  <ian@zembu.com>
626
627	* ar.c (main): Clear output_file if we don't change the archive.
628	(delete_members, replace_members): Likewise.
629
6301999-09-12  Donn Terry  <donn@interix.com>
631
632	* objdump.c (dump_headers): If wide_output, print Flags header.
633
634	* objdump.c (dump_section_header): Print any comdat information.
635
636	* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
637	* binutils.texi, objcopy.1: Document new flags.
638
639	* ar.c (counted_name_mode): New static variable.
640	(counted_name_counter): New static variable.
641	(map_over_members): Handle counted mode.
642	(usage): Mention N modifier.
643	(main): Handle N modifier.
644	(delete_members): Handle counted mode.
645	* binutils.texi, ar.1: Document N modifier.
646
647	* ar.c (print_contents): Change printing of member name for
648	POSIX.2 conformance.
649
650	* ar.c (output_filename): Make const.
651	(open_inarch): If creating a new empty archive, set
652	output_filename.
653
6541999-09-12  Ian Lance Taylor  <ian@zembu.com>
655
656	* ar.c (full_pathname): New static variable.
657	(map_over_members): Call normalize on command line parameter.
658	(usage): Mention P modifier.
659	(normalize): If full_pathname is true, don't do anything.
660	(main): Accept P modifier.
661	(delete_members): Call normalize on command line parameter.
662	* binutils.texi, ar.1: Document P modifier.
663
6641999-09-09  Andreas Schwab  <schwab@suse.de>
665
666	* binutils.texi: Add info dir entries for all programs described
667	here.  Fix arguments of @var to not contain punctuation.
668
6691999-09-06  Donn Terry  <donn@interix.com>
670
671	* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
672	(print_symbol_info_sysv): Likewise.
673	(print_symbol_info_posix): Likewise.
674
6751999-09-04  Steve Chamberlain  <sac@pobox.com>
676
677	* readelf.c: Include "elf/pj.h".
678	(dump_relocations): Handle EM_PJ.
679	(get_machine_name): Likewise.
680	(get_machine_flags): Likewise.
681
6821999-08-31  Scott Bambrough <scottb@netwinder.org>
683
684	* readelf.c (get_note_type): New function:  Decode the e_type
685	value of a note.
686	(process_note): New function: Display the contents of a core note.
687	(process_corefile_note_segment): New function.
688	(process_corefile_note_segments): New function.
689	(process_corefile_contents): New function.
690	(process_file): Add call to process_corefile_contents.
691	(parse_args): Add parsing of -n/--notes command line switch.
692	(usage): Document new command line switch.
693
694	* binutils.texi: Documemnt new command line switch to readelf.
695
6961999-08-31  Ian Lance Taylor  <ian@zembu.com>
697
698	* binutils.texi (Bug Reporting): Clarify that large files should
699	not be sent to bug-gnu-utils.
700
7011999-08-28  Stephane Carrez  <stcarrez@worldnet.fr>
702
703	* readelf.c (process_extended_line_op): New parameter pointer_size,
704	read the address according to pointer_size.
705	(debug_line_pointer_size): New global to indicate the
706	size of address in .debug_line section.
707	(debug_displays, prescan_debug_info): Prescan the .debug_info section
708	to record the size of address in `debug_line_pointer_size'.
709	(process_section_contents): Before dumping any section, execute
710	the pre-scan operation defined for some debug sections.
711
7121999-08-27  Jim Wilson  <wilson@cygnus.com>
713
714	* readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes
715	access.
716	(display_debug_aranges): New local excess.  Use for calculating padding
717	and add that into ranges.  Break from loop only if length is also 0.
718
7191999-08-27  Jim Wilson  <wilson@cygnus.com>
720
721	* readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply
722	adv by info.li_min_insn_length.
723
7241999-08-26  Jakub Jelinek  <jj@ultra.linux.cz>
725
726	* readelf.c (get_sparc64_dynamic_type): New function.
727	(get_dynamic_type): Use it.
728
7291999-08-26  Jim Wilson  <wilson@cygnus.com>
730
731	* readelf.c (display_debug_lines, case default): Change second line
732	setting	adv to use = not +=.
733
7341999-08-19  Nick Clifton  <nickc@cygnus.com>
735
736	* dlltool.c: Added more examples to the comment at the start.
737
7381999-08-18  Nick Clifton  <nickc@cygnus.com>
739
740	* dlltool.c (make_head): Only emit interworking directive if
741	necessary.
742
743Thu Jul 15 22:44:21 1999  Hans-Peter Nilsson  <hp@bitrange.com>
744
745	* readelf.c (process_abbrev_section): Handle standard-conforming
746	single zero at the end of the section.
747
7481999-08-09  Ian Lance Taylor  <ian@zembu.com>
749
750	* objdump.c (exit_status): New static variable.
751	(nonfatal): New static function.
752	(disassemble_data): Set exit_status on error.
753	(read_section_stabs): Likewise.
754	(display_bfd): Likewise.  Call nonfatal rather than bfd_nonfatal.
755	(display_file): Call nonfatal rather than bfd_nonfatal.
756	(display_target_list, display_info_table): Likewise.
757	(main): Return exit_status rather than 0.
758
7591999-08-08  Ian Lance Taylor  <ian@zembu.com>
760
761	* objdump.c (dump_section_header): Update for renaming of
762	SEC_SHORT to SEC_SMALL_DATA.  Print SEC_SHARED flag.
763
764	From Eli Zaretskii <eliz@gnu.org>:
765	* binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
766
767	* configure.in: Define and substitute DEMANGLER_NAME.
768	* Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
769	(man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
770	(bin_PROGRAMS): Remove $(DEMANGLER_PROG).
771	(noinst_PROGRAMS): Add $(DEMANGLER_PROG).
772	(cxxfilt_SOURCES): Rename from c__filt_SOURCES.
773	(cxxfilt_LDADD): Rename from c__filt_LDADD.
774	($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1.  Use
775	DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
776	(MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
777	DEMANGLER_PROG.
778	(install-exec-local): When installing noinst_PROGRAMS, change
779	cxxfilt to $(DEMANGLER_NAME).
780	* configure, Makefile.in: Rebuild.
781
782	* Makefile.am: Rename .dep* files to DEP*.  Change DEP variable to
783	MKDEP.
784	* Makefile.in: Rebuild.
785
7861999-08-05  Donn Terry  <donn@interix.com>
787
788	* Makefile.am (YACC): If bison is not in the source tree, use
789	@YACC@ rather than bison -y.
790	(LEX): If flex is not in the source tree, use @LEX@ rather than
791	flex.
792	* configure.in: Build dlltool for i[3-6]86-*-interix.
793	* Makefile.in, configure: Rebuild.
794
7951999-07-21  Ian Lance Taylor  <ian@zembu.com>
796
797	From Mark Elbrecht:
798	* configure.bat: Remove; obsolete.
799
8001999-07-16  Jakub Jelinek  <jj@ultra.linux.cz>
801
802	* readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
803
8041999-07-15  Ian Lance Taylor  <ian@zembu.com>
805
806	* configure.in: Bump version number to 2.9.5.
807	* configure: Rebuild.
808
8091999-07-14  Richard Henderson  <rth@cygnus.com>
810
811	* objdump.c (dump_section_header): Print SEC_SHORT.
812
8131999-07-11  Ian Lance Taylor  <ian@zembu.com>
814
815	* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
816	as appropriate.  Add variable initializations.  Add casts.
817	* objdump.c (disassemble_bytes): Change j to bfd_vma.
818	* readelf.c (process_syminfo): Change i to unsigned int.
819	(display_debug_info): Change abbrev_number to unsigned long.
820	(process_mips_specific): Change fcnt to size_t.
821
8221999-07-09  Nick Clifton  <nickc@cygnus.com>
823
824	* readelf.c: Only support decoding 64bit ELF files if the compiler
825	supports a 64 bit data type.
826	Add -I equivalent for --histogram.
827	Add -A command-line option to display architecture specific information.
828
8291999-07-08  Jakub Jelinek  <jj@ultra.linux.cz>
830
831	* readelf.c (guess_is_rela): Sparcv9 and v8plus use rela.
832	(dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10
833	print the secondary addend.
834	(get_machine_flags): Print Sparc machine flags.
835	(get_symbol_type): Print STT_REGISTER.
836
8371999-07-08  Ian Lance Taylor  <ian@zembu.com>
838
839	* stabs.c (parse_stab_type): Fix handling of template names with
840	template parameters containing `::'.
841	(stab_demangle_type): Handle a qualified name in a pointer to
842	member.
843
8441999-06-23  Ian Lance Taylor  <ian@zembu.com>
845
846	* Makefile.am (dlltool_SOURCES): Add dyn-string.c.
847	* Makefile.in: Rebuild.
848
8491999-06-23  Mumit Khan  <khan@xraylith.wisc.edu>
850
851	* configure.in (HAVE_EXECUTABLE_SUFFIX): Define.
852	* dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX.
853	* dllwrap.c (look_for_prog): Likewise.
854	* resrc.c (look_for_default): Likewise.
855	* configure, config.in: Rebuild.
856
8571999-06-22  Ian Lance Taylor  <ian@zembu.com>
858
859	Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
860	* configure.in: Define EXECUTABLE_SUFFIX.
861	* dlltool.c: Include "dyn-string.h".  Include <stdarg.h> based on
862	ANSI_PROTOTYPES, not __STDC__.
863	(outfile): Remove.
864	(gen_exp_file): Change uses of outfile to use alloca.
865	(make_one_lib_file, make_head, make_tail): Likewise.
866	(gen_lib_file): Likewise.
867	(look_for_prog): New static function.
868	(deduce_name): Rewrite to use look_for_prog.
869	(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
870	* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
871	<stdlib.h>, or <unistd.h>.  Include <sys/stat.h> and either
872	<stdarg.h> or <varargs.h>.
873	(driver_name): Initialize to NULL, not "gcc".
874	(dlltool_name): Initialize to NULL, not "dlltool".
875	(display, inform, look_for_prog, deduce_name): New static
876	functions.
877	(usage): Mention -mno-cygwin.
878	(OPTION_MNO_CYGWIN): Define.
879	(main): Handle -mno-cygwin.  Deduce driver_name and dlltool_name.
880	* resrc.c (look_for_default): Make static.  Remove unused local
881	path.  Check using EXECUTABLE_SUFFIX.
882	(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
883	* Makefile.am: Rebuild dependencies.
884	(dllwrap_LDADD): Add $(INTLLIBS).
885	* configure, Makefile.in, config.in: Rebuild.
886
887Mon Jun 21 16:49:11 1999  Jeffrey A Law  (law@cygnus.com)
888
889        * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of
890        elf32_hppa_reloc_type.
891
8921999-06-17  Nick Clifton  <nickc@cygnus.com>
893
894	* dlltool.c (mcore_elf_gen_out_file): Link object files with the
895	.exp file, not the .lib file.
896
897Fri Jun 18 20:17:51 1999  Mumit Khan  <khan@xraylith.wisc.edu>
898
899	* deflex.l: Accept single-character symbol names.
900
9011999-06-16  Nick Clifton  <nickc@cygnus.com>
902
903	* readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
904	functions.
905
9061999-06-14  Nick Clifton  <nickc@cygnus.com>
907
908	* objdump.c (disassembler_options): New variable.
909	(usage): Document new -M/--disassembler-options option.
910	(long_options): Add --disassembler-options.
911	(disassemble_data): Initialise disassembler_options field of
912	disassembler_info structure.
913	(main): Add parsing of -M option.
914
915	* binutils.texi: Document new command line switch to objdump.
916
917	* NEWS: Describe new command line switch to objdump.
918
919
920Mon Jun 14 10:27:54 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
921
922	* binutils.texi: Fix typos.
923
9241999-06-13  Ian Lance Taylor  <ian@zembu.com>
925
926	* objdump.c (disassemble_bytes): If the disassembler returns an
927	error, print out anything it may have printed to the buffer.  From
928	H.J. Lu <hjl@gnu.org>.
929
930	* defparse.y (explist): Remove separate expline to eliminate
931	shift/reduce conflict.
932
933	From Kai-Uwe Rommel <rommel@ars.de>:
934	* defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
935	INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
936	(command): Add option_list after LIBRARY.
937	(attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
938	(option_list, option): New nonterminals.
939	* deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
940	INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
941
9421999-06-12  Ian Lance Taylor  <ian@zembu.com>
943
944	* ar.c (O_BINARY): Define as 0 if not defined.
945	(ranlib_touch): Open file with O_BINARY.
946
947	* rename.c (O_BINARY): Define as 0 if not defined.
948	(simple_copy): Open files with O_BINARY.
949
950	Based on patch from H. Peter Anvin <hpa@transmeta.com>:
951	* objcopy.c (struct section_list): Add copy field.
952	(sections_copied): New static variable.
953	(copy_options): Add "only-section".
954	(copy_usage): Mention -j and --only-section.
955	(find_section_list): Initialize copy field.
956	(is_strip_section): Check for copying sections.
957	(copy_object): Check sections_copied when calling filter_symbols.
958	(setup_section): Check for copying sections.
959	(copy_section): Likewise.
960	(copy_main): Handle -j/--only-section.
961	* binutils.texi, objcopy.1: Document -j/--only-section.
962
963	* configure.in: If frexp is not available, check in -lm.
964	* configure: Rebuild.
965
966	* readelf.c (get_elf_class): Use correct printf format for type.
967	(get_data_encoding): Likewise.
968	(get_osabi_name): Likewise.
969	(process_file_header): Don't pass an extra argument to printf.
970	(process_dynamic_segment): Cast dynamic_size to long before
971	printing.
972	(decode_location_expression): Cast byte_get to long before
973	printing.
974
975Wed Jun  9 11:40:16 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
976
977	* readelf.c (dump_section): Cast values from byte_get to
978 	[unsigned] long for printing, in case it is wider than long.
979	(display_block): Likewise.
980	(read_and_display_attr): Likewise.
981	(decode_location_expression): Likewise.  Don't depend on
982 	evaluation order.
983
984Mon Jun  7 12:14:57 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
985
986	* windres.c (usage): Fix typo.
987
9881999-06-04  Nick Clifton  <nickc@cygnus.com>
989
990	* readelf.c: Use 64bit wide fields in internal strcutures even if
991	targetting a 32bit architecture.
992	(dump_relocations): Take a new parameter - the number of symbols
993	in the symbol table.
994
9951999-06-04  Nick Clifton  <nickc@cygnus.com>
996
997	* readelf.c: Add support for 64bit ELF files.
998
9991999-06-03  Nick Clifton  <nickc@cygnus.com>
1000
1001	* dlltool.c (mcore_elf_gen_out_file): Use constants for temporary
1002	file names.
1003
1004Wed Jun  2 12:34:36 1999  Richard Henderson  <rth@cygnus.com>
1005
1006	* dlltool.c (gen_exp_file): Revert 19990411 change.
1007
1008Mon May 31 09:56:22 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1009
1010	* readelf.c (process_relocs): Determine type of reloc from
1011	DT_PLTREL and from section type.
1012
10131999-05-29  Nick Clifton  <nickc@cygnus.com>
1014
1015	* readelf.c (get_elf_class): Display unknown class number.
1016	(get_data_encoding): Display unknown encoding number.
1017	(get_osabi_name): Display unknown ABI number.
1018	(process_file_header): Display unknown version number.
1019
10201999-05-29  Nick Clifton  <nickc@cygnus.com>
1021
1022	* readelf.c (dump_relocations): Fix typo.
1023
10241999-05-28  Nick Clifton  <nickc@cygnus.com>
1025
1026	* readelf.c (dump_relocations): Add extra parameter: is_rela to
1027	specify the kind of relocations to be dumped.  Call guess_is_rela
1028	if this parameter has a value of UNKNOWN.
1029	(guess_is_rela): New function:  Guess the kind of reloc being used
1030	baced on the machine number.
1031	(process_relocs): Determine type of reloc before calling
1032	dump_relocations.
1033
10341999-05-28  Ian Lance Taylor  <ian@zembu.com>
1035
1036	* readelf.c: Include "elf/i960.h".
1037	(dump_relocations): Handle EM_960.
1038
1039Thu May 27 11:58:33 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1040
1041	* objcopy.c (copy_archive): Preserve dates of archive members if
1042	requested.
1043
1044	* readelf.c (dump_relocations): Always print the addend on RELA
1045	systems even if there is no symbol.
1046	(process_program_headers): Reset dynamic_size before looping
1047	through the program headers.
1048	(process_version_sections): Cast sh_offset to unsigned long for
1049	printing in case bfd_vma is wider.
1050	(process_symbol_table): Use get_symbol_index_type when printing
1051	st_shndx.
1052
10531999-05-17  DJ Delorie  <dj@cygnus.com>
1054
1055	* windres.c: add verbose option
1056	(main): process verbose option
1057	* resrc.c (look_for_default): new.  Look for the default
1058	preprocessor in a given location.
1059	(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
1060	foo/gcc (in case of foo/windres), and then gcc (the old default).
1061
10621999-05-16  Nick Clifton  <nickc@cygnus.com>
1063
1064	* dlltool.c (deduce_name): New function: Deduce name of program to
1065	run.
1066	(mcore_elf_out_file): New variable: Name of mcore-elf output file.
1067	(mcore_elf_linker): New variable: Name of linker to use.
1068	(mcore_elf_linker_flags): New variable: Linker flags to pass.
1069	(scan_obj_file): Cache filenames if necessary.
1070	(usage): Document new command line options.
1071	(main): Support new command line options: -M (generate an
1072	mcore-elf output file) -L (name of linker to use) -F (flags to
1073	pass to linker).
1074	(mcore_elf_cache_filename): Store a filename in a cache.
1075	(mcore_elf_gen_out_file): New function: Generate an output file
1076	per the mcore-elf spec.
1077
10781999-05-15  Nick Clifton  <nickc@cygnus.com>
1079
1080	* configure.in (BUILD_MISC): Build dlltool for mcore
1081	* configure: Regenerate.
1082	* dlltool.c: Update example in comment.
1083	(DLLTOOL_MCORE): Define.
1084	(DLLTOOL_MCORE_ELF): Define.
1085	(DRECTVE_SECTION_NAME): Define.
1086	(mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore
1087	jump to address.
1088	(mtable): Add entries for mcore variants.
1089	(rvaafter, rvabefore, asm_prefix): Add mcore suppport.
1090	(scan_drectve_symbols): Use DRECTVE_SECTION_NAME.
1091	(make_head, make_tail): Cope if file cannot be created.
1092	(usage): Improve layout.
1093
10941999-05-13  DJ Delorie  <dj@cygnus.com>
1095
1096	* rclex.l: add code to suppress certain output from cpp, replace
1097	all returns with MAYBE_RETURN
1098	(MAYBE_RETURN): new, implement the suppression by returning
1099	IGNORED_TOKEN as needed.
1100	(cpp_line): remember which file we're in, mark data from included
1101	*.h files for suppression.
1102	* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1103
11041999-05-10  DJ Delorie  <dj@cygnus.com>
1105
1106	* windres.c (quot): Quote shell metacharacters in a string
1107	(main): quote parameters to cpp that might have metacharacters in
1108	them.  Allow -D as an alias for --define to allow for sharing make
1109	macros with gcc.
1110
1111	* objdump.c (dump_reloc_set): don't core if howto->name is NULL
1112
1113	* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
1114	the correct BFD.
1115	* Makefile.in: ditto
1116	* rescoff.c (write_coff_file): Set the correct BFD
1117
11181999-05-06  Ian Lance Taylor  <ian@zembu.com>
1119
1120	* rename.c (smart_rename): Fix test of whether file exists.
1121
11221999-05-06  Nick Clifton  <nickc@cygnus.com>
1123
1124	* objdump.c (disassemble_data): Set display_endian based on target
1125	endianism.
1126
11271999-05-05  Catherine Moore  <clm@cygnus.com>
1128
1129	* dlltool.c (interwork): Remove.
1130	(arm_interwork_jtab): Use bx insn.
1131	(thumb_jtab): Likewise.
1132	(MARM_INTERWORK): New machine type.
1133	(rvaafter): Handle it.
1134	(rvabefore) Likewise.
1135	(asm_prefix): Likewise.
1136	(gen_exp_type): Check machine type instead of
1137	interwork flag.
1138	(make_one_lib_file): Likewise.
1139	(make_head): Likewise.
1140	(make_tail): Likewise.
1141	(usage): Update machine types.
1142	(main): Remove -interwork support.
1143
11441999-05-05  Catherine Moore  <clm@cygnus.com>
1145
1146        * readelf.c (get_machine_flags):  Check for EF_CPU32.
1147        (get_data_encoding): Fix typo.
1148
11491999-04-26  Tom Tromey  <tromey@cygnus.com>
1150
1151	* aclocal.m4, configure: Updated for new version of libtool.
1152
11531999-04-18  Ian Lance Taylor  <ian@zembu.com>
1154
1155	* stabs.c (parse_stab_range_type): Correct parenthesization in
1156	BFD64 case.
1157
1158	* readelf.c (get_section_type_name): Use correct types in printf
1159	formats.
1160	(process_relocs): Likewise.
1161	(process_dynamic_segment): Likewise.
1162	(process_symbol_table): Likewise.
1163	(process_mips_specific): Likewise.
1164
1165Tue Apr 13 21:22:00 1999  Catherine Moore  <clm@cygnus.com>
1166
1167	* dlltool.c (make_one_lib_file): Mark thumb functions as
1168	C_THUMBEXTFUNC.
1169
11701999-04-11  Richard Henderson  <rth@cygnus.com>
1171
1172	* bucomm.h (environ): Declare it, if needed.
1173	(alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>.
1174	* configure.in (environ): Detect declaration.
1175	* nm.c (main): Don't declare environ.
1176	* configure, config.in: Rebuild.
1177
1178	* dlltool.c (gen_exp_file): Pad out the .reloc section to a
1179	32-byte boundary with dummy relocations, to make the BeOS loader
1180	happy.  Patch from Bob Manson <manson@charmed.cygnus.com>.
1181
11821999-04-08  Tom Tromey  <tromey@cygnus.com>
1183
1184	* binutils.texi (c++filt): Updated for -j/--java, and hp/edg
1185	formats.
1186
11871999-04-08  Nick Clifton  <nickc@cygnus.com>
1188
1189	* readelf.c: Add ability to decode new constants found in April 25
1190	1998 Draft of System V ABI spec.
1191
11921999-04-06  Ian Lance Taylor  <ian@zembu.com>
1193
1194	* bucomm.h (LC_MESSAGES): Never define.
1195	* addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the
1196	system does not define it.
1197	* ar.c (main): Likewise.
1198	* coffdump.c (main): Likewise.
1199	* dlltool.c (main): Likewise.
1200	* nlmconv.c (main): Likewise.
1201	* nm.c (main): Likewise.
1202	* objcopy.c (main): Likewise.
1203	* objdump.c (main): Likewise.
1204	* size.c (main): Likewise.
1205	* srconv.c (main): Likewise.
1206	* strings.c (main): Likewise.
1207	* sysdump.c (main): Likewise.
1208	* windres.c (main): Likewise.
1209	* readelf.c (main): Call locale setting functions.
1210
12111999-04-05  Nick Clifton  <nickc@cygnus.com>
1212
1213	* readelf.c (decode_location_expression): Fix DW_OP_const8{s|u}
1214	decodes.
1215
12161999-04-04  Ian Lance Taylor  <ian@zembu.com>
1217
1218	* rename.c: New file, copied out of objcopy.c with a few changes.
1219	* bucomm.h (set_times, smart_rename): Declare.
1220	* ar.c: Don't include <utime.h>.
1221	(extract_file): Call set_times rather than utime.
1222	(write_archive): Call smart_rename rather than unlink and rename.
1223	* objcopy.c: Don't include <utime.h>.
1224	(simple_copy, smart_rename, set_times): Move to rename.c.
1225	(strip_main): Update smart_rename call for new parameter.
1226	(copy_main): Likewise.
1227	* Makefile.am: Rebuild dependencies.
1228	(CFILES): Add rename.c.
1229	(objcopy_SOURCES, strip_new_SOURCES): Add rename.c.
1230	(ar_SOURCES, ranlib_SOURCES): Add rename.c.
1231	* Makefile.in: Rebuild.
1232
1233	* Makefile.am: Rebuild dependencies.
1234	(EXTRA_PROGRAMS): Remove backslash which troubles current version
1235	of automake.
1236	* Makefile.in: Rebuild.
1237
1238	* dllwrap.c (main): Expect correct type in format string.
1239	* resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and
1240	<time.h>.  Don't include <stdio.h> and <errno.h>.
1241	(write_res_file): Remove unused locals e and i.
1242	(read_resource_entry): Remove unused locals rtype and n.
1243	(read_unistring): Remove unused local n.
1244
12451999-04-03  Ian Lance Taylor  <ian@zembu.com>
1246
1247	* arparse.y: Declare yylex.
1248	* objdump.c (disassemble_bytes): Initialize bytes.  Add comment
1249	for incorrect use of bytes.
1250	* readelf.c: Change many formats to avoid warnings.
1251
12521999-04-01  Nick Clifton  <nickc@cygnus.com>
1253
1254	* readelf.c (reset_state_machine): New function.  Resets the
1255	registers of the source line number state machine.
1256	(process_extended_line_op): Use state machine.
1257	(display_debug_lines): Use state machine.  Handle multiple line
1258	number blocks within the same section.
1259
12601999-03-29  Jason Merrill  <jason@yorick.cygnus.com>
1261
1262	* readelf.c (process_extended_line_op): end_sequence also resets
1263	the line number.
1264	(display_debug_lines): advance_line takes a signed operand.
1265	(read_and_display_attr): Print refs as <%x>, addresses as %#x,
1266	others as %d.  Handle other location expression attributes.
1267	(display_debug_info): Handle nesting.  Always print the	offset.
1268
12691999-03-23  Ian Lance Taylor  <ian@zembu.com>
1270
1271	* objcopy.c (filter_symbols): When checking whether to keep a
1272	symbol, check the BFD section symbol for a symbol with
1273	BSF_SECTION_SYM set.
1274
12751999-03-10  Ulrich Drepper  <drepper@cygnus.com>
1276
1277	* readelf.c (process_dynamic_segment): Print new Solaris dynamic
1278	section entries.  Correct printing of DT_POSFLAG_1 and DT_FLAGS_1.
1279
12801999-03-10  Nick Clifton  <nickc@cygnus.com>
1281
1282	* readelf.c (request_dump): New function.
1283	Removed arbitary limit on the number of sections that can be
1284	dumped.
1285
1286Wed Mar 10 15:10:14 1999  Stan Cox  <scox@cygnus.com>
1287
1288	* dlltool.c (make_one_lib_file): Use %05d to output the stub name so
1289	order in the import library is preserved.
1290
12911999-02-19  Nick Clifton  <nickc@cygnus.com>
1292
1293	* readelf.c: Fix compile time warings.
1294
12951999-02-17  DJ Delorie  <dj@cygnus.com>
1296
1297        * resbin.c (res_to_bin_versioninfo): Instead of entering a value
1298	length of zero in a version info string, enter the appropriate
1299	length.
1300
1301Tue Feb 16 16:00:33 1999  Ian Lance Taylor  <ian@cygnus.com>
1302
1303	* configure.in: Require autoconf 2.13.  Change AM_PROG_INSTALL to
1304	AC_PROG_INSTALL.  Add comments for AC_DEFINE calls.
1305	* acconfig.h: Remove.
1306	* aclocal.m4: Rebuild.
1307	* configure: Rebuild.
1308	* Makefile.in: Rebuild.
1309	* config.in: Rebuild.
1310
13111999-02-02  Nick Clifton  <nickc@cygnus.com>
1312
1313	* readelf.c (read_and_display_attr): Add display of basic type
1314	encodings.
1315	(display_debug_aranges): New function: Display the contents of a
1316	.debug_aranges section.
1317	(display_debug_info): Dump tags found after compunit entry.
1318
1319	* binutils.texi: Fixed bug in readelf documentation.
1320
1321Mon Feb  1 12:38:01 1999  Catherine Moore  <clm@cygnus.com>
1322
1323        * readelf.c (dump_relocations):  Handle EM_ARM as REL.
1324
13251999-01-29  Nick Clifton  <nickc@cygnus.com>
1326
1327	* readelf.c (process_symbol_table): Do not produce a histogram of
1328	bucket chains if none were found.
1329
13301999-01-27  Nick Clifton  <nickc@cygnus.com>
1331
1332	* version.c: Add 1999 copyright.
1333
1334	* binutils.texi (readelf): Document new command line options
1335	--debug-dump and --histogram.
1336
1337	* readelf.c: Add ability to display contents of some or all of the
1338	Dwarf2 debug sections.  {Work only partially completed}.
1339	(display_debug_section): New function.
1340	(display_debug_info): New function.
1341	(display_debug_not_supported): New function.
1342	(display_debug_line): New function.
1343	(display_debug_abbrev): New function.
1344	(process_abbrev_section): New function.
1345	(read_leb128): New function.
1346	(process_extended_line_op): New function.
1347	(get_TAG_name): New function.
1348	(get_AT_name): New function.
1349	(get_FORM_name): New function.
1350	(free_abbrevs): New function.
1351	(add_abbrev): New function.
1352	(add_abbrev_attr): New function.
1353	(read_and_display_attr): New function.
1354	(display_block): New function.
1355
1356Thu Jan 14 23:36:11 1999  Jeffrey A Law  (law@cygnus.com)
1357
1358	* coffdump.c (xcalloc): Remove, in libiberty now.
1359	* srconv.c (xcalloc): Likewise.
1360	* sysdump.c (xcalloc): Likewise.
1361
13621999-01-14  Nick Clifton  <nickc@cygnus.com>
1363
1364	* readelf.c (process_section_headers): Omit trailing space at end
1365	of section header contents line.
1366
1367Wed Dec 16 17:20:05 1998  Doug Evans  <devans@canuck.cygnus.com>
1368
1369	* aclocal.m4: Regenerate.
1370
1371Mon Dec 14 12:55:36 1998  Jim Wilson  <wilson@cygnus.com>
1372
1373	* dllwrap.c: Include bfd.h and bucomm.h.  Move getopt.h include
1374	after libiberty.h include.
1375
1376Tue Dec  8 16:29:43 1998  Ian Lance Taylor  <ian@cygnus.com>
1377
1378	* objdump.1: Fix typo (-d to -D).  From Nokubi Hirotaka
1379	<hnokubi@yyy.or.jp>.
1380
1381Sun Dec  6 13:28:09 1998  Ian Lance Taylor  <ian@cygnus.com>
1382
1383	* objdump.c (SFILE): Add size field.
1384	(objdump_sprintf): Merge both versions into one.  Increase buffer
1385	size as needed to avoid overflow.
1386	(disassemble_bytes): Change buf from 1000 bytes to 50.  Change
1387	initialization and use of sfile to match changes to
1388	objdump_sprintf.
1389
1390	* strip.1: Fix typo (-V to -v).  From Issei Hirayama
1391	<iss@mail.wbs.or.jp>.
1392
13931998-12-03  Ulrich Drepper  <drepper@cygnus.com>
1394
1395	* readelf.c (process_dynamic_segment): Improve output format for
1396	various DT_* values.
1397
13981998-12-02  Ulrich Drepper  <drepper@cygnus.com>
1399
1400	* readelf.c (process_mips_specific): Print .conflict section
1401	content.
1402
1403	* readelf.c (process_mips_specific): Print l_flags in liblist in
1404	textual form.
1405
14061998-11-30  Nick Clifton  <nickc@cygnus.com>
1407
1408	* ar.c (extract_file): Add some paranoia checks for negatively
1409	sized files.
1410
1411Tue Nov 24 09:39:24 1998  Nick Clifton  <nickc@cygnus.com>
1412
1413	* stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined.
1414
1415Tue Nov 17 10:25:26 1998  Nick Clifton  <nickc@cygnus.com>
1416
1417	* Makefile.in: Regenerate.
1418
1419Mon Nov 16 19:17:23 1998  Dave Brolley  <brolley@cygnus.com>
1420
1421	* po/binutils.pot: Regenerate.
1422
1423Mon Nov 16 10:18:53 1998  Nick Clifton  <nickc@cygnus.com>
1424
1425	* Makefile.am: Regernated dependencies.
1426	* aclocal.m4: Regenerated.
1427	* configure: Regenerated.
1428
1429Sat Nov 14 14:50:56 1998  Ian Lance Taylor  <ian@cygnus.com>
1430
1431	* debug.c (debug_name_type): Correct return type from false to
1432	DEBUG_TYPE_NULL.
1433
1434Sat Nov 14 14:48:21 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1435
1436	* objdump.c (disassemble_data): Skip over relocs below start
1437	address.
1438
1439Tue Nov 10 15:31:52 1998  Nick Clifton  <nickc@cygnus.com>
1440
1441	* Makefile.am: Add dependency of readelf.c on elf/fr30.h
1442	* Makefile.in: Regenerate.
1443
1444Wed Nov  4 16:25:55 1998  Nick Clifton  <nickc@cygnus.com>
1445
1446	* readelf.c: Add support for the FR30.
1447
1448Mon Nov  2 14:59:33 1998  Geoffrey Noer  <noer@cygnus.com>
1449
1450        * configure.in: detect cygwin* instead of cygwin32*
1451        * configure: regenerate
1452
1453Fri Oct 30 15:14:49 1998  Geoffrey Noer  <noer@cygnus.com>
1454
1455        * dllwrap.c: change all references to cygwin32_ to cygwin_,
1456	change Cygwin target def to CYGWIN.
1457
1458Wed Oct 28 10:31:19 1998  Nick Clifton  <nickc@cygnus.com>
1459
1460	* objdump.c (disassemble_data): Replace 'unsigned long' with
1461	'bfd_vma'.
1462
1463Tue Oct 27 14:39:00 1998  Nick Clifton  <nickc@cygnus.com>
1464
1465	* objdump.c (disassemble_bytes): Applied this patch from Philip
1466	Blundell <pb@nexus.co.uk>:  Make address variables unsigned to
1467	avoid problems when disassembling code at high-bit-set addresses.
1468
1469Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1470
1471        * dllwrap.c (strhash): New function.
1472        (main): Use it to supply image base if not supplied by user.
1473        (program_version): Up to 0.2.4.
1474
1475Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1476
1477        * dlltool.c (add_stdcall_alias): New global.
1478        (long_options): Add --add-stdcall-alias option.
1479        (main): Handle it.
1480        (scan_drectve_symbols): Add alias if --add-stdcall-alias is
1481        specified.
1482        (scan_filtered_symbols): Likewise.
1483        (gen_def_file): Output alias for stdcall syms if appropriate.
1484
1485        * binutils.texi (dlltool): Document --add-stdcall-alias option.
1486
1487        * dllwrap.c (long_options): Add --add-stdcall-alias option.
1488        (main): Handle it.
1489
1490        * defparse.y (opt_name): Allow "." in name.
1491        * dlltool.c (def_name): Set dll_name from NAME entry in def file.
1492        (def_library): Set dll_name from LIBRARY entry in def file.
1493
1494Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1495
1496        * dllwrap.c (long_options): --implib synonym for --output-lib.
1497        (main): Pass --export-all to dlltool only if specified.
1498        (program_version): Up to 0.2.3.
1499
1500Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1501
1502        * dllwrap.c (mybasename): New function.
1503        (main): Run dlltool to create export definition file and import
1504        library file if necessary.
1505        Change exp_file_name so that it's based on the dll name.
1506
1507Sun Oct 25 10:37:45 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1508
1509        * dlltool.c (scan_all_symbols): Fix patch error.
1510
1511Fri Oct 16 22:56:20 1998  Felix Lee  <flee@cygnus.com>
1512
1513	* nm.c (display_rel_file): fix "no symbols" messages.
1514	* objdump.c (slurp_symtab): ditto.
1515	* po/POTFILES.in, po/binutils.pot: rebuilt
1516
1517Mon Oct 12 14:28:03 1998  Nick Clifton  <nickc@cygnus.com>
1518
1519	* readelf.c (dump_relocations): Rename field from Value to Info to
1520	match name of field in ELF structures.
1521
1522Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>
1523
1524	* configure.in: call AC_EXEEXT instead of AM_EXEEXT and
1525	AM_CYGWIN32.
1526	* aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros.
1527	* configure: regenerate
1528
1529Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>
1530
1531	From Mumit Khan  <khan@xraylith.wisc.edu>:
1532        * dlltool.c (scan_all_symbols): Don't re-export symbols exported
1533        by other DLLs.
1534
1535Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>
1536
1537	* Makefile.am (BUILD_DLLWRAP): Add.
1538	(BUILD_DLLWRAP, DLLWRAP_PROG): Add.
1539	(bin_PROGRAMS): Add dllwrap.
1540	* Makefile.in: regenerate with automake
1541
1542	From Mumit Khan  <khan@xraylith.wisc.edu>:
1543        * dllwrap.c: New file from dllhelpers v0.2.1.
1544	(print_version): New function.
1545	(long_options): Add --version.
1546	(main): Handle.
1547        * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc.
1548        * configure.in (BUILD_DLLWRAP): Add.
1549        * configure: Regenerate.
1550
1551Tue Oct  6 18:20:10 1998  Geoffrey Noer  <noer@cygnus.com>
1552
1553	* Makefile.am (windres_SOURCES): Add resres.c.
1554	(windres_OBJECTS): Add resres.o.
1555	* Makefile.in: regenerate with automake
1556
1557        From Anders Norlander <anorland@hem2.passagen.se>.
1558        * resres.c: New file.  Implementation of read_res_file and
1559        write_res_file functions for windres.
1560        * rcparse.y: Handle CONTROL's with named classes.
1561        * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
1562        when dialog is extended: The version and signature fields should
1563        be reversed (despite what the docs say). Id is 32 bits long in
1564        extended dialogs.
1565        * resrc.c (write_rc_dialog): properly print controls with named
1566        classes.
1567        * windres.c (read_res_file, write_res_file): Remove stubs.
1568        * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
1569
1570Sun Oct  4 20:34:42 1998  Ian Lance Taylor  <ian@cygnus.com>
1571
1572	From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
1573	* objcopy.1: Fix typo in --remove-leading-char docs.
1574	* objdump.1: Fix formatting in --stabs docs.
1575
1576Sat Sep 19 23:33:56 1998  Ian Lance Taylor  <ian@cygnus.com>
1577
1578	* rcparse.y (memflags_move): Correct recursion.
1579
15801998-09-10  Ulrich Drepper  <drepper@cygnus.com>
1581
1582	* readelf.c (process_symbol_table): Print in histogram how many
1583	symbols are covered by the current chain length.
1584
1585Sun Sep  6 16:15:47 1998  Nick Clifton  <nickc@cygnus.com>
1586
1587	* readelf.c (process_section_contents): Do not try to dump empty
1588	sections.
1589
1590Sat Sep  5 19:17:10 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1591
1592	* dlltool.c (scan_all_symbols): Don't re-export symbols exported
1593	by other DLLs.
1594
15951998-09-02 14:50  Ulrich Drepper  <drepper@cygnus.com>
1596
1597	* readelf.c (process_dynamic_segment): Print DT_* value only if
1598	do_dynamic.
1599	(do_histogram): New variable.
1600	(options): New long option histogram.  Set do_histogram if this
1601	option is used.
1602	(usage): Document --histogram.
1603	(parse_args): Handle 0 return value from getopt_long.  Enable
1604	do_histogram for -a.
1605	(process_symbol_table): Read hash table also if only do_histogram.
1606	Add code to print hash table histogram.
1607
16081998-08-25 16:45  Ulrich Drepper  <drepper@cygnus.com>
1609
1610	* readelf.c (process_dynamic_segment): Read syminfo section if
1611	available.
1612	(process_syminfo): New function.  Print syminfo information.
1613	(process_file): Call process_syminfo and free syminfo data at the end.
1614
1615Wed Aug 19 16:19:51 1998  Ian Lance Taylor  <ian@cygnus.com>
1616
1617	* dlltool.c (usage): Add file parameter.  Change all callers.
1618	(main): Don't treat '?' as a special case in getopt return.
1619
1620	* binutils.texi (dlltool): Document new options.  Add some uses of
1621	@var.
1622
1623Wed Aug 19 16:19:07 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1624
1625	* dlltool.c (gen_def_file): Plug memory leak.  Don't print
1626	demangled name if it is NULL.
1627
1628	Support for exporting all symbols to an output export def file:
1629	* dlltool.c ({export_all_symbols, no_default_excludes,
1630	no_default_excludes, excludes}): New file static variables.
1631	(struct string_list): Type to hold list of symbols to exclude.
1632	(scan_drectve_symbols): Renamed from scan_open_obj_file.
1633	(scan_filtered_symbols): New static function.
1634	(add_excludes): New static function.
1635	(match_exclude): New static function.
1636	(set_default_excludes): New static function.
1637	(filter_symbols): New static function.
1638	(scan_all_symbols): New static function.
1639	(scan_open_obj_file): New static function.
1640	(usage): Document new options.
1641	(long_options): Add new options.
1642	(main): Handle new options.
1643
16441998-07-31 21:24  Ulrich Drepper  <drepper@cygnus.com>
1645
1646	* readelf.c (process_program_headers): Print p_offset value with
1647	six hex digits.
1648	(dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS,
1649	DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP.
1650	(process_mips_specific): Also print seconds of time stamp.
1651
1652Fri Jul 31 10:04:23 1998  Catherine Moore  <clm@cygnus.com>
1653
1654        * readelf.c (dump_relocations):  EM_ARM uses rela relocs.
1655
16561998-07-30 16:25  Ulrich Drepper  <drepper@cygnus.com>
1657
1658	* readelf.c (get_dynamic_type): Don't used gettext on the names.
1659	Add new DT_* values from Solaris.  Don't print nuemric value in
1660	case of an unknown entry.
1661	(process_dynamic_segment): Handle new DT_* entries.  Print numeric
1662	values in decimal, not hex.
1663
1664Fri Jul 24 16:28:57 1998  Jeff Holcomb  <jeffh@cygnus.com>
1665
1666	* readelf.c (get_dynamic_type): Remove empty default from switch
1667	statement.
1668
1669Fri Jul 24 16:28:12 1998  Ian Lance Taylor  <ian@cygnus.com>
1670
1671	* Makefile.am (install-exec-local): Don't remove the file before
1672	checking whether $(bindir) == $(tooldir)/bin.  From Maciej
1673	W. Rozycki <macro@ds2.pg.gda.pl>.
1674	* Makefile.in: Rebuild.
1675
1676Fri Jul 24 09:38:59 1998  Nick Clifton  <nickc@cygnus.com>
1677
1678	* objcopy.c: Removed spurious inclusion of elf/internal.h and
1679	elf-bfd.h.
1680
16811998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1682
1683	* readelf.c: Consistantly use elf_ prefix for *_reloc_type
1684	functions.
1685
1686Wed Jul 22 16:29:12 1998  Nick Clifton  <nickc@cygnus.com>
1687
1688	* readelf.c (dump_relocations): Add dumps of HPPA and ARC
1689	relocations.
1690
1691	(process_relocs): Do not abort if no string table can be found.
1692
16931998-07-22 14:58  Ulrich Drepper  <drepper@cygnus.com>
1694
1695	* readelf.c: Remove definition of functions to return relocation
1696	symbol strings.  They now get implicitly defined when include the
1697	system specific ELF header.
1698
16991998-07-22 13:51  Ulrich Drepper  <drepper@cygnus.com>
1700
1701	* readelf.c: Before include system specific ELF header define
1702	START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.  For now
1703	used for ppc, mips, and mn10300.
1704
1705Wed Jul 22 10:26:32 1998  Nick Clifton  <nickc@cygnus.com>
1706
1707	* readelf.c (dump_relocations): Display number of unrecognised
1708	relocations.
1709
17101998-07-21 13:13  Ulrich Drepper  <drepper@cygnus.com>
1711
1712	* readelf.c: Use symbolic names of relocation entries for the various
1713	architectures.  Correct more layout details.
1714	Print names of MIPS specific section types.  Print Alpha, ARM, and
1715	MIPS relocation type names.
1716
17171998-07-20  Vladimir N. Makarov  <vmakarov@cygnus.com>
1718
1719	* objcopy.c (filter_symbols): Add code for strip all symbols case.
1720        (copy_objects): Strip all case is now processed also through
1721	filter_symbols.  No marking symbols used in relocations when strip
1722	all symbols case.
1723	(copy_section): When strip all symbols case, remove relocations
1724	which are not in keep strip specific list.
1725	(strip_main): Remove guard `strip_specific_list == NULL' for
1726	setting up strip all symbols by default.
1727
1728Mon Jul 20 12:51:16 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1729
1730	* addr2line.c (find_address_in_section): Only consider a section
1731	if the pc value is completely contained within it.
1732	(translate_addresses): Don't crash if functionname or filename are
1733	null.
1734
17351998-07-20 07:45  Ulrich Drepper  <drepper@cygnus.com>
1736
1737	* readelf.c (process_symbol_table): Fix little alignment problem
1738	in printed table header.
1739
17401998-07-20 07:14  Ulrich Drepper  <drepper@cygnus.com>
1741
1742	* readelf.c: Correct reading of .dynamic section.
1743	(dynamic_section): Now a global variable.
1744	(process_mips_fpe_exception, process_mips_specific,
1745	process_arch_specific): New functions.
1746	(get_file_header): Call process_arch_specific.
1747
17481998-07-19 15:15  Ulrich Drepper  <drepper@cygnus.com>
1749
1750	* readelf.c: Fix several versioning related bugs.  Produce nicer
1751	output.
1752	Add support for processor specific information on MIPS.
1753
1754Fri Jul 10 15:57:58 1998  Nick Clifton  <nickc@cygnus.com>
1755
1756	* readelf.c: Switch prototypes from unsigned short to unsigned
1757	int.
1758
1759Fri Jul 10 16:17:50 1998  Ian Lance Taylor  <ian@cygnus.com>
1760
1761	From Christian Holland <CHolland@de.lucent.com>:
1762	* ieee.c (parse_ieee): Initialize info.global_vars and
1763	info.global_types.
1764	(parse_ieee_atn): Ignore register lifetime information reportedly
1765	emitted by MRI compiler.
1766
1767Thu Jul  9 13:08:01 1998  Ian Lance Taylor  <ian@cygnus.com>
1768
1769	* Makefile.am (MAINTAINERCLEANFILES): Define.
1770	* Makefile.in: Rebuild.
1771
1772Tue Jul  7 21:48:54 1998  Jeffrey A Law  (law@cygnus.com)
1773
1774	* readelf.c (byte_get): Use PARAMS in prototype.
1775	(error): Make it work with non-ANSI compilers.
1776	(warn): Likewise.
1777	(get_ver_flags): Don't use an ANSI prototype in the definition.
1778
1779Tue Jul  7 13:26:13 1998  Ian Lance Taylor  <ian@cygnus.com>
1780
1781	* objcopy.c (filter_bytes): Set size correctly if the size of the
1782	section is not an even multiple of the interleave.  Based on patch
1783	from Brion Stone <Brion.Stone@attws.com>.
1784
1785Thu Jul  2 14:01:34 1998  Klaus Kaempf  <kkaempf@rmi.de>
1786
1787	* configure.com: Add vax/vms support.
1788	* makefile.vms-in: Renamed from makefile.vms.  Add substitutions
1789	now done by configure.com.
1790
1791Wed Jul  1 20:43:52 1998  Ian Lance Taylor  <ian@cygnus.com>
1792
1793	* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
1794 	integers with real upper bounds.  Handle a lower bound one larger
1795 	than the upper bound as a signed integer.  Handle 8 byte signed
1796	integers.
1797	(stab_demangle_template): Optionally return the demangled name of
1798	the template.
1799	(stab_demangle_qualified): Treat a template name as a tagged
1800	type.
1801	(stab_demangle_fund_type): Likewise.
1802
1803Wed Jul  1 16:29:50 1998  Nick Clifton  <nickc@cygnus.com>
1804
1805	* objcopy.c: Minor formatting improvements.
1806	* readelf.c: Minor output formatting improvement.
1807
1808Wed Jul  1 14:23:48 1998  Ian Lance Taylor  <ian@cygnus.com>
1809
1810	* rclex.l: Add casts and change types to avoid warnings.
1811	* rcparse.y: Likewise.
1812	* resbin.c: Likewise.
1813	* rescoff.c: Likewise.
1814	* resrc.c: Likewise.
1815
1816	* Makefile.am: Rebuild dependencies.
1817 	(HFILES): Remove readelf.h.
1818	* Makefile.in: Rebuild.
1819
1820	Based on patches from Andrew Kozin
1821	<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
1822	* winduni.h: New file, from windres.h.
1823	* winduni.c: New file, from windres.c.
1824	* windres.c: Move Unicode functions into winduni.c.
1825	* windres.h: Move Unicode declarations into winduni.h.  Include
1826	winduni.h.
1827 	(RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
1828	macro.  Change all uses.
1829	(RT_PLUGPLAY, RT_VXD): Correct values.
1830	* Makefile.am (HFILES): Add windres.h.
1831	(CFILES): Add winduni.c.
1832	(windres_SOURCES): Add winduni.c.
1833
1834Mon Jun 29 17:01:21 1998  Nick Clifton  <nickc@cygnus.com>
1835
1836	* readelf.c: Use BFD Internal and External Elf structures.
1837	* readelf.h: Removed - no longer needed.
1838	* Makefile.in: Remove readelf.c's dependency upon readelf.h.
1839
18401998-06-26  Vladimir N. Makarov  <vmakarov@cygnus.com>
1841
1842	* objcopy.c (strip_main): keep_specific_list == NULL as additional
1843	condition to set up strip all symbols by default.
1844	(copy_archive): don't change archive when error in object files of
1845	the archive.
1846
1847Wed Jun 24 17:53:47 1998  Ian Lance Taylor  <ian@cygnus.com>
1848
1849	* stabs.c (parse_number): Sign extend negative values correctly if
1850	bfd_vma is larger than unsigned long.
1851
1852Tue Jun 23 14:55:05 1998  Mike Stump  <mrs@wrs.com>
1853
1854	* Makefile.am (install-exec-local): Don't let EXEEXT interfere
1855	with the program transform name.
1856	* Makefile.in: Rebuild.
1857
1858Tue Jun 23 11:08:53 1998  Nick Clifton  <nickc@cygnus.com>
1859
1860	* readelf.c: Rewrite to use fopen/fread ratehr than mmap.
1861
1862	Add --section-headers command line switch, which is an alias for
1863	--sections.
1864
1865	Incorporate improvemnts made by Andreas Schwab
1866	<schwab@issan.informatik.uni-dortmund.de> including output
1867	formatting and version info display.
1868
1869	* binutils.texi: Document --section-headers switch to readelf.
1870
1871Mon Jun 22 18:28:19 1998  Ian Lance Taylor  <ian@cygnus.com>
1872
1873	* readelf.c: Include bfd.h and bucomm.h before system header
1874	files.
1875	(parse_args): Change type of c from char to int.
1876
1877Sun Jun 14 14:26:28 1998  Nick Clifton  <nickc@cygnus.com>
1878
1879	* readelf.c (usage): Write to stdout, not stderr.
1880
1881Fri Jun 12 13:33:51 1998  Tom Tromey  <tromey@cygnus.com>
1882
1883	* po/Make-in (all-yes): Depend on .pot file if maintainer mode
1884	enabled.
1885	($(PACKAGE).pot): Unconditionally depend on POTFILES.
1886
1887Fri Jun 12 16:06:15 1998  Michael Meissner  <meissner@cygnus.com>
1888
1889	* readelf.c (get_ppc_rel_type): New PowerPC support.
1890	(dump_relocations): PowerPC uses RELA relocations.
1891	(get_machine_name): Spell PowerPC correctly.
1892	(get_file_type): Change unsigned short parameter to unsigned.
1893	(get_machine_name): Ditto.
1894	(get_machine_data): Return whether big endian or little endian.
1895	(get_machine_flags): Interpret PowerPC, M32R, and MIPS flags.
1896	(process_elf_header): Print endian-ess.  Convert all numeric
1897	formats to long or unsigned long.  Print out machine specific flag
1898	bits.
1899	(process_section_headers): Increase name by 3 columns and decrease
1900	type by the same so that .gcc_except_table fits in the space.
1901
1902	* readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get
1903	machine specific flag bits.
1904
1905Thu Jun 11 17:54:26 1998  Nick Clifton  <nickc@cygnus.com>
1906
1907	* readelf.c: Remove extraneous #includes.  Fix warnings produced
1908	by -Wall when compiling under Linux.
1909
1910	* Makefile.am (readelf_LDADD): Add $(LIBIBERTY).
1911
1912Thu Jun 11 18:30:20 1998  Ian Lance Taylor  <ian@cygnus.com>
1913
1914	* stabs.c (struct stab_handle): Add self_crossref field.
1915	(parse_stab_string): If a tag is a cross reference to itself,
1916	don't define it in the tags list.
1917	(parse_stab_type): Set info->self_crossref.
1918
1919	* debug.c (struct debug_type_real_list): Define.
1920	(debug_get_real_type): Add list parameter.  Change all callers.
1921	Check for circularity to avoid crashing when it occurs.
1922
1923Thu Jun 11 14:48:32 1998  Nick Clifton  <nickc@cygnus.com>
1924
1925	* readelf.c: New file: Display contents of ELF format file.
1926	* readelf.h: New file: Header file for readelf.c
1927	* Makefile.am: Add rules to build readelf.
1928	* Makefile.in: Rebuilt.
1929	* binutils.texi: Document readelf.
1930	* NEWS: Mention inclusion of readelf into binutils.
1931	* po/POTFILES.in; Rebuilt.
1932
1933Fri Jun  5 18:43:40 1998  Ian Lance Taylor  <ian@cygnus.com>
1934
1935	* objcopy.c (setup_section): Adjust the section size if copy_byte
1936	is >= 0.
1937	(copy_section): Do not call bfd_set_section_size.
1938
1939Thu Jun  4 09:12:27 1998  Nick Clifton  <nickc@cygnus.com>
1940
1941	* objcopy.c (copy_usage): Add missing \n\ from help description.
1942
1943Wed Jun  3 19:31:33 1998  Ian Lance Taylor  <ian@cygnus.com>
1944
1945	* Makefile.am (YACC): Correct bison -L option.
1946	* Makefile.in: Rebuild.
1947
1948	* binutils.texi, objdump.1: Document -p/--private-headers.
1949
1950Wed Jun  3 12:09:40 1998  Nick Clifton  <nickc@cygnus.com>
1951
1952	* objcopy.c: Add new command line options: --change-section-lma
1953	and --change-section-vma.  Rename old command line option
1954	--adjust-section-vma to --change-section-address.  Rename
1955	--adjust-vma to --change-addresses and --adjust-start to
1956	--change-start.  Provide aliases to support the old versions of
1957	these command line options.
1958
1959	Change the names of macros and enum elements to upper case to
1960	match the GNU coding standard.
1961
1962	Replace calls to fprintf (stderr,...) with calls to fatal () or
1963	non_fatal () as appropriate.
1964
1965	* objcopy.1: Document command line option changes.
1966	* binutils.texi: Document command line option changes.
1967
1968	* bucomm.h: New exported funtion from bucomm.c: non_fatal().
1969	* bucomm.c (non_fatal): New exported function.  Just like fatal()
1970	except that it returns rather than calling xexit().
1971
1972	(bfd_check_format_matches): Call fatal() rather than bfd_fatal().
1973
1974	(check_matching_formats): Fix C formating.
1975
1976	(parse_vma): Call fatal().
1977
1978Mon Jun  1 18:26:40 1998  Ian Lance Taylor  <ian@cygnus.com>
1979
1980	From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
1981	* debug.c (debug_type_samep): Avoid endless loops comparing
1982	function and method parameter types.
1983
1984Fri May 22 14:02:42 1998  Ian Lance Taylor  <ian@cygnus.com>
1985
1986	* dlltool.c (dump_iat): Comment out; not used.
1987	(display): Rename from tell.  Change all callers.
1988
1989Thu May 14 14:00:56 1998  Nick Clifton  <nickc@cygnus.com>
1990
1991	* dlltool.c: Add support for Thumb DLLs.  Add support for
1992	interworking between ARM and Thumb programs and DLLs.  Tidy the
1993	code.
1994
1995	* binutils.texi: Document dlltool.
1996
1997	* configure: Build dlltool for thumb-pe targets.
1998
1999	* version.c (print_version): Include 1998 in copyright strings.
2000
2001	* stabs.c (parse_stab): Support Win32 style directory separators.
2002
2003Sun May 10 22:34:44 1998  Jeffrey A Law  (law@cygnus.com)
2004
2005	* po/Make-in (install-info): New target.
2006
2007Fri May  8 10:33:13 1998  Nick Clifton  <nickc@cygnus.com>
2008
2009	* ar.c (usage): Extend information provided about command line
2010	options.
2011
2012Wed May  6 15:28:51 1998  Klaus Kaempf  <kkaempf@progis.de>
2013
2014	* makefile.vms: Run dec c with /nodebug.  Pass CC value when
2015	calling make.
2016
2017Tue May  5 15:19:00 1998  Nick Clifton  <nickc@cygnus.com>
2018
2019	* configure: Build dlltool for thumb-pe target.
2020	* configure.in: Build dlltool for thumb-pe target.
2021
2022Sun May  3 22:04:49 1998  Ian Lance Taylor  <ian@cygnus.com>
2023
2024	* Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
2025	sysdump coffdump to avoid extra $(EXEEXT).
2026	* Makefile.in: Rebuild.
2027
2028Wed Apr 29 22:22:55 1998  Geoffrey Noer <noer@cygnus.com>
2029
2030	* configure.in: Stop appending EXEEXT to the end of
2031	SRCONV_PROG (wrong because that variable may contain multiple
2032	programs)
2033	* Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
2034	program
2035	* Makefile.in: regenerate
2036	* configure: regenerate
2037
2038Tue Apr 28 19:14:34 1998  Tom Tromey  <tromey@cygnus.com>
2039
2040	* addr2line.c (main): Conditionally call setlocale.
2041	* windres.c (main): Likewise.
2042	* sysdump.c (main): Likewise.
2043	* strings.c (main): Likewise.
2044	* srconv.c (main): Likewise.
2045	* size.c (main): Likewise.
2046	* objdump.c (main): Likewise.
2047	* objcopy.c (main): Likewise.
2048	* nm.c (main): Likewise.
2049	* nlmconv.c (main): Likewise.
2050	* dlltool.c (main): Likewise.
2051	* coffdump.c (main): Likewise.
2052	* ar.c (main): Likewise.
2053	* bucomm.h: Include <locale.h> if HAVE_LOCALE_H.
2054	(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
2055
2056Tue Apr 28 10:33:07 1998  Bill Moyer  <ttk@cygnus.com>
2057
2058	Add support for IMPORTS:
2059	* defparse.y (impline): Add IMPORTS syntaxes.
2060	* dlltool.c (ifunctype, iheadtype): New typedefs.
2061	(import_list): New static variable.
2062	(append_import): New static function.
2063	(def_import): Add an entry to import_list.
2064	(generate_idata_ofile): New static function.
2065	(gen_exp_file): Call generate_idata_ofile.
2066	* dlltool.h (def_import): Update declaration.
2067
2068Mon Apr 27 16:39:22 1998  Ian Lance Taylor  <ian@cygnus.com>
2069
2070	* configure.in: Change version number to 2.9.4
2071	* configure: Rebuild.
2072
2073Wed Apr 22 16:00:35 1998  Tom Tromey  <tromey@cygnus.com>
2074
2075	* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
2076
2077Wed Apr 22 00:33:56 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
2078
2079	* Makefile.am (INCLUDES): Search intl dirs for headers; define
2080	LOCALEDIR.
2081	* addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
2082	* ar.c (main): Likewise.
2083	* coffdump.c (main): Likewise.
2084	* dlltool.c (main): Likewise.
2085	* nlmconv.c (main): Likewise.
2086	* nm.c (main): Likewise.
2087	* objcopy.c (main): Likewise.
2088	* objdump.c (main): Likewise.
2089	* size.c (main): Likewise.
2090	* srconv.c (main): Likewise.
2091	* strings.c (main): Likewise.
2092	* sysdump.c (main): Likewise.
2093	* windres.c (main): Likewise.
2094
2095Tue Apr 21 22:13:08 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
2096
2097	* Many files: Added gettext invocations around user-visible
2098	strings.
2099	* bucomm.h: Added gettext-related includes and defines.
2100	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
2101	HAVE_LC_MESSAGES): Define.
2102	* configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
2103	po/Makefile.  Use AM_PROG_LEX.
2104	* Makefile.am (SUBDIRS): New macro.
2105	(POTFILES): Likewise.
2106	(po/POTFILES.in): New target.
2107	(LDADD): Added INTLLIBS.
2108	(objdump_LDADD): Likewise.
2109	(c__filt_LDADD): Likewise.
2110	(ar_LDADD): Likewise.
2111	(ranlib_LDADD): Likewise.
2112	(dlltool_LDADD): Likewise.
2113	(windres_LDADD): Likewise.
2114	* po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
2115
2116Tue Apr 21 16:07:18 1998  Stanislav Brabec  <utx@k332.feld.cvut.cz>
2117
2118	* objcopy.c (preserve_dates): New file static variable.
2119	(smart_rename): If preserve_dates, call set_times when copying.
2120	(strip_main): Remove preserve_dates local variable.
2121	(copy_main): Likewise.
2122
2123Tue Apr  7 15:41:15 1998  Ian Lance Taylor  <ian@cygnus.com>
2124
2125	* Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
2126	rcparse.h, and rcparse.c
2127	* Makefile.in: Rebuild.
2128
2129Mon Apr  6 16:24:35 1998  Ian Lance Taylor  <ian@cygnus.com>
2130
2131	* Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
2132	Makefile.in doesn't have an empty continuation line.
2133	(bin_PROGRAMS): Likewise.
2134	* Makefile.in: Rebuild.
2135
2136Fri Apr  3 14:48:42 1998  Ian Lance Taylor  <ian@cygnus.com>
2137
2138	* Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
2139	(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
2140	(mostlyclean-local): New target.
2141	* Makefile.in: Rebuild.
2142
2143Wed Apr  1 15:54:16 1998  Ian Lance Taylor  <ian@cygnus.com>
2144
2145	From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
2146	<hjl@gnu.org>:
2147	* ar.c (usage): Mention S modifier.
2148	(main): Add S modifier.
2149	* ar.1, binutils.texi: Document S modifier.
2150
2151Wed Apr  1 13:11:23 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2152
2153	* binutils.texi: Use @itemx for a secondary item in a table.
2154
2155Tue Mar 31 18:44:13 1998  Ian Lance Taylor  <ian@cygnus.com>
2156
2157	* dep-in.sed: Add rule to remove @OBJDIR@.
2158	* Makefile.am (dep.sed): Substitute for @OBJDIR@.
2159	* Makefile.in: Rebuild.
2160
2161Mon Mar 30 12:47:18 1998  Ian Lance Taylor  <ian@cygnus.com>
2162
2163	* configure.in: Set version to 2.9.1.
2164	* configure: Rebuild.
2165
2166	* Branched binutils 2.9.
2167
2168	* Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
2169	rcparse.h, and nlmheader.h.
2170	* Makefile.in: Rebuild.
2171
2172Sat Mar 28 17:39:27 1998  Ian Lance Taylor  <ian@cygnus.com>
2173
2174	* Makefile.am (MOSTLYCLEANFILES): Define.
2175	* Makefile.in: Rebuild.
2176
2177	Fix some gcc -Wall warnings:
2178	* nlmconv.c (main): Add casts to avoid warnings.
2179	(alpha_mangle_relocs): Likewise.
2180	* objdump.c (dump_section_stabs): Likewise.
2181	* size.c (print_sysv_format): Likewise.
2182	* srcconv.c (wr_ob): Likewise.
2183	* wrstabs.c (stab_modify_type): Likewise.
2184	(stab_variable): Likewise.
2185	* nlmconv.c (main): Initialize variables to avoid warnings.
2186	* nm.c (sort_symbols_by_size): Likewise.
2187	* objdump.c (disassemble_bytes): Likewise.
2188	* wrstabs.c (stab_end_class_type): Likewise.
2189	* coffgrok.c (do_sections_p2): Change j to unsigned int.
2190	(do_lines): Change l to unsigned int.
2191	* nlmheader.y (yylex): Change i to unsigned int.
2192	* nm.c (print_symbol): Change j to long.
2193	* size.c (lprint_number): Comment out.
2194	* srconv.c (wr_ob): Change i to bfd_size_type.
2195	* sysdump.c (unit_info_list): Comment out.
2196	(object_body_list, program_structure, debug_list): Likewise.
2197	* sysinfo.y (yyerror): Return value.
2198
2199Thu Mar 26 17:06:51 1998  Richard Henderson  <rth@cygnus.com>
2200
2201	* defparse.y (explist): Allow epsilon.
2202	Suggestion from Jonathan-Harris@psion.com.
2203
2204Thu Mar 26 16:59:09 1998  Richard Henderson  <rth@cygnus.com>
2205
2206	* coffgrok.c (do_sections_p1): Use the section's lma instead of vma
2207	for the benefit of prom loaders.
2208
2209Wed Mar 25 13:05:39 1998  Ian Lance Taylor  <ian@cygnus.com>
2210
2211	Based on patch from H.J. Lu  <hjl@gnu.org>:
2212	* Makefile.am (DISTSTUFF): New variable.
2213	(diststuff): New target.
2214	(DISTCLEANFILES): New variable.
2215	* Makefile.in: Rebuild.
2216
2217Tue Mar 24 19:33:08 1998  Ian Lance Taylor  <ian@cygnus.com>
2218
2219	* rclex.l: Accept { and } as synonyms for BEGIN and END.
2220
2221Fri Mar 20 19:18:08 1998  Ian Lance Taylor  <ian@cygnus.com>
2222
2223	* aclocal.m4, configure: Rebuild with libtool 1.2.
2224
2225Tue Feb 24 13:07:50 1998  Doug Evans  <devans@canuck.cygnus.com>
2226
2227	* objdump.c (disassemble_data): Delete "++place" after call to
2228	find_symbol_for_address.  Set disasm_info.symbols to array of
2229	symbols at the current address.
2230
2231Wed Feb 18 23:39:46 1998  Richard Henderson  <rth@cygnus.com>
2232
2233	* Makefile.am (install-exec-local): Install properly when ln
2234	fails or tooldir == prefix.
2235
2236Tue Feb 17 18:40:55 1998  Richard Henderson  <rth@cygnus.com>
2237
2238	* objcopy.c (compare_section_lma): Rename from _vma.
2239        (copy_object): Gap fill based on LMA not VMA.
2240	* binutils.texi: Update and clarify.
2241	* objcopy.1: Likewise.
2242
2243Tue Feb 17 20:34:11 1998  Ian Lance Taylor  <ian@cygnus.com>
2244
2245	* dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s,
2246	for Microsoft compatibility.
2247	(make_one_lib_file): Likewise.
2248
2249	* dlltool.c (make_one_lib_file): Don't add 1 to hint.
2250
2251Fri Feb 13 16:37:44 1998  Ian Lance Taylor  <ian@cygnus.com>
2252
2253	* Makefile.am (AUTOMAKE_OPTIONS): Define.
2254	* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
2255
2256Thu Feb 12 14:13:46 1998  Ian Lance Taylor  <ian@cygnus.com>
2257
2258	* deflex.l: Accept '?' in symbol names, for VC++ mangled names.
2259	From Mikey <jeffdb@netzone.com>.
2260
2261	* addr2line.c (usage): Update bug-gnu-utils address.
2262	* ar.c (usage): Likewise.
2263	* nlmconv.c (show_usage): Likewise.
2264	* nm.c (usage): Likewise.
2265	* objcopy.c (copy_usage): Likewise.
2266	(strip_usage): Likewise.
2267	* objdump.c (usage): Likewise.
2268	* size.c (usage): Likewise.
2269	* strings.c (usage): Likewise.
2270	* windres.c (usage): Likewise.
2271	* binutils.texi (Bug Reporting): Likewise.
2272
2273Sat Feb  7 15:36:24 1998  Ian Lance Taylor  <ian@cygnus.com>
2274
2275	* configure, aclocal.m4: Rebuild with new libtool.
2276
2277Thu Feb  5 12:21:13 1998  Ian Lance Taylor  <ian@cygnus.com>
2278
2279	* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
2280
2281Fri Jan 30 19:16:28 1998  Doug Evans  <devans@canuck.cygnus.com>
2282
2283	* Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
2284	to transform.
2285	* Makefile.in: Regenerate.
2286
2287Thu Jan 29 16:24:04 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2288
2289	* dlltool.c: Define exit status macros for _WIN32 but not
2290	__CYGWIN32__.
2291	(gen_lib_file): Check for exit status of unlink.
2292	* resrc.c: Define popen and pclose if _WIN32 but not
2293	__CYGWIN32__.
2294
2295Wed Jan 28 17:45:46 1998  Ian Lance Taylor  <ian@cygnus.com>
2296
2297	* configure.in: Remove vfork check.
2298	* nlmconv.c: Never include vfork.h.
2299	* aclocal.m4, configure, Makefile.in, config.in: Rebuild.
2300
2301Wed Jan 28 17:43:02 1998  J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
2302
2303	* objcopy.c (copy_archive): Only pass one argument to mkdir if
2304	_WIN32 but not __CYGWIN32__.
2305	(smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope
2306	with different rename behaviour and lack of chown.
2307
2308	* configure.in: Check for mingw32 when deciding whether to build
2309	dlltool.
2310	* dlltool.c: Never include vfork.h.
2311	(run): Use pexecute rather than vfork.
2312	(gen_lib_file): Check for errors from bfd_set_archive_head and
2313	bfd_close.  Close all the BFDs in the archive before deleting the
2314	temporary files.
2315
2316Thu Jan 22 16:22:55 1998  Fred Fish  <fnf@cygnus.com>
2317
2318	* objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
2319	disassembly function there is a reloc on this line.
2320
2321Wed Jan 14 15:29:43 1998  Richard Henderson  <rth@cygnus.com>
2322
2323	* srconv.c (sh, h8300): Delete variables.
2324	(addrsize, toolname, rnames): New variables.
2325	(writeINT): Use addrsize.
2326	(wr_un): Use toolname.
2327	(wr_hd): Set up addrsize et al properly for h8300[hs].
2328	(walk_tree_symbol): Zero dsy.  Use rnames.
2329	(wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros.
2330	* sysdump.c (sh, h8300): Delete variables.
2331	(addrsize): New variable.
2332	(getINT): Use it.
2333	(getone): Initialize it.
2334	(getBITS): Range check on MAX.
2335
2336Mon Dec 29 16:58:05 1997  Ian Lance Taylor  <ian@cygnus.com>
2337
2338	From Matthew Bellantoni <matthew@chrysalis.com>:
2339	* ar.c (get_pos_bfd): Add default_posname parameter.  Change all
2340	callers.
2341	(replace_members): Default to replacing in the same position.
2342
2343Mon Dec 22 11:27:22 1997  Ian Lance Taylor  <ian@cygnus.com>
2344
2345	* rclex.l: Don't permit a comma in a STRING.
2346	* rcparse.y (acc_entry): Warn if an inappropriate modifier is used
2347	with a non VIRTKEY.
2348	(acc_event): For a control character, set VIRTKEY, and force the
2349	character to uppercase.
2350	(acc_options): Don't require a comma separator.
2351
2352Tue Dec  9 13:25:42 1997  Michael Meissner  <meissner@cygnus.com>
2353
2354	* size.c (size_number): New function to provide size of field.
2355	({l,r}print_number): For octal and hex fields, print field using
2356	'0' and '0x' suffixes.  Do not include following tab.
2357	(sysv_internal_sizer): Size section name, section size, and vma
2358	address fields.
2359	(sysv_internal_printer): Use calculated sizes for the columns.
2360	(print_sysv_format): Size columns before printing.
2361	(print_berkeley_format): Print tabs between numbers now that
2362	{l,r}print_number doesn't.  Print fields right justified.
2363
2364Mon Dec  8 11:22:04 1997  Nick Clifton  <nickc@cygnus.com>
2365
2366	* objdump.c (objdump_print_addr_with_sym): Remove call to
2367	disasm_symaddr() as this function no longer exists.
2368
2369Tue Dec  2 10:23:50 1997  Nick Clifton  <nickc@cygnus.com>
2370
2371	* objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
2372	to allow backend to know which symbol has just been displayed.
2373
2374Tue Dec  2 13:06:46 1997  Ian Lance Taylor  <ian@cygnus.com>
2375
2376	* windres.h (ESCAPE_*): Define standard escape sequences.
2377	* rclex.l (handle_quotes): Handle standard escape sequences.  Warn
2378	about an unrecognized escape character.
2379	* windres.c (unicode_print): Print standard escape sequences.
2380	* rcparse.y (acc_event): Initialize $$.next.
2381	* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
2382	MENUITEM_ENDMENU in the menu item flags.
2383	(bin_to_res_accelerators): Allocate a structure (the old code
2384	never worked).
2385	(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
2386	(res_to_bin_dialog): Save the extended style rather than saving
2387	the style twice.  Remove useless shadowing length variable.  Set
2388	the length of control data correctly.
2389	* resrc.c (write_rc_dialog): Don't print the class or menu if the
2390	string length is zero.
2391
2392Mon Nov 24 18:52:43 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2393
2394	* stabs.c (parse_stab_argtypes): Don't try to parse the name of a
2395	destructor as mangled argument types.
2396
2397Mon Nov 10 17:51:41 1997  Gavin Koch  <gavin@cygnus.com>
2398
2399	* addr2line.c (translate_addresses): Use bfd_scan_vma rather
2400	than strtol to scan addresses.
2401
2402Sun Nov  9 11:01:31 1997  Jeffrey A Law  (law@cygnus.com)
2403
2404	* Makefile.am (bin_PROGRAMS): Don't use line continuations here.
2405
2406Tue Nov  4 11:56:14 1997  Ian Lance Taylor  <ian@cygnus.com>
2407
2408	* objcopy.c (copy_section): Don't crash if there is no particular
2409	information for a section.
2410
2411Mon Nov  3 12:36:19 1997  Ian Lance Taylor  <ian@cygnus.com>
2412
2413	* objcopy.c (parse_flags): Make flag check case insensitive.
2414	Check for `contents' flag.  Give an error for unrecognized flags.
2415	(copy_section): If the contents flag was set for a section that
2416	had no contents, zero out the new contents.
2417	* binutils.texi (objcopy): Document contents section flag.
2418
2419Sun Nov  2 14:49:56 1997  Ian Lance Taylor  <ian@cygnus.com>
2420
2421	* objcopy.c: Move new struct and variable definitions to top of
2422	file.  Remove obsolete add_strip_symbol and is_strip_symbol
2423	declarations.  Add prototype declarations for add_specific_symbol
2424	and is_specified_symbol.
2425
2426Mon Oct 20 15:31:43 1997  Klaus K"ampf  <kkaempf@progis.de>
2427
2428	* configure.com (HAVE_SBRK): Undefine.
2429
2430Tue Oct 14 16:14:35 1997  Nick Clifton  <nickc@cygnus.com>
2431
2432	* objdump.c (objdump_symbol_at_address): New function.  Returns
2433	true if a symbol can be found at the address passed in.
2434	(disassemble_data): Set the symbol_at_address_func field to point
2435	to objdump_symbol_at_address.
2436
2437Fri Oct 10 14:13:09 1997  Richard Henderson  <rth@cygnus.com>
2438
2439	* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
2440	than "privatize".  Update all references.
2441
2442Thu Oct  9 15:57:29 1997  Ian Lance Taylor  <ian@cygnus.com>
2443
2444	* binutils.texi (strip): Remove duplicate --target.  From Marty
2445	Leisner <leisner@sdsp.mc.xerox.com>.
2446
2447	* nm.c (lineno_cache_bfd): New file static variable.
2448	(lineno_cache_rel_bfd): New file static variable.
2449	(display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
2450	when closing a BFD.
2451	(display_file): Likewise.
2452	(print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
2453	instead of cache_bfd and cache_rel_bfd.  Make seccount static, and
2454	only set it when setting relocs.
2455
2456Wed Oct  8 21:19:11 1997  Richard Henderson  <rth@cygnus.com>
2457
2458	* objcopy.c (keep_specific_list, privatize_specific_list,
2459	weaken_specific_list): New variables.
2460	(keep_symbols): Removed.
2461	(add_specific_symbol): New function from the carcas of
2462	add_strip_symbol.  Takes a list as an argument.
2463	(is_specified_symbol): Likewise from is_strip_symbol.
2464	(filter_symbols): Honor the new privatize and weaken lists.
2465	Optimize bfd_asymbol_name handling.
2466	(copy_object, copy_options, copy_usage): Add privatize-symbol &
2467	weaken-symbol options.
2468
2469	* objcopy.1, binutils.texi: Update docs.
2470
2471Sun Oct  5 09:05:44 1997  Frank Ch. Eigler  <fche@cygnus.com>
2472
2473	* objdump.c (disassemble_data): Make "--prefix-addresses"
2474 	disassembly adjust to mixed-length instructions.
2475	(objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
2476 	symbol-offsets in disassembly.
2477
2478Fri Oct  3 12:04:25 1997  Ian Lance Taylor  <ian@cygnus.com>
2479
2480	* objcopy.c (set_times): New static function, replacing
2481	make_same_dates.
2482	(strip_main): If preserve_dates, stat the input file before
2483	copying it, and call set_times afterward.
2484	(copy_main): Likewise.
2485
2486	* wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
2487	char * when calling strcpy and strlen.
2488
2489Wed Sep 24 11:34:05 1997  Ian Lance Taylor  <ian@cygnus.com>
2490
2491	* binutils.texi	(ar cmdline): Document that q now works like r.
2492	From Marty Leisner <leisner@sdsp.mc.xerox.com>.
2493
2494	* binutils.texi (size): The object file argument is optional.
2495	From Marty Leisner <leisner@sdsp.mc.xerox.com>.
2496
2497	* aclocal.m4: Rebuild with new libtool.
2498	* configure: Rebuild.
2499
2500Tue Aug 26 17:48:34 1997  Ian Lance Taylor  <ian@cygnus.com>
2501
2502	* Makefile.am (EXEEXT_FOR_BUILD): New variable.  Use it in all
2503	references to the sysinfo program.
2504	* configure.in: Rebuild with new bfd/acinclude.m4.
2505	* Makefile.in: Rebuild.
2506
2507Fri Aug  8 15:32:49 1997  Ian Lance Taylor  <ian@cygnus.com>
2508
2509	* windres.c: Include <time.h>.
2510	(define_resource): Set a timestamp for the resource.
2511
2512Wed Aug  6 13:37:58 1997  Ian Lance Taylor  <ian@cygnus.com>
2513
2514	* configure.in: Define TARGET in header file.
2515	* acconfig.h (TARGET): Add #undef.
2516	* Makefile.am (version.o, bucomm.o): Remove special targets.
2517	* bucomm.c (target): Remove.
2518	* nm.c (program_name): Don't declare.
2519	(target): Make static.
2520	* size.c (target): Make static.
2521	* configure, config.in, Makefile.in: Rebuild.
2522
2523Tue Aug  5 00:01:41 1997  Ian Lance Taylor  <ian@cygnus.com>
2524
2525	* Makefile.am (check-DEJAGNU): Export r.
2526	(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
2527	* Makefile.in: Rebuild.
2528
2529	* nlmheader.y: Use VERSIONK rather than VERSION.
2530
2531	* Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
2532	(NM_PROG): Change from nm.new to nm-new.
2533	(TOOL_PROGS, install-exec-local): Adjust accordingly.
2534	* Makefile.in: Rebuild.
2535
2536Mon Aug  4 11:47:31 1997  Ian Lance Taylor  <ian@cygnus.com>
2537
2538	* configure.in: Remove AC_ARG_PROGRAM; it's invoked by
2539	AM_INIT_AUTOMAKE.
2540	* configure: Rebuild.
2541
2542	* Makefile.am (install-exec-local): Create $(tooldir)/bin before
2543	trying to install anything into it.
2544	* Makefile.in: Rebuild.
2545
2546	* Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
2547	(install-exec-local): When handling $(noinst_PROGRAMS), only use
2548	$(EXEEXT) on the installed file.  When handling $(TOOL_PROGS),
2549	handle $(EXEEXT) correctly.
2550	* configure.in: Add an explicit $(EXEEXT) when substituting for
2551	the name of a program to build.
2552	* Makefile.in, configure: Rebuild.
2553
2554	* aclocal.m4, configure, Makefile.in: Rebuild with new automake
2555	patches.
2556
2557	* deflex.l, defparse.y: Use VERSIONK rather than VERSION.
2558	* rclex.l, rcparse.y: Likewise.
2559	* Makefile.am (windres_SOURCES): Add $(BULIBS).
2560	* Makefile.in: Rebuild.
2561
2562Fri Aug  1 13:08:39 1997  Ian Lance Taylor  <ian@cygnus.com>
2563
2564	* acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
2565	* aclocal.m4, configure: Rebuild with new libtool.
2566
2567Thu Jul 31 11:51:35 1997  Ian Lance Taylor  <ian@cygnus.com>
2568
2569	* Makefile.am: New file, based on old Makefile.in.
2570	* acinclude.m4: New file, from old aclocal.m4.
2571	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
2572	shared library handling; now handled by libtool.  Replace
2573	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
2574	AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
2575	AM_EXEEXT.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.  Remove
2576	stamp-h handling in AC_OUTPUT.
2577	* acconfig.h: Mention PACKAGE and VERSION.
2578	* stamp-h.in: New file.
2579	* Makefile.in: Now built with automake.
2580	* aclocal.m4: Now built with aclocal.
2581	* config.in, configure: Rebuild.
2582
2583	From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
2584	* rcparse.y (dialog): Default menu and class to be named.
2585	(styles): If FONT is seen, set DS_SETFONT in dialog style.
2586	* resbin.c (res_to_bin_dialog): Correct computation of font
2587	information length.
2588
2589Wed Jul 30 11:21:06 1997  Ian Lance Taylor  <ian@cygnus.com>
2590
2591	From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
2592	* resbin.c (res_to_bin_menu): Correct computation of menu
2593	vs. menuex length.
2594	* resrc.c (define_stringtable): Add 1 to resource ID.
2595
2596Tue Jul 29 11:06:03 1997  Ian Lance Taylor  <ian@cygnus.com>
2597
2598	* resbin.c (bin_to_res_string): Correct adjustment of data and
2599	length.  From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
2600
2601Tue Jul 22 18:01:23 1997  Ian Lance Taylor  <ian@cygnus.com>
2602
2603	* nlmconv.c (link_inputs): Call libiberty pexecute function.
2604	(pexecute) [multiple versions]: Remove.
2605
2606Tue Jul 22 16:19:34 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
2607
2608	* bucomm.c (make_tempname): If we might be using a DOS filesystem,
2609	check for a backslash as well as a slash.
2610
2611Thu Jun 26 13:53:17 1997  Ian Lance Taylor  <ian@cygnus.com>
2612
2613	* windres.c (main): Quit if we didn't get any resources.
2614	(usage): Fix --yydebug usage message.
2615	* rescoff.c (write_coff_file): Don't free the relocation array
2616	until after we've closed the BFD.
2617	(read_coff_rsrc): Quit rather than try to read standard input.
2618	(write_coff_file): Quit rather than try to write to standard
2619	output.
2620	* rcparse.y: Add a couple of missing semicolons (accepted by bison
2621	but not byacc).
2622	* binutils.texi: Document windres.
2623
2624Wed Jun 25 20:57:06 1997  Ian Lance Taylor  <ian@cygnus.com>
2625
2626	* resbin.c: New file.
2627	* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
2628	Numerous fixes and improvements.
2629	* Makefile.in: Rebuild dependencies.
2630 	(CFILES): Add resbin.c.
2631	(WINDRES_OBJS): Add resbin.o.
2632
2633Sun Jun 22 17:29:41 1997  Ian Lance Taylor  <ian@cygnus.com>
2634
2635	First stab at Windows resource compiler:
2636	* windres.h: New file.
2637	* windres.c: New file.
2638	* resrc.c: New file.
2639	* rcparse.y: New file.
2640	* rclex.l: New file.
2641	* rescoff.c: New file.
2642	* configure.in: Define and substitute BUILD_WINDRES.
2643	* configure: Rebuild.
2644	* Makefile.in: Rebuild dependencies.
2645 	(WINDRES_PROG): New variable.
2646	(PROGS): Add @BUILD_WINDRES@.
2647	(HFILES): Add dlltool.h and windres.h.
2648	(CFILES): Add windres.c and resrc.c.
2649	(GENERATED_CFILES): Add rcparse.c and rclex.c.
2650	(WINDRES_OBJS): New variable.
2651	$(WINDRES_PROG): New target.
2652	(rcparse.c, rcparse.h, rclex.c): New targets.
2653
2654Thu Jun 12 12:27:51 1997  Ian Lance Taylor  <ian@cygnus.com>
2655
2656	* dlltool.c (export_type): Add data field.
2657	(def_exports): Add data parameter.  Change all callers.
2658	(dump_def_info): Print data field.
2659	(gen_def_file): Likewise.
2660	(make_one_lib_file): Handle data field by not emitting simple
2661	label and not emitting anything in SEC_TEXT.
2662	(dtab): Print data field.
2663	(process_duplicates): Merge data field.
2664	* dlltool.h (def_exports): Update declaration.
2665	* defparse.y (expline): Accept opt_DATA.  Pass it to def_exports.
2666	(opt_DATA): New non-terminal.
2667
2668Wed Jun 11 17:15:47 1997  Ian Lance Taylor  <ian@cygnus.com>
2669
2670	* dlltool.h: New file.
2671	* deflex.l: Include dlltool.h and libiberty.h.  Don't declare
2672	strdup.  Use xstrdup rather than strdup.
2673	* defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
2674	* dlltool.c: Include dlltool.h and time.h.  Make a lot of
2675	variables and functions static.  Make a lot of char * variables
2676	and parameters const.  Add declarations for static functions.  Do
2677	some reindenting.  Hide more PowerPC stuff inside DLLTOOL_PPC.
2678
2679Wed Jun 11 12:05:52 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2680
2681	* ar.c (bfd_special_undocumented_glue): Add const.
2682
2683Mon May 12 22:09:35 1997  Bob Manson  <manson@charmed.cygnus.com>
2684
2685	* Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
2686	to runtest.
2687
2688Mon May 12 13:14:22 1997  Ian Lance Taylor  <ian@cygnus.com>
2689
2690	* configure.in: Don't clear OPCODES when --enable-commonbfdlib is
2691	used on HP/UX.
2692	* configure: Rebuild.
2693
2694Fri Apr 25 14:22:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2695
2696	* Makefile.in (maintainer-clean realclean): Change *.info*
2697	to binutils.info* to save sysroff.info.
2698
2699Tue Apr 15 13:42:22 1997  Ian Lance Taylor  <ian@cygnus.com>
2700
2701	* Makefile.in (INSTALL): Set to @INSTALL@.
2702	(INSTALL_XFORM, INSTALL_XFORM1): Remove.
2703	(install): Depend upon installdirs.  Use $(program_transform_name)
2704	directly, rather than using $(INSTALL_XFORM) and
2705	$(INSTALL_XFORM1).
2706	(installdirs): New target.
2707	(install-info): Run mkinstalldirs.
2708
2709Mon Apr 14 11:52:39 1997  Ian Lance Taylor  <ian@cygnus.com>
2710
2711	* Makefile.in (INSTALL): Change install.sh to install-sh.
2712
2713	From Thomas Graichen <graichen@rzpd.de>:
2714	* Makefile.in: Always use $(SHELL) when running move-if-change.
2715	* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
2716	* configure: Rebuild.
2717
2718Fri Apr  4 13:28:02 1997  Ian Lance Taylor  <ian@cygnus.com>
2719
2720	* configure.in: Add AC_FUNC_ALLOCA.
2721	* configure, config.in: Rebuild.
2722	* bucomm.h: Add alloca handling, copied from gas/as.h.
2723	* dlltool.c: Add #pragma alloca for AIX to start of file.
2724	* nlmconv.c: Likewise.
2725
2726	* Makefile.in (distclean): Remove site.exp and site.bak.  Remove
2727	everything that clean removes.
2728
2729Thu Apr  3 13:18:39 1997  Ian Lance Taylor  <ian@cygnus.com>
2730
2731	* Makefile.in (VERSION): Set to 2.8.1.
2732
2733	* Branched binutils 2.8.
2734
2735Tue Apr  1 16:21:44 1997  Klaus Kaempf  <kkaempf@progis.de>
2736
2737	* configure.com: New file.
2738	* config.h-vms: Remove file.
2739	* makefile.vms: Update for new configure scheme.
2740
2741Mon Mar 31 15:30:43 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
2742
2743	* objcopy.c (make_same_dates): Use statbuf, not buf, if not
2744	HAVE_GOOD_UTIME_H.
2745
2746Fri Mar 28 17:57:53 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
2747
2748	* Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
2749	* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
2750	set OPCODES to empty.
2751	* configure: Rebuild.
2752
2753Thu Mar 27 16:03:02 1997  Ian Lance Taylor  <ian@cygnus.com>
2754
2755	Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
2756	* objcopy.c: Include <utime.h> or <sys/time.h>.
2757	(strip_options): Add "preserve-dates".
2758	(copy_options): Likewise.
2759	(copy_usage): Mention -p and --preserve-dates.
2760	(strip_usage): Likewise.
2761	(make_same_dates): New static function.
2762	(strip_main): Handle -p.
2763	(copy_main): Likewise.
2764	* binutils.texi, strip.1, objcopy.1: Document new option.
2765
2766	addr2line.c contributed by Ulrich Lauther
2767	<Ulrich.Lauther@zfe.siemens.de>:
2768	* addr2line.c: New file.
2769	* Makefile.in: Rebuild dependencies.
2770 	(ADDR2LINE_PROG): New variable.
2771	(MANPAGES): Add addr2line.
2772	(PROGS): Add $(ADDR2LINE_PROG).
2773	(CFILES): Add addr2line.c.
2774	($(ADDR2LINE_PROG)): New target.
2775	* binutils.texi: Document addr2line.
2776	* addr2line.1: New file.
2777
2778	* version.c (print_version): Update copyright date.
2779
2780Mon Mar 24 10:52:45 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2781
2782	* objdump.c (disassemble_data): Don't exit if a file cannot be
2783	disassembled, instead just return.
2784
2785Thu Mar 20 21:16:51 1997  Jeffrey A Law  (law@cygnus.com)
2786
2787	* size.c (usage): Make definition match its prototype.
2788	(display_bfd, lprint_number, rprint_number): Likewise.
2789	(print_berkeley_format, sysv_internal_printer): Likewise.
2790	(print_sysv_format): Likewise.
2791	* nm.c (set_print_radix, set_output_format): Likewise.
2792	* objcopy.c (filter_bytes): Likewise.
2793
2794Tue Mar 18 16:39:55 1997  H.J. Lu  <hjl@lucon.org>
2795
2796	* Many files: Add function prototypes.
2797	* ar.c (mri_emul, get_pos_bfd): Make static.
2798	* arlex.l: Include "libiberty.h".  Don't declare strdup.  Use
2799	xstrdup rather than strdup.
2800	* arparse.y (yyerror): Make argument const.  Correct typo.
2801	* arsup.c (strdup): Don't declare.
2802	(ar_save): Use xstrdup rather than strdup.
2803	* filemode.c: Include "bucomm.h".
2804	* nm.c (usage): Make static.
2805	(print_symname): Make format and name const.
2806	* objcopy.c (cat): Remove.
2807	(copy_archive): Make output_target const.  Use concat, not cat.
2808	(copy_file, simple_copy, smart_rename): Make arguments const.
2809	* objdump.c (read_section_stabs): Likewise.
2810	(print_section_stabs): Likewise.
2811	(display_target_tables): Don't declare getenv.
2812	* strings.c (strings_object_file): Change file to const.
2813	(print_strings): Change filename to const.
2814	* Makefile.in: Rebuild dependencies.
2815
2816Tue Mar 18 11:37:24 1997  Ian Lance Taylor  <ian@cygnus.com>
2817
2818	* configure.in: Add BFD_NEED_DECLARATION(getenv).
2819	* acconfig.h: Add NEED_DECLARATION_GETENV.
2820	* bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
2821	* configure, config.in: Rebuild.
2822	* nlmconv.c (getenv): Don't declare.
2823
2824	* Makefile.in: Rebuild dependencies.
2825
2826Sat Mar 15 15:35:56 1997  Ian Lance Taylor  <ian@cygnus.com>
2827
2828	Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
2829	* objdump.c: Include "demangle.h".
2830	(do_demangle): New static variable.
2831	(usage): Mention -C/--demangle.
2832	(long_options): Add "demangle".
2833	(objdump_print_symname): New static function.
2834	(objdump_print_addr_with_sym): Use objdump_print_symname.
2835	(disassemble_bytes): Likewise.
2836	(dump_reloc_set): Likewise.
2837	(dump_symbols): Demangle symbol name.
2838	(main): Handle -C.
2839	* binutils.texi, objdump.1: Document -C/--demangle.
2840
2841	* objdump.c (usage): Mention --no-show-raw-insn.
2842	(long_options): Add "no-show-raw-insn".
2843	(disassemble_bytes): Handle --no-show-raw-insn.
2844	* binutils.texi, objdump.1: Document --no-show-raw-insn.
2845
2846Wed Mar 12 11:42:00 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2847
2848	* rddbg.c (free_saved_stabs): Set the strings to NULL after being
2849	freed.
2850
2851Fri Feb 28 17:18:45 1997  Ian Lance Taylor  <ian@cygnus.com>
2852
2853	* bucomm.c (set_default_bfd_target): New function.
2854	* bucomm.h (set_default_bfd_target): Declare.
2855	* ar.c (main): Call set_default_bfd_target.
2856	* nlmconv.c (main): Likewise.
2857	* nm.c (main): Likewise.
2858	* objcopy.c (main): Likewise.
2859	* objdump.c (main): Likewise.
2860	* size.c (main): Likewise.
2861	* strings.c (main): Likewise.
2862	* Makefile.in (bucomm.o): New target, to define TARGET.
2863
2864Tue Feb 25 21:28:38 1997  Ian Lance Taylor  <ian@cygnus.com>
2865
2866	* objdump.c (adjust_section_vma): New static variable.
2867	(usage): Mention --adjust-section-vma.
2868	(OPTION_ADJUST_VMA): Define.
2869	(long_options): Add "addjust-vma".
2870	(display_bfd): If adjust_section_vma is not 0, add it to all the
2871	section addresses.
2872	(main): Handle OPTION_ADJUST_VMA.
2873	* binutils.texi, objdump.1: Document --adjust-vma.
2874
2875Fri Feb 14 18:46:47 1997  Ian Lance Taylor  <ian@cygnus.com>
2876
2877	* nm.c (print_symbol): Cache the BFD as well as the symbols and
2878 	relocs, and don't try to use the symbols or relocs with a
2879 	different BFD.
2880
2881Thu Feb 13 21:34:43 1997  Klaus Kaempf  (kkaempf@progis.de)
2882
2883	* config.h-vms: sbrk() is provided on openVMS/Alpha.
2884	* makefile.vms: allow compiling with current gcc snapshot.
2885
2886Thu Feb 13 20:14:40 1997  Ian Lance Taylor  <ian@cygnus.com>
2887
2888	* arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
2889	than malloc.
2890
2891Wed Feb 12 16:12:02 1997  Ian Lance Taylor  <ian@cygnus.com>
2892
2893	* objdump.c (disassemble_data): Correct VMA argument to
2894	find_symbol_for_address.  Improve handling of code with no symbol
2895	followed by code with a symbol.
2896
2897Wed Feb 12 12:16:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2898
2899	* objdump.c (disassemble_bytes): Make output of raw instructions
2900	work better for non-standard values of bytes_per_chunk and
2901	bytes_per_line.
2902
2903Thu Feb  6 14:14:59 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
2904
2905	* objdump.c (disassemble_bytes): Added code to allow some control
2906 	over the way raw instructions are displayed.
2907
2908Thu Feb  6 12:36:03 1997  Ian Lance Taylor  <ian@cygnus.com>
2909
2910	* stabs.c (struct bincl_file): Add next_stack field.
2911	(push_bincl): Put the new file on both bincl_list and
2912	bincl_stack.  Clear the file_types field.
2913	(pop_bincl): Use the next_stack field when popping the stack.
2914	Don't put the file on bincl_list.
2915	(find_excl): Include the file name when warning about an unfound
2916	N_EXCL.
2917
2918	* debug.c (debug_type_samep): Don't crash if we are passed NULL.
2919
2920Thu Feb  6 11:54:24 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
2921
2922	* objcopy.1: Add missing space after .B.
2923
2924Fri Jan 31 10:33:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2925
2926	* objdump.c (disassemble_data): Initialize `aux.require_sec'.
2927
2928Wed Jan 29 13:21:21 1997  Ian Lance Taylor  <ian@cygnus.com>
2929
2930	* objdump.c (objdump_print_value): Add skip_zeroes parameter.
2931	Change all callers.
2932	(objdump_print_addr_with_sym): Likewise.  Call objdump_print_value
2933	to print address.
2934	(objdump_print_addr): New static function.
2935	(objdump_print_address): Just call objdump_print_addr.
2936	(disassemble_bytes): Print real address, not function offset.
2937	Skip a certain number of leading zeroes.
2938
2939	* objdump.c (disassemble_zeroes): New static variable.
2940	(usage): Mention --disassemble-zeroes.
2941	(long_options): Add "disassemble-zeroes".
2942	(disassemble_bytes): Check disassemble_zeroes.
2943
2944Tue Jan 28 16:47:26 1997  Ian Lance Taylor  <ian@cygnus.com>
2945
2946	* objdump.c (disassemble_bytes): Don't skip zeroes if the
2947	disassembler has told us that we are in a branch delay slot.
2948
2949Mon Jan 20 14:24:04 1997  Ian Lance Taylor  <ian@cygnus.com>
2950
2951	* size.c (berkeley_sum): Rewrite.  Skip sections which are not
2952	SEC_ALLOC.  Count SEC_READONLY sections as text.
2953
2954Tue Jan 14 15:14:14 1997  Ian Lance Taylor  <ian@cygnus.com>
2955
2956	* Makefile.in (maintainer-clean realclean): Remove *.info*, not
2957	just *.info.  From H.J. Lu <hjl@lucon.org>.
2958
2959Tue Dec 31 15:42:54 1996  Ian Lance Taylor  <ian@cygnus.com>
2960
2961	* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
2962
2963Fri Dec 27 11:19:26 1996  Ian Lance Taylor  <ian@cygnus.com>
2964
2965	* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
2966	* configure: Rebuild.
2967
2968Thu Dec 19 13:11:20 1996  Ian Lance Taylor  <ian@cygnus.com>
2969
2970	Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
2971	* objcopy.c (OPTION_WEAKEN): Define.
2972	(copy_options): Add "weaken".
2973	(copy_usage): Mention --weaken.
2974	(weaken): New static variable.
2975	(filter_symbols): Handle weaken.
2976	(copy_object): Call filter_symbols if weaken.
2977	(copy_main): Handle OPTION_WEAKEN.
2978	* binutils.texi, objcopy.1: Document --weaken.
2979
2980Wed Dec 18 22:49:13 1996  Stan Shebs  <shebs@andros.cygnus.com>
2981
2982	* mpw-make.sed: Use NewFolderRecursive for installation.
2983
2984Sat Dec  7 10:17:25 1996  Jeffrey A Law  (law@cygnus.com)
2985
2986	* Makefile.in (install): Add "else true" clause to cater to
2987	broken "make" on some systems.
2988
2989Fri Dec  6 17:21:41 1996  Ian Lance Taylor  <ian@cygnus.com>
2990
2991	* ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
2992	warning about uninitialized variable.
2993	(ieee_read_cxx_class): Likewise, for pf.
2994	(ieee_enum_type): Likewise, for i.
2995
2996Tue Nov 26 17:01:25 1996  Ian Lance Taylor  <ian@cygnus.com>
2997
2998	* wrstabs.c (stab_array_type): Add casts when printing
2999	bfd_signed_vma values.
3000
3001	* configure: Rebuild with autoconf 2.12.
3002
3003Mon Nov 25 16:53:18 1996  Ian Lance Taylor  <ian@cygnus.com>
3004
3005	* objdump.c (disassemble_data): Don't crash if there is no
3006	symbol.
3007
3008Fri Nov 22 17:29:14 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3009
3010	* ar.c (open_inarch): Don't call bfd_openr with a null name.
3011
3012Fri Nov  1 12:08:13 1996  Ian Lance Taylor  <ian@cygnus.com>
3013
3014	* binutils.texi: Add section on reporting bugs.
3015
3016Thu Oct 31 18:20:53 1996  Ian Lance Taylor  <ian@cygnus.com>
3017
3018	* stabs.c (struct stab_handle): Add bincl_list field.
3019	(parse_stab): Pass value to push_bincl.  Call find_excl for
3020	N_EXCL.
3021	(struct bincl_file): Add hash, file and file_types fields.
3022	(push_bincl): Add hash parameter.  Save it in the new hash field.
3023	Save the file number in the new file field.
3024	(pop_bincl): Put the bincl_file on bincl_list, rather than freeing
3025	it.  Save the file types in the new file_types field.
3026	(find_excl): New static function.
3027
3028	* ieee.c (ieee_lineno): Don't compare line number addresses to
3029	info->highaddr (undo part of October 28 patch).
3030
3031Tue Oct 29 16:40:22 1996  Ian Lance Taylor  <ian@cygnus.com>
3032
3033	* objdump.c (objdump_print_value): Don't print the empty string
3034	for zero.
3035
3036Mon Oct 28 16:58:14 1996  Ian Lance Taylor  <ian@cygnus.com>
3037
3038	* stabs.c (struct stab_handle): Add function_end field.
3039	(start_stab): Initialize function_end.
3040	(finish_stab): Pass info->function_end to debug_end_function.
3041	(parse_stab): If info->function_end is set, use it as the address
3042	which ends a function.
3043
3044	* ieee.c (ieee_array_type): Remember the correct size.
3045
3046	* ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
3047	that are up to 0x1000 bytes apart, not just 64.
3048	(ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
3049	than 0x100 bytes.
3050	(ieee_lineno): Only emit line numbers that are less than
3051	info->highaddr.
3052
3053Fri Oct 25 12:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
3054
3055	* ieee.c (struct ieee_defined_enum): Add defined field.
3056	(ieee_enum_type): If the enum tag has been seen before but not
3057	defined, reuse the same type index, and define it.
3058	(ieee_tag_type): If this enum has not been defined, add an
3059	undefined entry to the list of enums.
3060
3061	* objdump.c (disassemble_bytes): Let the disassembler override the
3062	number of bytes printed on a line.
3063
3064Thu Oct 24 16:42:10 1996  Ian Lance Taylor  <ian@cygnus.com>
3065
3066	* objdump.c (prefix_addresses): New static variable.
3067	(long_options): Add "prefix-addresses".
3068	(compare_symbols): Sort BSF_FUNCTION symbols before other
3069	symbols.
3070	(find_symbol_for_address): New static function, broken out of
3071	objdump_print_address.
3072	(objdump_print_addr_with_sym): New static function, broken out of
3073	objdump_print_address.
3074	(objdump_print_address): Call new functions.
3075	(disassemble_bytes): New static function, broken out of
3076	disassemble_data.  Change disassembly format, unless
3077	prefix_addresses is set.
3078	(disassemble_data): Call disassemble_bytes.  Unless
3079	prefix_addresses is set, disassemble in chunks headed by a
3080	symbol.
3081	* binutils.texi, objdump.1: Document --prefix-addresses.
3082
3083	* rddbg.c (read_section_stabs_debugging_info): Preserve the
3084	backslash when concatenating multiple stabs strings.
3085
3086Thu Oct 10 11:36:31 1996  Doug Evans  <dje@canuck.cygnus.com>
3087
3088	* dlltool.c (scan_open_obj_file): Fix loop exit test.
3089	Add missing parameter to def_exports.
3090
3091Tue Oct  8 12:06:17 1996  Ian Lance Taylor  <ian@cygnus.com>
3092
3093	* Makefile.in (LEX_OPTIONS): Set to empty string.  -I -Cem is the
3094	default for flex, and is not recognized by lex.
3095
3096Thu Oct  3 17:41:23 1996  Ian Lance Taylor  <ian@cygnus.com>
3097
3098	* binutils.texi (Target Selection): Document that you can now
3099	specify targets using configuration triplets.
3100
3101	* ar.c (usage): Declare.  Make sure all callers pass an argument.
3102
3103Thu Oct  3 15:39:42 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3104
3105	* Makefile.in (clean): Remove config.log.
3106
3107Wed Oct  2 15:49:16 1996  Klaus Kaempf  <kkaempf@progis.de>
3108
3109	* makefile.vms: Bump version date.
3110
3111Tue Oct  1 15:00:59 1996  Ian Lance Taylor  <ian@cygnus.com>
3112
3113	* version.c (print_version): New function.
3114	* bucomm.h (print_version): Declare.
3115	* ar.c (program_version): Don't declare.
3116	(do_show_version): Remove.
3117	(usage): Add help parameter.  Print bug report address.
3118	(main): Set is_ranlib at start.  Check for --help and --version.
3119	Call print_version, not do_show_version.
3120	* nlmconv.c (program_version): Don't declare.
3121	(main): Call print_version.
3122	(show_usage): Print bug report address.
3123	* nm.c (program_version, print_version): Don't declare.
3124	(usage): Print bug report address.
3125	(main): Call print_version.
3126	* objcopy.c (program_version): Don't declare.
3127	(copy_usage): Print bug report address.
3128	(strip_usage): Likewise.
3129	(strip_main): Call print_version.
3130	(copy_main): Likewise.
3131	* objdump.c (program_version): Don't declare.
3132	(usage): Print bug report address.
3133	(main): Call print_version.
3134	* size.c (program_version): Don't declare.
3135	(usage): Print bug report address.
3136	(main): Call print_version.
3137	* strings.c (program_version): Don't declare.
3138	(main): Call print_version.
3139	(usage): Print bug report address.
3140	* Makefile.in: Update dependencies.
3141
3142Thu Sep 19 14:53:15 1996  Ian Lance Taylor  <ian@cygnus.com>
3143
3144	* ieee.c: Revert Monday's reflocalp patch, and apply this patch
3145	instead:
3146 	(write_ieee_debugging_info): Write a dummy type at the end of the
3147	global type block.
3148
3149Mon Sep 16 15:30:54 1996  Ian Lance Taylor  <ian@cygnus.com>
3150
3151	* ieee.c (struct ieee_write_type): Add reflocalp field.
3152	(ieee_pointer_type): Set reflocalp after pushing type.
3153	(ieee_function_type): If reflocalp is set, make this type local.
3154	(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
3155	(ieee_const_type, ieee_volatile_type): Likewise.
3156	(ieee_struct_field, ieee_class_baseclass): Likewise.
3157
3158	* ieee.c (struct ieee_info): Add global_types field.
3159	(parse_ieee_bb): When starting a BB1, initialize the types field
3160	to the global_types field.
3161	(parse_ieee_be): When ending a BB2, copy the types field to the
3162	global_types field.
3163
3164Fri Sep 13 17:32:21 1996  Ian Lance Taylor  <ian@cygnus.com>
3165
3166	* objcopy.c (change_leading_char): New static variable.
3167	(OPTION_CHANGE_LEADING_CHAR): Define.
3168	(copy_options): Add "change-leading-char".
3169	(copy_usage): Mention --change-leading-char.
3170	(filter_symbols): Add obfd parameter.  Change all callers.
3171	Implement change_leading_char.
3172	(copy_object): Call filter_symbols if change_leading_char.
3173	(copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
3174	* binutils.texi, objcopy.1: Document --change-leading-char.
3175
3176Tue Sep  3 14:05:29 1996  Ian Lance Taylor  <ian@cygnus.com>
3177
3178	* ieee.c (ieee_enum_type): Don't check index into a NULL names
3179	array.
3180	* nm.c (sort_symbols_by_size): Always initialize next.
3181	* rdcoff.c (parse_coff_type): Warn about an incomprehensible
3182	type rather than crashing.
3183	* rddbg.c (read_symbol_stabs_debugging_info): Initialize f.
3184	* stabs.c (parse_stab_members): Set context in all cases.
3185
3186Thu Aug 29 16:56:52 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3187
3188	* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3189	* configure: Regenerate.
3190
3191Thu Aug 29 11:29:20 1996  Ian Lance Taylor  <ian@cygnus.com>
3192
3193	* objdump.c (L_tmpnam): Never define.
3194	(display_target_list): Use choose_temp_base instead of tmpnam.
3195	(display_info_table): Likewise.
3196
3197Tue Aug 27 18:15:01 1996  Ian Lance Taylor  <ian@cygnus.com>
3198
3199	* stabs.c (parse_stab): An N_FUN symbol with an empty string
3200	indicates the end of a function.
3201
3202Thu Aug 22 17:08:00 1996  Ian Lance Taylor  <ian@cygnus.com>
3203
3204	* wrstabs.c (struct string_hash_entry): Add next field.
3205	(struct stab_write_handle): Change strings to a pointer to
3206	string_hash_entry.  Add last_strings field.  Remove strings_alloc
3207	field.
3208	(string_hash_newfunc): Initialize next field.
3209	(stab_write_symbol): Copy string into hash table rather than into
3210	buffer.  Keep a list of hash table entries.
3211	(write_stabs_in_sections_debugging_info): Initialize last_string.
3212	Copy strings from list of hash table entries in memory.
3213	(stab_modify_type): If the entry on the stack is a definition,
3214	make a new definition rather than failing an assert.
3215	(stab_array_type): The size is only zero if high is strictly less
3216	than low.
3217
3218	* ieee.c (struct ieee_info): Add saw_filename field.
3219	(parse_ieee): Initialize saw_filename.
3220	(parse_ieee_bb): Set saw_filename for a BB1 or BB2.  In a BB1,
3221	discard the current variables and types.  In a BB10, if no
3222	filename has been seen, call debug_set_filename.
3223	(parse_ieee_ty): In case 'g', the type is optional.
3224
3225	* prdbg.c (pr_fix_visibility): Don't abort on
3226	DEBUG_VISIBILITY_IGNORE.
3227
3228	* debug.c (debug_name_type): Correct error message.
3229
3230	* configure.in: Substitute HLDENV.
3231	* configure: Rebuild.
3232	* Makefile.in (HLDENV): New variable.  Use it whenever linking a
3233	program.
3234
3235Thu Aug 15 19:30:41 1996  Stan Shebs  <shebs@andros.cygnus.com>
3236
3237	* mpw-make.sed: Add symbolic doublequotes around the version
3238	number.
3239
3240Thu Aug  8 12:27:52 1996  Klaus Kaempf  <kkaempf@progis.de>
3241
3242	* makefile.vms: Add better support for DEC C compilation.
3243	Add new macros as in Makefile.in.
3244
3245Wed Aug  7 14:27:33 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
3246
3247	* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
3248	* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
3249	(NEED_DECLARATION_SBRK): New macro.
3250	* configure, config.in: Rebuild.
3251	* bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
3252	(sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
3253
3254	* prdbg.c (pr_end_struct_type): Avoid using a string constant in
3255	assert, for the benefit of broken assert macros.
3256
3257Fri Jul 26 14:06:50 1996  Ian Lance Taylor  <ian@cygnus.com>
3258
3259	* objdump.c (disassemble_data): Set disasm_info.flavour from
3260	abfd.
3261
3262Tue Jul 23 13:59:54 1996  Ian Lance Taylor  <ian@cygnus.com>
3263
3264	* dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
3265	of .text section to 2.
3266
3267Mon Jul 22 08:46:15 1996  Stu Grossman  (grossman@lisa.cygnus.com)
3268
3269	* objdump.c (dump_section_stabs):  Fix test for stabs sections
3270	ending with numbers.  This fixes a problem with .stab being
3271	confused with .stab.index.
3272
3273Wed Jul 10 13:32:28 1996  Ian Lance Taylor  <ian@cygnus.com>
3274
3275	* stabs.c (stab_demangle_fund_type): Return a void * for a
3276	template, rather than simply aborting.
3277
3278Mon Jul  8 15:28:05 1996  Ian Lance Taylor  <ian@cygnus.com>
3279
3280	* ar.c (open_inarch): Add file parameter.  Change all callers.  If
3281	this is a newly created archive, set the target based on the
3282	file.
3283	* arsup.h (open_inarch): Update declaration.
3284
3285Thu Jul  4 12:00:55 1996  Ian Lance Taylor  <ian@cygnus.com>
3286
3287	* Makefile.in (VERSION): Set to cygnus-2.7.1.
3288
3289	* Released binutils 2.7.
3290
3291	* rdcoff.c (parse_coff): Get address to pass to debug_end_function
3292	from function size, not value of .ef symbol.  From Ning
3293	Mosberger-Tang <ning@AZStarNet.com>.
3294
3295Sat Jun 29 21:18:09 1996  Ian Lance Taylor  <ian@cygnus.com>
3296
3297	* objcopy.c (strip_main): Add -o option, and handle it.
3298	(strip_usage): Mention -o.
3299	* binutils.texi, strip.1: Mention -o.
3300
3301Mon Jun 24 17:19:02 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3302
3303	* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
3304	INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
3305	(docdir): Removed.
3306	* configure.in (AC_PREREQ): Autoconf 2.5 or higher.
3307
3308Mon Jun 24 11:59:13 1996  Ian Lance Taylor  <ian@cygnus.com>
3309
3310	* objdump.c (endian): New static variable.
3311	(usage): Mention -EB/-EL/--endian.
3312	(long_options): Add "endian".
3313	(disassemble_data): If endianness was specified, replace
3314	abfd->xvec with a copy of itself with the given endianness.
3315	(main): Handle -EB/-EL/--endian.
3316	* binutils.texi, objdump.1: Mention -EB/-EL/--endian.
3317
3318	* objdump.c: Make most variables and functions static.
3319
3320	* configure.in: On alpha*-*-osf*, link against libbfd.a if not
3321	using shared libraries.
3322	* configure: Rebuild with autoconf 2.10.
3323
3324Sun Jun 23 14:47:36 1996  Kim Knuttila  <krk@cygnus.com>
3325
3326	* dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
3327	(make_one_lib_file): Removed cruft. (#if 1)
3328
3329Wed Jun 19 14:46:38 1996  Ian Lance Taylor  <ian@cygnus.com>
3330
3331	* objdump.c (stabs): Change from struct internal_nlist * to
3332	bfd_byte *.
3333	(print_section_stabs): Fetch stabs information directly, rather
3334	than assuming that struct internal_nlist is the right size.
3335
3336	* binutils.texi: Document change to binary format: file position
3337	based on load address, not section VMA.
3338
3339	* bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are
3340	not already defined.
3341
3342Tue Jun 18 18:25:00 1996  Ian Lance Taylor  <ian@cygnus.com>
3343
3344	* Makefile.in (DISTSTUFF): Add deflex.c.
3345
3346Tue Jun 18 15:03:44 1996  Klaus Kaempf  <kkaempf@progis.de>
3347
3348	* config.h-vms, makefile.vms: New files.
3349
3350Mon Jun 17 09:47:31 1996  Ian Lance Taylor  <ian@cygnus.com>
3351
3352	* dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
3353	BFD_RELOC_32 in IDATA7.
3354
3355Wed Jun 12 11:52:06 1996  Ian Lance Taylor  <ian@cygnus.com>
3356
3357	* nm.c (struct get_relocs_info): Define.
3358	(line_numbers): New static variable.
3359	(long_options): Add "line-numbers".
3360	(usage): Mention -l and --line-numbers.
3361	(main): Handle -l.
3362	(print_symbol): Print line numbers if requested.
3363	(get_relocs): New static function.
3364	* binutils.texi, nm.1: Document -l/--line-numbers.
3365
3366Tue Jun 11 20:12:15 1996  Ian Lance Taylor  <ian@cygnus.com>
3367
3368	* objdump.c (dump_reloc_set): Add sec parameter.  Change all
3369	callers.  If with_line_numbers is set, display line numbers of
3370	relocation entries.
3371	* binutils.texi, objdump.1: Document -l with -r.
3372
3373Mon Jun 10 23:42:59 1996  Ian Lance Taylor  <ian@cygnus.com>
3374
3375	* ar.c (open_inarch): Report BFD error message if an archive can
3376	not be recognized.  List matching formats if the file is
3377	ambiguously recognized.
3378	(ranlib_touch): Likewise.
3379
3380Thu Jun  6 13:56:14 1996  Ian Lance Taylor  <ian@cygnus.com>
3381
3382	* README: Add notes on how to build if you don't have ar.
3383
3384	* Makefile.in: Remove old incorrect setting of CC.
3385
3386Tue Jun  4 10:52:49 1996  Tom Tromey  <tromey@csk3.cygnus.com>
3387
3388	* Makefile.in (install): Don't check to see if tooldir exists.
3389	Make $(tooldir) and $(tooldir)/bin.
3390
3391Mon Jun  3 17:40:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3392
3393	* strings.c (main): Make main an int function, not void.
3394
3395Fri May 31 13:59:24 1996  Ian Lance Taylor  <ian@cygnus.com>
3396
3397	* nm.c (filter_symbols): Check for BSF_WEAK as well as
3398	BSF_GLOBAL.
3399	* objcopy.c (filter_symbols): Likewise.
3400
3401Wed May  8 16:57:20 1996  Ian Lance Taylor  <ian@cygnus.com>
3402
3403	* objcopy.c (copy_object): Make clear that it is only a warning
3404	when the output file can not represent the architecture.
3405
3406Fri May  3 11:30:17 1996  Ian Lance Taylor  <ian@cygnus.com>
3407
3408	* objdump.c (disassemble_data): Don't refer to bytes past the end
3409	of data.
3410
3411Wed Apr 24 14:10:21 1996  Ian Lance Taylor  <ian@cygnus.com>
3412
3413	* rddbg.c (read_symbol_stabs_debugging_info): Move call to
3414	free_saved_stabs outside the loop over the symbols.
3415
3416Tue Apr 23 12:56:11 1996  Ian Lance Taylor  <ian@cygnus.com>
3417
3418	* objdump.c (compare_symbols): Sort symbols whose names start with
3419 	`.' after other symbols.  If no other decision can be made, sort
3420	symbols by name.
3421
3422Thu Apr 18 16:02:11 1996  Ian Lance Taylor  <ian@cygnus.com>
3423
3424	* dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
3425	* Makefile.in: Rebuild dependencies.
3426	(dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
3427
3428Tue Apr 16 13:50:22 1996  Ian Lance Taylor  <ian@cygnus.com>
3429
3430	* rdcoff.c: New file.
3431	* rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
3432	and no stabs were found.
3433	* budbg.h (parse_coff): Declare.
3434	* Makefile.in: Rebuild dependencies.
3435	(CFILES): Add rdcoff.c.
3436	(DEBUG_OBJS): Add rdcoff.o.
3437
3438Mon Apr 15 15:55:01 1996  Doug Evans  <dje@canuck.cygnus.com>
3439
3440	* nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
3441	(link_inputs): Update call to choose_temp_base.
3442
3443Mon Apr  8 14:40:05 1996  Ian Lance Taylor  <ian@cygnus.com>
3444
3445	* configure.in: Permit --enable-shared to specify a list of
3446	directories.
3447	* configure: Rebuild.
3448
3449Fri Mar 29 16:11:33 1996  Ian Lance Taylor  <ian@cygnus.com>
3450
3451	* objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
3452	and the SEC_LINK_DUPLICATES field.
3453
3454Fri Mar 29 11:35:55 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
3455
3456	* nlmconv.1: Changed to be recognized by catman -w on Solaris.
3457
3458Thu Mar 28 14:17:02 1996  Ian Lance Taylor  <ian@cygnus.com>
3459
3460	* wrstabs.c (stab_enum_type): Set buf before using it.
3461
3462Fri Mar 22 15:49:08 1996  Ian Lance Taylor  <ian@cygnus.com>
3463
3464	* stabs.c (struct stab_handle): Add field abfd.
3465	(start_stab): Add abfd parameter.
3466	(parse_stab_string): Skip the symbol leading char when searching
3467	for the value of a global symbol.
3468	* budbg.h (start_stab): Update declaration.
3469	* rddbg.c (read_section_stabs_debugging_info): Pass abfd to
3470	start_stab.
3471	(read_symbol_stabs_debugging_info): Likewise.
3472
3473Thu Mar 21 12:40:48 1996  Ian Lance Taylor  <ian@cygnus.com>
3474
3475	* wrstabs.c (stab_function_type): Output an empty typedef for an
3476	unused argument, rather than making up a meaningless name.
3477	(stab_variable): Use N_RSYM for a DEBUG_REGISTER variable.
3478
3479	* ieee.c (struct ieee_info): Add global_vars field.
3480	(parse_ieee_be): When ending the global typedef block, copy the
3481	variables into info->global_vars.
3482	(parse_ieee_atn): Don't require an NN record for a pmisc ATN.
3483	(ieee_read_reference): Search the global variables after the local
3484	variables.
3485
3486Wed Mar 20 18:08:19 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3487
3488	* objdump.c (disassemble_data): Make sure sym_name is always set.
3489	(dump_section_header): Always put a space after the section name.
3490	(dump_bfd_header): Terminate output with newline.
3491
3492Wed Mar 20 16:35:20 1996  Ian Lance Taylor  <ian@cygnus.com>
3493
3494	* wrstabs.c: New file.
3495	* budbg.h (write_stabs_in_sections_debugging_info): Declare.
3496	* objcopy.c (write_debugging_info): For COFF or ELF, output stabs
3497	in sections.
3498	* Makefile.in: Rebuild dependencies.
3499	(CFILES): Add wrstabs.c.
3500	(WRITE_DEBUG_OBJS): New variable.
3501	($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
3502	($(STRIP_PROG)): Likewise.
3503
3504	* stabs.c (parse_stab_members): Make type stub detection more like
3505	gdb.
3506
3507	* ieee.c (struct ieee_handle): Add fields complex_float_index and
3508	complex_double_index.
3509	(ieee_complex_type): Cache type index in complex_float_index and
3510	complex_double_index, depending upon size.  Set size on type stack
3511	to size * 2.
3512
3513	* ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
3514	(ieee_void_type): Use builtin_void, not 1.
3515
3516	* ieee.c (parse_ieee_ty): Handle 'V' type code.
3517	(parse_ieee_atn): Don't require two numbers for type 10.
3518
3519	* ieee.c (parse_ieee_be): Add one to offset at end of function or
3520	block.
3521
3522	* ieee.c (struct ieee_block): Add field skip.
3523	(parse_ieee_bb): Don't call debug_record_function for __XRYCPP
3524	function, and set skip field.
3525	(parse_ieee_be): Don't call debug_end_function if skip is set.
3526
3527	* debug.c (struct debug_handle): Add fields current_write_lineno
3528	and current_write_lineno_index.
3529	(debug_write): Initialize current_write_lineno and
3530	current_write_lineno_index for each unit.  Call
3531	debug_write_linenos rather than writing out the line numbers
3532	directly.
3533	(debug_write_function): Call debug_write_linenos.
3534	(debug_write_block): Likewise.
3535	(debug_write_linenos): New static function.
3536
3537	* debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return
3538	type before arguments.
3539
3540Mon Mar 18 18:05:33 1996  Ian Lance Taylor  <ian@cygnus.com>
3541
3542	* configure.in: Add AC_FUNC_VFORK.
3543	* configure, config.in: Rebuild.
3544	* dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
3545	defined.
3546
3547	* stabs.c (parse_stab_range_type): A complex type is defined as a
3548	subrange of itself with the high bound zero.
3549	* ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
3550
3551Tue Mar 12 12:09:43 1996  Ian Lance Taylor  <ian@cygnus.com>
3552
3553	* ieee.c (ieee_write_undefined_tag): Switch to global_types even
3554	if it is not empty.
3555	(ieee_tag_type): For an enum, look through info->enums.
3556
3557	* configure: Rebuild with autoconf 2.8.
3558
3559	* debug.c (debug_type_samep): Don't loop endlessly in
3560	DEBUG_KIND_ENUM case.  From Eric Baur <ecb@nexen.com>.
3561
3562Mon Mar 11 12:35:03 1996  Ian Lance Taylor  <ian@cygnus.com>
3563
3564	* rddbg.c (read_section_stabs_debugging_info): Call save_stab for
3565	each stab entry, call stab_context on an error, and call
3566	free_saved_stabs before rturning.
3567	(read_symbol_stabs_debugging_info): Likewise.
3568	(SAVE_STABS_COUNT): Define.
3569	(struct saved_stab): Define.
3570	(saved_stabs, saved_stabs_index): New static variables.
3571	(save_stab, stab_context, free_saved_stabs): New static functios.
3572
3573	* objdump.c (stab_name): Remove.
3574	(struct stab_print): Remove.
3575	(stab_print): Remove.
3576	(dump_stabs): Don't initialize stab_name.
3577	(print_section_stabs): Call bfd_get_stab_name rather than using
3578	the stab_name array.
3579
3580Tue Feb 27 19:52:01 1996  Ian Lance Taylor  <ian@cygnus.com>
3581
3582	* prdbg.c (pr_int_constant): Initialize info correctly.
3583	(pr_float_constant): Likewise.
3584
3585Mon Feb 26 18:11:37 1996  Stan Shebs  <shebs@andros.cygnus.com>
3586
3587	* mpw-make.sed: Update to handle shared library support.
3588
3589Sat Feb 24 11:21:49 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>:
3590
3591	* Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
3592	$(OPCODES).
3593
3594Thu Feb 15 12:44:45 1996  Ian Lance Taylor  <ian@cygnus.com>
3595
3596	* configure.in: Don't tamper with LDFLAGS.  Call AC_PROG_CC before
3597	configure.host.
3598	* configure: Rebuild.
3599
3600	* configure.in: Substitute RPATH_ENVVAR.
3601	* configure: Rebuild.
3602	* Makefile.in (RPATH_ENVVAR): New variable.
3603	(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
3604
3605	* objcopy.c (smart_rename): Rather than doing chmod then chown, do
3606	chmod without setuid, then chown, then chmod with setuid.
3607
3608Wed Feb 14 16:46:42 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
3609
3610	* arsup.c (map_over_list): Reindent.  Don't assume that the
3611	function does not delete the BFD.
3612	(ar_addlib_doer): Don't set prev->next if prev is NULL.
3613
3614Wed Feb 14 15:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
3615
3616	* ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
3617	and i960.
3618	(ieee_genreg_to_regno): Likewise.
3619
3620Mon Feb 12 14:19:59 1996  Ian Lance Taylor  <ian@cygnus.com>
3621
3622	* ieee.c: Extensive changes to write code to put types in the
3623	global type block when possible, to output ranges for all memory
3624	occupied by the module, and to improve efficiency.
3625
3626	* debug.c (struct debug_handle): Remove class_mark field.  Add
3627	id_list and compare_list fields.
3628	(struct debug_class_id): Define.
3629	(struct debug_type_compare_list): Define.
3630	(debug_write): Initialize info->id_list
3631	(debug_write_name): Remove reference to info->class_mark.
3632	(debug_write_type): Get id for all structs and classes.  Simplify
3633	test for whether struct has already been written.
3634	(debug_write_class_type): Get id for all classes.  Simplify test
3635	for whether class has already been written.
3636	(debug_write_block): Don't write out blocks other than the top
3637	level block if they have no local variables.
3638	(debug_set_class_id): New static function.
3639	(debug_type_samep): New static function.
3640	(debug_class_type_samep): New static function.
3641	* prdbg.c (pr_start_struct_type): Always print id.
3642	(pr_start_class_type): Likewise.
3643	(pr_tag_type): Likewise.
3644
3645	* stabs.c (struct stab_handle): Add syms and symcount fields.
3646	(start_stab): Add syms and symcount parameters.  Change all
3647	callers.
3648	(parse_stab_string): Look up global variables in the symbol table
3649	to get the right value.
3650	* budbg.h (start_stab): Update declaration.
3651	* rddbg.c (read_section_stabs_debugging_info): Add syms and
3652	symcount parameters.  Change all callers.
3653
3654	* stabs.c (parse_stab_array_type): If the index type is 0, use
3655	int.
3656
3657Wed Feb  7 14:17:45 1996  Ian Lance Taylor  <ian@cygnus.com>
3658
3659	* ieee.c (ieee_start_compilation_unit): Clear modified and
3660	modified_alloc fields of info.
3661
3662	* configure.in: Check for --enable-shared.  Substitute new
3663	variables BFDLIB and OPCODES.
3664	* configure: Rebuild.
3665	* Makefile.in (BFDLIB): Set to @BFDLIB@.
3666	(OPCODES): Set to @OPCODES@.
3667
3668Mon Feb  5 16:18:42 1996  Ian Lance Taylor  <ian@cygnus.com>
3669
3670	Support for building bfd and opcodes as shared libraries, based on
3671	patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
3672	* configure.in (HLDFLAGS): New substitution.
3673	* configure: Rebuild.
3674	* Makefile.in (HLDFLAGS): New variable.  Make all links use
3675	$(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS).
3676	(BFDLIB_DEP): New variable.  Replace all occurrences of $(BFD) as
3677	a dependency with $(BFDLIB_DEP).  Remove $(BFD) as a dependency if
3678	there is also a dependency on $(ADDL_DEPS).
3679	(BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd.
3680	(OPCODES_DEP): New variable.  Replace all occurrends of $(OPCODES)
3681	as a dependency with $(OPCODES_DEP).
3682	(OPCODES): Set to -L../opcodes -lopcodes.
3683	(ADDL_DEPS): New variable.  Replace all occurrences of
3684	$(ADDL_LIBS) as a dependency with $(ADDL_DEPS).
3685	(check): Set LD_LIBRARY_PATH in the environment.
3686	(config.status): Depend upon BFD configure.host and config.bfd.
3687
3688Fri Feb  2 17:02:59 1996  Doug Evans  <dje@charmed.cygnus.com>
3689
3690	* objdump.c: #include stdarg.h or varargs.h.
3691	(objdump_print_value): Change FILE* arg to struct disassemble_info*.
3692	All callers updated.  Use fprintf_func.
3693	(objdump_print_address): Consistently use fprintf_func.
3694	(objdump_sprintf): New function.
3695	(disassemble_data): Print insn into a buffer, print raw insn ourselves,
3696	then print insn mnemonic.
3697
3698Fri Feb  2 16:48:55 1996  Ian Lance Taylor  <ian@cygnus.com>
3699
3700	* configure: Regenerate.
3701
3702Thu Feb  1 09:38:18 1996  Steve Chamberlain  <sac@slash.cygnus.com>
3703
3704	* configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
3705	(powerpc*-*-cygwin32): New.
3706	* configure: Regenerated.
3707
3708Wed Jan 31 13:22:03 1996  Richard Henderson  <rth@tamu.edu>
3709
3710	* Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
3711
3712Mon Jan 29 17:36:29 1996  Ian Lance Taylor  <ian@cygnus.com>
3713
3714	Based on patches from H J Lu <hjl@zoom.com>:
3715	* objcopy.c (remove_leading_char): New static variable.
3716	(OPTION_REMOVE_LEADING_CHAR): Define.
3717	(copy_usage): Mention --remove-leading-char.
3718	(filter_symbols): If remove_leading_char, and the first character
3719	of a global symbol matches the symbol leading char of the BFD,
3720	remove the first character.
3721	(copy_object): Filter the symbols if remove_leading_char is set.
3722	(copy_main): Handle --remove-leading-char.
3723	* binutils.texi, objcopy.1: Document --remove-leading-char.
3724
3725Sat Jan 27 15:40:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3726
3727	* objdump.c (fprintf): Add prototype to avoid compiler warning on
3728	SunOS.
3729
3730Fri Jan 26 11:53:42 1996  Ian Lance Taylor  <ian@cygnus.com>
3731
3732	* binutils.texi (nm): Improve documentation on symbol types.
3733	(objdump): Reference the stabs manual from the discussion of the
3734	--stabs option.
3735
3736Thu Jan 25 11:21:46 1996  Raymond Jou  <rjou@mexican.cygnus.com>
3737
3738	* mpw-make.sed: Add a "stamps" target.
3739
3740Thu Jan 25 13:51:44 1996  Ian Lance Taylor  <ian@cygnus.com>
3741
3742	* objdump.c (dump_headers, dump_section_header): Change objdump -h
3743	output to be simpler and to include section file offsets.
3744
3745Wed Jan 24 12:06:05 1996  Ian Lance Taylor  <ian@cygnus.com>
3746
3747	* stabs.c (parse_stab_members): Don't adjust voffset.
3748
3749	* ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
3750	(struct ieee_write_type): Add name field.
3751	(struct ieee_type_class): Remove name field.  Change all uses to
3752	use new name field in type instead.
3753	(struct ieee_name_type): Likewise.
3754	(ieee_start_struct_type): Initialize name field of type.
3755	(ieee_start_class_type): Don't initialize classdef entry of tag.
3756	(ieee_class_method_var): Don't adjust voffset.
3757	(ieee_end_class_type): Likewise.
3758	(ieee_tag_type): Initialize new name field of type.
3759	(ieee_typdef): Set name after copying in type information.
3760
3761	* debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1.
3762
3763	* ieee.c (struct ieee_modified_type): Define.
3764	(struct ieee_handle): Add modified and modified_alloc fields.
3765	(ieee_get_modified_info): New static function.
3766	(ieee_pointer_type): Cache type index.
3767	(ieee_const_type): Likewise.
3768	(ieee_volatile_type): Likewise.
3769
3770	* ieee.c (ieee_define_named_type): When creating a tag for an
3771	anonymous struct, copy the name into memory.
3772	(ieee_tag_type): Likewise.
3773	* debug.c (debug_write_type): Only check and set id field for an
3774	unnamed object.
3775	(debug_write_class_type): Likewise.
3776
3777	* ieee.c: Various changes to write out types for functions and
3778	references, and to not write out unnecessary function types.
3779
3780	* ieee.c (struct ieee_var): Remove variable field.  Add kind
3781	field, and define some enum constants for it.
3782	(parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
3783	(parse_ieee_atn): Make an indirect slot for an external variable,
3784	although we otherwise don't record it.  Set kind field rather than
3785	variable field of pvar.
3786	(ieee_read_cxx_class): Try to get the type of a static member.
3787	(ieee_read_reference): Check kind field rather than variable
3788	field.
3789
3790Tue Jan 23 15:54:18 1996  Ian Lance Taylor  <ian@cygnus.com>
3791
3792	* ieee.c: Various changes to handle reading C++ reference type
3793	information.
3794
3795	* debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
3796	(enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL.
3797	* debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
3798
3799	* ieee.c: Various changes to write out definitions of C++ classes.
3800
3801	* debug.c (debug_append_filename): Remove.
3802	* debug.h (debug_append_filename): Don't declare.
3803
3804	* stabs.c (struct stab_handle): Remove last_type field.  Add
3805	so_string and so_value fields.
3806	(finish_stab): Call stab_emit_pending_vars before calling
3807	debug_end_function.  Don't warn about pending variables.
3808	(parse_stab): Accumulate N_SO strings until a non N_SO symbol is
3809	seen, rather than calling debug_append_filename.  Call
3810	stab_emit_pending_vars before calling debug_end_function.  Don't
3811	set info->last_type.
3812
3813Tue Jan 23 09:53:54 1996  Doug Evans  <dje@charmed.cygnus.com>
3814
3815	* objdump.c (disassemble_data): Handle unknown endianness.
3816	Pass fprintf to INIT_DISASSEMBLE_INFO.
3817
3818Mon Jan 22 16:46:43 1996  Doug Evans  <dje@charmed.cygnus.com>
3819
3820	Add new option --show-raw-insn.
3821	* objdump.c (show_raw_insn): New global.
3822	(usage): Update.
3823	(long_options): Update.
3824	(disassemble_data): Set disasm_info.flags if --show-raw-insn.
3825
3826	* objdump.c (disassemble_data): Set new arch,mach,endian fields in
3827	disasm_info.
3828
3829Mon Jan 22 19:29:36 1996  Ian Lance Taylor  <ian@cygnus.com>
3830
3831	* ieee.c: Extensive changes to pass a single info argument around
3832	in the reading routines, rather than several arguments.  Add code
3833	to read C++ debugging records.
3834
3835	* debug.h (debug_get_type_size): Declare.
3836	(debug_get_field_name): Declare.
3837	(debug_get_field_bitpos): Declare.
3838	(debug_get_field_bitsize): Declare.
3839	(debug_get_field_visibility): Declare.
3840	(debug_get_field_physname): Declare.
3841	* debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED.
3842	(debug_get_type_size): New function.
3843	(debug_get_field_name): New function.
3844	(debug_get_field_bitpos): New function.
3845	(debug_get_field_bitsize): New function.
3846	(debug_get_field_visibility): New function.
3847	(debug_get_field_physname): New function.
3848	(debug_write_type): Make sure we pass the real kind, not INDIRECT,
3849	to tag_type.  Pass the name recursively for INDIRECT.
3850
3851Fri Jan 19 12:31:57 1996  Ian Lance Taylor  <ian@cygnus.com>
3852
3853	* debug.h (struct debug_write_fns): Remove ellipsis_type.  Add int
3854	and boolean parameters to function_type.  Add boolean parameter to
3855	method_type.
3856	(debug_make_ellipsis_type): Don't declare.
3857	(debug_make_function_type): Add debug_type * and boolean
3858	parameters.  Change all callers.
3859	(debug_make_method_type): Add boolean parameter.  Change all
3860	callers.
3861	(debug_get_parameter_types): Add boolean * parameter.  Change all
3862	callers.
3863	(debug_get_target_type): Declare.
3864	* debug.c (struct debug_function_type): Add fields arg_types and
3865	varargs.
3866	(struct debug_method_type): Add field varargs.
3867	(debug_ellipsis_type, ELLIPSIS_P): Remove.
3868	(debug_make_ellipsis_type): Remove.
3869	(debug_make_function_type): Add arg_types and varargs parameters.
3870	(debug_make_method_type): Add varargs parameter.
3871	(debug_get_parameter_types): Add pvarargs parameter.
3872	(debug_get_target_type): New function.
3873	(debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
3874	types and pass count to function_type.  In DEBUG_KIND_METHOD, use
3875	a signed int for the count, don't call ellipsis_type, and pass
3876	varargs to method_type.
3877	* stabs.c (struct stab_demangle_info): Add varargs field.
3878	(stab_demangle_argtypes): Add pvarargs parameter.  Change all
3879	callers.
3880	(stab_demangle_args): Likewise.
3881	(stab_demangle_type): In case 'F', pick up argument types.
3882	* prdbg.c (pr_ellipsis_type): Remove.
3883	(pr_function_type): Add argcount and varargs parameters.
3884	(pr_method_type): Add varargs parameter.
3885	* ieee.c (ieee_ellipsis_type): Remove.
3886	(ieee_function_type): Add argcount and varargs parameters.
3887	(ieee_method_type): Add varargs parameter.  Remove most of
3888	function body, and just call ieee_function_type.
3889
3890	* stabs.c: Include "demangle.h".  Added several new static
3891	functions not listed below to demangle argument types; they are
3892	all called via stab_demangle_argtypes.
3893	(finish_stab): If the kind of an undefined tag is
3894	DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead.  Warn if there
3895	are any pending variable.
3896	(parse_stab): Don't close the function when the block depth goes
3897	to zero.  Pass value to debug_end_function.
3898	(parse_stab_string): In case 'T', pass the name to
3899	parse_stab_type.
3900	(parse_stab_type): In case 'x', use stab_find_tagged_type.  In
3901	case '#', handle functions with variable numbers of arguments.
3902	(parse_stab_struct_type): Add tagname parameter.  Change all
3903	callers.
3904	(parse_stab_members): Add tagname and typenums parameters.  Change
3905	all callers.  If the type of a method is a stub, call
3906	parse_stab_argtypes to demangle the argument types and get the
3907	physical name of the function.
3908	(parse_stab_argtypes): New static function.
3909	(stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
3910	variable, call debug_record_variable immediately.
3911	(stab_find_tagged_type): New static function.
3912
3913	* debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
3914	(struct debug_write_fns): Add field ellipsis_type.  Add id
3915	parameter to start_struct_type, start_class_type, and tag_type.
3916	(debug_make_ellipsis_type): Declare.
3917	(debug_find_named_type): Declare.
3918	(debug_get_type_kind): Declare.
3919	(debug_get_return_type): Declare.
3920	(debug_get_parameter_types): Declare.
3921	(debug_get_fields): Declare.
3922	(debug_get_field_type): Declare.
3923	* debug.c (struct debug_handle): Add fields class_id and base_id.
3924	(struct debug_class_type): Add field id.
3925	(struct debug_method_variant): Rename argtypes to physname.
3926	Change all uses.
3927	(debug_ellipsis_type): New static variable.
3928	(ELLIPSIS_P): New macro.
3929	(debug_make_ellipsis_type): New function.
3930	(debug_make_method_variant): Rename argtypes to physname.
3931	(debug_make_static_method_variant): Likewise.
3932	(debug_name_type): Always put types in the global namespace.
3933	(debug_find_named_type): New function.
3934	(debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
3935	rather than DEBUG_KIND_VOID.
3936	(debug_get_real_type): New static function.
3937	(debug_get_type_kind): New function.
3938	(debug_get_return_type): New function.
3939	(debug_get_parameter_types): New function.
3940	(debug_get_fields): New function.
3941	(debug_get_field_type): New function.
3942	(debug_write): Initialize base_id.
3943	(debug_write_type): Pass new id argument to tag_type.  Handle
3944	DEBUG_KIND_ILLEGAL.  Use id for	DEBUG_KIND_STRUCT and
3945	DEBUG_KIND_UNION.  Handle ellipsis for method arguments.
3946	(debug_write_class_type): Don't dereference kclass if it is NULL.
3947	Use id.
3948	* prdbg.c (pr_fns): Add pr_ellipsis_type.
3949	(pr_ellipsis_type): New static function.
3950	(pr_pointer_type): If this is a pointer to an array, parenthesize
3951	it correctly.
3952	(pr_start_struct_type): Add id parameter.
3953	(pr_start_class_type): Likewise.
3954	(pr_tag_type): Likewise.
3955	(pr_fix_visibility): Add the visibility to the top of the stack,
3956	not the second element on the stack.
3957	(pr_struct_field): Pop the stack before calling pr_fix_visibility.
3958	(pr_class_static_member): Likewise.
3959	(pr_class_start_method): Don't push a type, just set the method
3960	name in the type on the top of the stack.
3961	(pr_class_end_method): Don't pop the stack.
3962	(pr_class_method_variant): Rename argtypes parameter to physname.
3963	Append const and volatile rather than prepending them.  Add a
3964	space after the physname.
3965	(pr_class_static_method_variant): Likewise.
3966	* ieee.c (ieee_fns): Add ieee_ellipsis_type.
3967	(ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
3968	DEBUG_KIND_VOID.
3969	(write_ieee_debugging_info): Likewise.
3970	(ieee_typdef): Likewise.
3971	(ieee_ellipsis_type): New static function.
3972	(ieee_start_struct_type): Add id parameter.
3973	(ieee_start_class_type): Likewise.
3974	(ieee_tag_type): Likewise.
3975	(ieee_class_method_variant): Rename name to physname.
3976	(ieee_class_static_method_variant): Likewise.
3977
3978	* Makefile.in (DEBUG_OBJS): Remove prdbg.o.
3979	($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o.
3980
3981Thu Jan 18 17:35:06 1996  Kim Knuttila  <krk@cygnus.com>
3982
3983	* dlltool.c (make_tail): Changed the order of the sections to avoid
3984	an alignment problem.
3985
3986Wed Jan 17 14:23:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3987
3988	* srconv.c (wr_du): Set du.stackfrmt to 0.
3989	(wr_un, wr_sc): Emit all sections, even those with 0 size.
3990
3991Tue Jan 16 16:15:49 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3992
3993	* srconv.c (wr_hd): Space size within segment was being
3994	stored in segment identifier field.
3995
3996Tue Jan 16 12:07:25 1996  Stan Shebs  <shebs@andros.cygnus.com>
3997
3998	* mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
3999	BUILD_DLLTOOL): Put definitions for these into makefile when
4000	configuring, instead of always clearing in mpw-make.sed.
4001	* mpw-make.sed: Edit out any host_alias or target_alias settings,
4002	fix pathname to BFD internal include files, remove dependency
4003	calculation rules.
4004
4005Thu Jan 11 17:31:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
4006
4007	* objdump.c (dump_section_header): Add new section flags
4008	SEC_{EXCLUDE,SORT_ENTRIES}.
4009
4010Thu Jan 11 11:45:34 1996  Ian Lance Taylor  <ian@cygnus.com>
4011
4012	* objcopy.c (filter_symbols): NULL terminate the output symbols.
4013	(copy_object): Allocate space for a possible extra NULL pointer.
4014
4015	* debug.c (debug_make_undefined_tagged_type): Make sure we are
4016	given a kind of type we can handle.
4017	(debug_write_type): Handle undefined enums and structs.
4018	(debug_write_class_type): Handle undefined classes.
4019	* prdbg.c (pr_enum_type): Handle an undefined enum.
4020	* ieee.c (ieee_enum_type): Likewise.
4021
4022Wed Jan 10 15:33:18 1996  Ian Lance Taylor  <ian@cygnus.com>
4023
4024	* Makefile.in: Updated dependencies.
4025	(ALLOCA, MALLOC): Remove variables.
4026	(ADDL_LIBS): Remove $(MALLOC) from definition.
4027	* alloca.c, gmalloc.c: Remove.
4028
4029Mon Jan  8 18:02:29 1996  Ian Lance Taylor  <ian@cygnus.com>
4030
4031	* ieee.c: Add global function write_ieee_debugging_info and a
4032	bunch of static functions and structs used to write out IEEE
4033	debugging information.
4034	* budbg.h (write_ieee_debugging_info): Declare.
4035
4036	* ieee.c (struct ieee_type): Add pslot field.
4037	(enum builtin_types): Define.
4038	(ieee_builtin_type): For a pointer, return a pointer to the named
4039	type.  Use enum values rather than numbers.
4040	(ieee_alloc_type): New static function.
4041	(ieee_read_type_index): Use ieee_alloc_type.
4042	(parse_ieee_bb): Likewise.
4043	(parse_ieee_ty): Likewise.  Use ieee_builtin_type for array range,
4044	rather than making a new integer type.  Store the new type in the
4045	slot, if there is one.
4046	(parse_ieee_atn): Treat ATN10 as defining a register variable.
4047	(ieee_regno_to_genreg): Rename from ieee_regno_to_gen.  Change all
4048	callers.
4049	(ieee_genreg_to_regno): New static function.
4050
4051	* stabs.c (parse_stab_type): Add new typename parameter.  Change
4052	all callers.
4053	(parse_stab_range_type): Add new typename parameter.  Change all
4054	callers.
4055
4056	* debug.h (struct debug_write_fns): Add tag parameter to
4057	enum_type, start_struct_type, and start_class_type.
4058	* debug.c (debug_write_type): Pass any tag name to
4059	start_struct_type, debug_write_class_type, and enum_type.  If
4060	DEBUG_KIND_TAGGED, pass the name in the recursive call.
4061	(debug_write_class_type): Accept a new tag parameter, and pass it
4062	to start_class_type.
4063	* prdbg.c (pop_type): Don't remove '+' character.
4064	(pr_enum_type): Accept and use tag parameter.
4065	(pr_start_struct_type): Likewise.
4066	(pr_start_class_type): Likewise.
4067	(pr_class_baseclass): Adjust algorithm used to find where to put
4068	the baseclass name.
4069	(pr_tag): Don't bother to insert the tag name.
4070
4071	* objcopy.c: Include budbg.h.
4072	(convert_debugging): New static variable.
4073	(OPTION_DEBUGGING): Define.
4074	(copy_options): Add "debugging".
4075	(copy_usage): Mention --debugging.
4076	(is_strip_section): Skip debugging sections if convert_debugging.
4077	(setup_section, copy_section): Likewise.
4078	(filter_symbols): Skip debugging symbols if convert_debugging.
4079	(copy_object): If convert_debugging, read and write debugging
4080	information.
4081	(write_debugging_info): New static function.
4082	(copy_main): Handle --debugging.
4083	* Makefile.in (DEBUG_OBJS): New variable.
4084	($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
4085	($(STRIP_PROG)): Likewise.
4086	(OBJDUMP_OBJS): Remove variable.
4087	($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
4088	$(OBJDUMP_OBJS).
4089	* binutils.texi, objcopy.1: Document --debugging.
4090
4091Thu Jan  4 16:31:21 1996  Ian Lance Taylor  <ian@cygnus.com>
4092
4093	* ieee.c: New file with code to read IEEE debugging information.
4094	* budbg.h (parse_ieee): Declare.
4095	* rddbg.c (read_debugging_info): Handle IEEE flavour files.
4096	(read_ieee_debugging_info): New static function.
4097	* Makefile.in: Rebuild dependencies.
4098	(CFILES): Add ieee.c.
4099	(OBJDUMP_OBJS): Add ieee.o.
4100
4101	* bucomm.h (xrealloc): Change type of first parameter from char *
4102	to PTR.
4103
4104Tue Jan  2 17:44:07 1996  Ian Lance Taylor  <ian@cygnus.com>
4105
4106	* Makefile.in: Add targets to automatically rebuild dependencies.
4107	Remove targets which just listed dependencies of .o files.
4108	(DEP): New variable.
4109	(HFILES, GENERATED_HFILES): New variables.
4110	(CFILES, GENERATED_CFILES): New variables.
4111	(underscore.c): Don't do anything, just depend upon stamp-under.
4112	(stamp-under): New target; do what underscore.c used to do.
4113	(nlmconv.o): Depend upon sym.h and ecoff.h.
4114	(.dep, .dep1, dep.sed, dep, dep-in): New targets.
4115	(stage1, stage2, stage3, against, comparison): Remove.
4116	(de-stage1, de-stage2, de-stage3): Remove.
4117	(clean, distclean): Remove stamp-under and dep.sed.
4118	* dep-in.sed: New file.
4119
4120	Implement generic debugging support.  Implement a stabs reader and
4121	a generic printer.
4122	* budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
4123	* objdump.c: Include "debug.h" and "budbg.h".
4124	(dump_debugging): New global variable.
4125	(usage): Mention --debugging.
4126	(long_options): Add "debugging".
4127	(display_bfd): Handle --debugging.
4128	* Makefile.in (OBJDUMP_OBJS): New variable.
4129	($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
4130	* binutils.texi, objdump.1: Document --debugging.
4131
4132Sat Dec 30 09:59:51 1995  Jeffrey A Law  (law@cygnus.com)
4133
4134	* nm.c ( long_options): Add "--defined-only" option.
4135	(usage): Update for new "--defined-only" option.
4136	(filter_symbols): Handle "--defined-only".
4137
4138Fri Dec 29 16:04:56 1995  Ian Lance Taylor  <ian@cygnus.com>
4139
4140	* arparse.y: Include "bucomm.h", not <sysdep.h>.
4141	* nlmheader.y: Don't include "sysdep.h".
4142
4143Tue Dec 26 18:23:18 1995  Ian Lance Taylor  <ian@cygnus.com>
4144
4145	* nm.c (print_symdef_entry): Check return value of
4146	bfd_get_elt_at_index.
4147
4148Sat Dec 23 11:03:16 1995  Michael Meissner  <meissner@tiktok.cgynsu.com>
4149
4150	* configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target
4151	is powerpc*-*-win* in addition to powerpc*-*-*pe*.
4152
4153Fri Dec 15 16:30:57 1995  Ian Lance Taylor  <ian@cygnus.com>
4154
4155	* objdump.c (endian_string): New static function.
4156	(display_target_list): Use it.
4157	* nlmconv.c (main): Use new bfd_big_endian macro.
4158
4159Fri Dec 15 07:51:34 1995  steve chamberlain  <sac@slash.cygnus.com>
4160
4161	* dlltool.c (fill_ordinals): Start from 1 if no other instructions
4162 	given.
4163
4164Tue Dec 12 12:05:21 1995  Ian Lance Taylor  <ian@cygnus.com>
4165
4166	* Makefile.in (clean): Remove $(DEMANGLER_PROG).1.  From Ronald
4167	F. Guilmette <rfg@monkeys.com>.
4168
4169Mon Dec 11 14:33:05 1995  Stan Shebs  <shebs@andros.cygnus.com>
4170
4171	* mac-binutils.r: Fix copyright and version strings.
4172
4173	* Makefile.in (version): Remove, no longer used.
4174
4175Fri Dec  1 14:41:56 1995  Stan Shebs  <shebs@andros.cygnus.com>
4176
4177	* mpw-make.sed (install, install-only): Edit in Mac-specific
4178	install procedure.
4179
4180Thu Nov 30 20:26:02 1995  Kim Knuttila  <krk@cygnus.com>
4181
4182	* dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
4183	including the return instruction.
4184	sinfo: added a preferred alignment field.
4185	(secdata): section data for the PowerPC version.
4186	(make_one_lib_file): More symbols, More sections (pdata, rdata)
4187	(make_tail): Use idata$6 instead of idata$7 for ppc. Also added a
4188	NULL idata$3 descriptor (temporary).
4189
4190Tue Nov 28 17:23:44 1995  Doug Evans  <dje@canuck.cygnus.com>
4191
4192	* dlltool.c (fill_ordinals): Don't reference d_export_vec if
4193	there are no exported functions.
4194
4195Mon Nov 27 13:05:59 1995  Ian Lance Taylor  <ian@cygnus.com>
4196
4197	* configure: Regenerate with autoconf 2.7.
4198
4199Wed Nov 22 13:17:15 1995  Ian Lance Taylor  <ian@cygnus.com>
4200
4201	* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
4202
4203	* Makefile.in (EXPECT): Use $$r, not $${rootme}.
4204	(check): Set r, not rootme.
4205
4206Tue Nov 21 18:04:09 1995  Ian Lance Taylor  <ian@cygnus.com>
4207
4208	* configure.in: Use BFD_NEED_DECLARATION.
4209	* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
4210	* configure, config.in: Rebuild with autoconf 2.6.
4211
4212Fri Nov 17 10:34:37 1995  Ian Lance Taylor  <ian@cygnus.com>
4213
4214	* Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
4215	$(host_canonical) and $(target_canonical).
4216
4217Thu Nov 16 03:39:20 1995  Ken Raeburn  <raeburn@cygnus.com>
4218
4219	Version 2.6 released.
4220	* Makefile.in (VERSION): Update to 2.6.
4221
4222Wed Nov 15 12:14:17 1995  Ian Lance Taylor  <ian@cygnus.com>
4223
4224	* Makefile.in (CC_FOR_TARGET): Define.
4225	(check): Pass CC and CFLAGS to runtest.
4226
4227	* nm.c (display_rel_file): Don't require a DYNAMIC object when
4228	dumping the dynamic symbol table.
4229
4230	* objdump.c (compare_symbols): Sort global symbols before local
4231	symbols before debugging symbols.
4232	(objdump_print_address): Don't futz around looking for a global
4233	symbol with the same value.
4234
4235Tue Nov 14 17:19:11 1995  Ian Lance Taylor  <ian@cygnus.com>
4236
4237	* dlltool.c: Use FOPEN_* macros rather than "r" or "w".
4238
4239	* dlltool.c (fill_ordinals): Correct memset call.
4240
4241Sun Nov 12 12:56:05 1995  Stan Shebs  <shebs@andros.cygnus.com>
4242
4243	* mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
4244 	with the man page.
4245
4246Fri Nov 10 11:41:22 1995  Ian Lance Taylor  <ian@cygnus.com>
4247
4248	* objcopy.c (setup_section): Copy the section lma independently of
4249	the vma.
4250
4251Wed Nov  8 11:33:00 1995  Ian Lance Taylor  <ian@cygnus.com>
4252
4253	* arsup.c (ar_open): Cast malloc return value.
4254
4255Tue Nov  7 09:01:26 1995  Kim Knuttila  <krk@cygnus.com>
4256
4257	* configure.in, configure (DLLTOOL_DEFS): Added ppc target.
4258	* dlltool.c (MPPC): Added basic PPC definitions.
4259
4260Tue Nov  7 14:02:57 1995  Ian Lance Taylor  <ian@cygnus.com>
4261
4262	* configure.in: Don't treat rs6000-*-lynx* specially.
4263	* configure: Rebuild.
4264	* config/rslynx: Remove.
4265	* Makefile.in: Remove @target_makefile_fragment@.
4266
4267Mon Nov  6 15:00:50 1995  Ian Lance Taylor  <ian@cygnus.com>
4268
4269	* bucomm.h: Include <sys/types.h>.
4270	* ar.c: Don't include <sys/types.h> or <stdio.h>.
4271	* bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
4272
4273Fri Nov  3 12:38:09 1995  Ian Lance Taylor  <ian@cygnus.com>
4274
4275	* objdump.c: Include <sys/types.h>.
4276
4277	Permit user to override DEMANGLER_PROG from command line.  From
4278	Manfred Hollstein <manfred@lts.sel.alcatel.de>.
4279	* Makefile.in ($(DEMANGLER_PROG)): Depend upon
4280	$(DEMANGLER_PROG).1.
4281	(install): Don't depend upon $(DEMANGLER_PROG).1.  Only install
4282	$(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
4283
4284Wed Nov  1 15:04:57 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
4285
4286	* Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
4287	separate directory.
4288
4289Mon Oct 30 14:24:18 1995  Ian Lance Taylor  <ian@cygnus.com>
4290
4291	* objdump.c (objdump_print_value): New static function.
4292	(objdump_print_address): Use it.  If we need the right section for
4293	the symbol, and we can't find it, print an offset from the section
4294	rather than using a symbol from some other section.
4295
4296Thu Oct 26 10:23:14 1995  steve chamberlain  <sac@slash.cygnus.com>
4297
4298	* dlltool.c (no_idata4, no_idata5): New.
4299	(arm_jtab): Use correct encoding of jump instruction.
4300	(usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
4301
4302Wed Oct 25 12:10:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
4303
4304	* mpw-make.sed: Edit paths to generated y.tab.[ch] files.
4305
4306Fri Oct 20 18:40:34 1995  Ian Lance Taylor  <ian@cygnus.com>
4307
4308	* binutils.texi: Change --with-targets to --enable-targets.
4309
4310Thu Oct 19 17:47:41 1995  Fred Fish  <fnf@cygnus.com>
4311
4312	* Makefile.in:  Remove extraneous tab on otherwise empty line,
4313	which confuses many non-GNU versions of "make".
4314
4315Wed Oct 18 16:31:58 1995  steve chamberlain  <sac@slash.cygnus.com>
4316
4317	* dlltool.c (i386_jtab, arm_jtab): New
4318	(gen_lib_file): Rewritten to use bfd.
4319
4320Fri Oct 13 16:10:07 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
4321
4322	* Makefile.in (install): Don't give error message if dlltool
4323	wasn't built.
4324
4325Fri Oct 13 11:04:37 1995  steve chamberlain  <sac@slash.cygnus.com>
4326
4327	* deflex.l: Allow quoting of IDs.
4328	* defparse.y (%union): string deleted.
4329	(command): DESCRIPTION takes ID.
4330	* dlltool.c (gen_def_file): Quote outgoing name if
4331	necessary.  Preserve NONAME.
4332	(gen_lib_file): Run ranlib.
4333	(workout_prefix): Deleted.
4334	(main, usage, long_options): Add --as, --ranlib, --ar options.
4335
4336Wed Oct 11 13:36:13 1995  steve chamberlain  <sac@slash.cygnus.com>
4337
4338	* dlltool.c (mtable): HOW_ALIGN_LONG, new.
4339	(d_ord): Deleted.
4340	(d_low_ord, d_high_ord, d_named_funcs): New.
4341	(gen_exp_file): Create noname entries correctly.
4342	(gen_lib_file): Dump exports alphabetically.
4343	(process_duplicates):  Count nonamed functions.
4344	(fill_ordinals): Keep track of highest ord too.
4345	(mangle_defs): Create alphabetically ordered list of names.
4346
4347Tue Oct 10 09:39:09 1995  steve chamberlain  <sac@slash.cygnus.com>
4348
4349	* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
4350
4351Mon Oct  9 13:06:31 1995  steve chamberlain  <sac@slash.cygnus.com>
4352
4353	* dlltool.c (add_underscore): New.
4354	(xlate): Use new name.
4355	(main, usage): Update.
4356
4357Fri Oct  6 14:08:51 1995  Ken Raeburn  <raeburn@cygnus.com>
4358
4359	* sysinfo.y: Eliminate unused terminals "[" and "]" and unused
4360	nonterminal "name".  One s/r conflict remains.
4361
4362	Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4363
4364	* nm.c (print_symname): Don't try to demangle an empty
4365	name.
4366	* objdump.c (slurp_symtab): Reset symcount if there are
4367	no symbols.
4368	(slurp_dynamic_symtab): Likewise, for dynsymcount.
4369	(disassemble_data): Fix memory leak: free sorted_syms when done.
4370	(display_bfd): Likewise, for syms and dynsyms.
4371	(dump_relocs): Don't print header before possibly generating an
4372	error message.
4373	(dump_dynamic_relocs): Likewise.
4374
4375	* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and
4376	formatting bugs.
4377
4378Fri Oct  6 12:00:25 1995  Ian Lance Taylor  <ian@cygnus.com>
4379
4380	* ar.c (do_quick_append): Comment out.
4381	(replace_members): Add quick argument.
4382	(main): Don't call do_quick_append.
4383	(open_inarch): Don't call quick_append to create an empty archive.
4384	Instead call bfd_openw/bfd_set_format/bfd_close.
4385
4386Thu Oct  5 20:53:08 1995  Ken Raeburn  <raeburn@cygnus.com>
4387
4388	* bucomm.c: Always include time.h.
4389
4390Thu Oct  5 17:25:21 1995  Ian Lance Taylor  <ian@cygnus.com>
4391
4392	* objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
4393	symbols after other symbols with the same value.  Likewise for
4394	symbols which look like file names.
4395	(objdump_print_address): Always chose the first reasonable symbol
4396	with a given value.
4397
4398Tue Oct  3 22:38:55 1995  Ian Lance Taylor  <ian@cygnus.com>
4399
4400	* arsup.c (ar_save): Use rename, not unlink/link/unlink.
4401
4402Mon Oct  2 12:10:25 1995  Ian Lance Taylor  <ian@cygnus.com>
4403
4404	* strings.c (main): Exit with zero status if no files are given
4405	and standard input is read.
4406
4407Thu Sep 28 20:03:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
4408
4409	* mpw-config.in: Calculate underscore and put into makefile
4410	fragment, generate config.h.
4411	* mpw-make.sed: New file, sed commands to edit Unix makefile
4412	into MPW syntax.
4413	* mpw-make.in: Remove.
4414	* mac-binutils.r: New file, Mac resources.
4415
4416Thu Sep 28 15:49:00 1995  steve chamberlain  <sac@slash.cygnus.com>
4417
4418	* dlltool.c: (gen_exp_file): Always emit a .reloc section if
4419	relocatable.
4420	(imp_name_lab): New.
4421	(gen_def_file): New.
4422	(gen_lib_file): Use imp_name_lab.
4423	(main): Initialize imp_name_lab.
4424
4425Mon Sep 25 12:05:34 1995  Ian Lance Taylor  <ian@cygnus.com>
4426
4427	* configure.in: Call AC_HEADER_SYS_WAIT.
4428	* configure: Rebuild.
4429	* config.in: Rebuild.
4430	* dlltool.c: Include "libiberty.h" and "bucomm.h".  Don't include
4431	<stdio.h>, <stdlib.h>, or <string.h>.  Don't include <wait.h>.
4432	Include <sys/types.h>.  Use HAVE_SYS_WAIT_H to control whether to
4433	include <sys/wait.h> or define the wait macros by hand.  Don't
4434	declare xmalloc.
4435	(gen_lib_file): Don't assume that sprintf returns the number of
4436	characters; use strlen instead.
4437
4438Fri Sep 22 17:16:41 1995  Ian Lance Taylor  <ian@cygnus.com>
4439
4440	* objdump.c (disassemble_data): Don't use the old BFD based
4441	disassembler interface.  Make info a const pointer.
4442
4443Wed Sep 13 18:33:44 1995  Ian Lance Taylor  <ian@cygnus.com>
4444
4445	* objdump.c (start_address): New variable.
4446	(stop_address): New variable.
4447	(usage): Mention --start-address and --stop-address.
4448	(OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
4449	(long_options): Add "start-address" and "stop-address".
4450	(disassemble_data): Handle start_address and stop_address.
4451	(dump_data, dump_reloc_set): Likewise.
4452	(main): Don't set seenflag for -l.  Handle OPTION_START_ADDRESS
4453	and OPTION_STOP_ADDRESS.
4454	* objcopy.c (parse_vma): Move to bucomm.c.
4455	* bucomm.c (parse_vma): New function, moved in from objcopy.c.
4456	* bucomm.h (parse_vma): Declare.
4457	* binutils.texi, objdump.1: Document new objdump options.
4458
4459Tue Sep 12 12:37:39 1995  Ian Lance Taylor  <ian@cygnus.com>
4460
4461	* Makefile.in (maintainer-clean): New target.
4462
4463	* ar.c (replace_members): Don't call write_archive if nothing
4464	changed.
4465
4466	* objdump.c (disassemble_data): Add casts to avoid gcc warnings.
4467
4468Thu Sep  7 12:12:17 1995  Ian Lance Taylor  <ian@cygnus.com>
4469
4470	* config.in: Rename from config.h.in.
4471	* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
4472	Check for config.h:config.in when creating stamp-h.
4473	* configure: Rebuild.
4474	* Makefile.in (stamp-h): Depend upon config.in rather than
4475	config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
4476	calling config.status.
4477
4478	* Makefile.in (distclean): Remove config.h, stamp-h, and
4479        config.log.
4480
4481	* nm.c (value_format): Initialize based on BFD64 and
4482	BFD_HOST_64BIT_LONG.
4483	(print_radix): New static variable.
4484	(set_print_radix): Set print_radix.  Adjust changes to
4485	value_format.
4486	(print_value): New static function, to print 64 bit octal and
4487	decimal values correctly.
4488	(print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT.  Use
4489	print_value.
4490	(print_symbol_info_sysv): Use print_value.
4491	(print_symbol_info_posix): Likewise.
4492
4493Wed Sep  6 15:02:55 1995  Ian Lance Taylor  <ian@cygnus.com>
4494
4495	* Makefile.in (*.o): Remove incorrect dependencies on
4496	$(BFDDIR)/hosts/std-host.h.
4497
4498	* Makefile.in (INSTALL_DATA): Add -m 644.
4499	(INSTALL_XFORM1): Likewise.
4500	(CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC).
4501	(mostlyclean): Remove config.log.
4502	(distclean): Remove config.cache.
4503
4504	* configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN.
4505	* configure: Rebuild.
4506
4507Tue Sep  5 20:22:42 1995  Ian Lance Taylor  <ian@cygnus.com>
4508
4509	* configure.in: Rewrite to use autoconf.
4510	* aclocal.m4: New file.
4511	* configure: New file, built by autoconf.
4512	* acconfig.h: New file.
4513	* config.h.in: New file, built by autoheader.
4514	* Makefile.in: Various changes for new configure script.  Also:
4515	(PROGS): Remove $(SYSINFO_PROG).
4516	(ALL_CFLAGS): Remove $(TDEFINES).
4517	(version.o): Use $(ALL_CFLAGS).
4518	(cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
4519	(sysdump.o): Depend upon bucomm.h and config.h.
4520	(srconv.o, arsup.o, strings.o): Depend upon config.h.
4521	(filemode.o): Don't depend upon ../bfd/sysdep.h.
4522	(bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
4523	(size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
4524	(nlmheader.o, nlmconv.o): Likewise.
4525	(distclean): Don't remove sysdep.h.
4526	* bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
4527  	Include "fopen-same.h" or "fopen-bin.h", based on
4528 	USE_BINARY_FOPEN.  Include <errno.h>, and declare errno if it is
4529 	not a macro.  Include <unistd.h>, <string.h>, <strings.h>,
4530 	<stdlib.h>, and <fcntl.h> if they are present.  Declare strchr,
4531 	strrchr, and strstr if no string header file exists.  Include
4532	<sys/file.h> if it exists and <fcntl.h> does not.  Define
4533	O_RDONLY and O_RDWR if necessary.
4534	* ar.c:  Don't include "sysdep.h".  Do include <sys/types.h> and
4535	<sys/stat.h>.  Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME.  Use
4536	HAVE_UTIMES rather than !USE_UTIME.  Don't include <errno.h>, and
4537	don't declare errno.
4538	* arsup.c: Don't include <sysdep.h>.
4539	* bucomm.c: Don't include "sysdep.h".  Include <stdio.h>,
4540	<sys/types.h>, and <sys/stat.h>.  Include <time.h> if it defines
4541	time_t.  Define time_t if necessary.
4542	* coffdump.c: Don't include "sysdep.h".
4543	* coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
4544	* srconv.c, strings.c: Likewise.
4545	* nm.c: Don't include "sysdep.h".  Don't try to define HAVE_SBRK.
4546	* objcopy.c: Don't include "sysdep.h".  Include <sys/types.h> and
4547	<sys/stat.h>.
4548	(simple_copy): Use creat rather than assuming that O_CREAT is
4549	defined.
4550	* objdump.c: Don't include "sysdep.h".  Use
4551	NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
4552	* sysdump.c: Include "bfd.h" and "bucomm.h".  Don't include
4553	"sysdep.h" or <stdlib.h>.
4554	(dump_symbol_info): Rename from symbol_info.  Change all callers.
4555
4556Mon Sep  4 14:30:00 1995  Ian Lance Taylor  <ian@cygnus.com>
4557
4558	* configure.in (host_makefile_frag): Don't set.  Substitute for
4559	@CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile.
4560	* Makefile.in (AR_FLAGS): Set to rc rather than qv.
4561	(CC): Define as @CC@.
4562	(CFLAGS): Set to @CFLAGS@.
4563	(LDFLAGS): Define as @LDFLAGS@.
4564	(ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
4565
4566	* configure.in: Don't bother to call config.bfd for each target.
4567	Just call it for the default target, and use the shell variable to
4568	decide whether underscores are used.
4569
4570Thu Aug 31 19:21:48 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
4571
4572	* configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
4573
4574Thu Aug 31 16:30:22 1995  steve chamberlain  <sac@slash.cygnus.com>
4575
4576	* dlltool.c (add_indirect): New.
4577	(asm_prefix): New
4578	(gen_exp_file): Timestamp should be 0. Insert prefix when
4579	needed. New code for indirection.
4580	(gen_lib_file): Timestamp should be 0. Insert prefix
4581	when needed.
4582	(usage): Document --add-indirect.
4583	(main): Cope with new option.
4584
4585	* objdump.c (dump_private_headers): New.
4586	(usage): Document new option.
4587	(long_option): Add private-headers.
4588	(dump_bfd_private_header): New.
4589	(main): Cope with new option.
4590
4591Thu Aug 31 04:09:16 1995  Doug Evans  <dje@canuck.cygnus.com>
4592
4593	* dlltool.c (run): Add missing 3rd arg to waitpid.
4594
4595Wed Aug 30 11:02:11 1995  steve chamberlain  <sac@slash.cygnus.com>
4596
4597	* Makefile.in (TOOL_PROGS): Include dlltool if needed.
4598
4599Tue Aug 29 13:25:21 1995  steve chamberlain  <sac@slash.cygnus.com>
4600
4601	* dlltool.c (rva): Deleted.
4602	(rvaafter, rva_before): Use new assembler pseudo.
4603	(flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing.
4604	(gen_exp_file): Don't generate .edata if no need.
4605	(gen_lib_file): Don't make timestamp.
4606	Put _iname in idata$7.
4607	(workout_prefix): Fix memory initialization bug.
4608	(usage): Tidy up, delete many single char options.
4609	(main): rva option is gone.
4610
4611Mon Aug 21 18:41:28 1995  steve chamberlain  <sac@slash.cygnus.com>
4612
4613	* dlltool.c (options): image-base is a synonym for rva.
4614	(gen_lib_file): Put dll name into ibase$7.
4615
4616Sun Aug 20 09:59:00 1995  steve chamberlain  <sac@slash.cygnus.com>
4617
4618	Modified to generate archives and objects rather than .s files.
4619	* dlltool.c (run) New function.
4620 	(gen_exp_file, gen_lib_file): Use run.
4621	(workout_prefix): New.
4622	(usage): Document new options.
4623	(main): Parse new options.
4624
4625Wed Aug 16 16:26:52 1995  steve chamberlain  <sac@slash.cygnus.com>
4626
4627	* dlltool.c (gen_exp_file): Fix RVA handling.
4628	(rva_s, rva_n): Delete.
4629
4630Fri Aug 11 18:27:18 1995  Ian Lance Taylor  <ian@cygnus.com>
4631
4632	* nm.c (main): Ignore -e.
4633
4634Thu Aug 10 17:35:00 1995  Ken Raeburn  <raeburn@cygnus.com>
4635
4636	* Makefile.in (config.texi): New target.  Write out a setting for
4637	texinfo variable VERSION.
4638	(binutils.dvi, binutils.info): Depend on it.
4639	* binutils.texi: Include it, and reference @value{VERSION} instead
4640	of explicitly specifying 2.2(!).
4641
4642Thu Aug 10 16:07:53 1995  Ian Lance Taylor  <ian@cygnus.com>
4643
4644	* coffgrok.c (do_type): Handle array dimensions the same way gdb
4645	does.
4646
4647Tue Aug  8 17:10:42 1995  steve chamberlain  <sac@slash.cygnus.com>
4648
4649	* dlltool.c (mtable): New fields.
4650	(ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
4651	(flush_page): Use new macros.
4652
4653Sat Aug  5 00:16:37 1995  Jeff Law  (law@snake.cs.utah.edu)
4654
4655	* objcopy.c (mark_symbols_used_in_relocations): Handle sections
4656	with no relocations.
4657	* coffgrok.c (do_sections_p1): Likewise.
4658
4659Mon Jul 31 12:51:06 1995  Ian Lance Taylor  <ian@cygnus.com>
4660
4661	* strings.c (print_strings): For compatibility with existing
4662	strings programs, print strings which are not terminated with a
4663	null byte or a newline.
4664	* binutils.texi, strings.1: Update documentation accordingly.
4665
4666	* ar.c (replace_members): For compatibility with existing ar
4667	programs, permit users to add the same file multiple times.
4668
4669Tue Jul 25 11:21:53 1995  Ian Lance Taylor  <ian@cygnus.com>
4670
4671	* strings.c (DATA_FLAGS): Remove SEC_DATA.
4672	(main): If no file names are given, scan standard input.
4673	* binutils.texi, strings.1: strings now scans non-data sections by
4674	default.
4675
4676Mon Jul 24 13:52:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4677
4678	* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
4679	(writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes
4680	for the	sh.
4681
4682	* sysdump.c (fillup): Return size - 1, the last byte is a checksum
4683	and shouldn't be counted.
4684	* sysroff.info (hd): Changed segment identifier from a byte to a 1
4685	bit field.  The sysroff 2.0-01 specification seems to be in error
4686	here.  Reduce width of following "spare" field from 4 to 3 bits.
4687	(rl): Changed order and width of first 4 bitfields to correspond
4688	to sysroff specification.
4689	(dln_head, dln_inside, dln_tail): Removed.
4690
4691Tue Jul 18 23:00:03 1995  Fred Fish  <fnf@cygnus.com>
4692
4693	* nm.c (sort_symbols_by_size):  Enclose expression being casted
4694	in parens so result is casted, not just first operand.  Can't
4695	do pointer arithmetic on void* pointers.
4696
4697Fri Jul 14 13:42:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4698
4699	* sysdump.c (dh): Changed format of output to be 16 hex digits
4700	followed by 16 ascii characters, similar to Emacs' hexl-mode,
4701	to make it easier to read.
4702	(xcalloc): fix typo.
4703
4704Thu Jul 13 15:27:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4705
4706	* srconv.c (wr_tr): Write out handcrafted tr block.
4707	(walk_tree_symbol): Use evallen and evalue instead of
4708	vallen & value because of corresponding changes in
4709	sysroff.info.
4710
4711	* sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New
4712	functions.
4713
4714	* sysroff.info (tr): the tr block is a special case --- a block
4715	without contents --- which can't be handled by generated code.
4716	(den, dpp): only first byte is present for DENend, DPPend.
4717	(dsy): describe a conditional portion of block, rename some fields.
4718	(dps): describe a conditional portion of block.
4719	(dfl): removed.
4720
4721	* sysinfo.y (yyerror): write error message to standard error.
4722
4723Thu Jul 13 10:43:59 1995  Ian Lance Taylor  <ian@cygnus.com>
4724
4725	* Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.
4726	(mostlyclean): Remove y.output.
4727	(clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo.
4728
4729	* nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
4730	* objcopy.c (copy_object): Likewise.
4731
4732	* nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT.
4733	(struct size_sym): Define.
4734	(show_stats): New static variable.
4735	(long_options): Add undocumented option "stats".
4736	(main): Print memory stats if requested.
4737	(sort_bfd, sort_dynamic, sort_x, sort_y): New static variables.
4738	(numeric_forward): Use minisymbols rather than asymbols.
4739	(non_numeric_forward): Likewise.
4740	(size_forward1): Rename from size_forward.  Use minisymbols.
4741	(size_forward2): New static function.
4742	(sort_symbols_by_size): Take new arguments dynamic, size, and
4743	symsizep.  Use minisymbols.  Don't store the size back in the
4744	symbol; store in a newly allocate struct size_sym array.
4745	(display_rel_file): Read minisymbols rather than asymbols.  Set
4746	sort_* variables.  Call print_size_symbols if sorting by size.
4747	(filter_symbols): Take new arguments dynamic and size.  Use
4748	minisymbols.
4749	(print_symbols): Likewise.  Call print_symbol for actual printing.
4750	(print_size_symbols): New static function.
4751	(print_symbol): New static function.
4752
4753Wed Jul 12 10:43:05 1995  Ian Lance Taylor  <ian@cygnus.com>
4754
4755	* objdump.c (dump_section_stabs): Only print each stabs section
4756	once.
4757	(compare_relocs): Make it clear to gcc that this always returns a
4758	value.
4759
4760Wed Jul 12 10:40:23 1995  H.J. Lu  <hjl@nynexst.com>
4761
4762	* objcopy.c (simple_copy): Preserve errno on failure.
4763	(smart_rename): Print error mesage if simple_copy fails.
4764
4765Tue Jul 11 13:10:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4766
4767	* sysdump.c: re-indented file.
4768	(module): read blocks sequentially instead of trying to parse
4769	them, as that would require changing the parser recognize the
4770	difference between a DPSstart and DPSend block.
4771	(getone): Add break's between switch blocks as appropriate.
4772	(object_body_list): parse blocks according to sysroff spec.
4773
4774Mon Jul 10 12:37:25 1995  J.T. Conklin  <jtc@poseidon.cygnus.com>
4775
4776	* sysroff.info: re-indented file, prior formatting was confusing
4777	because it was indentation did not reflect nesting of conditional
4778	records.  Change "space size within segment" record in hd record
4779	from bit to byte.
4780
4781	* sysinfo.y (cond_it_field): Use xcalloc instead of calloc.
4782
4783	* srconv.c (wr_cs): Reformatted cs header array, tag each byte
4784	with a comment describing the field.
4785	(wr_unit_info): Use SEEK_SET macro instead of constant 0.
4786	(main): Use FOPEN_WB macro instead of literal "wb".
4787	* sysroff.info: Remove fdl (dfl) field from cs block.  Compare
4788	ptr->type with ED_TYPE_CONST instead of constant 2 in ed block.
4789
4790Tue Jul  4 14:48:42 1995  Ian Lance Taylor  <ian@cygnus.com>
4791
4792	* nm.c (size_forward): Check yf against yn, not xn.
4793
4794	* objcopy.c (copy_archive): Record all output BFD's, and close
4795	them before unlinking them and removing the temporary directory,
4796	to avoid NFS problems.
4797
4798	* ar.c (replace_members): In verbose messages, use 'r' when
4799        replacing a member, and 'a' when adding one.
4800
4801	* ar.c (ar_truncate): New static variable.
4802	(normalize): Change return type to const char *.  Add abfd
4803	argument.  Change all callers.  If ar_truncate, chop the filename
4804	to abfd->ar_max_namelen.
4805	(main): For the 'f' modifier, set ar_truncate to true.  Don't
4806	change quick_append to replace if ar_truncate is true.
4807	(do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT.
4808	(write_archive): Likewise.
4809	* binutils.texi, ar.1: Document 'f' modifier.
4810
4811	* objcopy.c (enum strip_action): Define strip_unneeded.
4812	(OPTION_STRIP_UNNEEDED): Define.
4813	(strip_options): Add "strip-unneeded".
4814	(copy_options): Likewise.
4815	(copy_usage): Mention --strip-unneeded.
4816	(strip_usage): Likewise.
4817	(is_strip_section): Strip debugging sections if strip_unneeded.
4818	(filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
4819	(copy_object): If strip_all, discard symbols without checking
4820	discard_locals.
4821	(copy_object): Call filter_symbols if strip_unneeded.
4822	(setup_section): Strip debugging sections if strip_unneeded.
4823	(copy_section): Likewise.
4824	(strip_main): Handle OPTION_STRIP_UNNEEDED.
4825	(copy_main): Likewise.
4826	* binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
4827
4828Mon Jul  3 14:16:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4829
4830	* configure.in (i386-*-win32): New configuration.
4831	* dlltool.c (killat, xlate, usage, long_options, main):
4832	Understand and cope with -k option.
4833
4834Sat Jul  1 12:25:15 1995  Fred Fish  <fnf@cygnus.com>
4835
4836	* ar.c: (extract_file):  Change "#if POSIX_UTIME" to
4837	"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
4838	and avoid lossage when POSIX_UTIME is not defined at all.
4839
4840Wed Jun 28 17:51:24 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4841
4842	* ar.c: (print_contents.c, extract_file, do_quick_append):
4843	Malloc buffers rather than allocate on stack (so it works
4844	on NT).
4845	* deflex.l: Names can have an @ in them.
4846	* dlltool.c: Loads of stuff. Can now generate .imp files which
4847	work with NT .dlls.
4848
4849Thu Jun 22 19:10:50 1995  Stan Shebs  <shebs@andros.cygnus.com>
4850
4851	* mpw-make.in (demangle.c.o): Remove.
4852	(arparse.h): Depend on arparse.c instead of arparse.y.
4853
4854Wed Jun 21 17:32:45 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
4855
4856	* Makefile.in (DISTSTUFF): Don't include info here.
4857	(diststuff): Include it here.
4858	(realclean): Remove *.info.
4859
4860	* objdump.c (compare_relocs): If relocation entries have the same
4861	address, keep them in file order.
4862
4863Mon Jun 19 09:06:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4864
4865	* dlltool.c: Change names of generated files. .*.s-> -*.s
4866
4867	* objdump.c (dump_section_stabs):  Check for names
4868	which are supersets of selected names.
4869
4870Wed Jun 14 19:43:52 1995  Doug Evans  <dje@canuck.cygnus.com>
4871
4872	* dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr.
4873
4874Wed Jun 14 13:27:22 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4875
4876	* deflex.l, defparse.y, dlltool.c: New files.
4877	* Makefile.in, configure.in: Support for them.
4878
4879Mon Jun 12 11:27:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4880
4881	* sysdump.c: Include sysdep.h
4882	(main): Open input with FOPEN_RB.
4883
4884Fri Jun  9 17:26:11 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
4885
4886	* objdump.c (wide_output): New flag variable.
4887	(usage): Print new -w, --wide options.
4888	(long_options): Add --wide support.
4889	(dump_section_header): If --wide, don't print a newline between
4890	the section's first line and the flags.
4891	(objdump_print_address): Use unsigned comparisons for the binary
4892	search, not signed.
4893	(disassemble_data): If --wide, don't put a \n between the
4894	disassembly output and relocation information.
4895	(main): Support -w option being the same as --wide.
4896
4897Thu Jun  1 17:09:27 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
4898
4899	Sat May  6 08:52:24 1995  H.J. Lu (hjl@nynexst.com)
4900
4901	* objcopy.c (smart_rename): make it smarter, clean up
4902	  if rename () fails.
4903
4904Tue May 30 14:24:15 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
4905
4906	* Makefile.in: Delete lines with lots of #### because four or more
4907	indicate a point for makefile fragment substitution.
4908
4909Tue May  9 17:17:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
4910
4911	* configure.in: Don't build nlmconv on PowerPC eabi any more, it
4912	is not needed.
4913
4914Thu Apr 27 20:21:24 1995  Doug Evans  <dje@canuck.cygnus.com>
4915
4916	* Makefile.in (EXPECT): Define.
4917	(RUNTEST): Use one in source tree if present.
4918	(check): Set `rootme' for $(EXPECT).
4919
4920Wed Apr 26 18:26:21 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4921
4922	* srconv.c (main): Add support for -n option which disables
4923	prescan of common symbols.
4924	(wr_ob): If reading past the end of a section, fill with zeros.
4925
4926Tue Apr 25 19:14:37 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
4927
4928	* objdump.c (dump_section_header): Display load address after
4929	virtual memory (run-time) address.
4930
4931Wed Apr 19 09:44:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4932
4933	* Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the
4934        compile.
4935	(DEMANGLER_PROG): No longer uses version.o.
4936
4937Mon Apr 10 13:29:49 1995  Stan Shebs  <shebs@andros.cygnus.com>
4938
4939	Merge in support for Mac MPW as a host.
4940	(Old change descriptions retained for informational value.)
4941
4942	* mpw-config.in (TDEFINES): Define as empty in makefile frag.
4943
4944	* mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
4945
4946	* mpw-config.in: New file, MPW configure fragment for binutils.
4947	* mpw-make.in (install-only): New target.
4948	(install): Also depend on install-only.
4949
4950	* mpw-make.in (cplusfilt): Renamed from c++filt.
4951	(INCLUDES): Add more paths.
4952
4953	* mpw-make.in: New file, MPW makefile fragment for binutils.
4954	(Normally automatically generated from Makefile.in.)
4955
4956Mon Mar 27 11:52:57 1995  Ian Lance Taylor  <ian@cygnus.com>
4957
4958	* ar.c (write_archive): Call make_tempname to get output file
4959	name, rather than using a fixed name based on the input file.
4960
4961	* objcopy.c (make_tempname): Copy from here...
4962	* bucomm.c (make_tempname): ...to here, and make global.
4963	* bucomm.h (make_tempname): Declare.
4964
4965Fri Mar 24 11:47:42 1995  Ian Lance Taylor  <ian@cygnus.com>
4966
4967	* strings.c: Include "bfd.h" before other headers.  Include
4968	"sysdep.h".
4969	* bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
4970	and print them with %ld.
4971
4972Fri Mar 10 13:09:42 1995  Ian Lance Taylor  <ian@cygnus.com>
4973
4974	* objcopy.c (strip_options): Add --keep-symbol.
4975	(copy_options): Likewise.
4976	(copy_usage): Mention --keep-symbol and -K.
4977	(strip_usage): Likewise.
4978	(keep_symbols): New static variable.
4979	(is_strip_symbol): Adjust the return value according to
4980	keep_symbols.
4981	(strip_main): Handle -K.  For -N, check that -K was not given.
4982	(copy_main): Likewise.
4983	* binutils.texi, objcopy.1, strip.1: Document -K.
4984
4985Mon Mar  6 13:33:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
4986
4987	* objcopy.c (copy_archive): Check result of mkdir.
4988	(copy_main): Cast an xmalloc result.
4989
4990	* objdump.c (usage): Break long format string into shorter ones.
4991
4992Mon Mar  6 13:46:12 1995  Ian Lance Taylor  <ian@cygnus.com>
4993
4994	* bucomm.c (list_supported_targets): New function.
4995	* bucomm.h (list_supported_targets): Declare.
4996	* ar.c (usage): Call list_supported_targets.
4997	* nm.c (usage): Likewise.
4998	* objcopy.c (copy_usage, strip_usage): Likewise.
4999	* objdump.c (usage): Likewise.
5000	* size.c (usage): Likewise.
5001	* strings.c (usage): Likewise.
5002
5003Tue Feb 28 15:13:58 1995  Ian Lance Taylor  <ian@cygnus.com>
5004
5005	* bucomm.c (print_arelt_descr): Cast st_size to long before
5006	passing it to fprintf.
5007
5008Fri Feb 17 13:36:45 1995  Ian Lance Taylor  <ian@cygnus.com>
5009
5010	* objcopy.c (struct section_list): Add fields remove, set_flags,
5011	and flags.  Change adjust from boolean to enum.
5012	(remove_sections): Remove static variable.
5013	(sections_removed): New static variable.
5014	(copy_options): Add --set-section-flags.
5015	(copy_usage): Mention --set-section-flags.
5016	(parse_flags): New static function.
5017	(find_section_list): New static function.
5018	(is_strip_symbol): Change return type from int to boolean.
5019	(is_strip_section): New static function.
5020	(filter_symbols): Call is_strip_section.
5021	(copy_object): When adding sections, check for specified flags or
5022	VMA.  Call filter_symbols if any sections are being removed.
5023	(setup_section): Use find_section_list function rather than
5024	looking through remove_sections and adjust_sections.  Handle
5025	--set-section-flags.
5026	(copy_section): Use find_section_list rather than looking through
5027	remove_sections.
5028	(strip_main): Use find_section_list instead of adding items to
5029	sections_removed.
5030	(copy_main): Use find_section_list instead of adding items to
5031	sections_removed and adjust_sections.  Handle --set-section-flags.
5032	* binutils.texi, objcopy.1: Document --set-section-flags.
5033
5034Tue Feb 14 18:03:03 1995  Ian Lance Taylor  <ian@cygnus.com>
5035
5036	* objdump.c (with_source_code): New global variable.
5037	(usage): Mention -S/--source.
5038	(long_options): Add --source.
5039	(prev_functionname, prev_line): New static variables.
5040	(struct print_file_list): Define.
5041	(print_files): New static variable.
5042	(skip_to_line, show_line): New static functions.
5043	(disassemble_data): Call show_line to handle -l and -S.
5044	(main): Handle -S.
5045	* binutils.texi, objdump.1: Document -S/--source.
5046
5047Thu Feb  9 16:11:53 1995  Ian Lance Taylor  <ian@cygnus.com>
5048
5049	* objcopy.c (copy_usage): Rename parameter to avoid shadowing.
5050	(strip_usage): Likewise.
5051
5052	* objcopy.c (struct section_add): Define.
5053	(add_sections): New static variable.
5054	(copy_options): Accept --add-section.
5055	(copy_usage): Mention --add-section.
5056	(copy_object): Add sections from the add_sections list.
5057	(copy_main): Handle --add-section.
5058	* binutils.texi, objcopy.1: Document --add-section.
5059
5060Wed Feb  1 15:04:57 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
5061
5062	* objdump.c (disassemble_data): Pass section offset, not absolute
5063	address, to bfd_find_nearest_line.
5064
5065	* nlmconv.c (powerpc_mangle_relocs): Don't use const with
5066	reloc_howto_type.
5067
5068Thu Jan 26 18:50:06 1995  Ian Lance Taylor  <ian@cygnus.com>
5069
5070	* objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather
5071	than VAR->value.
5072	(objdump_print_address): Likewise.
5073	(disassemble_data): Don't change the symbol values.  It can
5074	confuse bfd_canonicalize_reloc.
5075
5076Thu Jan 26 12:03:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
5077
5078	* configure.in: Add support for powerpc-*-ebai.
5079
5080Wed Jan 18 10:02:12 1995  Steve Chamberlain  <sac@splat>
5081
5082	* coffdump.c: Include sysdep.h.
5083	(dump_coff_type): Handle coff_secdef_type.
5084	* coffgrok.c : Include sysdep.h.
5085	* srconv.c: Include libiberty.h
5086	(absolute_p, dty_start, dty_end, dump_tree_structure): Remove.
5087
5088Wed Jan 18 12:24:14 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5089
5090	* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
5091	printf.
5092	* coffgrok.c: Include bucomm.h.  Don't declare xmalloc.
5093	(push_scope): Declare type of parameter link.
5094	* size.c: Include libiberty.h.
5095	* srconv.c: Include bucomm.h.
5096	(find_base): Declare at top of file.
5097	(wr_hd): Add default case to architecture switch.
5098	(wr_dps_start): Declare type of parameter nest.
5099	(wr_du): Comment out variables used only in commented out blocks.
5100	(wr_dus): Remove unused variable i.
5101	(wr_sc): Remove unused variables myinfo, low, and high.
5102	* strings.c: Include libiberty.h.
5103	* sysdump.c: Include <ctype.h>.
5104
5105Tue Dec 20 19:13:44 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5106
5107	* ar.c (main): Ignore 'f' modifier used on HP/UX 9.
5108
5109Thu Dec 15 17:34:12 1994  Stan Shebs  <shebs@andros.cygnus.com>
5110
5111	* ar.c, nm.c, objcopy.c, objdump.c: Include progress.h.
5112	* ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS
5113	and END_PROGRESS.
5114	* ar.c (map_over_members, open_inarch): Call PROGRESS.
5115	* nm.c (main, display_archive, filter_symbols, print_symbols):
5116	Call PROGRESS.
5117
5118	* objcopy.c (copy_usage): Break up long usage string.
5119
5120Wed Dec 14 15:51:56 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
5121
5122	* objcopy.c (copy_object): Don't bother setting status after
5123	nonfatal() "call", because it won't return.
5124
5125Fri Dec  9 00:22:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5126
5127	* nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
5128	the section symbol if the symbol is undefined.
5129
5130Thu Dec  8 14:45:50 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
5131
5132	* objcopy.c (add_strip_symbol): Cast return value of xmalloc.
5133
5134Wed Nov 30 11:05:43 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
5135
5136	* ar.c (replace_members): Pass current->filename to normalize when
5137	checking for duplicates, because the filename of a newly added
5138	file will not have been normalized yet.
5139
5140Thu Nov 17 15:00:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5141
5142	* ar.c (main): Don't call do_quick_append if any of the archive
5143	names are longer than 14 characters.
5144
5145	* objcopy.c (main): Fix is_strip test.  From
5146	pirker@eiunix.tuwien.ac.at (Martin Pirker).
5147
5148Thu Nov 17 15:37:19 1994  Mark W. Eichin  <eichin@cygnus.com>
5149
5150	* objcopy.c (add_strip_symbol): New function, adds a name to an
5151	explicit list of symbols to strip.
5152	(is_strip_symbol): New function, reports whether the name argument
5153	is in the explicit list.
5154	(filter_symbols): Check against is_strip_symbol above all.
5155	(strip_main): Recognize -N option. If used, don't default to
5156	strip_all.
5157	(copy_main): Recognize -N option.
5158	(strip_usage): Document -N and --strip-symbol options.
5159	(copy_usage): Ditto.
5160	* objcopy.1, strip.1, binutils.texi: Document -N and
5161	--strip-symbol options.
5162
5163Tue Nov  8 13:12:54 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5164
5165	* objdump.c (display_target_list, display_info_table): Pass an
5166	array to tmparg, rather than NULL, since some systems can't handle
5167	NULL.
5168
5169	* objcopy.c (copy_archive): Keep a list of the names of the
5170        temporary files we created.  Close each input BFD after we open
5171        its successor.
5172
5173Mon Nov  7 15:48:39 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
5174
5175	* Makefile.in (VERSION): Bump to 2.5.3.
5176
5177Thu Nov  3 19:04:34 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
5178
5179	* Makefile.in (install-info): Install info files from whatever
5180	directory they were found in.
5181
5182	Patch from DJ Delorie:
5183	* configure.bat: do c++filt -> cxxfilt right
5184
5185	* sysinfo.y: Include system header files early, so any potential
5186	declaration of abort() occurs before its use.
5187
5188	* strings.c (strings_file): Try opening the file in binary mode
5189	first.
5190
5191Wed Nov  2 15:44:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5192
5193	* ar.c (main): Treat ar qs like ar rs.
5194
5195Tue Oct 25 16:19:25 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5196
5197	* objcopy.c (gap_fill): Explicitly initialize, for clarity.
5198	(pad_to_set, pad_to): New static variables.
5199	(copy_options): Accept --pad-to.
5200	(copy_usage): Mention --pad-to.
5201	(copy_object): Support --pad-to.
5202	(compare_section_vma): Sort non loadable sections to the front.
5203	Sort sections with the same VMA by size.
5204	(copy_main): Handle --pad-to.
5205	* binutils.texi, objcopy.1: Document --pad-to.
5206
5207Thu Oct 20 13:51:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5208
5209	* objcopy.c (gap_fill_set, gap_fill): New static variables.
5210	(copy_options): Accept --gap-fill.
5211	(copy_usage): Mention --gap-fill.
5212	(copy_object): Support --gap-fill.
5213	(get_sections, compare_section_vma): New static functions.
5214	(copy_main): Handle --gap-fill.
5215	* binutils.texi, objcopy.1: Document --gap-fill.
5216
5217Wed Oct 19 14:09:16 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5218
5219	* Makefile.in (check): Add a dummy else clause to the if
5220	statement.
5221
5222	* objcopy.c (copy_object): Revert yesterday's change.
5223	* binutils.texi, objcopy.1: Remove special mention of --set-start
5224	and `binary' output format.
5225
5226Tue Oct 18 11:12:01 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5227
5228	* objcopy.c (copy_object): If the output file format is `binary',
5229	and the start address was not set using --set-start, default the
5230	start address to zero.  This hack is because the `binary' output
5231	file format uses the start address to set the virtual address of
5232	the first byte in the file.
5233	* binutils.texi, objcopy.1: Add some notes on generating S-records
5234	and binary files.
5235
5236	* nm.c (print_symdef_entry): Call print_symname to print the
5237	symbol name, so that --demangle works.
5238
5239	* Makefile.in (mostlyclean): Remove tmpdir.
5240
5241	* objcopy.c (struct section_list): Add fields used, adjust, val.
5242	(adjust_start, set_start_set, set_start): New static variables.
5243	(adjust_section_vma, adjust_sections): New static variables.
5244	(copy_options): Add --adjust-start, --adjust-vma,
5245	--adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
5246	--set-start.
5247	(parse_vma): New static function.
5248	(copy_usage): Mention new options.
5249	(copy_object): Handle --set-start and --adjust-start.
5250	(setup_section): Correct type of last argument to PTR.  Set used
5251	field if section is removed.  Handle --adjust-vma and
5252	--adjust-section-vma.
5253	(copy_section): Correct type of last argument to PTR.
5254	(mark_symbols_used_in_relocations): Likewise.
5255	(strip_main): Clear used field when handling -R.
5256	(copy_main): Handle new options.
5257	* binutils.texi (objcopy): Document new options.
5258	* objcopy.1: Document new options.
5259
5260Fri Oct 14 14:38:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5261
5262	* configure.in (configdirs): Remove definition--testsuite is no
5263	longer configured.
5264	* Makefile.in (testsuite): Remove target.
5265	(site.exp): New target.
5266	(check): Rewrite.
5267	(clean, distclean): Don't recur into testsuite directory.
5268
5269Thu Oct 13 19:24:09 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
5270
5271	* Makefile.in (VERSION): Updated to 2.5.
5272	* Version 2.5 released.
5273
5274Tue Oct 11 15:26:42 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5275
5276	* Makefile.in (sysdump.o): Depends upon sysroff.c.
5277
5278Mon Oct 10 13:50:30 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
5279
5280	* nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
5281	  ctor/dtor tables needed by C++ programs are built.
5282
5283Sun Oct  9 18:04:00 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
5284
5285	* Makefile.in (srconv.o): Add dependence on sysroff.c.
5286
5287Tue Oct  4 12:19:51 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5288
5289	* configure.in: Use ${config_shell} when running config.bfd.
5290
5291	* Makefile.in (sysroff.h): Split target away from sysroff.c.
5292	(srconv.o, sysdump.o): New targets.
5293	(srconv, sysdump): Don't depend upon sysroff.c.
5294
5295Wed Sep 28 13:04:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5296
5297	* Makefile.in (arparse.c): Don't ignore errors from mv.
5298	(sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
5299	parallel make from trying to build both arparse.c and sysinfo.c
5300	simultaneously.
5301	(nlmheader.c): Similar change.
5302	(arparse.h): Separate target from arparse.c, so that a parallel
5303	make does not try to build both at once.  Depend upon arparse.c.
5304	(sysinfo.h): Similar change.
5305
5306	* objdump.c (disassemble_data): Pass the reloc buffer to free, not
5307	the pointer used to loop over the relocs.
5308
5309Sat Sep 24 16:16:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
5310
5311	* objdump.c (disassemble_data): Cast result of xmalloc.
5312
5313Wed Sep 21 19:30:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5314
5315	* objdump.c (sorted_syms, sorted_symcount): New global variables.
5316	(objdump_print_address): Use sorted_syms and sorted_symcount
5317	instead of syms and symcount.
5318	(disassemble_data): Don't bother to get the relocs before looping
5319	over the sections.  Before filtering and sorting the symbol table,
5320	copy it into sorted_syms.
5321
5322Fri Sep 16 11:27:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5323
5324	* objdump.c (struct objdump_disasm_info): Add field require_sec.
5325	(objdump_print_address): If aux->require_sec, require that the
5326	symbol be in aux->sec even if HAS_RELOC is not set.  If we can't
5327	find a smaller symbol in the right section, look for a larger one.
5328	(disassemble_data): Set aux.require_sec around the
5329	objdump_print_address call for the instruction address.
5330
5331Thu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5332
5333	* ar.c: Call xexit rather than exit.
5334	(output_filename, output_file, output_bfd): New static variables.
5335	(remove_output): New static function.
5336	(main): Call xatexit (remove_output).  Call xexit rather than
5337	returning.
5338	(extract_file): Set output_filename and output_file while output
5339	file is open.
5340	(write_archive): Likewise, but use output_bfd, not output_file.
5341	* arsup.c: Include libiberty.h.  Call xexit rather than exit.
5342	* bucomm.c: Likewise.
5343
5344	* objdump.c (disassemble_all): New global variable.
5345	(usage): Document --disassemble-all.
5346	(long_options): Add disassemble-all as a synonym for -D.
5347	(compare_symbols): Make pointers const.
5348	(compare_relocs): New static function.
5349	(disassemble_data): Rename disassemble to disassemble_fn to avoid
5350	shadowing.  If dump_reloc_info, print relocs along with
5351	disassembly.  Skip sections which are not SEC_CODE unless
5352	disassemble_all or only is set.
5353	(display_bfd): Don't call dump_relocs if disassemble is set.
5354	(main): Accept and handle -D.
5355	* binutils.texi: Document -D/--disassemble-all.
5356	* objdump.1: Likewise.
5357
5358Wed Sep 14 12:19:07 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5359
5360	* objdump.c (disassemble_data): Initialize prevline to 0.  Make
5361	prev_function non const.  Copy functionname into an malloc buffer
5362	when setting prev_function, instead of assuming that the string
5363	will last forever.
5364
5365	* nm.c: Include libiberty.h.
5366	(sort_by_size): New static variable.
5367	(long_options): Add --size-sort.
5368	(usage): Mention --size-sort.
5369	(numeric_forward): Make static.  Change from void * to PTR.
5370	(numeric_reverse): Likewise.
5371	(non_numeric_forward, non_numeric_reverse): Likewise.
5372	(sorters): Change declaration from void * to PTR.
5373	(size_forward, sort_symbol_by_size): New static functions.
5374	(display_rel_file): Handle sort_by_size.
5375	(filter_symbols): If sort_by_size, discard absolute and undefined
5376	symbols.
5377	* binutils.texi (nm): Document --size-sort.
5378	* nm.1: Document --size-sort.
5379
5380Tue Sep 13 21:06:06 1994  Jeff Law  (law@snake.cs.utah.edu)
5381
5382	* objcopy.c (copy_main): Initialize input_filename and
5383	output_filename to NULL.
5384
5385Tue Sep 13 14:17:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5386
5387	* Makefile.in (version.o): Depend upon Makefile, so that version.o
5388	gets rebuilt when make variable VERSION is changed.
5389
5390	* objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
5391
5392Wed Aug 24 12:40:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5393
5394	* configure.in: Change i[34]86 to i[345]86.
5395
5396Tue Aug 23 11:00:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5397
5398	* ar.c (ranlib_touch): Don't update the archive map if there isn't
5399	one.
5400
5401Mon Aug 22 16:02:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5402
5403	* ar.c: Include libiberty.h.
5404	(inarch): Remove variable.
5405	(map_over_members): Make static.  Add arch argument, and use it
5406	instead of inarch.  Change all callers.
5407	(main): Treat --version as -v.  Accept -t argument.  Accept any
5408	number of archive arguments.  Catch and use open_inarch return
5409	value, rather than using inarch.
5410	(open_inarch): Return newly opened BFD, rather than using inarch.
5411	(do_quick_append): Make archive_filename const.
5412	(write_archive): Add iarch argument, and use it instead of inarch.
5413	Change all callers.
5414	(delete_members, move_members, replace_members): Likewise.
5415	(ranlib_only): Don't exit on success.  Catch and use open_inarch
5416	return value.
5417	(ranlib_touch): New function.
5418	* arsup.h (map_over_members): Don't declare.
5419	(ar_end, ar_extract): Declare.
5420	(open_inarch): Change return value in declaration to bfd *.
5421	* arsup.c (map_over_list): Make static. Always pass two arguments
5422	to function.  Add arch argument, and use it instead of inarch.
5423	Change all callers.
5424	(ar_directory_doer): Make static.  Add ignored second argument.
5425	Change all callers.
5426	(ar_directory): Use open_inarch return value rather than inarch.
5427	(ar_addlib_doer): Make static.
5428	(ar_addlib): Use open_inarch return value rather than inarch.
5429	(ar_extract): Remove unused local variable abfd.
5430
5431Thu Aug 11 14:55:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5432
5433	Add support for removing named sections to objcopy and strip.
5434	* objcopy.c (struct section_list): Define.
5435	(remove_sections): New static variable.
5436	(strip_options, copy_options): Add remove-section.
5437	(copy_usage, strip_usage): Mention -R and --remove-section.
5438	(setup_section): If section is in remove_sections list, ignore it.
5439	(copy_section): Likewise.
5440	(strip_main, copy_main): Handle -R.
5441	* binutils.texi, objcopy.1, strip.1: Document new options.
5442
5443Wed Aug 10 10:19:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
5444
5445	* nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
5446	so as not to conflict with the symvalue typedef in bfd.h.
5447
5448Mon Aug  1 13:19:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5449
5450	* nlmheader.y: Per current NetWare docs, accept a revision number
5451	of 0 and treat a revision number greater than 26 as 0.
5452
5453Mon Jul 25 12:58:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5454
5455	* objdump.c (objdump_print_address): Correct handling of end of
5456	symbols when looking for next symbol with a different value.
5457
5458Fri Jul 22 16:48:34 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
5459
5460	* nm.c (numeric_forward): Treat undefined symbols as "less than"
5461	defined symbols with zero values.  If numeric values are equal, or
5462	both symbols are undefined, sort alphabetically.  Don't assume
5463	that the difference of two bfd_vma values will truncate to "int"
5464	and still have the same sign.
5465	(numeric_reverse): Call numeric_forward and negate the result.
5466	(print_symbol_info_bsd): For undefined symbols, print leading
5467	spaces equivalent to the width of a printed bfd_vma, rather than
5468	assuming that 8 will look right.
5469
5470Fri Jul 22 10:36:50 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
5471
5472	* coffgrok.c (doit):  Zero all fields of new structure.
5473	* srconv.c (sysroff_swap_*_out): Remove redundant trailing arg.
5474	* sysinfo.y: Generate sysroff_swap_*_out without requiring extra
5475	arg.
5476
5477Fri Jul 22 10:09:53 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
5478
5479	* nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
5480	  rather than the parser.
5481
5482Thu Jul 21 10:25:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5483
5484	* config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
5485	Remove; obsolete.
5486
5487Sat Jul 16 22:34:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5488
5489	* objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
5490	even if the bfd is not marked DYNAMIC.  ELF executables are not
5491	marked DYNAMIC, but do have dynamic symbols.
5492
5493Fri Jul 15 01:41:35 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
5494
5495	* coffgrok.c (do_where): Make data with no type 'int'.
5496	(do_define):  Keep info on source file of a symbol.
5497	* coffgrok.h (coff_symbol): New field.
5498	* srconv.c (PROGRAM_VERSION): Now 1.3
5499	(wr_rl): Use external ref number for symbol.
5500	(wr_dus): Only keep one source file per debug unit.
5501	(wr_dln): Always emit line numbers for first source file,
5502	(wr_globals):  Emit globals in the du of their owning source file.
5503
5504Mon Jul 11 15:59:03 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
5505
5506	* nlmheader.y: Null terminate var_hdr->threadName.
5507
5508Fri Jul  8 17:33:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
5509
5510	* Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
5511	in $(srcdir), as they will be for FSF releases.
5512
5513Wed Jul  6 01:13:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5514
5515	* nlmconv.c (setup_sections): Preserve existing section flags when
5516	copying in flags from a new section.
5517
5518Tue Jul  5 15:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5519
5520	* objcopy.c: Include libiberty.h.
5521	(copy_file): If output_target is NULL, set it to the target of the
5522	input file.
5523
5524Wed Jun 29 17:17:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
5525
5526	* nlmconv.c (link_inputs): Fixed memory allocation bug.
5527
5528Thu Jun 23 12:52:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
5529
5530	* configure.in: Change --with-targets to --enable-targets.
5531
5532Tue Jun 21 12:53:21 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5533
5534	* Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
5535
5536	* nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
5537	NetWare custom header; no longer needed.
5538	(powerpc_mangle_relocs): Convert relocs against the uninitialized
5539	data section into relocs against the data section.
5540
5541	* configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
5542	netware targets.  Write it into Makefile as NLMCONV_DEFS.
5543	* Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
5544	* nlmconv.c: Only compile code for specific CPU types if
5545	NLMCONV_cputype is defined.
5546
5547	* nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
5548	bfd_abs_section_ptr or bfd_is_abs_section, etc.
5549	(i386_mangle_relocs, alpha_mangle_relocs): Likewise.
5550	(powerpc_build_stubs): Likewise.
5551	* nm.c (filter_symbols, print_symbols): Likewise.
5552	* objcopy.c (filter_symbols): Likewise.
5553	(mark_symbols_used_in_relocations): Likewise.
5554	* objdump.c (remove_useless_symbols, dump_relocs): Likewise.
5555	* size.c (sysv_internal_printer): Likewise.
5556
5557Mon Jun 20 16:43:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
5558
5559	* Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
5560	(install): Install it explicitly, from build dir, not srcdir.
5561
5562Mon Jun 20 16:29:54 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5563
5564	* objdump.c: Don't include elf/internal.h.
5565	(bfd_elf_find_section): Don't declare.
5566	(read_section_stabs): No special handling for ELF.  Always read
5567	using BFD sections.
5568
5569Thu Jun 16 17:25:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5570
5571	* configure.in: Set UNDERSCORE in Makefile based on result of
5572	invoking config.bfd with a second argument of ``_''.
5573	* Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
5574	run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
5575	file.
5576	(demangle.o): Remove target.
5577	($(NM_PROG)): Don't depend upon demangle.o, and	don't link against
5578	demangle.o.  It's in libiberty anyhow.
5579	(cplus-dem.o): Don't depend upon demangle.o.
5580	* binutils.texi: Mention -n and --no-strip-underscores arguments
5581	to c++filt.
5582
5583Wed Jun 15 12:10:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5584
5585	* nm.c (long_options): Add --no-demangle to turn off --demangle,
5586	and --no-cplus for Linux compatibility.
5587	(usage): Mention --no-demangle.
5588	* binutils.texi: Document --no-demangle.
5589
5590Fri Jun 10 15:41:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5591
5592	* nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
5593
5594	* objcopy.c (copy_archive): Make the temporary directory in the
5595	same directory as the output BFD, since we may not have write
5596	permission on the current directory.  Set the permissions of the
5597	new directory to 0700, not 0777.
5598
5599Mon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
5600
5601	* configure.in: if this is an rs6000 (and we're not building for
5602	any other bfd targets) then build only nm (collect needs it on
5603	rs6000-lynx).
5604
5605	* Makefile.in: define TOOL_PROGS which the list of programes to
5606	install in $tooldir -- replaces a hard-coded list.
5607
5608Fri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5609
5610	* objdump.c (display_target_list): Remove unused local ok.
5611
5612Thu May 26 18:05:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
5613
5614	* config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
5615	they're not compatible under native cc.  Use -O1 instead.
5616
5617	* Makefile.in (VERSION): Updated to cygnus-2.4.1.
5618
5619	Changes from binutils-2.4 net release:
5620
5621	* Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
5622	($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
5623	* cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
5624	magic token to be replaced by sed.
5625
5626	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
5627
5628	* configure.bat: update for latest makefile.in
5629
5630Fri May 13 23:25:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5631
5632	* bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
5633
5634Tue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)
5635
5636	* objcopy.c (copy_section): Set section size correctly if using
5637	interleave.
5638
5639Sat May  7 16:49:36 1994  Steve Chamberlain  (sac@cygnus.com)
5640
5641	* Makefile.in: Add rule for sysinfo.h
5642
5643Fri May  6 12:18:33 1994  Steve Chamberlain  (sac@cygnus.com)
5644
5645	* Makefile.in (SRCONV_PROG): Define.
5646	(PROGS): Use $(SRCONV_PROG) too.
5647
5648Thu May  5 19:41:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
5649
5650	* Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
5651	someone configures with `targets=all'.
5652	(distclean): Remove y.*.
5653	(syslex.o): Depend on sysinfo.h.
5654	(sysinfo.c): Rename y.tab.h to sysinfo.h.
5655	(install-info): Don't try to install into $(infodir)/$(srcdir).
5656	* syslex.l: Include sysinfo.h, not y.tab.h.
5657
5658Thu May  5 11:50:55 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
5659
5660	* syslex.l (yywrap): Define as function if not defined as a macro.
5661
5662	* Makefile.in (objdump.o): Deleted special rule.
5663	* configure.in: Don't bother building ARCHDEFS variable for
5664	Makefile.
5665	* objdump.c (ARCH_*): Deleted handling.
5666	(disassemble_data): Call `disassembler' from opcodes library.
5667
5668Thu May  5 13:28:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5669
5670	* Makefile.in (install): Correct handling of $(tooldir) and
5671	$(bindir) being on different devices.
5672
5673Fri Apr 29 09:50:38 1994  Steve Chamberlain  (sac@cygnus.com)
5674
5675	* sysdump.c (h8300, sh): Add declarations.
5676
5677Wed Apr 27 11:25:18 1994  Steve Chamberlain  (sac@cygnus.com)
5678
5679	* Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
5680	* coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
5681	sysroff.info: Major changes.
5682
5683Tue Apr 26 18:18:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
5684
5685	* objdump.c (print_section_stabs): Indicate the stab header symbol
5686	more clearly, print numbers of unrecognized stab n_type values.
5687
5688Tue Apr 26 16:22:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5689
5690	* nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
5691
5692Mon Apr 25 16:14:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5693
5694	* Makefile.in (distclean): Remove $(PROGS) and underscore.c.
5695
5696Fri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5697
5698	* nlmconv.c (setup_sections): Remove special handling of .reginfo
5699	section.
5700	(copy_sections): Likewise.
5701	(alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
5702	special ECOFF .reginfo section.
5703
5704	* objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
5705	copying everything else, to let it fiddle with the file in its
5706	final state.
5707
5708	* objdump.c: Include libiberty.h.
5709	(display_target_list): If a format fails, just go on to the next
5710	one.  Check return value of bfd_set_format.
5711	(display_info_table): Likewise.  Don't increment loop variable in
5712	for loop test, since that skips the first element.
5713	(display_target_tables): Rewrite loop for clarity.  Ensure that it
5714	always prints at least one element.
5715
5716	* nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
5717	sections header.  Rename from cygnus_sections to cygnus_ext.
5718
5719Thu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5720
5721	* objdump.c (_DUMMY_NAME_): Don't define.
5722	(display_target_list): Use tmpnam to get a file name rather than
5723	using _DUMMY_NAME_.  Unlink it when done.
5724	(display_info_table): Likewise.
5725
5726	* nlmconv.c (secsec): New static variable.
5727	(main): Create .nlmsections section in output BFD.  Store
5728	information about it in sections header.
5729	(setup_sections): Allocate space in sections header.
5730	(copy_sections): Copy zero sized sections.  Put information about
5731	each section in the sections header.
5732
5733Wed Apr 20 14:34:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5734
5735	* nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
5736	Change caller.  Create custom header for new PowerPC NetWare
5737	format.
5738
5739	* Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
5740	* nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
5741	* nlmheader.y: Include bfd.h with "", not <>.
5742
5743Wed Apr 13 10:52:50 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5744
5745	* objdump.c: Do an ifdef on __GO32__, not unix.
5746
5747Wed Apr  6 21:54:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5748
5749	Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
5750	(--dynamic-reloc) arguments to objdump.
5751	* nm.c (dynamic): New static variable.
5752	(long_options): Added "dynamic".
5753	(usage): Mention -D and --dynamic.
5754	(main): Add D to getopt string.  Handle -D by setting dynamic.
5755	(display_rel_file): If dynamic is non-zero, read dynamic symbols
5756	rather than normal symbols.
5757	* nm.1: Updated for -D (--dynamic) option.
5758	* objdump.c (dump_dynamic_symtab): New global variable.
5759	(dump_dynamic_reloc_info): New global variable.
5760	(dynsyms, dynsymcount): New global variables.
5761	(usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
5762	(long_options): Added "dynamic-reloc" and "dynamic-syms".
5763	(slurp_symtab): If no symbols, return rather than exit.
5764	(slurp_dynamic_symtab): New function.
5765	(display_bfd): Handle dump_dynamic_symtab and
5766	dump_dynamic_reloc_info.
5767	(dump_symbols): Take new dynamic argument, indicating whether to
5768	display dynamic symbols.
5769	(dump_relocs): Move most printing into dump_reloc_set.
5770	(dump_dynamic_relocs): New function.
5771	(dump_reloc_set): New function, extracted from dump_relocs.
5772	(main): Add R and T to getopt string.  Handle -T by setting
5773	dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
5774	* objdump.1: Updated for -R (--dynamic-reloc) and -T
5775	(--dynamic-syms) options.
5776	* binutils.texi: Updated for new nm and objdump options.
5777
5778Wed Mar 30 15:52:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5779
5780	Update for recent BFD changes to symbol and reloc reading.  Rename
5781	all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
5782	Also:
5783	* coffgrok.c (symcount): Change to long.
5784	(do_sections_p1): Check for error return from
5785	bfd_get_reloc_upper_bound.  Change relcount to long, and check for
5786	error from bfd_canonicalize_reloc.
5787	(coff_grok): Change storage to long.  Check for error from
5788	bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
5789	* nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
5790	i to long.  Check for error from bfd_get_symtab_upper_bound and
5791	bfd_canonicalize_symtab.
5792	(copy_sections): Change reloc_size and reloc_count to long.  Check
5793	for error from bfd_get_reloc_upper_bound and
5794	bfd_canonicalize_reloc.
5795	(mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
5796	reloc_count_ptr argument to long *.  Make corresponding changes to
5797	variables loaded from *reloc_count_ptr.
5798	* nm.c (display_rel_file): Change storage and symcount to long.
5799	Check for errors from bfd_get_symtab_upper_bound and
5800	bfd_canonicalize_symtab.
5801	* objcopy.c (filter_symbols): Change symcount, src_count and
5802	dst_count to long.
5803	(copy_object): Change symcount to long.  Pass another argument to
5804	fprintf.  Check for errors from bfd_get_symtab_upper_bound and
5805	bfd_canonicalize_symtab.
5806	(copy_section): Change relcount to long.  Check for errors from
5807	bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
5808	(mark_symbols_used_in_relocations): Change relcount and i to long.
5809	Check for errors form bfd_get_reloc_upper_bound and
5810	bfd_canonicalize_reloc.
5811	* objdump.c (storage): Remove global variable.
5812	(symcount): Changed to long.
5813	(slurp_symtab): New local variable storage.  Check for errors from
5814	bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
5815	(remove_useless_symbols): Change return value and count to long.
5816	(objdump_print_address): Change min, max, thisplace and i to long.
5817	(disassemble_data): Change i to long.
5818	(dump_symbols): Change count to long.
5819	(dump_relocs): Change relcount to long.  Check for errors from
5820	bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
5821	(display_info_table): Add casts when passing LONGEST_ARCH for
5822	printf %* argument.
5823
5824Tue Mar 29 14:59:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5825
5826	* nm.c (display_archive): Close each archive element after it has
5827	been displayed.
5828	* objdump.c (display_file): Likewise.
5829
5830Mon Mar 28 13:04:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5831
5832	* configure.in: Change error message to refer to bfd/config.bfd
5833	rather than bfd/configure.in.
5834
5835Sun Mar 27 16:23:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
5836
5837	* More fixes for object formats which allow multiple sections
5838	with the same name:
5839	* objcopy.c (setup_section): Make a new output section even if
5840	one already exists with the given name.
5841	(copy_section): Use isection->output_section rather than trying
5842	to look the output section up by its (possibly non-unique) name.
5843
5844	* Makefile.in (install-info): Look for binutils.info in the
5845	current directory, then in $(srcdir).  Don't use $<.
5846
5847Mon Mar 21 12:55:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5848
5849	* objdump.c (objdump_print_address): Make static.  Declare with
5850	prototype.  Change vardiff from int to bfd_signed_vma.  Correct
5851	binary search termination condition.  When looking for same
5852	section symbol in relocatable file, handle final symbol correctly.
5853
5854Sun Mar 20 11:26:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
5855
5856	* Makefile.in: Avoid bug in hpux sed.
5857
5858	* objcopy.c: Changes to keep it from stripping symbols used
5859	in output relocations.
5860	(mark_symbols_used_in_relocations): New function.  Mark symbols
5861	used in output relocations with BSF_KEEP.
5862	(filter_symbols): Do not strip symbols marked with BSF_KEEP.
5863	(copy_object): Reorder actions.  First setup sections, then
5864	build the output symbol table, then copy the section contents.
5865
5866Fri Mar 18 10:53:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5867
5868	* ar.c (write_archive): Allocate space for the null byte.  From
5869	Robert Lipe <robertl@arnet.com>.
5870
5871Thu Mar 17 16:20:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5872
5873	* Makefile.in: Built nm.new and strip.new to avoid problems with
5874	collect when . is in PATH.
5875	(STRIP_PROG): Change from strip to strip.new.
5876	(NM_PROG): Change from nm to nm.new.
5877	(install): Remove the .new when installing.
5878
5879Wed Mar 16 16:27:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5880
5881	* nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
5882	symbol for which we build a stub.
5883	(powerpc_mangle_relocs): Only reset TOC pointer for a call to a
5884	symbol with BSF_DYNAMIC flag set.
5885
5886Tue Mar 15 23:04:13 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
5887
5888	* objcopy.c (filter_symbols): Use bfd_is_local_label to determine
5889	if a symbol represents a compiler-generated local label.
5890	(copy_object): Give the BFD backends a chance to copy any private
5891	bfd data from the input BFD to the output BFD.
5892	(setup_section): Give the BFD backends a chance to copy any private
5893	section data from the input section to the output section.
5894
5895Mon Mar 14 11:15:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
5896
5897	* objcopy.c (mangle_section): Delete unused function.
5898	(setup_section): Set osection here instead of calling
5899	mangle section to do it.
5900
5901Mon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5902
5903	* ar.c (write_archive): Close inarch before unlinking it.
5904
5905Fri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5906
5907	* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
5908	powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
5909	the start and end symbols are not in the text section.
5910	(struct powerpc_stub): New struct definition.
5911	(powerpc_stubs, powerpc_stub_insns): New static variables.
5912	(powerpc_initial_got_size): New static variable.
5913	(powerpc_build_stubs): New function.
5914	(powerpc_resolve_stubs): New function.
5915	(powerpc_mangle_relocs): Clear extraneous data in .got section.
5916	Rearrange reloc handling to handle ELF relocs that are not
5917	partial_inplace.  Resolve PC relative relocs.
5918
5919Wed Mar  9 13:48:11 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
5920
5921	* ar.c (move_members): Fix it so that the abi positional modifiers
5922	don't delete all archive members following the insert point.
5923
5924Tue Mar  8 13:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
5925
5926	* coffgrok.[ch]: New files, understand coff objects.
5927	* coffdump.c: Uses coffgrok to dump out the debug info of a coff
5928	file.
5929	* sysroff.info: Description of a SYSROFF object file.
5930	* sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
5931	header files and a printer.
5932	* srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
5933	file to a SYSROFF file.
5934
5935Sat Feb 26 13:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
5936
5937	* ar.c (do_quick_append): Pad with a genuine character 10,
5938	rather than whatever '\n' might happen to be.
5939
5940Tue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
5941
5942	* nlmconv.c (main): Ignore debugging symbols when looking for
5943	special symbols by name.
5944
5945Sun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
5946
5947	* nlmconv.c: Include libiberty.h.
5948
5949	Support for PowerPC NetWare.
5950	* nlmconv.c (main): For PowerPC NetWare, automatically define the
5951	special symbols __toc_start.
5952	(select_output_format): Handle bfd_arch_powerpc.
5953	(mangle_relocs): Likewise.
5954	(powerpc_mangle_relocs): New function.
5955
5956Thu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
5957
5958	* ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
5959	size.c: Use bfd_get_error and bfd_set_error and new error names.
5960
5961Fri Feb 11 15:54:51 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
5962
5963	* objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
5964
5965Mon Feb  7 19:45:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5966
5967	* objdump.c (disassemble_data): Handle bfd_arch_powerpc.
5968
5969Sun Feb  6 22:08:20 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
5970
5971	* strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
5972	Call xmalloc_set_program_name.
5973
5974Fri Feb  4 10:46:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
5975
5976	* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
5977	can do arithmetic on it.
5978
5979Thu Feb  3 14:06:41 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
5980
5981	* objdump.c (dump_section_stabs, read_section_stabs,
5982	print_section_stabs): Functions broken out of dump_stabs_1.
5983	Free the stabs and strings when done with them.
5984
5985Wed Feb  2 13:42:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
5986
5987	* nlmconv.c (main): Use bfd_get_flavour instead of struct member.
5988	* ar.c (print_contents, extract_file), size.c
5989	(print_berkeley_format, print_sysv_format): Use bfd_get_filename and
5990	bfd_my_archive instead of dereferencing the structs directly.
5991
5992	* ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
5993	Indent.  Remove DEFUNs.
5994
5995	* nlmconv.c (main), objcopy.c (copy_file): Print matching formats
5996	if ambiguous match.
5997	* nm.c (display_file, display_archive), size.c (display_bfd):
5998	Eliminate gotos.
5999	Print matching formats if there is an ambiguous match.  Use
6000	bfd_nonfatal instead of hardcoded error message if nothing matches.
6001
6002	* arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
6003	abfd->filename.
6004
6005	* nm.c (display_archive): New function, from code in display_file.
6006	(display_rel_file): Renamed from do_one_rel_file.
6007
6008	* size.c: Indent.
6009	(display_archive): New function from code in display_file.
6010	(display_file): Check bfd_close error return.
6011
6012	* strings.c (strings_object_file): Check bfd_check_format
6013	error return.
6014
6015	* strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
6016
6017	* bucomm.c: Delete references to exit_handler.  It wasn't set
6018	anywhere, and now that we're using the libiberty xmalloc, it
6019	wouldn't always get called before exiting.
6020	(list_matching_formats): Function moved from objdump.c.
6021	* bucomm.h: Declare it.
6022
6023	* objdump.c (disassemble_data): Move some variable decls closer to
6024	their use.  Add some comments.  Replace a nested block with a
6025	return.
6026
6027Mon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
6028
6029	* objdump.c (display_target_list, display_info_table): Check that
6030	the bfd of the dummy output file is not null.
6031
6032Wed Jan 26 13:13:18 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6033
6034	* objcopy.c (filter_bytes): New function.
6035	(copy_section): Call it.
6036	(copy_options, copy_usage, copy_main): Add --byte option to
6037	activate it.  Appropriate the -b option (which was an undocumented
6038	synonym for -F) for it, also.  Add --interleave, -i option for
6039	additional control.
6040	(setup_section, copy_section, mangle_section): Renamed with no `s'
6041	on the end.
6042	* objcopy.1, binutils.texi: Document the new options.
6043
6044	* objdump.c (display_target_tables, display_target_list):
6045	New functions broken out of display_info.
6046	Eliminate some magic constants.  Use more meaningful variable names.
6047	(dump_bfd_header): New function broken out of display_bfd.
6048	(dump_section_header): New function broken out of dump_headers.
6049	(remove_useless_symbols): Don't shadow global variable name with
6050	parameter.
6051	(objdump_print_address): Fix backward test.
6052
6053Tue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
6054
6055	* bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
6056	* objdump.h: Removed.
6057
6058Mon Jan 24 13:29:02 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6059
6060	* objdump.c (display_file): Remove call to list_matching_formats.
6061	It would never be called.
6062	(list_matching_formats): Take an arg giving the list of matching
6063	formats.
6064	(display_bfd): Pass the arg, and get it filled in by calling
6065	bfd_check_format_matches instead of bfd_check_format.
6066	(display_info, display_info_table): target_vector was renamed to
6067	bfd_target_vector.
6068
6069	* binutils.texi (objdump): Note some limitations of -h section
6070	address printing.
6071
6072Sat Jan 22 16:20:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
6073
6074	* Makefile.in (MALLOC): Set to emptiness by default.
6075	(ALL_CFLAGS): Add and use.
6076	(arparse.h): Make it depend on arparse.y.
6077	* ar.c (libbfd.h): Don't require to be in ../bfd.
6078	* objdump.c (comp): Rename to compare_symbols.
6079
6080Fri Jan 21 20:22:30 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6081
6082	* objdump.c (list_matching_formats): If the file format is ambiguous,
6083	print the matching names so the user can choose one.
6084	(display_bfd): Call it.
6085	(display_file): Call it.
6086
6087Fri Jan 21 19:17:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6088
6089	* objdump.c (disassemble_data): Support bfd_arch_rs6000.
6090
6091Mon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
6092
6093	* objdump.c (stab_name): Allocate dynamically.
6094	(stab_print): Use pointers to strings instead of char arrays.
6095	(dump_stabs): Change alloc and init of arrays appropriately.
6096	(dump_stabs_1): Always decide whether to print stab_name or
6097	the stab's type number, if unnamed.
6098
6099Fri Jan 14 14:42:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6100
6101	* objcopy.c (strip_main, copy_main): Don't clobber the input file
6102	if copy_file fails.
6103
6104	* nlmconv.c (main): Warn about an attempt to use a shared library
6105	with uninitialized data.
6106
6107	* nlmconv.c (setup_sections): Make sure that we align the
6108	output_offset of each input section appropriately.
6109
6110Thu Jan 13 17:32:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6111
6112	* objdump.c (dump_relocs): Don't crash if section name is NULL.
6113
6114Tue Jan 11 19:46:33 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6115
6116	* filemode.c (filemodestring): Commented out; not used.
6117	(mode_string): Use POSIX definitions.
6118	(ftypelet): Likewise.
6119	(rwx): Removed; no longer used.
6120	* bucomm.c: Include bucomm.h.
6121	(bfd_nonfatal, bfd_fatal): Argument is const.
6122	(fatal): Make __STDC__ version.
6123	* bucomm.h (mode_string): Declare.
6124	* Makefile.in (bucomm.o): Depend upon bucomm.h
6125
6126Sun Jan  9 12:03:20 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
6127
6128	* bucomm.c (xmalloc, xrealloc): Deleted.
6129	* bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
6130	libiberty version of functions.
6131
6132Thu Jan  6 06:18:15 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6133
6134	* binutils.texi: Add a chapter summarizing the ways to select
6135	aspects of the target for each program.
6136
6137	* objdump.c (long_options, usage): Add long equivalents for all
6138	remaining short options that lacked them.
6139	* binutils.texi objdump.1: Document them.
6140
6141	* size.c (usage): Tweak usage message.
6142	* size.1: Add missing `=' in examples.
6143
6144	* binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
6145	Use "--target=bfdname" as the option to select the BFD target,
6146	like nm and size already do.
6147	Reserve "--format=format" for textual output selection options, but
6148	for now keep old option names as obsolete for backward compatibility.
6149
6150	* strings.c (main, strings_object_file, usage): Add --target option.
6151	* binutils.texi strings.1: Document it.
6152
6153Sat Jan  1 13:58:24 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6154
6155	* ar.c (main): Add \n in error message.
6156
6157Thu Dec 23 12:23:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6158
6159	gcc -Wall lint:
6160	* ar.c (main): Put parens around assignment used as truth value.
6161	* objcopy.c (strip_main): Remove unused variables.  Return 0.
6162	(copy_main): Remove unused variables.  Return 0.
6163	* objdump.c (display_bfd): Declare return value as void.
6164	(stab_print): Use "" instead of 0 to initialize array.
6165	(dump_stabs_1): Print vma using printf_vma.
6166	(display_info): Put parens around assignment used as truth value.
6167	* strings.c (print_strings): Cast printf arguments.
6168
6169	* objcopy.c (copy_main): Use copy_options, not strip_options.
6170
6171	* nlmheader.y (command): Warn about illegal date values.
6172
6173Wed Dec 15 11:18:03 1993  David J. MacKenzie  (djm@frosty.eng.umd.edu)
6174
6175	* bucomm.c bucomm.h: Run through indent.  De-ansidecl-ify.
6176	(bfd_nonfatal): New function.
6177	(bfd_fatal): Call it.
6178
6179	* objcopy.c (smart_rename): Do a copy if the dest file has
6180	multiple hard links.  Remove source file on successful copy.
6181	Try to preserve mode and owner on successful rename.
6182
6183	* objcopy.c: Run through indent.  Clean up a bit.
6184	Make global variables static.
6185	Make {input,output}_{target,filename}, show_version local
6186	to various functions.
6187	New global variable `status' for exit status.
6188	(strip_main, copy_main): New functions with code from main.
6189	(nonfatal): New macro.  Use it globally instead of bfd_perror and
6190	bfd_fatal.
6191
6192	(copy_object): Call mangle_sections with bfd_map_over_sections.
6193	(mangle_sections): Adjust for new calling convention.
6194
6195Fri Dec 10 11:28:11 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
6196
6197	* nlmheader.y (command): Accept MAP and FULLMAP without arguments.
6198	* nlmconv.c (main): Change error message for MAP and FULLMAP.
6199
6200Thu Dec  9 17:47:19 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
6201
6202	* nlmconv.c (main): Warn about imported symbols that are not in
6203	the IMPORT list even if the IMPORT keyword is not used.
6204
6205	* nlmconv.c (debug, unlink_on_exit): New static variables.
6206	(long_options): Add "debug" and "linker".
6207	(main): Handle -d and -l arguments.  Make command line input and
6208	output files optional.  Parse the command file before opening the
6209	BFD's, which requires storing more information in local variables.
6210	If INPUT names multiple files, link them together.  Use OUTPUT for
6211	the output file name if not named on command line.
6212	(show_usage): Changed for new options.
6213	(link_inputs): New function to automatically invoke linker to
6214	handle multiple INPUT files.
6215	(choose_temp_base_try, choose_temp_base, pexecute): New functions,
6216	mostly copied from gcc/gcc.c.
6217	* nlmconv.h (input_files, output_file): Declare.
6218	* nlmheader.y (input_files, output_file): Define.
6219	(command): Support INPUT with a string_list argument.  Support
6220	OUTPUT.
6221	(string_list): Renamed from module_list.
6222	* Makefile.in (nlmconv.o): Define LD_NAME based on
6223	program_transform_name.
6224
6225Wed Dec  8 10:09:04 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
6226
6227	* nlmheader.y (nlmheader_identify): New function.  Use it to print
6228	the program name just once, instead of with every error message.
6229
6230Mon Dec  6 16:11:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6231
6232	* nlmconv.c (long_options): Changed --header-info to --header-file
6233	to match documentation and usage message.
6234
6235Sun Dec  5 01:31:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
6236
6237	* objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
6238	in a relocation.
6239
6240Thu Dec  2 16:00:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6241
6242	* nlmconv.c (main): Change various types from bfd_size_type to
6243	size_t, since they have to be arguments to fread and fwrite.
6244	Change set from char * to unsigned char *.
6245	(select_output_format): Make mach argument unsigned.  Handle
6246	bfd_arch_alpha.
6247	(setup_sections): Don't copy the .reginfo section of an ECOFF
6248	file.  Call bfd_set_reloc to initialize the relocation fields.
6249	(copy_sections): Don't copy the .reginfo section of an ECOFF file.
6250	Combine all relocs for a section.
6251	(mangle_relocs): Change type of relocs to permit specific
6252	functions to change it.  Call alpha_mangle_relocs for alpha,
6253	default_mangle_relocs for other architectures.
6254	(default_mangle_relocs): New function.  Adjust the address of all
6255	relocs by the output_offset.
6256	(i386_mangle_relocs): Change type of relocs argument.  Cast length
6257	argument to memmove to size_t.
6258	(alpha_mangle_relocs): New function.
6259
6260Wed Nov 17 17:38:58 1993  Sean Eric Fagan  (sef@cygnus.com)
6261
6262	* nlmconv.c (select_output_format): Use nlm32-sparc for
6263	bfd_arch_sparc.
6264
6265Wed Nov 17 14:41:35 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
6266
6267        * nlmconv.1:   added man page
6268	* objcopy.1:   fixed format errors
6269
6270Wed Nov 17 12:03:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6271
6272	* Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
6273
6274Wed Nov 17 04:50:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6275
6276	* strings.1: Fix typo.
6277
6278Mon Nov 15 12:03:20 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
6279
6280	* Makefile.in (DISTSTUFF): Build "info".
6281	(VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
6282
6283Sun Nov 14 00:27:24 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
6284
6285	* objdump.c (dump_stabs): Handle stabs-in-som as implemented
6286	by the new BFD SOM assembler.
6287
6288Sat Nov 13 07:14:05 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
6289
6290	* ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
6291	strings.1 strip.1: Replace \(em in NAME section with \- so
6292	makewhatis can grok it.
6293
6294Tue Nov  9 15:22:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6295
6296	* nlmconv.c (i386_mangle_relocs): Adjust reloc address by
6297	section output_offset.
6298
6299Fri Nov  5 12:11:52 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
6300
6301	* binutils.texi:  added nlmconv chapter
6302
6303Wed Nov  3 16:10:50 1993  Jeffrey Wheat  (cassidy@cygnus.com)
6304
6305	* Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
6306
6307Wed Nov  3 15:09:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
6308
6309	* Makefile.in (distclean): Don't get rid of dvi or info files.
6310
6311Tue Nov  2 13:29:59 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
6312
6313	* objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
6314
6315Fri Oct 29 16:02:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6316
6317	* binutils.texi: Move objcopy docs into alphabetical order.
6318
6319	* objdump.c: Use xmalloc instead of malloc.
6320
6321Fri Oct 29 11:11:14 1993  Stan Shebs  (shebs@rtl.cygnus.com)
6322
6323	* objdump.c (info): Rename to formats_info.
6324	(dump_stabs_1): Better comments and formatting.
6325
6326Thu Oct 28 19:43:16 1993  Stan Shebs  (shebs@rtl.cygnus.com)
6327
6328	* ar.c (main): Always create the archive when quick appending,
6329	even if no input files have been given.
6330
6331Wed Oct 27 12:03:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6332
6333	* nlmconv.c (main): Set sharedDebugRecordOffset and
6334	sharedDebugRecordCount fields in extended header.
6335
6336	* nlmconv.c (main): Force moduleName field to upper case.
6337
6338Mon Oct 25 16:45:42 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6339
6340	* objcopy.c (main): Give a usage message if there are too many
6341	arguments.
6342
6343Mon Oct 25 10:37:08 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
6344
6345	* Makefile.in (install-info): Rewrite to take advantage of VPATH,
6346	so FSF distributions (with info files in $(srcdir)) install
6347	properly.
6348	(DISTSTUFF): Build nlmheader.c too.
6349
6350Fri Oct 22 11:43:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
6351
6352	* ar.c (program_name): Don't define here.
6353	* objdump.c: Include "bucomm.h".
6354	(xmalloc): Don't declare here.
6355	(program_name): Don't define here.
6356	(program_version): Fixed type in declaration.
6357	* size.c: Include "bucomm.h".
6358	(program_name): Don't declare here.
6359
6360Fri Oct 22 14:10:41 1993  Mark Eichin  (eichin@cygnus.com)
6361
6362	* objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
6363
6364Fri Oct  1 12:43:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6365
6366	* nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
6367	relocs against defined symbols in the same section.
6368
6369Thu Sep 30 16:46:26 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
6370
6371	* Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
6372
6373Sat Sep 25 18:09:29 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6374
6375	* objcopy.c (simple_copy, smart_rename): New functions.
6376	(main): Use them.
6377
6378Fri Sep 24 15:38:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6379
6380	* Makefile.in (clean, distclean): Recurse into testsuite.
6381
6382Thu Sep 23 01:05:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6383
6384	* objcopy.c (setup_sections, copy_sections): If stripping, don't
6385	copy SEC_DEBUGGING sections.
6386	* objdump.c (dump_headers): Print SEC_DEBUGGING flag.
6387
6388	* objdump.c (usage): Mention --stabs.
6389
6390	* objcopy.c (copy_object): Copy all applicable file flags.
6391	(copy_file): Don't copy EXEC_P specially here.
6392
6393Mon Sep 20 19:28:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6394
6395	* nlmconv.c (main): Adjust data section size to correspond to bss
6396	alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
6397	a different section.  Use time_t for time variable.
6398	(setup_sections): Only put sections with contents in output NLM.
6399	(i386_mangle_relocs): No symbols are common at this point.  Add
6400	casts to avoid warnings.
6401
6402Fri Sep 10 11:00:40 1993  Stan Shebs  (shebs@rtl.cygnus.com)
6403
6404	* objdump.c: Made the --stabs option work for stabs-in-coff.
6405	(ELF_STAB_DISPLAY): Removed.
6406	(dump_elf_stabs): Renamed to dump_stabs, changed to run for
6407	any object file format.
6408	(dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
6409	generic BFD routines for non-ELF case, changed format of message
6410	for no-section-found case.
6411	(display_bfd): Always call dump_stabs if requested.
6412	(dump_data): Call bfd_section_size to get section size.
6413
6414Fri Sep 10 08:12:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6415
6416	* Makefile.in (install): Don't put strings in tooldir/bin.
6417
6418Mon Sep  6 15:39:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6419
6420	* nlmconv.c (total_bss_size): Removed.
6421	(main): Set the bss vma to always follow the data section.  Move
6422	symbols into new sections, and adjust values by output_offset.
6423	(setup_sections): Don't copy all sections, but instead point all
6424	text sections to .text, all data sections to .data, and all bss
6425	sections to .bss.
6426	(copy_sections): Adjust accordingly.
6427
6428Thu Sep  2 12:34:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6429
6430	Only build nlmconv if configured for a NetWare target.
6431	* configure.in: If we have some *-*-netware* target, or are using
6432	all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
6433	* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
6434	$(NLMCONV_PROG).
6435
6436Tue Aug 31 14:13:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
6437
6438	* objdump.c (ARCH_all): Define ARCH_hppa too.
6439	(dump_headers): Don't test for SEC_BALIGN if it's not defined by
6440	bfd.h.
6441
6442Tue Aug 31 13:29:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6443
6444	* nlmconv.c (main): Force creation of .bss section.  Set up the
6445	sections before looking at the symbols.  Move all common symbols
6446	into .bss section.  Automatically define _edata and _end.  Only
6447	export symbols in the export list, with multiple prefixes if
6448	necessary.  Warn if no version.  Always create extended header.
6449	Set date automatically if not already set.
6450	(setup_sections): Count size of bss sections.
6451	(mangle_relocs, i386_mangle_relocs): Accept section argument, and
6452	take reloc_count as a changeable pointer; changed callers.
6453	(i386_mangle_relocs): Remove PC relative relocs within a section,
6454	as they require no adjustment.
6455	* nlmheader.y: Fixed memory allocation throughout: token STRING is
6456	now allocated on the heap, and freed if not needed.  Null
6457	terminated copyright message.  Accept version with only two
6458	strings.
6459	(symbol_list_opt): New nonterminal, either symbol_list or empty.
6460	(symbol_list): Use left recursion to avoid overflowing parser
6461	stack.
6462	(yylex): Rearranged beginning of line check.  Accept quoted
6463	strings using single quotes.  End generic argument at comment
6464	character or parentheses.
6465	(string_list_append): Fixed.
6466	(string_list_append1): New function.
6467
6468	* bucomm.h: The first argument to xrealloc is PTR, not char *.
6469	* bucomm.c (xrealloc): Use PTR rather than char *.
6470	* Makefile.in (objdump.o): Depend upon config.status to notice
6471	--with-targets changes.
6472	(nlmconv.o): Depend upon bucomm.h.
6473
6474Tue Aug 17 09:46:01 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6475
6476	* configure.in: Don't pass cpu to config.bfd.
6477
6478Thu Aug 12 16:43:04 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6479
6480	* Makefile.in ($(NM_PROG)): Depend on demangle.o.
6481	(demangle.o): New target.
6482	(cplus-dem.o): Depend on it, to force compilation order when doing
6483	parallel compiles.
6484
6485	* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
6486	(struct output_fns print_symbol_info): Ditto.
6487	(long_options, usage, main): Add -C --demangle option.
6488	(print_symname): New function, demangling if requested.
6489	(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
6490
6491Wed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6492
6493	* Makefile.in: Put CFLAGS last in compilation rules and omit from
6494	linking rules.  Use ARCHDEFS to compile objdump.c.
6495	Update dependencies.
6496	* configure.in: Construct ARCHDEFS based on the BFD target makefile
6497	fragments.
6498	* objdump.c: Conditionalize calls to the print_insn_ARCH functions
6499	according to ARCHDEFS.
6500
6501Thu Aug 12 08:06:15 1993  Ian Lance Taylor  (ian@cygnus.com)
6502
6503	* ar.c: Removed obsolete and non-functional GNU960 code.
6504
6505Wed Aug 11 13:08:26 1993  Ian Lance Taylor  (ian@cygnus.com)
6506
6507	* size.c (berkeley_sum): New function.
6508	(bsssize, datasize, textsize): New global variables.
6509	(bss_section_name, data_section_name, text_section_name): Removed.
6510	(print_berkeley_format): Map berkeley_sum over all the sections,
6511	rather than only reporting sizes of specifically named sections.
6512	* Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
6513
6514Tue Aug 10 10:46:01 1993  Ian Lance Taylor  (ian@cygnus.com)
6515
6516	* nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
6517	convert object files into NetWare Loadable Modules.
6518	* Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
6519	(PROGS): Add NLMCONV_PROG.
6520	(nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
6521	targets.
6522
6523Thu Aug  5 15:48:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
6524
6525	* Makefile.in: define MAKEOVERRIDES to an empty string
6526
6527Wed Aug  4 17:08:08 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6528
6529	* objcopy.c (copy_file): Make failures to process a file nonfatal.
6530
6531Mon Aug  2 11:28:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6532
6533	* nm.c: Add -B option, like --format=bsd.
6534
6535Tue Jul 27 16:29:54 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6536
6537	* objcopy.c (copy_file): If the file is neither an object nor an
6538	archive, give an error rather than returning success.
6539
6540Mon Jul 19 16:13:40 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
6541
6542	* objdump.c (objdump_print_address): Prefer non-local symbols over
6543	local ones, and especially discriminate against debugging symbols.
6544	Also, for relocateable files, try to find a symbol in the current
6545	section, instead of picking one from some random section with a
6546	convenient value (read, section offset).
6547	(disassemble_data): Cast argument to malloc to size_t first.
6548	(dump_data): Likewise.
6549	(dump_relocs): If a single section name is specified, show relocs
6550	only for that section.  Otherwise, silently omit sections without
6551	relocs.  Format table nicely even if values are printed using 16
6552	digits instead of 8.
6553
6554Fri Jul 16 15:19:59 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6555
6556	* nm.c: Changes for final version of POSIX.2.
6557	(print_symbol_filename_{bsd,sysv,posix}): New functions.
6558	(formats): Add an element for a pointer to them.
6559	(print_symbols): Call it.
6560	(print_object_filename_posix, print_archive_member_posix): Produce
6561	output according to new POSIX.2 spec.
6562
6563	* strings.c (print_strings): Handle STREAM being NULL.
6564	(strings_a_section): Pass a NULL.
6565	(main): Don't open /dev/null.
6566
6567Thu Jul 15 12:44:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6568
6569	* objdump.c (disassemble_data): Handle the m88k.
6570	(display_bfd): Use bfd_errmsg, rather than just claiming that the
6571	bfd is not an object file.
6572
6573Mon Jul 12 17:55:34 1993  K. Richard Pixley  (rich@cygnus.com)
6574
6575	* Makefile.in (TAGS): make work again by naming directories
6576	  explicitly rather than depending on undefined macros.
6577	  (INSTALL_XFORM): correct bad install target.
6578
6579Fri Jul  2 16:58:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6580
6581	* strings.c: Doc fixes.
6582
6583Sun Jun 27 13:35:24 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6584
6585	* Makefile.in: Note dependencies on bucomm.h.
6586	(cplus-dem.o): Link c++filt with version.o.
6587
6588	* strings.c: Include bucomm.h and add prototypes to other decls.
6589	Remove -h option.
6590
6591	* bucomm.h: Declare xrealloc.
6592
6593	* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
6594	--help option.  Put "GNU" in the version message.
6595	(usage): Take stream and exit status as args.
6596	(main): Pass new args to usage.
6597
6598Fri Jun 25 23:12:12 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
6599
6600	* strings.c, strings.1: New files.
6601	* binutils.texi: Document strings.
6602	* Makefile.in: Add rules for it.
6603
6604Fri Jun 25 20:44:43 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
6605
6606	* objdump.c: Use size-independent bfd elf section names.
6607
6608Sun Jun 20 23:09:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
6609
6610	* objdump.c (objdump_print_address): Handle wide offsets by
6611	calling sprintf_vma.
6612
6613Fri Jun 18 14:29:12 1993  Per Bothner  (bothner@deneb.cygnus.com)
6614
6615	* objdump.c (syms2):  Removed unused variable.
6616	* objdump.c (remove_useless_symbols):  New function.
6617	* objdump.c (comp):  Simplify.
6618	* objdump.c (dis-assemble_data):  Make simpler and more
6619	efficient how we filter out useless symbols:  Just filter
6620	BEFORE the sort (using remove_useless_symbols).
6621	* objdump.c (objdump_print_address):  Simplify.
6622	Change output syntax to match gdb.
6623
6624Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
6625
6626	* Makefile.in: canonicalize install.sh; for use within
6627	this directory (and subdirs)
6628
6629Mon Jun 14 12:13:22 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
6630
6631	* Makefile.in (install, install-info): remove parentdir support,
6632	use INSTALL_XFORM; define INSTALL_XFORM
6633
6634Thu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
6635
6636	* objcopy.c (copy_object):  Fix bad size passed to xmalloc().
6637
6638Mon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
6639
6640	* Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
6641	* configure.in:  No longer need to configure to get sysdep.h.
6642	* objcopy.c (copy_object):  Fix symbol table handling.
6643
6644Fri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
6645
6646	* objcopy.c (filter_symbols):  Cannot filter the symbols
6647	in place, because that confuses the relocs, so take separate
6648	parameter for output array.
6649	* objcopy.c (sympp):  Make two variables: isympp and osympp.
6650	* objcopy.c (copy_object):  Allocate separate array (osympp)
6651	for filtered symbols.
6652
6653Fri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6654
6655	* Makefile.in: change recursion test to presence of a configured
6656	testsuite directory
6657
6658Thu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
6659
6660	* Makefile.in (underscore.c): Hack the backquoted command so it
6661	doesn't cause Solaris make to bomb.
6662
6663Thu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
6664
6665	* Makefile.in:  added c++filt and objcopy to MANPAGES variable
6666
6667Thu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6668
6669	* Makefile.in: rename LOADLIBES to EXTRALIBS
6670
6671Wed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
6672
6673	* c++filt.1, objcopy.1:  new man pages
6674
6675Fri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
6676
6677	* Makefile.in (install):  Also install ar and ranlib in
6678	$(tooldir)/bin;  needed for building libgcc.a.
6679	* objdump.c (objdump_print_address):  Fix the check
6680	"coincidental" label matches by dis-allowing undefined
6681	or com symbols.
6682
6683Thu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
6684
6685        * biutils.texi:  revised c++filt chapter
6686
6687Wed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
6688
6689	* Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
6690
6691Tue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
6692
6693	* objdump.c (slurp_symtab): Print warning for bad symbol table.
6694	(bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
6695	declarations and uses.
6696
6697	* Makefile.in (DISTSTUFF): Don't build binutils.mm.
6698
6699Fri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
6700
6701	* nm.c: Add -f/--format, -P/--portability, -t/--radix options.
6702	Make global variables static.
6703	(main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
6704	(set_print_radix, set_output_format,
6705	print_{object_filename,archive_filename,archive_member,symbol_info}
6706	{bsd,sysv,posix}): New functions.
6707	(display_file, print_symbols): Call them.
6708
6709	* ar.c: Improve error messages.
6710
6711	* nm.c (main): Handle long options that just set a flag.
6712
6713	* nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
6714	(main): Exit after printing the version number, per the GNU coding
6715	standards.
6716
6717Mon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
6718
6719	* README, Makefile.in:  Minor updates for 2.2.
6720
6721Fri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
6722
6723	* Makefile.in (underscore.c):  Automatically generate
6724	(using nm) a file with the variable prepends_underscore.
6725	* Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
6726	so that initial underscores get removed iff appropriate.
6727	* binutils.texi:  Preliminary documentation for c++filt.
6728	* Makefile.in, binutils.texi:  Set to version 2.2.
6729
6730	* NEWS:  Mention copy->objcopy renaming and new c++filt program.
6731
6732Wed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
6733
6734	* Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
6735	demangler via cplus-dem.o, rather than directly from the .c file.
6736
6737	* objcopy.c: Renamed from copy.c, updated comments accordingly.
6738	* Makefile.in, binutils.texi: Renamed copy to objcopy.
6739	* is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
6740	rename of copy to objcopy.
6741
6742Mon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
6743
6744	* binutils.texi (strip, -v option):  Fix typo.
6745
6746Fri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
6747
6748	* Makefile.in (RUNTEST): Define.
6749	(FLAGS_TO_PASS): Pass down RUNTEST.
6750
6751Tue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
6752
6753	* Makefile.in (DEMANGLER_PROG): Name it c++filt.
6754	(PROG): Also build and install COPY_PROG.
6755
6756Mon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
6757
6758	* Makefile.in:  Change definition of $(tooldir) to match FSF.
6759
6760Wed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
6761
6762	* size.c (usage): Add missing options.
6763	(main): Clean up option parser.
6764
6765	* objdump.c (usage): Add missing options.
6766	(display_file): Print program name before calling
6767	bdf_perror.
6768
6769	* nm.c (usage): Add missing options.
6770	(main): Clean up option parser.
6771	(display_file): Print program name before calling
6772	bdf_perror.
6773
6774	* copy.c (copy_usage, strip_usage): Add missing options.
6775
6776	* ar.c (usage): New function.
6777	(main): Call it.
6778	(open_inarch, do_quick_append): Print program name before calling
6779	bdf_perror.
6780
6781Thu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
6782
6783	* nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
6784
6785Mon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
6786
6787	* Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
6788	built binaries if they exist. (otherwise the path)
6789
6790Wed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
6791
6792	* Makefile.in: Changed check target to use DejaGnu.
6793
6794Thu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
6795
6796	* Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
6797	objdump.c: a29k and i960 are `disassemble' not `print'.
6798
6799	* objdump.c: Rename print_address to objdump_print_address
6800	and change parameters.
6801	(disassemble_data): Use objdump_print_address.
6802
6803Wed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
6804
6805	* objdump.c (disassemble_data): print_insn_sparc is now a
6806	`disassemble' not a `print'.
6807	Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
6808
6809	* objdump.c (disassemble_data): Use new read_memory_func stuff.
6810
6811Thu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
6812
6813	* objdump.c (fprintf): Declaration of variadic function had better
6814	be a prototype for ANSI C systems.
6815
6816Mon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6817
6818	* Makefile.in: rename test-install to install-check
6819
6820Fri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6821
6822	* objdump.c (disassemble_data): Add H8500.
6823
6824Fri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
6825
6826	* objdump.c (usage): Mention long options.
6827
6828Thu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
6829
6830	* nm.c:  Modify behavior of -o flag for archives to match
6831	BSD4.4 and Sunos 4:  Prefix archive name before each line.
6832
6833	* m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
6834	* i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
6835	* Makefile.in:  Adjust accordingly.
6836	* objdump.c:  Support new-style disassemblers (ones that use
6837	the interface of ../include/dis-asm.h).
6838
6839Thu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
6840
6841	* Makefile.in:  When making tar file, remove texinfo/*,
6842	except for texinfo/texinfo.tex.
6843	* ardup.c:  Add extern declaration of strdup.
6844	* Makefile.in (testsuite):  Add 'else true' since otherwise
6845	Ultrix /bin/sh complains.
6846
6847Wed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
6848
6849	* Makefile.in:  Set VERSION to 2.1.
6850	* README, NEWS: Updates.
6851	* nm.c:  Add -v as a synonym for -V.
6852
6853Tue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
6854
6855	* configure.in: added testsuite to configdirs.
6856	* Makefile.in: added support for building testsuite.
6857
6858Mon Feb 22 22:52:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
6859
6860	* objdump.c (disassemble_data):  Print function names when
6861	given by bfd_find_nearest_line.  If not - still print
6862	line numbers.
6863
6864Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
6865
6866	* binutils/testsuite: made modifications to testcases, etc., to allow
6867        them to work properly  given the reorganization of deja-gnu and the
6868	relocation of the testcases from deja-gnu to a "tool" subdirectory.
6869
6870Mon Feb 22 10:27:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
6871
6872	* objdump.c (dump_data): Free up section contents each time
6873	through the loop.  Reported by minyard@bnr.ca.
6874
6875Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
6876
6877	* binutils/testsuite: Initial creation of binutils/testsuite.
6878	Migrated dejagnu testcases and support files for testing nm to
6879	binutils/testsuite from deja-gnu.  These files were moved "as is"
6880	with no modifications.	This migration is part of a major overhaul
6881	of dejagnu.  The modifications to these testcases, etc., which
6882	will allow them to work with the new version of dejagnu will be
6883	made in a future update.
6884
6885Fri Feb 12 10:05:20 1993  Fred Fish  (fnf@cygnus.com)
6886
6887	* Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
6888	* Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
6889	* Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
6890	and rule.
6891	* Makefile.in (PROGS):  Add DEMANGLER_PROG.
6892
6893Tue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
6894
6895	* copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
6896	macro rather than checking for equality to bfd_com_section.
6897
6898Fri Jan  8 15:50:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6899
6900	* objdump.c (disassemble_data): Fix code to find first useless
6901	symbol.
6902
6903Thu Jan  7 13:13:31 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6904
6905	* objdump.c (disassemble_data): Use mips_print_insn for MIPS.
6906	Don't core dump if bfd_find_nearest_line returns false.
6907
6908Wed Jan  6 17:14:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6909
6910	* objdump.c (disassemble_data): know how to disassemble z8000s
6911	too.
6912
6913Wed Jan  6 15:16:27 1993  Per Bothner  (bothner@cygnus.com)
6914
6915	* arsup.h (interactive), bucomm.h (program_name):  Prefix
6916	with 'extern', to avoid warnings from some compilers.
6917
6918Wed Jan  6 15:14:11 1993  Per Bothner  (bothner@rtl.cygnus.com)
6919
6920	* arparse.y: fix unnecessary shift/reduce
6921
6922Tue Dec 22 15:46:56 1992  Per Bothner  (bothner@rtl.cygnus.com)
6923
6924	* Makefile.in:  Make check depend on all.
6925	* Makefile.in (distclean): Remove sysdep.h.
6926	* size.c:  Use %u format where appropriate.
6927	* objdump.c:  Standardize:  L_SET -> SEEK_SET.
6928	* objdump.c:  Use new macro bfd_asymbol_bfd.
6929	* configure.in:  Allow std-host as the default ${mys_host}.
6930
6931Thu Dec 17 19:38:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6932
6933	* Makefile.in: added dvi target, define and use TEXI2DVI
6934
6935Tue Dec 15 18:05:07 1992  Per Bothner  (bothner@cygnus.com)
6936
6937	* Makefile.in (dist):  Fix permissions before release.
6938	* size.c:  Use bfd_size_type (and long) where appropriate.
6939	* ar.c:  Make writing a map the default, to be compatible
6940	with SYSV and Posix.2.  Remove some bogus kludges that
6941	handled __.SYMDEF directly.
6942	* NEWS:  New file.
6943
6944Mon Nov  9 13:36:53 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6945
6946	* Makefile.in: flex no longer needs the -S flag
6947
6948Sat Nov  7 15:06:13 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6949
6950        * ar.c (extract_file): utime needs a pointer to a utimbuf
6951
6952	* Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
6953	the list (since some of the bfd/hosts/*.h files include other
6954	files from that directory)
6955
6956Fri Nov  6 00:12:51 1992  John Gilmore  (gnu@cygnus.com)
6957
6958	* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.
6959
6960Thu Nov  5 03:37:15 1992  John Gilmore  (gnu@cygnus.com)
6961
6962	Clean up some old BFD ansification macros.
6963
6964	* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
6965	It still remains as a local macro in gmalloc.c, which is derived
6966	from some other copy of GNU Malloc somewhere (FIXME).
6967
6968	* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
6969	fns really static.
6970	* arsup.h:  Declare extract_files.
6971
6972Mon Nov  2 12:42:11 1992  Ian Lance Taylor  (ian@cygnus.com)
6973
6974	* ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
6975	use utime and utimbuf structure, otherwise if USE_UTIME use utime
6976	and array of two longs, otherwise use utimes.
6977
6978Thu Oct 15 13:57:35 1992  Per Bothner  (bothner@cygnus.com)
6979
6980	* binutils.tex:  Document yesterday's changes to strip and copy.
6981
6982Wed Oct 14 13:22:14 1992  Per Bothner  (bothner@cygnus.com)
6983
6984	* copy.c:  Re-do command-line parsing to use getopt_long().
6985	Add long option names.  Re-think option letters to be more
6986	consistent.
6987	* copy.c:  New function filter_symbols() for stripping only
6988	debug-symbols and/or local symbols.  Use these to support
6989	the previously-missing options of the old FSF strip.
6990
6991Tue Oct 13 01:24:20 1992  John Gilmore  (gnu@cygnus.com)
6992
6993	* configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
6994	than repeating a copy of it here.
6995
6996Wed Oct  7 12:53:52 1992  Ken Raeburn  (raeburn@cygnus.com)
6997
6998	* copy.c (main): Even if is_strip, accept -d argument indicating
6999	alternate output format.  Needed by gdb for Nindy.
7000
7001	* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
7002
7003Tue Oct  6 16:33:56 1992  Jeffrey Osier  (jeffrey@cygnus.com)
7004
7005	* binutils.texi:  added documentation for "copy"
7006
7007Tue Oct  6 14:22:56 1992  Per Bothner  (bothner at PersSony)
7008
7009	* Makefile.in (*clean rules): Some cleaning up.
7010	* Makefile.in (dist): Make diststuff in gprof for a dist.
7011
7012	* ar.c (do_show_version):  New function.
7013	* ar.c (main):  Fix so "ar -V" works.
7014
7015Thu Oct  1 22:44:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7016
7017	* configure.in: now uses the cpu-vendor-os triple instead of
7018	nested cases.
7019
7020Fri Sep 25 22:41:08 1992  John Gilmore  (gnu@cygnus.com)
7021
7022	* i960-pinsn.c:  Change bzero to memset.
7023	* sparc-pinsn.c:  Change index to strchr.
7024
7025Mon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)
7026
7027	* m68k-pinsn (print_insn_arg, fetch_arg): added support for
7028	operands to memory management instructions, from WRS.
7029
7030Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)
7031
7032	* Makefile.in (install): if $(tooldir) exists, install nm and
7033	strip in $(tooldir)/bin.
7034
7035Thu Sep  3 11:57:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
7036
7037	* Makefile.in:  Let's call it version 2.0.
7038
7039Wed Sep  2 00:25:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
7040
7041	* Makefile.in:  Bump to version 0.98.
7042	* TODO, README:  Minor updates.
7043
7044	* Makefile.in:  Added mostlyclean, distclean rules,
7045	and cleaned up clean, realclean.
7046
7047Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)
7048
7049	* Makefile.in: map program names through program_transform_name
7050	when installing.
7051
7052Sun Aug 30 18:09:03 1992  Per Bothner  (bothner@rtl.cygnus.com)
7053
7054	* Makefile.in:  Bump to versions 1.97.90.
7055	* cplus-dem.c:  Removed.  Was nowhere used - and if some
7056	programs are changed to to demangling should now use the
7057	versions in libiberty.
7058
7059Thu Aug 27 12:58:09 1992  Brendan Kehoe  (brendan@cygnus.com)
7060
7061	* configure.in: add we32k
7062
7063Mon Aug 24 14:53:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7064
7065	* ar.c (map_over_members): if the element of the archive has a
7066	null name, fill it in.
7067
7068	* nm.c (do_one_rel_file): only warn if a bfd's flags say there
7069	will be symbols and there aren't any.
7070
7071Wed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)
7072
7073	* m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
7074
7075Tue Aug 18 20:45:48 1992  Rob Savoye  (rob@cygnus.com)
7076
7077	* nm.c objdump.c: Added support for a +version (-V)
7078	to print the version number.
7079
7080	* ar.c, copy.c: Added support for a -V option to print
7081	the version number.
7082
7083Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)
7084
7085	* config/mh-apollo68v: removed -g from CC definition.
7086
7087	* Makefile.in: always create installation directories.
7088
7089Mon Aug 17 18:33:41 1992  Per Bothner  (bothner@rtl.cygnus.com)
7090
7091	* m68k-pinsn.c:  Minor fix in style of output (don't use
7092	range to indicate floating point control registers).
7093
7094Tue Aug 11 23:42:21 1992  Per Bothner  (bothner@cygnus.com)
7095
7096	* ar.c (main):  Don't *always* set the verbose flag!
7097
7098Wed Aug  5 11:25:27 1992  Per Bothner  (bothner@rtl.cygnus.com)
7099
7100	* copy.c:  When is_strip (because it is invoked as the strip
7101	program), follow traditional argv processing:
7102	'strip file1 file2' now strips file1 and file2, rather
7103	than stripping file1 (as input), leaving output in file2.
7104
7105Mon Jul 27 16:28:08 1992  Per Bothner  (bothner@rtl.cygnus.com)
7106
7107	* objdump.c (display_info, display_info_table):  Call
7108	bfd_set_format() on dummy bfd before using it (twice).
7109	* ar.c:  Make sure archive is created on command 'r'
7110	even when no elements are inserted.  (Clean up and
7111	simplify some non-working related code.)
7112
7113Mon Jul 20 02:48:38 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
7114
7115	* configure.in: hppa support doesn't assume hp OS (from sef).
7116
7117Sat Jul 18 14:35:22 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7118
7119	* configure.in: recognize hppa hosts (bsd & hpux), error messages
7120	to stderr, not stdout
7121
7122Fri Jul 17 18:39:44 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7123
7124	* ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
7125	  size.1, sparc-pinsn.c, strip.1: removed rcsid's.
7126
7127Thu Jul 16 16:55:24 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7128
7129	* Makefile.dos: removed rcsid.
7130
7131Thu Jul 16 08:23:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7132
7133	* objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
7134
7135Tue Jun 30 20:26:15 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
7136
7137	* Makefile.in: Add program_suffix (parallel to program_prefix)
7138
7139Thu Jun 25 04:52:45 1992  John Gilmore  (gnu at cygnus.com)
7140
7141	* nm.c (sorters):  Lint.  Remove excess whitespace.
7142
7143Wed Jun 24 13:48:07 1992  Per Bothner  (bothner@cygnus.com)
7144
7145	* nm.c (valueof macro):  Add missing parentheses.
7146	(Their lack screwed up numeric_forward().)
7147
7148Sun Jun 14 10:33:27 1992  John Gilmore  (gnu at cygnus.com)
7149
7150	* objdump.c (dump_elf_stabs):  Also dump .stab.index and
7151	.stab.excl sections.
7152	(dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
7153	* objdump.1, binutils.texi:  Document new sections dumped.
7154
7155Fri Jun 12 22:23:35 1992  John Gilmore  (gnu at cygnus.com)
7156
7157	* size.c, objdump.c, bucomm.c:  Lint.
7158
7159Thu Jun 11 01:19:06 1992  John Gilmore  (gnu at cygnus.com)
7160
7161	* objdump.c (dump_elf_stabs): New feature: --stabs prints out a
7162	.stab section from an ELF file.  Installed under #ifdef
7163	ELF_STAB_DISPLAY so it can be easily disabled, since it requires
7164	bfd-internals header files and such.
7165	* objdump.1, binutils.texi:  Update for --stabs.  Also fix
7166	objdump's doc to use -- rather than + for long options.
7167	(FIXME:  Not yet fixed everywhere in binutils.texinfo.)
7168
7169Wed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7170
7171	* objdump.c(display_info), patches from
7172	mohring@informatik.tu-muenchen.de to print the table much more
7173	nicely.
7174
7175Thu May 28 13:36:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
7176
7177	* objdump.c:  Add another enum->int cast, for the sake of
7178	old compilers (such as PCC).
7179
7180Wed May 27 13:01:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
7181
7182	* arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
7183	Add declaration of strdup().
7184
7185Fri May 22 13:40:37 1992  Per Bothner  (bothner@cygnus.com)
7186
7187	* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
7188	rules, since these are used when building a distribution.
7189	* Makefile.in (arlex.c):  Don't re-direct output, since that
7190	leaves a bogus output files if it fails.
7191
7192	* arlex.l:  Make work with lex, for what it's worth.
7193	* Makefile.in:  Better lex support.
7194	* Makefile.in (dist):  Generate flex and bison outputs
7195	for distribution.
7196
7197Thu May 14 17:17:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7198
7199	* Makefile.in: get BISON definition right.
7200
7201Fri May  8 07:47:08 1992  K. Richard Pixley  (rich@cygnus.com)
7202
7203	* sanity.sh: default TMPDIR to ".".
7204
7205Thu May  7 12:34:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7206
7207	* binutils.texi: add doc for ar command language.
7208
7209Wed May  6 18:05:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7210
7211	* arparse.y: make END call ar_end
7212	* arsup.c (ar_end): added, deletes temp file if archive session
7213	aborted.
7214
7215
7216Wed May  6 11:08:53 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7217
7218	* Makefile.in: use bison & flex from ../ if they exist.  Also,
7219	  FLEX->LEX.
7220
7221	* sanity.sh: remove temporary directory when finished.
7222
7223Tue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
7224
7225	* Makefile.in:  Bump to version 1.97.
7226	* ar.c:  Declare errno for machines that need it.
7227
7228Mon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
7229
7230	* objdump.c (display_info):  Handle error cases without coredump.
7231	Close the dummy temporary file we open in the loop.
7232	* Makefile.in (arsup.o):  Add kludge to build with Sun Make.
7233
7234Fri May  1 16:20:23 1992  K. Richard Pixley  (rich@cygnus.com)
7235
7236	* Makefile.in: added test-install target.
7237
7238	* sanity.sh: new file.
7239
7240	* Makefile.in: use sanity test on make check.
7241
7242Tue Apr 21 13:38:37 1992  K. Richard Pixley  (rich@cygnus.com)
7243
7244	* Makefile.in: rework CFLAGS so that they can be passed on the
7245	  command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
7246
7247Wed Apr 15 14:33:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7248
7249	* arsup.c, arsup.h, arparse.y, arlex.l: support for archive
7250	scripting language.
7251
7252Fri Mar  6 21:54:53 1992  K. Richard Pixley  (rich@cygnus.com)
7253
7254	* Makefile.in: added check target.
7255
7256Thu Mar  5 21:35:49 1992  K. Richard Pixley  (rich@cygnus.com)
7257
7258	* Makefile.in: added clean-info target.
7259
7260Tue Mar  3 15:36:37 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7261
7262	* Makefile.in: remove $(COPY_PROG) from PROGS.  It shouldn't be
7263	  installed. added tooldir and program_prefix.
7264
7265Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
7266
7267	* Makefile.in, configure.in: removed traces of namesubdir,
7268	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
7269	  copyrights to '92, changed some from Cygnus to FSF.
7270
7271Sun Feb 16 12:53:02 1992  Per Bothner  (bothner at cygnus.com)
7272
7273	* Makefile.in:  Bump version to 1.96, and remove -beta
7274	suffix from distribution name.
7275	* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
7276	the signed value of a character (even if chars are unsigned).
7277	* sparc-pinsn.c:  Add new operand types.
7278
7279Thu Feb  6 12:14:19 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
7280
7281	* objdump.c (disassemble_data): don't print a section's contents
7282	if it's not loadable (eg bss)
7283
7284Tue Jan 28 11:11:06 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
7285
7286	* m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
7287	displacements don't get printed as large +ve ones.
7288
7289Fri Jan 24 14:47:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
7290
7291	* copy.c, nm.c, objdump.c, size.c : changed to use the
7292	new reloc scheme.
7293
7294
7295Mon Dec 30 18:34:41 1991  Per Bothner  (bothner at cygnus.com)
7296
7297	* bucomm.c (print_arelt_descr):  Tweek the output format
7298	so that 'ar tv' output follows Posix 1003.2/D11.
7299	Output is now also identical to Sun's (except __.SYMDEF).
7300
7301Mon Dec 30 06:09:53 1991  John Gilmore  (gnu at cygnus.com)
7302
7303	* Makefile.in:  Make `make' output more readable.
7304
7305Wed Dec 18 15:04:45 1991  Per Bothner  (bothner at cygnus.com)
7306
7307	* Makefile.in:  Bump to version 1.94.
7308
7309Wed Dec 11 16:48:09 1991  Steve Chamberlain  (sac at cygnus.com)
7310
7311	* ar.c: added "b" to fopens for dos
7312	* configdj.bat, makefile.dos new files from DJ
7313
7314Tue Dec 10 04:07:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
7315
7316	* Makefile.in: infodir belongs in datadir.
7317
7318Sat Dec  7 17:09:37 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
7319
7320	* bucomm.h: created to hold prototypes of bucomm.c
7321	* objdump.h: created to hold prototyes of objdump.c
7322	* am29k-pinsn.c: include objdump.h
7323	* ar.c: include bucomm.h, get ar.h from the right place and
7324	include libbfd.h
7325	* bucomm.c: defunize bfd_fatal
7326	* copy.c: include bucomm.h, lint.
7327	* i960-pinsn.h: include bucomm.h
7328	* m68k-pinsn.h: lint
7329	* nm.c: include bucomm.h, lint
7330	* objdump.c: lint
7331	* sparc-pinsn.c: include objdump.h
7332
7333
7334
7335Fri Dec  6 23:02:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
7336
7337	* Makefile.in: added standards.text support.  install using
7338	  INSTALL_PROGRAM and INSTALL_DATA.
7339
7340	* configure.in: configure now does all of it's work from objdir so
7341	  make file existence tests against ${srcdir}.
7342
7343Thu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
7344
7345	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
7346	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
7347	  and mandir now keyed off datadir by default.
7348
7349Wed Dec  4 22:42:03 1991  Per Bothner  (bothner at cygnus.com)
7350
7351	* Makefile.in:  Bump to version 1.93.
7352	* Makefile.in:  Add make-strip.o:maybe-strip.c dependency
7353	for make versions that provide half-baked VPATH-support (e.g. Sun's).
7354	* size.c:  Improvements suggested by
7355	"david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
7356	- Don't emit (Berkeley) headers if no files were found.
7357	- Return a non-zero return code on failure.
7358
7359Sat Nov 30 21:34:19 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
7360
7361	Changes due to include file renaming:
7362	* am29k-pinsn.c: a29k-opcode.h	-> opcode/a29k.h
7363	* sparc-pinsn.c: sparc-opcode.h	-> opcode/sparc.h
7364	* m68k-pinsn.c:	 m68k-opcode.h	-> opcode/m68k.h
7365	* nm.c:		 stab.gnu.h	-> aout/stab_gnu.h
7366
7367Tue Nov 19 19:20:43 1991  Per Bothner  (bothner at cygnus.com)
7368
7369	* README:  Mention MINIMIZE flag for bfd's make.
7370
7371Mon Nov 18 12:05:37 1991  Per Bothner  (bothner at cygnus.com)
7372
7373	* README:  Various improvements.
7374
7375Sun Nov 17 23:40:59 1991  Per Bothner  (bothner at cygnus.com)
7376
7377	* Makefile.in:  Bump to version 1.92.
7378	* version.c, Makefile.in:  Get version string from Makefile.
7379	* copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
7380	Make the same change that we earlier did for ar/ranlib:
7381	Generate two different binaries for strip and copy and use
7382	a global variable with different values to distinguish
7383	ostrip from copy.  (-1 means to use argv[0] to decide,
7384	so you can get the old behavior, but it is no longer the default).
7385	* copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
7386	* copy.c (main):  If is_strip==-1, compare last 5 chars
7387	of argv[0], not the whole path.
7388	* copy.c (main): Return 0, not 1.
7389	* copy.c (setup_sections):  Fix due to change in bfd_make_section
7390	now failing if asked for a duplicate section.
7391	* strip.c, ostrip.c:  Removed obsolete files.
7392	* ar.c, not-ranlib.c, maybe-ranlib.c:
7393	Change encoding of is_ranlib variable to be consistent
7394	with is_strip for strip.copy (i.e -1 to means use argv[0]).
7395
7396Thu Nov 14 20:11:02 1991  Per Bothner  (bothner at cygnus.com)
7397
7398	* version.c (program_version): Update to version 1.92.
7399
7400Tue Nov 12 16:17:53 1991  Per Bothner  (bothner at cygnus.com)
7401
7402	* ar.c (get_pos_bfd):  Previous fix was missing a "break".
7403
7404Thu Nov  7 08:55:56 1991  Steve Chamberlain  (sac at cygnus.com)
7405
7406	* am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
7407	encodings. (Thaks to David Wood)
7408
7409Sun Nov  3 14:50:23 1991  Per Bothner  (bothner at cygnus.com)
7410
7411	* Makefile.in ($(DIST_NAME).tar.Z), TODO:  Various fixes.
7412	* ar.c (get_pos_bfd): Fix to handling of before/after
7413	positioning options.
7414	* bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
7415	since libiberty contains vfprintf etc if otherwise missing.
7416	* m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
7417	type operands, as used by branch instructions.
7418	* nm.c:  Delegate printing of symbols to BFD,
7419	by using bfd_print_symbol to do the formatting.
7420
7421Mon Oct 28 11:20:47 1991  Steve Chamberlain  (steve at cygnus.com)
7422
7423	* ar.c (write_archive.c): added unlink before rename since some
7424	systems can't rename onto an existant file.
7425
7426Mon Oct 21 09:47:23 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
7427
7428	* nm.c: now doesn't crash if a symbol with no section and no
7429	SEC_ABS appears.
7430
7431Thu Oct 17 15:25:50 1991  Per Bothner  (bothner at cygnus.com)
7432
7433	* Makefile.in, version.c:  Bump to version 1.91.
7434
7435Wed Oct 16 11:45:36 1991  Per Bothner  (bothner at cygnus.com)
7436
7437	* Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
7438	i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
7439	* strip.c: Add or update Copyright notice.
7440	* TODO:  Add note on 'nm -a'.
7441	* version.c: Update version number to 1.90.
7442	* Makefile.in: Fix making of documentation for dist.
7443
7444Tue Oct 15 00:17:17 1991  Per Bothner  (bothner at cygnus.com)
7445
7446	* README: New file.
7447	* Makefile.in: New kludgy rules for making a tarfile.
7448	* Makefile.in: Fix bindir path.
7449
7450Mon Oct 14 17:34:29 1991  Roland H. Pesch  (pesch at cygnus.com)
7451
7452	* Makefile.in: add targets binutils.mm, binutils.me
7453
7454Fri Oct 11 22:44:21 1991  John Gilmore  (gnu at cygnus.com)
7455
7456	* Makefile.in:  Avoid Sun Make VPATH bugs by adding dependencies.
7457
7458Fri Oct 11 12:51:33 1991  Roland H. Pesch  (pesch at cygnus.com)
7459
7460	* Makefile.in: add target "binutils.ms"
7461
7462	* binutils.texinfo: minor restructuring for texi2roff comfort.
7463
7464Fri Oct 11 04:12:28 1991  John Gilmore  (gnu at cygnus.com)
7465
7466	Restructure configuration scheme for bfd, binutils, ld.
7467
7468	* include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
7469	* configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
7470	Change some config names to match other dirs.
7471	* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
7472	get defined first.
7473	* Makefile.in:  Use -I. to get sysdep.h.
7474
7475Wed Oct  9 22:42:56 1991  Per Bothner  (bothner at cygnus.com)
7476
7477	* nm.c (print_symbols):  Handle NULL name field of symbol.
7478	* Makefile.in: Removed spurious comment.
7479
7480Tue Oct  8 16:55:03 1991  Roland H. Pesch  (pesch at cygnus.com)
7481
7482	* binutils.texinfo: minor typos, phrasing, formatting fixes.
7483
7484Tue Oct  8 15:13:20 1991  Per Bothner  (bothner at cygnus.com)
7485
7486	* configure.in: Get host file from ../bfd/config, not config.
7487	* config/*: Remove config directory and its files.
7488
7489Tue Oct  8 13:58:59 1991  Roland H. Pesch  (pesch at cygnus.com)
7490
7491	* Makefile.in: new targets binutils.dvi, binutils.info
7492
7493	* binutils.texinfo: remove most remaining FIXME's, delete
7494	references to __.SYMDEF by name
7495
7496
7497Tue Oct  8 10:23:44 1991  Steve Chamberlain  (steve at cygnus.com)
7498
7499	* objdump.c (print_address) Print addresses nicely.
7500
7501Mon Oct  7 11:31:05 1991  Per Bothner  (bothner at cygnus.com)
7502
7503	* ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
7504	Make two different binaries for ar and ranlib, instead of
7505	distinguishing them at run time using argv[0].
7506	(Old behavior is still available if you "make ar_with_ranlib",
7507	but it is not the default.)
7508	* ranlib.sh (new):  An alternative one-line
7509	shell implementation of ranlib.
7510
7511Fri Oct  4 21:49:44 1991  John Gilmore  (gnu at cygnus.com)
7512
7513	* objdump.c:  Cope with renames of a few BFD types & enums.
7514
7515Fri Oct  4 19:08:09 1991  Roland H. Pesch  (pesch at cygnus.com)
7516
7517	* binutils.texinfo: add new file (rudimentary docn)
7518
7519Mon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
7520
7521	* config/hmake-news: Add new file (for Sony NEWSOS3).
7522	* bucomm.c (fatal):  Conditionally compile fatal() depending on
7523	MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
7524	* objdump.c (dump_headers):  Trivial output format change.
7525	* objdump.c (display_info): Loop over integers, not enums,
7526	to appease old compilers.
7527
7528Mon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
7529
7530        *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit
7531	object files.
7532
7533Thu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
7534     from bother
7535	* objdump.c (print_address): Make disasembled output more
7536	consistent with gdb and as: Add 0x when printing hex.
7537	Don't print extra leading zeros.
7538	Attempt to not print "filename.o".
7539	* objdump.c: Add some enum-to-int casts to accomodate old compilers.
7540
7541
7542Fri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
7543
7544	* copy.c:  Change =& constructs to = &, since they confuse older
7545	C compilers.
7546
7547
7548Local Variables:
7549mode: change-log
7550left-margin: 8
7551fill-column: 74
7552version-control: never
7553End:
7554