* libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdr
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
a95abbb3
ILT
1Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2start-sanitize-powerpc-netware
3
4 * nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
5 Change caller. Create custom header for new PowerPC NetWare
6 format.
7end-sanitize-powerpc-netware
8
9 * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
10 * nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
11 * nlmheader.y: Include bfd.h with "", not <>.
12
ebc9eeba
ILT
13Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14
15 * objdump.c: Do an ifdef on __GO32__, not unix.
16
de3b08ac
ILT
17Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18
19 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
20 (--dynamic-reloc) arguments to objdump.
21 * nm.c (dynamic): New static variable.
22 (long_options): Added "dynamic".
23 (usage): Mention -D and --dynamic.
24 (main): Add D to getopt string. Handle -D by setting dynamic.
25 (display_rel_file): If dynamic is non-zero, read dynamic symbols
26 rather than normal symbols.
27 * nm.1: Updated for -D (--dynamic) option.
28 * objdump.c (dump_dynamic_symtab): New global variable.
29 (dump_dynamic_reloc_info): New global variable.
30 (dynsyms, dynsymcount): New global variables.
31 (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
32 (long_options): Added "dynamic-reloc" and "dynamic-syms".
33 (slurp_symtab): If no symbols, return rather than exit.
34 (slurp_dynamic_symtab): New function.
35 (display_bfd): Handle dump_dynamic_symtab and
36 dump_dynamic_reloc_info.
37 (dump_symbols): Take new dynamic argument, indicating whether to
38 display dynamic symbols.
39 (dump_relocs): Move most printing into dump_reloc_set.
40 (dump_dynamic_relocs): New function.
41 (dump_reloc_set): New function, extracted from dump_relocs.
42 (main): Add R and T to getopt string. Handle -T by setting
43 dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
44 * objdump.1: Updated for -R (--dynamic-reloc) and -T
45 (--dynamic-syms) options.
46 * binutils.texi: Updated for new nm and objdump options.
47
ae5d2ff5
ILT
48Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
49
50 Update for recent BFD changes to symbol and reloc reading. Rename
51 all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
52 Also:
53 * coffgrok.c (symcount): Change to long.
54 (do_sections_p1): Check for error return from
55 bfd_get_reloc_upper_bound. Change relcount to long, and check for
56 error from bfd_canonicalize_reloc.
57 (coff_grok): Change storage to long. Check for error from
58 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
59 * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
60 i to long. Check for error from bfd_get_symtab_upper_bound and
61 bfd_canonicalize_symtab.
62 (copy_sections): Change reloc_size and reloc_count to long. Check
63 for error from bfd_get_reloc_upper_bound and
64 bfd_canonicalize_reloc.
65 (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
66 reloc_count_ptr argument to long *. Make corresponding changes to
67 variables loaded from *reloc_count_ptr.
68 * nm.c (display_rel_file): Change storage and symcount to long.
69 Check for errors from bfd_get_symtab_upper_bound and
70 bfd_canonicalize_symtab.
71 * objcopy.c (filter_symbols): Change symcount, src_count and
72 dst_count to long.
73 (copy_object): Change symcount to long. Pass another argument to
74 fprintf. Check for errors from bfd_get_symtab_upper_bound and
75 bfd_canonicalize_symtab.
76 (copy_section): Change relcount to long. Check for errors from
77 bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
78 (mark_symbols_used_in_relocations): Change relcount and i to long.
79 Check for errors form bfd_get_reloc_upper_bound and
80 bfd_canonicalize_reloc.
81 * objdump.c (storage): Remove global variable.
82 (symcount): Changed to long.
83 (slurp_symtab): New local variable storage. Check for errors from
84 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
85 (remove_useless_symbols): Change return value and count to long.
86 (objdump_print_address): Change min, max, thisplace and i to long.
87 (disassemble_data): Change i to long.
88 (dump_symbols): Change count to long.
89 (dump_relocs): Change relcount to long. Check for errors from
90 bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
91 (display_info_table): Add casts when passing LONGEST_ARCH for
92 printf %* argument.
93
9f191108
ILT
94Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
95
96 * nm.c (display_archive): Close each archive element after it has
97 been displayed.
8f197c94 98 * objdump.c (display_file): Likewise.
9f191108 99
934ec70a
ILT
100Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
101
102 * configure.in: Change error message to refer to bfd/config.bfd
103 rather than bfd/configure.in.
104
77ccab3c
JL
105Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
106
107 * More fixes for object formats which allow multiple sections
108 with the same name:
109 * objcopy.c (setup_section): Make a new output section even if
110 one already exists with the given name.
111 (copy_section): Use isection->output_section rather than trying
112 to look the output section up by its (possibly non-unique) name.
113
114 * Makefile.in (install-info): Look for binutils.info in the
115 current directory, then in $(srcdir). Don't use $<.
116
93e53ea4
ILT
117Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
118
119 * objdump.c (objdump_print_address): Make static. Declare with
120 prototype. Change vardiff from int to bfd_signed_vma. Correct
121 binary search termination condition. When looking for same
122 section symbol in relocatable file, handle final symbol correctly.
123
fb158b92
JL
124Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
125
4e85e79f
JL
126 * Makefile.in: Avoid bug in hpux sed.
127
fb158b92
JL
128 * objcopy.c: Changes to keep it from stripping symbols used
129 in output relocations.
130 (mark_symbols_used_in_relocations): New function. Mark symbols
131 used in output relocations with BSF_KEEP.
132 (filter_symbols): Do not strip symbols marked with BSF_KEEP.
133 (copy_object): Reorder actions. First setup sections, then
134 build the output symbol table, then copy the section contents.
135
60e9faeb
ILT
136Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
137
138 * ar.c (write_archive): Allocate space for the null byte. From
139 Robert Lipe <robertl@arnet.com>.
140
06459c06
ILT
141Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
142
143 * Makefile.in: Built nm.new and strip.new to avoid problems with
144 collect when . is in PATH.
145 (STRIP_PROG): Change from strip to strip.new.
146 (NM_PROG): Change from nm to nm.new.
147 (install): Remove the .new when installing.
148
149start-sanitize-powerpc-netware
150Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
151
152 * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
153 symbol for which we build a stub.
154 (powerpc_mangle_relocs): Only reset TOC pointer for a call to a
155 symbol with BSF_DYNAMIC flag set.
156
157end-sanitize-powerpc-netware
1d483829
JL
158Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
159
160 * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
161 if a symbol represents a compiler-generated local label.
162 (copy_object): Give the BFD backends a chance to copy any private
163 bfd data from the input BFD to the output BFD.
164 (setup_section): Give the BFD backends a chance to copy any private
165 section data from the input section to the output section.
166
c9563567
JL
167Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
168
169 * objcopy.c (mangle_section): Delete unused function.
170 (setup_section): Set osection here instead of calling
171 mangle section to do it.
172
ad8e3db9
ILT
173Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
174
175 * ar.c (write_archive): Close inarch before unlinking it.
176
4bd7a65f
ILT
177start-sanitize-powerpc-netware
178Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
179
180 * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
181 powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if
182 the start and end symbols are not in the text section.
183 (struct powerpc_stub): New struct definition.
184 (powerpc_stubs, powerpc_stub_insns): New static variables.
185 (powerpc_initial_got_size): New static variable.
186 (powerpc_build_stubs): New function.
187 (powerpc_resolve_stubs): New function.
188 (powerpc_mangle_relocs): Clear extraneous data in .got section.
189 Rearrange reloc handling to handle ELF relocs that are not
190 partial_inplace. Resolve PC relative relocs.
191
192end-sanitize-powerpc-netware
9fdf266c
SC
193Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac@jonny.cygnus.com)
194
195 * ar.c (move_members): Fix it so that the abi positional modifiers
196 don't delete all archive members following the insert point.
197
e52e2acd
SC
198Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com)
199
200 * coffgrok.[ch]: New files, understand coff objects.
201 * coffdump.c: Uses coffgrok to dump out the debug info of a coff
202 file.
203 * sysroff.info: Description of a SYSROFF object file.
204 * sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
205 header files and a printer.
206 * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
207 file to a SYSROFF file.
208
6eb243a2
SS
209Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
210
211 * ar.c (do_quick_append): Pad with a genuine character 10,
212 rather than whatever '\n' might happen to be.
213
214Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com)
215
216 * nlmconv.c (main): Ignore debugging symbols when looking for
217 special symbols by name.
218
219Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
220
221 * nlmconv.c: Include libiberty.h.
222start-sanitize-powerpc-netware
223 Support for PowerPC NetWare.
224 * nlmconv.c (main): For PowerPC NetWare, automatically define the
225 special symbols __toc_start.
226 (select_output_format): Handle bfd_arch_powerpc.
227 (mangle_relocs): Likewise.
228 (powerpc_mangle_relocs): New function.
229end-sanitize-powerpc-netware
230
7681bc7b
DM
231Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
232
233 * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
234 size.c: Use bfd_get_error and bfd_set_error and new error names.
235
704bbd0d
DM
236Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com)
237
238 * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
239
240Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
241
242 * objdump.c (disassemble_data): Handle bfd_arch_powerpc.
243
244Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com)
245
246 * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
247 Call xmalloc_set_program_name.
248
5d2f7e30
DM
249Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com)
250
251 * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
252 can do arithmetic on it.
253
250e36fe
DM
254Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com)
255
256 * objdump.c (dump_section_stabs, read_section_stabs,
257 print_section_stabs): Functions broken out of dump_stabs_1.
258 Free the stabs and strings when done with them.
259
cef35d48
DM
260Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
261
0c5dc23c
DM
262 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
263 * ar.c (print_contents, extract_file), size.c
6f9dff07 264 (print_berkeley_format, print_sysv_format): Use bfd_get_filename and
0c5dc23c
DM
265 bfd_my_archive instead of dereferencing the structs directly.
266
0c62139f
DM
267 * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
268 Indent. Remove DEFUNs.
269
cef35d48
DM
270 * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
271 if ambiguous match.
6f9dff07
DM
272 * nm.c (display_file, display_archive), size.c (display_bfd):
273 Eliminate gotos.
cef35d48
DM
274 Print matching formats if there is an ambiguous match. Use
275 bfd_nonfatal instead of hardcoded error message if nothing matches.
276
277 * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
278 abfd->filename.
279
280 * nm.c (display_archive): New function, from code in display_file.
281 (display_rel_file): Renamed from do_one_rel_file.
282
283 * size.c: Indent.
284 (display_archive): New function from code in display_file.
285 (display_file): Check bfd_close error return.
286
287 * strings.c (strings_object_file): Check bfd_check_format
288 error return.
289
290 * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
291
292 * bucomm.c: Delete references to exit_handler. It wasn't set
293 anywhere, and now that we're using the libiberty xmalloc, it
294 wouldn't always get called before exiting.
295 (list_matching_formats): Function moved from objdump.c.
296 * bucomm.h: Declare it.
297
298 * objdump.c (disassemble_data): Move some variable decls closer to
299 their use. Add some comments. Replace a nested block with a
300 return.
301
334d6e76
SS
302Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com)
303
304 * objdump.c (display_target_list, display_info_table): Check that
305 the bfd of the dummy output file is not null.
306
f7b839f7
DM
307Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm@thepub.cygnus.com)
308
309 * objcopy.c (filter_bytes): New function.
310 (copy_section): Call it.
311 (copy_options, copy_usage, copy_main): Add --byte option to
312 activate it. Appropriate the -b option (which was an undocumented
313 synonym for -F) for it, also. Add --interleave, -i option for
314 additional control.
315 (setup_section, copy_section, mangle_section): Renamed with no `s'
316 on the end.
317 * objcopy.1, binutils.texi: Document the new options.
318
319 * objdump.c (display_target_tables, display_target_list):
320 New functions broken out of display_info.
321 Eliminate some magic constants. Use more meaningful variable names.
322 (dump_bfd_header): New function broken out of display_bfd.
323 (dump_section_header): New function broken out of dump_headers.
324 (remove_useless_symbols): Don't shadow global variable name with
325 parameter.
326 (objdump_print_address): Fix backward test.
327
0886e098
SS
328Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)
329
330 * bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
331 * objdump.h: Removed.
332
db2e6adb
DM
333Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com)
334
209e5610
DM
335 * objdump.c (display_file): Remove call to list_matching_formats.
336 It would never be called.
337 (list_matching_formats): Take an arg giving the list of matching
338 formats.
339 (display_bfd): Pass the arg, and get it filled in by calling
340 bfd_check_format_matches instead of bfd_check_format.
abdcac0f
DM
341 (display_info, display_info_table): target_vector was renamed to
342 bfd_target_vector.
209e5610 343
db2e6adb
DM
344 * binutils.texi (objdump): Note some limitations of -h section
345 address printing.
346
37853673
SS
347Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com)
348
349 * Makefile.in (MALLOC): Set to emptiness by default.
350 (ALL_CFLAGS): Add and use.
351 (arparse.h): Make it depend on arparse.y.
352 * ar.c (libbfd.h): Don't require to be in ../bfd.
353 * objdump.c (comp): Rename to compare_symbols.
354
eae82145
DM
355Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm@thepub.cygnus.com)
356
357 * objdump.c (list_matching_formats): If the file format is ambiguous,
358 print the matching names so the user can choose one.
359 (display_bfd): Call it.
360 (display_file): Call it.
361
722087ec
ILT
362Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
363
364 * objdump.c (disassemble_data): Support bfd_arch_rs6000.
365
fe2750e1
SS
366Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
367
368 * objdump.c (stab_name): Allocate dynamically.
369 (stab_print): Use pointers to strings instead of char arrays.
370 (dump_stabs): Change alloc and init of arrays appropriately.
371 (dump_stabs_1): Always decide whether to print stab_name or
372 the stab's type number, if unnamed.
373
e70f2bde
ILT
374Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
375
46050fe4
ILT
376 * objcopy.c (strip_main, copy_main): Don't clobber the input file
377 if copy_file fails.
378
1edb7335
ILT
379 * nlmconv.c (main): Warn about an attempt to use a shared library
380 with uninitialized data.
381
e70f2bde
ILT
382 * nlmconv.c (setup_sections): Make sure that we align the
383 output_offset of each input section appropriately.
384
02a68547
ILT
385Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
386
387 * objdump.c (dump_relocs): Don't crash if section name is NULL.
388
389Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
390
391 * filemode.c (filemodestring): Commented out; not used.
392 (mode_string): Use POSIX definitions.
393 (ftypelet): Likewise.
394 (rwx): Removed; no longer used.
395 * bucomm.c: Include bucomm.h.
396 (bfd_nonfatal, bfd_fatal): Argument is const.
397 (fatal): Make __STDC__ version.
398 * bucomm.h (mode_string): Declare.
399 * Makefile.in (bucomm.o): Depend upon bucomm.h
400
401Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
096aefc0
KR
402
403 * bucomm.c (xmalloc, xrealloc): Deleted.
404 * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
405 libiberty version of functions.
406
eae04238
DM
407Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm@thepub.cygnus.com)
408
409 * binutils.texi: Add a chapter summarizing the ways to select
410 aspects of the target for each program.
411
412 * objdump.c (long_options, usage): Add long equivalents for all
413 remaining short options that lacked them.
414 * binutils.texi objdump.1: Document them.
415
416 * size.c (usage): Tweak usage message.
417 * size.1: Add missing `=' in examples.
418
419 * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
420 Use "--target=bfdname" as the option to select the BFD target,
421 like nm and size already do.
422 Reserve "--format=format" for textual output selection options, but
423 for now keep old option names as obsolete for backward compatibility.
424
425 * strings.c (main, strings_object_file, usage): Add --target option.
426 * binutils.texi strings.1: Document it.
427
428Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm@thepub.cygnus.com)
429
430 * ar.c (main): Add \n in error message.
431
9ef23d71
ILT
432Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
433
434 gcc -Wall lint:
435 * ar.c (main): Put parens around assignment used as truth value.
436 * objcopy.c (strip_main): Remove unused variables. Return 0.
437 (copy_main): Remove unused variables. Return 0.
438 * objdump.c (display_bfd): Declare return value as void.
439 (stab_print): Use "" instead of 0 to initialize array.
440 (dump_stabs_1): Print vma using printf_vma.
441 (display_info): Put parens around assignment used as truth value.
442 * strings.c (print_strings): Cast printf arguments.
443
444 * objcopy.c (copy_main): Use copy_options, not strip_options.
445
446 * nlmheader.y (command): Warn about illegal date values.
447
448Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm@frosty.eng.umd.edu)
449
450 * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify.
451 (bfd_nonfatal): New function.
452 (bfd_fatal): Call it.
453
454 * objcopy.c (smart_rename): Do a copy if the dest file has
455 multiple hard links. Remove source file on successful copy.
456 Try to preserve mode and owner on successful rename.
457
458 * objcopy.c: Run through indent. Clean up a bit.
459 Make global variables static.
460 Make {input,output}_{target,filename}, show_version local
461 to various functions.
462 New global variable `status' for exit status.
463 (strip_main, copy_main): New functions with code from main.
464 (nonfatal): New macro. Use it globally instead of bfd_perror and
465 bfd_fatal.
466
467 (copy_object): Call mangle_sections with bfd_map_over_sections.
468 (mangle_sections): Adjust for new calling convention.
469
6972011b
ILT
470Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
471
472 * nlmheader.y (command): Accept MAP and FULLMAP without arguments.
473 * nlmconv.c (main): Change error message for MAP and FULLMAP.
474
0f6df2ee
ILT
475Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
476
4e58b3eb
ILT
477 * nlmconv.c (main): Warn about imported symbols that are not in
478 the IMPORT list even if the IMPORT keyword is not used.
479
0f6df2ee
ILT
480 * nlmconv.c (debug, unlink_on_exit): New static variables.
481 (long_options): Add "debug" and "linker".
482 (main): Handle -d and -l arguments. Make command line input and
483 output files optional. Parse the command file before opening the
484 BFD's, which requires storing more information in local variables.
485 If INPUT names multiple files, link them together. Use OUTPUT for
486 the output file name if not named on command line.
487 (show_usage): Changed for new options.
488 (link_inputs): New function to automatically invoke linker to
489 handle multiple INPUT files.
490 (choose_temp_base_try, choose_temp_base, pexecute): New functions,
491 mostly copied from gcc/gcc.c.
492 * nlmconv.h (input_files, output_file): Declare.
493 * nlmheader.y (input_files, output_file): Define.
494 (command): Support INPUT with a string_list argument. Support
495 OUTPUT.
496 (string_list): Renamed from module_list.
497 * Makefile.in (nlmconv.o): Define LD_NAME based on
498 program_transform_name.
499
627703f9
ILT
500Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
501
502 * nlmheader.y (nlmheader_identify): New function. Use it to print
503 the program name just once, instead of with every error message.
504
419093bc
ILT
505Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
506
507 * nlmconv.c (long_options): Changed --header-info to --header-file
508 to match documentation and usage message.
509
e2767a01
JL
510Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
511
512 * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
513 in a relocation.
514
515Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
516
517 * nlmconv.c (main): Change various types from bfd_size_type to
518 size_t, since they have to be arguments to fread and fwrite.
519 Change set from char * to unsigned char *.
520 (select_output_format): Make mach argument unsigned. Handle
521 bfd_arch_alpha.
522 (setup_sections): Don't copy the .reginfo section of an ECOFF
523 file. Call bfd_set_reloc to initialize the relocation fields.
524 (copy_sections): Don't copy the .reginfo section of an ECOFF file.
525 Combine all relocs for a section.
526 (mangle_relocs): Change type of relocs to permit specific
527 functions to change it. Call alpha_mangle_relocs for alpha,
528 default_mangle_relocs for other architectures.
529 (default_mangle_relocs): New function. Adjust the address of all
530 relocs by the output_offset.
531 (i386_mangle_relocs): Change type of relocs argument. Cast length
532 argument to memmove to size_t.
533 (alpha_mangle_relocs): New function.
534
3fa2ae53
ILT
535Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com)
536
537 * nlmconv.c (select_output_format): Use nlm32-sparc for
538 bfd_arch_sparc.
539
540Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com)
541
542 * nlmconv.1: added man page
543 * objcopy.1: fixed format errors
544
94333f27
ILT
545Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
546
547 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
548
80f31fbb
DM
549Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm@thepub.cygnus.com)
550
551 * strings.1: Fix typo.
552
553Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
554
555 * Makefile.in (DISTSTUFF): Build "info".
556 (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
557
cca528fa
JL
558Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
559
560 * objdump.c (dump_stabs): Handle stabs-in-som as implemented
561 by the new BFD SOM assembler.
562
938fa52b
DM
563Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm@rtl.cygnus.com)
564
565 * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
566 strings.1 strip.1: Replace \(em in NAME section with \- so
567 makewhatis can grok it.
568
ea5a60a1
ILT
569Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
570
571 * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
572 section output_offset.
573
574Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com)
575
576 * binutils.texi: added nlmconv chapter
577
51b7bf87
JW
578Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy@cygnus.com)
579
580 * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
581
582Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn@rover.cygnus.com)
583
584 * Makefile.in (distclean): Don't get rid of dvi or info files.
585
d6f8ba7e
DM
586Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm@rtl.cygnus.com)
587
588 * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
589
53a3e5b5
DM
590Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
591
d6f8ba7e
DM
592 * binutils.texi: Move objcopy docs into alphabetical order.
593
53a3e5b5
DM
594 * objdump.c: Use xmalloc instead of malloc.
595
e1ec9f07
SS
596Fri Oct 29 11:11:14 1993 Stan Shebs (shebs@rtl.cygnus.com)
597
598 * objdump.c (info): Rename to formats_info.
599 (dump_stabs_1): Better comments and formatting.
600
4ecf13a8
SS
601Thu Oct 28 19:43:16 1993 Stan Shebs (shebs@rtl.cygnus.com)
602
603 * ar.c (main): Always create the archive when quick appending,
604 even if no input files have been given.
605
90d8edfd
ILT
606Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
607
6a6d38c8
ILT
608 * nlmconv.c (main): Set sharedDebugRecordOffset and
609 sharedDebugRecordCount fields in extended header.
610
90d8edfd
ILT
611 * nlmconv.c (main): Force moduleName field to upper case.
612
8cfa4950
ILT
613Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
614
615 * objcopy.c (main): Give a usage message if there are too many
616 arguments.
617
ca0a2b2d
KR
618Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn@rover.cygnus.com)
619
620 * Makefile.in (install-info): Rewrite to take advantage of VPATH,
621 so FSF distributions (with info files in $(srcdir)) install
622 properly.
623 (DISTSTUFF): Build nlmheader.c too.
624
625Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn@rover.cygnus.com)
626
627 * ar.c (program_name): Don't define here.
628 * objdump.c: Include "bucomm.h".
629 (xmalloc): Don't declare here.
630 (program_name): Don't define here.
631 (program_version): Fixed type in declaration.
632 * size.c: Include "bucomm.h".
633 (program_name): Don't declare here.
634
9ca01052
ME
635Fri Oct 22 14:10:41 1993 Mark Eichin (eichin@cygnus.com)
636
637 * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
638
639Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
640
641 * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
642 relocs against defined symbols in the same section.
643
650a49f0
RP
644Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
645
646 * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
647
648Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm@thepub.cygnus.com)
649
650 * objcopy.c (simple_copy, smart_rename): New functions.
651 (main): Use them.
652
653Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
654
655 * Makefile.in (clean, distclean): Recurse into testsuite.
656
c0367ba5
ILT
657Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
658
650a49f0
RP
659 * objcopy.c (setup_sections, copy_sections): If stripping, don't
660 copy SEC_DEBUGGING sections.
661 * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
662
9b018ecd
ILT
663 * objdump.c (usage): Mention --stabs.
664
c0367ba5
ILT
665 * objcopy.c (copy_object): Copy all applicable file flags.
666 (copy_file): Don't copy EXEC_P specially here.
667
b342eba6
ILT
668Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
669
670 * nlmconv.c (main): Adjust data section size to correspond to bss
671 alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to
672 a different section. Use time_t for time variable.
673 (setup_sections): Only put sections with contents in output NLM.
674 (i386_mangle_relocs): No symbols are common at this point. Add
675 casts to avoid warnings.
676
677Fri Sep 10 11:00:40 1993 Stan Shebs (shebs@rtl.cygnus.com)
678
679 * objdump.c: Made the --stabs option work for stabs-in-coff.
680 (ELF_STAB_DISPLAY): Removed.
681 (dump_elf_stabs): Renamed to dump_stabs, changed to run for
682 any object file format.
683 (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
684 generic BFD routines for non-ELF case, changed format of message
685 for no-section-found case.
686 (display_bfd): Always call dump_stabs if requested.
687 (dump_data): Call bfd_section_size to get section size.
688
941ffd19
DM
689Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
690
691 * Makefile.in (install): Don't put strings in tooldir/bin.
692
d5808c7c
ILT
693Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
694
695 * nlmconv.c (total_bss_size): Removed.
696 (main): Set the bss vma to always follow the data section. Move
697 symbols into new sections, and adjust values by output_offset.
698 (setup_sections): Don't copy all sections, but instead point all
699 text sections to .text, all data sections to .data, and all bss
700 sections to .bss.
701 (copy_sections): Adjust accordingly.
702
a6762b10
ILT
703Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
704
705 Only build nlmconv if configured for a NetWare target.
706 * configure.in: If we have some *-*-netware* target, or are using
707 all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
708 * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
709 $(NLMCONV_PROG).
710
195d1adf
KR
711Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
712
713 * objdump.c (ARCH_all): Define ARCH_hppa too.
714 (dump_headers): Don't test for SEC_BALIGN if it's not defined by
715 bfd.h.
716
ef5b5368
ILT
717Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
718
719 * nlmconv.c (main): Force creation of .bss section. Set up the
720 sections before looking at the symbols. Move all common symbols
721 into .bss section. Automatically define _edata and _end. Only
722 export symbols in the export list, with multiple prefixes if
723 necessary. Warn if no version. Always create extended header.
724 Set date automatically if not already set.
725 (setup_sections): Count size of bss sections.
726 (mangle_relocs, i386_mangle_relocs): Accept section argument, and
727 take reloc_count as a changeable pointer; changed callers.
728 (i386_mangle_relocs): Remove PC relative relocs within a section,
729 as they require no adjustment.
730 * nlmheader.y: Fixed memory allocation throughout: token STRING is
731 now allocated on the heap, and freed if not needed. Null
732 terminated copyright message. Accept version with only two
733 strings.
734 (symbol_list_opt): New nonterminal, either symbol_list or empty.
735 (symbol_list): Use left recursion to avoid overflowing parser
736 stack.
737 (yylex): Rearranged beginning of line check. Accept quoted
738 strings using single quotes. End generic argument at comment
739 character or parentheses.
740 (string_list_append): Fixed.
741 (string_list_append1): New function.
742
743 * bucomm.h: The first argument to xrealloc is PTR, not char *.
744 * bucomm.c (xrealloc): Use PTR rather than char *.
745 * Makefile.in (objdump.o): Depend upon config.status to notice
746 --with-targets changes.
747 (nlmconv.o): Depend upon bucomm.h.
748
749Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com)
750
751 * configure.in: Don't pass cpu to config.bfd.
752
753Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com)
754
755 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
756 (demangle.o): New target.
757 (cplus-dem.o): Depend on it, to force compilation order when doing
758 parallel compiles.
759
760 * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
761 (struct output_fns print_symbol_info): Ditto.
762 (long_options, usage, main): Add -C --demangle option.
763 (print_symname): New function, demangling if requested.
764 (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
765
766Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
767
768 * Makefile.in: Put CFLAGS last in compilation rules and omit from
769 linking rules. Use ARCHDEFS to compile objdump.c.
770 Update dependencies.
771 * configure.in: Construct ARCHDEFS based on the BFD target makefile
772 fragments.
773 * objdump.c: Conditionalize calls to the print_insn_ARCH functions
774 according to ARCHDEFS.
775
ee0af83f
ILT
776Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com)
777
778 * ar.c: Removed obsolete and non-functional GNU960 code.
779
29078b29
ILT
780Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com)
781
782 * size.c (berkeley_sum): New function.
783 (bsssize, datasize, textsize): New global variables.
784 (bss_section_name, data_section_name, text_section_name): Removed.
785 (print_berkeley_format): Map berkeley_sum over all the sections,
786 rather than only reporting sizes of specifically named sections.
787 * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
788
789Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com)
790
791 * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
792 convert object files into NetWare Loadable Modules.
793 * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
794 (PROGS): Add NLMCONV_PROG.
795 (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
796 targets.
797
798Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
799
800 * Makefile.in: define MAKEOVERRIDES to an empty string
801
c2b781a2
DM
802Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com)
803
804 * objcopy.c (copy_file): Make failures to process a file nonfatal.
805
68dd5295
DM
806Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
807
808 * nm.c: Add -B option, like --format=bsd.
809
810Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
811
812 * objcopy.c (copy_file): If the file is neither an object nor an
813 archive, give an error rather than returning success.
814
815Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
816
817 * objdump.c (objdump_print_address): Prefer non-local symbols over
818 local ones, and especially discriminate against debugging symbols.
819 Also, for relocateable files, try to find a symbol in the current
820 section, instead of picking one from some random section with a
821 convenient value (read, section offset).
822 (disassemble_data): Cast argument to malloc to size_t first.
823 (dump_data): Likewise.
824 (dump_relocs): If a single section name is specified, show relocs
825 only for that section. Otherwise, silently omit sections without
826 relocs. Format table nicely even if values are printed using 16
827 digits instead of 8.
828
a2cdf246
DM
829Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com)
830
de793e5f
DM
831 * nm.c: Changes for final version of POSIX.2.
832 (print_symbol_filename_{bsd,sysv,posix}): New functions.
833 (formats): Add an element for a pointer to them.
834 (print_symbols): Call it.
835 (print_object_filename_posix, print_archive_member_posix): Produce
836 output according to new POSIX.2 spec.
837
a2cdf246
DM
838 * strings.c (print_strings): Handle STREAM being NULL.
839 (strings_a_section): Pass a NULL.
840 (main): Don't open /dev/null.
841
b3a2b497
ILT
842Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
843
844 * objdump.c (disassemble_data): Handle the m88k.
845 (display_bfd): Use bfd_errmsg, rather than just claiming that the
846 bfd is not an object file.
847
7d8d7084
RP
848Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com)
849
850 * Makefile.in (TAGS): make work again by naming directories
851 explicitly rather than depending on undefined macros.
852 (INSTALL_XFORM): correct bad install target.
853
2470e6fa
DM
854Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
855
856 * strings.c: Doc fixes.
857
858Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com)
859
860 * Makefile.in: Note dependencies on bucomm.h.
861 (cplus-dem.o): Link c++filt with version.o.
862
863 * strings.c: Include bucomm.h and add prototypes to other decls.
864 Remove -h option.
865
866 * bucomm.h: Declare xrealloc.
867
868 * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
869 --help option. Put "GNU" in the version message.
870 (usage): Take stream and exit status as args.
871 (main): Pass new args to usage.
872
ba7c8e29
DM
873Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com)
874
875 * strings.c, strings.1: New files.
876 * binutils.texi: Document strings.
4f15fb27 877 * Makefile.in: Add rules for it.
ba7c8e29 878
d086adf8
KR
879Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
880
68dd5295 881 * objdump.c: Use size-independent bfd elf section names.
d086adf8
KR
882
883Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
884
885 * objdump.c (objdump_print_address): Handle wide offsets by
886 calling sprintf_vma.
887
3ae36cb6
PB
888Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com)
889
890 * objdump.c (syms2): Removed unused variable.
891 * objdump.c (remove_useless_symbols): New function.
892 * objdump.c (comp): Simplify.
893 * objdump.c (dis-assemble_data): Make simpler and more
894 efficient how we filter out useless symbols: Just filter
895 BEFORE the sort (using remove_useless_symbols).
896 * objdump.c (objdump_print_address): Simplify.
897 Change output syntax to match gdb.
898
c8fee4a5
DZ
899Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
900
901 * Makefile.in: canonicalize install.sh; for use within
902 this directory (and subdirs)
903
238aa238
DZ
904Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
905
906 * Makefile.in (install, install-info): remove parentdir support,
907 use INSTALL_XFORM; define INSTALL_XFORM
908
f63e502b
PB
909Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com)
910
911 * objcopy.c (copy_object): Fix bad size passed to xmalloc().
912
913Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com)
914
915 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
916 * configure.in: No longer need to configure to get sysdep.h.
917 * objcopy.c (copy_object): Fix symbol table handling.
918
919Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com)
920
921 * objcopy.c (filter_symbols): Cannot filter the symbols
922 in place, because that confuses the relocs, so take separate
923 parameter for output array.
924 * objcopy.c (sympp): Make two variables: isympp and osympp.
925 * objcopy.c (copy_object): Allocate separate array (osympp)
926 for filtered symbols.
927
928Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
929
930 * Makefile.in: change recursion test to presence of a configured
931 testsuite directory
932
d34c55c6
KR
933Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
934
935 * Makefile.in (underscore.c): Hack the backquoted command so it
936 doesn't cause Solaris make to bomb.
937
3ac620d4
JO
938Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com)
939
940 * Makefile.in: added c++filt and objcopy to MANPAGES variable
941 * .Sanitize: keep c++filt.1 and objcopy.1
942
5a070355
DZ
943Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
944
945 * Makefile.in: rename LOADLIBES to EXTRALIBS
946
08ad9921
JO
947Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com)
948
949 * c++filt.1, objcopy.1: new man pages
950
951Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com)
952
953 * Makefile.in (install): Also install ar and ranlib in
954 $(tooldir)/bin; needed for building libgcc.a.
955 * objdump.c (objdump_print_address): Fix the check
956 "coincidental" label matches by dis-allowing undefined
957 or com symbols.
958
6c69b6bd
JO
959Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com)
960
961 * biutils.texi: revised c++filt chapter
962
4447efa2
ILT
963Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com)
964
965 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
966
f50af42b
KR
967Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com)
968
969 * objdump.c (slurp_symtab): Print warning for bad symbol table.
875607cb
KR
970 (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
971 declarations and uses.
f50af42b
KR
972
973 * Makefile.in (DISTSTUFF): Don't build binutils.mm.
974
386803c0
DM
975Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com)
976
f50af42b
KR
977 * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
978 Make global variables static.
979 (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
980 (set_print_radix, set_output_format,
981 print_{object_filename,archive_filename,archive_member,symbol_info}
982 {bsd,sysv,posix}): New functions.
983 (display_file, print_symbols): Call them.
984
386803c0
DM
985 * ar.c: Improve error messages.
986
987 * nm.c (main): Handle long options that just set a flag.
988
989 * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
990 (main): Exit after printing the version number, per the GNU coding
991 standards.
992
993Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com)
994
995 * README, Makefile.in: Minor updates for 2.2.
996
20e54bf2
PB
997Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com)
998
386803c0
DM
999 * Makefile.in (underscore.c): Automatically generate
1000 (using nm) a file with the variable prepends_underscore.
1001 * Makefile.in (c++filt): Link underscore.o with cplus-dem.o
1002 so that initial underscores get removed iff appropriate.
1003 * binutils.texi: Preliminary documentation for c++filt.
1004 * Makefile.in, binutils.texi: Set to version 2.2.
1005
20e54bf2
PB
1006 * NEWS: Mention copy->objcopy renaming and new c++filt program.
1007
df14d957
ILT
1008Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com)
1009
20e54bf2
PB
1010 * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
1011 demangler via cplus-dem.o, rather than directly from the .c file.
1012
df14d957
ILT
1013 * objcopy.c: Renamed from copy.c, updated comments accordingly.
1014 * Makefile.in, binutils.texi: Renamed copy to objcopy.
1015 * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
1016 rename of copy to objcopy.
1017
1018Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com)
1019
1020 * binutils.texi (strip, -v option): Fix typo.
1021
9fd2cc00
ILT
1022Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com)
1023
1024 * Makefile.in (RUNTEST): Define.
1025 (FLAGS_TO_PASS): Pass down RUNTEST.
1026
1027Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com)
1028
1029 * Makefile.in (DEMANGLER_PROG): Name it c++filt.
1030 (PROG): Also build and install COPY_PROG.
1031
f6dddd4e
PB
1032Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com)
1033
1034 * Makefile.in: Change definition of $(tooldir) to match FSF.
1035
1036Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com)
1037
1038 * size.c (usage): Add missing options.
1039 (main): Clean up option parser.
1040
1041 * objdump.c (usage): Add missing options.
1042 (display_file): Print program name before calling
1043 bdf_perror.
1044
1045 * nm.c (usage): Add missing options.
1046 (main): Clean up option parser.
1047 (display_file): Print program name before calling
1048 bdf_perror.
1049
1050 * copy.c (copy_usage, strip_usage): Add missing options.
1051
1052 * ar.c (usage): New function.
1053 (main): Call it.
1054 (open_inarch, do_quick_append): Print program name before calling
1055 bdf_perror.
1056
1057Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com)
1058
1059 * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
1060
39287eb7 1061Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com)
545a2768 1062
39287eb7
RS
1063 * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
1064 built binaries if they exist. (otherwise the path)
545a2768 1065
3e7f73db
RS
1066Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com)
1067
1068 * Makefile.in: Changed check target to use DejaGnu.
1069
1070Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com)
1071
1072 * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
1073 objdump.c: a29k and i960 are `disassemble' not `print'.
1074
1075 * objdump.c: Rename print_address to objdump_print_address
1076 and change parameters.
1077 (disassemble_data): Use objdump_print_address.
1078
5d0734a7
JK
1079Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1080
f7ed13c7
JK
1081 * objdump.c (disassemble_data): print_insn_sparc is now a
1082 `disassemble' not a `print'.
1083 Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
1084
5d0734a7
JK
1085 * objdump.c (disassemble_data): Use new read_memory_func stuff.
1086
12da1775
KR
1087Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1088
1089 * objdump.c (fprintf): Declaration of variadic function had better
1090 be a prototype for ANSI C systems.
1091
1092Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1093
1094 * Makefile.in: rename test-install to install-check
1095
9d19b85b
SC
1096Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1097
1098 * objdump.c (disassemble_data): Add H8500.
1099
452b40b6
JK
1100Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com)
1101
1102 * objdump.c (usage): Mention long options.
1103
2e8adbd7
PB
1104Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com)
1105
229c82cb
PB
1106 * nm.c: Modify behavior of -o flag for archives to match
1107 BSD4.4 and Sunos 4: Prefix archive name before each line.
1108
2e8adbd7
PB
1109 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
1110 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
1111 * Makefile.in: Adjust accordingly.
1112 * objdump.c: Support new-style disassemblers (ones that use
1113 the interface of ../include/dis-asm.h).
1114
3048fb38
PB
1115Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com)
1116
2e8adbd7
PB
1117 * Makefile.in: When making tar file, remove texinfo/*,
1118 except for texinfo/texinfo.tex.
3048fb38
PB
1119 * ardup.c: Add extern declaration of strdup.
1120 * Makefile.in (testsuite): Add 'else true' since otherwise
1121 Ultrix /bin/sh complains.
1122
eba174ce
PB
1123Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com)
1124
1125 * Makefile.in: Set VERSION to 2.1.
1126 * README, NEWS: Updates.
1127 * nm.c: Add -v as a synonym for -V.
1128
4f8b1219
MW
1129Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com)
1130
1131 * configure.in: added testsuite to configdirs.
1132 * Makefile.in: added support for building testsuite.
1133
7721e5b3
PB
1134Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com)
1135
1136 * objdump.c (disassemble_data): Print function names when
1137 given by bfd_find_nearest_line. If not - still print
1138 line numbers.
1139
0545aa1a
MW
1140Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
1141
1142 * binutils/testsuite: made modifications to testcases, etc., to allow
1143 them to work properly given the reorganization of deja-gnu and the
1144 relocation of the testcases from deja-gnu to a "tool" subdirectory.
1145
d9971b83
KR
1146Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1147
1148 * objdump.c (dump_data): Free up section contents each time
1149 through the loop. Reported by minyard@bnr.ca.
1150
2614a439
MW
1151Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
1152
1153 * binutils/testsuite: Initial creation of binutils/testsuite.
1154 Migrated dejagnu testcases and support files for testing nm to
1155 binutils/testsuite from deja-gnu. These files were moved "as is"
1156 with no modifications. This migration is part of a major overhaul
1157 of dejagnu. The modifications to these testcases, etc., which
1158 will allow them to work with the new version of dejagnu will be
1159 made in a future update.
1160
c921e2aa
FF
1161Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com)
1162
1163 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
1164 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
1165 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
1166 and rule.
1167 * Makefile.in (PROGS): Add DEMANGLER_PROG.
1168
1169Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
1170
1171 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
1172 macro rather than checking for equality to bfd_com_section.
1173
1174Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1175
1176 * objdump.c (disassemble_data): Fix code to find first useless
1177 symbol.
1178
1179Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1180
1181 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
1182 Don't core dump if bfd_find_nearest_line returns false.
1183
1184Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1185
1186 * objdump.c (disassemble_data): know how to disassemble z8000s
1187 too.
1188
fc561ccd
PB
1189Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com)
1190
1191 * arsup.h (interactive), bucomm.h (program_name): Prefix
1192 with 'extern', to avoid warnings from some compilers.
1193
dc5dcabb
SC
1194Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com)
1195
1196 * arparse.y: fix unnecessary shift/reduce
1197
eeece52d
PB
1198Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com)
1199
1200 * Makefile.in: Make check depend on all.
1201 * Makefile.in (distclean): Remove sysdep.h.
1202 * size.c: Use %u format where appropriate.
1203 * objdump.c: Standardize: L_SET -> SEEK_SET.
1204 * objdump.c: Use new macro bfd_asymbol_bfd.
1205 * configure.in: Allow std-host as the default ${mys_host}.
1206
dc5dcabb
SC
1207Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1208
1209 * Makefile.in: added dvi target, define and use TEXI2DVI
1210
e2fe2df4
PB
1211Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com)
1212
1213 * Makefile.in (dist): Fix permissions before release.
1214 * size.c: Use bfd_size_type (and long) where appropriate.
1215 * ar.c: Make writing a map the default, to be compatible
1216 with SYSV and Posix.2. Remove some bogus kludges that
1217 handled __.SYMDEF directly.
1218 * NEWS: New file.
1219
1220Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1221
1222 * Makefile.in: flex no longer needs the -S flag
1223
b19753b9
DZ
1224Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1225
e2fe2df4
PB
1226 * ar.c (extract_file): utime needs a pointer to a utimbuf
1227
b19753b9
DZ
1228 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
1229 the list (since some of the bfd/hosts/*.h files include other
1230 files from that directory)
1231
a644baaa
JG
1232Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com)
1233
1234 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
1235
151a6341
JG
1236Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com)
1237
1238 Clean up some old BFD ansification macros.
1239
1240 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
1241 It still remains as a local macro in gmalloc.c, which is derived
1242 from some other copy of GNU Malloc somewhere (FIXME).
1243
1244 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
1245 fns really static.
1246 * arsup.h: Declare extract_files.
1247
42b600fa
ILT
1248Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com)
1249
1250 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
1251 use utime and utimbuf structure, otherwise if USE_UTIME use utime
1252 and array of two longs, otherwise use utimes.
1253
1254Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com)
1255
1256 * binutils.tex: Document yesterday's changes to strip and copy.
1257
cc8787ef
PB
1258Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com)
1259
1260 * copy.c: Re-do command-line parsing to use getopt_long().
1261 Add long option names. Re-think option letters to be more
1262 consistent.
1263 * copy.c: New function filter_symbols() for stripping only
1264 debug-symbols and/or local symbols. Use these to support
1265 the previously-missing options of the old FSF strip.
1266
1bf20983
JG
1267Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com)
1268
1269 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
1270 than repeating a copy of it here.
1271
7c926404
KR
1272Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com)
1273
1274 * copy.c (main): Even if is_strip, accept -d argument indicating
1275 alternate output format. Needed by gdb for Nindy.
1276
1277 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
e31e9a8d
JO
1278
1279Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com)
1280
1281 * binutils.texi: added documentation for "copy"
1282
8d6ae8fc
PB
1283Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
1284
1285 * Makefile.in (*clean rules): Some cleaning up.
1286 * Makefile.in (dist): Make diststuff in gprof for a dist.
1287
1288 * ar.c (do_show_version): New function.
1289 * ar.c (main): Fix so "ar -V" works.
1290
1291Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1292
1293 * configure.in: now uses the cpu-vendor-os triple instead of
1294 nested cases.
1295
c005c66c
JG
1296Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com)
1297
1298 * i960-pinsn.c: Change bzero to memset.
1299 * sparc-pinsn.c: Change index to strchr.
1300
1301Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com)
1302
1303 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
1304 operands to memory management instructions, from WRS.
1305
94a4a005
ILT
1306Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com)
1307
1308 * Makefile.in (install): if $(tooldir) exists, install nm and
1309 strip in $(tooldir)/bin.
1310
1311Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com)
1312
1313 * Makefile.in: Let's call it version 2.0.
1314
1315Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com)
1316
1317 * Makefile.in: Bump to version 0.98.
1318 * TODO, README: Minor updates.
1319
1320 * Makefile.in: Added mostlyclean, distclean rules,
1321 and cleaned up clean, realclean.
1322
3790af1d
ILT
1323Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com)
1324
1325 * Makefile.in: map program names through program_transform_name
1326 when installing.
1327
455a0d28
PB
1328Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com)
1329
1330 * Makefile.in: Bump to versions 1.97.90.
1331 * cplus-dem.c: Removed. Was nowhere used - and if some
1332 programs are changed to to demangling should now use the
1333 versions in libiberty.
1334
582e962a
BK
1335Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com)
1336
1337 * configure.in: add we32k
1338
817b5a60
SC
1339Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1340
1341 * ar.c (map_over_members): if the element of the archive has a
1342 null name, fill it in.
1343
1344 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
1345 will be symbols and there aren't any.
1346
1090c41e
ILT
1347Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com)
1348
1349 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
1350
305c1e74
RS
1351Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com)
1352
1353 * nm.c objdump.c: Added support for a +version (-V)
1354 to print the version number.
1355
1356 * ar.c, copy.c: Added support for a -V option to print
1357 the version number.
1358
f478fcf6
ILT
1359Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com)
1360
1361 * config/mh-apollo68v: removed -g from CC definition.
1362
1363 * Makefile.in: always create installation directories.
1364
d6b38bfb
PB
1365Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com)
1366
1367 * m68k-pinsn.c: Minor fix in style of output (don't use
1368 range to indicate floating point control registers).
1369
a00721fc
PB
1370Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com)
1371
1372 * ar.c (main): Don't *always* set the verbose flag!
1373
ee9d275b
PB
1374Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com)
1375
1376 * copy.c: When is_strip (because it is invoked as the strip
1377 program), follow traditional argv processing:
1378 'strip file1 file2' now strips file1 and file2, rather
1379 than stripping file1 (as input), leaving output in file2.
1380
1381Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com)
1382
1383 * objdump.c (display_info, display_info_table): Call
1384 bfd_set_format() on dummy bfd before using it (twice).
1385 * ar.c: Make sure archive is created on command 'r'
1386 even when no elements are inserted. (Clean up and
1387 simplify some non-working related code.)
1388
e49dde89
DHW
1389Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
1390
1391 * configure.in: hppa support doesn't assume hp OS (from sef).
1392
1393Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1394
1395 * configure.in: recognize hppa hosts (bsd & hpux), error messages
1396 to stderr, not stdout
1397
d1289d72
RP
1398Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1399
1400 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
1401 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
1402
249608be
RP
1403Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1404
1405 * Makefile.dos: removed rcsid.
1406
cdb76cc3
SC
1407Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1408
1409 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
1410
0b0b5dba
DHW
1411Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
1412
1413 * Makefile.in: Add program_suffix (parallel to program_prefix)
1414
65967d33
JG
1415Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
1416
1417 * nm.c (sorters): Lint. Remove excess whitespace.
1418
96cc09a0
PB
1419Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com)
1420
1421 * nm.c (valueof macro): Add missing parentheses.
1422 (Their lack screwed up numeric_forward().)
1423
c3c93fda
JG
1424Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
1425
1426 * objdump.c (dump_elf_stabs): Also dump .stab.index and
1427 .stab.excl sections.
1428 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
1429 * objdump.1, binutils.texi: Document new sections dumped.
1430
770cde30
JG
1431Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
1432
b886a6e3 1433 * size.c, objdump.c, bucomm.c: Lint.
770cde30 1434
73b8f102
JG
1435Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
1436
1437 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
1438 .stab section from an ELF file. Installed under #ifdef
1439 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
1440 bfd-internals header files and such.
c5f0c938
JG
1441 * objdump.1, binutils.texi: Update for --stabs. Also fix
1442 objdump's doc to use -- rather than + for long options.
1443 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
73b8f102 1444
aa0a709a
SC
1445Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1446
1447 * objdump.c(display_info), patches from
1448 mohring@informatik.tu-muenchen.de to print the table much more
1449 nicely.
1450
1451Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com)
1452
1453 * objdump.c: Add another enum->int cast, for the sake of
1454 old compilers (such as PCC).
1455
7aea847a
PB
1456Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com)
1457
1458 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
1459 Add declaration of strdup().
1460
45212e5e
PB
1461Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com)
1462
82108c11
PB
1463 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
1464 rules, since these are used when building a distribution.
1465 * Makefile.in (arlex.c): Don't re-direct output, since that
1466 leaves a bogus output files if it fails.
1467
45212e5e
PB
1468 * arlex.l: Make work with lex, for what it's worth.
1469 * Makefile.in: Better lex support.
1470 * Makefile.in (dist): Generate flex and bison outputs
1471 for distribution.
1472
1473Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1474
1475 * Makefile.in: get BISON definition right.
1476
1477Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com)
1478
1479 * sanity.sh: default TMPDIR to ".".
1480
ea55afde
RP
1481Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
1482
1483 * binutils.texi: add doc for ar command language.
1484
d24fbb20
SC
1485Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1486
1487 * arparse.y: make END call ar_end
1488 * arsup.c (ar_end): added, deletes temp file if archive session
1489 aborted.
1490
1491
146a41ab
RP
1492Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1493
58137c4d
RP
1494 * Makefile.in: use bison & flex from ../ if they exist. Also,
1495 FLEX->LEX.
1496
146a41ab
RP
1497 * sanity.sh: remove temporary directory when finished.
1498
5b07d693
PB
1499Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com)
1500
1501 * Makefile.in: Bump to version 1.97.
1502 * ar.c: Declare errno for machines that need it.
1503
22923083
JG
1504Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com)
1505
1506 * objdump.c (display_info): Handle error cases without coredump.
1507 Close the dummy temporary file we open in the loop.
1508 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
1509
dc760829
RP
1510Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com)
1511
7d6cc102
RP
1512 * Makefile.in: added test-install target.
1513
dc760829
RP
1514 * sanity.sh: new file.
1515
1516 * Makefile.in: use sanity test on make check.
1517
d8e89b6b
RP
1518Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com)
1519
1520 * Makefile.in: rework CFLAGS so that they can be passed on the
1521 command line to make. Remove MINUS_G. Default CFLAGS to -g.
1522
1523Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1524
1525 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
1526 scripting language.
1527
1528Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com)
1529
1530 * Makefile.in: added check target.
1531
1532Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com)
1533
1534 * Makefile.in: added clean-info target.
1535
1536Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1537
1538 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
1539 installed. added tooldir and program_prefix.
1540
1541Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
1542
1543 * Makefile.in, configure.in: removed traces of namesubdir,
1544 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1545 copyrights to '92, changed some from Cygnus to FSF.
1546
1547Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
1548
1549 * Makefile.in: Bump version to 1.96, and remove -beta
1550 suffix from distribution name.
1551 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
1552 the signed value of a character (even if chars are unsigned).
1553 * sparc-pinsn.c: Add new operand types.
1554
1555Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1556
1557 * objdump.c (disassemble_data): don't print a section's contents
1558 if it's not loadable (eg bss)
1559
1560Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1561
1562 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
1563 displacements don't get printed as large +ve ones.
1564
d20f480f
SC
1565Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1566
1567 * copy.c, nm.c, objdump.c, size.c : changed to use the
1568 new reloc scheme.
1569
1570
1571Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
1572
1573 * bucomm.c (print_arelt_descr): Tweek the output format
1574 so that 'ar tv' output follows Posix 1003.2/D11.
1575 Output is now also identical to Sun's (except __.SYMDEF).
1576
e6e4459c
JG
1577Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
1578
1579 * Makefile.in: Make `make' output more readable.
1580
1581Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
1582
1583 * Makefile.in: Bump to version 1.94.
1584
1585Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
1586
1587 * ar.c: added "b" to fopens for dos
1588 * configdj.bat, makefile.dos new files from DJ
1589
1590Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1591
1592 * Makefile.in: infodir belongs in datadir.
1593
1594Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1595
1596 * bucomm.h: created to hold prototypes of bucomm.c
1597 * objdump.h: created to hold prototyes of objdump.c
1598 * am29k-pinsn.c: include objdump.h
1599 * ar.c: include bucomm.h, get ar.h from the right place and
1600 include libbfd.h
1601 * bucomm.c: defunize bfd_fatal
1602 * copy.c: include bucomm.h, lint.
1603 * i960-pinsn.h: include bucomm.h
1604 * m68k-pinsn.h: lint
1605 * nm.c: include bucomm.h, lint
1606 * objdump.c: lint
1607 * sparc-pinsn.c: include objdump.h
1608
1609
1610
5d845d37 1611Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
bdce0211 1612
5d845d37
RP
1613 * Makefile.in: added standards.text support. install using
1614 INSTALL_PROGRAM and INSTALL_DATA.
bdce0211 1615
5d845d37
RP
1616 * configure.in: configure now does all of it's work from objdir so
1617 make file existence tests against ${srcdir}.
1618
1619Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1620
1621 * Makefile.in: idestdir and ddestdir go away. Added copyrights
1622 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
1623 and mandir now keyed off datadir by default.
1624
1625Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
1626
1627 * Makefile.in: Bump to version 1.93.
1628 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
1629 for make versions that provide half-baked VPATH-support (e.g. Sun's).
1630 * size.c: Improvements suggested by
1631 "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
1632 - Don't emit (Berkeley) headers if no files were found.
1633 - Return a non-zero return code on failure.
1634
1635Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1636
1637 Changes due to include file renaming:
1638 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
1639 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
1640 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
1641 * nm.c: stab.gnu.h -> aout/stab_gnu.h
bdce0211
SC
1642
1643Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
1644
1645 * README: Mention MINIMIZE flag for bfd's make.
1646
d08a5233
PB
1647Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
1648
1649 * README: Various improvements.
1650
782d7963
PB
1651Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
1652
1653 * Makefile.in: Bump to version 1.92.
1654 * version.c, Makefile.in: Get version string from Makefile.
1655 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
1656 Make the same change that we earlier did for ar/ranlib:
1657 Generate two different binaries for strip and copy and use
1658 a global variable with different values to distinguish
1659 ostrip from copy. (-1 means to use argv[0] to decide,
1660 so you can get the old behavior, but it is no longer the default).
1661 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
1662 * copy.c (main): If is_strip==-1, compare last 5 chars
1663 of argv[0], not the whole path.
1664 * copy.c (main): Return 0, not 1.
1665 * copy.c (setup_sections): Fix due to change in bfd_make_section
1666 now failing if asked for a duplicate section.
1667 * strip.c, ostrip.c: Removed obsolete files.
1668 * ar.c, not-ranlib.c, maybe-ranlib.c:
1669 Change encoding of is_ranlib variable to be consistent
1670 with is_strip for strip.copy (i.e -1 to means use argv[0]).
1671
1672Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
1673
1674 * version.c (program_version): Update to version 1.92.
1675
1676Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
1677
1678 * ar.c (get_pos_bfd): Previous fix was missing a "break".
1679
86c18d92
SC
1680Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
1681
1682 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
1683 encodings. (Thaks to David Wood)
1684
1685Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
1686
1687 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
1688 * ar.c (get_pos_bfd): Fix to handling of before/after
1689 positioning options.
1690 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
1691 since libiberty contains vfprintf etc if otherwise missing.
1692 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
1693 type operands, as used by branch instructions.
1694 * nm.c: Delegate printing of symbols to BFD,
1695 by using bfd_print_symbol to do the formatting.
1696
5f0e8767
SC
1697Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
1698
1699 * ar.c (write_archive.c): added unlink before rename since some
1700 systems can't rename onto an existant file.
1701
7e309104
SC
1702Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
1703
1704 * nm.c: now doesn't crash if a symbol with no section and no
1705 SEC_ABS appears.
1706
1707Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
1708
1709 * Makefile.in, version.c: Bump to version 1.91.
1710
d8474a9b
PB
1711Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
1712
1713 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
1714 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
1715 * strip.c: Add or update Copyright notice.
1716 * TODO: Add note on 'nm -a'.
1717 * version.c: Update version number to 1.90.
1718 * Makefile.in: Fix making of documentation for dist.
1719
1720Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
1721
1722 * README: New file.
1723 * Makefile.in: New kludgy rules for making a tarfile.
1724 * Makefile.in: Fix bindir path.
1725
0c10ff03
RP
1726Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
1727
1728 * Makefile.in: add targets binutils.mm, binutils.me
1729
d7cce023
JG
1730Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
1731
1732 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
1733
abd4aaa9
RP
1734Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
1735
6b583720
RP
1736 * Makefile.in: add target "binutils.ms"
1737
abd4aaa9
RP
1738 * binutils.texinfo: minor restructuring for texi2roff comfort.
1739
d7381d0c
JG
1740Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
1741
1742 Restructure configuration scheme for bfd, binutils, ld.
1743
1744 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
1745 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
1746 Change some config names to match other dirs.
1747 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
1748 get defined first.
1749 * Makefile.in: Use -I. to get sysdep.h.
1750
1751Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
1752
1753 * nm.c (print_symbols): Handle NULL name field of symbol.
1754 * Makefile.in: Removed spurious comment.
1755
c9629e6e
RP
1756Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
1757
1758 * binutils.texinfo: minor typos, phrasing, formatting fixes.
1759
398eef0a
PB
1760Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
1761
1762 * configure.in: Get host file from ../bfd/config, not config.
1763 * config/*: Remove config directory and its files.
1764
050f05e7
RP
1765Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
1766
b7a11ec2
RP
1767 * Makefile.in: new targets binutils.dvi, binutils.info
1768
050f05e7
RP
1769 * binutils.texinfo: remove most remaining FIXME's, delete
1770 references to __.SYMDEF by name
1771
1772
71e83453
SC
1773Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
1774
1775 * objdump.c (print_address) Print addresses nicely.
1776
06a97fbd
PB
1777Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
1778
1779 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
1780 Make two different binaries for ar and ranlib, instead of
1781 distinguishing them at run time using argv[0].
1782 (Old behavior is still available if you "make ar_with_ranlib",
1783 but it is not the default.)
1784 * ranlib.sh (new): An alternative one-line
1785 shell implementation of ranlib.
1786
e779a58c
JG
1787Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
1788
1789 * objdump.c: Cope with renames of a few BFD types & enums.
1790
0a5403df
RP
1791Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
1792
1793 * binutils.texinfo: add new file (rudimentary docn)
1794
3fdbfe8d
PB
1795Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
1796
0a5403df 1797 * config/hmake-news: Add new file (for Sony NEWSOS3).
3fdbfe8d
PB
1798 * bucomm.c (fatal): Conditionally compile fatal() depending on
1799 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
1800 * objdump.c (dump_headers): Trivial output format change.
1801 * objdump.c (display_info): Loop over integers, not enums,
1802 to appease old compilers.
1803
1804Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1805
1806 *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
1807
1808Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1809 from bother
1810 * objdump.c (print_address): Make disasembled output more
1811 consistent with gdb and as: Add 0x when printing hex.
1812 Don't print extra leading zeros.
1813 Attempt to not print "filename.o".
1814 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
1815
1816
1817Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
1818
1819 * copy.c: Change =& constructs to = &, since they confuse older
1820 C compilers.
1821
33e61c95
ILT
1822\f
1823Local Variables:
1824version-control: never
1825End:
This page took 0.173607 seconds and 4 git commands to generate.