1*3d8817e4SmiodMon Dec 29 16:58:05 1997  Ian Lance Taylor  <ian@cygnus.com>
2*3d8817e4Smiod
3*3d8817e4Smiod	From Matthew Bellantoni <matthew@chrysalis.com>:
4*3d8817e4Smiod	* ar.c (get_pos_bfd): Add default_posname parameter.  Change all
5*3d8817e4Smiod	callers.
6*3d8817e4Smiod	(replace_members): Default to replacing in the same position.
7*3d8817e4Smiod
8*3d8817e4SmiodMon Dec 22 11:27:22 1997  Ian Lance Taylor  <ian@cygnus.com>
9*3d8817e4Smiod
10*3d8817e4Smiod	* rclex.l: Don't permit a comma in a STRING.
11*3d8817e4Smiod	* rcparse.y (acc_entry): Warn if an inappropriate modifier is used
12*3d8817e4Smiod	with a non VIRTKEY.
13*3d8817e4Smiod	(acc_event): For a control character, set VIRTKEY, and force the
14*3d8817e4Smiod	character to uppercase.
15*3d8817e4Smiod	(acc_options): Don't require a comma separator.
16*3d8817e4Smiod
17*3d8817e4SmiodTue Dec  9 13:25:42 1997  Michael Meissner  <meissner@cygnus.com>
18*3d8817e4Smiod
19*3d8817e4Smiod	* size.c (size_number): New function to provide size of field.
20*3d8817e4Smiod	({l,r}print_number): For octal and hex fields, print field using
21*3d8817e4Smiod	'0' and '0x' suffixes.  Do not include following tab.
22*3d8817e4Smiod	(sysv_internal_sizer): Size section name, section size, and vma
23*3d8817e4Smiod	address fields.
24*3d8817e4Smiod	(sysv_internal_printer): Use calculated sizes for the columns.
25*3d8817e4Smiod	(print_sysv_format): Size columns before printing.
26*3d8817e4Smiod	(print_berkeley_format): Print tabs between numbers now that
27*3d8817e4Smiod	{l,r}print_number doesn't.  Print fields right justified.
28*3d8817e4Smiod
29*3d8817e4SmiodMon Dec  8 11:22:04 1997  Nick Clifton  <nickc@cygnus.com>
30*3d8817e4Smiod
31*3d8817e4Smiod	* objdump.c (objdump_print_addr_with_sym): Remove call to
32*3d8817e4Smiod	disasm_symaddr() as this function no longer exists.
33*3d8817e4Smiod
34*3d8817e4SmiodTue Dec  2 10:23:50 1997  Nick Clifton  <nickc@cygnus.com>
35*3d8817e4Smiod
36*3d8817e4Smiod	* objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
37*3d8817e4Smiod	to allow backend to know which symbol has just been displayed.
38*3d8817e4Smiod
39*3d8817e4SmiodTue Dec  2 13:06:46 1997  Ian Lance Taylor  <ian@cygnus.com>
40*3d8817e4Smiod
41*3d8817e4Smiod	* windres.h (ESCAPE_*): Define standard escape sequences.
42*3d8817e4Smiod	* rclex.l (handle_quotes): Handle standard escape sequences.  Warn
43*3d8817e4Smiod	about an unrecognized escape character.
44*3d8817e4Smiod	* windres.c (unicode_print): Print standard escape sequences.
45*3d8817e4Smiod	* rcparse.y (acc_event): Initialize $$.next.
46*3d8817e4Smiod	* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
47*3d8817e4Smiod	MENUITEM_ENDMENU in the menu item flags.
48*3d8817e4Smiod	(bin_to_res_accelerators): Allocate a structure (the old code
49*3d8817e4Smiod	never worked).
50*3d8817e4Smiod	(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
51*3d8817e4Smiod	(res_to_bin_dialog): Save the extended style rather than saving
52*3d8817e4Smiod	the style twice.  Remove useless shadowing length variable.  Set
53*3d8817e4Smiod	the length of control data correctly.
54*3d8817e4Smiod	* resrc.c (write_rc_dialog): Don't print the class or menu if the
55*3d8817e4Smiod	string length is zero.
56*3d8817e4Smiod
57*3d8817e4SmiodMon Nov 24 18:52:43 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
58*3d8817e4Smiod
59*3d8817e4Smiod	* stabs.c (parse_stab_argtypes): Don't try to parse the name of a
60*3d8817e4Smiod	destructor as mangled argument types.
61*3d8817e4Smiod
62*3d8817e4SmiodMon Nov 10 17:51:41 1997  Gavin Koch  <gavin@cygnus.com>
63*3d8817e4Smiod
64*3d8817e4Smiod	* addr2line.c (translate_addresses): Use bfd_scan_vma rather
65*3d8817e4Smiod	than strtol to scan addresses.
66*3d8817e4Smiod
67*3d8817e4SmiodSun Nov  9 11:01:31 1997  Jeffrey A Law  (law@cygnus.com)
68*3d8817e4Smiod
69*3d8817e4Smiod	* Makefile.am (bin_PROGRAMS): Don't use line continuations here.
70*3d8817e4Smiod
71*3d8817e4SmiodTue Nov  4 11:56:14 1997  Ian Lance Taylor  <ian@cygnus.com>
72*3d8817e4Smiod
73*3d8817e4Smiod	* objcopy.c (copy_section): Don't crash if there is no particular
74*3d8817e4Smiod	information for a section.
75*3d8817e4Smiod
76*3d8817e4SmiodMon Nov  3 12:36:19 1997  Ian Lance Taylor  <ian@cygnus.com>
77*3d8817e4Smiod
78*3d8817e4Smiod	* objcopy.c (parse_flags): Make flag check case insensitive.
79*3d8817e4Smiod	Check for `contents' flag.  Give an error for unrecognized flags.
80*3d8817e4Smiod	(copy_section): If the contents flag was set for a section that
81*3d8817e4Smiod	had no contents, zero out the new contents.
82*3d8817e4Smiod	* binutils.texi (objcopy): Document contents section flag.
83*3d8817e4Smiod
84*3d8817e4SmiodSun Nov  2 14:49:56 1997  Ian Lance Taylor  <ian@cygnus.com>
85*3d8817e4Smiod
86*3d8817e4Smiod	* objcopy.c: Move new struct and variable definitions to top of
87*3d8817e4Smiod	file.  Remove obsolete add_strip_symbol and is_strip_symbol
88*3d8817e4Smiod	declarations.  Add prototype declarations for add_specific_symbol
89*3d8817e4Smiod	and is_specified_symbol.
90*3d8817e4Smiod
91*3d8817e4SmiodMon Oct 20 15:31:43 1997  Klaus K"ampf  <kkaempf@progis.de>
92*3d8817e4Smiod
93*3d8817e4Smiod	* configure.com (HAVE_SBRK): Undefine.
94*3d8817e4Smiod
95*3d8817e4SmiodTue Oct 14 16:14:35 1997  Nick Clifton  <nickc@cygnus.com>
96*3d8817e4Smiod
97*3d8817e4Smiod	* objdump.c (objdump_symbol_at_address): New function.  Returns
98*3d8817e4Smiod	true if a symbol can be found at the address passed in.
99*3d8817e4Smiod	(disassemble_data): Set the symbol_at_address_func field to point
100*3d8817e4Smiod	to objdump_symbol_at_address.
101*3d8817e4Smiod
102*3d8817e4SmiodFri Oct 10 14:13:09 1997  Richard Henderson  <rth@cygnus.com>
103*3d8817e4Smiod
104*3d8817e4Smiod	* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
105*3d8817e4Smiod	than "privatize".  Update all references.
106*3d8817e4Smiod
107*3d8817e4SmiodThu Oct  9 15:57:29 1997  Ian Lance Taylor  <ian@cygnus.com>
108*3d8817e4Smiod
109*3d8817e4Smiod	* binutils.texi (strip): Remove duplicate --target.  From Marty
110*3d8817e4Smiod	Leisner <leisner@sdsp.mc.xerox.com>.
111*3d8817e4Smiod
112*3d8817e4Smiod	* nm.c (lineno_cache_bfd): New file static variable.
113*3d8817e4Smiod	(lineno_cache_rel_bfd): New file static variable.
114*3d8817e4Smiod	(display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
115*3d8817e4Smiod	when closing a BFD.
116*3d8817e4Smiod	(display_file): Likewise.
117*3d8817e4Smiod	(print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
118*3d8817e4Smiod	instead of cache_bfd and cache_rel_bfd.  Make seccount static, and
119*3d8817e4Smiod	only set it when setting relocs.
120*3d8817e4Smiod
121*3d8817e4SmiodWed Oct  8 21:19:11 1997  Richard Henderson  <rth@cygnus.com>
122*3d8817e4Smiod
123*3d8817e4Smiod	* objcopy.c (keep_specific_list, privatize_specific_list,
124*3d8817e4Smiod	weaken_specific_list): New variables.
125*3d8817e4Smiod	(keep_symbols): Removed.
126*3d8817e4Smiod	(add_specific_symbol): New function from the carcas of
127*3d8817e4Smiod	add_strip_symbol.  Takes a list as an argument.
128*3d8817e4Smiod	(is_specified_symbol): Likewise from is_strip_symbol.
129*3d8817e4Smiod	(filter_symbols): Honor the new privatize and weaken lists.
130*3d8817e4Smiod	Optimize bfd_asymbol_name handling.
131*3d8817e4Smiod	(copy_object, copy_options, copy_usage): Add privatize-symbol &
132*3d8817e4Smiod	weaken-symbol options.
133*3d8817e4Smiod
134*3d8817e4Smiod	* objcopy.1, binutils.texi: Update docs.
135*3d8817e4Smiod
136*3d8817e4SmiodSun Oct  5 09:05:44 1997  Frank Ch. Eigler  <fche@cygnus.com>
137*3d8817e4Smiod
138*3d8817e4Smiod	* objdump.c (disassemble_data): Make "--prefix-addresses"
139*3d8817e4Smiod 	disassembly adjust to mixed-length instructions.
140*3d8817e4Smiod	(objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
141*3d8817e4Smiod 	symbol-offsets in disassembly.
142*3d8817e4Smiod
143*3d8817e4SmiodFri Oct  3 12:04:25 1997  Ian Lance Taylor  <ian@cygnus.com>
144*3d8817e4Smiod
145*3d8817e4Smiod	* objcopy.c (set_times): New static function, replacing
146*3d8817e4Smiod	make_same_dates.
147*3d8817e4Smiod	(strip_main): If preserve_dates, stat the input file before
148*3d8817e4Smiod	copying it, and call set_times afterward.
149*3d8817e4Smiod	(copy_main): Likewise.
150*3d8817e4Smiod
151*3d8817e4Smiod	* wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
152*3d8817e4Smiod	char * when calling strcpy and strlen.
153*3d8817e4Smiod
154*3d8817e4SmiodWed Sep 24 11:34:05 1997  Ian Lance Taylor  <ian@cygnus.com>
155*3d8817e4Smiod
156*3d8817e4Smiod	* binutils.texi	(ar cmdline): Document that q now works like r.
157*3d8817e4Smiod	From Marty Leisner <leisner@sdsp.mc.xerox.com>.
158*3d8817e4Smiod
159*3d8817e4Smiod	* binutils.texi (size): The object file argument is optional.
160*3d8817e4Smiod	From Marty Leisner <leisner@sdsp.mc.xerox.com>.
161*3d8817e4Smiod
162*3d8817e4Smiod	* aclocal.m4: Rebuild with new libtool.
163*3d8817e4Smiod	* configure: Rebuild.
164*3d8817e4Smiod
165*3d8817e4SmiodTue Aug 26 17:48:34 1997  Ian Lance Taylor  <ian@cygnus.com>
166*3d8817e4Smiod
167*3d8817e4Smiod	* Makefile.am (EXEEXT_FOR_BUILD): New variable.  Use it in all
168*3d8817e4Smiod	references to the sysinfo program.
169*3d8817e4Smiod	* configure.in: Rebuild with new bfd/acinclude.m4.
170*3d8817e4Smiod	* Makefile.in: Rebuild.
171*3d8817e4Smiod
172*3d8817e4SmiodFri Aug  8 15:32:49 1997  Ian Lance Taylor  <ian@cygnus.com>
173*3d8817e4Smiod
174*3d8817e4Smiod	* windres.c: Include <time.h>.
175*3d8817e4Smiod	(define_resource): Set a timestamp for the resource.
176*3d8817e4Smiod
177*3d8817e4SmiodWed Aug  6 13:37:58 1997  Ian Lance Taylor  <ian@cygnus.com>
178*3d8817e4Smiod
179*3d8817e4Smiod	* configure.in: Define TARGET in header file.
180*3d8817e4Smiod	* acconfig.h (TARGET): Add #undef.
181*3d8817e4Smiod	* Makefile.am (version.o, bucomm.o): Remove special targets.
182*3d8817e4Smiod	* bucomm.c (target): Remove.
183*3d8817e4Smiod	* nm.c (program_name): Don't declare.
184*3d8817e4Smiod	(target): Make static.
185*3d8817e4Smiod	* size.c (target): Make static.
186*3d8817e4Smiod	* configure, config.in, Makefile.in: Rebuild.
187*3d8817e4Smiod
188*3d8817e4SmiodTue Aug  5 00:01:41 1997  Ian Lance Taylor  <ian@cygnus.com>
189*3d8817e4Smiod
190*3d8817e4Smiod	* Makefile.am (check-DEJAGNU): Export r.
191*3d8817e4Smiod	(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
192*3d8817e4Smiod	* Makefile.in: Rebuild.
193*3d8817e4Smiod
194*3d8817e4Smiod	* nlmheader.y: Use VERSIONK rather than VERSION.
195*3d8817e4Smiod
196*3d8817e4Smiod	* Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
197*3d8817e4Smiod	(NM_PROG): Change from nm.new to nm-new.
198*3d8817e4Smiod	(TOOL_PROGS, install-exec-local): Adjust accordingly.
199*3d8817e4Smiod	* Makefile.in: Rebuild.
200*3d8817e4Smiod
201*3d8817e4SmiodMon Aug  4 11:47:31 1997  Ian Lance Taylor  <ian@cygnus.com>
202*3d8817e4Smiod
203*3d8817e4Smiod	* configure.in: Remove AC_ARG_PROGRAM; it's invoked by
204*3d8817e4Smiod	AM_INIT_AUTOMAKE.
205*3d8817e4Smiod	* configure: Rebuild.
206*3d8817e4Smiod
207*3d8817e4Smiod	* Makefile.am (install-exec-local): Create $(tooldir)/bin before
208*3d8817e4Smiod	trying to install anything into it.
209*3d8817e4Smiod	* Makefile.in: Rebuild.
210*3d8817e4Smiod
211*3d8817e4Smiod	* Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
212*3d8817e4Smiod	(install-exec-local): When handling $(noinst_PROGRAMS), only use
213*3d8817e4Smiod	$(EXEEXT) on the installed file.  When handling $(TOOL_PROGS),
214*3d8817e4Smiod	handle $(EXEEXT) correctly.
215*3d8817e4Smiod	* configure.in: Add an explicit $(EXEEXT) when substituting for
216*3d8817e4Smiod	the name of a program to build.
217*3d8817e4Smiod	* Makefile.in, configure: Rebuild.
218*3d8817e4Smiod
219*3d8817e4Smiod	* aclocal.m4, configure, Makefile.in: Rebuild with new automake
220*3d8817e4Smiod	patches.
221*3d8817e4Smiod
222*3d8817e4Smiod	* deflex.l, defparse.y: Use VERSIONK rather than VERSION.
223*3d8817e4Smiod	* rclex.l, rcparse.y: Likewise.
224*3d8817e4Smiod	* Makefile.am (windres_SOURCES): Add $(BULIBS).
225*3d8817e4Smiod	* Makefile.in: Rebuild.
226*3d8817e4Smiod
227*3d8817e4SmiodFri Aug  1 13:08:39 1997  Ian Lance Taylor  <ian@cygnus.com>
228*3d8817e4Smiod
229*3d8817e4Smiod	* acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
230*3d8817e4Smiod	* aclocal.m4, configure: Rebuild with new libtool.
231*3d8817e4Smiod
232*3d8817e4SmiodThu Jul 31 11:51:35 1997  Ian Lance Taylor  <ian@cygnus.com>
233*3d8817e4Smiod
234*3d8817e4Smiod	* Makefile.am: New file, based on old Makefile.in.
235*3d8817e4Smiod	* acinclude.m4: New file, from old aclocal.m4.
236*3d8817e4Smiod	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
237*3d8817e4Smiod	shared library handling; now handled by libtool.  Replace
238*3d8817e4Smiod	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
239*3d8817e4Smiod	AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
240*3d8817e4Smiod	AM_EXEEXT.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.  Remove
241*3d8817e4Smiod	stamp-h handling in AC_OUTPUT.
242*3d8817e4Smiod	* acconfig.h: Mention PACKAGE and VERSION.
243*3d8817e4Smiod	* stamp-h.in: New file.
244*3d8817e4Smiod	* Makefile.in: Now built with automake.
245*3d8817e4Smiod	* aclocal.m4: Now built with aclocal.
246*3d8817e4Smiod	* config.in, configure: Rebuild.
247*3d8817e4Smiod
248*3d8817e4Smiod	From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
249*3d8817e4Smiod	* rcparse.y (dialog): Default menu and class to be named.
250*3d8817e4Smiod	(styles): If FONT is seen, set DS_SETFONT in dialog style.
251*3d8817e4Smiod	* resbin.c (res_to_bin_dialog): Correct computation of font
252*3d8817e4Smiod	information length.
253*3d8817e4Smiod
254*3d8817e4SmiodWed Jul 30 11:21:06 1997  Ian Lance Taylor  <ian@cygnus.com>
255*3d8817e4Smiod
256*3d8817e4Smiod	From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
257*3d8817e4Smiod	* resbin.c (res_to_bin_menu): Correct computation of menu
258*3d8817e4Smiod	vs. menuex length.
259*3d8817e4Smiod	* resrc.c (define_stringtable): Add 1 to resource ID.
260*3d8817e4Smiod
261*3d8817e4SmiodTue Jul 29 11:06:03 1997  Ian Lance Taylor  <ian@cygnus.com>
262*3d8817e4Smiod
263*3d8817e4Smiod	* resbin.c (bin_to_res_string): Correct adjustment of data and
264*3d8817e4Smiod	length.  From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
265*3d8817e4Smiod
266*3d8817e4SmiodTue Jul 22 18:01:23 1997  Ian Lance Taylor  <ian@cygnus.com>
267*3d8817e4Smiod
268*3d8817e4Smiod	* nlmconv.c (link_inputs): Call libiberty pexecute function.
269*3d8817e4Smiod	(pexecute) [multiple versions]: Remove.
270*3d8817e4Smiod
271*3d8817e4SmiodTue Jul 22 16:19:34 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
272*3d8817e4Smiod
273*3d8817e4Smiod	* bucomm.c (make_tempname): If we might be using a DOS filesystem,
274*3d8817e4Smiod	check for a backslash as well as a slash.
275*3d8817e4Smiod
276*3d8817e4SmiodThu Jun 26 13:53:17 1997  Ian Lance Taylor  <ian@cygnus.com>
277*3d8817e4Smiod
278*3d8817e4Smiod	* windres.c (main): Quit if we didn't get any resources.
279*3d8817e4Smiod	(usage): Fix --yydebug usage message.
280*3d8817e4Smiod	* rescoff.c (write_coff_file): Don't free the relocation array
281*3d8817e4Smiod	until after we've closed the BFD.
282*3d8817e4Smiod	(read_coff_rsrc): Quit rather than try to read standard input.
283*3d8817e4Smiod	(write_coff_file): Quit rather than try to write to standard
284*3d8817e4Smiod	output.
285*3d8817e4Smiod	* rcparse.y: Add a couple of missing semicolons (accepted by bison
286*3d8817e4Smiod	but not byacc).
287*3d8817e4Smiod	* binutils.texi: Document windres.
288*3d8817e4Smiod
289*3d8817e4SmiodWed Jun 25 20:57:06 1997  Ian Lance Taylor  <ian@cygnus.com>
290*3d8817e4Smiod
291*3d8817e4Smiod	* resbin.c: New file.
292*3d8817e4Smiod	* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
293*3d8817e4Smiod	Numerous fixes and improvements.
294*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
295*3d8817e4Smiod 	(CFILES): Add resbin.c.
296*3d8817e4Smiod	(WINDRES_OBJS): Add resbin.o.
297*3d8817e4Smiod
298*3d8817e4SmiodSun Jun 22 17:29:41 1997  Ian Lance Taylor  <ian@cygnus.com>
299*3d8817e4Smiod
300*3d8817e4Smiod	First stab at Windows resource compiler:
301*3d8817e4Smiod	* windres.h: New file.
302*3d8817e4Smiod	* windres.c: New file.
303*3d8817e4Smiod	* resrc.c: New file.
304*3d8817e4Smiod	* rcparse.y: New file.
305*3d8817e4Smiod	* rclex.l: New file.
306*3d8817e4Smiod	* rescoff.c: New file.
307*3d8817e4Smiod	* configure.in: Define and substitute BUILD_WINDRES.
308*3d8817e4Smiod	* configure: Rebuild.
309*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
310*3d8817e4Smiod 	(WINDRES_PROG): New variable.
311*3d8817e4Smiod	(PROGS): Add @BUILD_WINDRES@.
312*3d8817e4Smiod	(HFILES): Add dlltool.h and windres.h.
313*3d8817e4Smiod	(CFILES): Add windres.c and resrc.c.
314*3d8817e4Smiod	(GENERATED_CFILES): Add rcparse.c and rclex.c.
315*3d8817e4Smiod	(WINDRES_OBJS): New variable.
316*3d8817e4Smiod	$(WINDRES_PROG): New target.
317*3d8817e4Smiod	(rcparse.c, rcparse.h, rclex.c): New targets.
318*3d8817e4Smiod
319*3d8817e4SmiodThu Jun 12 12:27:51 1997  Ian Lance Taylor  <ian@cygnus.com>
320*3d8817e4Smiod
321*3d8817e4Smiod	* dlltool.c (export_type): Add data field.
322*3d8817e4Smiod	(def_exports): Add data parameter.  Change all callers.
323*3d8817e4Smiod	(dump_def_info): Print data field.
324*3d8817e4Smiod	(gen_def_file): Likewise.
325*3d8817e4Smiod	(make_one_lib_file): Handle data field by not emitting simple
326*3d8817e4Smiod	label and not emitting anything in SEC_TEXT.
327*3d8817e4Smiod	(dtab): Print data field.
328*3d8817e4Smiod	(process_duplicates): Merge data field.
329*3d8817e4Smiod	* dlltool.h (def_exports): Update declaration.
330*3d8817e4Smiod	* defparse.y (expline): Accept opt_DATA.  Pass it to def_exports.
331*3d8817e4Smiod	(opt_DATA): New non-terminal.
332*3d8817e4Smiod
333*3d8817e4SmiodWed Jun 11 17:15:47 1997  Ian Lance Taylor  <ian@cygnus.com>
334*3d8817e4Smiod
335*3d8817e4Smiod	* dlltool.h: New file.
336*3d8817e4Smiod	* deflex.l: Include dlltool.h and libiberty.h.  Don't declare
337*3d8817e4Smiod	strdup.  Use xstrdup rather than strdup.
338*3d8817e4Smiod	* defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
339*3d8817e4Smiod	* dlltool.c: Include dlltool.h and time.h.  Make a lot of
340*3d8817e4Smiod	variables and functions static.  Make a lot of char * variables
341*3d8817e4Smiod	and parameters const.  Add declarations for static functions.  Do
342*3d8817e4Smiod	some reindenting.  Hide more PowerPC stuff inside DLLTOOL_PPC.
343*3d8817e4Smiod
344*3d8817e4SmiodWed Jun 11 12:05:52 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
345*3d8817e4Smiod
346*3d8817e4Smiod	* ar.c (bfd_special_undocumented_glue): Add const.
347*3d8817e4Smiod
348*3d8817e4SmiodMon May 12 22:09:35 1997  Bob Manson  <manson@charmed.cygnus.com>
349*3d8817e4Smiod
350*3d8817e4Smiod	* Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
351*3d8817e4Smiod	to runtest.
352*3d8817e4Smiod
353*3d8817e4SmiodMon May 12 13:14:22 1997  Ian Lance Taylor  <ian@cygnus.com>
354*3d8817e4Smiod
355*3d8817e4Smiod	* configure.in: Don't clear OPCODES when --enable-commonbfdlib is
356*3d8817e4Smiod	used on HP/UX.
357*3d8817e4Smiod	* configure: Rebuild.
358*3d8817e4Smiod
359*3d8817e4SmiodFri Apr 25 14:22:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
360*3d8817e4Smiod
361*3d8817e4Smiod	* Makefile.in (maintainer-clean realclean): Change *.info*
362*3d8817e4Smiod	to binutils.info* to save sysroff.info.
363*3d8817e4Smiod
364*3d8817e4SmiodTue Apr 15 13:42:22 1997  Ian Lance Taylor  <ian@cygnus.com>
365*3d8817e4Smiod
366*3d8817e4Smiod	* Makefile.in (INSTALL): Set to @INSTALL@.
367*3d8817e4Smiod	(INSTALL_XFORM, INSTALL_XFORM1): Remove.
368*3d8817e4Smiod	(install): Depend upon installdirs.  Use $(program_transform_name)
369*3d8817e4Smiod	directly, rather than using $(INSTALL_XFORM) and
370*3d8817e4Smiod	$(INSTALL_XFORM1).
371*3d8817e4Smiod	(installdirs): New target.
372*3d8817e4Smiod	(install-info): Run mkinstalldirs.
373*3d8817e4Smiod
374*3d8817e4SmiodMon Apr 14 11:52:39 1997  Ian Lance Taylor  <ian@cygnus.com>
375*3d8817e4Smiod
376*3d8817e4Smiod	* Makefile.in (INSTALL): Change install.sh to install-sh.
377*3d8817e4Smiod
378*3d8817e4Smiod	From Thomas Graichen <graichen@rzpd.de>:
379*3d8817e4Smiod	* Makefile.in: Always use $(SHELL) when running move-if-change.
380*3d8817e4Smiod	* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
381*3d8817e4Smiod	* configure: Rebuild.
382*3d8817e4Smiod
383*3d8817e4SmiodFri Apr  4 13:28:02 1997  Ian Lance Taylor  <ian@cygnus.com>
384*3d8817e4Smiod
385*3d8817e4Smiod	* configure.in: Add AC_FUNC_ALLOCA.
386*3d8817e4Smiod	* configure, config.in: Rebuild.
387*3d8817e4Smiod	* bucomm.h: Add alloca handling, copied from gas/as.h.
388*3d8817e4Smiod	* dlltool.c: Add #pragma alloca for AIX to start of file.
389*3d8817e4Smiod	* nlmconv.c: Likewise.
390*3d8817e4Smiod
391*3d8817e4Smiod	* Makefile.in (distclean): Remove site.exp and site.bak.  Remove
392*3d8817e4Smiod	everything that clean removes.
393*3d8817e4Smiod
394*3d8817e4SmiodThu Apr  3 13:18:39 1997  Ian Lance Taylor  <ian@cygnus.com>
395*3d8817e4Smiod
396*3d8817e4Smiod	* Makefile.in (VERSION): Set to 2.8.1.
397*3d8817e4Smiod
398*3d8817e4Smiod	* Branched binutils 2.8.
399*3d8817e4Smiod
400*3d8817e4SmiodTue Apr  1 16:21:44 1997  Klaus Kaempf  <kkaempf@progis.de>
401*3d8817e4Smiod
402*3d8817e4Smiod	* configure.com: New file.
403*3d8817e4Smiod	* config.h-vms: Remove file.
404*3d8817e4Smiod	* makefile.vms: Update for new configure scheme.
405*3d8817e4Smiod
406*3d8817e4SmiodMon Mar 31 15:30:43 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
407*3d8817e4Smiod
408*3d8817e4Smiod	* objcopy.c (make_same_dates): Use statbuf, not buf, if not
409*3d8817e4Smiod	HAVE_GOOD_UTIME_H.
410*3d8817e4Smiod
411*3d8817e4SmiodFri Mar 28 17:57:53 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
412*3d8817e4Smiod
413*3d8817e4Smiod	* Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
414*3d8817e4Smiod	* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
415*3d8817e4Smiod	set OPCODES to empty.
416*3d8817e4Smiod	* configure: Rebuild.
417*3d8817e4Smiod
418*3d8817e4SmiodThu Mar 27 16:03:02 1997  Ian Lance Taylor  <ian@cygnus.com>
419*3d8817e4Smiod
420*3d8817e4Smiod	Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
421*3d8817e4Smiod	* objcopy.c: Include <utime.h> or <sys/time.h>.
422*3d8817e4Smiod	(strip_options): Add "preserve-dates".
423*3d8817e4Smiod	(copy_options): Likewise.
424*3d8817e4Smiod	(copy_usage): Mention -p and --preserve-dates.
425*3d8817e4Smiod	(strip_usage): Likewise.
426*3d8817e4Smiod	(make_same_dates): New static function.
427*3d8817e4Smiod	(strip_main): Handle -p.
428*3d8817e4Smiod	(copy_main): Likewise.
429*3d8817e4Smiod	* binutils.texi, strip.1, objcopy.1: Document new option.
430*3d8817e4Smiod
431*3d8817e4Smiod	addr2line.c contributed by Ulrich Lauther
432*3d8817e4Smiod	<Ulrich.Lauther@zfe.siemens.de>:
433*3d8817e4Smiod	* addr2line.c: New file.
434*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
435*3d8817e4Smiod 	(ADDR2LINE_PROG): New variable.
436*3d8817e4Smiod	(MANPAGES): Add addr2line.
437*3d8817e4Smiod	(PROGS): Add $(ADDR2LINE_PROG).
438*3d8817e4Smiod	(CFILES): Add addr2line.c.
439*3d8817e4Smiod	($(ADDR2LINE_PROG)): New target.
440*3d8817e4Smiod	* binutils.texi: Document addr2line.
441*3d8817e4Smiod	* addr2line.1: New file.
442*3d8817e4Smiod
443*3d8817e4Smiod	* version.c (print_version): Update copyright date.
444*3d8817e4Smiod
445*3d8817e4SmiodMon Mar 24 10:52:45 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
446*3d8817e4Smiod
447*3d8817e4Smiod	* objdump.c (disassemble_data): Don't exit if a file cannot be
448*3d8817e4Smiod	disassembled, instead just return.
449*3d8817e4Smiod
450*3d8817e4SmiodThu Mar 20 21:16:51 1997  Jeffrey A Law  (law@cygnus.com)
451*3d8817e4Smiod
452*3d8817e4Smiod	* size.c (usage): Make definition match its prototype.
453*3d8817e4Smiod	(display_bfd, lprint_number, rprint_number): Likewise.
454*3d8817e4Smiod	(print_berkeley_format, sysv_internal_printer): Likewise.
455*3d8817e4Smiod	(print_sysv_format): Likewise.
456*3d8817e4Smiod	* nm.c (set_print_radix, set_output_format): Likewise.
457*3d8817e4Smiod	* objcopy.c (filter_bytes): Likewise.
458*3d8817e4Smiod
459*3d8817e4SmiodTue Mar 18 16:39:55 1997  H.J. Lu  <hjl@lucon.org>
460*3d8817e4Smiod
461*3d8817e4Smiod	* Many files: Add function prototypes.
462*3d8817e4Smiod	* ar.c (mri_emul, get_pos_bfd): Make static.
463*3d8817e4Smiod	* arlex.l: Include "libiberty.h".  Don't declare strdup.  Use
464*3d8817e4Smiod	xstrdup rather than strdup.
465*3d8817e4Smiod	* arparse.y (yyerror): Make argument const.  Correct typo.
466*3d8817e4Smiod	* arsup.c (strdup): Don't declare.
467*3d8817e4Smiod	(ar_save): Use xstrdup rather than strdup.
468*3d8817e4Smiod	* filemode.c: Include "bucomm.h".
469*3d8817e4Smiod	* nm.c (usage): Make static.
470*3d8817e4Smiod	(print_symname): Make format and name const.
471*3d8817e4Smiod	* objcopy.c (cat): Remove.
472*3d8817e4Smiod	(copy_archive): Make output_target const.  Use concat, not cat.
473*3d8817e4Smiod	(copy_file, simple_copy, smart_rename): Make arguments const.
474*3d8817e4Smiod	* objdump.c (read_section_stabs): Likewise.
475*3d8817e4Smiod	(print_section_stabs): Likewise.
476*3d8817e4Smiod	(display_target_tables): Don't declare getenv.
477*3d8817e4Smiod	* strings.c (strings_object_file): Change file to const.
478*3d8817e4Smiod	(print_strings): Change filename to const.
479*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
480*3d8817e4Smiod
481*3d8817e4SmiodTue Mar 18 11:37:24 1997  Ian Lance Taylor  <ian@cygnus.com>
482*3d8817e4Smiod
483*3d8817e4Smiod	* configure.in: Add BFD_NEED_DECLARATION(getenv).
484*3d8817e4Smiod	* acconfig.h: Add NEED_DECLARATION_GETENV.
485*3d8817e4Smiod	* bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
486*3d8817e4Smiod	* configure, config.in: Rebuild.
487*3d8817e4Smiod	* nlmconv.c (getenv): Don't declare.
488*3d8817e4Smiod
489*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
490*3d8817e4Smiod
491*3d8817e4SmiodSat Mar 15 15:35:56 1997  Ian Lance Taylor  <ian@cygnus.com>
492*3d8817e4Smiod
493*3d8817e4Smiod	Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
494*3d8817e4Smiod	* objdump.c: Include "demangle.h".
495*3d8817e4Smiod	(do_demangle): New static variable.
496*3d8817e4Smiod	(usage): Mention -C/--demangle.
497*3d8817e4Smiod	(long_options): Add "demangle".
498*3d8817e4Smiod	(objdump_print_symname): New static function.
499*3d8817e4Smiod	(objdump_print_addr_with_sym): Use objdump_print_symname.
500*3d8817e4Smiod	(disassemble_bytes): Likewise.
501*3d8817e4Smiod	(dump_reloc_set): Likewise.
502*3d8817e4Smiod	(dump_symbols): Demangle symbol name.
503*3d8817e4Smiod	(main): Handle -C.
504*3d8817e4Smiod	* binutils.texi, objdump.1: Document -C/--demangle.
505*3d8817e4Smiod
506*3d8817e4Smiod	* objdump.c (usage): Mention --no-show-raw-insn.
507*3d8817e4Smiod	(long_options): Add "no-show-raw-insn".
508*3d8817e4Smiod	(disassemble_bytes): Handle --no-show-raw-insn.
509*3d8817e4Smiod	* binutils.texi, objdump.1: Document --no-show-raw-insn.
510*3d8817e4Smiod
511*3d8817e4SmiodWed Mar 12 11:42:00 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
512*3d8817e4Smiod
513*3d8817e4Smiod	* rddbg.c (free_saved_stabs): Set the strings to NULL after being
514*3d8817e4Smiod	freed.
515*3d8817e4Smiod
516*3d8817e4SmiodFri Feb 28 17:18:45 1997  Ian Lance Taylor  <ian@cygnus.com>
517*3d8817e4Smiod
518*3d8817e4Smiod	* bucomm.c (set_default_bfd_target): New function.
519*3d8817e4Smiod	* bucomm.h (set_default_bfd_target): Declare.
520*3d8817e4Smiod	* ar.c (main): Call set_default_bfd_target.
521*3d8817e4Smiod	* nlmconv.c (main): Likewise.
522*3d8817e4Smiod	* nm.c (main): Likewise.
523*3d8817e4Smiod	* objcopy.c (main): Likewise.
524*3d8817e4Smiod	* objdump.c (main): Likewise.
525*3d8817e4Smiod	* size.c (main): Likewise.
526*3d8817e4Smiod	* strings.c (main): Likewise.
527*3d8817e4Smiod	* Makefile.in (bucomm.o): New target, to define TARGET.
528*3d8817e4Smiod
529*3d8817e4SmiodTue Feb 25 21:28:38 1997  Ian Lance Taylor  <ian@cygnus.com>
530*3d8817e4Smiod
531*3d8817e4Smiod	* objdump.c (adjust_section_vma): New static variable.
532*3d8817e4Smiod	(usage): Mention --adjust-section-vma.
533*3d8817e4Smiod	(OPTION_ADJUST_VMA): Define.
534*3d8817e4Smiod	(long_options): Add "addjust-vma".
535*3d8817e4Smiod	(display_bfd): If adjust_section_vma is not 0, add it to all the
536*3d8817e4Smiod	section addresses.
537*3d8817e4Smiod	(main): Handle OPTION_ADJUST_VMA.
538*3d8817e4Smiod	* binutils.texi, objdump.1: Document --adjust-vma.
539*3d8817e4Smiod
540*3d8817e4SmiodFri Feb 14 18:46:47 1997  Ian Lance Taylor  <ian@cygnus.com>
541*3d8817e4Smiod
542*3d8817e4Smiod	* nm.c (print_symbol): Cache the BFD as well as the symbols and
543*3d8817e4Smiod 	relocs, and don't try to use the symbols or relocs with a
544*3d8817e4Smiod 	different BFD.
545*3d8817e4Smiod
546*3d8817e4SmiodThu Feb 13 21:34:43 1997  Klaus Kaempf  (kkaempf@progis.de)
547*3d8817e4Smiod
548*3d8817e4Smiod	* config.h-vms: sbrk() is provided on openVMS/Alpha.
549*3d8817e4Smiod	* makefile.vms: allow compiling with current gcc snapshot.
550*3d8817e4Smiod
551*3d8817e4SmiodThu Feb 13 20:14:40 1997  Ian Lance Taylor  <ian@cygnus.com>
552*3d8817e4Smiod
553*3d8817e4Smiod	* arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
554*3d8817e4Smiod	than malloc.
555*3d8817e4Smiod
556*3d8817e4SmiodWed Feb 12 16:12:02 1997  Ian Lance Taylor  <ian@cygnus.com>
557*3d8817e4Smiod
558*3d8817e4Smiod	* objdump.c (disassemble_data): Correct VMA argument to
559*3d8817e4Smiod	find_symbol_for_address.  Improve handling of code with no symbol
560*3d8817e4Smiod	followed by code with a symbol.
561*3d8817e4Smiod
562*3d8817e4SmiodWed Feb 12 12:16:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
563*3d8817e4Smiod
564*3d8817e4Smiod	* objdump.c (disassemble_bytes): Make output of raw instructions
565*3d8817e4Smiod	work better for non-standard values of bytes_per_chunk and
566*3d8817e4Smiod	bytes_per_line.
567*3d8817e4Smiod
568*3d8817e4SmiodThu Feb  6 14:14:59 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
569*3d8817e4Smiod
570*3d8817e4Smiod	* objdump.c (disassemble_bytes): Added code to allow some control
571*3d8817e4Smiod 	over the way raw instructions are displayed.
572*3d8817e4Smiod
573*3d8817e4SmiodThu Feb  6 12:36:03 1997  Ian Lance Taylor  <ian@cygnus.com>
574*3d8817e4Smiod
575*3d8817e4Smiod	* stabs.c (struct bincl_file): Add next_stack field.
576*3d8817e4Smiod	(push_bincl): Put the new file on both bincl_list and
577*3d8817e4Smiod	bincl_stack.  Clear the file_types field.
578*3d8817e4Smiod	(pop_bincl): Use the next_stack field when popping the stack.
579*3d8817e4Smiod	Don't put the file on bincl_list.
580*3d8817e4Smiod	(find_excl): Include the file name when warning about an unfound
581*3d8817e4Smiod	N_EXCL.
582*3d8817e4Smiod
583*3d8817e4Smiod	* debug.c (debug_type_samep): Don't crash if we are passed NULL.
584*3d8817e4Smiod
585*3d8817e4SmiodThu Feb  6 11:54:24 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
586*3d8817e4Smiod
587*3d8817e4Smiod	* objcopy.1: Add missing space after .B.
588*3d8817e4Smiod
589*3d8817e4SmiodFri Jan 31 10:33:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
590*3d8817e4Smiod
591*3d8817e4Smiod	* objdump.c (disassemble_data): Initialize `aux.require_sec'.
592*3d8817e4Smiod
593*3d8817e4SmiodWed Jan 29 13:21:21 1997  Ian Lance Taylor  <ian@cygnus.com>
594*3d8817e4Smiod
595*3d8817e4Smiod	* objdump.c (objdump_print_value): Add skip_zeroes parameter.
596*3d8817e4Smiod	Change all callers.
597*3d8817e4Smiod	(objdump_print_addr_with_sym): Likewise.  Call objdump_print_value
598*3d8817e4Smiod	to print address.
599*3d8817e4Smiod	(objdump_print_addr): New static function.
600*3d8817e4Smiod	(objdump_print_address): Just call objdump_print_addr.
601*3d8817e4Smiod	(disassemble_bytes): Print real address, not function offset.
602*3d8817e4Smiod	Skip a certain number of leading zeroes.
603*3d8817e4Smiod
604*3d8817e4Smiod	* objdump.c (disassemble_zeroes): New static variable.
605*3d8817e4Smiod	(usage): Mention --disassemble-zeroes.
606*3d8817e4Smiod	(long_options): Add "disassemble-zeroes".
607*3d8817e4Smiod	(disassemble_bytes): Check disassemble_zeroes.
608*3d8817e4Smiod
609*3d8817e4SmiodTue Jan 28 16:47:26 1997  Ian Lance Taylor  <ian@cygnus.com>
610*3d8817e4Smiod
611*3d8817e4Smiod	* objdump.c (disassemble_bytes): Don't skip zeroes if the
612*3d8817e4Smiod	disassembler has told us that we are in a branch delay slot.
613*3d8817e4Smiod
614*3d8817e4SmiodMon Jan 20 14:24:04 1997  Ian Lance Taylor  <ian@cygnus.com>
615*3d8817e4Smiod
616*3d8817e4Smiod	* size.c (berkeley_sum): Rewrite.  Skip sections which are not
617*3d8817e4Smiod	SEC_ALLOC.  Count SEC_READONLY sections as text.
618*3d8817e4Smiod
619*3d8817e4SmiodTue Jan 14 15:14:14 1997  Ian Lance Taylor  <ian@cygnus.com>
620*3d8817e4Smiod
621*3d8817e4Smiod	* Makefile.in (maintainer-clean realclean): Remove *.info*, not
622*3d8817e4Smiod	just *.info.  From H.J. Lu <hjl@lucon.org>.
623*3d8817e4Smiod
624*3d8817e4SmiodTue Dec 31 15:42:54 1996  Ian Lance Taylor  <ian@cygnus.com>
625*3d8817e4Smiod
626*3d8817e4Smiod	* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
627*3d8817e4Smiod
628*3d8817e4SmiodFri Dec 27 11:19:26 1996  Ian Lance Taylor  <ian@cygnus.com>
629*3d8817e4Smiod
630*3d8817e4Smiod	* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
631*3d8817e4Smiod	* configure: Rebuild.
632*3d8817e4Smiod
633*3d8817e4SmiodThu Dec 19 13:11:20 1996  Ian Lance Taylor  <ian@cygnus.com>
634*3d8817e4Smiod
635*3d8817e4Smiod	Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
636*3d8817e4Smiod	* objcopy.c (OPTION_WEAKEN): Define.
637*3d8817e4Smiod	(copy_options): Add "weaken".
638*3d8817e4Smiod	(copy_usage): Mention --weaken.
639*3d8817e4Smiod	(weaken): New static variable.
640*3d8817e4Smiod	(filter_symbols): Handle weaken.
641*3d8817e4Smiod	(copy_object): Call filter_symbols if weaken.
642*3d8817e4Smiod	(copy_main): Handle OPTION_WEAKEN.
643*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --weaken.
644*3d8817e4Smiod
645*3d8817e4SmiodWed Dec 18 22:49:13 1996  Stan Shebs  <shebs@andros.cygnus.com>
646*3d8817e4Smiod
647*3d8817e4Smiod	* mpw-make.sed: Use NewFolderRecursive for installation.
648*3d8817e4Smiod
649*3d8817e4SmiodSat Dec  7 10:17:25 1996  Jeffrey A Law  (law@cygnus.com)
650*3d8817e4Smiod
651*3d8817e4Smiod	* Makefile.in (install): Add "else true" clause to cater to
652*3d8817e4Smiod	broken "make" on some systems.
653*3d8817e4Smiod
654*3d8817e4SmiodFri Dec  6 17:21:41 1996  Ian Lance Taylor  <ian@cygnus.com>
655*3d8817e4Smiod
656*3d8817e4Smiod	* ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
657*3d8817e4Smiod	warning about uninitialized variable.
658*3d8817e4Smiod	(ieee_read_cxx_class): Likewise, for pf.
659*3d8817e4Smiod	(ieee_enum_type): Likewise, for i.
660*3d8817e4Smiod
661*3d8817e4SmiodTue Nov 26 17:01:25 1996  Ian Lance Taylor  <ian@cygnus.com>
662*3d8817e4Smiod
663*3d8817e4Smiod	* wrstabs.c (stab_array_type): Add casts when printing
664*3d8817e4Smiod	bfd_signed_vma values.
665*3d8817e4Smiod
666*3d8817e4Smiod	* configure: Rebuild with autoconf 2.12.
667*3d8817e4Smiod
668*3d8817e4SmiodMon Nov 25 16:53:18 1996  Ian Lance Taylor  <ian@cygnus.com>
669*3d8817e4Smiod
670*3d8817e4Smiod	* objdump.c (disassemble_data): Don't crash if there is no
671*3d8817e4Smiod	symbol.
672*3d8817e4Smiod
673*3d8817e4SmiodFri Nov 22 17:29:14 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
674*3d8817e4Smiod
675*3d8817e4Smiod	* ar.c (open_inarch): Don't call bfd_openr with a null name.
676*3d8817e4Smiod
677*3d8817e4SmiodFri Nov  1 12:08:13 1996  Ian Lance Taylor  <ian@cygnus.com>
678*3d8817e4Smiod
679*3d8817e4Smiod	* binutils.texi: Add section on reporting bugs.
680*3d8817e4Smiod
681*3d8817e4SmiodThu Oct 31 18:20:53 1996  Ian Lance Taylor  <ian@cygnus.com>
682*3d8817e4Smiod
683*3d8817e4Smiod	* stabs.c (struct stab_handle): Add bincl_list field.
684*3d8817e4Smiod	(parse_stab): Pass value to push_bincl.  Call find_excl for
685*3d8817e4Smiod	N_EXCL.
686*3d8817e4Smiod	(struct bincl_file): Add hash, file and file_types fields.
687*3d8817e4Smiod	(push_bincl): Add hash parameter.  Save it in the new hash field.
688*3d8817e4Smiod	Save the file number in the new file field.
689*3d8817e4Smiod	(pop_bincl): Put the bincl_file on bincl_list, rather than freeing
690*3d8817e4Smiod	it.  Save the file types in the new file_types field.
691*3d8817e4Smiod	(find_excl): New static function.
692*3d8817e4Smiod
693*3d8817e4Smiod	* ieee.c (ieee_lineno): Don't compare line number addresses to
694*3d8817e4Smiod	info->highaddr (undo part of October 28 patch).
695*3d8817e4Smiod
696*3d8817e4SmiodTue Oct 29 16:40:22 1996  Ian Lance Taylor  <ian@cygnus.com>
697*3d8817e4Smiod
698*3d8817e4Smiod	* objdump.c (objdump_print_value): Don't print the empty string
699*3d8817e4Smiod	for zero.
700*3d8817e4Smiod
701*3d8817e4SmiodMon Oct 28 16:58:14 1996  Ian Lance Taylor  <ian@cygnus.com>
702*3d8817e4Smiod
703*3d8817e4Smiod	* stabs.c (struct stab_handle): Add function_end field.
704*3d8817e4Smiod	(start_stab): Initialize function_end.
705*3d8817e4Smiod	(finish_stab): Pass info->function_end to debug_end_function.
706*3d8817e4Smiod	(parse_stab): If info->function_end is set, use it as the address
707*3d8817e4Smiod	which ends a function.
708*3d8817e4Smiod
709*3d8817e4Smiod	* ieee.c (ieee_array_type): Remember the correct size.
710*3d8817e4Smiod
711*3d8817e4Smiod	* ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
712*3d8817e4Smiod	that are up to 0x1000 bytes apart, not just 64.
713*3d8817e4Smiod	(ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
714*3d8817e4Smiod	than 0x100 bytes.
715*3d8817e4Smiod	(ieee_lineno): Only emit line numbers that are less than
716*3d8817e4Smiod	info->highaddr.
717*3d8817e4Smiod
718*3d8817e4SmiodFri Oct 25 12:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
719*3d8817e4Smiod
720*3d8817e4Smiod	* ieee.c (struct ieee_defined_enum): Add defined field.
721*3d8817e4Smiod	(ieee_enum_type): If the enum tag has been seen before but not
722*3d8817e4Smiod	defined, reuse the same type index, and define it.
723*3d8817e4Smiod	(ieee_tag_type): If this enum has not been defined, add an
724*3d8817e4Smiod	undefined entry to the list of enums.
725*3d8817e4Smiod
726*3d8817e4Smiod	* objdump.c (disassemble_bytes): Let the disassembler override the
727*3d8817e4Smiod	number of bytes printed on a line.
728*3d8817e4Smiod
729*3d8817e4SmiodThu Oct 24 16:42:10 1996  Ian Lance Taylor  <ian@cygnus.com>
730*3d8817e4Smiod
731*3d8817e4Smiod	* objdump.c (prefix_addresses): New static variable.
732*3d8817e4Smiod	(long_options): Add "prefix-addresses".
733*3d8817e4Smiod	(compare_symbols): Sort BSF_FUNCTION symbols before other
734*3d8817e4Smiod	symbols.
735*3d8817e4Smiod	(find_symbol_for_address): New static function, broken out of
736*3d8817e4Smiod	objdump_print_address.
737*3d8817e4Smiod	(objdump_print_addr_with_sym): New static function, broken out of
738*3d8817e4Smiod	objdump_print_address.
739*3d8817e4Smiod	(objdump_print_address): Call new functions.
740*3d8817e4Smiod	(disassemble_bytes): New static function, broken out of
741*3d8817e4Smiod	disassemble_data.  Change disassembly format, unless
742*3d8817e4Smiod	prefix_addresses is set.
743*3d8817e4Smiod	(disassemble_data): Call disassemble_bytes.  Unless
744*3d8817e4Smiod	prefix_addresses is set, disassemble in chunks headed by a
745*3d8817e4Smiod	symbol.
746*3d8817e4Smiod	* binutils.texi, objdump.1: Document --prefix-addresses.
747*3d8817e4Smiod
748*3d8817e4Smiod	* rddbg.c (read_section_stabs_debugging_info): Preserve the
749*3d8817e4Smiod	backslash when concatenating multiple stabs strings.
750*3d8817e4Smiod
751*3d8817e4SmiodThu Oct 10 11:36:31 1996  Doug Evans  <dje@canuck.cygnus.com>
752*3d8817e4Smiod
753*3d8817e4Smiod	* dlltool.c (scan_open_obj_file): Fix loop exit test.
754*3d8817e4Smiod	Add missing parameter to def_exports.
755*3d8817e4Smiod
756*3d8817e4SmiodTue Oct  8 12:06:17 1996  Ian Lance Taylor  <ian@cygnus.com>
757*3d8817e4Smiod
758*3d8817e4Smiod	* Makefile.in (LEX_OPTIONS): Set to empty string.  -I -Cem is the
759*3d8817e4Smiod	default for flex, and is not recognized by lex.
760*3d8817e4Smiod
761*3d8817e4SmiodThu Oct  3 17:41:23 1996  Ian Lance Taylor  <ian@cygnus.com>
762*3d8817e4Smiod
763*3d8817e4Smiod	* binutils.texi (Target Selection): Document that you can now
764*3d8817e4Smiod	specify targets using configuration triplets.
765*3d8817e4Smiod
766*3d8817e4Smiod	* ar.c (usage): Declare.  Make sure all callers pass an argument.
767*3d8817e4Smiod
768*3d8817e4SmiodThu Oct  3 15:39:42 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
769*3d8817e4Smiod
770*3d8817e4Smiod	* Makefile.in (clean): Remove config.log.
771*3d8817e4Smiod
772*3d8817e4SmiodWed Oct  2 15:49:16 1996  Klaus Kaempf  <kkaempf@progis.de>
773*3d8817e4Smiod
774*3d8817e4Smiod	* makefile.vms: Bump version date.
775*3d8817e4Smiod
776*3d8817e4SmiodTue Oct  1 15:00:59 1996  Ian Lance Taylor  <ian@cygnus.com>
777*3d8817e4Smiod
778*3d8817e4Smiod	* version.c (print_version): New function.
779*3d8817e4Smiod	* bucomm.h (print_version): Declare.
780*3d8817e4Smiod	* ar.c (program_version): Don't declare.
781*3d8817e4Smiod	(do_show_version): Remove.
782*3d8817e4Smiod	(usage): Add help parameter.  Print bug report address.
783*3d8817e4Smiod	(main): Set is_ranlib at start.  Check for --help and --version.
784*3d8817e4Smiod	Call print_version, not do_show_version.
785*3d8817e4Smiod	* nlmconv.c (program_version): Don't declare.
786*3d8817e4Smiod	(main): Call print_version.
787*3d8817e4Smiod	(show_usage): Print bug report address.
788*3d8817e4Smiod	* nm.c (program_version, print_version): Don't declare.
789*3d8817e4Smiod	(usage): Print bug report address.
790*3d8817e4Smiod	(main): Call print_version.
791*3d8817e4Smiod	* objcopy.c (program_version): Don't declare.
792*3d8817e4Smiod	(copy_usage): Print bug report address.
793*3d8817e4Smiod	(strip_usage): Likewise.
794*3d8817e4Smiod	(strip_main): Call print_version.
795*3d8817e4Smiod	(copy_main): Likewise.
796*3d8817e4Smiod	* objdump.c (program_version): Don't declare.
797*3d8817e4Smiod	(usage): Print bug report address.
798*3d8817e4Smiod	(main): Call print_version.
799*3d8817e4Smiod	* size.c (program_version): Don't declare.
800*3d8817e4Smiod	(usage): Print bug report address.
801*3d8817e4Smiod	(main): Call print_version.
802*3d8817e4Smiod	* strings.c (program_version): Don't declare.
803*3d8817e4Smiod	(main): Call print_version.
804*3d8817e4Smiod	(usage): Print bug report address.
805*3d8817e4Smiod	* Makefile.in: Update dependencies.
806*3d8817e4Smiod
807*3d8817e4SmiodThu Sep 19 14:53:15 1996  Ian Lance Taylor  <ian@cygnus.com>
808*3d8817e4Smiod
809*3d8817e4Smiod	* ieee.c: Revert Monday's reflocalp patch, and apply this patch
810*3d8817e4Smiod	instead:
811*3d8817e4Smiod 	(write_ieee_debugging_info): Write a dummy type at the end of the
812*3d8817e4Smiod	global type block.
813*3d8817e4Smiod
814*3d8817e4SmiodMon Sep 16 15:30:54 1996  Ian Lance Taylor  <ian@cygnus.com>
815*3d8817e4Smiod
816*3d8817e4Smiod	* ieee.c (struct ieee_write_type): Add reflocalp field.
817*3d8817e4Smiod	(ieee_pointer_type): Set reflocalp after pushing type.
818*3d8817e4Smiod	(ieee_function_type): If reflocalp is set, make this type local.
819*3d8817e4Smiod	(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
820*3d8817e4Smiod	(ieee_const_type, ieee_volatile_type): Likewise.
821*3d8817e4Smiod	(ieee_struct_field, ieee_class_baseclass): Likewise.
822*3d8817e4Smiod
823*3d8817e4Smiod	* ieee.c (struct ieee_info): Add global_types field.
824*3d8817e4Smiod	(parse_ieee_bb): When starting a BB1, initialize the types field
825*3d8817e4Smiod	to the global_types field.
826*3d8817e4Smiod	(parse_ieee_be): When ending a BB2, copy the types field to the
827*3d8817e4Smiod	global_types field.
828*3d8817e4Smiod
829*3d8817e4SmiodFri Sep 13 17:32:21 1996  Ian Lance Taylor  <ian@cygnus.com>
830*3d8817e4Smiod
831*3d8817e4Smiod	* objcopy.c (change_leading_char): New static variable.
832*3d8817e4Smiod	(OPTION_CHANGE_LEADING_CHAR): Define.
833*3d8817e4Smiod	(copy_options): Add "change-leading-char".
834*3d8817e4Smiod	(copy_usage): Mention --change-leading-char.
835*3d8817e4Smiod	(filter_symbols): Add obfd parameter.  Change all callers.
836*3d8817e4Smiod	Implement change_leading_char.
837*3d8817e4Smiod	(copy_object): Call filter_symbols if change_leading_char.
838*3d8817e4Smiod	(copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
839*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --change-leading-char.
840*3d8817e4Smiod
841*3d8817e4SmiodTue Sep  3 14:05:29 1996  Ian Lance Taylor  <ian@cygnus.com>
842*3d8817e4Smiod
843*3d8817e4Smiod	* ieee.c (ieee_enum_type): Don't check index into a NULL names
844*3d8817e4Smiod	array.
845*3d8817e4Smiod	* nm.c (sort_symbols_by_size): Always initialize next.
846*3d8817e4Smiod	* rdcoff.c (parse_coff_type): Warn about an incomprehensible
847*3d8817e4Smiod	type rather than crashing.
848*3d8817e4Smiod	* rddbg.c (read_symbol_stabs_debugging_info): Initialize f.
849*3d8817e4Smiod	* stabs.c (parse_stab_members): Set context in all cases.
850*3d8817e4Smiod
851*3d8817e4SmiodThu Aug 29 16:56:52 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
852*3d8817e4Smiod
853*3d8817e4Smiod	* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
854*3d8817e4Smiod	* configure: Regenerate.
855*3d8817e4Smiod
856*3d8817e4SmiodThu Aug 29 11:29:20 1996  Ian Lance Taylor  <ian@cygnus.com>
857*3d8817e4Smiod
858*3d8817e4Smiod	* objdump.c (L_tmpnam): Never define.
859*3d8817e4Smiod	(display_target_list): Use choose_temp_base instead of tmpnam.
860*3d8817e4Smiod	(display_info_table): Likewise.
861*3d8817e4Smiod
862*3d8817e4SmiodTue Aug 27 18:15:01 1996  Ian Lance Taylor  <ian@cygnus.com>
863*3d8817e4Smiod
864*3d8817e4Smiod	* stabs.c (parse_stab): An N_FUN symbol with an empty string
865*3d8817e4Smiod	indicates the end of a function.
866*3d8817e4Smiod
867*3d8817e4SmiodThu Aug 22 17:08:00 1996  Ian Lance Taylor  <ian@cygnus.com>
868*3d8817e4Smiod
869*3d8817e4Smiod	* wrstabs.c (struct string_hash_entry): Add next field.
870*3d8817e4Smiod	(struct stab_write_handle): Change strings to a pointer to
871*3d8817e4Smiod	string_hash_entry.  Add last_strings field.  Remove strings_alloc
872*3d8817e4Smiod	field.
873*3d8817e4Smiod	(string_hash_newfunc): Initialize next field.
874*3d8817e4Smiod	(stab_write_symbol): Copy string into hash table rather than into
875*3d8817e4Smiod	buffer.  Keep a list of hash table entries.
876*3d8817e4Smiod	(write_stabs_in_sections_debugging_info): Initialize last_string.
877*3d8817e4Smiod	Copy strings from list of hash table entries in memory.
878*3d8817e4Smiod	(stab_modify_type): If the entry on the stack is a definition,
879*3d8817e4Smiod	make a new definition rather than failing an assert.
880*3d8817e4Smiod	(stab_array_type): The size is only zero if high is strictly less
881*3d8817e4Smiod	than low.
882*3d8817e4Smiod
883*3d8817e4Smiod	* ieee.c (struct ieee_info): Add saw_filename field.
884*3d8817e4Smiod	(parse_ieee): Initialize saw_filename.
885*3d8817e4Smiod	(parse_ieee_bb): Set saw_filename for a BB1 or BB2.  In a BB1,
886*3d8817e4Smiod	discard the current variables and types.  In a BB10, if no
887*3d8817e4Smiod	filename has been seen, call debug_set_filename.
888*3d8817e4Smiod	(parse_ieee_ty): In case 'g', the type is optional.
889*3d8817e4Smiod
890*3d8817e4Smiod	* prdbg.c (pr_fix_visibility): Don't abort on
891*3d8817e4Smiod	DEBUG_VISIBILITY_IGNORE.
892*3d8817e4Smiod
893*3d8817e4Smiod	* debug.c (debug_name_type): Correct error message.
894*3d8817e4Smiod
895*3d8817e4Smiod	* configure.in: Substitute HLDENV.
896*3d8817e4Smiod	* configure: Rebuild.
897*3d8817e4Smiod	* Makefile.in (HLDENV): New variable.  Use it whenever linking a
898*3d8817e4Smiod	program.
899*3d8817e4Smiod
900*3d8817e4SmiodThu Aug 15 19:30:41 1996  Stan Shebs  <shebs@andros.cygnus.com>
901*3d8817e4Smiod
902*3d8817e4Smiod	* mpw-make.sed: Add symbolic doublequotes around the version
903*3d8817e4Smiod	number.
904*3d8817e4Smiod
905*3d8817e4SmiodThu Aug  8 12:27:52 1996  Klaus Kaempf  <kkaempf@progis.de>
906*3d8817e4Smiod
907*3d8817e4Smiod	* makefile.vms: Add better support for DEC C compilation.
908*3d8817e4Smiod	Add new macros as in Makefile.in.
909*3d8817e4Smiod
910*3d8817e4SmiodWed Aug  7 14:27:33 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
911*3d8817e4Smiod
912*3d8817e4Smiod	* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
913*3d8817e4Smiod	* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
914*3d8817e4Smiod	(NEED_DECLARATION_SBRK): New macro.
915*3d8817e4Smiod	* configure, config.in: Rebuild.
916*3d8817e4Smiod	* bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
917*3d8817e4Smiod	(sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
918*3d8817e4Smiod
919*3d8817e4Smiod	* prdbg.c (pr_end_struct_type): Avoid using a string constant in
920*3d8817e4Smiod	assert, for the benefit of broken assert macros.
921*3d8817e4Smiod
922*3d8817e4SmiodFri Jul 26 14:06:50 1996  Ian Lance Taylor  <ian@cygnus.com>
923*3d8817e4Smiod
924*3d8817e4Smiod	* objdump.c (disassemble_data): Set disasm_info.flavour from
925*3d8817e4Smiod	abfd.
926*3d8817e4Smiod
927*3d8817e4SmiodTue Jul 23 13:59:54 1996  Ian Lance Taylor  <ian@cygnus.com>
928*3d8817e4Smiod
929*3d8817e4Smiod	* dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
930*3d8817e4Smiod	of .text section to 2.
931*3d8817e4Smiod
932*3d8817e4SmiodMon Jul 22 08:46:15 1996  Stu Grossman  (grossman@lisa.cygnus.com)
933*3d8817e4Smiod
934*3d8817e4Smiod	* objdump.c (dump_section_stabs):  Fix test for stabs sections
935*3d8817e4Smiod	ending with numbers.  This fixes a problem with .stab being
936*3d8817e4Smiod	confused with .stab.index.
937*3d8817e4Smiod
938*3d8817e4SmiodWed Jul 10 13:32:28 1996  Ian Lance Taylor  <ian@cygnus.com>
939*3d8817e4Smiod
940*3d8817e4Smiod	* stabs.c (stab_demangle_fund_type): Return a void * for a
941*3d8817e4Smiod	template, rather than simply aborting.
942*3d8817e4Smiod
943*3d8817e4SmiodMon Jul  8 15:28:05 1996  Ian Lance Taylor  <ian@cygnus.com>
944*3d8817e4Smiod
945*3d8817e4Smiod	* ar.c (open_inarch): Add file parameter.  Change all callers.  If
946*3d8817e4Smiod	this is a newly created archive, set the target based on the
947*3d8817e4Smiod	file.
948*3d8817e4Smiod	* arsup.h (open_inarch): Update declaration.
949*3d8817e4Smiod
950*3d8817e4SmiodThu Jul  4 12:00:55 1996  Ian Lance Taylor  <ian@cygnus.com>
951*3d8817e4Smiod
952*3d8817e4Smiod	* Makefile.in (VERSION): Set to cygnus-2.7.1.
953*3d8817e4Smiod
954*3d8817e4Smiod	* Released binutils 2.7.
955*3d8817e4Smiod
956*3d8817e4Smiod	* rdcoff.c (parse_coff): Get address to pass to debug_end_function
957*3d8817e4Smiod	from function size, not value of .ef symbol.  From Ning
958*3d8817e4Smiod	Mosberger-Tang <ning@AZStarNet.com>.
959*3d8817e4Smiod
960*3d8817e4SmiodSat Jun 29 21:18:09 1996  Ian Lance Taylor  <ian@cygnus.com>
961*3d8817e4Smiod
962*3d8817e4Smiod	* objcopy.c (strip_main): Add -o option, and handle it.
963*3d8817e4Smiod	(strip_usage): Mention -o.
964*3d8817e4Smiod	* binutils.texi, strip.1: Mention -o.
965*3d8817e4Smiod
966*3d8817e4SmiodMon Jun 24 17:19:02 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
967*3d8817e4Smiod
968*3d8817e4Smiod	* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
969*3d8817e4Smiod	INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
970*3d8817e4Smiod	(docdir): Removed.
971*3d8817e4Smiod	* configure.in (AC_PREREQ): Autoconf 2.5 or higher.
972*3d8817e4Smiod
973*3d8817e4SmiodMon Jun 24 11:59:13 1996  Ian Lance Taylor  <ian@cygnus.com>
974*3d8817e4Smiod
975*3d8817e4Smiod	* objdump.c (endian): New static variable.
976*3d8817e4Smiod	(usage): Mention -EB/-EL/--endian.
977*3d8817e4Smiod	(long_options): Add "endian".
978*3d8817e4Smiod	(disassemble_data): If endianness was specified, replace
979*3d8817e4Smiod	abfd->xvec with a copy of itself with the given endianness.
980*3d8817e4Smiod	(main): Handle -EB/-EL/--endian.
981*3d8817e4Smiod	* binutils.texi, objdump.1: Mention -EB/-EL/--endian.
982*3d8817e4Smiod
983*3d8817e4Smiod	* objdump.c: Make most variables and functions static.
984*3d8817e4Smiod
985*3d8817e4Smiod	* configure.in: On alpha*-*-osf*, link against libbfd.a if not
986*3d8817e4Smiod	using shared libraries.
987*3d8817e4Smiod	* configure: Rebuild with autoconf 2.10.
988*3d8817e4Smiod
989*3d8817e4SmiodSun Jun 23 14:47:36 1996  Kim Knuttila  <krk@cygnus.com>
990*3d8817e4Smiod
991*3d8817e4Smiod	* dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
992*3d8817e4Smiod	(make_one_lib_file): Removed cruft. (#if 1)
993*3d8817e4Smiod
994*3d8817e4SmiodWed Jun 19 14:46:38 1996  Ian Lance Taylor  <ian@cygnus.com>
995*3d8817e4Smiod
996*3d8817e4Smiod	* objdump.c (stabs): Change from struct internal_nlist * to
997*3d8817e4Smiod	bfd_byte *.
998*3d8817e4Smiod	(print_section_stabs): Fetch stabs information directly, rather
999*3d8817e4Smiod	than assuming that struct internal_nlist is the right size.
1000*3d8817e4Smiod
1001*3d8817e4Smiod	* binutils.texi: Document change to binary format: file position
1002*3d8817e4Smiod	based on load address, not section VMA.
1003*3d8817e4Smiod
1004*3d8817e4Smiod	* bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are
1005*3d8817e4Smiod	not already defined.
1006*3d8817e4Smiod
1007*3d8817e4SmiodTue Jun 18 18:25:00 1996  Ian Lance Taylor  <ian@cygnus.com>
1008*3d8817e4Smiod
1009*3d8817e4Smiod	* Makefile.in (DISTSTUFF): Add deflex.c.
1010*3d8817e4Smiod
1011*3d8817e4SmiodTue Jun 18 15:03:44 1996  Klaus Kaempf  <kkaempf@progis.de>
1012*3d8817e4Smiod
1013*3d8817e4Smiod	* config.h-vms, makefile.vms: New files.
1014*3d8817e4Smiod
1015*3d8817e4SmiodMon Jun 17 09:47:31 1996  Ian Lance Taylor  <ian@cygnus.com>
1016*3d8817e4Smiod
1017*3d8817e4Smiod	* dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
1018*3d8817e4Smiod	BFD_RELOC_32 in IDATA7.
1019*3d8817e4Smiod
1020*3d8817e4SmiodWed Jun 12 11:52:06 1996  Ian Lance Taylor  <ian@cygnus.com>
1021*3d8817e4Smiod
1022*3d8817e4Smiod	* nm.c (struct get_relocs_info): Define.
1023*3d8817e4Smiod	(line_numbers): New static variable.
1024*3d8817e4Smiod	(long_options): Add "line-numbers".
1025*3d8817e4Smiod	(usage): Mention -l and --line-numbers.
1026*3d8817e4Smiod	(main): Handle -l.
1027*3d8817e4Smiod	(print_symbol): Print line numbers if requested.
1028*3d8817e4Smiod	(get_relocs): New static function.
1029*3d8817e4Smiod	* binutils.texi, nm.1: Document -l/--line-numbers.
1030*3d8817e4Smiod
1031*3d8817e4SmiodTue Jun 11 20:12:15 1996  Ian Lance Taylor  <ian@cygnus.com>
1032*3d8817e4Smiod
1033*3d8817e4Smiod	* objdump.c (dump_reloc_set): Add sec parameter.  Change all
1034*3d8817e4Smiod	callers.  If with_line_numbers is set, display line numbers of
1035*3d8817e4Smiod	relocation entries.
1036*3d8817e4Smiod	* binutils.texi, objdump.1: Document -l with -r.
1037*3d8817e4Smiod
1038*3d8817e4SmiodMon Jun 10 23:42:59 1996  Ian Lance Taylor  <ian@cygnus.com>
1039*3d8817e4Smiod
1040*3d8817e4Smiod	* ar.c (open_inarch): Report BFD error message if an archive can
1041*3d8817e4Smiod	not be recognized.  List matching formats if the file is
1042*3d8817e4Smiod	ambiguously recognized.
1043*3d8817e4Smiod	(ranlib_touch): Likewise.
1044*3d8817e4Smiod
1045*3d8817e4SmiodThu Jun  6 13:56:14 1996  Ian Lance Taylor  <ian@cygnus.com>
1046*3d8817e4Smiod
1047*3d8817e4Smiod	* README: Add notes on how to build if you don't have ar.
1048*3d8817e4Smiod
1049*3d8817e4Smiod	* Makefile.in: Remove old incorrect setting of CC.
1050*3d8817e4Smiod
1051*3d8817e4SmiodTue Jun  4 10:52:49 1996  Tom Tromey  <tromey@csk3.cygnus.com>
1052*3d8817e4Smiod
1053*3d8817e4Smiod	* Makefile.in (install): Don't check to see if tooldir exists.
1054*3d8817e4Smiod	Make $(tooldir) and $(tooldir)/bin.
1055*3d8817e4Smiod
1056*3d8817e4SmiodMon Jun  3 17:40:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
1057*3d8817e4Smiod
1058*3d8817e4Smiod	* strings.c (main): Make main an int function, not void.
1059*3d8817e4Smiod
1060*3d8817e4SmiodFri May 31 13:59:24 1996  Ian Lance Taylor  <ian@cygnus.com>
1061*3d8817e4Smiod
1062*3d8817e4Smiod	* nm.c (filter_symbols): Check for BSF_WEAK as well as
1063*3d8817e4Smiod	BSF_GLOBAL.
1064*3d8817e4Smiod	* objcopy.c (filter_symbols): Likewise.
1065*3d8817e4Smiod
1066*3d8817e4SmiodWed May  8 16:57:20 1996  Ian Lance Taylor  <ian@cygnus.com>
1067*3d8817e4Smiod
1068*3d8817e4Smiod	* objcopy.c (copy_object): Make clear that it is only a warning
1069*3d8817e4Smiod	when the output file can not represent the architecture.
1070*3d8817e4Smiod
1071*3d8817e4SmiodFri May  3 11:30:17 1996  Ian Lance Taylor  <ian@cygnus.com>
1072*3d8817e4Smiod
1073*3d8817e4Smiod	* objdump.c (disassemble_data): Don't refer to bytes past the end
1074*3d8817e4Smiod	of data.
1075*3d8817e4Smiod
1076*3d8817e4SmiodWed Apr 24 14:10:21 1996  Ian Lance Taylor  <ian@cygnus.com>
1077*3d8817e4Smiod
1078*3d8817e4Smiod	* rddbg.c (read_symbol_stabs_debugging_info): Move call to
1079*3d8817e4Smiod	free_saved_stabs outside the loop over the symbols.
1080*3d8817e4Smiod
1081*3d8817e4SmiodTue Apr 23 12:56:11 1996  Ian Lance Taylor  <ian@cygnus.com>
1082*3d8817e4Smiod
1083*3d8817e4Smiod	* objdump.c (compare_symbols): Sort symbols whose names start with
1084*3d8817e4Smiod 	`.' after other symbols.  If no other decision can be made, sort
1085*3d8817e4Smiod	symbols by name.
1086*3d8817e4Smiod
1087*3d8817e4SmiodThu Apr 18 16:02:11 1996  Ian Lance Taylor  <ian@cygnus.com>
1088*3d8817e4Smiod
1089*3d8817e4Smiod	* dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
1090*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
1091*3d8817e4Smiod	(dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
1092*3d8817e4Smiod
1093*3d8817e4SmiodTue Apr 16 13:50:22 1996  Ian Lance Taylor  <ian@cygnus.com>
1094*3d8817e4Smiod
1095*3d8817e4Smiod	* rdcoff.c: New file.
1096*3d8817e4Smiod	* rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
1097*3d8817e4Smiod	and no stabs were found.
1098*3d8817e4Smiod	* budbg.h (parse_coff): Declare.
1099*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
1100*3d8817e4Smiod	(CFILES): Add rdcoff.c.
1101*3d8817e4Smiod	(DEBUG_OBJS): Add rdcoff.o.
1102*3d8817e4Smiod
1103*3d8817e4SmiodMon Apr 15 15:55:01 1996  Doug Evans  <dje@canuck.cygnus.com>
1104*3d8817e4Smiod
1105*3d8817e4Smiod	* nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
1106*3d8817e4Smiod	(link_inputs): Update call to choose_temp_base.
1107*3d8817e4Smiod
1108*3d8817e4SmiodMon Apr  8 14:40:05 1996  Ian Lance Taylor  <ian@cygnus.com>
1109*3d8817e4Smiod
1110*3d8817e4Smiod	* configure.in: Permit --enable-shared to specify a list of
1111*3d8817e4Smiod	directories.
1112*3d8817e4Smiod	* configure: Rebuild.
1113*3d8817e4Smiod
1114*3d8817e4SmiodFri Mar 29 16:11:33 1996  Ian Lance Taylor  <ian@cygnus.com>
1115*3d8817e4Smiod
1116*3d8817e4Smiod	* objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
1117*3d8817e4Smiod	and the SEC_LINK_DUPLICATES field.
1118*3d8817e4Smiod
1119*3d8817e4SmiodFri Mar 29 11:35:55 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
1120*3d8817e4Smiod
1121*3d8817e4Smiod	* nlmconv.1: Changed to be recognized by catman -w on Solaris.
1122*3d8817e4Smiod
1123*3d8817e4SmiodThu Mar 28 14:17:02 1996  Ian Lance Taylor  <ian@cygnus.com>
1124*3d8817e4Smiod
1125*3d8817e4Smiod	* wrstabs.c (stab_enum_type): Set buf before using it.
1126*3d8817e4Smiod
1127*3d8817e4SmiodFri Mar 22 15:49:08 1996  Ian Lance Taylor  <ian@cygnus.com>
1128*3d8817e4Smiod
1129*3d8817e4Smiod	* stabs.c (struct stab_handle): Add field abfd.
1130*3d8817e4Smiod	(start_stab): Add abfd parameter.
1131*3d8817e4Smiod	(parse_stab_string): Skip the symbol leading char when searching
1132*3d8817e4Smiod	for the value of a global symbol.
1133*3d8817e4Smiod	* budbg.h (start_stab): Update declaration.
1134*3d8817e4Smiod	* rddbg.c (read_section_stabs_debugging_info): Pass abfd to
1135*3d8817e4Smiod	start_stab.
1136*3d8817e4Smiod	(read_symbol_stabs_debugging_info): Likewise.
1137*3d8817e4Smiod
1138*3d8817e4SmiodThu Mar 21 12:40:48 1996  Ian Lance Taylor  <ian@cygnus.com>
1139*3d8817e4Smiod
1140*3d8817e4Smiod	* wrstabs.c (stab_function_type): Output an empty typedef for an
1141*3d8817e4Smiod	unused argument, rather than making up a meaningless name.
1142*3d8817e4Smiod	(stab_variable): Use N_RSYM for a DEBUG_REGISTER variable.
1143*3d8817e4Smiod
1144*3d8817e4Smiod	* ieee.c (struct ieee_info): Add global_vars field.
1145*3d8817e4Smiod	(parse_ieee_be): When ending the global typedef block, copy the
1146*3d8817e4Smiod	variables into info->global_vars.
1147*3d8817e4Smiod	(parse_ieee_atn): Don't require an NN record for a pmisc ATN.
1148*3d8817e4Smiod	(ieee_read_reference): Search the global variables after the local
1149*3d8817e4Smiod	variables.
1150*3d8817e4Smiod
1151*3d8817e4SmiodWed Mar 20 18:08:19 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1152*3d8817e4Smiod
1153*3d8817e4Smiod	* objdump.c (disassemble_data): Make sure sym_name is always set.
1154*3d8817e4Smiod	(dump_section_header): Always put a space after the section name.
1155*3d8817e4Smiod	(dump_bfd_header): Terminate output with newline.
1156*3d8817e4Smiod
1157*3d8817e4SmiodWed Mar 20 16:35:20 1996  Ian Lance Taylor  <ian@cygnus.com>
1158*3d8817e4Smiod
1159*3d8817e4Smiod	* wrstabs.c: New file.
1160*3d8817e4Smiod	* budbg.h (write_stabs_in_sections_debugging_info): Declare.
1161*3d8817e4Smiod	* objcopy.c (write_debugging_info): For COFF or ELF, output stabs
1162*3d8817e4Smiod	in sections.
1163*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
1164*3d8817e4Smiod	(CFILES): Add wrstabs.c.
1165*3d8817e4Smiod	(WRITE_DEBUG_OBJS): New variable.
1166*3d8817e4Smiod	($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
1167*3d8817e4Smiod	($(STRIP_PROG)): Likewise.
1168*3d8817e4Smiod
1169*3d8817e4Smiod	* stabs.c (parse_stab_members): Make type stub detection more like
1170*3d8817e4Smiod	gdb.
1171*3d8817e4Smiod
1172*3d8817e4Smiod	* ieee.c (struct ieee_handle): Add fields complex_float_index and
1173*3d8817e4Smiod	complex_double_index.
1174*3d8817e4Smiod	(ieee_complex_type): Cache type index in complex_float_index and
1175*3d8817e4Smiod	complex_double_index, depending upon size.  Set size on type stack
1176*3d8817e4Smiod	to size * 2.
1177*3d8817e4Smiod
1178*3d8817e4Smiod	* ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
1179*3d8817e4Smiod	(ieee_void_type): Use builtin_void, not 1.
1180*3d8817e4Smiod
1181*3d8817e4Smiod	* ieee.c (parse_ieee_ty): Handle 'V' type code.
1182*3d8817e4Smiod	(parse_ieee_atn): Don't require two numbers for type 10.
1183*3d8817e4Smiod
1184*3d8817e4Smiod	* ieee.c (parse_ieee_be): Add one to offset at end of function or
1185*3d8817e4Smiod	block.
1186*3d8817e4Smiod
1187*3d8817e4Smiod	* ieee.c (struct ieee_block): Add field skip.
1188*3d8817e4Smiod	(parse_ieee_bb): Don't call debug_record_function for __XRYCPP
1189*3d8817e4Smiod	function, and set skip field.
1190*3d8817e4Smiod	(parse_ieee_be): Don't call debug_end_function if skip is set.
1191*3d8817e4Smiod
1192*3d8817e4Smiod	* debug.c (struct debug_handle): Add fields current_write_lineno
1193*3d8817e4Smiod	and current_write_lineno_index.
1194*3d8817e4Smiod	(debug_write): Initialize current_write_lineno and
1195*3d8817e4Smiod	current_write_lineno_index for each unit.  Call
1196*3d8817e4Smiod	debug_write_linenos rather than writing out the line numbers
1197*3d8817e4Smiod	directly.
1198*3d8817e4Smiod	(debug_write_function): Call debug_write_linenos.
1199*3d8817e4Smiod	(debug_write_block): Likewise.
1200*3d8817e4Smiod	(debug_write_linenos): New static function.
1201*3d8817e4Smiod
1202*3d8817e4Smiod	* debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return
1203*3d8817e4Smiod	type before arguments.
1204*3d8817e4Smiod
1205*3d8817e4SmiodMon Mar 18 18:05:33 1996  Ian Lance Taylor  <ian@cygnus.com>
1206*3d8817e4Smiod
1207*3d8817e4Smiod	* configure.in: Add AC_FUNC_VFORK.
1208*3d8817e4Smiod	* configure, config.in: Rebuild.
1209*3d8817e4Smiod	* dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
1210*3d8817e4Smiod	defined.
1211*3d8817e4Smiod
1212*3d8817e4Smiod	* stabs.c (parse_stab_range_type): A complex type is defined as a
1213*3d8817e4Smiod	subrange of itself with the high bound zero.
1214*3d8817e4Smiod	* ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
1215*3d8817e4Smiod
1216*3d8817e4SmiodTue Mar 12 12:09:43 1996  Ian Lance Taylor  <ian@cygnus.com>
1217*3d8817e4Smiod
1218*3d8817e4Smiod	* ieee.c (ieee_write_undefined_tag): Switch to global_types even
1219*3d8817e4Smiod	if it is not empty.
1220*3d8817e4Smiod	(ieee_tag_type): For an enum, look through info->enums.
1221*3d8817e4Smiod
1222*3d8817e4Smiod	* configure: Rebuild with autoconf 2.8.
1223*3d8817e4Smiod
1224*3d8817e4Smiod	* debug.c (debug_type_samep): Don't loop endlessly in
1225*3d8817e4Smiod	DEBUG_KIND_ENUM case.  From Eric Baur <ecb@nexen.com>.
1226*3d8817e4Smiod
1227*3d8817e4SmiodMon Mar 11 12:35:03 1996  Ian Lance Taylor  <ian@cygnus.com>
1228*3d8817e4Smiod
1229*3d8817e4Smiod	* rddbg.c (read_section_stabs_debugging_info): Call save_stab for
1230*3d8817e4Smiod	each stab entry, call stab_context on an error, and call
1231*3d8817e4Smiod	free_saved_stabs before rturning.
1232*3d8817e4Smiod	(read_symbol_stabs_debugging_info): Likewise.
1233*3d8817e4Smiod	(SAVE_STABS_COUNT): Define.
1234*3d8817e4Smiod	(struct saved_stab): Define.
1235*3d8817e4Smiod	(saved_stabs, saved_stabs_index): New static variables.
1236*3d8817e4Smiod	(save_stab, stab_context, free_saved_stabs): New static functios.
1237*3d8817e4Smiod
1238*3d8817e4Smiod	* objdump.c (stab_name): Remove.
1239*3d8817e4Smiod	(struct stab_print): Remove.
1240*3d8817e4Smiod	(stab_print): Remove.
1241*3d8817e4Smiod	(dump_stabs): Don't initialize stab_name.
1242*3d8817e4Smiod	(print_section_stabs): Call bfd_get_stab_name rather than using
1243*3d8817e4Smiod	the stab_name array.
1244*3d8817e4Smiod
1245*3d8817e4SmiodTue Feb 27 19:52:01 1996  Ian Lance Taylor  <ian@cygnus.com>
1246*3d8817e4Smiod
1247*3d8817e4Smiod	* prdbg.c (pr_int_constant): Initialize info correctly.
1248*3d8817e4Smiod	(pr_float_constant): Likewise.
1249*3d8817e4Smiod
1250*3d8817e4SmiodMon Feb 26 18:11:37 1996  Stan Shebs  <shebs@andros.cygnus.com>
1251*3d8817e4Smiod
1252*3d8817e4Smiod	* mpw-make.sed: Update to handle shared library support.
1253*3d8817e4Smiod
1254*3d8817e4SmiodSat Feb 24 11:21:49 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>:
1255*3d8817e4Smiod
1256*3d8817e4Smiod	* Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
1257*3d8817e4Smiod	$(OPCODES).
1258*3d8817e4Smiod
1259*3d8817e4SmiodThu Feb 15 12:44:45 1996  Ian Lance Taylor  <ian@cygnus.com>
1260*3d8817e4Smiod
1261*3d8817e4Smiod	* configure.in: Don't tamper with LDFLAGS.  Call AC_PROG_CC before
1262*3d8817e4Smiod	configure.host.
1263*3d8817e4Smiod	* configure: Rebuild.
1264*3d8817e4Smiod
1265*3d8817e4Smiod	* configure.in: Substitute RPATH_ENVVAR.
1266*3d8817e4Smiod	* configure: Rebuild.
1267*3d8817e4Smiod	* Makefile.in (RPATH_ENVVAR): New variable.
1268*3d8817e4Smiod	(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1269*3d8817e4Smiod
1270*3d8817e4Smiod	* objcopy.c (smart_rename): Rather than doing chmod then chown, do
1271*3d8817e4Smiod	chmod without setuid, then chown, then chmod with setuid.
1272*3d8817e4Smiod
1273*3d8817e4SmiodWed Feb 14 16:46:42 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
1274*3d8817e4Smiod
1275*3d8817e4Smiod	* arsup.c (map_over_list): Reindent.  Don't assume that the
1276*3d8817e4Smiod	function does not delete the BFD.
1277*3d8817e4Smiod	(ar_addlib_doer): Don't set prev->next if prev is NULL.
1278*3d8817e4Smiod
1279*3d8817e4SmiodWed Feb 14 15:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
1280*3d8817e4Smiod
1281*3d8817e4Smiod	* ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
1282*3d8817e4Smiod	and i960.
1283*3d8817e4Smiod	(ieee_genreg_to_regno): Likewise.
1284*3d8817e4Smiod
1285*3d8817e4SmiodMon Feb 12 14:19:59 1996  Ian Lance Taylor  <ian@cygnus.com>
1286*3d8817e4Smiod
1287*3d8817e4Smiod	* ieee.c: Extensive changes to write code to put types in the
1288*3d8817e4Smiod	global type block when possible, to output ranges for all memory
1289*3d8817e4Smiod	occupied by the module, and to improve efficiency.
1290*3d8817e4Smiod
1291*3d8817e4Smiod	* debug.c (struct debug_handle): Remove class_mark field.  Add
1292*3d8817e4Smiod	id_list and compare_list fields.
1293*3d8817e4Smiod	(struct debug_class_id): Define.
1294*3d8817e4Smiod	(struct debug_type_compare_list): Define.
1295*3d8817e4Smiod	(debug_write): Initialize info->id_list
1296*3d8817e4Smiod	(debug_write_name): Remove reference to info->class_mark.
1297*3d8817e4Smiod	(debug_write_type): Get id for all structs and classes.  Simplify
1298*3d8817e4Smiod	test for whether struct has already been written.
1299*3d8817e4Smiod	(debug_write_class_type): Get id for all classes.  Simplify test
1300*3d8817e4Smiod	for whether class has already been written.
1301*3d8817e4Smiod	(debug_write_block): Don't write out blocks other than the top
1302*3d8817e4Smiod	level block if they have no local variables.
1303*3d8817e4Smiod	(debug_set_class_id): New static function.
1304*3d8817e4Smiod	(debug_type_samep): New static function.
1305*3d8817e4Smiod	(debug_class_type_samep): New static function.
1306*3d8817e4Smiod	* prdbg.c (pr_start_struct_type): Always print id.
1307*3d8817e4Smiod	(pr_start_class_type): Likewise.
1308*3d8817e4Smiod	(pr_tag_type): Likewise.
1309*3d8817e4Smiod
1310*3d8817e4Smiod	* stabs.c (struct stab_handle): Add syms and symcount fields.
1311*3d8817e4Smiod	(start_stab): Add syms and symcount parameters.  Change all
1312*3d8817e4Smiod	callers.
1313*3d8817e4Smiod	(parse_stab_string): Look up global variables in the symbol table
1314*3d8817e4Smiod	to get the right value.
1315*3d8817e4Smiod	* budbg.h (start_stab): Update declaration.
1316*3d8817e4Smiod	* rddbg.c (read_section_stabs_debugging_info): Add syms and
1317*3d8817e4Smiod	symcount parameters.  Change all callers.
1318*3d8817e4Smiod
1319*3d8817e4Smiod	* stabs.c (parse_stab_array_type): If the index type is 0, use
1320*3d8817e4Smiod	int.
1321*3d8817e4Smiod
1322*3d8817e4SmiodWed Feb  7 14:17:45 1996  Ian Lance Taylor  <ian@cygnus.com>
1323*3d8817e4Smiod
1324*3d8817e4Smiod	* ieee.c (ieee_start_compilation_unit): Clear modified and
1325*3d8817e4Smiod	modified_alloc fields of info.
1326*3d8817e4Smiod
1327*3d8817e4Smiod	* configure.in: Check for --enable-shared.  Substitute new
1328*3d8817e4Smiod	variables BFDLIB and OPCODES.
1329*3d8817e4Smiod	* configure: Rebuild.
1330*3d8817e4Smiod	* Makefile.in (BFDLIB): Set to @BFDLIB@.
1331*3d8817e4Smiod	(OPCODES): Set to @OPCODES@.
1332*3d8817e4Smiod
1333*3d8817e4SmiodMon Feb  5 16:18:42 1996  Ian Lance Taylor  <ian@cygnus.com>
1334*3d8817e4Smiod
1335*3d8817e4Smiod	Support for building bfd and opcodes as shared libraries, based on
1336*3d8817e4Smiod	patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
1337*3d8817e4Smiod	* configure.in (HLDFLAGS): New substitution.
1338*3d8817e4Smiod	* configure: Rebuild.
1339*3d8817e4Smiod	* Makefile.in (HLDFLAGS): New variable.  Make all links use
1340*3d8817e4Smiod	$(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS).
1341*3d8817e4Smiod	(BFDLIB_DEP): New variable.  Replace all occurrences of $(BFD) as
1342*3d8817e4Smiod	a dependency with $(BFDLIB_DEP).  Remove $(BFD) as a dependency if
1343*3d8817e4Smiod	there is also a dependency on $(ADDL_DEPS).
1344*3d8817e4Smiod	(BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd.
1345*3d8817e4Smiod	(OPCODES_DEP): New variable.  Replace all occurrends of $(OPCODES)
1346*3d8817e4Smiod	as a dependency with $(OPCODES_DEP).
1347*3d8817e4Smiod	(OPCODES): Set to -L../opcodes -lopcodes.
1348*3d8817e4Smiod	(ADDL_DEPS): New variable.  Replace all occurrences of
1349*3d8817e4Smiod	$(ADDL_LIBS) as a dependency with $(ADDL_DEPS).
1350*3d8817e4Smiod	(check): Set LD_LIBRARY_PATH in the environment.
1351*3d8817e4Smiod	(config.status): Depend upon BFD configure.host and config.bfd.
1352*3d8817e4Smiod
1353*3d8817e4SmiodFri Feb  2 17:02:59 1996  Doug Evans  <dje@charmed.cygnus.com>
1354*3d8817e4Smiod
1355*3d8817e4Smiod	* objdump.c: #include stdarg.h or varargs.h.
1356*3d8817e4Smiod	(objdump_print_value): Change FILE* arg to struct disassemble_info*.
1357*3d8817e4Smiod	All callers updated.  Use fprintf_func.
1358*3d8817e4Smiod	(objdump_print_address): Consistently use fprintf_func.
1359*3d8817e4Smiod	(objdump_sprintf): New function.
1360*3d8817e4Smiod	(disassemble_data): Print insn into a buffer, print raw insn ourselves,
1361*3d8817e4Smiod	then print insn mnemonic.
1362*3d8817e4Smiod
1363*3d8817e4SmiodFri Feb  2 16:48:55 1996  Ian Lance Taylor  <ian@cygnus.com>
1364*3d8817e4Smiod
1365*3d8817e4Smiod	* configure: Regenerate.
1366*3d8817e4Smiod
1367*3d8817e4SmiodThu Feb  1 09:38:18 1996  Steve Chamberlain  <sac@slash.cygnus.com>
1368*3d8817e4Smiod
1369*3d8817e4Smiod	* configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
1370*3d8817e4Smiod	(powerpc*-*-cygwin32): New.
1371*3d8817e4Smiod	* configure: Regenerated.
1372*3d8817e4Smiod
1373*3d8817e4SmiodWed Jan 31 13:22:03 1996  Richard Henderson  <rth@tamu.edu>
1374*3d8817e4Smiod
1375*3d8817e4Smiod	* Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
1376*3d8817e4Smiod
1377*3d8817e4SmiodMon Jan 29 17:36:29 1996  Ian Lance Taylor  <ian@cygnus.com>
1378*3d8817e4Smiod
1379*3d8817e4Smiod	Based on patches from H J Lu <hjl@zoom.com>:
1380*3d8817e4Smiod	* objcopy.c (remove_leading_char): New static variable.
1381*3d8817e4Smiod	(OPTION_REMOVE_LEADING_CHAR): Define.
1382*3d8817e4Smiod	(copy_usage): Mention --remove-leading-char.
1383*3d8817e4Smiod	(filter_symbols): If remove_leading_char, and the first character
1384*3d8817e4Smiod	of a global symbol matches the symbol leading char of the BFD,
1385*3d8817e4Smiod	remove the first character.
1386*3d8817e4Smiod	(copy_object): Filter the symbols if remove_leading_char is set.
1387*3d8817e4Smiod	(copy_main): Handle --remove-leading-char.
1388*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --remove-leading-char.
1389*3d8817e4Smiod
1390*3d8817e4SmiodSat Jan 27 15:40:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
1391*3d8817e4Smiod
1392*3d8817e4Smiod	* objdump.c (fprintf): Add prototype to avoid compiler warning on
1393*3d8817e4Smiod	SunOS.
1394*3d8817e4Smiod
1395*3d8817e4SmiodFri Jan 26 11:53:42 1996  Ian Lance Taylor  <ian@cygnus.com>
1396*3d8817e4Smiod
1397*3d8817e4Smiod	* binutils.texi (nm): Improve documentation on symbol types.
1398*3d8817e4Smiod	(objdump): Reference the stabs manual from the discussion of the
1399*3d8817e4Smiod	--stabs option.
1400*3d8817e4Smiod
1401*3d8817e4SmiodThu Jan 25 11:21:46 1996  Raymond Jou  <rjou@mexican.cygnus.com>
1402*3d8817e4Smiod
1403*3d8817e4Smiod	* mpw-make.sed: Add a "stamps" target.
1404*3d8817e4Smiod
1405*3d8817e4SmiodThu Jan 25 13:51:44 1996  Ian Lance Taylor  <ian@cygnus.com>
1406*3d8817e4Smiod
1407*3d8817e4Smiod	* objdump.c (dump_headers, dump_section_header): Change objdump -h
1408*3d8817e4Smiod	output to be simpler and to include section file offsets.
1409*3d8817e4Smiod
1410*3d8817e4SmiodWed Jan 24 12:06:05 1996  Ian Lance Taylor  <ian@cygnus.com>
1411*3d8817e4Smiod
1412*3d8817e4Smiod	* stabs.c (parse_stab_members): Don't adjust voffset.
1413*3d8817e4Smiod
1414*3d8817e4Smiod	* ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
1415*3d8817e4Smiod	(struct ieee_write_type): Add name field.
1416*3d8817e4Smiod	(struct ieee_type_class): Remove name field.  Change all uses to
1417*3d8817e4Smiod	use new name field in type instead.
1418*3d8817e4Smiod	(struct ieee_name_type): Likewise.
1419*3d8817e4Smiod	(ieee_start_struct_type): Initialize name field of type.
1420*3d8817e4Smiod	(ieee_start_class_type): Don't initialize classdef entry of tag.
1421*3d8817e4Smiod	(ieee_class_method_var): Don't adjust voffset.
1422*3d8817e4Smiod	(ieee_end_class_type): Likewise.
1423*3d8817e4Smiod	(ieee_tag_type): Initialize new name field of type.
1424*3d8817e4Smiod	(ieee_typdef): Set name after copying in type information.
1425*3d8817e4Smiod
1426*3d8817e4Smiod	* debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1.
1427*3d8817e4Smiod
1428*3d8817e4Smiod	* ieee.c (struct ieee_modified_type): Define.
1429*3d8817e4Smiod	(struct ieee_handle): Add modified and modified_alloc fields.
1430*3d8817e4Smiod	(ieee_get_modified_info): New static function.
1431*3d8817e4Smiod	(ieee_pointer_type): Cache type index.
1432*3d8817e4Smiod	(ieee_const_type): Likewise.
1433*3d8817e4Smiod	(ieee_volatile_type): Likewise.
1434*3d8817e4Smiod
1435*3d8817e4Smiod	* ieee.c (ieee_define_named_type): When creating a tag for an
1436*3d8817e4Smiod	anonymous struct, copy the name into memory.
1437*3d8817e4Smiod	(ieee_tag_type): Likewise.
1438*3d8817e4Smiod	* debug.c (debug_write_type): Only check and set id field for an
1439*3d8817e4Smiod	unnamed object.
1440*3d8817e4Smiod	(debug_write_class_type): Likewise.
1441*3d8817e4Smiod
1442*3d8817e4Smiod	* ieee.c: Various changes to write out types for functions and
1443*3d8817e4Smiod	references, and to not write out unnecessary function types.
1444*3d8817e4Smiod
1445*3d8817e4Smiod	* ieee.c (struct ieee_var): Remove variable field.  Add kind
1446*3d8817e4Smiod	field, and define some enum constants for it.
1447*3d8817e4Smiod	(parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
1448*3d8817e4Smiod	(parse_ieee_atn): Make an indirect slot for an external variable,
1449*3d8817e4Smiod	although we otherwise don't record it.  Set kind field rather than
1450*3d8817e4Smiod	variable field of pvar.
1451*3d8817e4Smiod	(ieee_read_cxx_class): Try to get the type of a static member.
1452*3d8817e4Smiod	(ieee_read_reference): Check kind field rather than variable
1453*3d8817e4Smiod	field.
1454*3d8817e4Smiod
1455*3d8817e4SmiodTue Jan 23 15:54:18 1996  Ian Lance Taylor  <ian@cygnus.com>
1456*3d8817e4Smiod
1457*3d8817e4Smiod	* ieee.c: Various changes to handle reading C++ reference type
1458*3d8817e4Smiod	information.
1459*3d8817e4Smiod
1460*3d8817e4Smiod	* debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
1461*3d8817e4Smiod	(enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL.
1462*3d8817e4Smiod	* debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
1463*3d8817e4Smiod
1464*3d8817e4Smiod	* ieee.c: Various changes to write out definitions of C++ classes.
1465*3d8817e4Smiod
1466*3d8817e4Smiod	* debug.c (debug_append_filename): Remove.
1467*3d8817e4Smiod	* debug.h (debug_append_filename): Don't declare.
1468*3d8817e4Smiod
1469*3d8817e4Smiod	* stabs.c (struct stab_handle): Remove last_type field.  Add
1470*3d8817e4Smiod	so_string and so_value fields.
1471*3d8817e4Smiod	(finish_stab): Call stab_emit_pending_vars before calling
1472*3d8817e4Smiod	debug_end_function.  Don't warn about pending variables.
1473*3d8817e4Smiod	(parse_stab): Accumulate N_SO strings until a non N_SO symbol is
1474*3d8817e4Smiod	seen, rather than calling debug_append_filename.  Call
1475*3d8817e4Smiod	stab_emit_pending_vars before calling debug_end_function.  Don't
1476*3d8817e4Smiod	set info->last_type.
1477*3d8817e4Smiod
1478*3d8817e4SmiodTue Jan 23 09:53:54 1996  Doug Evans  <dje@charmed.cygnus.com>
1479*3d8817e4Smiod
1480*3d8817e4Smiod	* objdump.c (disassemble_data): Handle unknown endianness.
1481*3d8817e4Smiod	Pass fprintf to INIT_DISASSEMBLE_INFO.
1482*3d8817e4Smiod
1483*3d8817e4SmiodMon Jan 22 16:46:43 1996  Doug Evans  <dje@charmed.cygnus.com>
1484*3d8817e4Smiod
1485*3d8817e4Smiod	Add new option --show-raw-insn.
1486*3d8817e4Smiod	* objdump.c (show_raw_insn): New global.
1487*3d8817e4Smiod	(usage): Update.
1488*3d8817e4Smiod	(long_options): Update.
1489*3d8817e4Smiod	(disassemble_data): Set disasm_info.flags if --show-raw-insn.
1490*3d8817e4Smiod
1491*3d8817e4Smiod	* objdump.c (disassemble_data): Set new arch,mach,endian fields in
1492*3d8817e4Smiod	disasm_info.
1493*3d8817e4Smiod
1494*3d8817e4SmiodMon Jan 22 19:29:36 1996  Ian Lance Taylor  <ian@cygnus.com>
1495*3d8817e4Smiod
1496*3d8817e4Smiod	* ieee.c: Extensive changes to pass a single info argument around
1497*3d8817e4Smiod	in the reading routines, rather than several arguments.  Add code
1498*3d8817e4Smiod	to read C++ debugging records.
1499*3d8817e4Smiod
1500*3d8817e4Smiod	* debug.h (debug_get_type_size): Declare.
1501*3d8817e4Smiod	(debug_get_field_name): Declare.
1502*3d8817e4Smiod	(debug_get_field_bitpos): Declare.
1503*3d8817e4Smiod	(debug_get_field_bitsize): Declare.
1504*3d8817e4Smiod	(debug_get_field_visibility): Declare.
1505*3d8817e4Smiod	(debug_get_field_physname): Declare.
1506*3d8817e4Smiod	* debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED.
1507*3d8817e4Smiod	(debug_get_type_size): New function.
1508*3d8817e4Smiod	(debug_get_field_name): New function.
1509*3d8817e4Smiod	(debug_get_field_bitpos): New function.
1510*3d8817e4Smiod	(debug_get_field_bitsize): New function.
1511*3d8817e4Smiod	(debug_get_field_visibility): New function.
1512*3d8817e4Smiod	(debug_get_field_physname): New function.
1513*3d8817e4Smiod	(debug_write_type): Make sure we pass the real kind, not INDIRECT,
1514*3d8817e4Smiod	to tag_type.  Pass the name recursively for INDIRECT.
1515*3d8817e4Smiod
1516*3d8817e4SmiodFri Jan 19 12:31:57 1996  Ian Lance Taylor  <ian@cygnus.com>
1517*3d8817e4Smiod
1518*3d8817e4Smiod	* debug.h (struct debug_write_fns): Remove ellipsis_type.  Add int
1519*3d8817e4Smiod	and boolean parameters to function_type.  Add boolean parameter to
1520*3d8817e4Smiod	method_type.
1521*3d8817e4Smiod	(debug_make_ellipsis_type): Don't declare.
1522*3d8817e4Smiod	(debug_make_function_type): Add debug_type * and boolean
1523*3d8817e4Smiod	parameters.  Change all callers.
1524*3d8817e4Smiod	(debug_make_method_type): Add boolean parameter.  Change all
1525*3d8817e4Smiod	callers.
1526*3d8817e4Smiod	(debug_get_parameter_types): Add boolean * parameter.  Change all
1527*3d8817e4Smiod	callers.
1528*3d8817e4Smiod	(debug_get_target_type): Declare.
1529*3d8817e4Smiod	* debug.c (struct debug_function_type): Add fields arg_types and
1530*3d8817e4Smiod	varargs.
1531*3d8817e4Smiod	(struct debug_method_type): Add field varargs.
1532*3d8817e4Smiod	(debug_ellipsis_type, ELLIPSIS_P): Remove.
1533*3d8817e4Smiod	(debug_make_ellipsis_type): Remove.
1534*3d8817e4Smiod	(debug_make_function_type): Add arg_types and varargs parameters.
1535*3d8817e4Smiod	(debug_make_method_type): Add varargs parameter.
1536*3d8817e4Smiod	(debug_get_parameter_types): Add pvarargs parameter.
1537*3d8817e4Smiod	(debug_get_target_type): New function.
1538*3d8817e4Smiod	(debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
1539*3d8817e4Smiod	types and pass count to function_type.  In DEBUG_KIND_METHOD, use
1540*3d8817e4Smiod	a signed int for the count, don't call ellipsis_type, and pass
1541*3d8817e4Smiod	varargs to method_type.
1542*3d8817e4Smiod	* stabs.c (struct stab_demangle_info): Add varargs field.
1543*3d8817e4Smiod	(stab_demangle_argtypes): Add pvarargs parameter.  Change all
1544*3d8817e4Smiod	callers.
1545*3d8817e4Smiod	(stab_demangle_args): Likewise.
1546*3d8817e4Smiod	(stab_demangle_type): In case 'F', pick up argument types.
1547*3d8817e4Smiod	* prdbg.c (pr_ellipsis_type): Remove.
1548*3d8817e4Smiod	(pr_function_type): Add argcount and varargs parameters.
1549*3d8817e4Smiod	(pr_method_type): Add varargs parameter.
1550*3d8817e4Smiod	* ieee.c (ieee_ellipsis_type): Remove.
1551*3d8817e4Smiod	(ieee_function_type): Add argcount and varargs parameters.
1552*3d8817e4Smiod	(ieee_method_type): Add varargs parameter.  Remove most of
1553*3d8817e4Smiod	function body, and just call ieee_function_type.
1554*3d8817e4Smiod
1555*3d8817e4Smiod	* stabs.c: Include "demangle.h".  Added several new static
1556*3d8817e4Smiod	functions not listed below to demangle argument types; they are
1557*3d8817e4Smiod	all called via stab_demangle_argtypes.
1558*3d8817e4Smiod	(finish_stab): If the kind of an undefined tag is
1559*3d8817e4Smiod	DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead.  Warn if there
1560*3d8817e4Smiod	are any pending variable.
1561*3d8817e4Smiod	(parse_stab): Don't close the function when the block depth goes
1562*3d8817e4Smiod	to zero.  Pass value to debug_end_function.
1563*3d8817e4Smiod	(parse_stab_string): In case 'T', pass the name to
1564*3d8817e4Smiod	parse_stab_type.
1565*3d8817e4Smiod	(parse_stab_type): In case 'x', use stab_find_tagged_type.  In
1566*3d8817e4Smiod	case '#', handle functions with variable numbers of arguments.
1567*3d8817e4Smiod	(parse_stab_struct_type): Add tagname parameter.  Change all
1568*3d8817e4Smiod	callers.
1569*3d8817e4Smiod	(parse_stab_members): Add tagname and typenums parameters.  Change
1570*3d8817e4Smiod	all callers.  If the type of a method is a stub, call
1571*3d8817e4Smiod	parse_stab_argtypes to demangle the argument types and get the
1572*3d8817e4Smiod	physical name of the function.
1573*3d8817e4Smiod	(parse_stab_argtypes): New static function.
1574*3d8817e4Smiod	(stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
1575*3d8817e4Smiod	variable, call debug_record_variable immediately.
1576*3d8817e4Smiod	(stab_find_tagged_type): New static function.
1577*3d8817e4Smiod
1578*3d8817e4Smiod	* debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
1579*3d8817e4Smiod	(struct debug_write_fns): Add field ellipsis_type.  Add id
1580*3d8817e4Smiod	parameter to start_struct_type, start_class_type, and tag_type.
1581*3d8817e4Smiod	(debug_make_ellipsis_type): Declare.
1582*3d8817e4Smiod	(debug_find_named_type): Declare.
1583*3d8817e4Smiod	(debug_get_type_kind): Declare.
1584*3d8817e4Smiod	(debug_get_return_type): Declare.
1585*3d8817e4Smiod	(debug_get_parameter_types): Declare.
1586*3d8817e4Smiod	(debug_get_fields): Declare.
1587*3d8817e4Smiod	(debug_get_field_type): Declare.
1588*3d8817e4Smiod	* debug.c (struct debug_handle): Add fields class_id and base_id.
1589*3d8817e4Smiod	(struct debug_class_type): Add field id.
1590*3d8817e4Smiod	(struct debug_method_variant): Rename argtypes to physname.
1591*3d8817e4Smiod	Change all uses.
1592*3d8817e4Smiod	(debug_ellipsis_type): New static variable.
1593*3d8817e4Smiod	(ELLIPSIS_P): New macro.
1594*3d8817e4Smiod	(debug_make_ellipsis_type): New function.
1595*3d8817e4Smiod	(debug_make_method_variant): Rename argtypes to physname.
1596*3d8817e4Smiod	(debug_make_static_method_variant): Likewise.
1597*3d8817e4Smiod	(debug_name_type): Always put types in the global namespace.
1598*3d8817e4Smiod	(debug_find_named_type): New function.
1599*3d8817e4Smiod	(debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
1600*3d8817e4Smiod	rather than DEBUG_KIND_VOID.
1601*3d8817e4Smiod	(debug_get_real_type): New static function.
1602*3d8817e4Smiod	(debug_get_type_kind): New function.
1603*3d8817e4Smiod	(debug_get_return_type): New function.
1604*3d8817e4Smiod	(debug_get_parameter_types): New function.
1605*3d8817e4Smiod	(debug_get_fields): New function.
1606*3d8817e4Smiod	(debug_get_field_type): New function.
1607*3d8817e4Smiod	(debug_write): Initialize base_id.
1608*3d8817e4Smiod	(debug_write_type): Pass new id argument to tag_type.  Handle
1609*3d8817e4Smiod	DEBUG_KIND_ILLEGAL.  Use id for	DEBUG_KIND_STRUCT and
1610*3d8817e4Smiod	DEBUG_KIND_UNION.  Handle ellipsis for method arguments.
1611*3d8817e4Smiod	(debug_write_class_type): Don't dereference kclass if it is NULL.
1612*3d8817e4Smiod	Use id.
1613*3d8817e4Smiod	* prdbg.c (pr_fns): Add pr_ellipsis_type.
1614*3d8817e4Smiod	(pr_ellipsis_type): New static function.
1615*3d8817e4Smiod	(pr_pointer_type): If this is a pointer to an array, parenthesize
1616*3d8817e4Smiod	it correctly.
1617*3d8817e4Smiod	(pr_start_struct_type): Add id parameter.
1618*3d8817e4Smiod	(pr_start_class_type): Likewise.
1619*3d8817e4Smiod	(pr_tag_type): Likewise.
1620*3d8817e4Smiod	(pr_fix_visibility): Add the visibility to the top of the stack,
1621*3d8817e4Smiod	not the second element on the stack.
1622*3d8817e4Smiod	(pr_struct_field): Pop the stack before calling pr_fix_visibility.
1623*3d8817e4Smiod	(pr_class_static_member): Likewise.
1624*3d8817e4Smiod	(pr_class_start_method): Don't push a type, just set the method
1625*3d8817e4Smiod	name in the type on the top of the stack.
1626*3d8817e4Smiod	(pr_class_end_method): Don't pop the stack.
1627*3d8817e4Smiod	(pr_class_method_variant): Rename argtypes parameter to physname.
1628*3d8817e4Smiod	Append const and volatile rather than prepending them.  Add a
1629*3d8817e4Smiod	space after the physname.
1630*3d8817e4Smiod	(pr_class_static_method_variant): Likewise.
1631*3d8817e4Smiod	* ieee.c (ieee_fns): Add ieee_ellipsis_type.
1632*3d8817e4Smiod	(ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
1633*3d8817e4Smiod	DEBUG_KIND_VOID.
1634*3d8817e4Smiod	(write_ieee_debugging_info): Likewise.
1635*3d8817e4Smiod	(ieee_typdef): Likewise.
1636*3d8817e4Smiod	(ieee_ellipsis_type): New static function.
1637*3d8817e4Smiod	(ieee_start_struct_type): Add id parameter.
1638*3d8817e4Smiod	(ieee_start_class_type): Likewise.
1639*3d8817e4Smiod	(ieee_tag_type): Likewise.
1640*3d8817e4Smiod	(ieee_class_method_variant): Rename name to physname.
1641*3d8817e4Smiod	(ieee_class_static_method_variant): Likewise.
1642*3d8817e4Smiod
1643*3d8817e4Smiod	* Makefile.in (DEBUG_OBJS): Remove prdbg.o.
1644*3d8817e4Smiod	($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o.
1645*3d8817e4Smiod
1646*3d8817e4SmiodThu Jan 18 17:35:06 1996  Kim Knuttila  <krk@cygnus.com>
1647*3d8817e4Smiod
1648*3d8817e4Smiod	* dlltool.c (make_tail): Changed the order of the sections to avoid
1649*3d8817e4Smiod	an alignment problem.
1650*3d8817e4Smiod
1651*3d8817e4SmiodWed Jan 17 14:23:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
1652*3d8817e4Smiod
1653*3d8817e4Smiod	* srconv.c (wr_du): Set du.stackfrmt to 0.
1654*3d8817e4Smiod	(wr_un, wr_sc): Emit all sections, even those with 0 size.
1655*3d8817e4Smiod
1656*3d8817e4SmiodTue Jan 16 16:15:49 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
1657*3d8817e4Smiod
1658*3d8817e4Smiod	* srconv.c (wr_hd): Space size within segment was being
1659*3d8817e4Smiod	stored in segment identifier field.
1660*3d8817e4Smiod
1661*3d8817e4SmiodTue Jan 16 12:07:25 1996  Stan Shebs  <shebs@andros.cygnus.com>
1662*3d8817e4Smiod
1663*3d8817e4Smiod	* mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
1664*3d8817e4Smiod	BUILD_DLLTOOL): Put definitions for these into makefile when
1665*3d8817e4Smiod	configuring, instead of always clearing in mpw-make.sed.
1666*3d8817e4Smiod	* mpw-make.sed: Edit out any host_alias or target_alias settings,
1667*3d8817e4Smiod	fix pathname to BFD internal include files, remove dependency
1668*3d8817e4Smiod	calculation rules.
1669*3d8817e4Smiod
1670*3d8817e4SmiodThu Jan 11 17:31:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
1671*3d8817e4Smiod
1672*3d8817e4Smiod	* objdump.c (dump_section_header): Add new section flags
1673*3d8817e4Smiod	SEC_{EXCLUDE,SORT_ENTRIES}.
1674*3d8817e4Smiod
1675*3d8817e4SmiodThu Jan 11 11:45:34 1996  Ian Lance Taylor  <ian@cygnus.com>
1676*3d8817e4Smiod
1677*3d8817e4Smiod	* objcopy.c (filter_symbols): NULL terminate the output symbols.
1678*3d8817e4Smiod	(copy_object): Allocate space for a possible extra NULL pointer.
1679*3d8817e4Smiod
1680*3d8817e4Smiod	* debug.c (debug_make_undefined_tagged_type): Make sure we are
1681*3d8817e4Smiod	given a kind of type we can handle.
1682*3d8817e4Smiod	(debug_write_type): Handle undefined enums and structs.
1683*3d8817e4Smiod	(debug_write_class_type): Handle undefined classes.
1684*3d8817e4Smiod	* prdbg.c (pr_enum_type): Handle an undefined enum.
1685*3d8817e4Smiod	* ieee.c (ieee_enum_type): Likewise.
1686*3d8817e4Smiod
1687*3d8817e4SmiodWed Jan 10 15:33:18 1996  Ian Lance Taylor  <ian@cygnus.com>
1688*3d8817e4Smiod
1689*3d8817e4Smiod	* Makefile.in: Updated dependencies.
1690*3d8817e4Smiod	(ALLOCA, MALLOC): Remove variables.
1691*3d8817e4Smiod	(ADDL_LIBS): Remove $(MALLOC) from definition.
1692*3d8817e4Smiod	* alloca.c, gmalloc.c: Remove.
1693*3d8817e4Smiod
1694*3d8817e4SmiodMon Jan  8 18:02:29 1996  Ian Lance Taylor  <ian@cygnus.com>
1695*3d8817e4Smiod
1696*3d8817e4Smiod	* ieee.c: Add global function write_ieee_debugging_info and a
1697*3d8817e4Smiod	bunch of static functions and structs used to write out IEEE
1698*3d8817e4Smiod	debugging information.
1699*3d8817e4Smiod	* budbg.h (write_ieee_debugging_info): Declare.
1700*3d8817e4Smiod
1701*3d8817e4Smiod	* ieee.c (struct ieee_type): Add pslot field.
1702*3d8817e4Smiod	(enum builtin_types): Define.
1703*3d8817e4Smiod	(ieee_builtin_type): For a pointer, return a pointer to the named
1704*3d8817e4Smiod	type.  Use enum values rather than numbers.
1705*3d8817e4Smiod	(ieee_alloc_type): New static function.
1706*3d8817e4Smiod	(ieee_read_type_index): Use ieee_alloc_type.
1707*3d8817e4Smiod	(parse_ieee_bb): Likewise.
1708*3d8817e4Smiod	(parse_ieee_ty): Likewise.  Use ieee_builtin_type for array range,
1709*3d8817e4Smiod	rather than making a new integer type.  Store the new type in the
1710*3d8817e4Smiod	slot, if there is one.
1711*3d8817e4Smiod	(parse_ieee_atn): Treat ATN10 as defining a register variable.
1712*3d8817e4Smiod	(ieee_regno_to_genreg): Rename from ieee_regno_to_gen.  Change all
1713*3d8817e4Smiod	callers.
1714*3d8817e4Smiod	(ieee_genreg_to_regno): New static function.
1715*3d8817e4Smiod
1716*3d8817e4Smiod	* stabs.c (parse_stab_type): Add new typename parameter.  Change
1717*3d8817e4Smiod	all callers.
1718*3d8817e4Smiod	(parse_stab_range_type): Add new typename parameter.  Change all
1719*3d8817e4Smiod	callers.
1720*3d8817e4Smiod
1721*3d8817e4Smiod	* debug.h (struct debug_write_fns): Add tag parameter to
1722*3d8817e4Smiod	enum_type, start_struct_type, and start_class_type.
1723*3d8817e4Smiod	* debug.c (debug_write_type): Pass any tag name to
1724*3d8817e4Smiod	start_struct_type, debug_write_class_type, and enum_type.  If
1725*3d8817e4Smiod	DEBUG_KIND_TAGGED, pass the name in the recursive call.
1726*3d8817e4Smiod	(debug_write_class_type): Accept a new tag parameter, and pass it
1727*3d8817e4Smiod	to start_class_type.
1728*3d8817e4Smiod	* prdbg.c (pop_type): Don't remove '+' character.
1729*3d8817e4Smiod	(pr_enum_type): Accept and use tag parameter.
1730*3d8817e4Smiod	(pr_start_struct_type): Likewise.
1731*3d8817e4Smiod	(pr_start_class_type): Likewise.
1732*3d8817e4Smiod	(pr_class_baseclass): Adjust algorithm used to find where to put
1733*3d8817e4Smiod	the baseclass name.
1734*3d8817e4Smiod	(pr_tag): Don't bother to insert the tag name.
1735*3d8817e4Smiod
1736*3d8817e4Smiod	* objcopy.c: Include budbg.h.
1737*3d8817e4Smiod	(convert_debugging): New static variable.
1738*3d8817e4Smiod	(OPTION_DEBUGGING): Define.
1739*3d8817e4Smiod	(copy_options): Add "debugging".
1740*3d8817e4Smiod	(copy_usage): Mention --debugging.
1741*3d8817e4Smiod	(is_strip_section): Skip debugging sections if convert_debugging.
1742*3d8817e4Smiod	(setup_section, copy_section): Likewise.
1743*3d8817e4Smiod	(filter_symbols): Skip debugging symbols if convert_debugging.
1744*3d8817e4Smiod	(copy_object): If convert_debugging, read and write debugging
1745*3d8817e4Smiod	information.
1746*3d8817e4Smiod	(write_debugging_info): New static function.
1747*3d8817e4Smiod	(copy_main): Handle --debugging.
1748*3d8817e4Smiod	* Makefile.in (DEBUG_OBJS): New variable.
1749*3d8817e4Smiod	($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
1750*3d8817e4Smiod	($(STRIP_PROG)): Likewise.
1751*3d8817e4Smiod	(OBJDUMP_OBJS): Remove variable.
1752*3d8817e4Smiod	($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
1753*3d8817e4Smiod	$(OBJDUMP_OBJS).
1754*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --debugging.
1755*3d8817e4Smiod
1756*3d8817e4SmiodThu Jan  4 16:31:21 1996  Ian Lance Taylor  <ian@cygnus.com>
1757*3d8817e4Smiod
1758*3d8817e4Smiod	* ieee.c: New file with code to read IEEE debugging information.
1759*3d8817e4Smiod	* budbg.h (parse_ieee): Declare.
1760*3d8817e4Smiod	* rddbg.c (read_debugging_info): Handle IEEE flavour files.
1761*3d8817e4Smiod	(read_ieee_debugging_info): New static function.
1762*3d8817e4Smiod	* Makefile.in: Rebuild dependencies.
1763*3d8817e4Smiod	(CFILES): Add ieee.c.
1764*3d8817e4Smiod	(OBJDUMP_OBJS): Add ieee.o.
1765*3d8817e4Smiod
1766*3d8817e4Smiod	* bucomm.h (xrealloc): Change type of first parameter from char *
1767*3d8817e4Smiod	to PTR.
1768*3d8817e4Smiod
1769*3d8817e4SmiodTue Jan  2 17:44:07 1996  Ian Lance Taylor  <ian@cygnus.com>
1770*3d8817e4Smiod
1771*3d8817e4Smiod	* Makefile.in: Add targets to automatically rebuild dependencies.
1772*3d8817e4Smiod	Remove targets which just listed dependencies of .o files.
1773*3d8817e4Smiod	(DEP): New variable.
1774*3d8817e4Smiod	(HFILES, GENERATED_HFILES): New variables.
1775*3d8817e4Smiod	(CFILES, GENERATED_CFILES): New variables.
1776*3d8817e4Smiod	(underscore.c): Don't do anything, just depend upon stamp-under.
1777*3d8817e4Smiod	(stamp-under): New target; do what underscore.c used to do.
1778*3d8817e4Smiod	(nlmconv.o): Depend upon sym.h and ecoff.h.
1779*3d8817e4Smiod	(.dep, .dep1, dep.sed, dep, dep-in): New targets.
1780*3d8817e4Smiod	(stage1, stage2, stage3, against, comparison): Remove.
1781*3d8817e4Smiod	(de-stage1, de-stage2, de-stage3): Remove.
1782*3d8817e4Smiod	(clean, distclean): Remove stamp-under and dep.sed.
1783*3d8817e4Smiod	* dep-in.sed: New file.
1784*3d8817e4Smiod
1785*3d8817e4Smiod	Implement generic debugging support.  Implement a stabs reader and
1786*3d8817e4Smiod	a generic printer.
1787*3d8817e4Smiod	* budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
1788*3d8817e4Smiod	* objdump.c: Include "debug.h" and "budbg.h".
1789*3d8817e4Smiod	(dump_debugging): New global variable.
1790*3d8817e4Smiod	(usage): Mention --debugging.
1791*3d8817e4Smiod	(long_options): Add "debugging".
1792*3d8817e4Smiod	(display_bfd): Handle --debugging.
1793*3d8817e4Smiod	* Makefile.in (OBJDUMP_OBJS): New variable.
1794*3d8817e4Smiod	($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
1795*3d8817e4Smiod	* binutils.texi, objdump.1: Document --debugging.
1796*3d8817e4Smiod
1797*3d8817e4SmiodSat Dec 30 09:59:51 1995  Jeffrey A Law  (law@cygnus.com)
1798*3d8817e4Smiod
1799*3d8817e4Smiod	* nm.c ( long_options): Add "--defined-only" option.
1800*3d8817e4Smiod	(usage): Update for new "--defined-only" option.
1801*3d8817e4Smiod	(filter_symbols): Handle "--defined-only".
1802*3d8817e4Smiod
1803*3d8817e4SmiodFri Dec 29 16:04:56 1995  Ian Lance Taylor  <ian@cygnus.com>
1804*3d8817e4Smiod
1805*3d8817e4Smiod	* arparse.y: Include "bucomm.h", not <sysdep.h>.
1806*3d8817e4Smiod	* nlmheader.y: Don't include "sysdep.h".
1807*3d8817e4Smiod
1808*3d8817e4SmiodTue Dec 26 18:23:18 1995  Ian Lance Taylor  <ian@cygnus.com>
1809*3d8817e4Smiod
1810*3d8817e4Smiod	* nm.c (print_symdef_entry): Check return value of
1811*3d8817e4Smiod	bfd_get_elt_at_index.
1812*3d8817e4Smiod
1813*3d8817e4SmiodSat Dec 23 11:03:16 1995  Michael Meissner  <meissner@tiktok.cgynsu.com>
1814*3d8817e4Smiod
1815*3d8817e4Smiod	* configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target
1816*3d8817e4Smiod	is powerpc*-*-win* in addition to powerpc*-*-*pe*.
1817*3d8817e4Smiod
1818*3d8817e4SmiodFri Dec 15 16:30:57 1995  Ian Lance Taylor  <ian@cygnus.com>
1819*3d8817e4Smiod
1820*3d8817e4Smiod	* objdump.c (endian_string): New static function.
1821*3d8817e4Smiod	(display_target_list): Use it.
1822*3d8817e4Smiod	* nlmconv.c (main): Use new bfd_big_endian macro.
1823*3d8817e4Smiod
1824*3d8817e4SmiodFri Dec 15 07:51:34 1995  steve chamberlain  <sac@slash.cygnus.com>
1825*3d8817e4Smiod
1826*3d8817e4Smiod	* dlltool.c (fill_ordinals): Start from 1 if no other instructions
1827*3d8817e4Smiod 	given.
1828*3d8817e4Smiod
1829*3d8817e4SmiodTue Dec 12 12:05:21 1995  Ian Lance Taylor  <ian@cygnus.com>
1830*3d8817e4Smiod
1831*3d8817e4Smiod	* Makefile.in (clean): Remove $(DEMANGLER_PROG).1.  From Ronald
1832*3d8817e4Smiod	F. Guilmette <rfg@monkeys.com>.
1833*3d8817e4Smiod
1834*3d8817e4SmiodMon Dec 11 14:33:05 1995  Stan Shebs  <shebs@andros.cygnus.com>
1835*3d8817e4Smiod
1836*3d8817e4Smiod	* mac-binutils.r: Fix copyright and version strings.
1837*3d8817e4Smiod
1838*3d8817e4Smiod	* Makefile.in (version): Remove, no longer used.
1839*3d8817e4Smiod
1840*3d8817e4SmiodFri Dec  1 14:41:56 1995  Stan Shebs  <shebs@andros.cygnus.com>
1841*3d8817e4Smiod
1842*3d8817e4Smiod	* mpw-make.sed (install, install-only): Edit in Mac-specific
1843*3d8817e4Smiod	install procedure.
1844*3d8817e4Smiod
1845*3d8817e4SmiodThu Nov 30 20:26:02 1995  Kim Knuttila  <krk@cygnus.com>
1846*3d8817e4Smiod
1847*3d8817e4Smiod	* dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
1848*3d8817e4Smiod	including the return instruction.
1849*3d8817e4Smiod	sinfo: added a preferred alignment field.
1850*3d8817e4Smiod	(secdata): section data for the PowerPC version.
1851*3d8817e4Smiod	(make_one_lib_file): More symbols, More sections (pdata, rdata)
1852*3d8817e4Smiod	(make_tail): Use idata$6 instead of idata$7 for ppc. Also added a
1853*3d8817e4Smiod	NULL idata$3 descriptor (temporary).
1854*3d8817e4Smiod
1855*3d8817e4SmiodTue Nov 28 17:23:44 1995  Doug Evans  <dje@canuck.cygnus.com>
1856*3d8817e4Smiod
1857*3d8817e4Smiod	* dlltool.c (fill_ordinals): Don't reference d_export_vec if
1858*3d8817e4Smiod	there are no exported functions.
1859*3d8817e4Smiod
1860*3d8817e4SmiodMon Nov 27 13:05:59 1995  Ian Lance Taylor  <ian@cygnus.com>
1861*3d8817e4Smiod
1862*3d8817e4Smiod	* configure: Regenerate with autoconf 2.7.
1863*3d8817e4Smiod
1864*3d8817e4SmiodWed Nov 22 13:17:15 1995  Ian Lance Taylor  <ian@cygnus.com>
1865*3d8817e4Smiod
1866*3d8817e4Smiod	* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
1867*3d8817e4Smiod
1868*3d8817e4Smiod	* Makefile.in (EXPECT): Use $$r, not $${rootme}.
1869*3d8817e4Smiod	(check): Set r, not rootme.
1870*3d8817e4Smiod
1871*3d8817e4SmiodTue Nov 21 18:04:09 1995  Ian Lance Taylor  <ian@cygnus.com>
1872*3d8817e4Smiod
1873*3d8817e4Smiod	* configure.in: Use BFD_NEED_DECLARATION.
1874*3d8817e4Smiod	* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
1875*3d8817e4Smiod	* configure, config.in: Rebuild with autoconf 2.6.
1876*3d8817e4Smiod
1877*3d8817e4SmiodFri Nov 17 10:34:37 1995  Ian Lance Taylor  <ian@cygnus.com>
1878*3d8817e4Smiod
1879*3d8817e4Smiod	* Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
1880*3d8817e4Smiod	$(host_canonical) and $(target_canonical).
1881*3d8817e4Smiod
1882*3d8817e4SmiodThu Nov 16 03:39:20 1995  Ken Raeburn  <raeburn@cygnus.com>
1883*3d8817e4Smiod
1884*3d8817e4Smiod	Version 2.6 released.
1885*3d8817e4Smiod	* Makefile.in (VERSION): Update to 2.6.
1886*3d8817e4Smiod
1887*3d8817e4SmiodWed Nov 15 12:14:17 1995  Ian Lance Taylor  <ian@cygnus.com>
1888*3d8817e4Smiod
1889*3d8817e4Smiod	* Makefile.in (CC_FOR_TARGET): Define.
1890*3d8817e4Smiod	(check): Pass CC and CFLAGS to runtest.
1891*3d8817e4Smiod
1892*3d8817e4Smiod	* nm.c (display_rel_file): Don't require a DYNAMIC object when
1893*3d8817e4Smiod	dumping the dynamic symbol table.
1894*3d8817e4Smiod
1895*3d8817e4Smiod	* objdump.c (compare_symbols): Sort global symbols before local
1896*3d8817e4Smiod	symbols before debugging symbols.
1897*3d8817e4Smiod	(objdump_print_address): Don't futz around looking for a global
1898*3d8817e4Smiod	symbol with the same value.
1899*3d8817e4Smiod
1900*3d8817e4SmiodTue Nov 14 17:19:11 1995  Ian Lance Taylor  <ian@cygnus.com>
1901*3d8817e4Smiod
1902*3d8817e4Smiod	* dlltool.c: Use FOPEN_* macros rather than "r" or "w".
1903*3d8817e4Smiod
1904*3d8817e4Smiod	* dlltool.c (fill_ordinals): Correct memset call.
1905*3d8817e4Smiod
1906*3d8817e4SmiodSun Nov 12 12:56:05 1995  Stan Shebs  <shebs@andros.cygnus.com>
1907*3d8817e4Smiod
1908*3d8817e4Smiod	* mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
1909*3d8817e4Smiod 	with the man page.
1910*3d8817e4Smiod
1911*3d8817e4SmiodFri Nov 10 11:41:22 1995  Ian Lance Taylor  <ian@cygnus.com>
1912*3d8817e4Smiod
1913*3d8817e4Smiod	* objcopy.c (setup_section): Copy the section lma independently of
1914*3d8817e4Smiod	the vma.
1915*3d8817e4Smiod
1916*3d8817e4SmiodWed Nov  8 11:33:00 1995  Ian Lance Taylor  <ian@cygnus.com>
1917*3d8817e4Smiod
1918*3d8817e4Smiod	* arsup.c (ar_open): Cast malloc return value.
1919*3d8817e4Smiod
1920*3d8817e4SmiodTue Nov  7 09:01:26 1995  Kim Knuttila  <krk@cygnus.com>
1921*3d8817e4Smiod
1922*3d8817e4Smiod	* configure.in, configure (DLLTOOL_DEFS): Added ppc target.
1923*3d8817e4Smiod	* dlltool.c (MPPC): Added basic PPC definitions.
1924*3d8817e4Smiod
1925*3d8817e4SmiodTue Nov  7 14:02:57 1995  Ian Lance Taylor  <ian@cygnus.com>
1926*3d8817e4Smiod
1927*3d8817e4Smiod	* configure.in: Don't treat rs6000-*-lynx* specially.
1928*3d8817e4Smiod	* configure: Rebuild.
1929*3d8817e4Smiod	* config/rslynx: Remove.
1930*3d8817e4Smiod	* Makefile.in: Remove @target_makefile_fragment@.
1931*3d8817e4Smiod
1932*3d8817e4SmiodMon Nov  6 15:00:50 1995  Ian Lance Taylor  <ian@cygnus.com>
1933*3d8817e4Smiod
1934*3d8817e4Smiod	* bucomm.h: Include <sys/types.h>.
1935*3d8817e4Smiod	* ar.c: Don't include <sys/types.h> or <stdio.h>.
1936*3d8817e4Smiod	* bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
1937*3d8817e4Smiod
1938*3d8817e4SmiodFri Nov  3 12:38:09 1995  Ian Lance Taylor  <ian@cygnus.com>
1939*3d8817e4Smiod
1940*3d8817e4Smiod	* objdump.c: Include <sys/types.h>.
1941*3d8817e4Smiod
1942*3d8817e4Smiod	Permit user to override DEMANGLER_PROG from command line.  From
1943*3d8817e4Smiod	Manfred Hollstein <manfred@lts.sel.alcatel.de>.
1944*3d8817e4Smiod	* Makefile.in ($(DEMANGLER_PROG)): Depend upon
1945*3d8817e4Smiod	$(DEMANGLER_PROG).1.
1946*3d8817e4Smiod	(install): Don't depend upon $(DEMANGLER_PROG).1.  Only install
1947*3d8817e4Smiod	$(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
1948*3d8817e4Smiod
1949*3d8817e4SmiodWed Nov  1 15:04:57 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
1950*3d8817e4Smiod
1951*3d8817e4Smiod	* Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
1952*3d8817e4Smiod	separate directory.
1953*3d8817e4Smiod
1954*3d8817e4SmiodMon Oct 30 14:24:18 1995  Ian Lance Taylor  <ian@cygnus.com>
1955*3d8817e4Smiod
1956*3d8817e4Smiod	* objdump.c (objdump_print_value): New static function.
1957*3d8817e4Smiod	(objdump_print_address): Use it.  If we need the right section for
1958*3d8817e4Smiod	the symbol, and we can't find it, print an offset from the section
1959*3d8817e4Smiod	rather than using a symbol from some other section.
1960*3d8817e4Smiod
1961*3d8817e4SmiodThu Oct 26 10:23:14 1995  steve chamberlain  <sac@slash.cygnus.com>
1962*3d8817e4Smiod
1963*3d8817e4Smiod	* dlltool.c (no_idata4, no_idata5): New.
1964*3d8817e4Smiod	(arm_jtab): Use correct encoding of jump instruction.
1965*3d8817e4Smiod	(usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
1966*3d8817e4Smiod
1967*3d8817e4SmiodWed Oct 25 12:10:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
1968*3d8817e4Smiod
1969*3d8817e4Smiod	* mpw-make.sed: Edit paths to generated y.tab.[ch] files.
1970*3d8817e4Smiod
1971*3d8817e4SmiodFri Oct 20 18:40:34 1995  Ian Lance Taylor  <ian@cygnus.com>
1972*3d8817e4Smiod
1973*3d8817e4Smiod	* binutils.texi: Change --with-targets to --enable-targets.
1974*3d8817e4Smiod
1975*3d8817e4SmiodThu Oct 19 17:47:41 1995  Fred Fish  <fnf@cygnus.com>
1976*3d8817e4Smiod
1977*3d8817e4Smiod	* Makefile.in:  Remove extraneous tab on otherwise empty line,
1978*3d8817e4Smiod	which confuses many non-GNU versions of "make".
1979*3d8817e4Smiod
1980*3d8817e4SmiodWed Oct 18 16:31:58 1995  steve chamberlain  <sac@slash.cygnus.com>
1981*3d8817e4Smiod
1982*3d8817e4Smiod	* dlltool.c (i386_jtab, arm_jtab): New
1983*3d8817e4Smiod	(gen_lib_file): Rewritten to use bfd.
1984*3d8817e4Smiod
1985*3d8817e4SmiodFri Oct 13 16:10:07 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
1986*3d8817e4Smiod
1987*3d8817e4Smiod	* Makefile.in (install): Don't give error message if dlltool
1988*3d8817e4Smiod	wasn't built.
1989*3d8817e4Smiod
1990*3d8817e4SmiodFri Oct 13 11:04:37 1995  steve chamberlain  <sac@slash.cygnus.com>
1991*3d8817e4Smiod
1992*3d8817e4Smiod	* deflex.l: Allow quoting of IDs.
1993*3d8817e4Smiod	* defparse.y (%union): string deleted.
1994*3d8817e4Smiod	(command): DESCRIPTION takes ID.
1995*3d8817e4Smiod	* dlltool.c (gen_def_file): Quote outgoing name if
1996*3d8817e4Smiod	necessary.  Preserve NONAME.
1997*3d8817e4Smiod	(gen_lib_file): Run ranlib.
1998*3d8817e4Smiod	(workout_prefix): Deleted.
1999*3d8817e4Smiod	(main, usage, long_options): Add --as, --ranlib, --ar options.
2000*3d8817e4Smiod
2001*3d8817e4SmiodWed Oct 11 13:36:13 1995  steve chamberlain  <sac@slash.cygnus.com>
2002*3d8817e4Smiod
2003*3d8817e4Smiod	* dlltool.c (mtable): HOW_ALIGN_LONG, new.
2004*3d8817e4Smiod	(d_ord): Deleted.
2005*3d8817e4Smiod	(d_low_ord, d_high_ord, d_named_funcs): New.
2006*3d8817e4Smiod	(gen_exp_file): Create noname entries correctly.
2007*3d8817e4Smiod	(gen_lib_file): Dump exports alphabetically.
2008*3d8817e4Smiod	(process_duplicates):  Count nonamed functions.
2009*3d8817e4Smiod	(fill_ordinals): Keep track of highest ord too.
2010*3d8817e4Smiod	(mangle_defs): Create alphabetically ordered list of names.
2011*3d8817e4Smiod
2012*3d8817e4SmiodTue Oct 10 09:39:09 1995  steve chamberlain  <sac@slash.cygnus.com>
2013*3d8817e4Smiod
2014*3d8817e4Smiod	* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
2015*3d8817e4Smiod
2016*3d8817e4SmiodMon Oct  9 13:06:31 1995  steve chamberlain  <sac@slash.cygnus.com>
2017*3d8817e4Smiod
2018*3d8817e4Smiod	* dlltool.c (add_underscore): New.
2019*3d8817e4Smiod	(xlate): Use new name.
2020*3d8817e4Smiod	(main, usage): Update.
2021*3d8817e4Smiod
2022*3d8817e4SmiodFri Oct  6 14:08:51 1995  Ken Raeburn  <raeburn@cygnus.com>
2023*3d8817e4Smiod
2024*3d8817e4Smiod	* sysinfo.y: Eliminate unused terminals "[" and "]" and unused
2025*3d8817e4Smiod	nonterminal "name".  One s/r conflict remains.
2026*3d8817e4Smiod
2027*3d8817e4Smiod	Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2028*3d8817e4Smiod
2029*3d8817e4Smiod	* nm.c (print_symname): Don't try to demangle an empty
2030*3d8817e4Smiod	name.
2031*3d8817e4Smiod	* objdump.c (slurp_symtab): Reset symcount if there are
2032*3d8817e4Smiod	no symbols.
2033*3d8817e4Smiod	(slurp_dynamic_symtab): Likewise, for dynsymcount.
2034*3d8817e4Smiod	(disassemble_data): Fix memory leak: free sorted_syms when done.
2035*3d8817e4Smiod	(display_bfd): Likewise, for syms and dynsyms.
2036*3d8817e4Smiod	(dump_relocs): Don't print header before possibly generating an
2037*3d8817e4Smiod	error message.
2038*3d8817e4Smiod	(dump_dynamic_relocs): Likewise.
2039*3d8817e4Smiod
2040*3d8817e4Smiod	* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and
2041*3d8817e4Smiod	formatting bugs.
2042*3d8817e4Smiod
2043*3d8817e4SmiodFri Oct  6 12:00:25 1995  Ian Lance Taylor  <ian@cygnus.com>
2044*3d8817e4Smiod
2045*3d8817e4Smiod	* ar.c (do_quick_append): Comment out.
2046*3d8817e4Smiod	(replace_members): Add quick argument.
2047*3d8817e4Smiod	(main): Don't call do_quick_append.
2048*3d8817e4Smiod	(open_inarch): Don't call quick_append to create an empty archive.
2049*3d8817e4Smiod	Instead call bfd_openw/bfd_set_format/bfd_close.
2050*3d8817e4Smiod
2051*3d8817e4SmiodThu Oct  5 20:53:08 1995  Ken Raeburn  <raeburn@cygnus.com>
2052*3d8817e4Smiod
2053*3d8817e4Smiod	* bucomm.c: Always include time.h.
2054*3d8817e4Smiod
2055*3d8817e4SmiodThu Oct  5 17:25:21 1995  Ian Lance Taylor  <ian@cygnus.com>
2056*3d8817e4Smiod
2057*3d8817e4Smiod	* objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
2058*3d8817e4Smiod	symbols after other symbols with the same value.  Likewise for
2059*3d8817e4Smiod	symbols which look like file names.
2060*3d8817e4Smiod	(objdump_print_address): Always chose the first reasonable symbol
2061*3d8817e4Smiod	with a given value.
2062*3d8817e4Smiod
2063*3d8817e4SmiodTue Oct  3 22:38:55 1995  Ian Lance Taylor  <ian@cygnus.com>
2064*3d8817e4Smiod
2065*3d8817e4Smiod	* arsup.c (ar_save): Use rename, not unlink/link/unlink.
2066*3d8817e4Smiod
2067*3d8817e4SmiodMon Oct  2 12:10:25 1995  Ian Lance Taylor  <ian@cygnus.com>
2068*3d8817e4Smiod
2069*3d8817e4Smiod	* strings.c (main): Exit with zero status if no files are given
2070*3d8817e4Smiod	and standard input is read.
2071*3d8817e4Smiod
2072*3d8817e4SmiodThu Sep 28 20:03:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
2073*3d8817e4Smiod
2074*3d8817e4Smiod	* mpw-config.in: Calculate underscore and put into makefile
2075*3d8817e4Smiod	fragment, generate config.h.
2076*3d8817e4Smiod	* mpw-make.sed: New file, sed commands to edit Unix makefile
2077*3d8817e4Smiod	into MPW syntax.
2078*3d8817e4Smiod	* mpw-make.in: Remove.
2079*3d8817e4Smiod	* mac-binutils.r: New file, Mac resources.
2080*3d8817e4Smiod
2081*3d8817e4SmiodThu Sep 28 15:49:00 1995  steve chamberlain  <sac@slash.cygnus.com>
2082*3d8817e4Smiod
2083*3d8817e4Smiod	* dlltool.c: (gen_exp_file): Always emit a .reloc section if
2084*3d8817e4Smiod	relocatable.
2085*3d8817e4Smiod	(imp_name_lab): New.
2086*3d8817e4Smiod	(gen_def_file): New.
2087*3d8817e4Smiod	(gen_lib_file): Use imp_name_lab.
2088*3d8817e4Smiod	(main): Initialize imp_name_lab.
2089*3d8817e4Smiod
2090*3d8817e4SmiodMon Sep 25 12:05:34 1995  Ian Lance Taylor  <ian@cygnus.com>
2091*3d8817e4Smiod
2092*3d8817e4Smiod	* configure.in: Call AC_HEADER_SYS_WAIT.
2093*3d8817e4Smiod	* configure: Rebuild.
2094*3d8817e4Smiod	* config.in: Rebuild.
2095*3d8817e4Smiod	* dlltool.c: Include "libiberty.h" and "bucomm.h".  Don't include
2096*3d8817e4Smiod	<stdio.h>, <stdlib.h>, or <string.h>.  Don't include <wait.h>.
2097*3d8817e4Smiod	Include <sys/types.h>.  Use HAVE_SYS_WAIT_H to control whether to
2098*3d8817e4Smiod	include <sys/wait.h> or define the wait macros by hand.  Don't
2099*3d8817e4Smiod	declare xmalloc.
2100*3d8817e4Smiod	(gen_lib_file): Don't assume that sprintf returns the number of
2101*3d8817e4Smiod	characters; use strlen instead.
2102*3d8817e4Smiod
2103*3d8817e4SmiodFri Sep 22 17:16:41 1995  Ian Lance Taylor  <ian@cygnus.com>
2104*3d8817e4Smiod
2105*3d8817e4Smiod	* objdump.c (disassemble_data): Don't use the old BFD based
2106*3d8817e4Smiod	disassembler interface.  Make info a const pointer.
2107*3d8817e4Smiod
2108*3d8817e4SmiodWed Sep 13 18:33:44 1995  Ian Lance Taylor  <ian@cygnus.com>
2109*3d8817e4Smiod
2110*3d8817e4Smiod	* objdump.c (start_address): New variable.
2111*3d8817e4Smiod	(stop_address): New variable.
2112*3d8817e4Smiod	(usage): Mention --start-address and --stop-address.
2113*3d8817e4Smiod	(OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
2114*3d8817e4Smiod	(long_options): Add "start-address" and "stop-address".
2115*3d8817e4Smiod	(disassemble_data): Handle start_address and stop_address.
2116*3d8817e4Smiod	(dump_data, dump_reloc_set): Likewise.
2117*3d8817e4Smiod	(main): Don't set seenflag for -l.  Handle OPTION_START_ADDRESS
2118*3d8817e4Smiod	and OPTION_STOP_ADDRESS.
2119*3d8817e4Smiod	* objcopy.c (parse_vma): Move to bucomm.c.
2120*3d8817e4Smiod	* bucomm.c (parse_vma): New function, moved in from objcopy.c.
2121*3d8817e4Smiod	* bucomm.h (parse_vma): Declare.
2122*3d8817e4Smiod	* binutils.texi, objdump.1: Document new objdump options.
2123*3d8817e4Smiod
2124*3d8817e4SmiodTue Sep 12 12:37:39 1995  Ian Lance Taylor  <ian@cygnus.com>
2125*3d8817e4Smiod
2126*3d8817e4Smiod	* Makefile.in (maintainer-clean): New target.
2127*3d8817e4Smiod
2128*3d8817e4Smiod	* ar.c (replace_members): Don't call write_archive if nothing
2129*3d8817e4Smiod	changed.
2130*3d8817e4Smiod
2131*3d8817e4Smiod	* objdump.c (disassemble_data): Add casts to avoid gcc warnings.
2132*3d8817e4Smiod
2133*3d8817e4SmiodThu Sep  7 12:12:17 1995  Ian Lance Taylor  <ian@cygnus.com>
2134*3d8817e4Smiod
2135*3d8817e4Smiod	* config.in: Rename from config.h.in.
2136*3d8817e4Smiod	* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
2137*3d8817e4Smiod	Check for config.h:config.in when creating stamp-h.
2138*3d8817e4Smiod	* configure: Rebuild.
2139*3d8817e4Smiod	* Makefile.in (stamp-h): Depend upon config.in rather than
2140*3d8817e4Smiod	config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
2141*3d8817e4Smiod	calling config.status.
2142*3d8817e4Smiod
2143*3d8817e4Smiod	* Makefile.in (distclean): Remove config.h, stamp-h, and
2144*3d8817e4Smiod        config.log.
2145*3d8817e4Smiod
2146*3d8817e4Smiod	* nm.c (value_format): Initialize based on BFD64 and
2147*3d8817e4Smiod	BFD_HOST_64BIT_LONG.
2148*3d8817e4Smiod	(print_radix): New static variable.
2149*3d8817e4Smiod	(set_print_radix): Set print_radix.  Adjust changes to
2150*3d8817e4Smiod	value_format.
2151*3d8817e4Smiod	(print_value): New static function, to print 64 bit octal and
2152*3d8817e4Smiod	decimal values correctly.
2153*3d8817e4Smiod	(print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT.  Use
2154*3d8817e4Smiod	print_value.
2155*3d8817e4Smiod	(print_symbol_info_sysv): Use print_value.
2156*3d8817e4Smiod	(print_symbol_info_posix): Likewise.
2157*3d8817e4Smiod
2158*3d8817e4SmiodWed Sep  6 15:02:55 1995  Ian Lance Taylor  <ian@cygnus.com>
2159*3d8817e4Smiod
2160*3d8817e4Smiod	* Makefile.in (*.o): Remove incorrect dependencies on
2161*3d8817e4Smiod	$(BFDDIR)/hosts/std-host.h.
2162*3d8817e4Smiod
2163*3d8817e4Smiod	* Makefile.in (INSTALL_DATA): Add -m 644.
2164*3d8817e4Smiod	(INSTALL_XFORM1): Likewise.
2165*3d8817e4Smiod	(CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC).
2166*3d8817e4Smiod	(mostlyclean): Remove config.log.
2167*3d8817e4Smiod	(distclean): Remove config.cache.
2168*3d8817e4Smiod
2169*3d8817e4Smiod	* configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN.
2170*3d8817e4Smiod	* configure: Rebuild.
2171*3d8817e4Smiod
2172*3d8817e4SmiodTue Sep  5 20:22:42 1995  Ian Lance Taylor  <ian@cygnus.com>
2173*3d8817e4Smiod
2174*3d8817e4Smiod	* configure.in: Rewrite to use autoconf.
2175*3d8817e4Smiod	* aclocal.m4: New file.
2176*3d8817e4Smiod	* configure: New file, built by autoconf.
2177*3d8817e4Smiod	* acconfig.h: New file.
2178*3d8817e4Smiod	* config.h.in: New file, built by autoheader.
2179*3d8817e4Smiod	* Makefile.in: Various changes for new configure script.  Also:
2180*3d8817e4Smiod	(PROGS): Remove $(SYSINFO_PROG).
2181*3d8817e4Smiod	(ALL_CFLAGS): Remove $(TDEFINES).
2182*3d8817e4Smiod	(version.o): Use $(ALL_CFLAGS).
2183*3d8817e4Smiod	(cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
2184*3d8817e4Smiod	(sysdump.o): Depend upon bucomm.h and config.h.
2185*3d8817e4Smiod	(srconv.o, arsup.o, strings.o): Depend upon config.h.
2186*3d8817e4Smiod	(filemode.o): Don't depend upon ../bfd/sysdep.h.
2187*3d8817e4Smiod	(bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
2188*3d8817e4Smiod	(size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
2189*3d8817e4Smiod	(nlmheader.o, nlmconv.o): Likewise.
2190*3d8817e4Smiod	(distclean): Don't remove sysdep.h.
2191*3d8817e4Smiod	* bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
2192*3d8817e4Smiod  	Include "fopen-same.h" or "fopen-bin.h", based on
2193*3d8817e4Smiod 	USE_BINARY_FOPEN.  Include <errno.h>, and declare errno if it is
2194*3d8817e4Smiod 	not a macro.  Include <unistd.h>, <string.h>, <strings.h>,
2195*3d8817e4Smiod 	<stdlib.h>, and <fcntl.h> if they are present.  Declare strchr,
2196*3d8817e4Smiod 	strrchr, and strstr if no string header file exists.  Include
2197*3d8817e4Smiod	<sys/file.h> if it exists and <fcntl.h> does not.  Define
2198*3d8817e4Smiod	O_RDONLY and O_RDWR if necessary.
2199*3d8817e4Smiod	* ar.c:  Don't include "sysdep.h".  Do include <sys/types.h> and
2200*3d8817e4Smiod	<sys/stat.h>.  Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME.  Use
2201*3d8817e4Smiod	HAVE_UTIMES rather than !USE_UTIME.  Don't include <errno.h>, and
2202*3d8817e4Smiod	don't declare errno.
2203*3d8817e4Smiod	* arsup.c: Don't include <sysdep.h>.
2204*3d8817e4Smiod	* bucomm.c: Don't include "sysdep.h".  Include <stdio.h>,
2205*3d8817e4Smiod	<sys/types.h>, and <sys/stat.h>.  Include <time.h> if it defines
2206*3d8817e4Smiod	time_t.  Define time_t if necessary.
2207*3d8817e4Smiod	* coffdump.c: Don't include "sysdep.h".
2208*3d8817e4Smiod	* coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
2209*3d8817e4Smiod	* srconv.c, strings.c: Likewise.
2210*3d8817e4Smiod	* nm.c: Don't include "sysdep.h".  Don't try to define HAVE_SBRK.
2211*3d8817e4Smiod	* objcopy.c: Don't include "sysdep.h".  Include <sys/types.h> and
2212*3d8817e4Smiod	<sys/stat.h>.
2213*3d8817e4Smiod	(simple_copy): Use creat rather than assuming that O_CREAT is
2214*3d8817e4Smiod	defined.
2215*3d8817e4Smiod	* objdump.c: Don't include "sysdep.h".  Use
2216*3d8817e4Smiod	NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
2217*3d8817e4Smiod	* sysdump.c: Include "bfd.h" and "bucomm.h".  Don't include
2218*3d8817e4Smiod	"sysdep.h" or <stdlib.h>.
2219*3d8817e4Smiod	(dump_symbol_info): Rename from symbol_info.  Change all callers.
2220*3d8817e4Smiod
2221*3d8817e4SmiodMon Sep  4 14:30:00 1995  Ian Lance Taylor  <ian@cygnus.com>
2222*3d8817e4Smiod
2223*3d8817e4Smiod	* configure.in (host_makefile_frag): Don't set.  Substitute for
2224*3d8817e4Smiod	@CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile.
2225*3d8817e4Smiod	* Makefile.in (AR_FLAGS): Set to rc rather than qv.
2226*3d8817e4Smiod	(CC): Define as @CC@.
2227*3d8817e4Smiod	(CFLAGS): Set to @CFLAGS@.
2228*3d8817e4Smiod	(LDFLAGS): Define as @LDFLAGS@.
2229*3d8817e4Smiod	(ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
2230*3d8817e4Smiod
2231*3d8817e4Smiod	* configure.in: Don't bother to call config.bfd for each target.
2232*3d8817e4Smiod	Just call it for the default target, and use the shell variable to
2233*3d8817e4Smiod	decide whether underscores are used.
2234*3d8817e4Smiod
2235*3d8817e4SmiodThu Aug 31 19:21:48 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
2236*3d8817e4Smiod
2237*3d8817e4Smiod	* configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
2238*3d8817e4Smiod
2239*3d8817e4SmiodThu Aug 31 16:30:22 1995  steve chamberlain  <sac@slash.cygnus.com>
2240*3d8817e4Smiod
2241*3d8817e4Smiod	* dlltool.c (add_indirect): New.
2242*3d8817e4Smiod	(asm_prefix): New
2243*3d8817e4Smiod	(gen_exp_file): Timestamp should be 0. Insert prefix when
2244*3d8817e4Smiod	needed. New code for indirection.
2245*3d8817e4Smiod	(gen_lib_file): Timestamp should be 0. Insert prefix
2246*3d8817e4Smiod	when needed.
2247*3d8817e4Smiod	(usage): Document --add-indirect.
2248*3d8817e4Smiod	(main): Cope with new option.
2249*3d8817e4Smiod
2250*3d8817e4Smiod	* objdump.c (dump_private_headers): New.
2251*3d8817e4Smiod	(usage): Document new option.
2252*3d8817e4Smiod	(long_option): Add private-headers.
2253*3d8817e4Smiod	(dump_bfd_private_header): New.
2254*3d8817e4Smiod	(main): Cope with new option.
2255*3d8817e4Smiod
2256*3d8817e4SmiodThu Aug 31 04:09:16 1995  Doug Evans  <dje@canuck.cygnus.com>
2257*3d8817e4Smiod
2258*3d8817e4Smiod	* dlltool.c (run): Add missing 3rd arg to waitpid.
2259*3d8817e4Smiod
2260*3d8817e4SmiodWed Aug 30 11:02:11 1995  steve chamberlain  <sac@slash.cygnus.com>
2261*3d8817e4Smiod
2262*3d8817e4Smiod	* Makefile.in (TOOL_PROGS): Include dlltool if needed.
2263*3d8817e4Smiod
2264*3d8817e4SmiodTue Aug 29 13:25:21 1995  steve chamberlain  <sac@slash.cygnus.com>
2265*3d8817e4Smiod
2266*3d8817e4Smiod	* dlltool.c (rva): Deleted.
2267*3d8817e4Smiod	(rvaafter, rva_before): Use new assembler pseudo.
2268*3d8817e4Smiod	(flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing.
2269*3d8817e4Smiod	(gen_exp_file): Don't generate .edata if no need.
2270*3d8817e4Smiod	(gen_lib_file): Don't make timestamp.
2271*3d8817e4Smiod	Put _iname in idata$7.
2272*3d8817e4Smiod	(workout_prefix): Fix memory initialization bug.
2273*3d8817e4Smiod	(usage): Tidy up, delete many single char options.
2274*3d8817e4Smiod	(main): rva option is gone.
2275*3d8817e4Smiod
2276*3d8817e4SmiodMon Aug 21 18:41:28 1995  steve chamberlain  <sac@slash.cygnus.com>
2277*3d8817e4Smiod
2278*3d8817e4Smiod	* dlltool.c (options): image-base is a synonym for rva.
2279*3d8817e4Smiod	(gen_lib_file): Put dll name into ibase$7.
2280*3d8817e4Smiod
2281*3d8817e4SmiodSun Aug 20 09:59:00 1995  steve chamberlain  <sac@slash.cygnus.com>
2282*3d8817e4Smiod
2283*3d8817e4Smiod	Modified to generate archives and objects rather than .s files.
2284*3d8817e4Smiod	* dlltool.c (run) New function.
2285*3d8817e4Smiod 	(gen_exp_file, gen_lib_file): Use run.
2286*3d8817e4Smiod	(workout_prefix): New.
2287*3d8817e4Smiod	(usage): Document new options.
2288*3d8817e4Smiod	(main): Parse new options.
2289*3d8817e4Smiod
2290*3d8817e4SmiodWed Aug 16 16:26:52 1995  steve chamberlain  <sac@slash.cygnus.com>
2291*3d8817e4Smiod
2292*3d8817e4Smiod	* dlltool.c (gen_exp_file): Fix RVA handling.
2293*3d8817e4Smiod	(rva_s, rva_n): Delete.
2294*3d8817e4Smiod
2295*3d8817e4SmiodFri Aug 11 18:27:18 1995  Ian Lance Taylor  <ian@cygnus.com>
2296*3d8817e4Smiod
2297*3d8817e4Smiod	* nm.c (main): Ignore -e.
2298*3d8817e4Smiod
2299*3d8817e4SmiodThu Aug 10 17:35:00 1995  Ken Raeburn  <raeburn@cygnus.com>
2300*3d8817e4Smiod
2301*3d8817e4Smiod	* Makefile.in (config.texi): New target.  Write out a setting for
2302*3d8817e4Smiod	texinfo variable VERSION.
2303*3d8817e4Smiod	(binutils.dvi, binutils.info): Depend on it.
2304*3d8817e4Smiod	* binutils.texi: Include it, and reference @value{VERSION} instead
2305*3d8817e4Smiod	of explicitly specifying 2.2(!).
2306*3d8817e4Smiod
2307*3d8817e4SmiodThu Aug 10 16:07:53 1995  Ian Lance Taylor  <ian@cygnus.com>
2308*3d8817e4Smiod
2309*3d8817e4Smiod	* coffgrok.c (do_type): Handle array dimensions the same way gdb
2310*3d8817e4Smiod	does.
2311*3d8817e4Smiod
2312*3d8817e4SmiodTue Aug  8 17:10:42 1995  steve chamberlain  <sac@slash.cygnus.com>
2313*3d8817e4Smiod
2314*3d8817e4Smiod	* dlltool.c (mtable): New fields.
2315*3d8817e4Smiod	(ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
2316*3d8817e4Smiod	(flush_page): Use new macros.
2317*3d8817e4Smiod
2318*3d8817e4SmiodSat Aug  5 00:16:37 1995  Jeff Law  (law@snake.cs.utah.edu)
2319*3d8817e4Smiod
2320*3d8817e4Smiod	* objcopy.c (mark_symbols_used_in_relocations): Handle sections
2321*3d8817e4Smiod	with no relocations.
2322*3d8817e4Smiod	* coffgrok.c (do_sections_p1): Likewise.
2323*3d8817e4Smiod
2324*3d8817e4SmiodMon Jul 31 12:51:06 1995  Ian Lance Taylor  <ian@cygnus.com>
2325*3d8817e4Smiod
2326*3d8817e4Smiod	* strings.c (print_strings): For compatibility with existing
2327*3d8817e4Smiod	strings programs, print strings which are not terminated with a
2328*3d8817e4Smiod	null byte or a newline.
2329*3d8817e4Smiod	* binutils.texi, strings.1: Update documentation accordingly.
2330*3d8817e4Smiod
2331*3d8817e4Smiod	* ar.c (replace_members): For compatibility with existing ar
2332*3d8817e4Smiod	programs, permit users to add the same file multiple times.
2333*3d8817e4Smiod
2334*3d8817e4SmiodTue Jul 25 11:21:53 1995  Ian Lance Taylor  <ian@cygnus.com>
2335*3d8817e4Smiod
2336*3d8817e4Smiod	* strings.c (DATA_FLAGS): Remove SEC_DATA.
2337*3d8817e4Smiod	(main): If no file names are given, scan standard input.
2338*3d8817e4Smiod	* binutils.texi, strings.1: strings now scans non-data sections by
2339*3d8817e4Smiod	default.
2340*3d8817e4Smiod
2341*3d8817e4SmiodMon Jul 24 13:52:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
2342*3d8817e4Smiod
2343*3d8817e4Smiod	* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
2344*3d8817e4Smiod	(writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes
2345*3d8817e4Smiod	for the	sh.
2346*3d8817e4Smiod
2347*3d8817e4Smiod	* sysdump.c (fillup): Return size - 1, the last byte is a checksum
2348*3d8817e4Smiod	and shouldn't be counted.
2349*3d8817e4Smiod	* sysroff.info (hd): Changed segment identifier from a byte to a 1
2350*3d8817e4Smiod	bit field.  The sysroff 2.0-01 specification seems to be in error
2351*3d8817e4Smiod	here.  Reduce width of following "spare" field from 4 to 3 bits.
2352*3d8817e4Smiod	(rl): Changed order and width of first 4 bitfields to correspond
2353*3d8817e4Smiod	to sysroff specification.
2354*3d8817e4Smiod	(dln_head, dln_inside, dln_tail): Removed.
2355*3d8817e4Smiod
2356*3d8817e4SmiodTue Jul 18 23:00:03 1995  Fred Fish  <fnf@cygnus.com>
2357*3d8817e4Smiod
2358*3d8817e4Smiod	* nm.c (sort_symbols_by_size):  Enclose expression being casted
2359*3d8817e4Smiod	in parens so result is casted, not just first operand.  Can't
2360*3d8817e4Smiod	do pointer arithmetic on void* pointers.
2361*3d8817e4Smiod
2362*3d8817e4SmiodFri Jul 14 13:42:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
2363*3d8817e4Smiod
2364*3d8817e4Smiod	* sysdump.c (dh): Changed format of output to be 16 hex digits
2365*3d8817e4Smiod	followed by 16 ascii characters, similar to Emacs' hexl-mode,
2366*3d8817e4Smiod	to make it easier to read.
2367*3d8817e4Smiod	(xcalloc): fix typo.
2368*3d8817e4Smiod
2369*3d8817e4SmiodThu Jul 13 15:27:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
2370*3d8817e4Smiod
2371*3d8817e4Smiod	* srconv.c (wr_tr): Write out handcrafted tr block.
2372*3d8817e4Smiod	(walk_tree_symbol): Use evallen and evalue instead of
2373*3d8817e4Smiod	vallen & value because of corresponding changes in
2374*3d8817e4Smiod	sysroff.info.
2375*3d8817e4Smiod
2376*3d8817e4Smiod	* sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New
2377*3d8817e4Smiod	functions.
2378*3d8817e4Smiod
2379*3d8817e4Smiod	* sysroff.info (tr): the tr block is a special case --- a block
2380*3d8817e4Smiod	without contents --- which can't be handled by generated code.
2381*3d8817e4Smiod	(den, dpp): only first byte is present for DENend, DPPend.
2382*3d8817e4Smiod	(dsy): describe a conditional portion of block, rename some fields.
2383*3d8817e4Smiod	(dps): describe a conditional portion of block.
2384*3d8817e4Smiod	(dfl): removed.
2385*3d8817e4Smiod
2386*3d8817e4Smiod	* sysinfo.y (yyerror): write error message to standard error.
2387*3d8817e4Smiod
2388*3d8817e4SmiodThu Jul 13 10:43:59 1995  Ian Lance Taylor  <ian@cygnus.com>
2389*3d8817e4Smiod
2390*3d8817e4Smiod	* Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.
2391*3d8817e4Smiod	(mostlyclean): Remove y.output.
2392*3d8817e4Smiod	(clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo.
2393*3d8817e4Smiod
2394*3d8817e4Smiod	* nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
2395*3d8817e4Smiod	* objcopy.c (copy_object): Likewise.
2396*3d8817e4Smiod
2397*3d8817e4Smiod	* nm.c (HAVE_SBRK): Define except on amigados and WINDOWS_NT.
2398*3d8817e4Smiod	(struct size_sym): Define.
2399*3d8817e4Smiod	(show_stats): New static variable.
2400*3d8817e4Smiod	(long_options): Add undocumented option "stats".
2401*3d8817e4Smiod	(main): Print memory stats if requested.
2402*3d8817e4Smiod	(sort_bfd, sort_dynamic, sort_x, sort_y): New static variables.
2403*3d8817e4Smiod	(numeric_forward): Use minisymbols rather than asymbols.
2404*3d8817e4Smiod	(non_numeric_forward): Likewise.
2405*3d8817e4Smiod	(size_forward1): Rename from size_forward.  Use minisymbols.
2406*3d8817e4Smiod	(size_forward2): New static function.
2407*3d8817e4Smiod	(sort_symbols_by_size): Take new arguments dynamic, size, and
2408*3d8817e4Smiod	symsizep.  Use minisymbols.  Don't store the size back in the
2409*3d8817e4Smiod	symbol; store in a newly allocate struct size_sym array.
2410*3d8817e4Smiod	(display_rel_file): Read minisymbols rather than asymbols.  Set
2411*3d8817e4Smiod	sort_* variables.  Call print_size_symbols if sorting by size.
2412*3d8817e4Smiod	(filter_symbols): Take new arguments dynamic and size.  Use
2413*3d8817e4Smiod	minisymbols.
2414*3d8817e4Smiod	(print_symbols): Likewise.  Call print_symbol for actual printing.
2415*3d8817e4Smiod	(print_size_symbols): New static function.
2416*3d8817e4Smiod	(print_symbol): New static function.
2417*3d8817e4Smiod
2418*3d8817e4SmiodWed Jul 12 10:43:05 1995  Ian Lance Taylor  <ian@cygnus.com>
2419*3d8817e4Smiod
2420*3d8817e4Smiod	* objdump.c (dump_section_stabs): Only print each stabs section
2421*3d8817e4Smiod	once.
2422*3d8817e4Smiod	(compare_relocs): Make it clear to gcc that this always returns a
2423*3d8817e4Smiod	value.
2424*3d8817e4Smiod
2425*3d8817e4SmiodWed Jul 12 10:40:23 1995  H.J. Lu  <hjl@nynexst.com>
2426*3d8817e4Smiod
2427*3d8817e4Smiod	* objcopy.c (simple_copy): Preserve errno on failure.
2428*3d8817e4Smiod	(smart_rename): Print error mesage if simple_copy fails.
2429*3d8817e4Smiod
2430*3d8817e4SmiodTue Jul 11 13:10:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
2431*3d8817e4Smiod
2432*3d8817e4Smiod	* sysdump.c: re-indented file.
2433*3d8817e4Smiod	(module): read blocks sequentially instead of trying to parse
2434*3d8817e4Smiod	them, as that would require changing the parser recognize the
2435*3d8817e4Smiod	difference between a DPSstart and DPSend block.
2436*3d8817e4Smiod	(getone): Add break's between switch blocks as appropriate.
2437*3d8817e4Smiod	(object_body_list): parse blocks according to sysroff spec.
2438*3d8817e4Smiod
2439*3d8817e4SmiodMon Jul 10 12:37:25 1995  J.T. Conklin  <jtc@poseidon.cygnus.com>
2440*3d8817e4Smiod
2441*3d8817e4Smiod	* sysroff.info: re-indented file, prior formatting was confusing
2442*3d8817e4Smiod	because it was indentation did not reflect nesting of conditional
2443*3d8817e4Smiod	records.  Change "space size within segment" record in hd record
2444*3d8817e4Smiod	from bit to byte.
2445*3d8817e4Smiod
2446*3d8817e4Smiod	* sysinfo.y (cond_it_field): Use xcalloc instead of calloc.
2447*3d8817e4Smiod
2448*3d8817e4Smiod	* srconv.c (wr_cs): Reformatted cs header array, tag each byte
2449*3d8817e4Smiod	with a comment describing the field.
2450*3d8817e4Smiod	(wr_unit_info): Use SEEK_SET macro instead of constant 0.
2451*3d8817e4Smiod	(main): Use FOPEN_WB macro instead of literal "wb".
2452*3d8817e4Smiod	* sysroff.info: Remove fdl (dfl) field from cs block.  Compare
2453*3d8817e4Smiod	ptr->type with ED_TYPE_CONST instead of constant 2 in ed block.
2454*3d8817e4Smiod
2455*3d8817e4SmiodTue Jul  4 14:48:42 1995  Ian Lance Taylor  <ian@cygnus.com>
2456*3d8817e4Smiod
2457*3d8817e4Smiod	* nm.c (size_forward): Check yf against yn, not xn.
2458*3d8817e4Smiod
2459*3d8817e4Smiod	* objcopy.c (copy_archive): Record all output BFD's, and close
2460*3d8817e4Smiod	them before unlinking them and removing the temporary directory,
2461*3d8817e4Smiod	to avoid NFS problems.
2462*3d8817e4Smiod
2463*3d8817e4Smiod	* ar.c (replace_members): In verbose messages, use 'r' when
2464*3d8817e4Smiod        replacing a member, and 'a' when adding one.
2465*3d8817e4Smiod
2466*3d8817e4Smiod	* ar.c (ar_truncate): New static variable.
2467*3d8817e4Smiod	(normalize): Change return type to const char *.  Add abfd
2468*3d8817e4Smiod	argument.  Change all callers.  If ar_truncate, chop the filename
2469*3d8817e4Smiod	to abfd->ar_max_namelen.
2470*3d8817e4Smiod	(main): For the 'f' modifier, set ar_truncate to true.  Don't
2471*3d8817e4Smiod	change quick_append to replace if ar_truncate is true.
2472*3d8817e4Smiod	(do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT.
2473*3d8817e4Smiod	(write_archive): Likewise.
2474*3d8817e4Smiod	* binutils.texi, ar.1: Document 'f' modifier.
2475*3d8817e4Smiod
2476*3d8817e4Smiod	* objcopy.c (enum strip_action): Define strip_unneeded.
2477*3d8817e4Smiod	(OPTION_STRIP_UNNEEDED): Define.
2478*3d8817e4Smiod	(strip_options): Add "strip-unneeded".
2479*3d8817e4Smiod	(copy_options): Likewise.
2480*3d8817e4Smiod	(copy_usage): Mention --strip-unneeded.
2481*3d8817e4Smiod	(strip_usage): Likewise.
2482*3d8817e4Smiod	(is_strip_section): Strip debugging sections if strip_unneeded.
2483*3d8817e4Smiod	(filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
2484*3d8817e4Smiod	(copy_object): If strip_all, discard symbols without checking
2485*3d8817e4Smiod	discard_locals.
2486*3d8817e4Smiod	(copy_object): Call filter_symbols if strip_unneeded.
2487*3d8817e4Smiod	(setup_section): Strip debugging sections if strip_unneeded.
2488*3d8817e4Smiod	(copy_section): Likewise.
2489*3d8817e4Smiod	(strip_main): Handle OPTION_STRIP_UNNEEDED.
2490*3d8817e4Smiod	(copy_main): Likewise.
2491*3d8817e4Smiod	* binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
2492*3d8817e4Smiod
2493*3d8817e4SmiodMon Jul  3 14:16:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>
2494*3d8817e4Smiod
2495*3d8817e4Smiod	* configure.in (i386-*-win32): New configuration.
2496*3d8817e4Smiod	* dlltool.c (killat, xlate, usage, long_options, main):
2497*3d8817e4Smiod	Understand and cope with -k option.
2498*3d8817e4Smiod
2499*3d8817e4SmiodSat Jul  1 12:25:15 1995  Fred Fish  <fnf@cygnus.com>
2500*3d8817e4Smiod
2501*3d8817e4Smiod	* ar.c: (extract_file):  Change "#if POSIX_UTIME" to
2502*3d8817e4Smiod	"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
2503*3d8817e4Smiod	and avoid lossage when POSIX_UTIME is not defined at all.
2504*3d8817e4Smiod
2505*3d8817e4SmiodWed Jun 28 17:51:24 1995  Steve Chamberlain  <sac@slash.cygnus.com>
2506*3d8817e4Smiod
2507*3d8817e4Smiod	* ar.c: (print_contents.c, extract_file, do_quick_append):
2508*3d8817e4Smiod	Malloc buffers rather than allocate on stack (so it works
2509*3d8817e4Smiod	on NT).
2510*3d8817e4Smiod	* deflex.l: Names can have an @ in them.
2511*3d8817e4Smiod	* dlltool.c: Loads of stuff. Can now generate .imp files which
2512*3d8817e4Smiod	work with NT .dlls.
2513*3d8817e4Smiod
2514*3d8817e4SmiodThu Jun 22 19:10:50 1995  Stan Shebs  <shebs@andros.cygnus.com>
2515*3d8817e4Smiod
2516*3d8817e4Smiod	* mpw-make.in (demangle.c.o): Remove.
2517*3d8817e4Smiod	(arparse.h): Depend on arparse.c instead of arparse.y.
2518*3d8817e4Smiod
2519*3d8817e4SmiodWed Jun 21 17:32:45 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
2520*3d8817e4Smiod
2521*3d8817e4Smiod	* Makefile.in (DISTSTUFF): Don't include info here.
2522*3d8817e4Smiod	(diststuff): Include it here.
2523*3d8817e4Smiod	(realclean): Remove *.info.
2524*3d8817e4Smiod
2525*3d8817e4Smiod	* objdump.c (compare_relocs): If relocation entries have the same
2526*3d8817e4Smiod	address, keep them in file order.
2527*3d8817e4Smiod
2528*3d8817e4SmiodMon Jun 19 09:06:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
2529*3d8817e4Smiod
2530*3d8817e4Smiod	* dlltool.c: Change names of generated files. .*.s-> -*.s
2531*3d8817e4Smiod
2532*3d8817e4Smiod	* objdump.c (dump_section_stabs):  Check for names
2533*3d8817e4Smiod	which are supersets of selected names.
2534*3d8817e4Smiod
2535*3d8817e4SmiodWed Jun 14 19:43:52 1995  Doug Evans  <dje@canuck.cygnus.com>
2536*3d8817e4Smiod
2537*3d8817e4Smiod	* dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr.
2538*3d8817e4Smiod
2539*3d8817e4SmiodWed Jun 14 13:27:22 1995  Steve Chamberlain  <sac@slash.cygnus.com>
2540*3d8817e4Smiod
2541*3d8817e4Smiod	* deflex.l, defparse.y, dlltool.c: New files.
2542*3d8817e4Smiod	* Makefile.in, configure.in: Support for them.
2543*3d8817e4Smiod
2544*3d8817e4SmiodMon Jun 12 11:27:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
2545*3d8817e4Smiod
2546*3d8817e4Smiod	* sysdump.c: Include sysdep.h
2547*3d8817e4Smiod	(main): Open input with FOPEN_RB.
2548*3d8817e4Smiod
2549*3d8817e4SmiodFri Jun  9 17:26:11 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
2550*3d8817e4Smiod
2551*3d8817e4Smiod	* objdump.c (wide_output): New flag variable.
2552*3d8817e4Smiod	(usage): Print new -w, --wide options.
2553*3d8817e4Smiod	(long_options): Add --wide support.
2554*3d8817e4Smiod	(dump_section_header): If --wide, don't print a newline between
2555*3d8817e4Smiod	the section's first line and the flags.
2556*3d8817e4Smiod	(objdump_print_address): Use unsigned comparisons for the binary
2557*3d8817e4Smiod	search, not signed.
2558*3d8817e4Smiod	(disassemble_data): If --wide, don't put a \n between the
2559*3d8817e4Smiod	disassembly output and relocation information.
2560*3d8817e4Smiod	(main): Support -w option being the same as --wide.
2561*3d8817e4Smiod
2562*3d8817e4SmiodThu Jun  1 17:09:27 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
2563*3d8817e4Smiod
2564*3d8817e4Smiod	Sat May  6 08:52:24 1995  H.J. Lu (hjl@nynexst.com)
2565*3d8817e4Smiod
2566*3d8817e4Smiod	* objcopy.c (smart_rename): make it smarter, clean up
2567*3d8817e4Smiod	  if rename () fails.
2568*3d8817e4Smiod
2569*3d8817e4SmiodTue May 30 14:24:15 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
2570*3d8817e4Smiod
2571*3d8817e4Smiod	* Makefile.in: Delete lines with lots of #### because four or more
2572*3d8817e4Smiod	indicate a point for makefile fragment substitution.
2573*3d8817e4Smiod
2574*3d8817e4SmiodTue May  9 17:17:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
2575*3d8817e4Smiod
2576*3d8817e4Smiod	* configure.in: Don't build nlmconv on PowerPC eabi any more, it
2577*3d8817e4Smiod	is not needed.
2578*3d8817e4Smiod
2579*3d8817e4SmiodThu Apr 27 20:21:24 1995  Doug Evans  <dje@canuck.cygnus.com>
2580*3d8817e4Smiod
2581*3d8817e4Smiod	* Makefile.in (EXPECT): Define.
2582*3d8817e4Smiod	(RUNTEST): Use one in source tree if present.
2583*3d8817e4Smiod	(check): Set `rootme' for $(EXPECT).
2584*3d8817e4Smiod
2585*3d8817e4SmiodWed Apr 26 18:26:21 1995  Steve Chamberlain  <sac@slash.cygnus.com>
2586*3d8817e4Smiod
2587*3d8817e4Smiod	* srconv.c (main): Add support for -n option which disables
2588*3d8817e4Smiod	prescan of common symbols.
2589*3d8817e4Smiod	(wr_ob): If reading past the end of a section, fill with zeros.
2590*3d8817e4Smiod
2591*3d8817e4SmiodTue Apr 25 19:14:37 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
2592*3d8817e4Smiod
2593*3d8817e4Smiod	* objdump.c (dump_section_header): Display load address after
2594*3d8817e4Smiod	virtual memory (run-time) address.
2595*3d8817e4Smiod
2596*3d8817e4SmiodWed Apr 19 09:44:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
2597*3d8817e4Smiod
2598*3d8817e4Smiod	* Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the
2599*3d8817e4Smiod        compile.
2600*3d8817e4Smiod	(DEMANGLER_PROG): No longer uses version.o.
2601*3d8817e4Smiod
2602*3d8817e4SmiodMon Apr 10 13:29:49 1995  Stan Shebs  <shebs@andros.cygnus.com>
2603*3d8817e4Smiod
2604*3d8817e4Smiod	Merge in support for Mac MPW as a host.
2605*3d8817e4Smiod	(Old change descriptions retained for informational value.)
2606*3d8817e4Smiod
2607*3d8817e4Smiod	* mpw-config.in (TDEFINES): Define as empty in makefile frag.
2608*3d8817e4Smiod
2609*3d8817e4Smiod	* mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
2610*3d8817e4Smiod
2611*3d8817e4Smiod	* mpw-config.in: New file, MPW configure fragment for binutils.
2612*3d8817e4Smiod	* mpw-make.in (install-only): New target.
2613*3d8817e4Smiod	(install): Also depend on install-only.
2614*3d8817e4Smiod
2615*3d8817e4Smiod	* mpw-make.in (cplusfilt): Renamed from c++filt.
2616*3d8817e4Smiod	(INCLUDES): Add more paths.
2617*3d8817e4Smiod
2618*3d8817e4Smiod	* mpw-make.in: New file, MPW makefile fragment for binutils.
2619*3d8817e4Smiod	(Normally automatically generated from Makefile.in.)
2620*3d8817e4Smiod
2621*3d8817e4SmiodMon Mar 27 11:52:57 1995  Ian Lance Taylor  <ian@cygnus.com>
2622*3d8817e4Smiod
2623*3d8817e4Smiod	* ar.c (write_archive): Call make_tempname to get output file
2624*3d8817e4Smiod	name, rather than using a fixed name based on the input file.
2625*3d8817e4Smiod
2626*3d8817e4Smiod	* objcopy.c (make_tempname): Copy from here...
2627*3d8817e4Smiod	* bucomm.c (make_tempname): ...to here, and make global.
2628*3d8817e4Smiod	* bucomm.h (make_tempname): Declare.
2629*3d8817e4Smiod
2630*3d8817e4SmiodFri Mar 24 11:47:42 1995  Ian Lance Taylor  <ian@cygnus.com>
2631*3d8817e4Smiod
2632*3d8817e4Smiod	* strings.c: Include "bfd.h" before other headers.  Include
2633*3d8817e4Smiod	"sysdep.h".
2634*3d8817e4Smiod	* bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
2635*3d8817e4Smiod	and print them with %ld.
2636*3d8817e4Smiod
2637*3d8817e4SmiodFri Mar 10 13:09:42 1995  Ian Lance Taylor  <ian@cygnus.com>
2638*3d8817e4Smiod
2639*3d8817e4Smiod	* objcopy.c (strip_options): Add --keep-symbol.
2640*3d8817e4Smiod	(copy_options): Likewise.
2641*3d8817e4Smiod	(copy_usage): Mention --keep-symbol and -K.
2642*3d8817e4Smiod	(strip_usage): Likewise.
2643*3d8817e4Smiod	(keep_symbols): New static variable.
2644*3d8817e4Smiod	(is_strip_symbol): Adjust the return value according to
2645*3d8817e4Smiod	keep_symbols.
2646*3d8817e4Smiod	(strip_main): Handle -K.  For -N, check that -K was not given.
2647*3d8817e4Smiod	(copy_main): Likewise.
2648*3d8817e4Smiod	* binutils.texi, objcopy.1, strip.1: Document -K.
2649*3d8817e4Smiod
2650*3d8817e4SmiodMon Mar  6 13:33:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
2651*3d8817e4Smiod
2652*3d8817e4Smiod	* objcopy.c (copy_archive): Check result of mkdir.
2653*3d8817e4Smiod	(copy_main): Cast an xmalloc result.
2654*3d8817e4Smiod
2655*3d8817e4Smiod	* objdump.c (usage): Break long format string into shorter ones.
2656*3d8817e4Smiod
2657*3d8817e4SmiodMon Mar  6 13:46:12 1995  Ian Lance Taylor  <ian@cygnus.com>
2658*3d8817e4Smiod
2659*3d8817e4Smiod	* bucomm.c (list_supported_targets): New function.
2660*3d8817e4Smiod	* bucomm.h (list_supported_targets): Declare.
2661*3d8817e4Smiod	* ar.c (usage): Call list_supported_targets.
2662*3d8817e4Smiod	* nm.c (usage): Likewise.
2663*3d8817e4Smiod	* objcopy.c (copy_usage, strip_usage): Likewise.
2664*3d8817e4Smiod	* objdump.c (usage): Likewise.
2665*3d8817e4Smiod	* size.c (usage): Likewise.
2666*3d8817e4Smiod	* strings.c (usage): Likewise.
2667*3d8817e4Smiod
2668*3d8817e4SmiodTue Feb 28 15:13:58 1995  Ian Lance Taylor  <ian@cygnus.com>
2669*3d8817e4Smiod
2670*3d8817e4Smiod	* bucomm.c (print_arelt_descr): Cast st_size to long before
2671*3d8817e4Smiod	passing it to fprintf.
2672*3d8817e4Smiod
2673*3d8817e4SmiodFri Feb 17 13:36:45 1995  Ian Lance Taylor  <ian@cygnus.com>
2674*3d8817e4Smiod
2675*3d8817e4Smiod	* objcopy.c (struct section_list): Add fields remove, set_flags,
2676*3d8817e4Smiod	and flags.  Change adjust from boolean to enum.
2677*3d8817e4Smiod	(remove_sections): Remove static variable.
2678*3d8817e4Smiod	(sections_removed): New static variable.
2679*3d8817e4Smiod	(copy_options): Add --set-section-flags.
2680*3d8817e4Smiod	(copy_usage): Mention --set-section-flags.
2681*3d8817e4Smiod	(parse_flags): New static function.
2682*3d8817e4Smiod	(find_section_list): New static function.
2683*3d8817e4Smiod	(is_strip_symbol): Change return type from int to boolean.
2684*3d8817e4Smiod	(is_strip_section): New static function.
2685*3d8817e4Smiod	(filter_symbols): Call is_strip_section.
2686*3d8817e4Smiod	(copy_object): When adding sections, check for specified flags or
2687*3d8817e4Smiod	VMA.  Call filter_symbols if any sections are being removed.
2688*3d8817e4Smiod	(setup_section): Use find_section_list function rather than
2689*3d8817e4Smiod	looking through remove_sections and adjust_sections.  Handle
2690*3d8817e4Smiod	--set-section-flags.
2691*3d8817e4Smiod	(copy_section): Use find_section_list rather than looking through
2692*3d8817e4Smiod	remove_sections.
2693*3d8817e4Smiod	(strip_main): Use find_section_list instead of adding items to
2694*3d8817e4Smiod	sections_removed.
2695*3d8817e4Smiod	(copy_main): Use find_section_list instead of adding items to
2696*3d8817e4Smiod	sections_removed and adjust_sections.  Handle --set-section-flags.
2697*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --set-section-flags.
2698*3d8817e4Smiod
2699*3d8817e4SmiodTue Feb 14 18:03:03 1995  Ian Lance Taylor  <ian@cygnus.com>
2700*3d8817e4Smiod
2701*3d8817e4Smiod	* objdump.c (with_source_code): New global variable.
2702*3d8817e4Smiod	(usage): Mention -S/--source.
2703*3d8817e4Smiod	(long_options): Add --source.
2704*3d8817e4Smiod	(prev_functionname, prev_line): New static variables.
2705*3d8817e4Smiod	(struct print_file_list): Define.
2706*3d8817e4Smiod	(print_files): New static variable.
2707*3d8817e4Smiod	(skip_to_line, show_line): New static functions.
2708*3d8817e4Smiod	(disassemble_data): Call show_line to handle -l and -S.
2709*3d8817e4Smiod	(main): Handle -S.
2710*3d8817e4Smiod	* binutils.texi, objdump.1: Document -S/--source.
2711*3d8817e4Smiod
2712*3d8817e4SmiodThu Feb  9 16:11:53 1995  Ian Lance Taylor  <ian@cygnus.com>
2713*3d8817e4Smiod
2714*3d8817e4Smiod	* objcopy.c (copy_usage): Rename parameter to avoid shadowing.
2715*3d8817e4Smiod	(strip_usage): Likewise.
2716*3d8817e4Smiod
2717*3d8817e4Smiod	* objcopy.c (struct section_add): Define.
2718*3d8817e4Smiod	(add_sections): New static variable.
2719*3d8817e4Smiod	(copy_options): Accept --add-section.
2720*3d8817e4Smiod	(copy_usage): Mention --add-section.
2721*3d8817e4Smiod	(copy_object): Add sections from the add_sections list.
2722*3d8817e4Smiod	(copy_main): Handle --add-section.
2723*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --add-section.
2724*3d8817e4Smiod
2725*3d8817e4SmiodWed Feb  1 15:04:57 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
2726*3d8817e4Smiod
2727*3d8817e4Smiod	* objdump.c (disassemble_data): Pass section offset, not absolute
2728*3d8817e4Smiod	address, to bfd_find_nearest_line.
2729*3d8817e4Smiod
2730*3d8817e4Smiod	* nlmconv.c (powerpc_mangle_relocs): Don't use const with
2731*3d8817e4Smiod	reloc_howto_type.
2732*3d8817e4Smiod
2733*3d8817e4SmiodThu Jan 26 18:50:06 1995  Ian Lance Taylor  <ian@cygnus.com>
2734*3d8817e4Smiod
2735*3d8817e4Smiod	* objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather
2736*3d8817e4Smiod	than VAR->value.
2737*3d8817e4Smiod	(objdump_print_address): Likewise.
2738*3d8817e4Smiod	(disassemble_data): Don't change the symbol values.  It can
2739*3d8817e4Smiod	confuse bfd_canonicalize_reloc.
2740*3d8817e4Smiod
2741*3d8817e4SmiodThu Jan 26 12:03:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
2742*3d8817e4Smiod
2743*3d8817e4Smiod	* configure.in: Add support for powerpc-*-ebai.
2744*3d8817e4Smiod
2745*3d8817e4SmiodWed Jan 18 10:02:12 1995  Steve Chamberlain  <sac@splat>
2746*3d8817e4Smiod
2747*3d8817e4Smiod	* coffdump.c: Include sysdep.h.
2748*3d8817e4Smiod	(dump_coff_type): Handle coff_secdef_type.
2749*3d8817e4Smiod	* coffgrok.c : Include sysdep.h.
2750*3d8817e4Smiod	* srconv.c: Include libiberty.h
2751*3d8817e4Smiod	(absolute_p, dty_start, dty_end, dump_tree_structure): Remove.
2752*3d8817e4Smiod
2753*3d8817e4SmiodWed Jan 18 12:24:14 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2754*3d8817e4Smiod
2755*3d8817e4Smiod	* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
2756*3d8817e4Smiod	printf.
2757*3d8817e4Smiod	* coffgrok.c: Include bucomm.h.  Don't declare xmalloc.
2758*3d8817e4Smiod	(push_scope): Declare type of parameter link.
2759*3d8817e4Smiod	* size.c: Include libiberty.h.
2760*3d8817e4Smiod	* srconv.c: Include bucomm.h.
2761*3d8817e4Smiod	(find_base): Declare at top of file.
2762*3d8817e4Smiod	(wr_hd): Add default case to architecture switch.
2763*3d8817e4Smiod	(wr_dps_start): Declare type of parameter nest.
2764*3d8817e4Smiod	(wr_du): Comment out variables used only in commented out blocks.
2765*3d8817e4Smiod	(wr_dus): Remove unused variable i.
2766*3d8817e4Smiod	(wr_sc): Remove unused variables myinfo, low, and high.
2767*3d8817e4Smiod	* strings.c: Include libiberty.h.
2768*3d8817e4Smiod	* sysdump.c: Include <ctype.h>.
2769*3d8817e4Smiod
2770*3d8817e4SmiodTue Dec 20 19:13:44 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2771*3d8817e4Smiod
2772*3d8817e4Smiod	* ar.c (main): Ignore 'f' modifier used on HP/UX 9.
2773*3d8817e4Smiod
2774*3d8817e4SmiodThu Dec 15 17:34:12 1994  Stan Shebs  <shebs@andros.cygnus.com>
2775*3d8817e4Smiod
2776*3d8817e4Smiod	* ar.c, nm.c, objcopy.c, objdump.c: Include progress.h.
2777*3d8817e4Smiod	* ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS
2778*3d8817e4Smiod	and END_PROGRESS.
2779*3d8817e4Smiod	* ar.c (map_over_members, open_inarch): Call PROGRESS.
2780*3d8817e4Smiod	* nm.c (main, display_archive, filter_symbols, print_symbols):
2781*3d8817e4Smiod	Call PROGRESS.
2782*3d8817e4Smiod
2783*3d8817e4Smiod	* objcopy.c (copy_usage): Break up long usage string.
2784*3d8817e4Smiod
2785*3d8817e4SmiodWed Dec 14 15:51:56 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
2786*3d8817e4Smiod
2787*3d8817e4Smiod	* objcopy.c (copy_object): Don't bother setting status after
2788*3d8817e4Smiod	nonfatal() "call", because it won't return.
2789*3d8817e4Smiod
2790*3d8817e4SmiodFri Dec  9 00:22:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2791*3d8817e4Smiod
2792*3d8817e4Smiod	* nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
2793*3d8817e4Smiod	the section symbol if the symbol is undefined.
2794*3d8817e4Smiod
2795*3d8817e4SmiodThu Dec  8 14:45:50 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
2796*3d8817e4Smiod
2797*3d8817e4Smiod	* objcopy.c (add_strip_symbol): Cast return value of xmalloc.
2798*3d8817e4Smiod
2799*3d8817e4SmiodWed Nov 30 11:05:43 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
2800*3d8817e4Smiod
2801*3d8817e4Smiod	* ar.c (replace_members): Pass current->filename to normalize when
2802*3d8817e4Smiod	checking for duplicates, because the filename of a newly added
2803*3d8817e4Smiod	file will not have been normalized yet.
2804*3d8817e4Smiod
2805*3d8817e4SmiodThu Nov 17 15:00:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2806*3d8817e4Smiod
2807*3d8817e4Smiod	* ar.c (main): Don't call do_quick_append if any of the archive
2808*3d8817e4Smiod	names are longer than 14 characters.
2809*3d8817e4Smiod
2810*3d8817e4Smiod	* objcopy.c (main): Fix is_strip test.  From
2811*3d8817e4Smiod	pirker@eiunix.tuwien.ac.at (Martin Pirker).
2812*3d8817e4Smiod
2813*3d8817e4SmiodThu Nov 17 15:37:19 1994  Mark W. Eichin  <eichin@cygnus.com>
2814*3d8817e4Smiod
2815*3d8817e4Smiod	* objcopy.c (add_strip_symbol): New function, adds a name to an
2816*3d8817e4Smiod	explicit list of symbols to strip.
2817*3d8817e4Smiod	(is_strip_symbol): New function, reports whether the name argument
2818*3d8817e4Smiod	is in the explicit list.
2819*3d8817e4Smiod	(filter_symbols): Check against is_strip_symbol above all.
2820*3d8817e4Smiod	(strip_main): Recognize -N option. If used, don't default to
2821*3d8817e4Smiod	strip_all.
2822*3d8817e4Smiod	(copy_main): Recognize -N option.
2823*3d8817e4Smiod	(strip_usage): Document -N and --strip-symbol options.
2824*3d8817e4Smiod	(copy_usage): Ditto.
2825*3d8817e4Smiod	* objcopy.1, strip.1, binutils.texi: Document -N and
2826*3d8817e4Smiod	--strip-symbol options.
2827*3d8817e4Smiod
2828*3d8817e4SmiodTue Nov  8 13:12:54 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2829*3d8817e4Smiod
2830*3d8817e4Smiod	* objdump.c (display_target_list, display_info_table): Pass an
2831*3d8817e4Smiod	array to tmparg, rather than NULL, since some systems can't handle
2832*3d8817e4Smiod	NULL.
2833*3d8817e4Smiod
2834*3d8817e4Smiod	* objcopy.c (copy_archive): Keep a list of the names of the
2835*3d8817e4Smiod        temporary files we created.  Close each input BFD after we open
2836*3d8817e4Smiod        its successor.
2837*3d8817e4Smiod
2838*3d8817e4SmiodMon Nov  7 15:48:39 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
2839*3d8817e4Smiod
2840*3d8817e4Smiod	* Makefile.in (VERSION): Bump to 2.5.3.
2841*3d8817e4Smiod
2842*3d8817e4SmiodThu Nov  3 19:04:34 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
2843*3d8817e4Smiod
2844*3d8817e4Smiod	* Makefile.in (install-info): Install info files from whatever
2845*3d8817e4Smiod	directory they were found in.
2846*3d8817e4Smiod
2847*3d8817e4Smiod	Patch from DJ Delorie:
2848*3d8817e4Smiod	* configure.bat: do c++filt -> cxxfilt right
2849*3d8817e4Smiod
2850*3d8817e4Smiod	* sysinfo.y: Include system header files early, so any potential
2851*3d8817e4Smiod	declaration of abort() occurs before its use.
2852*3d8817e4Smiod
2853*3d8817e4Smiod	* strings.c (strings_file): Try opening the file in binary mode
2854*3d8817e4Smiod	first.
2855*3d8817e4Smiod
2856*3d8817e4SmiodWed Nov  2 15:44:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2857*3d8817e4Smiod
2858*3d8817e4Smiod	* ar.c (main): Treat ar qs like ar rs.
2859*3d8817e4Smiod
2860*3d8817e4SmiodTue Oct 25 16:19:25 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2861*3d8817e4Smiod
2862*3d8817e4Smiod	* objcopy.c (gap_fill): Explicitly initialize, for clarity.
2863*3d8817e4Smiod	(pad_to_set, pad_to): New static variables.
2864*3d8817e4Smiod	(copy_options): Accept --pad-to.
2865*3d8817e4Smiod	(copy_usage): Mention --pad-to.
2866*3d8817e4Smiod	(copy_object): Support --pad-to.
2867*3d8817e4Smiod	(compare_section_vma): Sort non loadable sections to the front.
2868*3d8817e4Smiod	Sort sections with the same VMA by size.
2869*3d8817e4Smiod	(copy_main): Handle --pad-to.
2870*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --pad-to.
2871*3d8817e4Smiod
2872*3d8817e4SmiodThu Oct 20 13:51:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2873*3d8817e4Smiod
2874*3d8817e4Smiod	* objcopy.c (gap_fill_set, gap_fill): New static variables.
2875*3d8817e4Smiod	(copy_options): Accept --gap-fill.
2876*3d8817e4Smiod	(copy_usage): Mention --gap-fill.
2877*3d8817e4Smiod	(copy_object): Support --gap-fill.
2878*3d8817e4Smiod	(get_sections, compare_section_vma): New static functions.
2879*3d8817e4Smiod	(copy_main): Handle --gap-fill.
2880*3d8817e4Smiod	* binutils.texi, objcopy.1: Document --gap-fill.
2881*3d8817e4Smiod
2882*3d8817e4SmiodWed Oct 19 14:09:16 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2883*3d8817e4Smiod
2884*3d8817e4Smiod	* Makefile.in (check): Add a dummy else clause to the if
2885*3d8817e4Smiod	statement.
2886*3d8817e4Smiod
2887*3d8817e4Smiod	* objcopy.c (copy_object): Revert yesterday's change.
2888*3d8817e4Smiod	* binutils.texi, objcopy.1: Remove special mention of --set-start
2889*3d8817e4Smiod	and `binary' output format.
2890*3d8817e4Smiod
2891*3d8817e4SmiodTue Oct 18 11:12:01 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2892*3d8817e4Smiod
2893*3d8817e4Smiod	* objcopy.c (copy_object): If the output file format is `binary',
2894*3d8817e4Smiod	and the start address was not set using --set-start, default the
2895*3d8817e4Smiod	start address to zero.  This hack is because the `binary' output
2896*3d8817e4Smiod	file format uses the start address to set the virtual address of
2897*3d8817e4Smiod	the first byte in the file.
2898*3d8817e4Smiod	* binutils.texi, objcopy.1: Add some notes on generating S-records
2899*3d8817e4Smiod	and binary files.
2900*3d8817e4Smiod
2901*3d8817e4Smiod	* nm.c (print_symdef_entry): Call print_symname to print the
2902*3d8817e4Smiod	symbol name, so that --demangle works.
2903*3d8817e4Smiod
2904*3d8817e4Smiod	* Makefile.in (mostlyclean): Remove tmpdir.
2905*3d8817e4Smiod
2906*3d8817e4Smiod	* objcopy.c (struct section_list): Add fields used, adjust, val.
2907*3d8817e4Smiod	(adjust_start, set_start_set, set_start): New static variables.
2908*3d8817e4Smiod	(adjust_section_vma, adjust_sections): New static variables.
2909*3d8817e4Smiod	(copy_options): Add --adjust-start, --adjust-vma,
2910*3d8817e4Smiod	--adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
2911*3d8817e4Smiod	--set-start.
2912*3d8817e4Smiod	(parse_vma): New static function.
2913*3d8817e4Smiod	(copy_usage): Mention new options.
2914*3d8817e4Smiod	(copy_object): Handle --set-start and --adjust-start.
2915*3d8817e4Smiod	(setup_section): Correct type of last argument to PTR.  Set used
2916*3d8817e4Smiod	field if section is removed.  Handle --adjust-vma and
2917*3d8817e4Smiod	--adjust-section-vma.
2918*3d8817e4Smiod	(copy_section): Correct type of last argument to PTR.
2919*3d8817e4Smiod	(mark_symbols_used_in_relocations): Likewise.
2920*3d8817e4Smiod	(strip_main): Clear used field when handling -R.
2921*3d8817e4Smiod	(copy_main): Handle new options.
2922*3d8817e4Smiod	* binutils.texi (objcopy): Document new options.
2923*3d8817e4Smiod	* objcopy.1: Document new options.
2924*3d8817e4Smiod
2925*3d8817e4SmiodFri Oct 14 14:38:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2926*3d8817e4Smiod
2927*3d8817e4Smiod	* configure.in (configdirs): Remove definition--testsuite is no
2928*3d8817e4Smiod	longer configured.
2929*3d8817e4Smiod	* Makefile.in (testsuite): Remove target.
2930*3d8817e4Smiod	(site.exp): New target.
2931*3d8817e4Smiod	(check): Rewrite.
2932*3d8817e4Smiod	(clean, distclean): Don't recur into testsuite directory.
2933*3d8817e4Smiod
2934*3d8817e4SmiodThu Oct 13 19:24:09 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
2935*3d8817e4Smiod
2936*3d8817e4Smiod	* Makefile.in (VERSION): Updated to 2.5.
2937*3d8817e4Smiod	* Version 2.5 released.
2938*3d8817e4Smiod
2939*3d8817e4SmiodTue Oct 11 15:26:42 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2940*3d8817e4Smiod
2941*3d8817e4Smiod	* Makefile.in (sysdump.o): Depends upon sysroff.c.
2942*3d8817e4Smiod
2943*3d8817e4SmiodMon Oct 10 13:50:30 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
2944*3d8817e4Smiod
2945*3d8817e4Smiod	* nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
2946*3d8817e4Smiod	  ctor/dtor tables needed by C++ programs are built.
2947*3d8817e4Smiod
2948*3d8817e4SmiodSun Oct  9 18:04:00 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
2949*3d8817e4Smiod
2950*3d8817e4Smiod	* Makefile.in (srconv.o): Add dependence on sysroff.c.
2951*3d8817e4Smiod
2952*3d8817e4SmiodTue Oct  4 12:19:51 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
2953*3d8817e4Smiod
2954*3d8817e4Smiod	* configure.in: Use ${config_shell} when running config.bfd.
2955*3d8817e4Smiod
2956*3d8817e4Smiod	* Makefile.in (sysroff.h): Split target away from sysroff.c.
2957*3d8817e4Smiod	(srconv.o, sysdump.o): New targets.
2958*3d8817e4Smiod	(srconv, sysdump): Don't depend upon sysroff.c.
2959*3d8817e4Smiod
2960*3d8817e4SmiodWed Sep 28 13:04:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2961*3d8817e4Smiod
2962*3d8817e4Smiod	* Makefile.in (arparse.c): Don't ignore errors from mv.
2963*3d8817e4Smiod	(sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
2964*3d8817e4Smiod	parallel make from trying to build both arparse.c and sysinfo.c
2965*3d8817e4Smiod	simultaneously.
2966*3d8817e4Smiod	(nlmheader.c): Similar change.
2967*3d8817e4Smiod	(arparse.h): Separate target from arparse.c, so that a parallel
2968*3d8817e4Smiod	make does not try to build both at once.  Depend upon arparse.c.
2969*3d8817e4Smiod	(sysinfo.h): Similar change.
2970*3d8817e4Smiod
2971*3d8817e4Smiod	* objdump.c (disassemble_data): Pass the reloc buffer to free, not
2972*3d8817e4Smiod	the pointer used to loop over the relocs.
2973*3d8817e4Smiod
2974*3d8817e4SmiodSat Sep 24 16:16:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
2975*3d8817e4Smiod
2976*3d8817e4Smiod	* objdump.c (disassemble_data): Cast result of xmalloc.
2977*3d8817e4Smiod
2978*3d8817e4SmiodWed Sep 21 19:30:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2979*3d8817e4Smiod
2980*3d8817e4Smiod	* objdump.c (sorted_syms, sorted_symcount): New global variables.
2981*3d8817e4Smiod	(objdump_print_address): Use sorted_syms and sorted_symcount
2982*3d8817e4Smiod	instead of syms and symcount.
2983*3d8817e4Smiod	(disassemble_data): Don't bother to get the relocs before looping
2984*3d8817e4Smiod	over the sections.  Before filtering and sorting the symbol table,
2985*3d8817e4Smiod	copy it into sorted_syms.
2986*3d8817e4Smiod
2987*3d8817e4SmiodFri Sep 16 11:27:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2988*3d8817e4Smiod
2989*3d8817e4Smiod	* objdump.c (struct objdump_disasm_info): Add field require_sec.
2990*3d8817e4Smiod	(objdump_print_address): If aux->require_sec, require that the
2991*3d8817e4Smiod	symbol be in aux->sec even if HAS_RELOC is not set.  If we can't
2992*3d8817e4Smiod	find a smaller symbol in the right section, look for a larger one.
2993*3d8817e4Smiod	(disassemble_data): Set aux.require_sec around the
2994*3d8817e4Smiod	objdump_print_address call for the instruction address.
2995*3d8817e4Smiod
2996*3d8817e4SmiodThu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2997*3d8817e4Smiod
2998*3d8817e4Smiod	* ar.c: Call xexit rather than exit.
2999*3d8817e4Smiod	(output_filename, output_file, output_bfd): New static variables.
3000*3d8817e4Smiod	(remove_output): New static function.
3001*3d8817e4Smiod	(main): Call xatexit (remove_output).  Call xexit rather than
3002*3d8817e4Smiod	returning.
3003*3d8817e4Smiod	(extract_file): Set output_filename and output_file while output
3004*3d8817e4Smiod	file is open.
3005*3d8817e4Smiod	(write_archive): Likewise, but use output_bfd, not output_file.
3006*3d8817e4Smiod	* arsup.c: Include libiberty.h.  Call xexit rather than exit.
3007*3d8817e4Smiod	* bucomm.c: Likewise.
3008*3d8817e4Smiod
3009*3d8817e4Smiod	* objdump.c (disassemble_all): New global variable.
3010*3d8817e4Smiod	(usage): Document --disassemble-all.
3011*3d8817e4Smiod	(long_options): Add disassemble-all as a synonym for -D.
3012*3d8817e4Smiod	(compare_symbols): Make pointers const.
3013*3d8817e4Smiod	(compare_relocs): New static function.
3014*3d8817e4Smiod	(disassemble_data): Rename disassemble to disassemble_fn to avoid
3015*3d8817e4Smiod	shadowing.  If dump_reloc_info, print relocs along with
3016*3d8817e4Smiod	disassembly.  Skip sections which are not SEC_CODE unless
3017*3d8817e4Smiod	disassemble_all or only is set.
3018*3d8817e4Smiod	(display_bfd): Don't call dump_relocs if disassemble is set.
3019*3d8817e4Smiod	(main): Accept and handle -D.
3020*3d8817e4Smiod	* binutils.texi: Document -D/--disassemble-all.
3021*3d8817e4Smiod	* objdump.1: Likewise.
3022*3d8817e4Smiod
3023*3d8817e4SmiodWed Sep 14 12:19:07 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3024*3d8817e4Smiod
3025*3d8817e4Smiod	* objdump.c (disassemble_data): Initialize prevline to 0.  Make
3026*3d8817e4Smiod	prev_function non const.  Copy functionname into an malloc buffer
3027*3d8817e4Smiod	when setting prev_function, instead of assuming that the string
3028*3d8817e4Smiod	will last forever.
3029*3d8817e4Smiod
3030*3d8817e4Smiod	* nm.c: Include libiberty.h.
3031*3d8817e4Smiod	(sort_by_size): New static variable.
3032*3d8817e4Smiod	(long_options): Add --size-sort.
3033*3d8817e4Smiod	(usage): Mention --size-sort.
3034*3d8817e4Smiod	(numeric_forward): Make static.  Change from void * to PTR.
3035*3d8817e4Smiod	(numeric_reverse): Likewise.
3036*3d8817e4Smiod	(non_numeric_forward, non_numeric_reverse): Likewise.
3037*3d8817e4Smiod	(sorters): Change declaration from void * to PTR.
3038*3d8817e4Smiod	(size_forward, sort_symbol_by_size): New static functions.
3039*3d8817e4Smiod	(display_rel_file): Handle sort_by_size.
3040*3d8817e4Smiod	(filter_symbols): If sort_by_size, discard absolute and undefined
3041*3d8817e4Smiod	symbols.
3042*3d8817e4Smiod	* binutils.texi (nm): Document --size-sort.
3043*3d8817e4Smiod	* nm.1: Document --size-sort.
3044*3d8817e4Smiod
3045*3d8817e4SmiodTue Sep 13 21:06:06 1994  Jeff Law  (law@snake.cs.utah.edu)
3046*3d8817e4Smiod
3047*3d8817e4Smiod	* objcopy.c (copy_main): Initialize input_filename and
3048*3d8817e4Smiod	output_filename to NULL.
3049*3d8817e4Smiod
3050*3d8817e4SmiodTue Sep 13 14:17:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3051*3d8817e4Smiod
3052*3d8817e4Smiod	* Makefile.in (version.o): Depend upon Makefile, so that version.o
3053*3d8817e4Smiod	gets rebuilt when make variable VERSION is changed.
3054*3d8817e4Smiod
3055*3d8817e4Smiod	* objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
3056*3d8817e4Smiod
3057*3d8817e4SmiodWed Aug 24 12:40:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3058*3d8817e4Smiod
3059*3d8817e4Smiod	* configure.in: Change i[34]86 to i[345]86.
3060*3d8817e4Smiod
3061*3d8817e4SmiodTue Aug 23 11:00:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3062*3d8817e4Smiod
3063*3d8817e4Smiod	* ar.c (ranlib_touch): Don't update the archive map if there isn't
3064*3d8817e4Smiod	one.
3065*3d8817e4Smiod
3066*3d8817e4SmiodMon Aug 22 16:02:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3067*3d8817e4Smiod
3068*3d8817e4Smiod	* ar.c: Include libiberty.h.
3069*3d8817e4Smiod	(inarch): Remove variable.
3070*3d8817e4Smiod	(map_over_members): Make static.  Add arch argument, and use it
3071*3d8817e4Smiod	instead of inarch.  Change all callers.
3072*3d8817e4Smiod	(main): Treat --version as -v.  Accept -t argument.  Accept any
3073*3d8817e4Smiod	number of archive arguments.  Catch and use open_inarch return
3074*3d8817e4Smiod	value, rather than using inarch.
3075*3d8817e4Smiod	(open_inarch): Return newly opened BFD, rather than using inarch.
3076*3d8817e4Smiod	(do_quick_append): Make archive_filename const.
3077*3d8817e4Smiod	(write_archive): Add iarch argument, and use it instead of inarch.
3078*3d8817e4Smiod	Change all callers.
3079*3d8817e4Smiod	(delete_members, move_members, replace_members): Likewise.
3080*3d8817e4Smiod	(ranlib_only): Don't exit on success.  Catch and use open_inarch
3081*3d8817e4Smiod	return value.
3082*3d8817e4Smiod	(ranlib_touch): New function.
3083*3d8817e4Smiod	* arsup.h (map_over_members): Don't declare.
3084*3d8817e4Smiod	(ar_end, ar_extract): Declare.
3085*3d8817e4Smiod	(open_inarch): Change return value in declaration to bfd *.
3086*3d8817e4Smiod	* arsup.c (map_over_list): Make static. Always pass two arguments
3087*3d8817e4Smiod	to function.  Add arch argument, and use it instead of inarch.
3088*3d8817e4Smiod	Change all callers.
3089*3d8817e4Smiod	(ar_directory_doer): Make static.  Add ignored second argument.
3090*3d8817e4Smiod	Change all callers.
3091*3d8817e4Smiod	(ar_directory): Use open_inarch return value rather than inarch.
3092*3d8817e4Smiod	(ar_addlib_doer): Make static.
3093*3d8817e4Smiod	(ar_addlib): Use open_inarch return value rather than inarch.
3094*3d8817e4Smiod	(ar_extract): Remove unused local variable abfd.
3095*3d8817e4Smiod
3096*3d8817e4SmiodThu Aug 11 14:55:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3097*3d8817e4Smiod
3098*3d8817e4Smiod	Add support for removing named sections to objcopy and strip.
3099*3d8817e4Smiod	* objcopy.c (struct section_list): Define.
3100*3d8817e4Smiod	(remove_sections): New static variable.
3101*3d8817e4Smiod	(strip_options, copy_options): Add remove-section.
3102*3d8817e4Smiod	(copy_usage, strip_usage): Mention -R and --remove-section.
3103*3d8817e4Smiod	(setup_section): If section is in remove_sections list, ignore it.
3104*3d8817e4Smiod	(copy_section): Likewise.
3105*3d8817e4Smiod	(strip_main, copy_main): Handle -R.
3106*3d8817e4Smiod	* binutils.texi, objcopy.1, strip.1: Document new options.
3107*3d8817e4Smiod
3108*3d8817e4SmiodWed Aug 10 10:19:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
3109*3d8817e4Smiod
3110*3d8817e4Smiod	* nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
3111*3d8817e4Smiod	so as not to conflict with the symvalue typedef in bfd.h.
3112*3d8817e4Smiod
3113*3d8817e4SmiodMon Aug  1 13:19:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3114*3d8817e4Smiod
3115*3d8817e4Smiod	* nlmheader.y: Per current NetWare docs, accept a revision number
3116*3d8817e4Smiod	of 0 and treat a revision number greater than 26 as 0.
3117*3d8817e4Smiod
3118*3d8817e4SmiodMon Jul 25 12:58:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3119*3d8817e4Smiod
3120*3d8817e4Smiod	* objdump.c (objdump_print_address): Correct handling of end of
3121*3d8817e4Smiod	symbols when looking for next symbol with a different value.
3122*3d8817e4Smiod
3123*3d8817e4SmiodFri Jul 22 16:48:34 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3124*3d8817e4Smiod
3125*3d8817e4Smiod	* nm.c (numeric_forward): Treat undefined symbols as "less than"
3126*3d8817e4Smiod	defined symbols with zero values.  If numeric values are equal, or
3127*3d8817e4Smiod	both symbols are undefined, sort alphabetically.  Don't assume
3128*3d8817e4Smiod	that the difference of two bfd_vma values will truncate to "int"
3129*3d8817e4Smiod	and still have the same sign.
3130*3d8817e4Smiod	(numeric_reverse): Call numeric_forward and negate the result.
3131*3d8817e4Smiod	(print_symbol_info_bsd): For undefined symbols, print leading
3132*3d8817e4Smiod	spaces equivalent to the width of a printed bfd_vma, rather than
3133*3d8817e4Smiod	assuming that 8 will look right.
3134*3d8817e4Smiod
3135*3d8817e4SmiodFri Jul 22 10:36:50 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3136*3d8817e4Smiod
3137*3d8817e4Smiod	* coffgrok.c (doit):  Zero all fields of new structure.
3138*3d8817e4Smiod	* srconv.c (sysroff_swap_*_out): Remove redundant trailing arg.
3139*3d8817e4Smiod	* sysinfo.y: Generate sysroff_swap_*_out without requiring extra
3140*3d8817e4Smiod	arg.
3141*3d8817e4Smiod
3142*3d8817e4SmiodFri Jul 22 10:09:53 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
3143*3d8817e4Smiod
3144*3d8817e4Smiod	* nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
3145*3d8817e4Smiod	  rather than the parser.
3146*3d8817e4Smiod
3147*3d8817e4SmiodThu Jul 21 10:25:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3148*3d8817e4Smiod
3149*3d8817e4Smiod	* config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
3150*3d8817e4Smiod	Remove; obsolete.
3151*3d8817e4Smiod
3152*3d8817e4SmiodSat Jul 16 22:34:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3153*3d8817e4Smiod
3154*3d8817e4Smiod	* objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
3155*3d8817e4Smiod	even if the bfd is not marked DYNAMIC.  ELF executables are not
3156*3d8817e4Smiod	marked DYNAMIC, but do have dynamic symbols.
3157*3d8817e4Smiod
3158*3d8817e4SmiodFri Jul 15 01:41:35 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3159*3d8817e4Smiod
3160*3d8817e4Smiod	* coffgrok.c (do_where): Make data with no type 'int'.
3161*3d8817e4Smiod	(do_define):  Keep info on source file of a symbol.
3162*3d8817e4Smiod	* coffgrok.h (coff_symbol): New field.
3163*3d8817e4Smiod	* srconv.c (PROGRAM_VERSION): Now 1.3
3164*3d8817e4Smiod	(wr_rl): Use external ref number for symbol.
3165*3d8817e4Smiod	(wr_dus): Only keep one source file per debug unit.
3166*3d8817e4Smiod	(wr_dln): Always emit line numbers for first source file,
3167*3d8817e4Smiod	(wr_globals):  Emit globals in the du of their owning source file.
3168*3d8817e4Smiod
3169*3d8817e4SmiodMon Jul 11 15:59:03 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
3170*3d8817e4Smiod
3171*3d8817e4Smiod	* nlmheader.y: Null terminate var_hdr->threadName.
3172*3d8817e4Smiod
3173*3d8817e4SmiodFri Jul  8 17:33:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3174*3d8817e4Smiod
3175*3d8817e4Smiod	* Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
3176*3d8817e4Smiod	in $(srcdir), as they will be for FSF releases.
3177*3d8817e4Smiod
3178*3d8817e4SmiodWed Jul  6 01:13:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3179*3d8817e4Smiod
3180*3d8817e4Smiod	* nlmconv.c (setup_sections): Preserve existing section flags when
3181*3d8817e4Smiod	copying in flags from a new section.
3182*3d8817e4Smiod
3183*3d8817e4SmiodTue Jul  5 15:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3184*3d8817e4Smiod
3185*3d8817e4Smiod	* objcopy.c: Include libiberty.h.
3186*3d8817e4Smiod	(copy_file): If output_target is NULL, set it to the target of the
3187*3d8817e4Smiod	input file.
3188*3d8817e4Smiod
3189*3d8817e4SmiodWed Jun 29 17:17:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
3190*3d8817e4Smiod
3191*3d8817e4Smiod	* nlmconv.c (link_inputs): Fixed memory allocation bug.
3192*3d8817e4Smiod
3193*3d8817e4SmiodThu Jun 23 12:52:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
3194*3d8817e4Smiod
3195*3d8817e4Smiod	* configure.in: Change --with-targets to --enable-targets.
3196*3d8817e4Smiod
3197*3d8817e4SmiodTue Jun 21 12:53:21 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3198*3d8817e4Smiod
3199*3d8817e4Smiod	* Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
3200*3d8817e4Smiod
3201*3d8817e4Smiod	* nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
3202*3d8817e4Smiod	NetWare custom header; no longer needed.
3203*3d8817e4Smiod	(powerpc_mangle_relocs): Convert relocs against the uninitialized
3204*3d8817e4Smiod	data section into relocs against the data section.
3205*3d8817e4Smiod
3206*3d8817e4Smiod	* configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
3207*3d8817e4Smiod	netware targets.  Write it into Makefile as NLMCONV_DEFS.
3208*3d8817e4Smiod	* Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
3209*3d8817e4Smiod	* nlmconv.c: Only compile code for specific CPU types if
3210*3d8817e4Smiod	NLMCONV_cputype is defined.
3211*3d8817e4Smiod
3212*3d8817e4Smiod	* nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
3213*3d8817e4Smiod	bfd_abs_section_ptr or bfd_is_abs_section, etc.
3214*3d8817e4Smiod	(i386_mangle_relocs, alpha_mangle_relocs): Likewise.
3215*3d8817e4Smiod	(powerpc_build_stubs): Likewise.
3216*3d8817e4Smiod	* nm.c (filter_symbols, print_symbols): Likewise.
3217*3d8817e4Smiod	* objcopy.c (filter_symbols): Likewise.
3218*3d8817e4Smiod	(mark_symbols_used_in_relocations): Likewise.
3219*3d8817e4Smiod	* objdump.c (remove_useless_symbols, dump_relocs): Likewise.
3220*3d8817e4Smiod	* size.c (sysv_internal_printer): Likewise.
3221*3d8817e4Smiod
3222*3d8817e4SmiodMon Jun 20 16:43:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3223*3d8817e4Smiod
3224*3d8817e4Smiod	* Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
3225*3d8817e4Smiod	(install): Install it explicitly, from build dir, not srcdir.
3226*3d8817e4Smiod
3227*3d8817e4SmiodMon Jun 20 16:29:54 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3228*3d8817e4Smiod
3229*3d8817e4Smiod	* objdump.c: Don't include elf/internal.h.
3230*3d8817e4Smiod	(bfd_elf_find_section): Don't declare.
3231*3d8817e4Smiod	(read_section_stabs): No special handling for ELF.  Always read
3232*3d8817e4Smiod	using BFD sections.
3233*3d8817e4Smiod
3234*3d8817e4SmiodThu Jun 16 17:25:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3235*3d8817e4Smiod
3236*3d8817e4Smiod	* configure.in: Set UNDERSCORE in Makefile based on result of
3237*3d8817e4Smiod	invoking config.bfd with a second argument of ``_''.
3238*3d8817e4Smiod	* Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
3239*3d8817e4Smiod	run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
3240*3d8817e4Smiod	file.
3241*3d8817e4Smiod	(demangle.o): Remove target.
3242*3d8817e4Smiod	($(NM_PROG)): Don't depend upon demangle.o, and	don't link against
3243*3d8817e4Smiod	demangle.o.  It's in libiberty anyhow.
3244*3d8817e4Smiod	(cplus-dem.o): Don't depend upon demangle.o.
3245*3d8817e4Smiod	* binutils.texi: Mention -n and --no-strip-underscores arguments
3246*3d8817e4Smiod	to c++filt.
3247*3d8817e4Smiod
3248*3d8817e4SmiodWed Jun 15 12:10:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3249*3d8817e4Smiod
3250*3d8817e4Smiod	* nm.c (long_options): Add --no-demangle to turn off --demangle,
3251*3d8817e4Smiod	and --no-cplus for Linux compatibility.
3252*3d8817e4Smiod	(usage): Mention --no-demangle.
3253*3d8817e4Smiod	* binutils.texi: Document --no-demangle.
3254*3d8817e4Smiod
3255*3d8817e4SmiodFri Jun 10 15:41:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3256*3d8817e4Smiod
3257*3d8817e4Smiod	* nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
3258*3d8817e4Smiod
3259*3d8817e4Smiod	* objcopy.c (copy_archive): Make the temporary directory in the
3260*3d8817e4Smiod	same directory as the output BFD, since we may not have write
3261*3d8817e4Smiod	permission on the current directory.  Set the permissions of the
3262*3d8817e4Smiod	new directory to 0700, not 0777.
3263*3d8817e4Smiod
3264*3d8817e4SmiodMon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
3265*3d8817e4Smiod
3266*3d8817e4Smiod	* configure.in: if this is an rs6000 (and we're not building for
3267*3d8817e4Smiod	any other bfd targets) then build only nm (collect needs it on
3268*3d8817e4Smiod	rs6000-lynx).
3269*3d8817e4Smiod
3270*3d8817e4Smiod	* Makefile.in: define TOOL_PROGS which the list of programes to
3271*3d8817e4Smiod	install in $tooldir -- replaces a hard-coded list.
3272*3d8817e4Smiod
3273*3d8817e4SmiodFri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3274*3d8817e4Smiod
3275*3d8817e4Smiod	* objdump.c (display_target_list): Remove unused local ok.
3276*3d8817e4Smiod
3277*3d8817e4SmiodThu May 26 18:05:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3278*3d8817e4Smiod
3279*3d8817e4Smiod	* config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
3280*3d8817e4Smiod	they're not compatible under native cc.  Use -O1 instead.
3281*3d8817e4Smiod
3282*3d8817e4Smiod	* Makefile.in (VERSION): Updated to cygnus-2.4.1.
3283*3d8817e4Smiod
3284*3d8817e4Smiod	Changes from binutils-2.4 net release:
3285*3d8817e4Smiod
3286*3d8817e4Smiod	* Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
3287*3d8817e4Smiod	($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
3288*3d8817e4Smiod	* cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
3289*3d8817e4Smiod	magic token to be replaced by sed.
3290*3d8817e4Smiod
3291*3d8817e4Smiod	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
3292*3d8817e4Smiod
3293*3d8817e4Smiod	* configure.bat: update for latest makefile.in
3294*3d8817e4Smiod
3295*3d8817e4SmiodFri May 13 23:25:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3296*3d8817e4Smiod
3297*3d8817e4Smiod	* bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
3298*3d8817e4Smiod
3299*3d8817e4SmiodTue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)
3300*3d8817e4Smiod
3301*3d8817e4Smiod	* objcopy.c (copy_section): Set section size correctly if using
3302*3d8817e4Smiod	interleave.
3303*3d8817e4Smiod
3304*3d8817e4SmiodSat May  7 16:49:36 1994  Steve Chamberlain  (sac@cygnus.com)
3305*3d8817e4Smiod
3306*3d8817e4Smiod	* Makefile.in: Add rule for sysinfo.h
3307*3d8817e4Smiod
3308*3d8817e4SmiodFri May  6 12:18:33 1994  Steve Chamberlain  (sac@cygnus.com)
3309*3d8817e4Smiod
3310*3d8817e4Smiod	* Makefile.in (SRCONV_PROG): Define.
3311*3d8817e4Smiod	(PROGS): Use $(SRCONV_PROG) too.
3312*3d8817e4Smiod
3313*3d8817e4SmiodThu May  5 19:41:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3314*3d8817e4Smiod
3315*3d8817e4Smiod	* Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
3316*3d8817e4Smiod	someone configures with `targets=all'.
3317*3d8817e4Smiod	(distclean): Remove y.*.
3318*3d8817e4Smiod	(syslex.o): Depend on sysinfo.h.
3319*3d8817e4Smiod	(sysinfo.c): Rename y.tab.h to sysinfo.h.
3320*3d8817e4Smiod	(install-info): Don't try to install into $(infodir)/$(srcdir).
3321*3d8817e4Smiod	* syslex.l: Include sysinfo.h, not y.tab.h.
3322*3d8817e4Smiod
3323*3d8817e4SmiodThu May  5 11:50:55 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
3324*3d8817e4Smiod
3325*3d8817e4Smiod	* syslex.l (yywrap): Define as function if not defined as a macro.
3326*3d8817e4Smiod
3327*3d8817e4Smiod	* Makefile.in (objdump.o): Deleted special rule.
3328*3d8817e4Smiod	* configure.in: Don't bother building ARCHDEFS variable for
3329*3d8817e4Smiod	Makefile.
3330*3d8817e4Smiod	* objdump.c (ARCH_*): Deleted handling.
3331*3d8817e4Smiod	(disassemble_data): Call `disassembler' from opcodes library.
3332*3d8817e4Smiod
3333*3d8817e4SmiodThu May  5 13:28:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3334*3d8817e4Smiod
3335*3d8817e4Smiod	* Makefile.in (install): Correct handling of $(tooldir) and
3336*3d8817e4Smiod	$(bindir) being on different devices.
3337*3d8817e4Smiod
3338*3d8817e4SmiodFri Apr 29 09:50:38 1994  Steve Chamberlain  (sac@cygnus.com)
3339*3d8817e4Smiod
3340*3d8817e4Smiod	* sysdump.c (h8300, sh): Add declarations.
3341*3d8817e4Smiod
3342*3d8817e4SmiodWed Apr 27 11:25:18 1994  Steve Chamberlain  (sac@cygnus.com)
3343*3d8817e4Smiod
3344*3d8817e4Smiod	* Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
3345*3d8817e4Smiod	* coffdump.c, coffgrok.c, coffgrok.h, srconv.c, sysdump.c,
3346*3d8817e4Smiod	sysroff.info: Major changes.
3347*3d8817e4Smiod
3348*3d8817e4SmiodTue Apr 26 18:18:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
3349*3d8817e4Smiod
3350*3d8817e4Smiod	* objdump.c (print_section_stabs): Indicate the stab header symbol
3351*3d8817e4Smiod	more clearly, print numbers of unrecognized stab n_type values.
3352*3d8817e4Smiod
3353*3d8817e4SmiodTue Apr 26 16:22:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3354*3d8817e4Smiod
3355*3d8817e4Smiod	* nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
3356*3d8817e4Smiod
3357*3d8817e4SmiodMon Apr 25 16:14:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3358*3d8817e4Smiod
3359*3d8817e4Smiod	* Makefile.in (distclean): Remove $(PROGS) and underscore.c.
3360*3d8817e4Smiod
3361*3d8817e4SmiodFri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3362*3d8817e4Smiod
3363*3d8817e4Smiod	* nlmconv.c (setup_sections): Remove special handling of .reginfo
3364*3d8817e4Smiod	section.
3365*3d8817e4Smiod	(copy_sections): Likewise.
3366*3d8817e4Smiod	(alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
3367*3d8817e4Smiod	special ECOFF .reginfo section.
3368*3d8817e4Smiod
3369*3d8817e4Smiod	* objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
3370*3d8817e4Smiod	copying everything else, to let it fiddle with the file in its
3371*3d8817e4Smiod	final state.
3372*3d8817e4Smiod
3373*3d8817e4Smiod	* objdump.c: Include libiberty.h.
3374*3d8817e4Smiod	(display_target_list): If a format fails, just go on to the next
3375*3d8817e4Smiod	one.  Check return value of bfd_set_format.
3376*3d8817e4Smiod	(display_info_table): Likewise.  Don't increment loop variable in
3377*3d8817e4Smiod	for loop test, since that skips the first element.
3378*3d8817e4Smiod	(display_target_tables): Rewrite loop for clarity.  Ensure that it
3379*3d8817e4Smiod	always prints at least one element.
3380*3d8817e4Smiod
3381*3d8817e4Smiod	* nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
3382*3d8817e4Smiod	sections header.  Rename from cygnus_sections to cygnus_ext.
3383*3d8817e4Smiod
3384*3d8817e4SmiodThu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3385*3d8817e4Smiod
3386*3d8817e4Smiod	* objdump.c (_DUMMY_NAME_): Don't define.
3387*3d8817e4Smiod	(display_target_list): Use tmpnam to get a file name rather than
3388*3d8817e4Smiod	using _DUMMY_NAME_.  Unlink it when done.
3389*3d8817e4Smiod	(display_info_table): Likewise.
3390*3d8817e4Smiod
3391*3d8817e4Smiod	* nlmconv.c (secsec): New static variable.
3392*3d8817e4Smiod	(main): Create .nlmsections section in output BFD.  Store
3393*3d8817e4Smiod	information about it in sections header.
3394*3d8817e4Smiod	(setup_sections): Allocate space in sections header.
3395*3d8817e4Smiod	(copy_sections): Copy zero sized sections.  Put information about
3396*3d8817e4Smiod	each section in the sections header.
3397*3d8817e4Smiod
3398*3d8817e4SmiodWed Apr 20 14:34:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3399*3d8817e4Smiod
3400*3d8817e4Smiod	* nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
3401*3d8817e4Smiod	Change caller.  Create custom header for new PowerPC NetWare
3402*3d8817e4Smiod	format.
3403*3d8817e4Smiod
3404*3d8817e4Smiod	* Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
3405*3d8817e4Smiod	* nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
3406*3d8817e4Smiod	* nlmheader.y: Include bfd.h with "", not <>.
3407*3d8817e4Smiod
3408*3d8817e4SmiodWed Apr 13 10:52:50 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3409*3d8817e4Smiod
3410*3d8817e4Smiod	* objdump.c: Do an ifdef on __GO32__, not unix.
3411*3d8817e4Smiod
3412*3d8817e4SmiodWed Apr  6 21:54:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3413*3d8817e4Smiod
3414*3d8817e4Smiod	Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
3415*3d8817e4Smiod	(--dynamic-reloc) arguments to objdump.
3416*3d8817e4Smiod	* nm.c (dynamic): New static variable.
3417*3d8817e4Smiod	(long_options): Added "dynamic".
3418*3d8817e4Smiod	(usage): Mention -D and --dynamic.
3419*3d8817e4Smiod	(main): Add D to getopt string.  Handle -D by setting dynamic.
3420*3d8817e4Smiod	(display_rel_file): If dynamic is non-zero, read dynamic symbols
3421*3d8817e4Smiod	rather than normal symbols.
3422*3d8817e4Smiod	* nm.1: Updated for -D (--dynamic) option.
3423*3d8817e4Smiod	* objdump.c (dump_dynamic_symtab): New global variable.
3424*3d8817e4Smiod	(dump_dynamic_reloc_info): New global variable.
3425*3d8817e4Smiod	(dynsyms, dynsymcount): New global variables.
3426*3d8817e4Smiod	(usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
3427*3d8817e4Smiod	(long_options): Added "dynamic-reloc" and "dynamic-syms".
3428*3d8817e4Smiod	(slurp_symtab): If no symbols, return rather than exit.
3429*3d8817e4Smiod	(slurp_dynamic_symtab): New function.
3430*3d8817e4Smiod	(display_bfd): Handle dump_dynamic_symtab and
3431*3d8817e4Smiod	dump_dynamic_reloc_info.
3432*3d8817e4Smiod	(dump_symbols): Take new dynamic argument, indicating whether to
3433*3d8817e4Smiod	display dynamic symbols.
3434*3d8817e4Smiod	(dump_relocs): Move most printing into dump_reloc_set.
3435*3d8817e4Smiod	(dump_dynamic_relocs): New function.
3436*3d8817e4Smiod	(dump_reloc_set): New function, extracted from dump_relocs.
3437*3d8817e4Smiod	(main): Add R and T to getopt string.  Handle -T by setting
3438*3d8817e4Smiod	dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
3439*3d8817e4Smiod	* objdump.1: Updated for -R (--dynamic-reloc) and -T
3440*3d8817e4Smiod	(--dynamic-syms) options.
3441*3d8817e4Smiod	* binutils.texi: Updated for new nm and objdump options.
3442*3d8817e4Smiod
3443*3d8817e4SmiodWed Mar 30 15:52:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3444*3d8817e4Smiod
3445*3d8817e4Smiod	Update for recent BFD changes to symbol and reloc reading.  Rename
3446*3d8817e4Smiod	all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
3447*3d8817e4Smiod	Also:
3448*3d8817e4Smiod	* coffgrok.c (symcount): Change to long.
3449*3d8817e4Smiod	(do_sections_p1): Check for error return from
3450*3d8817e4Smiod	bfd_get_reloc_upper_bound.  Change relcount to long, and check for
3451*3d8817e4Smiod	error from bfd_canonicalize_reloc.
3452*3d8817e4Smiod	(coff_grok): Change storage to long.  Check for error from
3453*3d8817e4Smiod	bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
3454*3d8817e4Smiod	* nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
3455*3d8817e4Smiod	i to long.  Check for error from bfd_get_symtab_upper_bound and
3456*3d8817e4Smiod	bfd_canonicalize_symtab.
3457*3d8817e4Smiod	(copy_sections): Change reloc_size and reloc_count to long.  Check
3458*3d8817e4Smiod	for error from bfd_get_reloc_upper_bound and
3459*3d8817e4Smiod	bfd_canonicalize_reloc.
3460*3d8817e4Smiod	(mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
3461*3d8817e4Smiod	reloc_count_ptr argument to long *.  Make corresponding changes to
3462*3d8817e4Smiod	variables loaded from *reloc_count_ptr.
3463*3d8817e4Smiod	* nm.c (display_rel_file): Change storage and symcount to long.
3464*3d8817e4Smiod	Check for errors from bfd_get_symtab_upper_bound and
3465*3d8817e4Smiod	bfd_canonicalize_symtab.
3466*3d8817e4Smiod	* objcopy.c (filter_symbols): Change symcount, src_count and
3467*3d8817e4Smiod	dst_count to long.
3468*3d8817e4Smiod	(copy_object): Change symcount to long.  Pass another argument to
3469*3d8817e4Smiod	fprintf.  Check for errors from bfd_get_symtab_upper_bound and
3470*3d8817e4Smiod	bfd_canonicalize_symtab.
3471*3d8817e4Smiod	(copy_section): Change relcount to long.  Check for errors from
3472*3d8817e4Smiod	bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
3473*3d8817e4Smiod	(mark_symbols_used_in_relocations): Change relcount and i to long.
3474*3d8817e4Smiod	Check for errors form bfd_get_reloc_upper_bound and
3475*3d8817e4Smiod	bfd_canonicalize_reloc.
3476*3d8817e4Smiod	* objdump.c (storage): Remove global variable.
3477*3d8817e4Smiod	(symcount): Changed to long.
3478*3d8817e4Smiod	(slurp_symtab): New local variable storage.  Check for errors from
3479*3d8817e4Smiod	bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
3480*3d8817e4Smiod	(remove_useless_symbols): Change return value and count to long.
3481*3d8817e4Smiod	(objdump_print_address): Change min, max, thisplace and i to long.
3482*3d8817e4Smiod	(disassemble_data): Change i to long.
3483*3d8817e4Smiod	(dump_symbols): Change count to long.
3484*3d8817e4Smiod	(dump_relocs): Change relcount to long.  Check for errors from
3485*3d8817e4Smiod	bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
3486*3d8817e4Smiod	(display_info_table): Add casts when passing LONGEST_ARCH for
3487*3d8817e4Smiod	printf %* argument.
3488*3d8817e4Smiod
3489*3d8817e4SmiodTue Mar 29 14:59:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3490*3d8817e4Smiod
3491*3d8817e4Smiod	* nm.c (display_archive): Close each archive element after it has
3492*3d8817e4Smiod	been displayed.
3493*3d8817e4Smiod	* objdump.c (display_file): Likewise.
3494*3d8817e4Smiod
3495*3d8817e4SmiodMon Mar 28 13:04:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3496*3d8817e4Smiod
3497*3d8817e4Smiod	* configure.in: Change error message to refer to bfd/config.bfd
3498*3d8817e4Smiod	rather than bfd/configure.in.
3499*3d8817e4Smiod
3500*3d8817e4SmiodSun Mar 27 16:23:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3501*3d8817e4Smiod
3502*3d8817e4Smiod	* More fixes for object formats which allow multiple sections
3503*3d8817e4Smiod	with the same name:
3504*3d8817e4Smiod	* objcopy.c (setup_section): Make a new output section even if
3505*3d8817e4Smiod	one already exists with the given name.
3506*3d8817e4Smiod	(copy_section): Use isection->output_section rather than trying
3507*3d8817e4Smiod	to look the output section up by its (possibly non-unique) name.
3508*3d8817e4Smiod
3509*3d8817e4Smiod	* Makefile.in (install-info): Look for binutils.info in the
3510*3d8817e4Smiod	current directory, then in $(srcdir).  Don't use $<.
3511*3d8817e4Smiod
3512*3d8817e4SmiodMon Mar 21 12:55:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3513*3d8817e4Smiod
3514*3d8817e4Smiod	* objdump.c (objdump_print_address): Make static.  Declare with
3515*3d8817e4Smiod	prototype.  Change vardiff from int to bfd_signed_vma.  Correct
3516*3d8817e4Smiod	binary search termination condition.  When looking for same
3517*3d8817e4Smiod	section symbol in relocatable file, handle final symbol correctly.
3518*3d8817e4Smiod
3519*3d8817e4SmiodSun Mar 20 11:26:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3520*3d8817e4Smiod
3521*3d8817e4Smiod	* Makefile.in: Avoid bug in hpux sed.
3522*3d8817e4Smiod
3523*3d8817e4Smiod	* objcopy.c: Changes to keep it from stripping symbols used
3524*3d8817e4Smiod	in output relocations.
3525*3d8817e4Smiod	(mark_symbols_used_in_relocations): New function.  Mark symbols
3526*3d8817e4Smiod	used in output relocations with BSF_KEEP.
3527*3d8817e4Smiod	(filter_symbols): Do not strip symbols marked with BSF_KEEP.
3528*3d8817e4Smiod	(copy_object): Reorder actions.  First setup sections, then
3529*3d8817e4Smiod	build the output symbol table, then copy the section contents.
3530*3d8817e4Smiod
3531*3d8817e4SmiodFri Mar 18 10:53:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3532*3d8817e4Smiod
3533*3d8817e4Smiod	* ar.c (write_archive): Allocate space for the null byte.  From
3534*3d8817e4Smiod	Robert Lipe <robertl@arnet.com>.
3535*3d8817e4Smiod
3536*3d8817e4SmiodThu Mar 17 16:20:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3537*3d8817e4Smiod
3538*3d8817e4Smiod	* Makefile.in: Built nm.new and strip.new to avoid problems with
3539*3d8817e4Smiod	collect when . is in PATH.
3540*3d8817e4Smiod	(STRIP_PROG): Change from strip to strip.new.
3541*3d8817e4Smiod	(NM_PROG): Change from nm to nm.new.
3542*3d8817e4Smiod	(install): Remove the .new when installing.
3543*3d8817e4Smiod
3544*3d8817e4SmiodWed Mar 16 16:27:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3545*3d8817e4Smiod
3546*3d8817e4Smiod	* nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
3547*3d8817e4Smiod	symbol for which we build a stub.
3548*3d8817e4Smiod	(powerpc_mangle_relocs): Only reset TOC pointer for a call to a
3549*3d8817e4Smiod	symbol with BSF_DYNAMIC flag set.
3550*3d8817e4Smiod
3551*3d8817e4SmiodTue Mar 15 23:04:13 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3552*3d8817e4Smiod
3553*3d8817e4Smiod	* objcopy.c (filter_symbols): Use bfd_is_local_label to determine
3554*3d8817e4Smiod	if a symbol represents a compiler-generated local label.
3555*3d8817e4Smiod	(copy_object): Give the BFD backends a chance to copy any private
3556*3d8817e4Smiod	bfd data from the input BFD to the output BFD.
3557*3d8817e4Smiod	(setup_section): Give the BFD backends a chance to copy any private
3558*3d8817e4Smiod	section data from the input section to the output section.
3559*3d8817e4Smiod
3560*3d8817e4SmiodMon Mar 14 11:15:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3561*3d8817e4Smiod
3562*3d8817e4Smiod	* objcopy.c (mangle_section): Delete unused function.
3563*3d8817e4Smiod	(setup_section): Set osection here instead of calling
3564*3d8817e4Smiod	mangle section to do it.
3565*3d8817e4Smiod
3566*3d8817e4SmiodMon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3567*3d8817e4Smiod
3568*3d8817e4Smiod	* ar.c (write_archive): Close inarch before unlinking it.
3569*3d8817e4Smiod
3570*3d8817e4SmiodFri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3571*3d8817e4Smiod
3572*3d8817e4Smiod	* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
3573*3d8817e4Smiod	powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
3574*3d8817e4Smiod	the start and end symbols are not in the text section.
3575*3d8817e4Smiod	(struct powerpc_stub): New struct definition.
3576*3d8817e4Smiod	(powerpc_stubs, powerpc_stub_insns): New static variables.
3577*3d8817e4Smiod	(powerpc_initial_got_size): New static variable.
3578*3d8817e4Smiod	(powerpc_build_stubs): New function.
3579*3d8817e4Smiod	(powerpc_resolve_stubs): New function.
3580*3d8817e4Smiod	(powerpc_mangle_relocs): Clear extraneous data in .got section.
3581*3d8817e4Smiod	Rearrange reloc handling to handle ELF relocs that are not
3582*3d8817e4Smiod	partial_inplace.  Resolve PC relative relocs.
3583*3d8817e4Smiod
3584*3d8817e4SmiodWed Mar  9 13:48:11 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3585*3d8817e4Smiod
3586*3d8817e4Smiod	* ar.c (move_members): Fix it so that the abi positional modifiers
3587*3d8817e4Smiod	don't delete all archive members following the insert point.
3588*3d8817e4Smiod
3589*3d8817e4SmiodTue Mar  8 13:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3590*3d8817e4Smiod
3591*3d8817e4Smiod	* coffgrok.[ch]: New files, understand coff objects.
3592*3d8817e4Smiod	* coffdump.c: Uses coffgrok to dump out the debug info of a coff
3593*3d8817e4Smiod	file.
3594*3d8817e4Smiod	* sysroff.info: Description of a SYSROFF object file.
3595*3d8817e4Smiod	* sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
3596*3d8817e4Smiod	header files and a printer.
3597*3d8817e4Smiod	* srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
3598*3d8817e4Smiod	file to a SYSROFF file.
3599*3d8817e4Smiod
3600*3d8817e4SmiodSat Feb 26 13:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
3601*3d8817e4Smiod
3602*3d8817e4Smiod	* ar.c (do_quick_append): Pad with a genuine character 10,
3603*3d8817e4Smiod	rather than whatever '\n' might happen to be.
3604*3d8817e4Smiod
3605*3d8817e4SmiodTue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
3606*3d8817e4Smiod
3607*3d8817e4Smiod	* nlmconv.c (main): Ignore debugging symbols when looking for
3608*3d8817e4Smiod	special symbols by name.
3609*3d8817e4Smiod
3610*3d8817e4SmiodSun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
3611*3d8817e4Smiod
3612*3d8817e4Smiod	* nlmconv.c: Include libiberty.h.
3613*3d8817e4Smiod
3614*3d8817e4Smiod	Support for PowerPC NetWare.
3615*3d8817e4Smiod	* nlmconv.c (main): For PowerPC NetWare, automatically define the
3616*3d8817e4Smiod	special symbols __toc_start.
3617*3d8817e4Smiod	(select_output_format): Handle bfd_arch_powerpc.
3618*3d8817e4Smiod	(mangle_relocs): Likewise.
3619*3d8817e4Smiod	(powerpc_mangle_relocs): New function.
3620*3d8817e4Smiod
3621*3d8817e4SmiodThu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3622*3d8817e4Smiod
3623*3d8817e4Smiod	* ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
3624*3d8817e4Smiod	size.c: Use bfd_get_error and bfd_set_error and new error names.
3625*3d8817e4Smiod
3626*3d8817e4SmiodFri Feb 11 15:54:51 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3627*3d8817e4Smiod
3628*3d8817e4Smiod	* objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
3629*3d8817e4Smiod
3630*3d8817e4SmiodMon Feb  7 19:45:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3631*3d8817e4Smiod
3632*3d8817e4Smiod	* objdump.c (disassemble_data): Handle bfd_arch_powerpc.
3633*3d8817e4Smiod
3634*3d8817e4SmiodSun Feb  6 22:08:20 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3635*3d8817e4Smiod
3636*3d8817e4Smiod	* strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
3637*3d8817e4Smiod	Call xmalloc_set_program_name.
3638*3d8817e4Smiod
3639*3d8817e4SmiodFri Feb  4 10:46:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3640*3d8817e4Smiod
3641*3d8817e4Smiod	* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
3642*3d8817e4Smiod	can do arithmetic on it.
3643*3d8817e4Smiod
3644*3d8817e4SmiodThu Feb  3 14:06:41 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3645*3d8817e4Smiod
3646*3d8817e4Smiod	* objdump.c (dump_section_stabs, read_section_stabs,
3647*3d8817e4Smiod	print_section_stabs): Functions broken out of dump_stabs_1.
3648*3d8817e4Smiod	Free the stabs and strings when done with them.
3649*3d8817e4Smiod
3650*3d8817e4SmiodWed Feb  2 13:42:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3651*3d8817e4Smiod
3652*3d8817e4Smiod	* nlmconv.c (main): Use bfd_get_flavour instead of struct member.
3653*3d8817e4Smiod	* ar.c (print_contents, extract_file), size.c
3654*3d8817e4Smiod	(print_berkeley_format, print_sysv_format): Use bfd_get_filename and
3655*3d8817e4Smiod	bfd_my_archive instead of dereferencing the structs directly.
3656*3d8817e4Smiod
3657*3d8817e4Smiod	* ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
3658*3d8817e4Smiod	Indent.  Remove DEFUNs.
3659*3d8817e4Smiod
3660*3d8817e4Smiod	* nlmconv.c (main), objcopy.c (copy_file): Print matching formats
3661*3d8817e4Smiod	if ambiguous match.
3662*3d8817e4Smiod	* nm.c (display_file, display_archive), size.c (display_bfd):
3663*3d8817e4Smiod	Eliminate gotos.
3664*3d8817e4Smiod	Print matching formats if there is an ambiguous match.  Use
3665*3d8817e4Smiod	bfd_nonfatal instead of hardcoded error message if nothing matches.
3666*3d8817e4Smiod
3667*3d8817e4Smiod	* arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
3668*3d8817e4Smiod	abfd->filename.
3669*3d8817e4Smiod
3670*3d8817e4Smiod	* nm.c (display_archive): New function, from code in display_file.
3671*3d8817e4Smiod	(display_rel_file): Renamed from do_one_rel_file.
3672*3d8817e4Smiod
3673*3d8817e4Smiod	* size.c: Indent.
3674*3d8817e4Smiod	(display_archive): New function from code in display_file.
3675*3d8817e4Smiod	(display_file): Check bfd_close error return.
3676*3d8817e4Smiod
3677*3d8817e4Smiod	* strings.c (strings_object_file): Check bfd_check_format
3678*3d8817e4Smiod	error return.
3679*3d8817e4Smiod
3680*3d8817e4Smiod	* strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
3681*3d8817e4Smiod
3682*3d8817e4Smiod	* bucomm.c: Delete references to exit_handler.  It wasn't set
3683*3d8817e4Smiod	anywhere, and now that we're using the libiberty xmalloc, it
3684*3d8817e4Smiod	wouldn't always get called before exiting.
3685*3d8817e4Smiod	(list_matching_formats): Function moved from objdump.c.
3686*3d8817e4Smiod	* bucomm.h: Declare it.
3687*3d8817e4Smiod
3688*3d8817e4Smiod	* objdump.c (disassemble_data): Move some variable decls closer to
3689*3d8817e4Smiod	their use.  Add some comments.  Replace a nested block with a
3690*3d8817e4Smiod	return.
3691*3d8817e4Smiod
3692*3d8817e4SmiodMon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
3693*3d8817e4Smiod
3694*3d8817e4Smiod	* objdump.c (display_target_list, display_info_table): Check that
3695*3d8817e4Smiod	the bfd of the dummy output file is not null.
3696*3d8817e4Smiod
3697*3d8817e4SmiodWed Jan 26 13:13:18 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3698*3d8817e4Smiod
3699*3d8817e4Smiod	* objcopy.c (filter_bytes): New function.
3700*3d8817e4Smiod	(copy_section): Call it.
3701*3d8817e4Smiod	(copy_options, copy_usage, copy_main): Add --byte option to
3702*3d8817e4Smiod	activate it.  Appropriate the -b option (which was an undocumented
3703*3d8817e4Smiod	synonym for -F) for it, also.  Add --interleave, -i option for
3704*3d8817e4Smiod	additional control.
3705*3d8817e4Smiod	(setup_section, copy_section, mangle_section): Renamed with no `s'
3706*3d8817e4Smiod	on the end.
3707*3d8817e4Smiod	* objcopy.1, binutils.texi: Document the new options.
3708*3d8817e4Smiod
3709*3d8817e4Smiod	* objdump.c (display_target_tables, display_target_list):
3710*3d8817e4Smiod	New functions broken out of display_info.
3711*3d8817e4Smiod	Eliminate some magic constants.  Use more meaningful variable names.
3712*3d8817e4Smiod	(dump_bfd_header): New function broken out of display_bfd.
3713*3d8817e4Smiod	(dump_section_header): New function broken out of dump_headers.
3714*3d8817e4Smiod	(remove_useless_symbols): Don't shadow global variable name with
3715*3d8817e4Smiod	parameter.
3716*3d8817e4Smiod	(objdump_print_address): Fix backward test.
3717*3d8817e4Smiod
3718*3d8817e4SmiodTue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
3719*3d8817e4Smiod
3720*3d8817e4Smiod	* bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
3721*3d8817e4Smiod	* objdump.h: Removed.
3722*3d8817e4Smiod
3723*3d8817e4SmiodMon Jan 24 13:29:02 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3724*3d8817e4Smiod
3725*3d8817e4Smiod	* objdump.c (display_file): Remove call to list_matching_formats.
3726*3d8817e4Smiod	It would never be called.
3727*3d8817e4Smiod	(list_matching_formats): Take an arg giving the list of matching
3728*3d8817e4Smiod	formats.
3729*3d8817e4Smiod	(display_bfd): Pass the arg, and get it filled in by calling
3730*3d8817e4Smiod	bfd_check_format_matches instead of bfd_check_format.
3731*3d8817e4Smiod	(display_info, display_info_table): target_vector was renamed to
3732*3d8817e4Smiod	bfd_target_vector.
3733*3d8817e4Smiod
3734*3d8817e4Smiod	* binutils.texi (objdump): Note some limitations of -h section
3735*3d8817e4Smiod	address printing.
3736*3d8817e4Smiod
3737*3d8817e4SmiodSat Jan 22 16:20:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
3738*3d8817e4Smiod
3739*3d8817e4Smiod	* Makefile.in (MALLOC): Set to emptiness by default.
3740*3d8817e4Smiod	(ALL_CFLAGS): Add and use.
3741*3d8817e4Smiod	(arparse.h): Make it depend on arparse.y.
3742*3d8817e4Smiod	* ar.c (libbfd.h): Don't require to be in ../bfd.
3743*3d8817e4Smiod	* objdump.c (comp): Rename to compare_symbols.
3744*3d8817e4Smiod
3745*3d8817e4SmiodFri Jan 21 20:22:30 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3746*3d8817e4Smiod
3747*3d8817e4Smiod	* objdump.c (list_matching_formats): If the file format is ambiguous,
3748*3d8817e4Smiod	print the matching names so the user can choose one.
3749*3d8817e4Smiod	(display_bfd): Call it.
3750*3d8817e4Smiod	(display_file): Call it.
3751*3d8817e4Smiod
3752*3d8817e4SmiodFri Jan 21 19:17:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3753*3d8817e4Smiod
3754*3d8817e4Smiod	* objdump.c (disassemble_data): Support bfd_arch_rs6000.
3755*3d8817e4Smiod
3756*3d8817e4SmiodMon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
3757*3d8817e4Smiod
3758*3d8817e4Smiod	* objdump.c (stab_name): Allocate dynamically.
3759*3d8817e4Smiod	(stab_print): Use pointers to strings instead of char arrays.
3760*3d8817e4Smiod	(dump_stabs): Change alloc and init of arrays appropriately.
3761*3d8817e4Smiod	(dump_stabs_1): Always decide whether to print stab_name or
3762*3d8817e4Smiod	the stab's type number, if unnamed.
3763*3d8817e4Smiod
3764*3d8817e4SmiodFri Jan 14 14:42:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3765*3d8817e4Smiod
3766*3d8817e4Smiod	* objcopy.c (strip_main, copy_main): Don't clobber the input file
3767*3d8817e4Smiod	if copy_file fails.
3768*3d8817e4Smiod
3769*3d8817e4Smiod	* nlmconv.c (main): Warn about an attempt to use a shared library
3770*3d8817e4Smiod	with uninitialized data.
3771*3d8817e4Smiod
3772*3d8817e4Smiod	* nlmconv.c (setup_sections): Make sure that we align the
3773*3d8817e4Smiod	output_offset of each input section appropriately.
3774*3d8817e4Smiod
3775*3d8817e4SmiodThu Jan 13 17:32:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3776*3d8817e4Smiod
3777*3d8817e4Smiod	* objdump.c (dump_relocs): Don't crash if section name is NULL.
3778*3d8817e4Smiod
3779*3d8817e4SmiodTue Jan 11 19:46:33 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3780*3d8817e4Smiod
3781*3d8817e4Smiod	* filemode.c (filemodestring): Commented out; not used.
3782*3d8817e4Smiod	(mode_string): Use POSIX definitions.
3783*3d8817e4Smiod	(ftypelet): Likewise.
3784*3d8817e4Smiod	(rwx): Removed; no longer used.
3785*3d8817e4Smiod	* bucomm.c: Include bucomm.h.
3786*3d8817e4Smiod	(bfd_nonfatal, bfd_fatal): Argument is const.
3787*3d8817e4Smiod	(fatal): Make __STDC__ version.
3788*3d8817e4Smiod	* bucomm.h (mode_string): Declare.
3789*3d8817e4Smiod	* Makefile.in (bucomm.o): Depend upon bucomm.h
3790*3d8817e4Smiod
3791*3d8817e4SmiodSun Jan  9 12:03:20 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
3792*3d8817e4Smiod
3793*3d8817e4Smiod	* bucomm.c (xmalloc, xrealloc): Deleted.
3794*3d8817e4Smiod	* bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
3795*3d8817e4Smiod	libiberty version of functions.
3796*3d8817e4Smiod
3797*3d8817e4SmiodThu Jan  6 06:18:15 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3798*3d8817e4Smiod
3799*3d8817e4Smiod	* binutils.texi: Add a chapter summarizing the ways to select
3800*3d8817e4Smiod	aspects of the target for each program.
3801*3d8817e4Smiod
3802*3d8817e4Smiod	* objdump.c (long_options, usage): Add long equivalents for all
3803*3d8817e4Smiod	remaining short options that lacked them.
3804*3d8817e4Smiod	* binutils.texi objdump.1: Document them.
3805*3d8817e4Smiod
3806*3d8817e4Smiod	* size.c (usage): Tweak usage message.
3807*3d8817e4Smiod	* size.1: Add missing `=' in examples.
3808*3d8817e4Smiod
3809*3d8817e4Smiod	* binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
3810*3d8817e4Smiod	Use "--target=bfdname" as the option to select the BFD target,
3811*3d8817e4Smiod	like nm and size already do.
3812*3d8817e4Smiod	Reserve "--format=format" for textual output selection options, but
3813*3d8817e4Smiod	for now keep old option names as obsolete for backward compatibility.
3814*3d8817e4Smiod
3815*3d8817e4Smiod	* strings.c (main, strings_object_file, usage): Add --target option.
3816*3d8817e4Smiod	* binutils.texi strings.1: Document it.
3817*3d8817e4Smiod
3818*3d8817e4SmiodSat Jan  1 13:58:24 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3819*3d8817e4Smiod
3820*3d8817e4Smiod	* ar.c (main): Add \n in error message.
3821*3d8817e4Smiod
3822*3d8817e4SmiodThu Dec 23 12:23:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3823*3d8817e4Smiod
3824*3d8817e4Smiod	gcc -Wall lint:
3825*3d8817e4Smiod	* ar.c (main): Put parens around assignment used as truth value.
3826*3d8817e4Smiod	* objcopy.c (strip_main): Remove unused variables.  Return 0.
3827*3d8817e4Smiod	(copy_main): Remove unused variables.  Return 0.
3828*3d8817e4Smiod	* objdump.c (display_bfd): Declare return value as void.
3829*3d8817e4Smiod	(stab_print): Use "" instead of 0 to initialize array.
3830*3d8817e4Smiod	(dump_stabs_1): Print vma using printf_vma.
3831*3d8817e4Smiod	(display_info): Put parens around assignment used as truth value.
3832*3d8817e4Smiod	* strings.c (print_strings): Cast printf arguments.
3833*3d8817e4Smiod
3834*3d8817e4Smiod	* objcopy.c (copy_main): Use copy_options, not strip_options.
3835*3d8817e4Smiod
3836*3d8817e4Smiod	* nlmheader.y (command): Warn about illegal date values.
3837*3d8817e4Smiod
3838*3d8817e4SmiodWed Dec 15 11:18:03 1993  David J. MacKenzie  (djm@frosty.eng.umd.edu)
3839*3d8817e4Smiod
3840*3d8817e4Smiod	* bucomm.c bucomm.h: Run through indent.  De-ansidecl-ify.
3841*3d8817e4Smiod	(bfd_nonfatal): New function.
3842*3d8817e4Smiod	(bfd_fatal): Call it.
3843*3d8817e4Smiod
3844*3d8817e4Smiod	* objcopy.c (smart_rename): Do a copy if the dest file has
3845*3d8817e4Smiod	multiple hard links.  Remove source file on successful copy.
3846*3d8817e4Smiod	Try to preserve mode and owner on successful rename.
3847*3d8817e4Smiod
3848*3d8817e4Smiod	* objcopy.c: Run through indent.  Clean up a bit.
3849*3d8817e4Smiod	Make global variables static.
3850*3d8817e4Smiod	Make {input,output}_{target,filename}, show_version local
3851*3d8817e4Smiod	to various functions.
3852*3d8817e4Smiod	New global variable `status' for exit status.
3853*3d8817e4Smiod	(strip_main, copy_main): New functions with code from main.
3854*3d8817e4Smiod	(nonfatal): New macro.  Use it globally instead of bfd_perror and
3855*3d8817e4Smiod	bfd_fatal.
3856*3d8817e4Smiod
3857*3d8817e4Smiod	(copy_object): Call mangle_sections with bfd_map_over_sections.
3858*3d8817e4Smiod	(mangle_sections): Adjust for new calling convention.
3859*3d8817e4Smiod
3860*3d8817e4SmiodFri Dec 10 11:28:11 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
3861*3d8817e4Smiod
3862*3d8817e4Smiod	* nlmheader.y (command): Accept MAP and FULLMAP without arguments.
3863*3d8817e4Smiod	* nlmconv.c (main): Change error message for MAP and FULLMAP.
3864*3d8817e4Smiod
3865*3d8817e4SmiodThu Dec  9 17:47:19 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
3866*3d8817e4Smiod
3867*3d8817e4Smiod	* nlmconv.c (main): Warn about imported symbols that are not in
3868*3d8817e4Smiod	the IMPORT list even if the IMPORT keyword is not used.
3869*3d8817e4Smiod
3870*3d8817e4Smiod	* nlmconv.c (debug, unlink_on_exit): New static variables.
3871*3d8817e4Smiod	(long_options): Add "debug" and "linker".
3872*3d8817e4Smiod	(main): Handle -d and -l arguments.  Make command line input and
3873*3d8817e4Smiod	output files optional.  Parse the command file before opening the
3874*3d8817e4Smiod	BFD's, which requires storing more information in local variables.
3875*3d8817e4Smiod	If INPUT names multiple files, link them together.  Use OUTPUT for
3876*3d8817e4Smiod	the output file name if not named on command line.
3877*3d8817e4Smiod	(show_usage): Changed for new options.
3878*3d8817e4Smiod	(link_inputs): New function to automatically invoke linker to
3879*3d8817e4Smiod	handle multiple INPUT files.
3880*3d8817e4Smiod	(choose_temp_base_try, choose_temp_base, pexecute): New functions,
3881*3d8817e4Smiod	mostly copied from gcc/gcc.c.
3882*3d8817e4Smiod	* nlmconv.h (input_files, output_file): Declare.
3883*3d8817e4Smiod	* nlmheader.y (input_files, output_file): Define.
3884*3d8817e4Smiod	(command): Support INPUT with a string_list argument.  Support
3885*3d8817e4Smiod	OUTPUT.
3886*3d8817e4Smiod	(string_list): Renamed from module_list.
3887*3d8817e4Smiod	* Makefile.in (nlmconv.o): Define LD_NAME based on
3888*3d8817e4Smiod	program_transform_name.
3889*3d8817e4Smiod
3890*3d8817e4SmiodWed Dec  8 10:09:04 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
3891*3d8817e4Smiod
3892*3d8817e4Smiod	* nlmheader.y (nlmheader_identify): New function.  Use it to print
3893*3d8817e4Smiod	the program name just once, instead of with every error message.
3894*3d8817e4Smiod
3895*3d8817e4SmiodMon Dec  6 16:11:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3896*3d8817e4Smiod
3897*3d8817e4Smiod	* nlmconv.c (long_options): Changed --header-info to --header-file
3898*3d8817e4Smiod	to match documentation and usage message.
3899*3d8817e4Smiod
3900*3d8817e4SmiodSun Dec  5 01:31:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
3901*3d8817e4Smiod
3902*3d8817e4Smiod	* objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
3903*3d8817e4Smiod	in a relocation.
3904*3d8817e4Smiod
3905*3d8817e4SmiodThu Dec  2 16:00:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3906*3d8817e4Smiod
3907*3d8817e4Smiod	* nlmconv.c (main): Change various types from bfd_size_type to
3908*3d8817e4Smiod	size_t, since they have to be arguments to fread and fwrite.
3909*3d8817e4Smiod	Change set from char * to unsigned char *.
3910*3d8817e4Smiod	(select_output_format): Make mach argument unsigned.  Handle
3911*3d8817e4Smiod	bfd_arch_alpha.
3912*3d8817e4Smiod	(setup_sections): Don't copy the .reginfo section of an ECOFF
3913*3d8817e4Smiod	file.  Call bfd_set_reloc to initialize the relocation fields.
3914*3d8817e4Smiod	(copy_sections): Don't copy the .reginfo section of an ECOFF file.
3915*3d8817e4Smiod	Combine all relocs for a section.
3916*3d8817e4Smiod	(mangle_relocs): Change type of relocs to permit specific
3917*3d8817e4Smiod	functions to change it.  Call alpha_mangle_relocs for alpha,
3918*3d8817e4Smiod	default_mangle_relocs for other architectures.
3919*3d8817e4Smiod	(default_mangle_relocs): New function.  Adjust the address of all
3920*3d8817e4Smiod	relocs by the output_offset.
3921*3d8817e4Smiod	(i386_mangle_relocs): Change type of relocs argument.  Cast length
3922*3d8817e4Smiod	argument to memmove to size_t.
3923*3d8817e4Smiod	(alpha_mangle_relocs): New function.
3924*3d8817e4Smiod
3925*3d8817e4SmiodWed Nov 17 17:38:58 1993  Sean Eric Fagan  (sef@cygnus.com)
3926*3d8817e4Smiod
3927*3d8817e4Smiod	* nlmconv.c (select_output_format): Use nlm32-sparc for
3928*3d8817e4Smiod	bfd_arch_sparc.
3929*3d8817e4Smiod
3930*3d8817e4SmiodWed Nov 17 14:41:35 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
3931*3d8817e4Smiod
3932*3d8817e4Smiod        * nlmconv.1:   added man page
3933*3d8817e4Smiod	* objcopy.1:   fixed format errors
3934*3d8817e4Smiod
3935*3d8817e4SmiodWed Nov 17 12:03:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3936*3d8817e4Smiod
3937*3d8817e4Smiod	* Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
3938*3d8817e4Smiod
3939*3d8817e4SmiodWed Nov 17 04:50:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
3940*3d8817e4Smiod
3941*3d8817e4Smiod	* strings.1: Fix typo.
3942*3d8817e4Smiod
3943*3d8817e4SmiodMon Nov 15 12:03:20 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
3944*3d8817e4Smiod
3945*3d8817e4Smiod	* Makefile.in (DISTSTUFF): Build "info".
3946*3d8817e4Smiod	(VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
3947*3d8817e4Smiod
3948*3d8817e4SmiodSun Nov 14 00:27:24 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
3949*3d8817e4Smiod
3950*3d8817e4Smiod	* objdump.c (dump_stabs): Handle stabs-in-som as implemented
3951*3d8817e4Smiod	by the new BFD SOM assembler.
3952*3d8817e4Smiod
3953*3d8817e4SmiodSat Nov 13 07:14:05 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
3954*3d8817e4Smiod
3955*3d8817e4Smiod	* ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
3956*3d8817e4Smiod	strings.1 strip.1: Replace \(em in NAME section with \- so
3957*3d8817e4Smiod	makewhatis can grok it.
3958*3d8817e4Smiod
3959*3d8817e4SmiodTue Nov  9 15:22:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3960*3d8817e4Smiod
3961*3d8817e4Smiod	* nlmconv.c (i386_mangle_relocs): Adjust reloc address by
3962*3d8817e4Smiod	section output_offset.
3963*3d8817e4Smiod
3964*3d8817e4SmiodFri Nov  5 12:11:52 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
3965*3d8817e4Smiod
3966*3d8817e4Smiod	* binutils.texi:  added nlmconv chapter
3967*3d8817e4Smiod
3968*3d8817e4SmiodWed Nov  3 16:10:50 1993  Jeffrey Wheat  (cassidy@cygnus.com)
3969*3d8817e4Smiod
3970*3d8817e4Smiod	* Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
3971*3d8817e4Smiod
3972*3d8817e4SmiodWed Nov  3 15:09:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
3973*3d8817e4Smiod
3974*3d8817e4Smiod	* Makefile.in (distclean): Don't get rid of dvi or info files.
3975*3d8817e4Smiod
3976*3d8817e4SmiodTue Nov  2 13:29:59 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
3977*3d8817e4Smiod
3978*3d8817e4Smiod	* objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
3979*3d8817e4Smiod
3980*3d8817e4SmiodFri Oct 29 16:02:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
3981*3d8817e4Smiod
3982*3d8817e4Smiod	* binutils.texi: Move objcopy docs into alphabetical order.
3983*3d8817e4Smiod
3984*3d8817e4Smiod	* objdump.c: Use xmalloc instead of malloc.
3985*3d8817e4Smiod
3986*3d8817e4SmiodFri Oct 29 11:11:14 1993  Stan Shebs  (shebs@rtl.cygnus.com)
3987*3d8817e4Smiod
3988*3d8817e4Smiod	* objdump.c (info): Rename to formats_info.
3989*3d8817e4Smiod	(dump_stabs_1): Better comments and formatting.
3990*3d8817e4Smiod
3991*3d8817e4SmiodThu Oct 28 19:43:16 1993  Stan Shebs  (shebs@rtl.cygnus.com)
3992*3d8817e4Smiod
3993*3d8817e4Smiod	* ar.c (main): Always create the archive when quick appending,
3994*3d8817e4Smiod	even if no input files have been given.
3995*3d8817e4Smiod
3996*3d8817e4SmiodWed Oct 27 12:03:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3997*3d8817e4Smiod
3998*3d8817e4Smiod	* nlmconv.c (main): Set sharedDebugRecordOffset and
3999*3d8817e4Smiod	sharedDebugRecordCount fields in extended header.
4000*3d8817e4Smiod
4001*3d8817e4Smiod	* nlmconv.c (main): Force moduleName field to upper case.
4002*3d8817e4Smiod
4003*3d8817e4SmiodMon Oct 25 16:45:42 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4004*3d8817e4Smiod
4005*3d8817e4Smiod	* objcopy.c (main): Give a usage message if there are too many
4006*3d8817e4Smiod	arguments.
4007*3d8817e4Smiod
4008*3d8817e4SmiodMon Oct 25 10:37:08 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
4009*3d8817e4Smiod
4010*3d8817e4Smiod	* Makefile.in (install-info): Rewrite to take advantage of VPATH,
4011*3d8817e4Smiod	so FSF distributions (with info files in $(srcdir)) install
4012*3d8817e4Smiod	properly.
4013*3d8817e4Smiod	(DISTSTUFF): Build nlmheader.c too.
4014*3d8817e4Smiod
4015*3d8817e4SmiodFri Oct 22 11:43:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
4016*3d8817e4Smiod
4017*3d8817e4Smiod	* ar.c (program_name): Don't define here.
4018*3d8817e4Smiod	* objdump.c: Include "bucomm.h".
4019*3d8817e4Smiod	(xmalloc): Don't declare here.
4020*3d8817e4Smiod	(program_name): Don't define here.
4021*3d8817e4Smiod	(program_version): Fixed type in declaration.
4022*3d8817e4Smiod	* size.c: Include "bucomm.h".
4023*3d8817e4Smiod	(program_name): Don't declare here.
4024*3d8817e4Smiod
4025*3d8817e4SmiodFri Oct 22 14:10:41 1993  Mark Eichin  (eichin@cygnus.com)
4026*3d8817e4Smiod
4027*3d8817e4Smiod	* objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
4028*3d8817e4Smiod
4029*3d8817e4SmiodFri Oct  1 12:43:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4030*3d8817e4Smiod
4031*3d8817e4Smiod	* nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
4032*3d8817e4Smiod	relocs against defined symbols in the same section.
4033*3d8817e4Smiod
4034*3d8817e4SmiodThu Sep 30 16:46:26 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
4035*3d8817e4Smiod
4036*3d8817e4Smiod	* Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
4037*3d8817e4Smiod
4038*3d8817e4SmiodSat Sep 25 18:09:29 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4039*3d8817e4Smiod
4040*3d8817e4Smiod	* objcopy.c (simple_copy, smart_rename): New functions.
4041*3d8817e4Smiod	(main): Use them.
4042*3d8817e4Smiod
4043*3d8817e4SmiodFri Sep 24 15:38:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4044*3d8817e4Smiod
4045*3d8817e4Smiod	* Makefile.in (clean, distclean): Recurse into testsuite.
4046*3d8817e4Smiod
4047*3d8817e4SmiodThu Sep 23 01:05:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4048*3d8817e4Smiod
4049*3d8817e4Smiod	* objcopy.c (setup_sections, copy_sections): If stripping, don't
4050*3d8817e4Smiod	copy SEC_DEBUGGING sections.
4051*3d8817e4Smiod	* objdump.c (dump_headers): Print SEC_DEBUGGING flag.
4052*3d8817e4Smiod
4053*3d8817e4Smiod	* objdump.c (usage): Mention --stabs.
4054*3d8817e4Smiod
4055*3d8817e4Smiod	* objcopy.c (copy_object): Copy all applicable file flags.
4056*3d8817e4Smiod	(copy_file): Don't copy EXEC_P specially here.
4057*3d8817e4Smiod
4058*3d8817e4SmiodMon Sep 20 19:28:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4059*3d8817e4Smiod
4060*3d8817e4Smiod	* nlmconv.c (main): Adjust data section size to correspond to bss
4061*3d8817e4Smiod	alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
4062*3d8817e4Smiod	a different section.  Use time_t for time variable.
4063*3d8817e4Smiod	(setup_sections): Only put sections with contents in output NLM.
4064*3d8817e4Smiod	(i386_mangle_relocs): No symbols are common at this point.  Add
4065*3d8817e4Smiod	casts to avoid warnings.
4066*3d8817e4Smiod
4067*3d8817e4SmiodFri Sep 10 11:00:40 1993  Stan Shebs  (shebs@rtl.cygnus.com)
4068*3d8817e4Smiod
4069*3d8817e4Smiod	* objdump.c: Made the --stabs option work for stabs-in-coff.
4070*3d8817e4Smiod	(ELF_STAB_DISPLAY): Removed.
4071*3d8817e4Smiod	(dump_elf_stabs): Renamed to dump_stabs, changed to run for
4072*3d8817e4Smiod	any object file format.
4073*3d8817e4Smiod	(dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
4074*3d8817e4Smiod	generic BFD routines for non-ELF case, changed format of message
4075*3d8817e4Smiod	for no-section-found case.
4076*3d8817e4Smiod	(display_bfd): Always call dump_stabs if requested.
4077*3d8817e4Smiod	(dump_data): Call bfd_section_size to get section size.
4078*3d8817e4Smiod
4079*3d8817e4SmiodFri Sep 10 08:12:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4080*3d8817e4Smiod
4081*3d8817e4Smiod	* Makefile.in (install): Don't put strings in tooldir/bin.
4082*3d8817e4Smiod
4083*3d8817e4SmiodMon Sep  6 15:39:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4084*3d8817e4Smiod
4085*3d8817e4Smiod	* nlmconv.c (total_bss_size): Removed.
4086*3d8817e4Smiod	(main): Set the bss vma to always follow the data section.  Move
4087*3d8817e4Smiod	symbols into new sections, and adjust values by output_offset.
4088*3d8817e4Smiod	(setup_sections): Don't copy all sections, but instead point all
4089*3d8817e4Smiod	text sections to .text, all data sections to .data, and all bss
4090*3d8817e4Smiod	sections to .bss.
4091*3d8817e4Smiod	(copy_sections): Adjust accordingly.
4092*3d8817e4Smiod
4093*3d8817e4SmiodThu Sep  2 12:34:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4094*3d8817e4Smiod
4095*3d8817e4Smiod	Only build nlmconv if configured for a NetWare target.
4096*3d8817e4Smiod	* configure.in: If we have some *-*-netware* target, or are using
4097*3d8817e4Smiod	all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
4098*3d8817e4Smiod	* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
4099*3d8817e4Smiod	$(NLMCONV_PROG).
4100*3d8817e4Smiod
4101*3d8817e4SmiodTue Aug 31 14:13:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4102*3d8817e4Smiod
4103*3d8817e4Smiod	* objdump.c (ARCH_all): Define ARCH_hppa too.
4104*3d8817e4Smiod	(dump_headers): Don't test for SEC_BALIGN if it's not defined by
4105*3d8817e4Smiod	bfd.h.
4106*3d8817e4Smiod
4107*3d8817e4SmiodTue Aug 31 13:29:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4108*3d8817e4Smiod
4109*3d8817e4Smiod	* nlmconv.c (main): Force creation of .bss section.  Set up the
4110*3d8817e4Smiod	sections before looking at the symbols.  Move all common symbols
4111*3d8817e4Smiod	into .bss section.  Automatically define _edata and _end.  Only
4112*3d8817e4Smiod	export symbols in the export list, with multiple prefixes if
4113*3d8817e4Smiod	necessary.  Warn if no version.  Always create extended header.
4114*3d8817e4Smiod	Set date automatically if not already set.
4115*3d8817e4Smiod	(setup_sections): Count size of bss sections.
4116*3d8817e4Smiod	(mangle_relocs, i386_mangle_relocs): Accept section argument, and
4117*3d8817e4Smiod	take reloc_count as a changeable pointer; changed callers.
4118*3d8817e4Smiod	(i386_mangle_relocs): Remove PC relative relocs within a section,
4119*3d8817e4Smiod	as they require no adjustment.
4120*3d8817e4Smiod	* nlmheader.y: Fixed memory allocation throughout: token STRING is
4121*3d8817e4Smiod	now allocated on the heap, and freed if not needed.  Null
4122*3d8817e4Smiod	terminated copyright message.  Accept version with only two
4123*3d8817e4Smiod	strings.
4124*3d8817e4Smiod	(symbol_list_opt): New nonterminal, either symbol_list or empty.
4125*3d8817e4Smiod	(symbol_list): Use left recursion to avoid overflowing parser
4126*3d8817e4Smiod	stack.
4127*3d8817e4Smiod	(yylex): Rearranged beginning of line check.  Accept quoted
4128*3d8817e4Smiod	strings using single quotes.  End generic argument at comment
4129*3d8817e4Smiod	character or parentheses.
4130*3d8817e4Smiod	(string_list_append): Fixed.
4131*3d8817e4Smiod	(string_list_append1): New function.
4132*3d8817e4Smiod
4133*3d8817e4Smiod	* bucomm.h: The first argument to xrealloc is PTR, not char *.
4134*3d8817e4Smiod	* bucomm.c (xrealloc): Use PTR rather than char *.
4135*3d8817e4Smiod	* Makefile.in (objdump.o): Depend upon config.status to notice
4136*3d8817e4Smiod	--with-targets changes.
4137*3d8817e4Smiod	(nlmconv.o): Depend upon bucomm.h.
4138*3d8817e4Smiod
4139*3d8817e4SmiodTue Aug 17 09:46:01 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4140*3d8817e4Smiod
4141*3d8817e4Smiod	* configure.in: Don't pass cpu to config.bfd.
4142*3d8817e4Smiod
4143*3d8817e4SmiodThu Aug 12 16:43:04 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4144*3d8817e4Smiod
4145*3d8817e4Smiod	* Makefile.in ($(NM_PROG)): Depend on demangle.o.
4146*3d8817e4Smiod	(demangle.o): New target.
4147*3d8817e4Smiod	(cplus-dem.o): Depend on it, to force compilation order when doing
4148*3d8817e4Smiod	parallel compiles.
4149*3d8817e4Smiod
4150*3d8817e4Smiod	* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
4151*3d8817e4Smiod	(struct output_fns print_symbol_info): Ditto.
4152*3d8817e4Smiod	(long_options, usage, main): Add -C --demangle option.
4153*3d8817e4Smiod	(print_symname): New function, demangling if requested.
4154*3d8817e4Smiod	(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
4155*3d8817e4Smiod
4156*3d8817e4SmiodWed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4157*3d8817e4Smiod
4158*3d8817e4Smiod	* Makefile.in: Put CFLAGS last in compilation rules and omit from
4159*3d8817e4Smiod	linking rules.  Use ARCHDEFS to compile objdump.c.
4160*3d8817e4Smiod	Update dependencies.
4161*3d8817e4Smiod	* configure.in: Construct ARCHDEFS based on the BFD target makefile
4162*3d8817e4Smiod	fragments.
4163*3d8817e4Smiod	* objdump.c: Conditionalize calls to the print_insn_ARCH functions
4164*3d8817e4Smiod	according to ARCHDEFS.
4165*3d8817e4Smiod
4166*3d8817e4SmiodThu Aug 12 08:06:15 1993  Ian Lance Taylor  (ian@cygnus.com)
4167*3d8817e4Smiod
4168*3d8817e4Smiod	* ar.c: Removed obsolete and non-functional GNU960 code.
4169*3d8817e4Smiod
4170*3d8817e4SmiodWed Aug 11 13:08:26 1993  Ian Lance Taylor  (ian@cygnus.com)
4171*3d8817e4Smiod
4172*3d8817e4Smiod	* size.c (berkeley_sum): New function.
4173*3d8817e4Smiod	(bsssize, datasize, textsize): New global variables.
4174*3d8817e4Smiod	(bss_section_name, data_section_name, text_section_name): Removed.
4175*3d8817e4Smiod	(print_berkeley_format): Map berkeley_sum over all the sections,
4176*3d8817e4Smiod	rather than only reporting sizes of specifically named sections.
4177*3d8817e4Smiod	* Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
4178*3d8817e4Smiod
4179*3d8817e4SmiodTue Aug 10 10:46:01 1993  Ian Lance Taylor  (ian@cygnus.com)
4180*3d8817e4Smiod
4181*3d8817e4Smiod	* nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
4182*3d8817e4Smiod	convert object files into NetWare Loadable Modules.
4183*3d8817e4Smiod	* Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
4184*3d8817e4Smiod	(PROGS): Add NLMCONV_PROG.
4185*3d8817e4Smiod	(nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
4186*3d8817e4Smiod	targets.
4187*3d8817e4Smiod
4188*3d8817e4SmiodThu Aug  5 15:48:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
4189*3d8817e4Smiod
4190*3d8817e4Smiod	* Makefile.in: define MAKEOVERRIDES to an empty string
4191*3d8817e4Smiod
4192*3d8817e4SmiodWed Aug  4 17:08:08 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4193*3d8817e4Smiod
4194*3d8817e4Smiod	* objcopy.c (copy_file): Make failures to process a file nonfatal.
4195*3d8817e4Smiod
4196*3d8817e4SmiodMon Aug  2 11:28:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4197*3d8817e4Smiod
4198*3d8817e4Smiod	* nm.c: Add -B option, like --format=bsd.
4199*3d8817e4Smiod
4200*3d8817e4SmiodTue Jul 27 16:29:54 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4201*3d8817e4Smiod
4202*3d8817e4Smiod	* objcopy.c (copy_file): If the file is neither an object nor an
4203*3d8817e4Smiod	archive, give an error rather than returning success.
4204*3d8817e4Smiod
4205*3d8817e4SmiodMon Jul 19 16:13:40 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
4206*3d8817e4Smiod
4207*3d8817e4Smiod	* objdump.c (objdump_print_address): Prefer non-local symbols over
4208*3d8817e4Smiod	local ones, and especially discriminate against debugging symbols.
4209*3d8817e4Smiod	Also, for relocateable files, try to find a symbol in the current
4210*3d8817e4Smiod	section, instead of picking one from some random section with a
4211*3d8817e4Smiod	convenient value (read, section offset).
4212*3d8817e4Smiod	(disassemble_data): Cast argument to malloc to size_t first.
4213*3d8817e4Smiod	(dump_data): Likewise.
4214*3d8817e4Smiod	(dump_relocs): If a single section name is specified, show relocs
4215*3d8817e4Smiod	only for that section.  Otherwise, silently omit sections without
4216*3d8817e4Smiod	relocs.  Format table nicely even if values are printed using 16
4217*3d8817e4Smiod	digits instead of 8.
4218*3d8817e4Smiod
4219*3d8817e4SmiodFri Jul 16 15:19:59 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4220*3d8817e4Smiod
4221*3d8817e4Smiod	* nm.c: Changes for final version of POSIX.2.
4222*3d8817e4Smiod	(print_symbol_filename_{bsd,sysv,posix}): New functions.
4223*3d8817e4Smiod	(formats): Add an element for a pointer to them.
4224*3d8817e4Smiod	(print_symbols): Call it.
4225*3d8817e4Smiod	(print_object_filename_posix, print_archive_member_posix): Produce
4226*3d8817e4Smiod	output according to new POSIX.2 spec.
4227*3d8817e4Smiod
4228*3d8817e4Smiod	* strings.c (print_strings): Handle STREAM being NULL.
4229*3d8817e4Smiod	(strings_a_section): Pass a NULL.
4230*3d8817e4Smiod	(main): Don't open /dev/null.
4231*3d8817e4Smiod
4232*3d8817e4SmiodThu Jul 15 12:44:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4233*3d8817e4Smiod
4234*3d8817e4Smiod	* objdump.c (disassemble_data): Handle the m88k.
4235*3d8817e4Smiod	(display_bfd): Use bfd_errmsg, rather than just claiming that the
4236*3d8817e4Smiod	bfd is not an object file.
4237*3d8817e4Smiod
4238*3d8817e4SmiodMon Jul 12 17:55:34 1993  K. Richard Pixley  (rich@cygnus.com)
4239*3d8817e4Smiod
4240*3d8817e4Smiod	* Makefile.in (TAGS): make work again by naming directories
4241*3d8817e4Smiod	  explicitly rather than depending on undefined macros.
4242*3d8817e4Smiod	  (INSTALL_XFORM): correct bad install target.
4243*3d8817e4Smiod
4244*3d8817e4SmiodFri Jul  2 16:58:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4245*3d8817e4Smiod
4246*3d8817e4Smiod	* strings.c: Doc fixes.
4247*3d8817e4Smiod
4248*3d8817e4SmiodSun Jun 27 13:35:24 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4249*3d8817e4Smiod
4250*3d8817e4Smiod	* Makefile.in: Note dependencies on bucomm.h.
4251*3d8817e4Smiod	(cplus-dem.o): Link c++filt with version.o.
4252*3d8817e4Smiod
4253*3d8817e4Smiod	* strings.c: Include bucomm.h and add prototypes to other decls.
4254*3d8817e4Smiod	Remove -h option.
4255*3d8817e4Smiod
4256*3d8817e4Smiod	* bucomm.h: Declare xrealloc.
4257*3d8817e4Smiod
4258*3d8817e4Smiod	* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
4259*3d8817e4Smiod	--help option.  Put "GNU" in the version message.
4260*3d8817e4Smiod	(usage): Take stream and exit status as args.
4261*3d8817e4Smiod	(main): Pass new args to usage.
4262*3d8817e4Smiod
4263*3d8817e4SmiodFri Jun 25 23:12:12 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4264*3d8817e4Smiod
4265*3d8817e4Smiod	* strings.c, strings.1: New files.
4266*3d8817e4Smiod	* binutils.texi: Document strings.
4267*3d8817e4Smiod	* Makefile.in: Add rules for it.
4268*3d8817e4Smiod
4269*3d8817e4SmiodFri Jun 25 20:44:43 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
4270*3d8817e4Smiod
4271*3d8817e4Smiod	* objdump.c: Use size-independent bfd elf section names.
4272*3d8817e4Smiod
4273*3d8817e4SmiodSun Jun 20 23:09:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
4274*3d8817e4Smiod
4275*3d8817e4Smiod	* objdump.c (objdump_print_address): Handle wide offsets by
4276*3d8817e4Smiod	calling sprintf_vma.
4277*3d8817e4Smiod
4278*3d8817e4SmiodFri Jun 18 14:29:12 1993  Per Bothner  (bothner@deneb.cygnus.com)
4279*3d8817e4Smiod
4280*3d8817e4Smiod	* objdump.c (syms2):  Removed unused variable.
4281*3d8817e4Smiod	* objdump.c (remove_useless_symbols):  New function.
4282*3d8817e4Smiod	* objdump.c (comp):  Simplify.
4283*3d8817e4Smiod	* objdump.c (dis-assemble_data):  Make simpler and more
4284*3d8817e4Smiod	efficient how we filter out useless symbols:  Just filter
4285*3d8817e4Smiod	BEFORE the sort (using remove_useless_symbols).
4286*3d8817e4Smiod	* objdump.c (objdump_print_address):  Simplify.
4287*3d8817e4Smiod	Change output syntax to match gdb.
4288*3d8817e4Smiod
4289*3d8817e4SmiodThu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
4290*3d8817e4Smiod
4291*3d8817e4Smiod	* Makefile.in: canonicalize install.sh; for use within
4292*3d8817e4Smiod	this directory (and subdirs)
4293*3d8817e4Smiod
4294*3d8817e4SmiodMon Jun 14 12:13:22 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
4295*3d8817e4Smiod
4296*3d8817e4Smiod	* Makefile.in (install, install-info): remove parentdir support,
4297*3d8817e4Smiod	use INSTALL_XFORM; define INSTALL_XFORM
4298*3d8817e4Smiod
4299*3d8817e4SmiodThu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
4300*3d8817e4Smiod
4301*3d8817e4Smiod	* objcopy.c (copy_object):  Fix bad size passed to xmalloc().
4302*3d8817e4Smiod
4303*3d8817e4SmiodMon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
4304*3d8817e4Smiod
4305*3d8817e4Smiod	* Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
4306*3d8817e4Smiod	* configure.in:  No longer need to configure to get sysdep.h.
4307*3d8817e4Smiod	* objcopy.c (copy_object):  Fix symbol table handling.
4308*3d8817e4Smiod
4309*3d8817e4SmiodFri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
4310*3d8817e4Smiod
4311*3d8817e4Smiod	* objcopy.c (filter_symbols):  Cannot filter the symbols
4312*3d8817e4Smiod	in place, because that confuses the relocs, so take separate
4313*3d8817e4Smiod	parameter for output array.
4314*3d8817e4Smiod	* objcopy.c (sympp):  Make two variables: isympp and osympp.
4315*3d8817e4Smiod	* objcopy.c (copy_object):  Allocate separate array (osympp)
4316*3d8817e4Smiod	for filtered symbols.
4317*3d8817e4Smiod
4318*3d8817e4SmiodFri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4319*3d8817e4Smiod
4320*3d8817e4Smiod	* Makefile.in: change recursion test to presence of a configured
4321*3d8817e4Smiod	testsuite directory
4322*3d8817e4Smiod
4323*3d8817e4SmiodThu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4324*3d8817e4Smiod
4325*3d8817e4Smiod	* Makefile.in (underscore.c): Hack the backquoted command so it
4326*3d8817e4Smiod	doesn't cause Solaris make to bomb.
4327*3d8817e4Smiod
4328*3d8817e4SmiodThu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
4329*3d8817e4Smiod
4330*3d8817e4Smiod	* Makefile.in:  added c++filt and objcopy to MANPAGES variable
4331*3d8817e4Smiod
4332*3d8817e4SmiodThu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4333*3d8817e4Smiod
4334*3d8817e4Smiod	* Makefile.in: rename LOADLIBES to EXTRALIBS
4335*3d8817e4Smiod
4336*3d8817e4SmiodWed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
4337*3d8817e4Smiod
4338*3d8817e4Smiod	* c++filt.1, objcopy.1:  new man pages
4339*3d8817e4Smiod
4340*3d8817e4SmiodFri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
4341*3d8817e4Smiod
4342*3d8817e4Smiod	* Makefile.in (install):  Also install ar and ranlib in
4343*3d8817e4Smiod	$(tooldir)/bin;  needed for building libgcc.a.
4344*3d8817e4Smiod	* objdump.c (objdump_print_address):  Fix the check
4345*3d8817e4Smiod	"coincidental" label matches by dis-allowing undefined
4346*3d8817e4Smiod	or com symbols.
4347*3d8817e4Smiod
4348*3d8817e4SmiodThu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
4349*3d8817e4Smiod
4350*3d8817e4Smiod        * binutils.texi:  revised c++filt chapter
4351*3d8817e4Smiod
4352*3d8817e4SmiodWed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
4353*3d8817e4Smiod
4354*3d8817e4Smiod	* Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
4355*3d8817e4Smiod
4356*3d8817e4SmiodTue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
4357*3d8817e4Smiod
4358*3d8817e4Smiod	* objdump.c (slurp_symtab): Print warning for bad symbol table.
4359*3d8817e4Smiod	(bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
4360*3d8817e4Smiod	declarations and uses.
4361*3d8817e4Smiod
4362*3d8817e4Smiod	* Makefile.in (DISTSTUFF): Don't build binutils.mm.
4363*3d8817e4Smiod
4364*3d8817e4SmiodFri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
4365*3d8817e4Smiod
4366*3d8817e4Smiod	* nm.c: Add -f/--format, -P/--portability, -t/--radix options.
4367*3d8817e4Smiod	Make global variables static.
4368*3d8817e4Smiod	(main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
4369*3d8817e4Smiod	(set_print_radix, set_output_format,
4370*3d8817e4Smiod	print_{object_filename,archive_filename,archive_member,symbol_info}
4371*3d8817e4Smiod	{bsd,sysv,posix}): New functions.
4372*3d8817e4Smiod	(display_file, print_symbols): Call them.
4373*3d8817e4Smiod
4374*3d8817e4Smiod	* ar.c: Improve error messages.
4375*3d8817e4Smiod
4376*3d8817e4Smiod	* nm.c (main): Handle long options that just set a flag.
4377*3d8817e4Smiod
4378*3d8817e4Smiod	* nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
4379*3d8817e4Smiod	(main): Exit after printing the version number, per the GNU coding
4380*3d8817e4Smiod	standards.
4381*3d8817e4Smiod
4382*3d8817e4SmiodMon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
4383*3d8817e4Smiod
4384*3d8817e4Smiod	* README, Makefile.in:  Minor updates for 2.2.
4385*3d8817e4Smiod
4386*3d8817e4SmiodFri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
4387*3d8817e4Smiod
4388*3d8817e4Smiod	* Makefile.in (underscore.c):  Automatically generate
4389*3d8817e4Smiod	(using nm) a file with the variable prepends_underscore.
4390*3d8817e4Smiod	* Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
4391*3d8817e4Smiod	so that initial underscores get removed iff appropriate.
4392*3d8817e4Smiod	* binutils.texi:  Preliminary documentation for c++filt.
4393*3d8817e4Smiod	* Makefile.in, binutils.texi:  Set to version 2.2.
4394*3d8817e4Smiod
4395*3d8817e4Smiod	* NEWS:  Mention copy->objcopy renaming and new c++filt program.
4396*3d8817e4Smiod
4397*3d8817e4SmiodWed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
4398*3d8817e4Smiod
4399*3d8817e4Smiod	* Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
4400*3d8817e4Smiod	demangler via cplus-dem.o, rather than directly from the .c file.
4401*3d8817e4Smiod
4402*3d8817e4Smiod	* objcopy.c: Renamed from copy.c, updated comments accordingly.
4403*3d8817e4Smiod	* Makefile.in, binutils.texi: Renamed copy to objcopy.
4404*3d8817e4Smiod	* is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
4405*3d8817e4Smiod	rename of copy to objcopy.
4406*3d8817e4Smiod
4407*3d8817e4SmiodMon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
4408*3d8817e4Smiod
4409*3d8817e4Smiod	* binutils.texi (strip, -v option):  Fix typo.
4410*3d8817e4Smiod
4411*3d8817e4SmiodFri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
4412*3d8817e4Smiod
4413*3d8817e4Smiod	* Makefile.in (RUNTEST): Define.
4414*3d8817e4Smiod	(FLAGS_TO_PASS): Pass down RUNTEST.
4415*3d8817e4Smiod
4416*3d8817e4SmiodTue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
4417*3d8817e4Smiod
4418*3d8817e4Smiod	* Makefile.in (DEMANGLER_PROG): Name it c++filt.
4419*3d8817e4Smiod	(PROG): Also build and install COPY_PROG.
4420*3d8817e4Smiod
4421*3d8817e4SmiodMon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
4422*3d8817e4Smiod
4423*3d8817e4Smiod	* Makefile.in:  Change definition of $(tooldir) to match FSF.
4424*3d8817e4Smiod
4425*3d8817e4SmiodWed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
4426*3d8817e4Smiod
4427*3d8817e4Smiod	* size.c (usage): Add missing options.
4428*3d8817e4Smiod	(main): Clean up option parser.
4429*3d8817e4Smiod
4430*3d8817e4Smiod	* objdump.c (usage): Add missing options.
4431*3d8817e4Smiod	(display_file): Print program name before calling
4432*3d8817e4Smiod	bdf_perror.
4433*3d8817e4Smiod
4434*3d8817e4Smiod	* nm.c (usage): Add missing options.
4435*3d8817e4Smiod	(main): Clean up option parser.
4436*3d8817e4Smiod	(display_file): Print program name before calling
4437*3d8817e4Smiod	bdf_perror.
4438*3d8817e4Smiod
4439*3d8817e4Smiod	* copy.c (copy_usage, strip_usage): Add missing options.
4440*3d8817e4Smiod
4441*3d8817e4Smiod	* ar.c (usage): New function.
4442*3d8817e4Smiod	(main): Call it.
4443*3d8817e4Smiod	(open_inarch, do_quick_append): Print program name before calling
4444*3d8817e4Smiod	bdf_perror.
4445*3d8817e4Smiod
4446*3d8817e4SmiodThu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
4447*3d8817e4Smiod
4448*3d8817e4Smiod	* nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
4449*3d8817e4Smiod
4450*3d8817e4SmiodMon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
4451*3d8817e4Smiod
4452*3d8817e4Smiod	* Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
4453*3d8817e4Smiod	built binaries if they exist. (otherwise the path)
4454*3d8817e4Smiod
4455*3d8817e4SmiodWed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
4456*3d8817e4Smiod
4457*3d8817e4Smiod	* Makefile.in: Changed check target to use DejaGnu.
4458*3d8817e4Smiod
4459*3d8817e4SmiodThu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
4460*3d8817e4Smiod
4461*3d8817e4Smiod	* Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
4462*3d8817e4Smiod	objdump.c: a29k and i960 are `disassemble' not `print'.
4463*3d8817e4Smiod
4464*3d8817e4Smiod	* objdump.c: Rename print_address to objdump_print_address
4465*3d8817e4Smiod	and change parameters.
4466*3d8817e4Smiod	(disassemble_data): Use objdump_print_address.
4467*3d8817e4Smiod
4468*3d8817e4SmiodWed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4469*3d8817e4Smiod
4470*3d8817e4Smiod	* objdump.c (disassemble_data): print_insn_sparc is now a
4471*3d8817e4Smiod	`disassemble' not a `print'.
4472*3d8817e4Smiod	Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
4473*3d8817e4Smiod
4474*3d8817e4Smiod	* objdump.c (disassemble_data): Use new read_memory_func stuff.
4475*3d8817e4Smiod
4476*3d8817e4SmiodThu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4477*3d8817e4Smiod
4478*3d8817e4Smiod	* objdump.c (fprintf): Declaration of variadic function had better
4479*3d8817e4Smiod	be a prototype for ANSI C systems.
4480*3d8817e4Smiod
4481*3d8817e4SmiodMon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4482*3d8817e4Smiod
4483*3d8817e4Smiod	* Makefile.in: rename test-install to install-check
4484*3d8817e4Smiod
4485*3d8817e4SmiodFri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
4486*3d8817e4Smiod
4487*3d8817e4Smiod	* objdump.c (disassemble_data): Add H8500.
4488*3d8817e4Smiod
4489*3d8817e4SmiodFri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
4490*3d8817e4Smiod
4491*3d8817e4Smiod	* objdump.c (usage): Mention long options.
4492*3d8817e4Smiod
4493*3d8817e4SmiodThu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
4494*3d8817e4Smiod
4495*3d8817e4Smiod	* nm.c:  Modify behavior of -o flag for archives to match
4496*3d8817e4Smiod	BSD4.4 and Sunos 4:  Prefix archive name before each line.
4497*3d8817e4Smiod
4498*3d8817e4Smiod	* m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
4499*3d8817e4Smiod	* i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
4500*3d8817e4Smiod	* Makefile.in:  Adjust accordingly.
4501*3d8817e4Smiod	* objdump.c:  Support new-style disassemblers (ones that use
4502*3d8817e4Smiod	the interface of ../include/dis-asm.h).
4503*3d8817e4Smiod
4504*3d8817e4SmiodThu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
4505*3d8817e4Smiod
4506*3d8817e4Smiod	* Makefile.in:  When making tar file, remove texinfo/*,
4507*3d8817e4Smiod	except for texinfo/texinfo.tex.
4508*3d8817e4Smiod	* ardup.c:  Add extern declaration of strdup.
4509*3d8817e4Smiod	* Makefile.in (testsuite):  Add 'else true' since otherwise
4510*3d8817e4Smiod	Ultrix /bin/sh complains.
4511*3d8817e4Smiod
4512*3d8817e4SmiodWed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
4513*3d8817e4Smiod
4514*3d8817e4Smiod	* Makefile.in:  Set VERSION to 2.1.
4515*3d8817e4Smiod	* README, NEWS: Updates.
4516*3d8817e4Smiod	* nm.c:  Add -v as a synonym for -V.
4517*3d8817e4Smiod
4518*3d8817e4SmiodTue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
4519*3d8817e4Smiod
4520*3d8817e4Smiod	* configure.in: added testsuite to configdirs.
4521*3d8817e4Smiod	* Makefile.in: added support for building testsuite.
4522*3d8817e4Smiod
4523*3d8817e4SmiodMon Feb 22 22:52:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
4524*3d8817e4Smiod
4525*3d8817e4Smiod	* objdump.c (disassemble_data):  Print function names when
4526*3d8817e4Smiod	given by bfd_find_nearest_line.  If not - still print
4527*3d8817e4Smiod	line numbers.
4528*3d8817e4Smiod
4529*3d8817e4SmiodMon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
4530*3d8817e4Smiod
4531*3d8817e4Smiod	* testsuite: made modifications to testcases, etc., to allow
4532*3d8817e4Smiod        them to work properly  given the reorganization of deja-gnu and the
4533*3d8817e4Smiod	relocation of the testcases from deja-gnu to a "tool" subdirectory.
4534*3d8817e4Smiod
4535*3d8817e4SmiodMon Feb 22 10:27:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4536*3d8817e4Smiod
4537*3d8817e4Smiod	* objdump.c (dump_data): Free up section contents each time
4538*3d8817e4Smiod	through the loop.  Reported by minyard@bnr.ca.
4539*3d8817e4Smiod
4540*3d8817e4SmiodSun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
4541*3d8817e4Smiod
4542*3d8817e4Smiod	* testsuite: Initial creation of binutils/testsuite.
4543*3d8817e4Smiod	Migrated dejagnu testcases and support files for testing nm to
4544*3d8817e4Smiod	binutils/testsuite from deja-gnu.  These files were moved "as is"
4545*3d8817e4Smiod	with no modifications.	This migration is part of a major overhaul
4546*3d8817e4Smiod	of dejagnu.  The modifications to these testcases, etc., which
4547*3d8817e4Smiod	will allow them to work with the new version of dejagnu will be
4548*3d8817e4Smiod	made in a future update.
4549*3d8817e4Smiod
4550*3d8817e4SmiodFri Feb 12 10:05:20 1993  Fred Fish  (fnf@cygnus.com)
4551*3d8817e4Smiod
4552*3d8817e4Smiod	* Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
4553*3d8817e4Smiod	* Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
4554*3d8817e4Smiod	* Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
4555*3d8817e4Smiod	and rule.
4556*3d8817e4Smiod	* Makefile.in (PROGS):  Add DEMANGLER_PROG.
4557*3d8817e4Smiod
4558*3d8817e4SmiodTue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
4559*3d8817e4Smiod
4560*3d8817e4Smiod	* copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
4561*3d8817e4Smiod	macro rather than checking for equality to bfd_com_section.
4562*3d8817e4Smiod
4563*3d8817e4SmiodFri Jan  8 15:50:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4564*3d8817e4Smiod
4565*3d8817e4Smiod	* objdump.c (disassemble_data): Fix code to find first useless
4566*3d8817e4Smiod	symbol.
4567*3d8817e4Smiod
4568*3d8817e4SmiodThu Jan  7 13:13:31 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4569*3d8817e4Smiod
4570*3d8817e4Smiod	* objdump.c (disassemble_data): Use mips_print_insn for MIPS.
4571*3d8817e4Smiod	Don't core dump if bfd_find_nearest_line returns false.
4572*3d8817e4Smiod
4573*3d8817e4SmiodWed Jan  6 17:14:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
4574*3d8817e4Smiod
4575*3d8817e4Smiod	* objdump.c (disassemble_data): know how to disassemble z8000s
4576*3d8817e4Smiod	too.
4577*3d8817e4Smiod
4578*3d8817e4SmiodWed Jan  6 15:16:27 1993  Per Bothner  (bothner@cygnus.com)
4579*3d8817e4Smiod
4580*3d8817e4Smiod	* arsup.h (interactive), bucomm.h (program_name):  Prefix
4581*3d8817e4Smiod	with 'extern', to avoid warnings from some compilers.
4582*3d8817e4Smiod
4583*3d8817e4SmiodWed Jan  6 15:14:11 1993  Per Bothner  (bothner@rtl.cygnus.com)
4584*3d8817e4Smiod
4585*3d8817e4Smiod	* arparse.y: fix unnecessary shift/reduce
4586*3d8817e4Smiod
4587*3d8817e4SmiodTue Dec 22 15:46:56 1992  Per Bothner  (bothner@rtl.cygnus.com)
4588*3d8817e4Smiod
4589*3d8817e4Smiod	* Makefile.in:  Make check depend on all.
4590*3d8817e4Smiod	* Makefile.in (distclean): Remove sysdep.h.
4591*3d8817e4Smiod	* size.c:  Use %u format where appropriate.
4592*3d8817e4Smiod	* objdump.c:  Standardize:  L_SET -> SEEK_SET.
4593*3d8817e4Smiod	* objdump.c:  Use new macro bfd_asymbol_bfd.
4594*3d8817e4Smiod	* configure.in:  Allow std-host as the default ${mys_host}.
4595*3d8817e4Smiod
4596*3d8817e4SmiodThu Dec 17 19:38:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4597*3d8817e4Smiod
4598*3d8817e4Smiod	* Makefile.in: added dvi target, define and use TEXI2DVI
4599*3d8817e4Smiod
4600*3d8817e4SmiodTue Dec 15 18:05:07 1992  Per Bothner  (bothner@cygnus.com)
4601*3d8817e4Smiod
4602*3d8817e4Smiod	* Makefile.in (dist):  Fix permissions before release.
4603*3d8817e4Smiod	* size.c:  Use bfd_size_type (and long) where appropriate.
4604*3d8817e4Smiod	* ar.c:  Make writing a map the default, to be compatible
4605*3d8817e4Smiod	with SYSV and Posix.2.  Remove some bogus kludges that
4606*3d8817e4Smiod	handled __.SYMDEF directly.
4607*3d8817e4Smiod	* NEWS:  New file.
4608*3d8817e4Smiod
4609*3d8817e4SmiodMon Nov  9 13:36:53 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4610*3d8817e4Smiod
4611*3d8817e4Smiod	* Makefile.in: flex no longer needs the -S flag
4612*3d8817e4Smiod
4613*3d8817e4SmiodSat Nov  7 15:06:13 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4614*3d8817e4Smiod
4615*3d8817e4Smiod        * ar.c (extract_file): utime needs a pointer to a utimbuf
4616*3d8817e4Smiod
4617*3d8817e4Smiod	* Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
4618*3d8817e4Smiod	the list (since some of the bfd/hosts/*.h files include other
4619*3d8817e4Smiod	files from that directory)
4620*3d8817e4Smiod
4621*3d8817e4SmiodFri Nov  6 00:12:51 1992  John Gilmore  (gnu@cygnus.com)
4622*3d8817e4Smiod
4623*3d8817e4Smiod	* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.
4624*3d8817e4Smiod
4625*3d8817e4SmiodThu Nov  5 03:37:15 1992  John Gilmore  (gnu@cygnus.com)
4626*3d8817e4Smiod
4627*3d8817e4Smiod	Clean up some old BFD ansification macros.
4628*3d8817e4Smiod
4629*3d8817e4Smiod	* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
4630*3d8817e4Smiod	It still remains as a local macro in gmalloc.c, which is derived
4631*3d8817e4Smiod	from some other copy of GNU Malloc somewhere (FIXME).
4632*3d8817e4Smiod
4633*3d8817e4Smiod	* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
4634*3d8817e4Smiod	fns really static.
4635*3d8817e4Smiod	* arsup.h:  Declare extract_files.
4636*3d8817e4Smiod
4637*3d8817e4SmiodMon Nov  2 12:42:11 1992  Ian Lance Taylor  (ian@cygnus.com)
4638*3d8817e4Smiod
4639*3d8817e4Smiod	* ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
4640*3d8817e4Smiod	use utime and utimbuf structure, otherwise if USE_UTIME use utime
4641*3d8817e4Smiod	and array of two longs, otherwise use utimes.
4642*3d8817e4Smiod
4643*3d8817e4SmiodThu Oct 15 13:57:35 1992  Per Bothner  (bothner@cygnus.com)
4644*3d8817e4Smiod
4645*3d8817e4Smiod	* binutils.texi:  Document yesterday's changes to strip and copy.
4646*3d8817e4Smiod
4647*3d8817e4SmiodWed Oct 14 13:22:14 1992  Per Bothner  (bothner@cygnus.com)
4648*3d8817e4Smiod
4649*3d8817e4Smiod	* copy.c:  Re-do command-line parsing to use getopt_long().
4650*3d8817e4Smiod	Add long option names.  Re-think option letters to be more
4651*3d8817e4Smiod	consistent.
4652*3d8817e4Smiod	* copy.c:  New function filter_symbols() for stripping only
4653*3d8817e4Smiod	debug-symbols and/or local symbols.  Use these to support
4654*3d8817e4Smiod	the previously-missing options of the old FSF strip.
4655*3d8817e4Smiod
4656*3d8817e4SmiodTue Oct 13 01:24:20 1992  John Gilmore  (gnu@cygnus.com)
4657*3d8817e4Smiod
4658*3d8817e4Smiod	* configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
4659*3d8817e4Smiod	than repeating a copy of it here.
4660*3d8817e4Smiod
4661*3d8817e4SmiodWed Oct  7 12:53:52 1992  Ken Raeburn  (raeburn@cygnus.com)
4662*3d8817e4Smiod
4663*3d8817e4Smiod	* copy.c (main): Even if is_strip, accept -d argument indicating
4664*3d8817e4Smiod	alternate output format.  Needed by gdb for Nindy.
4665*3d8817e4Smiod
4666*3d8817e4Smiod	* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
4667*3d8817e4Smiod
4668*3d8817e4SmiodTue Oct  6 16:33:56 1992  Jeffrey Osier  (jeffrey@cygnus.com)
4669*3d8817e4Smiod
4670*3d8817e4Smiod	* binutils.texi:  added documentation for "copy"
4671*3d8817e4Smiod
4672*3d8817e4SmiodTue Oct  6 14:22:56 1992  Per Bothner  (bothner at PersSony)
4673*3d8817e4Smiod
4674*3d8817e4Smiod	* Makefile.in (*clean rules): Some cleaning up.
4675*3d8817e4Smiod	* Makefile.in (dist): Make diststuff in gprof for a dist.
4676*3d8817e4Smiod
4677*3d8817e4Smiod	* ar.c (do_show_version):  New function.
4678*3d8817e4Smiod	* ar.c (main):  Fix so "ar -V" works.
4679*3d8817e4Smiod
4680*3d8817e4SmiodThu Oct  1 22:44:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4681*3d8817e4Smiod
4682*3d8817e4Smiod	* configure.in: now uses the cpu-vendor-os triple instead of
4683*3d8817e4Smiod	nested cases.
4684*3d8817e4Smiod
4685*3d8817e4SmiodFri Sep 25 22:41:08 1992  John Gilmore  (gnu@cygnus.com)
4686*3d8817e4Smiod
4687*3d8817e4Smiod	* i960-pinsn.c:  Change bzero to memset.
4688*3d8817e4Smiod	* sparc-pinsn.c:  Change index to strchr.
4689*3d8817e4Smiod
4690*3d8817e4SmiodMon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)
4691*3d8817e4Smiod
4692*3d8817e4Smiod	* m68k-pinsn (print_insn_arg, fetch_arg): added support for
4693*3d8817e4Smiod	operands to memory management instructions, from WRS.
4694*3d8817e4Smiod
4695*3d8817e4SmiodTue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)
4696*3d8817e4Smiod
4697*3d8817e4Smiod	* Makefile.in (install): if $(tooldir) exists, install nm and
4698*3d8817e4Smiod	strip in $(tooldir)/bin.
4699*3d8817e4Smiod
4700*3d8817e4SmiodThu Sep  3 11:57:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
4701*3d8817e4Smiod
4702*3d8817e4Smiod	* Makefile.in:  Let's call it version 2.0.
4703*3d8817e4Smiod
4704*3d8817e4SmiodWed Sep  2 00:25:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
4705*3d8817e4Smiod
4706*3d8817e4Smiod	* Makefile.in:  Bump to version 0.98.
4707*3d8817e4Smiod	* TODO, README:  Minor updates.
4708*3d8817e4Smiod
4709*3d8817e4Smiod	* Makefile.in:  Added mostlyclean, distclean rules,
4710*3d8817e4Smiod	and cleaned up clean, realclean.
4711*3d8817e4Smiod
4712*3d8817e4SmiodSun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)
4713*3d8817e4Smiod
4714*3d8817e4Smiod	* Makefile.in: map program names through program_transform_name
4715*3d8817e4Smiod	when installing.
4716*3d8817e4Smiod
4717*3d8817e4SmiodSun Aug 30 18:09:03 1992  Per Bothner  (bothner@rtl.cygnus.com)
4718*3d8817e4Smiod
4719*3d8817e4Smiod	* Makefile.in:  Bump to versions 1.97.90.
4720*3d8817e4Smiod	* cplus-dem.c:  Removed.  Was nowhere used - and if some
4721*3d8817e4Smiod	programs are changed to to demangling should now use the
4722*3d8817e4Smiod	versions in libiberty.
4723*3d8817e4Smiod
4724*3d8817e4SmiodThu Aug 27 12:58:09 1992  Brendan Kehoe  (brendan@cygnus.com)
4725*3d8817e4Smiod
4726*3d8817e4Smiod	* configure.in: add we32k
4727*3d8817e4Smiod
4728*3d8817e4SmiodMon Aug 24 14:53:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4729*3d8817e4Smiod
4730*3d8817e4Smiod	* ar.c (map_over_members): if the element of the archive has a
4731*3d8817e4Smiod	null name, fill it in.
4732*3d8817e4Smiod
4733*3d8817e4Smiod	* nm.c (do_one_rel_file): only warn if a bfd's flags say there
4734*3d8817e4Smiod	will be symbols and there aren't any.
4735*3d8817e4Smiod
4736*3d8817e4SmiodWed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)
4737*3d8817e4Smiod
4738*3d8817e4Smiod	* m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
4739*3d8817e4Smiod
4740*3d8817e4SmiodTue Aug 18 20:45:48 1992  Rob Savoye  (rob@cygnus.com)
4741*3d8817e4Smiod
4742*3d8817e4Smiod	* nm.c objdump.c: Added support for a +version (-V)
4743*3d8817e4Smiod	to print the version number.
4744*3d8817e4Smiod
4745*3d8817e4Smiod	* ar.c, copy.c: Added support for a -V option to print
4746*3d8817e4Smiod	the version number.
4747*3d8817e4Smiod
4748*3d8817e4SmiodTue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)
4749*3d8817e4Smiod
4750*3d8817e4Smiod	* config/mh-apollo68v: removed -g from CC definition.
4751*3d8817e4Smiod
4752*3d8817e4Smiod	* Makefile.in: always create installation directories.
4753*3d8817e4Smiod
4754*3d8817e4SmiodMon Aug 17 18:33:41 1992  Per Bothner  (bothner@rtl.cygnus.com)
4755*3d8817e4Smiod
4756*3d8817e4Smiod	* m68k-pinsn.c:  Minor fix in style of output (don't use
4757*3d8817e4Smiod	range to indicate floating point control registers).
4758*3d8817e4Smiod
4759*3d8817e4SmiodTue Aug 11 23:42:21 1992  Per Bothner  (bothner@cygnus.com)
4760*3d8817e4Smiod
4761*3d8817e4Smiod	* ar.c (main):  Don't *always* set the verbose flag!
4762*3d8817e4Smiod
4763*3d8817e4SmiodWed Aug  5 11:25:27 1992  Per Bothner  (bothner@rtl.cygnus.com)
4764*3d8817e4Smiod
4765*3d8817e4Smiod	* copy.c:  When is_strip (because it is invoked as the strip
4766*3d8817e4Smiod	program), follow traditional argv processing:
4767*3d8817e4Smiod	'strip file1 file2' now strips file1 and file2, rather
4768*3d8817e4Smiod	than stripping file1 (as input), leaving output in file2.
4769*3d8817e4Smiod
4770*3d8817e4SmiodMon Jul 27 16:28:08 1992  Per Bothner  (bothner@rtl.cygnus.com)
4771*3d8817e4Smiod
4772*3d8817e4Smiod	* objdump.c (display_info, display_info_table):  Call
4773*3d8817e4Smiod	bfd_set_format() on dummy bfd before using it (twice).
4774*3d8817e4Smiod	* ar.c:  Make sure archive is created on command 'r'
4775*3d8817e4Smiod	even when no elements are inserted.  (Clean up and
4776*3d8817e4Smiod	simplify some non-working related code.)
4777*3d8817e4Smiod
4778*3d8817e4SmiodMon Jul 20 02:48:38 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
4779*3d8817e4Smiod
4780*3d8817e4Smiod	* configure.in: hppa support doesn't assume hp OS (from sef).
4781*3d8817e4Smiod
4782*3d8817e4SmiodSat Jul 18 14:35:22 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4783*3d8817e4Smiod
4784*3d8817e4Smiod	* configure.in: recognize hppa hosts (bsd & hpux), error messages
4785*3d8817e4Smiod	to stderr, not stdout
4786*3d8817e4Smiod
4787*3d8817e4SmiodFri Jul 17 18:39:44 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4788*3d8817e4Smiod
4789*3d8817e4Smiod	* ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
4790*3d8817e4Smiod	  size.1, sparc-pinsn.c, strip.1: removed rcsid's.
4791*3d8817e4Smiod
4792*3d8817e4SmiodThu Jul 16 16:55:24 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4793*3d8817e4Smiod
4794*3d8817e4Smiod	* Makefile.dos: removed rcsid.
4795*3d8817e4Smiod
4796*3d8817e4SmiodThu Jul 16 08:23:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4797*3d8817e4Smiod
4798*3d8817e4Smiod	* objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
4799*3d8817e4Smiod
4800*3d8817e4SmiodTue Jun 30 20:26:15 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
4801*3d8817e4Smiod
4802*3d8817e4Smiod	* Makefile.in: Add program_suffix (parallel to program_prefix)
4803*3d8817e4Smiod
4804*3d8817e4SmiodThu Jun 25 04:52:45 1992  John Gilmore  (gnu at cygnus.com)
4805*3d8817e4Smiod
4806*3d8817e4Smiod	* nm.c (sorters):  Lint.  Remove excess whitespace.
4807*3d8817e4Smiod
4808*3d8817e4SmiodWed Jun 24 13:48:07 1992  Per Bothner  (bothner@cygnus.com)
4809*3d8817e4Smiod
4810*3d8817e4Smiod	* nm.c (valueof macro):  Add missing parentheses.
4811*3d8817e4Smiod	(Their lack screwed up numeric_forward().)
4812*3d8817e4Smiod
4813*3d8817e4SmiodSun Jun 14 10:33:27 1992  John Gilmore  (gnu at cygnus.com)
4814*3d8817e4Smiod
4815*3d8817e4Smiod	* objdump.c (dump_elf_stabs):  Also dump .stab.index and
4816*3d8817e4Smiod	.stab.excl sections.
4817*3d8817e4Smiod	(dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
4818*3d8817e4Smiod	* objdump.1, binutils.texi:  Document new sections dumped.
4819*3d8817e4Smiod
4820*3d8817e4SmiodFri Jun 12 22:23:35 1992  John Gilmore  (gnu at cygnus.com)
4821*3d8817e4Smiod
4822*3d8817e4Smiod	* size.c, objdump.c, bucomm.c:  Lint.
4823*3d8817e4Smiod
4824*3d8817e4SmiodThu Jun 11 01:19:06 1992  John Gilmore  (gnu at cygnus.com)
4825*3d8817e4Smiod
4826*3d8817e4Smiod	* objdump.c (dump_elf_stabs): New feature: --stabs prints out a
4827*3d8817e4Smiod	.stab section from an ELF file.  Installed under #ifdef
4828*3d8817e4Smiod	ELF_STAB_DISPLAY so it can be easily disabled, since it requires
4829*3d8817e4Smiod	bfd-internals header files and such.
4830*3d8817e4Smiod	* objdump.1, binutils.texi:  Update for --stabs.  Also fix
4831*3d8817e4Smiod	objdump's doc to use -- rather than + for long options.
4832*3d8817e4Smiod	(FIXME:  Not yet fixed everywhere in binutils.texinfo.)
4833*3d8817e4Smiod
4834*3d8817e4SmiodWed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4835*3d8817e4Smiod
4836*3d8817e4Smiod	* objdump.c(display_info), patches from
4837*3d8817e4Smiod	mohring@informatik.tu-muenchen.de to print the table much more
4838*3d8817e4Smiod	nicely.
4839*3d8817e4Smiod
4840*3d8817e4SmiodThu May 28 13:36:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
4841*3d8817e4Smiod
4842*3d8817e4Smiod	* objdump.c:  Add another enum->int cast, for the sake of
4843*3d8817e4Smiod	old compilers (such as PCC).
4844*3d8817e4Smiod
4845*3d8817e4SmiodWed May 27 13:01:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
4846*3d8817e4Smiod
4847*3d8817e4Smiod	* arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
4848*3d8817e4Smiod	Add declaration of strdup().
4849*3d8817e4Smiod
4850*3d8817e4SmiodFri May 22 13:40:37 1992  Per Bothner  (bothner@cygnus.com)
4851*3d8817e4Smiod
4852*3d8817e4Smiod	* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
4853*3d8817e4Smiod	rules, since these are used when building a distribution.
4854*3d8817e4Smiod	* Makefile.in (arlex.c):  Don't re-direct output, since that
4855*3d8817e4Smiod	leaves a bogus output files if it fails.
4856*3d8817e4Smiod
4857*3d8817e4Smiod	* arlex.l:  Make work with lex, for what it's worth.
4858*3d8817e4Smiod	* Makefile.in:  Better lex support.
4859*3d8817e4Smiod	* Makefile.in (dist):  Generate flex and bison outputs
4860*3d8817e4Smiod	for distribution.
4861*3d8817e4Smiod
4862*3d8817e4SmiodThu May 14 17:17:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4863*3d8817e4Smiod
4864*3d8817e4Smiod	* Makefile.in: get BISON definition right.
4865*3d8817e4Smiod
4866*3d8817e4SmiodFri May  8 07:47:08 1992  K. Richard Pixley  (rich@cygnus.com)
4867*3d8817e4Smiod
4868*3d8817e4Smiod	* sanity.sh: default TMPDIR to ".".
4869*3d8817e4Smiod
4870*3d8817e4SmiodThu May  7 12:34:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
4871*3d8817e4Smiod
4872*3d8817e4Smiod	* binutils.texi: add doc for ar command language.
4873*3d8817e4Smiod
4874*3d8817e4SmiodWed May  6 18:05:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4875*3d8817e4Smiod
4876*3d8817e4Smiod	* arparse.y: make END call ar_end
4877*3d8817e4Smiod	* arsup.c (ar_end): added, deletes temp file if archive session
4878*3d8817e4Smiod	aborted.
4879*3d8817e4Smiod
4880*3d8817e4Smiod
4881*3d8817e4SmiodWed May  6 11:08:53 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4882*3d8817e4Smiod
4883*3d8817e4Smiod	* Makefile.in: use bison & flex from ../ if they exist.  Also,
4884*3d8817e4Smiod	  FLEX->LEX.
4885*3d8817e4Smiod
4886*3d8817e4Smiod	* sanity.sh: remove temporary directory when finished.
4887*3d8817e4Smiod
4888*3d8817e4SmiodTue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
4889*3d8817e4Smiod
4890*3d8817e4Smiod	* Makefile.in:  Bump to version 1.97.
4891*3d8817e4Smiod	* ar.c:  Declare errno for machines that need it.
4892*3d8817e4Smiod
4893*3d8817e4SmiodMon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
4894*3d8817e4Smiod
4895*3d8817e4Smiod	* objdump.c (display_info):  Handle error cases without coredump.
4896*3d8817e4Smiod	Close the dummy temporary file we open in the loop.
4897*3d8817e4Smiod	* Makefile.in (arsup.o):  Add kludge to build with Sun Make.
4898*3d8817e4Smiod
4899*3d8817e4SmiodFri May  1 16:20:23 1992  K. Richard Pixley  (rich@cygnus.com)
4900*3d8817e4Smiod
4901*3d8817e4Smiod	* Makefile.in: added test-install target.
4902*3d8817e4Smiod
4903*3d8817e4Smiod	* sanity.sh: new file.
4904*3d8817e4Smiod
4905*3d8817e4Smiod	* Makefile.in: use sanity test on make check.
4906*3d8817e4Smiod
4907*3d8817e4SmiodTue Apr 21 13:38:37 1992  K. Richard Pixley  (rich@cygnus.com)
4908*3d8817e4Smiod
4909*3d8817e4Smiod	* Makefile.in: rework CFLAGS so that they can be passed on the
4910*3d8817e4Smiod	  command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
4911*3d8817e4Smiod
4912*3d8817e4SmiodWed Apr 15 14:33:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4913*3d8817e4Smiod
4914*3d8817e4Smiod	* arsup.c, arsup.h, arparse.y, arlex.l: support for archive
4915*3d8817e4Smiod	scripting language.
4916*3d8817e4Smiod
4917*3d8817e4SmiodFri Mar  6 21:54:53 1992  K. Richard Pixley  (rich@cygnus.com)
4918*3d8817e4Smiod
4919*3d8817e4Smiod	* Makefile.in: added check target.
4920*3d8817e4Smiod
4921*3d8817e4SmiodThu Mar  5 21:35:49 1992  K. Richard Pixley  (rich@cygnus.com)
4922*3d8817e4Smiod
4923*3d8817e4Smiod	* Makefile.in: added clean-info target.
4924*3d8817e4Smiod
4925*3d8817e4SmiodTue Mar  3 15:36:37 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4926*3d8817e4Smiod
4927*3d8817e4Smiod	* Makefile.in: remove $(COPY_PROG) from PROGS.  It shouldn't be
4928*3d8817e4Smiod	  installed. added tooldir and program_prefix.
4929*3d8817e4Smiod
4930*3d8817e4SmiodWed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
4931*3d8817e4Smiod
4932*3d8817e4Smiod	* Makefile.in, configure.in: removed traces of namesubdir,
4933*3d8817e4Smiod	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
4934*3d8817e4Smiod	  copyrights to '92, changed some from Cygnus to FSF.
4935*3d8817e4Smiod
4936*3d8817e4SmiodSun Feb 16 12:53:02 1992  Per Bothner  (bothner at cygnus.com)
4937*3d8817e4Smiod
4938*3d8817e4Smiod	* Makefile.in:  Bump version to 1.96, and remove -beta
4939*3d8817e4Smiod	suffix from distribution name.
4940*3d8817e4Smiod	* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
4941*3d8817e4Smiod	the signed value of a character (even if chars are unsigned).
4942*3d8817e4Smiod	* sparc-pinsn.c:  Add new operand types.
4943*3d8817e4Smiod
4944*3d8817e4SmiodThu Feb  6 12:14:19 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
4945*3d8817e4Smiod
4946*3d8817e4Smiod	* objdump.c (disassemble_data): don't print a section's contents
4947*3d8817e4Smiod	if it's not loadable (eg bss)
4948*3d8817e4Smiod
4949*3d8817e4SmiodTue Jan 28 11:11:06 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
4950*3d8817e4Smiod
4951*3d8817e4Smiod	* m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
4952*3d8817e4Smiod	displacements don't get printed as large +ve ones.
4953*3d8817e4Smiod
4954*3d8817e4SmiodFri Jan 24 14:47:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
4955*3d8817e4Smiod
4956*3d8817e4Smiod	* copy.c, nm.c, objdump.c, size.c : changed to use the
4957*3d8817e4Smiod	new reloc scheme.
4958*3d8817e4Smiod
4959*3d8817e4Smiod
4960*3d8817e4SmiodMon Dec 30 18:34:41 1991  Per Bothner  (bothner at cygnus.com)
4961*3d8817e4Smiod
4962*3d8817e4Smiod	* bucomm.c (print_arelt_descr):  Tweek the output format
4963*3d8817e4Smiod	so that 'ar tv' output follows Posix 1003.2/D11.
4964*3d8817e4Smiod	Output is now also identical to Sun's (except __.SYMDEF).
4965*3d8817e4Smiod
4966*3d8817e4SmiodMon Dec 30 06:09:53 1991  John Gilmore  (gnu at cygnus.com)
4967*3d8817e4Smiod
4968*3d8817e4Smiod	* Makefile.in:  Make `make' output more readable.
4969*3d8817e4Smiod
4970*3d8817e4SmiodWed Dec 18 15:04:45 1991  Per Bothner  (bothner at cygnus.com)
4971*3d8817e4Smiod
4972*3d8817e4Smiod	* Makefile.in:  Bump to version 1.94.
4973*3d8817e4Smiod
4974*3d8817e4SmiodWed Dec 11 16:48:09 1991  Steve Chamberlain  (sac at cygnus.com)
4975*3d8817e4Smiod
4976*3d8817e4Smiod	* ar.c: added "b" to fopens for dos
4977*3d8817e4Smiod	* configdj.bat, makefile.dos new files from DJ
4978*3d8817e4Smiod
4979*3d8817e4SmiodTue Dec 10 04:07:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
4980*3d8817e4Smiod
4981*3d8817e4Smiod	* Makefile.in: infodir belongs in datadir.
4982*3d8817e4Smiod
4983*3d8817e4SmiodSat Dec  7 17:09:37 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
4984*3d8817e4Smiod
4985*3d8817e4Smiod	* bucomm.h: created to hold prototypes of bucomm.c
4986*3d8817e4Smiod	* objdump.h: created to hold prototyes of objdump.c
4987*3d8817e4Smiod	* am29k-pinsn.c: include objdump.h
4988*3d8817e4Smiod	* ar.c: include bucomm.h, get ar.h from the right place and
4989*3d8817e4Smiod	include libbfd.h
4990*3d8817e4Smiod	* bucomm.c: defunize bfd_fatal
4991*3d8817e4Smiod	* copy.c: include bucomm.h, lint.
4992*3d8817e4Smiod	* i960-pinsn.h: include bucomm.h
4993*3d8817e4Smiod	* m68k-pinsn.h: lint
4994*3d8817e4Smiod	* nm.c: include bucomm.h, lint
4995*3d8817e4Smiod	* objdump.c: lint
4996*3d8817e4Smiod	* sparc-pinsn.c: include objdump.h
4997*3d8817e4Smiod
4998*3d8817e4Smiod
4999*3d8817e4Smiod
5000*3d8817e4SmiodFri Dec  6 23:02:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5001*3d8817e4Smiod
5002*3d8817e4Smiod	* Makefile.in: added standards.text support.  install using
5003*3d8817e4Smiod	  INSTALL_PROGRAM and INSTALL_DATA.
5004*3d8817e4Smiod
5005*3d8817e4Smiod	* configure.in: configure now does all of it's work from objdir so
5006*3d8817e4Smiod	  make file existence tests against ${srcdir}.
5007*3d8817e4Smiod
5008*3d8817e4SmiodThu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5009*3d8817e4Smiod
5010*3d8817e4Smiod	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
5011*3d8817e4Smiod	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
5012*3d8817e4Smiod	  and mandir now keyed off datadir by default.
5013*3d8817e4Smiod
5014*3d8817e4SmiodWed Dec  4 22:42:03 1991  Per Bothner  (bothner at cygnus.com)
5015*3d8817e4Smiod
5016*3d8817e4Smiod	* Makefile.in:  Bump to version 1.93.
5017*3d8817e4Smiod	* Makefile.in:  Add make-strip.o:maybe-strip.c dependency
5018*3d8817e4Smiod	for make versions that provide half-baked VPATH-support (e.g. Sun's).
5019*3d8817e4Smiod	* size.c:  Improvements suggested by
5020*3d8817e4Smiod	"david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
5021*3d8817e4Smiod	- Don't emit (Berkeley) headers if no files were found.
5022*3d8817e4Smiod	- Return a non-zero return code on failure.
5023*3d8817e4Smiod
5024*3d8817e4SmiodSat Nov 30 21:34:19 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
5025*3d8817e4Smiod
5026*3d8817e4Smiod	Changes due to include file renaming:
5027*3d8817e4Smiod	* am29k-pinsn.c: a29k-opcode.h	-> opcode/a29k.h
5028*3d8817e4Smiod	* sparc-pinsn.c: sparc-opcode.h	-> opcode/sparc.h
5029*3d8817e4Smiod	* m68k-pinsn.c:	 m68k-opcode.h	-> opcode/m68k.h
5030*3d8817e4Smiod	* nm.c:		 stab.gnu.h	-> aout/stab_gnu.h
5031*3d8817e4Smiod
5032*3d8817e4SmiodTue Nov 19 19:20:43 1991  Per Bothner  (bothner at cygnus.com)
5033*3d8817e4Smiod
5034*3d8817e4Smiod	* README:  Mention MINIMIZE flag for bfd's make.
5035*3d8817e4Smiod
5036*3d8817e4SmiodMon Nov 18 12:05:37 1991  Per Bothner  (bothner at cygnus.com)
5037*3d8817e4Smiod
5038*3d8817e4Smiod	* README:  Various improvements.
5039*3d8817e4Smiod
5040*3d8817e4SmiodSun Nov 17 23:40:59 1991  Per Bothner  (bothner at cygnus.com)
5041*3d8817e4Smiod
5042*3d8817e4Smiod	* Makefile.in:  Bump to version 1.92.
5043*3d8817e4Smiod	* version.c, Makefile.in:  Get version string from Makefile.
5044*3d8817e4Smiod	* copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
5045*3d8817e4Smiod	Make the same change that we earlier did for ar/ranlib:
5046*3d8817e4Smiod	Generate two different binaries for strip and copy and use
5047*3d8817e4Smiod	a global variable with different values to distinguish
5048*3d8817e4Smiod	ostrip from copy.  (-1 means to use argv[0] to decide,
5049*3d8817e4Smiod	so you can get the old behavior, but it is no longer the default).
5050*3d8817e4Smiod	* copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
5051*3d8817e4Smiod	* copy.c (main):  If is_strip==-1, compare last 5 chars
5052*3d8817e4Smiod	of argv[0], not the whole path.
5053*3d8817e4Smiod	* copy.c (main): Return 0, not 1.
5054*3d8817e4Smiod	* copy.c (setup_sections):  Fix due to change in bfd_make_section
5055*3d8817e4Smiod	now failing if asked for a duplicate section.
5056*3d8817e4Smiod	* strip.c, ostrip.c:  Removed obsolete files.
5057*3d8817e4Smiod	* ar.c, not-ranlib.c, maybe-ranlib.c:
5058*3d8817e4Smiod	Change encoding of is_ranlib variable to be consistent
5059*3d8817e4Smiod	with is_strip for strip.copy (i.e -1 to means use argv[0]).
5060*3d8817e4Smiod
5061*3d8817e4SmiodThu Nov 14 20:11:02 1991  Per Bothner  (bothner at cygnus.com)
5062*3d8817e4Smiod
5063*3d8817e4Smiod	* version.c (program_version): Update to version 1.92.
5064*3d8817e4Smiod
5065*3d8817e4SmiodTue Nov 12 16:17:53 1991  Per Bothner  (bothner at cygnus.com)
5066*3d8817e4Smiod
5067*3d8817e4Smiod	* ar.c (get_pos_bfd):  Previous fix was missing a "break".
5068*3d8817e4Smiod
5069*3d8817e4SmiodThu Nov  7 08:55:56 1991  Steve Chamberlain  (sac at cygnus.com)
5070*3d8817e4Smiod
5071*3d8817e4Smiod	* am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
5072*3d8817e4Smiod	encodings. (Thaks to David Wood)
5073*3d8817e4Smiod
5074*3d8817e4SmiodSun Nov  3 14:50:23 1991  Per Bothner  (bothner at cygnus.com)
5075*3d8817e4Smiod
5076*3d8817e4Smiod	* Makefile.in ($(DIST_NAME).tar.Z), TODO:  Various fixes.
5077*3d8817e4Smiod	* ar.c (get_pos_bfd): Fix to handling of before/after
5078*3d8817e4Smiod	positioning options.
5079*3d8817e4Smiod	* bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
5080*3d8817e4Smiod	since libiberty contains vfprintf etc if otherwise missing.
5081*3d8817e4Smiod	* m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
5082*3d8817e4Smiod	type operands, as used by branch instructions.
5083*3d8817e4Smiod	* nm.c:  Delegate printing of symbols to BFD,
5084*3d8817e4Smiod	by using bfd_print_symbol to do the formatting.
5085*3d8817e4Smiod
5086*3d8817e4SmiodMon Oct 28 11:20:47 1991  Steve Chamberlain  (steve at cygnus.com)
5087*3d8817e4Smiod
5088*3d8817e4Smiod	* ar.c (write_archive.c): added unlink before rename since some
5089*3d8817e4Smiod	systems can't rename onto an existant file.
5090*3d8817e4Smiod
5091*3d8817e4SmiodMon Oct 21 09:47:23 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
5092*3d8817e4Smiod
5093*3d8817e4Smiod	* nm.c: now doesn't crash if a symbol with no section and no
5094*3d8817e4Smiod	SEC_ABS appears.
5095*3d8817e4Smiod
5096*3d8817e4SmiodThu Oct 17 15:25:50 1991  Per Bothner  (bothner at cygnus.com)
5097*3d8817e4Smiod
5098*3d8817e4Smiod	* Makefile.in, version.c:  Bump to version 1.91.
5099*3d8817e4Smiod
5100*3d8817e4SmiodWed Oct 16 11:45:36 1991  Per Bothner  (bothner at cygnus.com)
5101*3d8817e4Smiod
5102*3d8817e4Smiod	* Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
5103*3d8817e4Smiod	i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
5104*3d8817e4Smiod	* strip.c: Add or update Copyright notice.
5105*3d8817e4Smiod	* TODO:  Add note on 'nm -a'.
5106*3d8817e4Smiod	* version.c: Update version number to 1.90.
5107*3d8817e4Smiod	* Makefile.in: Fix making of documentation for dist.
5108*3d8817e4Smiod
5109*3d8817e4SmiodTue Oct 15 00:17:17 1991  Per Bothner  (bothner at cygnus.com)
5110*3d8817e4Smiod
5111*3d8817e4Smiod	* README: New file.
5112*3d8817e4Smiod	* Makefile.in: New kludgy rules for making a tarfile.
5113*3d8817e4Smiod	* Makefile.in: Fix bindir path.
5114*3d8817e4Smiod
5115*3d8817e4SmiodMon Oct 14 17:34:29 1991  Roland H. Pesch  (pesch at cygnus.com)
5116*3d8817e4Smiod
5117*3d8817e4Smiod	* Makefile.in: add targets binutils.mm, binutils.me
5118*3d8817e4Smiod
5119*3d8817e4SmiodFri Oct 11 22:44:21 1991  John Gilmore  (gnu at cygnus.com)
5120*3d8817e4Smiod
5121*3d8817e4Smiod	* Makefile.in:  Avoid Sun Make VPATH bugs by adding dependencies.
5122*3d8817e4Smiod
5123*3d8817e4SmiodFri Oct 11 12:51:33 1991  Roland H. Pesch  (pesch at cygnus.com)
5124*3d8817e4Smiod
5125*3d8817e4Smiod	* Makefile.in: add target "binutils.ms"
5126*3d8817e4Smiod
5127*3d8817e4Smiod	* binutils.texinfo: minor restructuring for texi2roff comfort.
5128*3d8817e4Smiod
5129*3d8817e4SmiodFri Oct 11 04:12:28 1991  John Gilmore  (gnu at cygnus.com)
5130*3d8817e4Smiod
5131*3d8817e4Smiod	Restructure configuration scheme for bfd, binutils, ld.
5132*3d8817e4Smiod
5133*3d8817e4Smiod	* configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
5134*3d8817e4Smiod	Change some config names to match other dirs.
5135*3d8817e4Smiod	* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
5136*3d8817e4Smiod	get defined first.
5137*3d8817e4Smiod	* Makefile.in:  Use -I. to get sysdep.h.
5138*3d8817e4Smiod
5139*3d8817e4SmiodWed Oct  9 22:42:56 1991  Per Bothner  (bothner at cygnus.com)
5140*3d8817e4Smiod
5141*3d8817e4Smiod	* nm.c (print_symbols):  Handle NULL name field of symbol.
5142*3d8817e4Smiod	* Makefile.in: Removed spurious comment.
5143*3d8817e4Smiod
5144*3d8817e4SmiodTue Oct  8 16:55:03 1991  Roland H. Pesch  (pesch at cygnus.com)
5145*3d8817e4Smiod
5146*3d8817e4Smiod	* binutils.texinfo: minor typos, phrasing, formatting fixes.
5147*3d8817e4Smiod
5148*3d8817e4SmiodTue Oct  8 15:13:20 1991  Per Bothner  (bothner at cygnus.com)
5149*3d8817e4Smiod
5150*3d8817e4Smiod	* configure.in: Get host file from ../bfd/config, not config.
5151*3d8817e4Smiod	* config/*: Remove config directory and its files.
5152*3d8817e4Smiod
5153*3d8817e4SmiodTue Oct  8 13:58:59 1991  Roland H. Pesch  (pesch at cygnus.com)
5154*3d8817e4Smiod
5155*3d8817e4Smiod	* Makefile.in: new targets binutils.dvi, binutils.info
5156*3d8817e4Smiod
5157*3d8817e4Smiod	* binutils.texinfo: remove most remaining FIXME's, delete
5158*3d8817e4Smiod	references to __.SYMDEF by name
5159*3d8817e4Smiod
5160*3d8817e4Smiod
5161*3d8817e4SmiodTue Oct  8 10:23:44 1991  Steve Chamberlain  (steve at cygnus.com)
5162*3d8817e4Smiod
5163*3d8817e4Smiod	* objdump.c (print_address) Print addresses nicely.
5164*3d8817e4Smiod
5165*3d8817e4SmiodMon Oct  7 11:31:05 1991  Per Bothner  (bothner at cygnus.com)
5166*3d8817e4Smiod
5167*3d8817e4Smiod	* ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
5168*3d8817e4Smiod	Make two different binaries for ar and ranlib, instead of
5169*3d8817e4Smiod	distinguishing them at run time using argv[0].
5170*3d8817e4Smiod	(Old behavior is still available if you "make ar_with_ranlib",
5171*3d8817e4Smiod	but it is not the default.)
5172*3d8817e4Smiod	* ranlib.sh (new):  An alternative one-line
5173*3d8817e4Smiod	shell implementation of ranlib.
5174*3d8817e4Smiod
5175*3d8817e4SmiodFri Oct  4 21:49:44 1991  John Gilmore  (gnu at cygnus.com)
5176*3d8817e4Smiod
5177*3d8817e4Smiod	* objdump.c:  Cope with renames of a few BFD types & enums.
5178*3d8817e4Smiod
5179*3d8817e4SmiodFri Oct  4 19:08:09 1991  Roland H. Pesch  (pesch at cygnus.com)
5180*3d8817e4Smiod
5181*3d8817e4Smiod	* binutils.texinfo: add new file (rudimentary docn)
5182*3d8817e4Smiod
5183*3d8817e4SmiodMon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
5184*3d8817e4Smiod
5185*3d8817e4Smiod	* config/hmake-news: Add new file (for Sony NEWSOS3).
5186*3d8817e4Smiod	* bucomm.c (fatal):  Conditionally compile fatal() depending on
5187*3d8817e4Smiod	MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
5188*3d8817e4Smiod	* objdump.c (dump_headers):  Trivial output format change.
5189*3d8817e4Smiod	* objdump.c (display_info): Loop over integers, not enums,
5190*3d8817e4Smiod	to appease old compilers.
5191*3d8817e4Smiod
5192*3d8817e4SmiodMon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
5193*3d8817e4Smiod
5194*3d8817e4Smiod        *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit
5195*3d8817e4Smiod	object files.
5196*3d8817e4Smiod
5197*3d8817e4SmiodThu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
5198*3d8817e4Smiod     from bother
5199*3d8817e4Smiod	* objdump.c (print_address): Make disasembled output more
5200*3d8817e4Smiod	consistent with gdb and as: Add 0x when printing hex.
5201*3d8817e4Smiod	Don't print extra leading zeros.
5202*3d8817e4Smiod	Attempt to not print "filename.o".
5203*3d8817e4Smiod	* objdump.c: Add some enum-to-int casts to accommodate old compilers.
5204*3d8817e4Smiod
5205*3d8817e4Smiod
5206*3d8817e4SmiodFri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
5207*3d8817e4Smiod
5208*3d8817e4Smiod	* copy.c:  Change =& constructs to = &, since they confuse older
5209*3d8817e4Smiod	C compilers.
5210*3d8817e4Smiod
5211*3d8817e4Smiod
5212*3d8817e4SmiodLocal Variables:
5213*3d8817e4Smiodmode: change-log
5214*3d8817e4Smiodleft-margin: 8
5215*3d8817e4Smiodfill-column: 74
5216*3d8817e4Smiodversion-control: never
5217*3d8817e4SmiodEnd:
5218