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