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