1 Thu Dec 8 14:45:50 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
3 * objcopy.c (add_strip_symbol): Cast return value of xmalloc.
5 Wed Nov 30 11:05:43 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
7 * ar.c (replace_members): Pass current->filename to normalize when
8 checking for duplicates, because the filename of a newly added
9 file will not have been normalized yet.
11 Thu Nov 17 15:00:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13 * ar.c (main): Don't call do_quick_append if any of the archive
14 names are longer than 14 characters.
16 * objcopy.c (main): Fix is_strip test. From
17 pirker@eiunix.tuwien.ac.at (Martin Pirker).
19 Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>
21 * objcopy.c (add_strip_symbol): New function, adds a name to an
22 explicit list of symbols to strip.
23 (is_strip_symbol): New function, reports whether the name argument
24 is in the explicit list.
25 (filter_symbols): Check against is_strip_symbol above all.
26 (strip_main): Recognize -N option. If used, don't default to
28 (copy_main): Recognize -N option.
29 (strip_usage): Document -N and --strip-symbol options.
31 * objcopy.1, strip.1, binutils.texi: Document -N and
32 --strip-symbol options.
34 Tue Nov 8 13:12:54 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
36 * objdump.c (display_target_list, display_info_table): Pass an
37 array to tmparg, rather than NULL, since some systems can't handle
40 * objcopy.c (copy_archive): Keep a list of the names of the
41 temporary files we created. Close each input BFD after we open
44 Mon Nov 7 15:48:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
46 * Makefile.in (VERSION): Bump to 2.5.3.
48 Thu Nov 3 19:04:34 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
50 * Makefile.in (install-info): Install info files from whatever
51 directory they were found in.
53 Patch from DJ Delorie:
54 * configure.bat: do c++filt -> cxxfilt right
56 * sysinfo.y: Include system header files early, so any potential
57 declaration of abort() occurs before its use.
59 * strings.c (strings_file): Try opening the file in binary mode
62 Wed Nov 2 15:44:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
64 * ar.c (main): Treat ar qs like ar rs.
66 Tue Oct 25 16:19:25 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
68 * objcopy.c (gap_fill): Explicitly initialize, for clarity.
69 (pad_to_set, pad_to): New static variables.
70 (copy_options): Accept --pad-to.
71 (copy_usage): Mention --pad-to.
72 (copy_object): Support --pad-to.
73 (compare_section_vma): Sort non loadable sections to the front.
74 Sort sections with the same VMA by size.
75 (copy_main): Handle --pad-to.
76 * binutils.texi, objcopy.1: Document --pad-to.
78 Thu Oct 20 13:51:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
80 * objcopy.c (gap_fill_set, gap_fill): New static variables.
81 (copy_options): Accept --gap-fill.
82 (copy_usage): Mention --gap-fill.
83 (copy_object): Support --gap-fill.
84 (get_sections, compare_section_vma): New static functions.
85 (copy_main): Handle --gap-fill.
86 * binutils.texi, objcopy.1: Document --gap-fill.
88 Wed Oct 19 14:09:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
90 * Makefile.in (check): Add a dummy else clause to the if
93 * objcopy.c (copy_object): Revert yesterday's change.
94 * binutils.texi, objcopy.1: Remove special mention of --set-start
95 and `binary' output format.
97 Tue Oct 18 11:12:01 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
99 * objcopy.c (copy_object): If the output file format is `binary',
100 and the start address was not set using --set-start, default the
101 start address to zero. This hack is because the `binary' output
102 file format uses the start address to set the virtual address of
103 the first byte in the file.
104 * binutils.texi, objcopy.1: Add some notes on generating S-records
107 * nm.c (print_symdef_entry): Call print_symname to print the
108 symbol name, so that --demangle works.
110 * Makefile.in (mostlyclean): Remove tmpdir.
112 * objcopy.c (struct section_list): Add fields used, adjust, val.
113 (adjust_start, set_start_set, set_start): New static variables.
114 (adjust_section_vma, adjust_sections): New static variables.
115 (copy_options): Add --adjust-start, --adjust-vma,
116 --adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
118 (parse_vma): New static function.
119 (copy_usage): Mention new options.
120 (copy_object): Handle --set-start and --adjust-start.
121 (setup_section): Correct type of last argument to PTR. Set used
122 field if section is removed. Handle --adjust-vma and
123 --adjust-section-vma.
124 (copy_section): Correct type of last argument to PTR.
125 (mark_symbols_used_in_relocations): Likewise.
126 (strip_main): Clear used field when handling -R.
127 (copy_main): Handle new options.
128 * binutils.texi (objcopy): Document new options.
129 * objcopy.1: Document new options.
131 Fri Oct 14 14:38:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
133 * configure.in (configdirs): Remove definition--testsuite is no
135 * Makefile.in (testsuite): Remove target.
136 (site.exp): New target.
138 (clean, distclean): Don't recur into testsuite directory.
140 Thu Oct 13 19:24:09 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
142 * Makefile.in (VERSION): Updated to 2.5.
143 * Version 2.5 released.
145 Tue Oct 11 15:26:42 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
147 * Makefile.in (sysdump.o): Depends upon sysroff.c.
149 Mon Oct 10 13:50:30 1994 J.T. Conklin (jtc@rtl.cygnus.com)
151 * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
152 ctor/dtor tables needed by C++ programs are built.
154 Sun Oct 9 18:04:00 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
156 * Makefile.in (srconv.o): Add dependence on sysroff.c.
158 Tue Oct 4 12:19:51 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
160 * configure.in: Use ${config_shell} when running config.bfd.
162 * Makefile.in (sysroff.h): Split target away from sysroff.c.
163 (srconv.o, sysdump.o): New targets.
164 (srconv, sysdump): Don't depend upon sysroff.c.
166 Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
168 * Makefile.in (arparse.c): Don't ignore errors from mv.
169 (sysinfo.c): Likewise. Also, depend upon arparse.c, to prevent a
170 parallel make from trying to build both arparse.c and sysinfo.c
172 (nlmheader.c): Similar change.
173 (arparse.h): Separate target from arparse.c, so that a parallel
174 make does not try to build both at once. Depend upon arparse.c.
175 (sysinfo.h): Similar change.
177 * objdump.c (disassemble_data): Pass the reloc buffer to free, not
178 the pointer used to loop over the relocs.
180 Sat Sep 24 16:16:57 1994 Stan Shebs (shebs@andros.cygnus.com)
182 * objdump.c (disassemble_data): Cast result of xmalloc.
184 Wed Sep 21 19:30:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
186 * objdump.c (sorted_syms, sorted_symcount): New global variables.
187 (objdump_print_address): Use sorted_syms and sorted_symcount
188 instead of syms and symcount.
189 (disassemble_data): Don't bother to get the relocs before looping
190 over the sections. Before filtering and sorting the symbol table,
191 copy it into sorted_syms.
193 Fri Sep 16 11:27:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
195 * objdump.c (struct objdump_disasm_info): Add field require_sec.
196 (objdump_print_address): If aux->require_sec, require that the
197 symbol be in aux->sec even if HAS_RELOC is not set. If we can't
198 find a smaller symbol in the right section, look for a larger one.
199 (disassemble_data): Set aux.require_sec around the
200 objdump_print_address call for the instruction address.
202 Thu Sep 15 21:43:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
204 * ar.c: Call xexit rather than exit.
205 (output_filename, output_file, output_bfd): New static variables.
206 (remove_output): New static function.
207 (main): Call xatexit (remove_output). Call xexit rather than
209 (extract_file): Set output_filename and output_file while output
211 (write_archive): Likewise, but use output_bfd, not output_file.
212 * arsup.c: Include libiberty.h. Call xexit rather than exit.
213 * bucomm.c: Likewise.
215 * objdump.c (disassemble_all): New global variable.
216 (usage): Document --disassemble-all.
217 (long_options): Add disassemble-all as a synonym for -D.
218 (compare_symbols): Make pointers const.
219 (compare_relocs): New static function.
220 (disassemble_data): Rename disassemble to disassemble_fn to avoid
221 shadowing. If dump_reloc_info, print relocs along with
222 disassembly. Skip sections which are not SEC_CODE unless
223 disassemble_all or only is set.
224 (display_bfd): Don't call dump_relocs if disassemble is set.
225 (main): Accept and handle -D.
226 * binutils.texi: Document -D/--disassemble-all.
227 * objdump.1: Likewise.
229 Wed Sep 14 12:19:07 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
231 * objdump.c (disassemble_data): Initialize prevline to 0. Make
232 prev_function non const. Copy functionname into an malloc buffer
233 when setting prev_function, instead of assuming that the string
236 * nm.c: Include libiberty.h.
237 (sort_by_size): New static variable.
238 (long_options): Add --size-sort.
239 (usage): Mention --size-sort.
240 (numeric_forward): Make static. Change from void * to PTR.
241 (numeric_reverse): Likewise.
242 (non_numeric_forward, non_numeric_reverse): Likewise.
243 (sorters): Change declaration from void * to PTR.
244 (size_forward, sort_symbol_by_size): New static functions.
245 (display_rel_file): Handle sort_by_size.
246 (filter_symbols): If sort_by_size, discard absolute and undefined
248 * binutils.texi (nm): Document --size-sort.
249 * nm.1: Document --size-sort.
251 Tue Sep 13 21:06:06 1994 Jeff Law (law@snake.cs.utah.edu)
253 * objcopy.c (copy_main): Initialize input_filename and
254 output_filename to NULL.
256 Tue Sep 13 14:17:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
258 * Makefile.in (version.o): Depend upon Makefile, so that version.o
259 gets rebuilt when make variable VERSION is changed.
261 * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
263 Wed Aug 24 12:40:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
265 * configure.in: Change i[34]86 to i[345]86.
267 Tue Aug 23 11:00:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
269 * ar.c (ranlib_touch): Don't update the archive map if there isn't
272 Mon Aug 22 16:02:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
274 * ar.c: Include libiberty.h.
275 (inarch): Remove variable.
276 (map_over_members): Make static. Add arch argument, and use it
277 instead of inarch. Change all callers.
278 (main): Treat --version as -v. Accept -t argument. Accept any
279 number of archive arguments. Catch and use open_inarch return
280 value, rather than using inarch.
281 (open_inarch): Return newly opened BFD, rather than using inarch.
282 (do_quick_append): Make archive_filename const.
283 (write_archive): Add iarch argument, and use it instead of inarch.
285 (delete_members, move_members, replace_members): Likewise.
286 (ranlib_only): Don't exit on success. Catch and use open_inarch
288 (ranlib_touch): New function.
289 * arsup.h (map_over_members): Don't declare.
290 (ar_end, ar_extract): Declare.
291 (open_inarch): Change return value in declaration to bfd *.
292 * arsup.c (map_over_list): Make static. Always pass two arguments
293 to function. Add arch argument, and use it instead of inarch.
295 (ar_directory_doer): Make static. Add ignored second argument.
297 (ar_directory): Use open_inarch return value rather than inarch.
298 (ar_addlib_doer): Make static.
299 (ar_addlib): Use open_inarch return value rather than inarch.
300 (ar_extract): Remove unused local variable abfd.
302 Thu Aug 11 14:55:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
304 Add support for removing named sections to objcopy and strip.
305 * objcopy.c (struct section_list): Define.
306 (remove_sections): New static variable.
307 (strip_options, copy_options): Add remove-section.
308 (copy_usage, strip_usage): Mention -R and --remove-section.
309 (setup_section): If section is in remove_sections list, ignore it.
310 (copy_section): Likewise.
311 (strip_main, copy_main): Handle -R.
312 * binutils.texi, objcopy.1, strip.1: Document new options.
314 Wed Aug 10 10:19:55 1994 Stan Shebs (shebs@andros.cygnus.com)
316 * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
317 so as not to conflict with the symvalue typedef in bfd.h.
319 Mon Aug 1 13:19:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
321 * nlmheader.y: Per current NetWare docs, accept a revision number
322 of 0 and treat a revision number greater than 26 as 0.
324 Mon Jul 25 12:58:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
326 * objdump.c (objdump_print_address): Correct handling of end of
327 symbols when looking for next symbol with a different value.
329 Fri Jul 22 16:48:34 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
331 * nm.c (numeric_forward): Treat undefined symbols as "less than"
332 defined symbols with zero values. If numeric values are equal, or
333 both symbols are undefined, sort alphabetically. Don't assume
334 that the difference of two bfd_vma values will truncate to "int"
335 and still have the same sign.
336 (numeric_reverse): Call numeric_forward and negate the result.
337 (print_symbol_info_bsd): For undefined symbols, print leading
338 spaces equivalent to the width of a printed bfd_vma, rather than
339 assuming that 8 will look right.
341 Fri Jul 22 10:36:50 1994 Steve Chamberlain (sac@jonny.cygnus.com)
343 * coffgrok.c (doit): Zero all fields of new structure.
344 * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg.
345 * sysinfo.y: Generate sysroff_swap_*_out without requiring extra
348 Fri Jul 22 10:09:53 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
350 * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
351 rather than the parser.
353 Thu Jul 21 10:25:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
355 * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
358 Sat Jul 16 22:34:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
360 * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
361 even if the bfd is not marked DYNAMIC. ELF executables are not
362 marked DYNAMIC, but do have dynamic symbols.
364 Fri Jul 15 01:41:35 1994 Steve Chamberlain (sac@jonny.cygnus.com)
366 * coffgrok.c (do_where): Make data with no type 'int'.
367 (do_define): Keep info on source file of a symbol.
368 * coffgrok.h (coff_symbol): New field.
369 * srconv.c (PROGRAM_VERSION): Now 1.3
370 (wr_rl): Use external ref number for symbol.
371 (wr_dus): Only keep one source file per debug unit.
372 (wr_dln): Always emit line numbers for first source file,
373 (wr_globals): Emit globals in the du of their owning source file.
375 Mon Jul 11 15:59:03 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
377 * nlmheader.y: Null terminate var_hdr->threadName.
379 Fri Jul 8 17:33:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
381 * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
382 in $(srcdir), as they will be for FSF releases.
384 Wed Jul 6 01:13:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
386 * nlmconv.c (setup_sections): Preserve existing section flags when
387 copying in flags from a new section.
389 Tue Jul 5 15:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
391 * objcopy.c: Include libiberty.h.
392 (copy_file): If output_target is NULL, set it to the target of the
395 Wed Jun 29 17:17:14 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
397 * nlmconv.c (link_inputs): Fixed memory allocation bug.
399 Thu Jun 23 12:52:46 1994 David J. Mackenzie (djm@rtl.cygnus.com)
401 * configure.in: Change --with-targets to --enable-targets.
403 Tue Jun 21 12:53:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
405 * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
407 * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
408 NetWare custom header; no longer needed.
409 (powerpc_mangle_relocs): Convert relocs against the uninitialized
410 data section into relocs against the data section.
412 * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
413 netware targets. Write it into Makefile as NLMCONV_DEFS.
414 * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
415 * nlmconv.c: Only compile code for specific CPU types if
416 NLMCONV_cputype is defined.
418 * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
419 bfd_abs_section_ptr or bfd_is_abs_section, etc.
420 (i386_mangle_relocs, alpha_mangle_relocs): Likewise.
421 (powerpc_build_stubs): Likewise.
422 * nm.c (filter_symbols, print_symbols): Likewise.
423 * objcopy.c (filter_symbols): Likewise.
424 (mark_symbols_used_in_relocations): Likewise.
425 * objdump.c (remove_useless_symbols, dump_relocs): Likewise.
426 * size.c (sysv_internal_printer): Likewise.
428 Mon Jun 20 16:43:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
430 * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
431 (install): Install it explicitly, from build dir, not srcdir.
433 Mon Jun 20 16:29:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
435 * objdump.c: Don't include elf/internal.h.
436 (bfd_elf_find_section): Don't declare.
437 (read_section_stabs): No special handling for ELF. Always read
440 Thu Jun 16 17:25:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
442 * configure.in: Set UNDERSCORE in Makefile based on result of
443 invoking config.bfd with a second argument of ``_''.
444 * Makefile.in (underscore.c): Depend upon Makefile. Don't try to
445 run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary
447 (demangle.o): Remove target.
448 ($(NM_PROG)): Don't depend upon demangle.o, and don't link against
449 demangle.o. It's in libiberty anyhow.
450 (cplus-dem.o): Don't depend upon demangle.o.
451 * binutils.texi: Mention -n and --no-strip-underscores arguments
454 Wed Jun 15 12:10:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
456 * nm.c (long_options): Add --no-demangle to turn off --demangle,
457 and --no-cplus for Linux compatibility.
458 (usage): Mention --no-demangle.
459 * binutils.texi: Document --no-demangle.
461 Fri Jun 10 15:41:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
463 * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
465 * objcopy.c (copy_archive): Make the temporary directory in the
466 same directory as the output BFD, since we may not have write
467 permission on the current directory. Set the permissions of the
468 new directory to 0700, not 0777.
470 Mon Jun 6 21:36:43 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
472 * configure.in: if this is an rs6000 (and we're not building for
473 any other bfd targets) then build only nm (collect needs it on
476 * Makefile.in: define TOOL_PROGS which the list of programes to
477 install in $tooldir -- replaces a hard-coded list.
479 Fri Jun 3 10:59:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
481 * objdump.c (display_target_list): Remove unused local ok.
483 Thu May 26 18:05:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
485 * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
486 they're not compatible under native cc. Use -O1 instead.
488 * Makefile.in (VERSION): Updated to cygnus-2.4.1.
490 Changes from binutils-2.4 net release:
492 * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
493 ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
494 * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
495 magic token to be replaced by sed.
497 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
499 * configure.bat: update for latest makefile.in
501 Fri May 13 23:25:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
503 * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
505 Tue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com)
507 * objcopy.c (copy_section): Set section size correctly if using
510 Sat May 7 16:49:36 1994 Steve Chamberlain (sac@cygnus.com)
512 * Makefile.in: Add rule for sysinfo.h
514 Fri May 6 12:18:33 1994 Steve Chamberlain (sac@cygnus.com)
516 * Makefile.in (SRCONV_PROG): Define.
517 (PROGS): Use $(SRCONV_PROG) too.
519 Thu May 5 19:41:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
521 * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
522 someone configures with `targets=all'.
523 (distclean): Remove y.*.
524 (syslex.o): Depend on sysinfo.h.
525 (sysinfo.c): Rename y.tab.h to sysinfo.h.
526 (install-info): Don't try to install into $(infodir)/$(srcdir).
527 * syslex.l: Include sysinfo.h, not y.tab.h.
529 Thu May 5 11:50:55 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
531 * syslex.l (yywrap): Define as function if not defined as a macro.
533 * Makefile.in (objdump.o): Deleted special rule.
534 * configure.in: Don't bother building ARCHDEFS variable for
536 * objdump.c (ARCH_*): Deleted handling.
537 (disassemble_data): Call `disassembler' from opcodes library.
539 Thu May 5 13:28:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
541 * Makefile.in (install): Correct handling of $(tooldir) and
542 $(bindir) being on different devices.
544 Fri Apr 29 09:50:38 1994 Steve Chamberlain (sac@cygnus.com)
546 * sysdump.c (h8300, sh): Add declarations.
548 Wed Apr 27 11:25:18 1994 Steve Chamberlain (sac@cygnus.com)
550 * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
551 * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
552 sysroff.info: Major changes.
554 Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com)
556 * objdump.c (print_section_stabs): Indicate the stab header symbol
557 more clearly, print numbers of unrecognized stab n_type values.
559 Tue Apr 26 16:22:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
561 * nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
563 Mon Apr 25 16:14:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
565 * Makefile.in (distclean): Remove $(PROGS) and underscore.c.
567 Fri Apr 22 11:14:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
569 * nlmconv.c (setup_sections): Remove special handling of .reginfo
571 (copy_sections): Likewise.
572 (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
573 special ECOFF .reginfo section.
575 * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
576 copying everything else, to let it fiddle with the file in its
579 * objdump.c: Include libiberty.h.
580 (display_target_list): If a format fails, just go on to the next
581 one. Check return value of bfd_set_format.
582 (display_info_table): Likewise. Don't increment loop variable in
583 for loop test, since that skips the first element.
584 (display_target_tables): Rewrite loop for clarity. Ensure that it
585 always prints at least one element.
587 * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
588 sections header. Rename from cygnus_sections to cygnus_ext.
590 Thu Apr 21 12:12:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
592 * objdump.c (_DUMMY_NAME_): Don't define.
593 (display_target_list): Use tmpnam to get a file name rather than
594 using _DUMMY_NAME_. Unlink it when done.
595 (display_info_table): Likewise.
597 * nlmconv.c (secsec): New static variable.
598 (main): Create .nlmsections section in output BFD. Store
599 information about it in sections header.
600 (setup_sections): Allocate space in sections header.
601 (copy_sections): Copy zero sized sections. Put information about
602 each section in the sections header.
604 Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
606 * nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
607 Change caller. Create custom header for new PowerPC NetWare
610 * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
611 * nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
612 * nlmheader.y: Include bfd.h with "", not <>.
614 Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
616 * objdump.c: Do an ifdef on __GO32__, not unix.
618 Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
620 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
621 (--dynamic-reloc) arguments to objdump.
622 * nm.c (dynamic): New static variable.
623 (long_options): Added "dynamic".
624 (usage): Mention -D and --dynamic.
625 (main): Add D to getopt string. Handle -D by setting dynamic.
626 (display_rel_file): If dynamic is non-zero, read dynamic symbols
627 rather than normal symbols.
628 * nm.1: Updated for -D (--dynamic) option.
629 * objdump.c (dump_dynamic_symtab): New global variable.
630 (dump_dynamic_reloc_info): New global variable.
631 (dynsyms, dynsymcount): New global variables.
632 (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
633 (long_options): Added "dynamic-reloc" and "dynamic-syms".
634 (slurp_symtab): If no symbols, return rather than exit.
635 (slurp_dynamic_symtab): New function.
636 (display_bfd): Handle dump_dynamic_symtab and
637 dump_dynamic_reloc_info.
638 (dump_symbols): Take new dynamic argument, indicating whether to
639 display dynamic symbols.
640 (dump_relocs): Move most printing into dump_reloc_set.
641 (dump_dynamic_relocs): New function.
642 (dump_reloc_set): New function, extracted from dump_relocs.
643 (main): Add R and T to getopt string. Handle -T by setting
644 dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
645 * objdump.1: Updated for -R (--dynamic-reloc) and -T
646 (--dynamic-syms) options.
647 * binutils.texi: Updated for new nm and objdump options.
649 Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
651 Update for recent BFD changes to symbol and reloc reading. Rename
652 all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
654 * coffgrok.c (symcount): Change to long.
655 (do_sections_p1): Check for error return from
656 bfd_get_reloc_upper_bound. Change relcount to long, and check for
657 error from bfd_canonicalize_reloc.
658 (coff_grok): Change storage to long. Check for error from
659 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
660 * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
661 i to long. Check for error from bfd_get_symtab_upper_bound and
662 bfd_canonicalize_symtab.
663 (copy_sections): Change reloc_size and reloc_count to long. Check
664 for error from bfd_get_reloc_upper_bound and
665 bfd_canonicalize_reloc.
666 (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
667 reloc_count_ptr argument to long *. Make corresponding changes to
668 variables loaded from *reloc_count_ptr.
669 * nm.c (display_rel_file): Change storage and symcount to long.
670 Check for errors from bfd_get_symtab_upper_bound and
671 bfd_canonicalize_symtab.
672 * objcopy.c (filter_symbols): Change symcount, src_count and
674 (copy_object): Change symcount to long. Pass another argument to
675 fprintf. Check for errors from bfd_get_symtab_upper_bound and
676 bfd_canonicalize_symtab.
677 (copy_section): Change relcount to long. Check for errors from
678 bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
679 (mark_symbols_used_in_relocations): Change relcount and i to long.
680 Check for errors form bfd_get_reloc_upper_bound and
681 bfd_canonicalize_reloc.
682 * objdump.c (storage): Remove global variable.
683 (symcount): Changed to long.
684 (slurp_symtab): New local variable storage. Check for errors from
685 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
686 (remove_useless_symbols): Change return value and count to long.
687 (objdump_print_address): Change min, max, thisplace and i to long.
688 (disassemble_data): Change i to long.
689 (dump_symbols): Change count to long.
690 (dump_relocs): Change relcount to long. Check for errors from
691 bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
692 (display_info_table): Add casts when passing LONGEST_ARCH for
695 Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
697 * nm.c (display_archive): Close each archive element after it has
699 * objdump.c (display_file): Likewise.
701 Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
703 * configure.in: Change error message to refer to bfd/config.bfd
704 rather than bfd/configure.in.
706 Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
708 * More fixes for object formats which allow multiple sections
710 * objcopy.c (setup_section): Make a new output section even if
711 one already exists with the given name.
712 (copy_section): Use isection->output_section rather than trying
713 to look the output section up by its (possibly non-unique) name.
715 * Makefile.in (install-info): Look for binutils.info in the
716 current directory, then in $(srcdir). Don't use $<.
718 Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
720 * objdump.c (objdump_print_address): Make static. Declare with
721 prototype. Change vardiff from int to bfd_signed_vma. Correct
722 binary search termination condition. When looking for same
723 section symbol in relocatable file, handle final symbol correctly.
725 Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
727 * Makefile.in: Avoid bug in hpux sed.
729 * objcopy.c: Changes to keep it from stripping symbols used
730 in output relocations.
731 (mark_symbols_used_in_relocations): New function. Mark symbols
732 used in output relocations with BSF_KEEP.
733 (filter_symbols): Do not strip symbols marked with BSF_KEEP.
734 (copy_object): Reorder actions. First setup sections, then
735 build the output symbol table, then copy the section contents.
737 Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
739 * ar.c (write_archive): Allocate space for the null byte. From
740 Robert Lipe <robertl@arnet.com>.
742 Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
744 * Makefile.in: Built nm.new and strip.new to avoid problems with
745 collect when . is in PATH.
746 (STRIP_PROG): Change from strip to strip.new.
747 (NM_PROG): Change from nm to nm.new.
748 (install): Remove the .new when installing.
750 Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
752 * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
753 symbol for which we build a stub.
754 (powerpc_mangle_relocs): Only reset TOC pointer for a call to a
755 symbol with BSF_DYNAMIC flag set.
757 Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
759 * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
760 if a symbol represents a compiler-generated local label.
761 (copy_object): Give the BFD backends a chance to copy any private
762 bfd data from the input BFD to the output BFD.
763 (setup_section): Give the BFD backends a chance to copy any private
764 section data from the input section to the output section.
766 Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
768 * objcopy.c (mangle_section): Delete unused function.
769 (setup_section): Set osection here instead of calling
770 mangle section to do it.
772 Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
774 * ar.c (write_archive): Close inarch before unlinking it.
776 Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
778 * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
779 powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if
780 the start and end symbols are not in the text section.
781 (struct powerpc_stub): New struct definition.
782 (powerpc_stubs, powerpc_stub_insns): New static variables.
783 (powerpc_initial_got_size): New static variable.
784 (powerpc_build_stubs): New function.
785 (powerpc_resolve_stubs): New function.
786 (powerpc_mangle_relocs): Clear extraneous data in .got section.
787 Rearrange reloc handling to handle ELF relocs that are not
788 partial_inplace. Resolve PC relative relocs.
790 Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac@jonny.cygnus.com)
792 * ar.c (move_members): Fix it so that the abi positional modifiers
793 don't delete all archive members following the insert point.
795 Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com)
797 * coffgrok.[ch]: New files, understand coff objects.
798 * coffdump.c: Uses coffgrok to dump out the debug info of a coff
800 * sysroff.info: Description of a SYSROFF object file.
801 * sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
802 header files and a printer.
803 * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
804 file to a SYSROFF file.
806 Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
808 * ar.c (do_quick_append): Pad with a genuine character 10,
809 rather than whatever '\n' might happen to be.
811 Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com)
813 * nlmconv.c (main): Ignore debugging symbols when looking for
814 special symbols by name.
816 Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
818 * nlmconv.c: Include libiberty.h.
820 Support for PowerPC NetWare.
821 * nlmconv.c (main): For PowerPC NetWare, automatically define the
822 special symbols __toc_start.
823 (select_output_format): Handle bfd_arch_powerpc.
824 (mangle_relocs): Likewise.
825 (powerpc_mangle_relocs): New function.
827 Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
829 * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
830 size.c: Use bfd_get_error and bfd_set_error and new error names.
832 Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com)
834 * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
836 Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
838 * objdump.c (disassemble_data): Handle bfd_arch_powerpc.
840 Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com)
842 * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
843 Call xmalloc_set_program_name.
845 Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com)
847 * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
848 can do arithmetic on it.
850 Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com)
852 * objdump.c (dump_section_stabs, read_section_stabs,
853 print_section_stabs): Functions broken out of dump_stabs_1.
854 Free the stabs and strings when done with them.
856 Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
858 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
859 * ar.c (print_contents, extract_file), size.c
860 (print_berkeley_format, print_sysv_format): Use bfd_get_filename and
861 bfd_my_archive instead of dereferencing the structs directly.
863 * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
864 Indent. Remove DEFUNs.
866 * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
868 * nm.c (display_file, display_archive), size.c (display_bfd):
870 Print matching formats if there is an ambiguous match. Use
871 bfd_nonfatal instead of hardcoded error message if nothing matches.
873 * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
876 * nm.c (display_archive): New function, from code in display_file.
877 (display_rel_file): Renamed from do_one_rel_file.
880 (display_archive): New function from code in display_file.
881 (display_file): Check bfd_close error return.
883 * strings.c (strings_object_file): Check bfd_check_format
886 * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
888 * bucomm.c: Delete references to exit_handler. It wasn't set
889 anywhere, and now that we're using the libiberty xmalloc, it
890 wouldn't always get called before exiting.
891 (list_matching_formats): Function moved from objdump.c.
892 * bucomm.h: Declare it.
894 * objdump.c (disassemble_data): Move some variable decls closer to
895 their use. Add some comments. Replace a nested block with a
898 Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com)
900 * objdump.c (display_target_list, display_info_table): Check that
901 the bfd of the dummy output file is not null.
903 Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm@thepub.cygnus.com)
905 * objcopy.c (filter_bytes): New function.
906 (copy_section): Call it.
907 (copy_options, copy_usage, copy_main): Add --byte option to
908 activate it. Appropriate the -b option (which was an undocumented
909 synonym for -F) for it, also. Add --interleave, -i option for
911 (setup_section, copy_section, mangle_section): Renamed with no `s'
913 * objcopy.1, binutils.texi: Document the new options.
915 * objdump.c (display_target_tables, display_target_list):
916 New functions broken out of display_info.
917 Eliminate some magic constants. Use more meaningful variable names.
918 (dump_bfd_header): New function broken out of display_bfd.
919 (dump_section_header): New function broken out of dump_headers.
920 (remove_useless_symbols): Don't shadow global variable name with
922 (objdump_print_address): Fix backward test.
924 Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)
926 * bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
927 * objdump.h: Removed.
929 Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com)
931 * objdump.c (display_file): Remove call to list_matching_formats.
932 It would never be called.
933 (list_matching_formats): Take an arg giving the list of matching
935 (display_bfd): Pass the arg, and get it filled in by calling
936 bfd_check_format_matches instead of bfd_check_format.
937 (display_info, display_info_table): target_vector was renamed to
940 * binutils.texi (objdump): Note some limitations of -h section
943 Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com)
945 * Makefile.in (MALLOC): Set to emptiness by default.
946 (ALL_CFLAGS): Add and use.
947 (arparse.h): Make it depend on arparse.y.
948 * ar.c (libbfd.h): Don't require to be in ../bfd.
949 * objdump.c (comp): Rename to compare_symbols.
951 Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm@thepub.cygnus.com)
953 * objdump.c (list_matching_formats): If the file format is ambiguous,
954 print the matching names so the user can choose one.
955 (display_bfd): Call it.
956 (display_file): Call it.
958 Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
960 * objdump.c (disassemble_data): Support bfd_arch_rs6000.
962 Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
964 * objdump.c (stab_name): Allocate dynamically.
965 (stab_print): Use pointers to strings instead of char arrays.
966 (dump_stabs): Change alloc and init of arrays appropriately.
967 (dump_stabs_1): Always decide whether to print stab_name or
968 the stab's type number, if unnamed.
970 Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
972 * objcopy.c (strip_main, copy_main): Don't clobber the input file
975 * nlmconv.c (main): Warn about an attempt to use a shared library
976 with uninitialized data.
978 * nlmconv.c (setup_sections): Make sure that we align the
979 output_offset of each input section appropriately.
981 Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
983 * objdump.c (dump_relocs): Don't crash if section name is NULL.
985 Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
987 * filemode.c (filemodestring): Commented out; not used.
988 (mode_string): Use POSIX definitions.
989 (ftypelet): Likewise.
990 (rwx): Removed; no longer used.
991 * bucomm.c: Include bucomm.h.
992 (bfd_nonfatal, bfd_fatal): Argument is const.
993 (fatal): Make __STDC__ version.
994 * bucomm.h (mode_string): Declare.
995 * Makefile.in (bucomm.o): Depend upon bucomm.h
997 Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
999 * bucomm.c (xmalloc, xrealloc): Deleted.
1000 * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
1001 libiberty version of functions.
1003 Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1005 * binutils.texi: Add a chapter summarizing the ways to select
1006 aspects of the target for each program.
1008 * objdump.c (long_options, usage): Add long equivalents for all
1009 remaining short options that lacked them.
1010 * binutils.texi objdump.1: Document them.
1012 * size.c (usage): Tweak usage message.
1013 * size.1: Add missing `=' in examples.
1015 * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
1016 Use "--target=bfdname" as the option to select the BFD target,
1017 like nm and size already do.
1018 Reserve "--format=format" for textual output selection options, but
1019 for now keep old option names as obsolete for backward compatibility.
1021 * strings.c (main, strings_object_file, usage): Add --target option.
1022 * binutils.texi strings.1: Document it.
1024 Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1026 * ar.c (main): Add \n in error message.
1028 Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1031 * ar.c (main): Put parens around assignment used as truth value.
1032 * objcopy.c (strip_main): Remove unused variables. Return 0.
1033 (copy_main): Remove unused variables. Return 0.
1034 * objdump.c (display_bfd): Declare return value as void.
1035 (stab_print): Use "" instead of 0 to initialize array.
1036 (dump_stabs_1): Print vma using printf_vma.
1037 (display_info): Put parens around assignment used as truth value.
1038 * strings.c (print_strings): Cast printf arguments.
1040 * objcopy.c (copy_main): Use copy_options, not strip_options.
1042 * nlmheader.y (command): Warn about illegal date values.
1044 Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm@frosty.eng.umd.edu)
1046 * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify.
1047 (bfd_nonfatal): New function.
1048 (bfd_fatal): Call it.
1050 * objcopy.c (smart_rename): Do a copy if the dest file has
1051 multiple hard links. Remove source file on successful copy.
1052 Try to preserve mode and owner on successful rename.
1054 * objcopy.c: Run through indent. Clean up a bit.
1055 Make global variables static.
1056 Make {input,output}_{target,filename}, show_version local
1057 to various functions.
1058 New global variable `status' for exit status.
1059 (strip_main, copy_main): New functions with code from main.
1060 (nonfatal): New macro. Use it globally instead of bfd_perror and
1063 (copy_object): Call mangle_sections with bfd_map_over_sections.
1064 (mangle_sections): Adjust for new calling convention.
1066 Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
1068 * nlmheader.y (command): Accept MAP and FULLMAP without arguments.
1069 * nlmconv.c (main): Change error message for MAP and FULLMAP.
1071 Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
1073 * nlmconv.c (main): Warn about imported symbols that are not in
1074 the IMPORT list even if the IMPORT keyword is not used.
1076 * nlmconv.c (debug, unlink_on_exit): New static variables.
1077 (long_options): Add "debug" and "linker".
1078 (main): Handle -d and -l arguments. Make command line input and
1079 output files optional. Parse the command file before opening the
1080 BFD's, which requires storing more information in local variables.
1081 If INPUT names multiple files, link them together. Use OUTPUT for
1082 the output file name if not named on command line.
1083 (show_usage): Changed for new options.
1084 (link_inputs): New function to automatically invoke linker to
1085 handle multiple INPUT files.
1086 (choose_temp_base_try, choose_temp_base, pexecute): New functions,
1087 mostly copied from gcc/gcc.c.
1088 * nlmconv.h (input_files, output_file): Declare.
1089 * nlmheader.y (input_files, output_file): Define.
1090 (command): Support INPUT with a string_list argument. Support
1092 (string_list): Renamed from module_list.
1093 * Makefile.in (nlmconv.o): Define LD_NAME based on
1094 program_transform_name.
1096 Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
1098 * nlmheader.y (nlmheader_identify): New function. Use it to print
1099 the program name just once, instead of with every error message.
1101 Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1103 * nlmconv.c (long_options): Changed --header-info to --header-file
1104 to match documentation and usage message.
1106 Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
1108 * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
1111 Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1113 * nlmconv.c (main): Change various types from bfd_size_type to
1114 size_t, since they have to be arguments to fread and fwrite.
1115 Change set from char * to unsigned char *.
1116 (select_output_format): Make mach argument unsigned. Handle
1118 (setup_sections): Don't copy the .reginfo section of an ECOFF
1119 file. Call bfd_set_reloc to initialize the relocation fields.
1120 (copy_sections): Don't copy the .reginfo section of an ECOFF file.
1121 Combine all relocs for a section.
1122 (mangle_relocs): Change type of relocs to permit specific
1123 functions to change it. Call alpha_mangle_relocs for alpha,
1124 default_mangle_relocs for other architectures.
1125 (default_mangle_relocs): New function. Adjust the address of all
1126 relocs by the output_offset.
1127 (i386_mangle_relocs): Change type of relocs argument. Cast length
1128 argument to memmove to size_t.
1129 (alpha_mangle_relocs): New function.
1131 Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com)
1133 * nlmconv.c (select_output_format): Use nlm32-sparc for
1136 Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com)
1138 * nlmconv.1: added man page
1139 * objcopy.1: fixed format errors
1141 Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1143 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
1145 Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1147 * strings.1: Fix typo.
1149 Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
1151 * Makefile.in (DISTSTUFF): Build "info".
1152 (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
1154 Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
1156 * objdump.c (dump_stabs): Handle stabs-in-som as implemented
1157 by the new BFD SOM assembler.
1159 Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm@rtl.cygnus.com)
1161 * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
1162 strings.1 strip.1: Replace \(em in NAME section with \- so
1163 makewhatis can grok it.
1165 Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1167 * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
1168 section output_offset.
1170 Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com)
1172 * binutils.texi: added nlmconv chapter
1174 Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy@cygnus.com)
1176 * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
1178 Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn@rover.cygnus.com)
1180 * Makefile.in (distclean): Don't get rid of dvi or info files.
1182 Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm@rtl.cygnus.com)
1184 * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
1186 Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1188 * binutils.texi: Move objcopy docs into alphabetical order.
1190 * objdump.c: Use xmalloc instead of malloc.
1192 Fri Oct 29 11:11:14 1993 Stan Shebs (shebs@rtl.cygnus.com)
1194 * objdump.c (info): Rename to formats_info.
1195 (dump_stabs_1): Better comments and formatting.
1197 Thu Oct 28 19:43:16 1993 Stan Shebs (shebs@rtl.cygnus.com)
1199 * ar.c (main): Always create the archive when quick appending,
1200 even if no input files have been given.
1202 Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1204 * nlmconv.c (main): Set sharedDebugRecordOffset and
1205 sharedDebugRecordCount fields in extended header.
1207 * nlmconv.c (main): Force moduleName field to upper case.
1209 Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1211 * objcopy.c (main): Give a usage message if there are too many
1214 Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn@rover.cygnus.com)
1216 * Makefile.in (install-info): Rewrite to take advantage of VPATH,
1217 so FSF distributions (with info files in $(srcdir)) install
1219 (DISTSTUFF): Build nlmheader.c too.
1221 Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn@rover.cygnus.com)
1223 * ar.c (program_name): Don't define here.
1224 * objdump.c: Include "bucomm.h".
1225 (xmalloc): Don't declare here.
1226 (program_name): Don't define here.
1227 (program_version): Fixed type in declaration.
1228 * size.c: Include "bucomm.h".
1229 (program_name): Don't declare here.
1231 Fri Oct 22 14:10:41 1993 Mark Eichin (eichin@cygnus.com)
1233 * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
1235 Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1237 * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
1238 relocs against defined symbols in the same section.
1240 Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
1242 * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
1244 Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1246 * objcopy.c (simple_copy, smart_rename): New functions.
1249 Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1251 * Makefile.in (clean, distclean): Recurse into testsuite.
1253 Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1255 * objcopy.c (setup_sections, copy_sections): If stripping, don't
1256 copy SEC_DEBUGGING sections.
1257 * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
1259 * objdump.c (usage): Mention --stabs.
1261 * objcopy.c (copy_object): Copy all applicable file flags.
1262 (copy_file): Don't copy EXEC_P specially here.
1264 Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1266 * nlmconv.c (main): Adjust data section size to correspond to bss
1267 alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to
1268 a different section. Use time_t for time variable.
1269 (setup_sections): Only put sections with contents in output NLM.
1270 (i386_mangle_relocs): No symbols are common at this point. Add
1271 casts to avoid warnings.
1273 Fri Sep 10 11:00:40 1993 Stan Shebs (shebs@rtl.cygnus.com)
1275 * objdump.c: Made the --stabs option work for stabs-in-coff.
1276 (ELF_STAB_DISPLAY): Removed.
1277 (dump_elf_stabs): Renamed to dump_stabs, changed to run for
1278 any object file format.
1279 (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
1280 generic BFD routines for non-ELF case, changed format of message
1281 for no-section-found case.
1282 (display_bfd): Always call dump_stabs if requested.
1283 (dump_data): Call bfd_section_size to get section size.
1285 Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1287 * Makefile.in (install): Don't put strings in tooldir/bin.
1289 Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1291 * nlmconv.c (total_bss_size): Removed.
1292 (main): Set the bss vma to always follow the data section. Move
1293 symbols into new sections, and adjust values by output_offset.
1294 (setup_sections): Don't copy all sections, but instead point all
1295 text sections to .text, all data sections to .data, and all bss
1297 (copy_sections): Adjust accordingly.
1299 Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1301 Only build nlmconv if configured for a NetWare target.
1302 * configure.in: If we have some *-*-netware* target, or are using
1303 all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
1304 * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
1307 Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1309 * objdump.c (ARCH_all): Define ARCH_hppa too.
1310 (dump_headers): Don't test for SEC_BALIGN if it's not defined by
1313 Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1315 * nlmconv.c (main): Force creation of .bss section. Set up the
1316 sections before looking at the symbols. Move all common symbols
1317 into .bss section. Automatically define _edata and _end. Only
1318 export symbols in the export list, with multiple prefixes if
1319 necessary. Warn if no version. Always create extended header.
1320 Set date automatically if not already set.
1321 (setup_sections): Count size of bss sections.
1322 (mangle_relocs, i386_mangle_relocs): Accept section argument, and
1323 take reloc_count as a changeable pointer; changed callers.
1324 (i386_mangle_relocs): Remove PC relative relocs within a section,
1325 as they require no adjustment.
1326 * nlmheader.y: Fixed memory allocation throughout: token STRING is
1327 now allocated on the heap, and freed if not needed. Null
1328 terminated copyright message. Accept version with only two
1330 (symbol_list_opt): New nonterminal, either symbol_list or empty.
1331 (symbol_list): Use left recursion to avoid overflowing parser
1333 (yylex): Rearranged beginning of line check. Accept quoted
1334 strings using single quotes. End generic argument at comment
1335 character or parentheses.
1336 (string_list_append): Fixed.
1337 (string_list_append1): New function.
1339 * bucomm.h: The first argument to xrealloc is PTR, not char *.
1340 * bucomm.c (xrealloc): Use PTR rather than char *.
1341 * Makefile.in (objdump.o): Depend upon config.status to notice
1342 --with-targets changes.
1343 (nlmconv.o): Depend upon bucomm.h.
1345 Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1347 * configure.in: Don't pass cpu to config.bfd.
1349 Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1351 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
1352 (demangle.o): New target.
1353 (cplus-dem.o): Depend on it, to force compilation order when doing
1356 * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
1357 (struct output_fns print_symbol_info): Ditto.
1358 (long_options, usage, main): Add -C --demangle option.
1359 (print_symname): New function, demangling if requested.
1360 (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
1362 Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1364 * Makefile.in: Put CFLAGS last in compilation rules and omit from
1365 linking rules. Use ARCHDEFS to compile objdump.c.
1366 Update dependencies.
1367 * configure.in: Construct ARCHDEFS based on the BFD target makefile
1369 * objdump.c: Conditionalize calls to the print_insn_ARCH functions
1370 according to ARCHDEFS.
1372 Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com)
1374 * ar.c: Removed obsolete and non-functional GNU960 code.
1376 Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com)
1378 * size.c (berkeley_sum): New function.
1379 (bsssize, datasize, textsize): New global variables.
1380 (bss_section_name, data_section_name, text_section_name): Removed.
1381 (print_berkeley_format): Map berkeley_sum over all the sections,
1382 rather than only reporting sizes of specifically named sections.
1383 * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
1385 Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com)
1387 * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
1388 convert object files into NetWare Loadable Modules.
1389 * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
1390 (PROGS): Add NLMCONV_PROG.
1391 (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
1394 Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
1396 * Makefile.in: define MAKEOVERRIDES to an empty string
1398 Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1400 * objcopy.c (copy_file): Make failures to process a file nonfatal.
1402 Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1404 * nm.c: Add -B option, like --format=bsd.
1406 Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1408 * objcopy.c (copy_file): If the file is neither an object nor an
1409 archive, give an error rather than returning success.
1411 Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
1413 * objdump.c (objdump_print_address): Prefer non-local symbols over
1414 local ones, and especially discriminate against debugging symbols.
1415 Also, for relocateable files, try to find a symbol in the current
1416 section, instead of picking one from some random section with a
1417 convenient value (read, section offset).
1418 (disassemble_data): Cast argument to malloc to size_t first.
1419 (dump_data): Likewise.
1420 (dump_relocs): If a single section name is specified, show relocs
1421 only for that section. Otherwise, silently omit sections without
1422 relocs. Format table nicely even if values are printed using 16
1423 digits instead of 8.
1425 Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1427 * nm.c: Changes for final version of POSIX.2.
1428 (print_symbol_filename_{bsd,sysv,posix}): New functions.
1429 (formats): Add an element for a pointer to them.
1430 (print_symbols): Call it.
1431 (print_object_filename_posix, print_archive_member_posix): Produce
1432 output according to new POSIX.2 spec.
1434 * strings.c (print_strings): Handle STREAM being NULL.
1435 (strings_a_section): Pass a NULL.
1436 (main): Don't open /dev/null.
1438 Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1440 * objdump.c (disassemble_data): Handle the m88k.
1441 (display_bfd): Use bfd_errmsg, rather than just claiming that the
1442 bfd is not an object file.
1444 Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com)
1446 * Makefile.in (TAGS): make work again by naming directories
1447 explicitly rather than depending on undefined macros.
1448 (INSTALL_XFORM): correct bad install target.
1450 Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1452 * strings.c: Doc fixes.
1454 Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1456 * Makefile.in: Note dependencies on bucomm.h.
1457 (cplus-dem.o): Link c++filt with version.o.
1459 * strings.c: Include bucomm.h and add prototypes to other decls.
1462 * bucomm.h: Declare xrealloc.
1464 * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
1465 --help option. Put "GNU" in the version message.
1466 (usage): Take stream and exit status as args.
1467 (main): Pass new args to usage.
1469 Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1471 * strings.c, strings.1: New files.
1472 * binutils.texi: Document strings.
1473 * Makefile.in: Add rules for it.
1475 Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
1477 * objdump.c: Use size-independent bfd elf section names.
1479 Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
1481 * objdump.c (objdump_print_address): Handle wide offsets by
1482 calling sprintf_vma.
1484 Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com)
1486 * objdump.c (syms2): Removed unused variable.
1487 * objdump.c (remove_useless_symbols): New function.
1488 * objdump.c (comp): Simplify.
1489 * objdump.c (dis-assemble_data): Make simpler and more
1490 efficient how we filter out useless symbols: Just filter
1491 BEFORE the sort (using remove_useless_symbols).
1492 * objdump.c (objdump_print_address): Simplify.
1493 Change output syntax to match gdb.
1495 Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
1497 * Makefile.in: canonicalize install.sh; for use within
1498 this directory (and subdirs)
1500 Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
1502 * Makefile.in (install, install-info): remove parentdir support,
1503 use INSTALL_XFORM; define INSTALL_XFORM
1505 Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com)
1507 * objcopy.c (copy_object): Fix bad size passed to xmalloc().
1509 Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com)
1511 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
1512 * configure.in: No longer need to configure to get sysdep.h.
1513 * objcopy.c (copy_object): Fix symbol table handling.
1515 Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com)
1517 * objcopy.c (filter_symbols): Cannot filter the symbols
1518 in place, because that confuses the relocs, so take separate
1519 parameter for output array.
1520 * objcopy.c (sympp): Make two variables: isympp and osympp.
1521 * objcopy.c (copy_object): Allocate separate array (osympp)
1522 for filtered symbols.
1524 Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1526 * Makefile.in: change recursion test to presence of a configured
1529 Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1531 * Makefile.in (underscore.c): Hack the backquoted command so it
1532 doesn't cause Solaris make to bomb.
1534 Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com)
1536 * Makefile.in: added c++filt and objcopy to MANPAGES variable
1537 * .Sanitize: keep c++filt.1 and objcopy.1
1539 Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1541 * Makefile.in: rename LOADLIBES to EXTRALIBS
1543 Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com)
1545 * c++filt.1, objcopy.1: new man pages
1547 Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com)
1549 * Makefile.in (install): Also install ar and ranlib in
1550 $(tooldir)/bin; needed for building libgcc.a.
1551 * objdump.c (objdump_print_address): Fix the check
1552 "coincidental" label matches by dis-allowing undefined
1555 Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com)
1557 * biutils.texi: revised c++filt chapter
1559 Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com)
1561 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
1563 Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com)
1565 * objdump.c (slurp_symtab): Print warning for bad symbol table.
1566 (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
1567 declarations and uses.
1569 * Makefile.in (DISTSTUFF): Don't build binutils.mm.
1571 Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com)
1573 * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
1574 Make global variables static.
1575 (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
1576 (set_print_radix, set_output_format,
1577 print_{object_filename,archive_filename,archive_member,symbol_info}
1578 {bsd,sysv,posix}): New functions.
1579 (display_file, print_symbols): Call them.
1581 * ar.c: Improve error messages.
1583 * nm.c (main): Handle long options that just set a flag.
1585 * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
1586 (main): Exit after printing the version number, per the GNU coding
1589 Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com)
1591 * README, Makefile.in: Minor updates for 2.2.
1593 Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com)
1595 * Makefile.in (underscore.c): Automatically generate
1596 (using nm) a file with the variable prepends_underscore.
1597 * Makefile.in (c++filt): Link underscore.o with cplus-dem.o
1598 so that initial underscores get removed iff appropriate.
1599 * binutils.texi: Preliminary documentation for c++filt.
1600 * Makefile.in, binutils.texi: Set to version 2.2.
1602 * NEWS: Mention copy->objcopy renaming and new c++filt program.
1604 Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com)
1606 * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
1607 demangler via cplus-dem.o, rather than directly from the .c file.
1609 * objcopy.c: Renamed from copy.c, updated comments accordingly.
1610 * Makefile.in, binutils.texi: Renamed copy to objcopy.
1611 * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
1612 rename of copy to objcopy.
1614 Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com)
1616 * binutils.texi (strip, -v option): Fix typo.
1618 Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com)
1620 * Makefile.in (RUNTEST): Define.
1621 (FLAGS_TO_PASS): Pass down RUNTEST.
1623 Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com)
1625 * Makefile.in (DEMANGLER_PROG): Name it c++filt.
1626 (PROG): Also build and install COPY_PROG.
1628 Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com)
1630 * Makefile.in: Change definition of $(tooldir) to match FSF.
1632 Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com)
1634 * size.c (usage): Add missing options.
1635 (main): Clean up option parser.
1637 * objdump.c (usage): Add missing options.
1638 (display_file): Print program name before calling
1641 * nm.c (usage): Add missing options.
1642 (main): Clean up option parser.
1643 (display_file): Print program name before calling
1646 * copy.c (copy_usage, strip_usage): Add missing options.
1648 * ar.c (usage): New function.
1650 (open_inarch, do_quick_append): Print program name before calling
1653 Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com)
1655 * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
1657 Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com)
1659 * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
1660 built binaries if they exist. (otherwise the path)
1662 Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com)
1664 * Makefile.in: Changed check target to use DejaGnu.
1666 Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com)
1668 * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
1669 objdump.c: a29k and i960 are `disassemble' not `print'.
1671 * objdump.c: Rename print_address to objdump_print_address
1672 and change parameters.
1673 (disassemble_data): Use objdump_print_address.
1675 Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1677 * objdump.c (disassemble_data): print_insn_sparc is now a
1678 `disassemble' not a `print'.
1679 Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
1681 * objdump.c (disassemble_data): Use new read_memory_func stuff.
1683 Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1685 * objdump.c (fprintf): Declaration of variadic function had better
1686 be a prototype for ANSI C systems.
1688 Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1690 * Makefile.in: rename test-install to install-check
1692 Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1694 * objdump.c (disassemble_data): Add H8500.
1696 Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com)
1698 * objdump.c (usage): Mention long options.
1700 Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com)
1702 * nm.c: Modify behavior of -o flag for archives to match
1703 BSD4.4 and Sunos 4: Prefix archive name before each line.
1705 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
1706 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
1707 * Makefile.in: Adjust accordingly.
1708 * objdump.c: Support new-style disassemblers (ones that use
1709 the interface of ../include/dis-asm.h).
1711 Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com)
1713 * Makefile.in: When making tar file, remove texinfo/*,
1714 except for texinfo/texinfo.tex.
1715 * ardup.c: Add extern declaration of strdup.
1716 * Makefile.in (testsuite): Add 'else true' since otherwise
1717 Ultrix /bin/sh complains.
1719 Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com)
1721 * Makefile.in: Set VERSION to 2.1.
1722 * README, NEWS: Updates.
1723 * nm.c: Add -v as a synonym for -V.
1725 Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com)
1727 * configure.in: added testsuite to configdirs.
1728 * Makefile.in: added support for building testsuite.
1730 Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com)
1732 * objdump.c (disassemble_data): Print function names when
1733 given by bfd_find_nearest_line. If not - still print
1736 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
1738 * binutils/testsuite: made modifications to testcases, etc., to allow
1739 them to work properly given the reorganization of deja-gnu and the
1740 relocation of the testcases from deja-gnu to a "tool" subdirectory.
1742 Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1744 * objdump.c (dump_data): Free up section contents each time
1745 through the loop. Reported by minyard@bnr.ca.
1747 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
1749 * binutils/testsuite: Initial creation of binutils/testsuite.
1750 Migrated dejagnu testcases and support files for testing nm to
1751 binutils/testsuite from deja-gnu. These files were moved "as is"
1752 with no modifications. This migration is part of a major overhaul
1753 of dejagnu. The modifications to these testcases, etc., which
1754 will allow them to work with the new version of dejagnu will be
1755 made in a future update.
1757 Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com)
1759 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
1760 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
1761 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
1763 * Makefile.in (PROGS): Add DEMANGLER_PROG.
1765 Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
1767 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
1768 macro rather than checking for equality to bfd_com_section.
1770 Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1772 * objdump.c (disassemble_data): Fix code to find first useless
1775 Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1777 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
1778 Don't core dump if bfd_find_nearest_line returns false.
1780 Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1782 * objdump.c (disassemble_data): know how to disassemble z8000s
1785 Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com)
1787 * arsup.h (interactive), bucomm.h (program_name): Prefix
1788 with 'extern', to avoid warnings from some compilers.
1790 Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com)
1792 * arparse.y: fix unnecessary shift/reduce
1794 Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com)
1796 * Makefile.in: Make check depend on all.
1797 * Makefile.in (distclean): Remove sysdep.h.
1798 * size.c: Use %u format where appropriate.
1799 * objdump.c: Standardize: L_SET -> SEEK_SET.
1800 * objdump.c: Use new macro bfd_asymbol_bfd.
1801 * configure.in: Allow std-host as the default ${mys_host}.
1803 Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1805 * Makefile.in: added dvi target, define and use TEXI2DVI
1807 Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com)
1809 * Makefile.in (dist): Fix permissions before release.
1810 * size.c: Use bfd_size_type (and long) where appropriate.
1811 * ar.c: Make writing a map the default, to be compatible
1812 with SYSV and Posix.2. Remove some bogus kludges that
1813 handled __.SYMDEF directly.
1816 Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1818 * Makefile.in: flex no longer needs the -S flag
1820 Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1822 * ar.c (extract_file): utime needs a pointer to a utimbuf
1824 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
1825 the list (since some of the bfd/hosts/*.h files include other
1826 files from that directory)
1828 Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com)
1830 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
1832 Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com)
1834 Clean up some old BFD ansification macros.
1836 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
1837 It still remains as a local macro in gmalloc.c, which is derived
1838 from some other copy of GNU Malloc somewhere (FIXME).
1840 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
1842 * arsup.h: Declare extract_files.
1844 Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com)
1846 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
1847 use utime and utimbuf structure, otherwise if USE_UTIME use utime
1848 and array of two longs, otherwise use utimes.
1850 Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com)
1852 * binutils.tex: Document yesterday's changes to strip and copy.
1854 Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com)
1856 * copy.c: Re-do command-line parsing to use getopt_long().
1857 Add long option names. Re-think option letters to be more
1859 * copy.c: New function filter_symbols() for stripping only
1860 debug-symbols and/or local symbols. Use these to support
1861 the previously-missing options of the old FSF strip.
1863 Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com)
1865 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
1866 than repeating a copy of it here.
1868 Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com)
1870 * copy.c (main): Even if is_strip, accept -d argument indicating
1871 alternate output format. Needed by gdb for Nindy.
1873 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
1875 Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com)
1877 * binutils.texi: added documentation for "copy"
1879 Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
1881 * Makefile.in (*clean rules): Some cleaning up.
1882 * Makefile.in (dist): Make diststuff in gprof for a dist.
1884 * ar.c (do_show_version): New function.
1885 * ar.c (main): Fix so "ar -V" works.
1887 Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1889 * configure.in: now uses the cpu-vendor-os triple instead of
1892 Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com)
1894 * i960-pinsn.c: Change bzero to memset.
1895 * sparc-pinsn.c: Change index to strchr.
1897 Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com)
1899 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
1900 operands to memory management instructions, from WRS.
1902 Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com)
1904 * Makefile.in (install): if $(tooldir) exists, install nm and
1905 strip in $(tooldir)/bin.
1907 Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com)
1909 * Makefile.in: Let's call it version 2.0.
1911 Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com)
1913 * Makefile.in: Bump to version 0.98.
1914 * TODO, README: Minor updates.
1916 * Makefile.in: Added mostlyclean, distclean rules,
1917 and cleaned up clean, realclean.
1919 Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com)
1921 * Makefile.in: map program names through program_transform_name
1924 Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com)
1926 * Makefile.in: Bump to versions 1.97.90.
1927 * cplus-dem.c: Removed. Was nowhere used - and if some
1928 programs are changed to to demangling should now use the
1929 versions in libiberty.
1931 Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com)
1933 * configure.in: add we32k
1935 Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1937 * ar.c (map_over_members): if the element of the archive has a
1938 null name, fill it in.
1940 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
1941 will be symbols and there aren't any.
1943 Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com)
1945 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
1947 Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com)
1949 * nm.c objdump.c: Added support for a +version (-V)
1950 to print the version number.
1952 * ar.c, copy.c: Added support for a -V option to print
1955 Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com)
1957 * config/mh-apollo68v: removed -g from CC definition.
1959 * Makefile.in: always create installation directories.
1961 Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com)
1963 * m68k-pinsn.c: Minor fix in style of output (don't use
1964 range to indicate floating point control registers).
1966 Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com)
1968 * ar.c (main): Don't *always* set the verbose flag!
1970 Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com)
1972 * copy.c: When is_strip (because it is invoked as the strip
1973 program), follow traditional argv processing:
1974 'strip file1 file2' now strips file1 and file2, rather
1975 than stripping file1 (as input), leaving output in file2.
1977 Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com)
1979 * objdump.c (display_info, display_info_table): Call
1980 bfd_set_format() on dummy bfd before using it (twice).
1981 * ar.c: Make sure archive is created on command 'r'
1982 even when no elements are inserted. (Clean up and
1983 simplify some non-working related code.)
1985 Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
1987 * configure.in: hppa support doesn't assume hp OS (from sef).
1989 Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1991 * configure.in: recognize hppa hosts (bsd & hpux), error messages
1992 to stderr, not stdout
1994 Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1996 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
1997 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
1999 Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com)
2001 * Makefile.dos: removed rcsid.
2003 Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2005 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
2007 Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
2009 * Makefile.in: Add program_suffix (parallel to program_prefix)
2011 Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
2013 * nm.c (sorters): Lint. Remove excess whitespace.
2015 Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com)
2017 * nm.c (valueof macro): Add missing parentheses.
2018 (Their lack screwed up numeric_forward().)
2020 Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
2022 * objdump.c (dump_elf_stabs): Also dump .stab.index and
2023 .stab.excl sections.
2024 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
2025 * objdump.1, binutils.texi: Document new sections dumped.
2027 Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
2029 * size.c, objdump.c, bucomm.c: Lint.
2031 Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
2033 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
2034 .stab section from an ELF file. Installed under #ifdef
2035 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
2036 bfd-internals header files and such.
2037 * objdump.1, binutils.texi: Update for --stabs. Also fix
2038 objdump's doc to use -- rather than + for long options.
2039 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
2041 Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2043 * objdump.c(display_info), patches from
2044 mohring@informatik.tu-muenchen.de to print the table much more
2047 Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com)
2049 * objdump.c: Add another enum->int cast, for the sake of
2050 old compilers (such as PCC).
2052 Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com)
2054 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
2055 Add declaration of strdup().
2057 Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com)
2059 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
2060 rules, since these are used when building a distribution.
2061 * Makefile.in (arlex.c): Don't re-direct output, since that
2062 leaves a bogus output files if it fails.
2064 * arlex.l: Make work with lex, for what it's worth.
2065 * Makefile.in: Better lex support.
2066 * Makefile.in (dist): Generate flex and bison outputs
2069 Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
2071 * Makefile.in: get BISON definition right.
2073 Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com)
2075 * sanity.sh: default TMPDIR to ".".
2077 Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
2079 * binutils.texi: add doc for ar command language.
2081 Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2083 * arparse.y: make END call ar_end
2084 * arsup.c (ar_end): added, deletes temp file if archive session
2088 Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com)
2090 * Makefile.in: use bison & flex from ../ if they exist. Also,
2093 * sanity.sh: remove temporary directory when finished.
2095 Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com)
2097 * Makefile.in: Bump to version 1.97.
2098 * ar.c: Declare errno for machines that need it.
2100 Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com)
2102 * objdump.c (display_info): Handle error cases without coredump.
2103 Close the dummy temporary file we open in the loop.
2104 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
2106 Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com)
2108 * Makefile.in: added test-install target.
2110 * sanity.sh: new file.
2112 * Makefile.in: use sanity test on make check.
2114 Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com)
2116 * Makefile.in: rework CFLAGS so that they can be passed on the
2117 command line to make. Remove MINUS_G. Default CFLAGS to -g.
2119 Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2121 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
2124 Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com)
2126 * Makefile.in: added check target.
2128 Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com)
2130 * Makefile.in: added clean-info target.
2132 Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com)
2134 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
2135 installed. added tooldir and program_prefix.
2137 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
2139 * Makefile.in, configure.in: removed traces of namesubdir,
2140 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
2141 copyrights to '92, changed some from Cygnus to FSF.
2143 Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
2145 * Makefile.in: Bump version to 1.96, and remove -beta
2146 suffix from distribution name.
2147 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
2148 the signed value of a character (even if chars are unsigned).
2149 * sparc-pinsn.c: Add new operand types.
2151 Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2153 * objdump.c (disassemble_data): don't print a section's contents
2154 if it's not loadable (eg bss)
2156 Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2158 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
2159 displacements don't get printed as large +ve ones.
2161 Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2163 * copy.c, nm.c, objdump.c, size.c : changed to use the
2167 Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
2169 * bucomm.c (print_arelt_descr): Tweek the output format
2170 so that 'ar tv' output follows Posix 1003.2/D11.
2171 Output is now also identical to Sun's (except __.SYMDEF).
2173 Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
2175 * Makefile.in: Make `make' output more readable.
2177 Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
2179 * Makefile.in: Bump to version 1.94.
2181 Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
2183 * ar.c: added "b" to fopens for dos
2184 * configdj.bat, makefile.dos new files from DJ
2186 Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2188 * Makefile.in: infodir belongs in datadir.
2190 Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2192 * bucomm.h: created to hold prototypes of bucomm.c
2193 * objdump.h: created to hold prototyes of objdump.c
2194 * am29k-pinsn.c: include objdump.h
2195 * ar.c: include bucomm.h, get ar.h from the right place and
2197 * bucomm.c: defunize bfd_fatal
2198 * copy.c: include bucomm.h, lint.
2199 * i960-pinsn.h: include bucomm.h
2200 * m68k-pinsn.h: lint
2201 * nm.c: include bucomm.h, lint
2203 * sparc-pinsn.c: include objdump.h
2207 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2209 * Makefile.in: added standards.text support. install using
2210 INSTALL_PROGRAM and INSTALL_DATA.
2212 * configure.in: configure now does all of it's work from objdir so
2213 make file existence tests against ${srcdir}.
2215 Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2217 * Makefile.in: idestdir and ddestdir go away. Added copyrights
2218 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
2219 and mandir now keyed off datadir by default.
2221 Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
2223 * Makefile.in: Bump to version 1.93.
2224 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
2225 for make versions that provide half-baked VPATH-support (e.g. Sun's).
2226 * size.c: Improvements suggested by
2227 "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
2228 - Don't emit (Berkeley) headers if no files were found.
2229 - Return a non-zero return code on failure.
2231 Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2233 Changes due to include file renaming:
2234 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
2235 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
2236 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
2237 * nm.c: stab.gnu.h -> aout/stab_gnu.h
2239 Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
2241 * README: Mention MINIMIZE flag for bfd's make.
2243 Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
2245 * README: Various improvements.
2247 Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
2249 * Makefile.in: Bump to version 1.92.
2250 * version.c, Makefile.in: Get version string from Makefile.
2251 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
2252 Make the same change that we earlier did for ar/ranlib:
2253 Generate two different binaries for strip and copy and use
2254 a global variable with different values to distinguish
2255 ostrip from copy. (-1 means to use argv[0] to decide,
2256 so you can get the old behavior, but it is no longer the default).
2257 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
2258 * copy.c (main): If is_strip==-1, compare last 5 chars
2259 of argv[0], not the whole path.
2260 * copy.c (main): Return 0, not 1.
2261 * copy.c (setup_sections): Fix due to change in bfd_make_section
2262 now failing if asked for a duplicate section.
2263 * strip.c, ostrip.c: Removed obsolete files.
2264 * ar.c, not-ranlib.c, maybe-ranlib.c:
2265 Change encoding of is_ranlib variable to be consistent
2266 with is_strip for strip.copy (i.e -1 to means use argv[0]).
2268 Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
2270 * version.c (program_version): Update to version 1.92.
2272 Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
2274 * ar.c (get_pos_bfd): Previous fix was missing a "break".
2276 Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
2278 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
2279 encodings. (Thaks to David Wood)
2281 Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
2283 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
2284 * ar.c (get_pos_bfd): Fix to handling of before/after
2285 positioning options.
2286 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
2287 since libiberty contains vfprintf etc if otherwise missing.
2288 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
2289 type operands, as used by branch instructions.
2290 * nm.c: Delegate printing of symbols to BFD,
2291 by using bfd_print_symbol to do the formatting.
2293 Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
2295 * ar.c (write_archive.c): added unlink before rename since some
2296 systems can't rename onto an existant file.
2298 Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
2300 * nm.c: now doesn't crash if a symbol with no section and no
2303 Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
2305 * Makefile.in, version.c: Bump to version 1.91.
2307 Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
2309 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
2310 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
2311 * strip.c: Add or update Copyright notice.
2312 * TODO: Add note on 'nm -a'.
2313 * version.c: Update version number to 1.90.
2314 * Makefile.in: Fix making of documentation for dist.
2316 Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
2319 * Makefile.in: New kludgy rules for making a tarfile.
2320 * Makefile.in: Fix bindir path.
2322 Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
2324 * Makefile.in: add targets binutils.mm, binutils.me
2326 Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
2328 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
2330 Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
2332 * Makefile.in: add target "binutils.ms"
2334 * binutils.texinfo: minor restructuring for texi2roff comfort.
2336 Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
2338 Restructure configuration scheme for bfd, binutils, ld.
2340 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
2341 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
2342 Change some config names to match other dirs.
2343 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
2345 * Makefile.in: Use -I. to get sysdep.h.
2347 Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
2349 * nm.c (print_symbols): Handle NULL name field of symbol.
2350 * Makefile.in: Removed spurious comment.
2352 Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
2354 * binutils.texinfo: minor typos, phrasing, formatting fixes.
2356 Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
2358 * configure.in: Get host file from ../bfd/config, not config.
2359 * config/*: Remove config directory and its files.
2361 Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
2363 * Makefile.in: new targets binutils.dvi, binutils.info
2365 * binutils.texinfo: remove most remaining FIXME's, delete
2366 references to __.SYMDEF by name
2369 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
2371 * objdump.c (print_address) Print addresses nicely.
2373 Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
2375 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
2376 Make two different binaries for ar and ranlib, instead of
2377 distinguishing them at run time using argv[0].
2378 (Old behavior is still available if you "make ar_with_ranlib",
2379 but it is not the default.)
2380 * ranlib.sh (new): An alternative one-line
2381 shell implementation of ranlib.
2383 Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
2385 * objdump.c: Cope with renames of a few BFD types & enums.
2387 Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
2389 * binutils.texinfo: add new file (rudimentary docn)
2391 Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
2393 * config/hmake-news: Add new file (for Sony NEWSOS3).
2394 * bucomm.c (fatal): Conditionally compile fatal() depending on
2395 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
2396 * objdump.c (dump_headers): Trivial output format change.
2397 * objdump.c (display_info): Loop over integers, not enums,
2398 to appease old compilers.
2400 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
2402 *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
2404 Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
2406 * objdump.c (print_address): Make disasembled output more
2407 consistent with gdb and as: Add 0x when printing hex.
2408 Don't print extra leading zeros.
2409 Attempt to not print "filename.o".
2410 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
2413 Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
2415 * copy.c: Change =& constructs to = &, since they confuse older
2423 version-control: never