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