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