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