* ar.c (main): Don't crash if called with no arguments
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2
3 * ar.c (main): Don't crash if called with no arguments
4 or only '-X32_64' as an argument.
5
6 2000-08-05 Jason Eckhardt <jle@cygnus.com>
7
8 * readelf.c (elf/i860.h): Include.
9 (dump_relocations): Add recognition of i860 architecture.
10 (guess_is_rela): Add recognition of i860 architecture.
11
12 2000-08-03 Nick Clifton <nickc@cygnus.com>
13
14 * MAINTAINERS: Add information about CGEN maintainers.
15
16 2000-08-08 DJ Delorie <dj@redhat.com>
17
18 * resrc.c: use "gcc -xc" instead of -xc-header
19
20 2000-07-26 Geoff Keating <geoffk@cygnus.com>
21
22 * nm.c (main): Ignore '-X32_64' as an option.
23 * ar.c (main): Likewise.
24 * binutils.texi (nm): Document new option.
25 (ar): Likewise.
26
27 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
28
29 * rdcoff.c (external_coff_symbol_p): K&R-ise.
30
31 2000-07-20 H.J. Lu <hjl@gnu.org>
32
33 * binutils/binutils.texi: Put back "@end table" deleted by
34 accident.
35
36 2000-07-05 Kenneth Block <krblock@computer.org>
37
38 * binutils/nm.c: Add optional style to demangle switch.
39 * binutils/objdump.c: Add optional style to demangle switch.
40 * binutils/addr2line.c: Add optional style to demangle switch.
41 * binutils/binutils.texi: Document optional style to demangle
42 switch.
43
44 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
45
46 * MAINTAINERS: Add self as CRIS port maintainer.
47 * readelf.c: Include elf/cris.h.
48 (guess_is_rela): Handle EM_CRIS.
49 (dump_relocations): Ditto.
50 (get_machine_name): Ditto.
51 * Makefile.am: Rebuild dependencies.
52 * Makefile.in: Regenerate.
53 * po/binutils.pot: Regenerate.
54
55 2000-07-19 H.J. Lu <hjl@gnu.org>
56
57 * readelf.c (get_dynamic_type): Change "AUXILARY" to
58 "AUXILIARY".
59 (process_dynamic_segment): Print out strings for DT_CONFIG,
60 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
61
62 2000-07-19 Mark Kettenis <kettenis@gnu.org>
63
64 * nm.c (usage): Change output of `nm --help' to include a
65 description of the purpose of the program and a detailed
66 description of the accepted options.
67
68 2000-07-19 H.J. Lu <hjl@gnu.org>
69
70 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
71 to DF_1_NODEFLIB.
72
73 2000-07-19 H.J. Lu <hjl@gnu.org>
74
75 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
76
77 2000-07-19 H.J. Lu <hjl@gnu.org>
78
79 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
80 DT_FEATURE.
81 (process_dynamic_segment): Likewise.
82
83 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
84 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
85 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
86 DF_1_NODUMP and DF_1_CONLFAT.
87
88 2000-07-18 Nick Clifton <nickc@cygnus.com>
89
90 * binutils.texi (readelf): Fix spelling typo.
91
92 2000-07-11 Mark Kettenis <kettenis@gnu.org>
93
94 * objdump.c (usage): Make output of `objdump --help' more
95 consistent with the rest of the GNU world. Add a line describing
96 the purpose of the program.
97
98 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
99
100 * stabs.c (parse_stab_range_type): Cast to proper type to fix
101 warning.
102
103 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
104
105 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
106 to fix warnings.
107 (process_symbol_table): Ditto.
108 (procesS_extended_line_op): Ditto.
109 (display_debug_lines): Ditto.
110 (display_debug_pubnames): Ditto.
111 (read_and_display_attr): Ditto.
112
113 2000-07-09 Nick Clifton <nickc@cygnus.com>
114
115 * MAINTAINERS: Add several more port specific maintainers.
116
117 2000-07-05 Nick Clifton <nickc@cygnus.com>
118
119 * MAINTAINERS: Add blanket write privs for Michael Meissner.
120
121 2000-06-05 DJ Delorie <dj@redhat.com>
122
123 * MAINTAINERS: New.
124
125 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
126
127 * dllwrap.c: Changed mistaken dyn_string_append() calls
128 to dyn_string_append_cstr().
129
130 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
131
132 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
133 struct debug_type stores size in bytes.
134
135 2000-07-01 Alan Modra <alan@linuxcare.com.au>
136
137 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
138 (CLEANFILES): Add DEPA.
139 * Makefile.in: Regenerate.
140
141 2000-06-27 Alan Modra <alan@linuxcare.com.au>
142
143 * ar.c: Revert incorrect 2000-06-25 patch.
144 * bucomm.c: Likewise.
145
146 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
147
148 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
149 (external_coff_symbol_p): New function.
150 (parse_coff): Use it.
151
152 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
153
154 * ar.c (normalize): Advance past both characters in a DOS based
155 <letter>: filepath prefix.
156 (main): Likewise.
157 * bucomm.c (make_tempname): Likewise.
158
159 2000-06-24 Nick Clifton <nickc@cygnus.com>
160
161 * objdump.c (usage): Fix description of --stabs switch.
162
163 2000-06-22 Alan Modra <alan@linuxcare.com.au>
164
165 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
166 find one.
167 * Makefile.in: Regenerate.
168
169 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
170
171 * ar.c (normalize): Correct pointer comparison when checking for
172 backslashes.
173 (main): Likewise.
174 * bucomm.c (make_tempname): Likewise.
175
176 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
177 and search for backslashes in the original pathname.
178 (ieee_add_bb11): Likewise.
179
180 2000-06-18 Nick Clifton <nickc@redhat.com>
181
182 * ar.c (print_contents): Improve verbose message.
183
184 2000-06-15 H.J. Lu <hjl@gnu.org>
185
186 * dyn-string.c: Removed. Not needed with dyn-string.c in
187 libiberty.
188 * dyn-string.h: Likewise.
189
190 * Makefile.am: Remove references to dyn-string.c and
191 dyn-string.h. Rebuild dependency.
192 * Makefile.in: Rebuild.
193
194 2000-06-15 H.J. Lu <hjl@gnu.org>
195
196 * binutils.texi: Put a warning on copying relocatable object
197 files between two different formats.
198
199 2000-06-13 DJ Delorie <dj@cygnus.com>
200
201 * rcparse.y (control): ICON controls take an id as the first
202 parameter, not an optional string. Also, call new convenience
203 function that takes res_id's.
204 * resrc.c (define_control): missing text means zero-length string,
205 not zero ID.
206 (define_icon_control): New.
207 * windres.h: declare define_icon_control.
208
209 2000-06-13 H.J. Lu <hjl@gnu.org>
210
211 * configure: Regenerate.
212
213 2000-06-08 David O'Brien <obrien@FreeBSD.org>
214
215 * configure.in (VERSION): Update to show this is the CVS mainline.
216
217 2000-06-02 David O'Brien <obrien@FreeBSD.org>
218
219 * strings.c (isgraphic): Interpret <TAB> as a printable character,
220 analogous to <SPACE>.
221
222 2000-05-30 Alan Modra <alan@linuxcare.com.au>
223
224 * objdump.c (display_target_list): Use bfd_close_all_done, not
225 bfd_close to fix crash caused by 2000-05-24 change.
226
227 2000-05-25 DJ Delorie <dj@cygnus.com>
228
229 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
230
231 2000-05-26 Alan Modra <alan@linuxcare.com.au>
232
233 * Makefile.am: Update dependencies with "make dep-am"
234 * Makefile.in: Regenerate.
235
236 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
237
238 * ar.c: Include filenames.h.
239 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
240 and drive letters in file names.
241 (main): Support backslashes and drive letters in argv[0]. Drop
242 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
243 FILENAME_CMP instead of strcmp to compare file names.
244 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
245 DJGPP v2.
246 (do_quick_append) [__GO32__]: Ditto.
247 (get_pos_bfd, delete_members, move_members, replace_members):
248 Compare file names with FILENAME_CMP.
249
250 * bucomm.c: Include filenames.h.
251 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
252 forward/backward slashes and drive letters in file names.
253
254 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
255 mixed forward/backward slashes and drive letters in file names.
256
257 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
258 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
259 mode.
260
261 * objcopy.c: Include filenames.h.
262 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
263 before comparing to "strip".
264 Use FILENAME_CMP to compare file names.
265
266 * arsup.c: Include filenames.h.
267 (map_over_list, ar_delete, ar_replace, ar_extract): Use
268 FILENAME_CMP to compare file names.
269 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
270 the temporary file name.
271
272 * configure.in: Check for setmode.
273 * configure: Regenerate.
274
275 2000-05-24 Alan Modra <alan@linuxcare.com.au>
276
277 * objdump.c (display_target_list): Close the bfd.
278 (display_info_table): Likewise.
279
280 2000-05-14 H.J. Lu (hjl@gnu.org)
281
282 * objcopy.c (filter_symbols): Don't strip global symbols in
283 relocatable object files.
284
285 2000-05-14 Alan Modra <alan@linuxcare.com.au>
286
287 * size.c (usage): Associate short options with corresponding long
288 option to give a clue as to their function.
289
290 2000-05-14 Philippe De Muyter <phdm@macqel.be>
291
292 * size.c (main): Accept and ignore `-f' option.
293
294 2000-05-13 Alan Modra <alan@linuxcare.com.au>
295
296 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
297 bindtextdomain): Replace defines with those from intl/libgettext.h
298 to quieten gcc warnings.
299
300 2000-05-12 H.J. Lu <hjl@gnu.org>
301
302 * nlmconv.c (temp_filename): Removed.
303
304 * nlmconv.c (link_inputs): Use make_temp_file () instead of
305 choose_temp_base ().
306 * objdump.c (display_target_list): Likewise.
307 (display_info_table): Likewise.
308
309 2000-05-08 Alan Modra <alan@linuxcare.com.au>
310
311 * objcopy.c (setup_section): Add const and gettext calls for err.
312
313 2000-05-02 H.J. Lu <hjl@gnu.org>
314
315 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
316 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
317 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
318 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
319 and ELFOSABI_OPENBSD.
320
321 2000-05-02 Kazu Hirata <kazu@hxi.com>
322
323 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
324 * srconv.c: Likewise.
325 * sysdump.c: Likewise.
326
327 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
328
329 * readelf.c (guess_is_rela): AVR uses RELA relocations.
330 (get_machine_name): machine name for EM_AVR added.
331
332 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
333 David Mosberger <davidm@hpl.hp.com>
334
335 * Makefile.am (readelf.o): Add elf/ia64.h.
336 * Makefile.in: Rebuild.
337 * readelf.c: Include elf/ia64.h.
338 (guess_is_rela, dump_relocations): Handle EM_IA_64.
339
340 2000-04-17 Timothy Wall <twall@cygnus.com>
341
342 * objdump.c (disassemble_data): Set octets per byte *after*
343 resolving arch/mach for binary files.
344
345 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
346
347 * arlex.l: Add directives to increase lex buffer size.
348
349 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
350 already included by bucomm.h.
351
352 2000-04-10 Philippe De Muyter <phdm@macqel.be>
353
354 * readelf (dynamic_segment_mips_val): Call `sprintf', not
355 `strftime' since strftime is not available on all systems.
356 (process_mips_specific): Ditto.
357
358 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
359
360 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
361 --enable-build-warnings option.
362 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
363 * Makefile.in, configure: Re-generate.
364
365 2000-04-06 Alan Modra <alan@linuxcare.com.au>
366
367 * addr2line.c: Update copyright.
368 * objcopy.1: Likewise, and title.
369 * strings.1: Likewise.
370
371 * version.c (print_version): Add 2000.
372
373 * rddbg.c (read_section_stabs_debugging_info): Don't use
374 bfd_size_type for strx to avoid printf problems if BFD64.
375
376 * bucomm.c: (report): Remove `static'.
377 Move inclusion of stdarg.h/vararg.h from here.
378 * bucomm.h: To here.
379 (CONST): Change all occurences to const.
380 (report): Declare it.
381 (bfd_fatal): Add ATTRIBUTE_NORETURN.
382 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
383 (non_fatal): Add ATTRIBUTE_PRINTF_1.
384
385 * ar.c (main): Use fatal or non_fatal instead of fprintf.
386 Correct a typo in an error message.
387 (do_quick_append): Use non_fatal instead of fprintf.
388 (move_members): Use fatal instead of fprintf, exit.
389 * coffdump.c (main): Same here.
390
391 * dlltool.c (display): Delete.
392 (warn): Delete.
393 (inform): Use `report' instead of `display'.
394 (rvaafter): Remove trailing \n from fatal error msg.
395 (rvabefore): Ditto.
396 (asm_prefix): Ditto.
397 (yyerror): Replace `warn' with `non_fatal', and remove \n.
398 (def_name): Likewise.
399 (run): Likewise.
400 (scan_all_symbols): Likewise.
401 (gen_lib_file): Likewise.
402 (def_library): Likewise. Remove extra program_name too.
403 (run): Remove \n from inform strings.
404 (scan_drectve_symbols): Likewise.
405 (add_excludes): Likewise.
406 (scan_open_obj_file): Likewise.
407 (gen_exp_file): Likewise.
408 (gen_lib_file): Likewise.
409 (process_duplicates): Likewise.
410
411 * Makefile.am (dllwrap_SOURCES): Add version.c.
412 * dllwrap.c (program_version): Delete.
413 (print_version): Delete.
414 (display): Always print trailing \n.
415 (warn): New.
416 (delete_temp_files): Use warn instead of fprintf. Use gettext.
417 (run): Here too.
418 (main): And here.
419 (usage): gettext'ify.
420 (long_options): Add missing initialisers.
421
422 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
423 (select_output_format): Likewise.
424 (powerpc_mangle_relocs): Likewise.
425 (link_inputs): Likewise.
426
427 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
428 (set_output_format): Likewise.
429 (main): Use non_fatal instead of fprintf.
430 (display_rel_file): Likewise.
431
432 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
433 (slurp_dynamic_symtab): Same here.
434 (disassemble_data): And here.
435 (read_section_stabs): And here.
436 (read_section_stabs): And here.
437 (dump_bfd): And here.
438 (main): And here.
439 (objdump_sprintf): Use fatal instead of fprintf, exit.
440 (disassemble_data): Same here.
441
442 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
443 (parse_coff_struct_type): Same here.
444 (parse_coff_enum_type): And here.
445 (parse_coff): And here.
446 * rddbg.c (read_debugging_info): And here.
447 * size.c (main): And here.
448 * windres.c (format_from_name): And here.
449 * wrstabs.c (stab_write_symbol): Here too.
450 (write_stabs_in_sections_debugging_info): And here.
451 (stab_int_type): And here.
452 (stab_struct_field): And here.
453 (stab_typdef): And here.
454
455 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
456 * srconv.c (main): Same here.
457 * strings.c (main): And here.
458 (integer_arg): And here.
459 * sysdump.c (main): And here.
460
461 2000-04-06 Timothy Wall <twall@cygnus.com>
462
463 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
464
465 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
466
467 * readelf.c (decode_location_expression): Loop through multiple
468 operations.
469 (read_and_display_attr): Pass in length.
470
471 * readelf.c (read_and_display_attr): Add CU offset to references.
472 (display_debug_info): Pass it in.
473
474 2000-04-06 Nick Clifton <nickc@cygnus.com>
475
476 * readelf.c (decode_ARM_machine_flags): New function.
477 (get_machine_flags): Call decode_ARM_machine_flags for ARM
478 targets.
479
480 (get_machine_name): Catch EM_AVR
481
482 2000-04-05 Alan Modra <alan@linuxcare.com.au>
483
484 * binutils.texi: Remove optional `=' from long options that have
485 an `=' in the argument.
486 * objcopy.1: Here too. Remove extra space on discard-all.
487
488 * binutils.texi (objcopy): Mention --redefine-sym.
489 * objcopy.1: Here too.
490 * NEWS: And here.
491
492 * objcopy.c (parse_flags): Split off flag names from error message
493 gettext as they are not translated.
494 (copy_main): Similarly split off option name for --add-section,
495 --set-section-flags, --change-section-vma, --change-section-lma
496 error messages.
497 Some white space changes.
498
499 from Matthew Benjamin <matt@linuxbox.nu>
500 * objcopy.c (struct redefine_node): New.
501 (redefine_sym_list): New.
502 (redefine_list_append): New.
503 (lookup_sym_redefinition): New.
504 (OPTION_REDEFINE_SYM): New.
505 (copy_options): Add --redefine-sym option.
506 (copy_usage): Mention it.
507 (filter_symbols): Rename symbols on redefine_sym_list.
508 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
509 (copy_main): Handle OPTION_REDEFINE_SYM.
510
511 2000-04-04 H.J. Lu <hjl@gnu.org>
512
513 * readelf.c (process_symbol_table): Correctly read in symbol
514 versioning information.
515
516 2000-04-04 Alan Modra <alan@linuxcare.com.au>
517
518 * po/binutils.pot: Regenerate.
519
520 * addr2line.c (usage): Restore translated part of bug string.
521 * ar.c (usage): Likewise.
522 * nlmconv.c (show_usage): Likewise.
523 * nm.c (usage): Likewise.
524 * objcopy.c (copy_usage): Likewise.
525 (strip_usage): Likewise.
526 * objdump.c (usage): Likewise.
527 * readelf.c (usage): Likewise.
528 * size.c (usage): Likewise.
529 * strings.c (usage): Likewise.
530 * windres.c (usage): Likewise.
531
532 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
533 (DEP): Quote when passing vars to sub-make. Add warning
534 message to end.
535 (DEP1): Rewrite for "gcc -MM".
536 (CLEANFILES): Add DEP2.
537 Update dependencies.
538 * Makefile.in: Regenerate.
539
540 2000-04-04 H.J. Lu <hjl@gnu.org>
541
542 * Makefile.am (GENERATED_HFILES): Add rcparse.h
543 (arparse.h): Depend on arparse.c
544 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
545
546 2000-04-03 H.J. Lu (hjl@gnu.org)
547
548 * size.c (usage): Use REPORT_BUGS_TO.
549
550 2000-04-03 Alan Modra <alan@linuxcare.com.au>
551
552 * bucomm.h: #include "bin-bugs.h"
553 * addr2line.c (usage): Use REPORT_BUGS_TO.
554 * ar.c (usage): Likewise.
555 * nlmconv.c (show_usage): Likewise.
556 * nm.c (usage): Likewise.
557 (OPTION_TARGET): Define.
558 (long_options): Use OPTION_TARGET rather than 200.
559 (main): Likewise.
560
561 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
562 (strip_usage): Likewise.
563 * objdump.c (usage): Likewise.
564 * readelf.c (usage): Likewise.
565 * strings.c (usage): Likewise.
566 * windres.c (usage): Likewise.
567
568 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
569
570 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
571
572 2000-03-27 Nick Clifton <nickc@cygnus.com>
573
574 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
575 string offsets in corrupt stabs entries.
576
577 2000-03-27 Alan Modra <alan@linuxcare.com.au>
578
579 * readelf.c: Include elf/avr.h
580 (dump_relocations): Add EM_AVR case.
581
582 2000-03-09 Tim Waugh <twaugh@redhat.com>
583
584 * strings.1: Correct '-bytes' to '--bytes'.
585
586 2000-03-08 H.J. Lu <hjl@gnu.org>
587
588 * Makefile.am (install-exec-local): Depend on
589 install-binPROGRAMS for parallel make.
590 * Makefile.in: Regenerated.
591
592 2000-02-27 Ian Lance Taylor <ian@zembu.com>
593
594 From Brad Lucier <lucier@math.purdue.edu>:
595 * readelf.c (process_dynamic_segment): Add cast to make sure
596 argument to %* is int.
597
598 2000-02-25 H.J. Lu <hjl@gnu.org>
599
600 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
601
602 2000-02-24 Nick Clifton <nickc@cygnus.com>
603
604 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
605 * configure: Regenerate.
606
607 * dlltoolc.: Add support for sh-pe and mips-pe targets.
608 * rescoff.c: Add support for sh-pe and mips-pe targets.
609
610 2000-02-23 H.J. Lu <hjl@gnu.org>
611
612 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
613
614 2000-02-22 Nick Clifton <nickc@cygnus.com>
615
616 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
617
618 2000-02-22 Ian Lance Taylor <ian@zembu.com>
619
620 From Brad Lucier <lucier@math.purdue.edu>:
621 * readelf.c (process_version_sections): Add casts to make sure
622 argument to %* is an int.
623 (process_mips_specific): Add casts to make printf arguments match
624 format.
625
626 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
627
628 * objdump.c (dump_section_header): Change `opb' to unsigned.
629 (find_symbol_for_address): Same here.
630 (disassemble_data): And here. Change `addr_offset',
631 `stop_offset', `nextstop_offset' to unsigned long.
632 (dump_data): Change opb to unsigned.
633
634 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
635
636 * resrc.c: Remove unmatched #if for cygwin.
637
638 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
639
640 * binutils.texi: Document the change of flavor name from atpcs-special
641 to special-atpcs to prevent name conflict in gdb.
642
643 2000-02-08 Timothy Wall <twall@redhat.com>
644
645 * objdump.c (show_line): Fix bug preventing printing of the very
646 first line (line zero) of a file when interlisting source and
647 assembly. Added option to print entire context from start of file
648 when the first line from that file is encountered.
649
650 2000-02-03 Timothy Wall <twall@redhat.com>
651
652 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
653 show_line, disassemble_bytes, disassemble_data, dump_data):
654 distinguish between octets and bytes.
655
656 2000-01-27 Thomas de Lellis <tdel@windriver.com>
657
658 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
659 check to unresolved symbols.
660 (print_symbol_info_sysv): Ditto.
661 (print_symbol_info_posix): Ditto.
662
663 * binutils.texi: Document new 'V' symclass flag for nm.
664
665 2000-01-27 Nick Clifton <nickc@redhat.com>
666
667 * binutils.texi (objdump): Document new ARM specific
668 disassembler options.
669
670 * objdump.c (usage): Call disassembler_usage().
671
672 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
673
674 * readelf.c (get_dynamic_flags): Return buff.
675 (process_dynamic_segment): Don't pass error strings to printf
676 as format arg.
677 (read_and_display_attr): Use lx and ld to print longs.
678 (process_corefile_note_segment): Cast bfd_vma to unsigned long
679 before printing.
680 Update copyright.
681
682 2000-01-17 Nick Clifton <nickc@cygnus.com>
683
684 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
685
686 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
687
688 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
689 false.
690 (debug_tag_type): Here too.
691 * ieee.c (ieee_builtin_type): And here.
692 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
693
694 2000-01-13 Nick Clifton <nickc@cygnus.com>
695
696 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
697 System/370".
698
699 2000-01-11 Nick Clifton <nickc@cygnus.com>
700
701 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
702
703 2000-01-10 Nick Clifton <nickc@cygnus.com>
704
705 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
706
707 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
708
709 * windres.c (long_options): Add --use-temp-file and
710 --no-use-temp-file options.
711 (usage): Document.
712 (main): Handle.
713
714 * windres.h: Update read_rc_file prototype.
715
716 * resrc.c (cpp_temp_file): New static variable.
717 (istream_type): New static variable.
718 (close_pipe): Delete function.
719 (run_cmd): New static function.
720 (open_input_stream): New static function.
721 (close_input_stream): New static function.
722 (look_for_default): Handle DOS directory separator. Use
723 open_input_stream instead of popen.
724 (read_rc_file): Likewise.
725
726 * binutils.texi: Document --use-temp-file, --no-use-temp-file
727 options.
728
729 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
730
731 * dlltool.c (create_compat_implib): New variable.
732 (gen_exp_file): Use.
733 (make_one_lib_file): Use.
734 (long_options): Add --compat-implib option.
735 (usage): Handle.
736 (main): Handle.
737
738 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
739 (main): Use. Don't look for "32" in cygwin and mingw target names.
740
741 2000-01-03 Nick Clifton <nickc@cygnus.com>
742
743 * binutils.texi: Document new, ARM specific disassembler
744 command line switch "-M force-thumb".
745
746 1999-12-28 Nick Clifton <nickc@cygnus.com>
747
748 * readelf.c: Update with new constants added by Oct 4, 1999
749 ELF ABI draft.
750 (guess_is_rela): Add new machine codes, but leave
751 rel type undetermined.
752 (get_machine_name): Add new machine codes.
753 (get_section_type_name): Add new section types.
754 (get_elf_section_flags): New function: Decode section flags.
755 (process_section_headers): Call get_elf_section_flags() in
756 order to decode flags in section header.
757 (get_dynamic_flags): New function: Decode dynamic section
758 flags.
759 (process_dynamic_section): Display flags (if present).
760 (get_symbol_type): Add STT_COMMON.
761 (get_symbol_visibility): New function: Decode a symbol's
762 visibility.
763 (process_symbol_table): Call get_symbol_visibility().
764 (get_note_type): Add NT_PRXFPREGS.
765
766 1999-12-26 Ian Lance Taylor <ian@zembu.com>
767
768 * strings.c (main): Correct handling of numeric argument.
769
770 1999-12-23 Andrew Haley <aph@cygnus.com>
771
772 * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
773 jtab; was 8.
774
775 1999-12-17 Nick Clifton <nickc@cygnus.com>
776
777 * dlltool.c (mtable): Stop compile time warnings about missing
778 initialisers.
779 (yyerror): Stop compile time warnings about unused paramater.
780 (INIT_SEC_DATA): New macro: initialise an entry in the secdata
781 array.
782 (secdata): Stop ccompile time warnings about uninitialised
783 fields.
784 (dtab): Stop compile time warnings about unused parameter.
785 (long_options): Stop compile time warning about missing
786 initialiser.
787
788 1999-12-10 Nick Clifton <nickc@cygnus.com>
789
790 * readelf.c (print_vma): Support native 64bit ELF systems.
791
792 1999-12-09 Nick Clifton <nickc@cygnus.com>
793
794 * dlltool.c (mtable): Add epoc-arm specific entry.
795 Make default arm entry pass -mpacs-26 to assembler.
796 (flush_page): Do not mangle null entries.
797
798 1999-12-07 H . J . Lu hjl@valinux.com
799
800 * readelf.c: Fix compile time warnings. Support more than 999
801 symbols.
802
803 1999-12-03 Nick Clifton <nickc@cygnus.com>
804
805 * readelf.c (enum print_mode): New type.
806 (print_vma): New function.
807 (dump_relocations): Use print_vma to display bfd_vma values.
808 (process_file_header): Use print_vma to display bfd_vma values.
809 (process_program_headers): Use print_vma to display bfd_vma values.
810 (process_section_headers): Use print_vma to display bfd_vma values.
811 (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values.
812 (process_dynamic_segment): Use print_vma to display bfd_vma values.
813 (process_symbol_table): Use print_vma to display bfd_vma values.
814 (process_mips_specific): Use print_vma to display bfd_vma values.
815
816 1999-11-25 Fred Fish <fnf@cygnus.com>
817
818 * readelf.c (process_note): Change arg from Elf_External_Note
819 to Elf32_Internal_Note, which also turns the function body
820 into little more than a call to printf.
821 (process_corefile_note_segment): Substantially rewritten
822 to properly handle case where target and host are different
823 endianness, handle note sections with padding, and add some
824 cruft to handle notes with unterminated name data.
825
826 1999-11-22 Nick Clifton <nickc@cygnus.com>
827
828 * objcopy.c (copy_usage): Reformat.
829 (strip_usage): Reformat.
830
831 1999-11-21 Nick Clifton <nickc@cygnus.com>
832
833 * objdump.c (usage): Overhaul output: One line per switch.
834 Textual description of each switch. Distinguish between
835 optional switches and required switches.
836 (long_options): Add 'g', 'G' and 'z' short options.
837 (main): Distinguish between optional switches and required
838 switches.
839
840 * binutils.texi: Add -g -G and -z short options for
841 --debugging, --stabs and --disassemble-zeroes.
842
843 1999-11-03 Nick Clifton <nickc@cygnus.com>
844
845 * dlltool.c (flush_page): Clip short values to prevent warnings
846 from the assembler.
847 Change default mcore machine name to 'mcore-le' and rename
848 big-endian version to 'mcore-be'.
849
850 1999-10-27 Fred Fish <fnf@cygnus.com>
851
852 * objdump.c (display_bfd): Break into two functions. The
853 actual dumping code moves to dump_bfd. If bfd is not
854 unambiguously recognized as a bfd_object, attempt to dump
855 it as a bfd_core.
856 (dump_bfd): New function.
857
858 1999-10-26 Nick Clifton <nickc@cygnus.com>
859
860 * dlltool.c (assemble_file): Remove spurious test of exp_name.
861
862 1999-10-22 Nick Clifton <nickc@cygnus.com>
863
864 * dlltool.c (struct mac): Add new field 'how_default_as_switches'.
865 (mtable): Initialise new field. Some machines have a non empty
866 string for this field.
867 (HOW_BFD_TARGET): Undefine and replace with...
868 (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a
869 file for reading. This is set to 0 so that any recognisable bfd
870 format can be read.
871 (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening
872 a file for writing. This is set to the target machine type.
873 (ASM_SWITCHES): New macro: default switches to use when assembling
874 a file.
875 (assemble_file): New function: Assemble a source file into a
876 destination object file.
877 (gen_exp_file): Use assemble_file to create the exp file.
878 (make_one_lib_file): Use assemble_file to create the lib file.
879 Open output file use HOW_BFD_WRITE_TARGET and input files using
880 HOW_BFD_READ_TARGET.
881 (make_head): Use assemble_file to create the head file.
882 (make_tail): Use assemble_file to create the tail file.
883 (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET.
884
885 1999-10-15 Ian Lance Taylor <ian@zembu.com>
886
887 * ar.c (normalize): Fix full_pathname code.
888
889 1999-10-08 Ben Elliston <bje@cygnus.com>
890
891 * binutils.texi: Some rewording and clarifications.
892
893 1999-09-15 Ulrich Drepper <drepper@cygnus.com>
894
895 * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
896 the value is zero.
897 (process_symbol_table): Don't print histogram if hash table is empty.
898
899 1999-09-15 Ulrich Drepper <drepper@cygnus.com>
900
901 * readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
902
903 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
904
905 * readelf.c (get_symbol_type): Add support for HPUX and PARISC
906 specific symbol types.
907
908 * readelf.c: Add HPUX and PARISC extensions to dynamic and program
909 header table printing.
910
911 * readelf.c (get_machine_flags): Add handling of PARISC.
912
913 1999-09-29 Mumit Khan <khan@xraylith.wisc.edu>
914
915 * dlltool.c (scan_drectve_symbols): Handle type tags in exported
916 symbols.
917 (scan_filtered_symbols): Likewise.
918
919 1999-09-19 Ian Lance Taylor <ian@zembu.com>
920
921 * resrc.c (write_rc_rcdata): Fix local variable shadowing
922 problem. If RCDATA_BUFFER data can be read as strings, modify
923 code to print the strings as comments.
924 * resres.c: Add casts to avoid warnings.
925 (write_res_data, read_res_data): Don't put the program name in the
926 error message; fatal already puts it there.
927
928 1999-09-14 Michael Meissner <meissner@cygnus.com>
929
930 * configure.in (Canonicalization of target names): Remove adding
931 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
932 generates $ac_config_sub with a ${CONFIG_SHELL} already.
933 * configure: Regenerate.
934
935 1999-09-12 Ian Lance Taylor <ian@zembu.com>
936
937 * ar.c (main): Clear output_file if we don't change the archive.
938 (delete_members, replace_members): Likewise.
939
940 1999-09-12 Donn Terry <donn@interix.com>
941
942 * objdump.c (dump_headers): If wide_output, print Flags header.
943
944 * objdump.c (dump_section_header): Print any comdat information.
945
946 * objcopy.c (parse_flags): Handle "noload", "debug", and "share".
947 * binutils.texi, objcopy.1: Document new flags.
948
949 * ar.c (counted_name_mode): New static variable.
950 (counted_name_counter): New static variable.
951 (map_over_members): Handle counted mode.
952 (usage): Mention N modifier.
953 (main): Handle N modifier.
954 (delete_members): Handle counted mode.
955 * binutils.texi, ar.1: Document N modifier.
956
957 * ar.c (print_contents): Change printing of member name for
958 POSIX.2 conformance.
959
960 * ar.c (output_filename): Make const.
961 (open_inarch): If creating a new empty archive, set
962 output_filename.
963
964 1999-09-12 Ian Lance Taylor <ian@zembu.com>
965
966 * ar.c (full_pathname): New static variable.
967 (map_over_members): Call normalize on command line parameter.
968 (usage): Mention P modifier.
969 (normalize): If full_pathname is true, don't do anything.
970 (main): Accept P modifier.
971 (delete_members): Call normalize on command line parameter.
972 * binutils.texi, ar.1: Document P modifier.
973
974 1999-09-09 Andreas Schwab <schwab@suse.de>
975
976 * binutils.texi: Add info dir entries for all programs described
977 here. Fix arguments of @var to not contain punctuation.
978
979 1999-09-06 Donn Terry <donn@interix.com>
980
981 * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
982 (print_symbol_info_sysv): Likewise.
983 (print_symbol_info_posix): Likewise.
984
985 1999-09-04 Steve Chamberlain <sac@pobox.com>
986
987 * readelf.c: Include "elf/pj.h".
988 (dump_relocations): Handle EM_PJ.
989 (get_machine_name): Likewise.
990 (get_machine_flags): Likewise.
991
992 1999-08-31 Scott Bambrough <scottb@netwinder.org>
993
994 * readelf.c (get_note_type): New function: Decode the e_type
995 value of a note.
996 (process_note): New function: Display the contents of a core note.
997 (process_corefile_note_segment): New function.
998 (process_corefile_note_segments): New function.
999 (process_corefile_contents): New function.
1000 (process_file): Add call to process_corefile_contents.
1001 (parse_args): Add parsing of -n/--notes command line switch.
1002 (usage): Document new command line switch.
1003
1004 * binutils.texi: Documemnt new command line switch to readelf.
1005
1006 1999-08-31 Ian Lance Taylor <ian@zembu.com>
1007
1008 * binutils.texi (Bug Reporting): Clarify that large files should
1009 not be sent to bug-gnu-utils.
1010
1011 1999-08-28 Stephane Carrez <stcarrez@worldnet.fr>
1012
1013 * readelf.c (process_extended_line_op): New parameter pointer_size,
1014 read the address according to pointer_size.
1015 (debug_line_pointer_size): New global to indicate the
1016 size of address in .debug_line section.
1017 (debug_displays, prescan_debug_info): Prescan the .debug_info section
1018 to record the size of address in `debug_line_pointer_size'.
1019 (process_section_contents): Before dumping any section, execute
1020 the pre-scan operation defined for some debug sections.
1021
1022 1999-08-27 Jim Wilson <wilson@cygnus.com>
1023
1024 * readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes
1025 access.
1026 (display_debug_aranges): New local excess. Use for calculating padding
1027 and add that into ranges. Break from loop only if length is also 0.
1028
1029 1999-08-27 Jim Wilson <wilson@cygnus.com>
1030
1031 * readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply
1032 adv by info.li_min_insn_length.
1033
1034 1999-08-26 Jakub Jelinek <jj@ultra.linux.cz>
1035
1036 * readelf.c (get_sparc64_dynamic_type): New function.
1037 (get_dynamic_type): Use it.
1038
1039 1999-08-26 Jim Wilson <wilson@cygnus.com>
1040
1041 * readelf.c (display_debug_lines, case default): Change second line
1042 setting adv to use = not +=.
1043
1044 1999-08-19 Nick Clifton <nickc@cygnus.com>
1045
1046 * dlltool.c: Added more examples to the comment at the start.
1047
1048 1999-08-18 Nick Clifton <nickc@cygnus.com>
1049
1050 * dlltool.c (make_head): Only emit interworking directive if
1051 necessary.
1052
1053 Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com>
1054
1055 * readelf.c (process_abbrev_section): Handle standard-conforming
1056 single zero at the end of the section.
1057
1058 1999-08-09 Ian Lance Taylor <ian@zembu.com>
1059
1060 * objdump.c (exit_status): New static variable.
1061 (nonfatal): New static function.
1062 (disassemble_data): Set exit_status on error.
1063 (read_section_stabs): Likewise.
1064 (display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal.
1065 (display_file): Call nonfatal rather than bfd_nonfatal.
1066 (display_target_list, display_info_table): Likewise.
1067 (main): Return exit_status rather than 0.
1068
1069 1999-08-08 Ian Lance Taylor <ian@zembu.com>
1070
1071 * objdump.c (dump_section_header): Update for renaming of
1072 SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag.
1073
1074 From Eli Zaretskii <eliz@gnu.org>:
1075 * binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
1076
1077 * configure.in: Define and substitute DEMANGLER_NAME.
1078 * Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
1079 (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
1080 (bin_PROGRAMS): Remove $(DEMANGLER_PROG).
1081 (noinst_PROGRAMS): Add $(DEMANGLER_PROG).
1082 (cxxfilt_SOURCES): Rename from c__filt_SOURCES.
1083 (cxxfilt_LDADD): Rename from c__filt_LDADD.
1084 ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use
1085 DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
1086 (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
1087 DEMANGLER_PROG.
1088 (install-exec-local): When installing noinst_PROGRAMS, change
1089 cxxfilt to $(DEMANGLER_NAME).
1090 * configure, Makefile.in: Rebuild.
1091
1092 * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
1093 MKDEP.
1094 * Makefile.in: Rebuild.
1095
1096 1999-08-05 Donn Terry <donn@interix.com>
1097
1098 * Makefile.am (YACC): If bison is not in the source tree, use
1099 @YACC@ rather than bison -y.
1100 (LEX): If flex is not in the source tree, use @LEX@ rather than
1101 flex.
1102 * configure.in: Build dlltool for i[3-6]86-*-interix.
1103 * Makefile.in, configure: Rebuild.
1104
1105 1999-07-21 Ian Lance Taylor <ian@zembu.com>
1106
1107 From Mark Elbrecht:
1108 * configure.bat: Remove; obsolete.
1109
1110 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
1111
1112 * readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
1113
1114 1999-07-15 Ian Lance Taylor <ian@zembu.com>
1115
1116 * configure.in: Bump version number to 2.9.5.
1117 * configure: Rebuild.
1118
1119 1999-07-14 Richard Henderson <rth@cygnus.com>
1120
1121 * objdump.c (dump_section_header): Print SEC_SHORT.
1122
1123 1999-07-11 Ian Lance Taylor <ian@zembu.com>
1124
1125 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
1126 as appropriate. Add variable initializations. Add casts.
1127 * objdump.c (disassemble_bytes): Change j to bfd_vma.
1128 * readelf.c (process_syminfo): Change i to unsigned int.
1129 (display_debug_info): Change abbrev_number to unsigned long.
1130 (process_mips_specific): Change fcnt to size_t.
1131
1132 1999-07-09 Nick Clifton <nickc@cygnus.com>
1133
1134 * readelf.c: Only support decoding 64bit ELF files if the compiler
1135 supports a 64 bit data type.
1136 Add -I equivalent for --histogram.
1137 Add -A command-line option to display architecture specific information.
1138
1139 1999-07-08 Jakub Jelinek <jj@ultra.linux.cz>
1140
1141 * readelf.c (guess_is_rela): Sparcv9 and v8plus use rela.
1142 (dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10
1143 print the secondary addend.
1144 (get_machine_flags): Print Sparc machine flags.
1145 (get_symbol_type): Print STT_REGISTER.
1146
1147 1999-07-08 Ian Lance Taylor <ian@zembu.com>
1148
1149 * stabs.c (parse_stab_type): Fix handling of template names with
1150 template parameters containing `::'.
1151 (stab_demangle_type): Handle a qualified name in a pointer to
1152 member.
1153
1154 1999-06-23 Ian Lance Taylor <ian@zembu.com>
1155
1156 * Makefile.am (dlltool_SOURCES): Add dyn-string.c.
1157 * Makefile.in: Rebuild.
1158
1159 1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>
1160
1161 * configure.in (HAVE_EXECUTABLE_SUFFIX): Define.
1162 * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX.
1163 * dllwrap.c (look_for_prog): Likewise.
1164 * resrc.c (look_for_default): Likewise.
1165 * configure, config.in: Rebuild.
1166
1167 1999-06-22 Ian Lance Taylor <ian@zembu.com>
1168
1169 Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
1170 * configure.in: Define EXECUTABLE_SUFFIX.
1171 * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
1172 ANSI_PROTOTYPES, not __STDC__.
1173 (outfile): Remove.
1174 (gen_exp_file): Change uses of outfile to use alloca.
1175 (make_one_lib_file, make_head, make_tail): Likewise.
1176 (gen_lib_file): Likewise.
1177 (look_for_prog): New static function.
1178 (deduce_name): Rewrite to use look_for_prog.
1179 (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
1180 * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
1181 <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
1182 <stdarg.h> or <varargs.h>.
1183 (driver_name): Initialize to NULL, not "gcc".
1184 (dlltool_name): Initialize to NULL, not "dlltool".
1185 (display, inform, look_for_prog, deduce_name): New static
1186 functions.
1187 (usage): Mention -mno-cygwin.
1188 (OPTION_MNO_CYGWIN): Define.
1189 (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
1190 * resrc.c (look_for_default): Make static. Remove unused local
1191 path. Check using EXECUTABLE_SUFFIX.
1192 (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
1193 * Makefile.am: Rebuild dependencies.
1194 (dllwrap_LDADD): Add $(INTLLIBS).
1195 * configure, Makefile.in, config.in: Rebuild.
1196
1197 Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com)
1198
1199 * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of
1200 elf32_hppa_reloc_type.
1201
1202 1999-06-17 Nick Clifton <nickc@cygnus.com>
1203
1204 * dlltool.c (mcore_elf_gen_out_file): Link object files with the
1205 .exp file, not the .lib file.
1206
1207 Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu>
1208
1209 * deflex.l: Accept single-character symbol names.
1210
1211 1999-06-16 Nick Clifton <nickc@cygnus.com>
1212
1213 * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
1214 functions.
1215
1216 1999-06-14 Nick Clifton <nickc@cygnus.com>
1217
1218 * objdump.c (disassembler_options): New variable.
1219 (usage): Document new -M/--disassembler-options option.
1220 (long_options): Add --disassembler-options.
1221 (disassemble_data): Initialise disassembler_options field of
1222 disassembler_info structure.
1223 (main): Add parsing of -M option.
1224
1225 * binutils.texi: Document new command line switch to objdump.
1226
1227 * NEWS: Describe new command line switch to objdump.
1228
1229
1230 Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1231
1232 * binutils.texi: Fix typos.
1233
1234 1999-06-13 Ian Lance Taylor <ian@zembu.com>
1235
1236 * objdump.c (disassemble_bytes): If the disassembler returns an
1237 error, print out anything it may have printed to the buffer. From
1238 H.J. Lu <hjl@gnu.org>.
1239
1240 * defparse.y (explist): Remove separate expline to eliminate
1241 shift/reduce conflict.
1242
1243 From Kai-Uwe Rommel <rommel@ars.de>:
1244 * defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
1245 INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
1246 (command): Add option_list after LIBRARY.
1247 (attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
1248 (option_list, option): New nonterminals.
1249 * deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
1250 INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
1251
1252 1999-06-12 Ian Lance Taylor <ian@zembu.com>
1253
1254 * ar.c (O_BINARY): Define as 0 if not defined.
1255 (ranlib_touch): Open file with O_BINARY.
1256
1257 * rename.c (O_BINARY): Define as 0 if not defined.
1258 (simple_copy): Open files with O_BINARY.
1259
1260 Based on patch from H. Peter Anvin <hpa@transmeta.com>:
1261 * objcopy.c (struct section_list): Add copy field.
1262 (sections_copied): New static variable.
1263 (copy_options): Add "only-section".
1264 (copy_usage): Mention -j and --only-section.
1265 (find_section_list): Initialize copy field.
1266 (is_strip_section): Check for copying sections.
1267 (copy_object): Check sections_copied when calling filter_symbols.
1268 (setup_section): Check for copying sections.
1269 (copy_section): Likewise.
1270 (copy_main): Handle -j/--only-section.
1271 * binutils.texi, objcopy.1: Document -j/--only-section.
1272
1273 * configure.in: If frexp is not available, check in -lm.
1274 * configure: Rebuild.
1275
1276 * readelf.c (get_elf_class): Use correct printf format for type.
1277 (get_data_encoding): Likewise.
1278 (get_osabi_name): Likewise.
1279 (process_file_header): Don't pass an extra argument to printf.
1280 (process_dynamic_segment): Cast dynamic_size to long before
1281 printing.
1282 (decode_location_expression): Cast byte_get to long before
1283 printing.
1284
1285 Wed Jun 9 11:40:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1286
1287 * readelf.c (dump_section): Cast values from byte_get to
1288 [unsigned] long for printing, in case it is wider than long.
1289 (display_block): Likewise.
1290 (read_and_display_attr): Likewise.
1291 (decode_location_expression): Likewise. Don't depend on
1292 evaluation order.
1293
1294 Mon Jun 7 12:14:57 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1295
1296 * windres.c (usage): Fix typo.
1297
1298 1999-06-04 Nick Clifton <nickc@cygnus.com>
1299
1300 * readelf.c: Use 64bit wide fields in internal strcutures even if
1301 targetting a 32bit architecture.
1302 (dump_relocations): Take a new parameter - the number of symbols
1303 in the symbol table.
1304
1305 1999-06-04 Nick Clifton <nickc@cygnus.com>
1306
1307 * readelf.c: Add support for 64bit ELF files.
1308
1309 1999-06-03 Nick Clifton <nickc@cygnus.com>
1310
1311 * dlltool.c (mcore_elf_gen_out_file): Use constants for temporary
1312 file names.
1313
1314 Wed Jun 2 12:34:36 1999 Richard Henderson <rth@cygnus.com>
1315
1316 * dlltool.c (gen_exp_file): Revert 19990411 change.
1317
1318 Mon May 31 09:56:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1319
1320 * readelf.c (process_relocs): Determine type of reloc from
1321 DT_PLTREL and from section type.
1322
1323 1999-05-29 Nick Clifton <nickc@cygnus.com>
1324
1325 * readelf.c (get_elf_class): Display unknown class number.
1326 (get_data_encoding): Display unknown encoding number.
1327 (get_osabi_name): Display unknown ABI number.
1328 (process_file_header): Display unknown version number.
1329
1330 1999-05-29 Nick Clifton <nickc@cygnus.com>
1331
1332 * readelf.c (dump_relocations): Fix typo.
1333
1334 1999-05-28 Nick Clifton <nickc@cygnus.com>
1335
1336 * readelf.c (dump_relocations): Add extra parameter: is_rela to
1337 specify the kind of relocations to be dumped. Call guess_is_rela
1338 if this parameter has a value of UNKNOWN.
1339 (guess_is_rela): New function: Guess the kind of reloc being used
1340 baced on the machine number.
1341 (process_relocs): Determine type of reloc before calling
1342 dump_relocations.
1343
1344 1999-05-28 Ian Lance Taylor <ian@zembu.com>
1345
1346 * readelf.c: Include "elf/i960.h".
1347 (dump_relocations): Handle EM_960.
1348
1349 Thu May 27 11:58:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1350
1351 * objcopy.c (copy_archive): Preserve dates of archive members if
1352 requested.
1353
1354 * readelf.c (dump_relocations): Always print the addend on RELA
1355 systems even if there is no symbol.
1356 (process_program_headers): Reset dynamic_size before looping
1357 through the program headers.
1358 (process_version_sections): Cast sh_offset to unsigned long for
1359 printing in case bfd_vma is wider.
1360 (process_symbol_table): Use get_symbol_index_type when printing
1361 st_shndx.
1362
1363 1999-05-17 DJ Delorie <dj@cygnus.com>
1364
1365 * windres.c: add verbose option
1366 (main): process verbose option
1367 * resrc.c (look_for_default): new. Look for the default
1368 preprocessor in a given location.
1369 (read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
1370 foo/gcc (in case of foo/windres), and then gcc (the old default).
1371
1372 1999-05-16 Nick Clifton <nickc@cygnus.com>
1373
1374 * dlltool.c (deduce_name): New function: Deduce name of program to
1375 run.
1376 (mcore_elf_out_file): New variable: Name of mcore-elf output file.
1377 (mcore_elf_linker): New variable: Name of linker to use.
1378 (mcore_elf_linker_flags): New variable: Linker flags to pass.
1379 (scan_obj_file): Cache filenames if necessary.
1380 (usage): Document new command line options.
1381 (main): Support new command line options: -M (generate an
1382 mcore-elf output file) -L (name of linker to use) -F (flags to
1383 pass to linker).
1384 (mcore_elf_cache_filename): Store a filename in a cache.
1385 (mcore_elf_gen_out_file): New function: Generate an output file
1386 per the mcore-elf spec.
1387
1388 1999-05-15 Nick Clifton <nickc@cygnus.com>
1389
1390 * configure.in (BUILD_MISC): Build dlltool for mcore
1391 * configure: Regenerate.
1392 * dlltool.c: Update example in comment.
1393 (DLLTOOL_MCORE): Define.
1394 (DLLTOOL_MCORE_ELF): Define.
1395 (DRECTVE_SECTION_NAME): Define.
1396 (mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore
1397 jump to address.
1398 (mtable): Add entries for mcore variants.
1399 (rvaafter, rvabefore, asm_prefix): Add mcore suppport.
1400 (scan_drectve_symbols): Use DRECTVE_SECTION_NAME.
1401 (make_head, make_tail): Cope if file cannot be created.
1402 (usage): Improve layout.
1403
1404 1999-05-13 DJ Delorie <dj@cygnus.com>
1405
1406 * rclex.l: add code to suppress certain output from cpp, replace
1407 all returns with MAYBE_RETURN
1408 (MAYBE_RETURN): new, implement the suppression by returning
1409 IGNORED_TOKEN as needed.
1410 (cpp_line): remember which file we're in, mark data from included
1411 *.h files for suppression.
1412 * rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1413
1414 1999-05-10 DJ Delorie <dj@cygnus.com>
1415
1416 * windres.c (quot): Quote shell metacharacters in a string
1417 (main): quote parameters to cpp that might have metacharacters in
1418 them. Allow -D as an alias for --define to allow for sharing make
1419 macros with gcc.
1420
1421 * objdump.c (dump_reloc_set): don't core if howto->name is NULL
1422
1423 * Makefile.am: Give rescoff.c a cpu-specific -D so it can set
1424 the correct BFD.
1425 * Makefile.in: ditto
1426 * rescoff.c (write_coff_file): Set the correct BFD
1427
1428 1999-05-06 Ian Lance Taylor <ian@zembu.com>
1429
1430 * rename.c (smart_rename): Fix test of whether file exists.
1431
1432 1999-05-06 Nick Clifton <nickc@cygnus.com>
1433
1434 * objdump.c (disassemble_data): Set display_endian based on target
1435 endianism.
1436
1437 1999-05-05 Catherine Moore <clm@cygnus.com>
1438
1439 * dlltool.c (interwork): Remove.
1440 (arm_interwork_jtab): Use bx insn.
1441 (thumb_jtab): Likewise.
1442 (MARM_INTERWORK): New machine type.
1443 (rvaafter): Handle it.
1444 (rvabefore) Likewise.
1445 (asm_prefix): Likewise.
1446 (gen_exp_type): Check machine type instead of
1447 interwork flag.
1448 (make_one_lib_file): Likewise.
1449 (make_head): Likewise.
1450 (make_tail): Likewise.
1451 (usage): Update machine types.
1452 (main): Remove -interwork support.
1453
1454 1999-05-05 Catherine Moore <clm@cygnus.com>
1455
1456 * readelf.c (get_machine_flags): Check for EF_CPU32.
1457 (get_data_encoding): Fix typo.
1458
1459 1999-04-26 Tom Tromey <tromey@cygnus.com>
1460
1461 * aclocal.m4, configure: Updated for new version of libtool.
1462
1463 1999-04-18 Ian Lance Taylor <ian@zembu.com>
1464
1465 * stabs.c (parse_stab_range_type): Correct parenthesization in
1466 BFD64 case.
1467
1468 * readelf.c (get_section_type_name): Use correct types in printf
1469 formats.
1470 (process_relocs): Likewise.
1471 (process_dynamic_segment): Likewise.
1472 (process_symbol_table): Likewise.
1473 (process_mips_specific): Likewise.
1474
1475 Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com>
1476
1477 * dlltool.c (make_one_lib_file): Mark thumb functions as
1478 C_THUMBEXTFUNC.
1479
1480 1999-04-11 Richard Henderson <rth@cygnus.com>
1481
1482 * bucomm.h (environ): Declare it, if needed.
1483 (alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>.
1484 * configure.in (environ): Detect declaration.
1485 * nm.c (main): Don't declare environ.
1486 * configure, config.in: Rebuild.
1487
1488 * dlltool.c (gen_exp_file): Pad out the .reloc section to a
1489 32-byte boundary with dummy relocations, to make the BeOS loader
1490 happy. Patch from Bob Manson <manson@charmed.cygnus.com>.
1491
1492 1999-04-08 Tom Tromey <tromey@cygnus.com>
1493
1494 * binutils.texi (c++filt): Updated for -j/--java, and hp/edg
1495 formats.
1496
1497 1999-04-08 Nick Clifton <nickc@cygnus.com>
1498
1499 * readelf.c: Add ability to decode new constants found in April 25
1500 1998 Draft of System V ABI spec.
1501
1502 1999-04-06 Ian Lance Taylor <ian@zembu.com>
1503
1504 * bucomm.h (LC_MESSAGES): Never define.
1505 * addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the
1506 system does not define it.
1507 * ar.c (main): Likewise.
1508 * coffdump.c (main): Likewise.
1509 * dlltool.c (main): Likewise.
1510 * nlmconv.c (main): Likewise.
1511 * nm.c (main): Likewise.
1512 * objcopy.c (main): Likewise.
1513 * objdump.c (main): Likewise.
1514 * size.c (main): Likewise.
1515 * srconv.c (main): Likewise.
1516 * strings.c (main): Likewise.
1517 * sysdump.c (main): Likewise.
1518 * windres.c (main): Likewise.
1519 * readelf.c (main): Call locale setting functions.
1520
1521 1999-04-05 Nick Clifton <nickc@cygnus.com>
1522
1523 * readelf.c (decode_location_expression): Fix DW_OP_const8{s|u}
1524 decodes.
1525
1526 1999-04-04 Ian Lance Taylor <ian@zembu.com>
1527
1528 * rename.c: New file, copied out of objcopy.c with a few changes.
1529 * bucomm.h (set_times, smart_rename): Declare.
1530 * ar.c: Don't include <utime.h>.
1531 (extract_file): Call set_times rather than utime.
1532 (write_archive): Call smart_rename rather than unlink and rename.
1533 * objcopy.c: Don't include <utime.h>.
1534 (simple_copy, smart_rename, set_times): Move to rename.c.
1535 (strip_main): Update smart_rename call for new parameter.
1536 (copy_main): Likewise.
1537 * Makefile.am: Rebuild dependencies.
1538 (CFILES): Add rename.c.
1539 (objcopy_SOURCES, strip_new_SOURCES): Add rename.c.
1540 (ar_SOURCES, ranlib_SOURCES): Add rename.c.
1541 * Makefile.in: Rebuild.
1542
1543 * Makefile.am: Rebuild dependencies.
1544 (EXTRA_PROGRAMS): Remove backslash which troubles current version
1545 of automake.
1546 * Makefile.in: Rebuild.
1547
1548 * dllwrap.c (main): Expect correct type in format string.
1549 * resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and
1550 <time.h>. Don't include <stdio.h> and <errno.h>.
1551 (write_res_file): Remove unused locals e and i.
1552 (read_resource_entry): Remove unused locals rtype and n.
1553 (read_unistring): Remove unused local n.
1554
1555 1999-04-03 Ian Lance Taylor <ian@zembu.com>
1556
1557 * arparse.y: Declare yylex.
1558 * objdump.c (disassemble_bytes): Initialize bytes. Add comment
1559 for incorrect use of bytes.
1560 * readelf.c: Change many formats to avoid warnings.
1561
1562 1999-04-01 Nick Clifton <nickc@cygnus.com>
1563
1564 * readelf.c (reset_state_machine): New function. Resets the
1565 registers of the source line number state machine.
1566 (process_extended_line_op): Use state machine.
1567 (display_debug_lines): Use state machine. Handle multiple line
1568 number blocks within the same section.
1569
1570 1999-03-29 Jason Merrill <jason@yorick.cygnus.com>
1571
1572 * readelf.c (process_extended_line_op): end_sequence also resets
1573 the line number.
1574 (display_debug_lines): advance_line takes a signed operand.
1575 (read_and_display_attr): Print refs as <%x>, addresses as %#x,
1576 others as %d. Handle other location expression attributes.
1577 (display_debug_info): Handle nesting. Always print the offset.
1578
1579 1999-03-23 Ian Lance Taylor <ian@zembu.com>
1580
1581 * objcopy.c (filter_symbols): When checking whether to keep a
1582 symbol, check the BFD section symbol for a symbol with
1583 BSF_SECTION_SYM set.
1584
1585 1999-03-10 Ulrich Drepper <drepper@cygnus.com>
1586
1587 * readelf.c (process_dynamic_segment): Print new Solaris dynamic
1588 section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1.
1589
1590 1999-03-10 Nick Clifton <nickc@cygnus.com>
1591
1592 * readelf.c (request_dump): New function.
1593 Removed arbitary limit on the number of sections that can be
1594 dumped.
1595
1596 Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com>
1597
1598 * dlltool.c (make_one_lib_file): Use %05d to output the stub name so
1599 order in the import library is preserved.
1600
1601 1999-02-19 Nick Clifton <nickc@cygnus.com>
1602
1603 * readelf.c: Fix compile time warings.
1604
1605 1999-02-17 DJ Delorie <dj@cygnus.com>
1606
1607 * resbin.c (res_to_bin_versioninfo): Instead of entering a value
1608 length of zero in a version info string, enter the appropriate
1609 length.
1610
1611 Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com>
1612
1613 * configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to
1614 AC_PROG_INSTALL. Add comments for AC_DEFINE calls.
1615 * acconfig.h: Remove.
1616 * aclocal.m4: Rebuild.
1617 * configure: Rebuild.
1618 * Makefile.in: Rebuild.
1619 * config.in: Rebuild.
1620
1621 1999-02-02 Nick Clifton <nickc@cygnus.com>
1622
1623 * readelf.c (read_and_display_attr): Add display of basic type
1624 encodings.
1625 (display_debug_aranges): New function: Display the contents of a
1626 .debug_aranges section.
1627 (display_debug_info): Dump tags found after compunit entry.
1628
1629 * binutils.texi: Fixed bug in readelf documentation.
1630
1631 Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com>
1632
1633 * readelf.c (dump_relocations): Handle EM_ARM as REL.
1634
1635 1999-01-29 Nick Clifton <nickc@cygnus.com>
1636
1637 * readelf.c (process_symbol_table): Do not produce a histogram of
1638 bucket chains if none were found.
1639
1640 1999-01-27 Nick Clifton <nickc@cygnus.com>
1641
1642 * version.c: Add 1999 copyright.
1643
1644 * binutils.texi (readelf): Document new command line options
1645 --debug-dump and --histogram.
1646
1647 * readelf.c: Add ability to display contents of some or all of the
1648 Dwarf2 debug sections. {Work only partially completed}.
1649 (display_debug_section): New function.
1650 (display_debug_info): New function.
1651 (display_debug_not_supported): New function.
1652 (display_debug_line): New function.
1653 (display_debug_abbrev): New function.
1654 (process_abbrev_section): New function.
1655 (read_leb128): New function.
1656 (process_extended_line_op): New function.
1657 (get_TAG_name): New function.
1658 (get_AT_name): New function.
1659 (get_FORM_name): New function.
1660 (free_abbrevs): New function.
1661 (add_abbrev): New function.
1662 (add_abbrev_attr): New function.
1663 (read_and_display_attr): New function.
1664 (display_block): New function.
1665
1666 Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com)
1667
1668 * coffdump.c (xcalloc): Remove, in libiberty now.
1669 * srconv.c (xcalloc): Likewise.
1670 * sysdump.c (xcalloc): Likewise.
1671
1672 1999-01-14 Nick Clifton <nickc@cygnus.com>
1673
1674 * readelf.c (process_section_headers): Omit trailing space at end
1675 of section header contents line.
1676
1677 Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com>
1678
1679 * aclocal.m4: Regenerate.
1680
1681 Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com>
1682
1683 * dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include
1684 after libiberty.h include.
1685
1686 Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com>
1687
1688 * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
1689 <hnokubi@yyy.or.jp>.
1690
1691 Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com>
1692
1693 * objdump.c (SFILE): Add size field.
1694 (objdump_sprintf): Merge both versions into one. Increase buffer
1695 size as needed to avoid overflow.
1696 (disassemble_bytes): Change buf from 1000 bytes to 50. Change
1697 initialization and use of sfile to match changes to
1698 objdump_sprintf.
1699
1700 * strip.1: Fix typo (-V to -v). From Issei Hirayama
1701 <iss@mail.wbs.or.jp>.
1702
1703 1998-12-03 Ulrich Drepper <drepper@cygnus.com>
1704
1705 * readelf.c (process_dynamic_segment): Improve output format for
1706 various DT_* values.
1707
1708 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
1709
1710 * readelf.c (process_mips_specific): Print .conflict section
1711 content.
1712
1713 * readelf.c (process_mips_specific): Print l_flags in liblist in
1714 textual form.
1715
1716 1998-11-30 Nick Clifton <nickc@cygnus.com>
1717
1718 * ar.c (extract_file): Add some paranoia checks for negatively
1719 sized files.
1720
1721 Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com>
1722
1723 * stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined.
1724
1725 Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com>
1726
1727 * Makefile.in: Regenerate.
1728
1729 Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com>
1730
1731 * po/binutils.pot: Regenerate.
1732
1733 Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com>
1734
1735 * Makefile.am: Regernated dependencies.
1736 * aclocal.m4: Regenerated.
1737 * configure: Regenerated.
1738
1739 Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com>
1740
1741 * debug.c (debug_name_type): Correct return type from false to
1742 DEBUG_TYPE_NULL.
1743
1744 Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1745
1746 * objdump.c (disassemble_data): Skip over relocs below start
1747 address.
1748
1749 Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com>
1750
1751 * Makefile.am: Add dependency of readelf.c on elf/fr30.h
1752 * Makefile.in: Regenerate.
1753
1754 Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com>
1755
1756 * readelf.c: Add support for the FR30.
1757
1758 Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
1759
1760 * configure.in: detect cygwin* instead of cygwin32*
1761 * configure: regenerate
1762
1763 Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com>
1764
1765 * dllwrap.c: change all references to cygwin32_ to cygwin_,
1766 change Cygwin target def to CYGWIN.
1767
1768 Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com>
1769
1770 * objdump.c (disassemble_data): Replace 'unsigned long' with
1771 'bfd_vma'.
1772
1773 Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com>
1774
1775 * objdump.c (disassemble_bytes): Applied this patch from Philip
1776 Blundell <pb@nexus.co.uk>: Make address variables unsigned to
1777 avoid problems when disassembling code at high-bit-set addresses.
1778
1779 Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
1780
1781 * dllwrap.c (strhash): New function.
1782 (main): Use it to supply image base if not supplied by user.
1783 (program_version): Up to 0.2.4.
1784
1785 Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
1786
1787 * dlltool.c (add_stdcall_alias): New global.
1788 (long_options): Add --add-stdcall-alias option.
1789 (main): Handle it.
1790 (scan_drectve_symbols): Add alias if --add-stdcall-alias is
1791 specified.
1792 (scan_filtered_symbols): Likewise.
1793 (gen_def_file): Output alias for stdcall syms if appropriate.
1794
1795 * binutils.texi (dlltool): Document --add-stdcall-alias option.
1796
1797 * dllwrap.c (long_options): Add --add-stdcall-alias option.
1798 (main): Handle it.
1799
1800 * defparse.y (opt_name): Allow "." in name.
1801 * dlltool.c (def_name): Set dll_name from NAME entry in def file.
1802 (def_library): Set dll_name from LIBRARY entry in def file.
1803
1804 Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
1805
1806 * dllwrap.c (long_options): --implib synonym for --output-lib.
1807 (main): Pass --export-all to dlltool only if specified.
1808 (program_version): Up to 0.2.3.
1809
1810 Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
1811
1812 * dllwrap.c (mybasename): New function.
1813 (main): Run dlltool to create export definition file and import
1814 library file if necessary.
1815 Change exp_file_name so that it's based on the dll name.
1816
1817 Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
1818
1819 * dlltool.c (scan_all_symbols): Fix patch error.
1820
1821 Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com>
1822
1823 * nm.c (display_rel_file): fix "no symbols" messages.
1824 * objdump.c (slurp_symtab): ditto.
1825 * po/POTFILES.in, po/binutils.pot: rebuilt
1826
1827 Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com>
1828
1829 * readelf.c (dump_relocations): Rename field from Value to Info to
1830 match name of field in ELF structures.
1831
1832 Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
1833
1834 * configure.in: call AC_EXEEXT instead of AM_EXEEXT and
1835 AM_CYGWIN32.
1836 * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros.
1837 * configure: regenerate
1838
1839 Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
1840
1841 From Mumit Khan <khan@xraylith.wisc.edu>:
1842 * dlltool.c (scan_all_symbols): Don't re-export symbols exported
1843 by other DLLs.
1844
1845 Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
1846
1847 * Makefile.am (BUILD_DLLWRAP): Add.
1848 (BUILD_DLLWRAP, DLLWRAP_PROG): Add.
1849 (bin_PROGRAMS): Add dllwrap.
1850 * Makefile.in: regenerate with automake
1851
1852 From Mumit Khan <khan@xraylith.wisc.edu>:
1853 * dllwrap.c: New file from dllhelpers v0.2.1.
1854 (print_version): New function.
1855 (long_options): Add --version.
1856 (main): Handle.
1857 * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc.
1858 * configure.in (BUILD_DLLWRAP): Add.
1859 * configure: Regenerate.
1860
1861 Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
1862
1863 * Makefile.am (windres_SOURCES): Add resres.c.
1864 (windres_OBJECTS): Add resres.o.
1865 * Makefile.in: regenerate with automake
1866
1867 From Anders Norlander <anorland@hem2.passagen.se>.
1868 * resres.c: New file. Implementation of read_res_file and
1869 write_res_file functions for windres.
1870 * rcparse.y: Handle CONTROL's with named classes.
1871 * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
1872 when dialog is extended: The version and signature fields should
1873 be reversed (despite what the docs say). Id is 32 bits long in
1874 extended dialogs.
1875 * resrc.c (write_rc_dialog): properly print controls with named
1876 classes.
1877 * windres.c (read_res_file, write_res_file): Remove stubs.
1878 * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
1879
1880 Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com>
1881
1882 From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
1883 * objcopy.1: Fix typo in --remove-leading-char docs.
1884 * objdump.1: Fix formatting in --stabs docs.
1885
1886 Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com>
1887
1888 * rcparse.y (memflags_move): Correct recursion.
1889
1890 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1891
1892 * readelf.c (process_symbol_table): Print in histogram how many
1893 symbols are covered by the current chain length.
1894
1895 Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com>
1896
1897 * readelf.c (process_section_contents): Do not try to dump empty
1898 sections.
1899
1900 Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
1901
1902 * dlltool.c (scan_all_symbols): Don't re-export symbols exported
1903 by other DLLs.
1904
1905 1998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com>
1906
1907 * readelf.c (process_dynamic_segment): Print DT_* value only if
1908 do_dynamic.
1909 (do_histogram): New variable.
1910 (options): New long option histogram. Set do_histogram if this
1911 option is used.
1912 (usage): Document --histogram.
1913 (parse_args): Handle 0 return value from getopt_long. Enable
1914 do_histogram for -a.
1915 (process_symbol_table): Read hash table also if only do_histogram.
1916 Add code to print hash table histogram.
1917
1918 1998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com>
1919
1920 * readelf.c (process_dynamic_segment): Read syminfo section if
1921 available.
1922 (process_syminfo): New function. Print syminfo information.
1923 (process_file): Call process_syminfo and free syminfo data at the end.
1924
1925 Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com>
1926
1927 * dlltool.c (usage): Add file parameter. Change all callers.
1928 (main): Don't treat '?' as a special case in getopt return.
1929
1930 * binutils.texi (dlltool): Document new options. Add some uses of
1931 @var.
1932
1933 Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
1934
1935 * dlltool.c (gen_def_file): Plug memory leak. Don't print
1936 demangled name if it is NULL.
1937
1938 Support for exporting all symbols to an output export def file:
1939 * dlltool.c ({export_all_symbols, no_default_excludes,
1940 no_default_excludes, excludes}): New file static variables.
1941 (struct string_list): Type to hold list of symbols to exclude.
1942 (scan_drectve_symbols): Renamed from scan_open_obj_file.
1943 (scan_filtered_symbols): New static function.
1944 (add_excludes): New static function.
1945 (match_exclude): New static function.
1946 (set_default_excludes): New static function.
1947 (filter_symbols): New static function.
1948 (scan_all_symbols): New static function.
1949 (scan_open_obj_file): New static function.
1950 (usage): Document new options.
1951 (long_options): Add new options.
1952 (main): Handle new options.
1953
1954 1998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com>
1955
1956 * readelf.c (process_program_headers): Print p_offset value with
1957 six hex digits.
1958 (dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS,
1959 DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP.
1960 (process_mips_specific): Also print seconds of time stamp.
1961
1962 Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com>
1963
1964 * readelf.c (dump_relocations): EM_ARM uses rela relocs.
1965
1966 1998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com>
1967
1968 * readelf.c (get_dynamic_type): Don't used gettext on the names.
1969 Add new DT_* values from Solaris. Don't print nuemric value in
1970 case of an unknown entry.
1971 (process_dynamic_segment): Handle new DT_* entries. Print numeric
1972 values in decimal, not hex.
1973
1974 Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
1975
1976 * readelf.c (get_dynamic_type): Remove empty default from switch
1977 statement.
1978
1979 Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com>
1980
1981 * Makefile.am (install-exec-local): Don't remove the file before
1982 checking whether $(bindir) == $(tooldir)/bin. From Maciej
1983 W. Rozycki <macro@ds2.pg.gda.pl>.
1984 * Makefile.in: Rebuild.
1985
1986 Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com>
1987
1988 * objcopy.c: Removed spurious inclusion of elf/internal.h and
1989 elf-bfd.h.
1990
1991 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1992
1993 * readelf.c: Consistantly use elf_ prefix for *_reloc_type
1994 functions.
1995
1996 Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com>
1997
1998 * readelf.c (dump_relocations): Add dumps of HPPA and ARC
1999 relocations.
2000
2001 (process_relocs): Do not abort if no string table can be found.
2002
2003 1998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com>
2004
2005 * readelf.c: Remove definition of functions to return relocation
2006 symbol strings. They now get implicitly defined when include the
2007 system specific ELF header.
2008
2009 1998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com>
2010
2011 * readelf.c: Before include system specific ELF header define
2012 START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now
2013 used for ppc, mips, and mn10300.
2014
2015 Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com>
2016
2017 * readelf.c (dump_relocations): Display number of unrecognised
2018 relocations.
2019
2020 1998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com>
2021
2022 * readelf.c: Use symbolic names of relocation entries for the various
2023 architectures. Correct more layout details.
2024 Print names of MIPS specific section types. Print Alpha, ARM, and
2025 MIPS relocation type names.
2026
2027 1998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com>
2028
2029 * objcopy.c (filter_symbols): Add code for strip all symbols case.
2030 (copy_objects): Strip all case is now processed also through
2031 filter_symbols. No marking symbols used in relocations when strip
2032 all symbols case.
2033 (copy_section): When strip all symbols case, remove relocations
2034 which are not in keep strip specific list.
2035 (strip_main): Remove guard `strip_specific_list == NULL' for
2036 setting up strip all symbols by default.
2037
2038 Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2039
2040 * addr2line.c (find_address_in_section): Only consider a section
2041 if the pc value is completely contained within it.
2042 (translate_addresses): Don't crash if functionname or filename are
2043 null.
2044
2045 1998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com>
2046
2047 * readelf.c (process_symbol_table): Fix little alignment problem
2048 in printed table header.
2049
2050 1998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com>
2051
2052 * readelf.c: Correct reading of .dynamic section.
2053 (dynamic_section): Now a global variable.
2054 (process_mips_fpe_exception, process_mips_specific,
2055 process_arch_specific): New functions.
2056 (get_file_header): Call process_arch_specific.
2057
2058 1998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com>
2059
2060 * readelf.c: Fix several versioning related bugs. Produce nicer
2061 output.
2062 Add support for processor specific information on MIPS.
2063
2064 Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com>
2065
2066 * readelf.c: Switch prototypes from unsigned short to unsigned
2067 int.
2068
2069 Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com>
2070
2071 From Christian Holland <CHolland@de.lucent.com>:
2072 * ieee.c (parse_ieee): Initialize info.global_vars and
2073 info.global_types.
2074 (parse_ieee_atn): Ignore register lifetime information reportedly
2075 emitted by MRI compiler.
2076
2077 Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com>
2078
2079 * Makefile.am (MAINTAINERCLEANFILES): Define.
2080 * Makefile.in: Rebuild.
2081
2082 Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com)
2083
2084 * readelf.c (byte_get): Use PARAMS in prototype.
2085 (error): Make it work with non-ANSI compilers.
2086 (warn): Likewise.
2087 (get_ver_flags): Don't use an ANSI prototype in the definition.
2088
2089 Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com>
2090
2091 * objcopy.c (filter_bytes): Set size correctly if the size of the
2092 section is not an even multiple of the interleave. Based on patch
2093 from Brion Stone <Brion.Stone@attws.com>.
2094
2095 Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
2096
2097 * configure.com: Add vax/vms support.
2098 * makefile.vms-in: Renamed from makefile.vms. Add substitutions
2099 now done by configure.com.
2100
2101 Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com>
2102
2103 * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
2104 integers with real upper bounds. Handle a lower bound one larger
2105 than the upper bound as a signed integer. Handle 8 byte signed
2106 integers.
2107 (stab_demangle_template): Optionally return the demangled name of
2108 the template.
2109 (stab_demangle_qualified): Treat a template name as a tagged
2110 type.
2111 (stab_demangle_fund_type): Likewise.
2112
2113 Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com>
2114
2115 * objcopy.c: Minor formatting improvements.
2116 * readelf.c: Minor output formatting improvement.
2117
2118 Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com>
2119
2120 * rclex.l: Add casts and change types to avoid warnings.
2121 * rcparse.y: Likewise.
2122 * resbin.c: Likewise.
2123 * rescoff.c: Likewise.
2124 * resrc.c: Likewise.
2125
2126 * Makefile.am: Rebuild dependencies.
2127 (HFILES): Remove readelf.h.
2128 * Makefile.in: Rebuild.
2129
2130 Based on patches from Andrew Kozin
2131 <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
2132 * winduni.h: New file, from windres.h.
2133 * winduni.c: New file, from windres.c.
2134 * windres.c: Move Unicode functions into winduni.c.
2135 * windres.h: Move Unicode declarations into winduni.h. Include
2136 winduni.h.
2137 (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
2138 macro. Change all uses.
2139 (RT_PLUGPLAY, RT_VXD): Correct values.
2140 * Makefile.am (HFILES): Add windres.h.
2141 (CFILES): Add winduni.c.
2142 (windres_SOURCES): Add winduni.c.
2143
2144 Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com>
2145
2146 * readelf.c: Use BFD Internal and External Elf structures.
2147 * readelf.h: Removed - no longer needed.
2148 * Makefile.in: Remove readelf.c's dependency upon readelf.h.
2149
2150 1998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com>
2151
2152 * objcopy.c (strip_main): keep_specific_list == NULL as additional
2153 condition to set up strip all symbols by default.
2154 (copy_archive): don't change archive when error in object files of
2155 the archive.
2156
2157 Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com>
2158
2159 * stabs.c (parse_number): Sign extend negative values correctly if
2160 bfd_vma is larger than unsigned long.
2161
2162 Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
2163
2164 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
2165 with the program transform name.
2166 * Makefile.in: Rebuild.
2167
2168 Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com>
2169
2170 * readelf.c: Rewrite to use fopen/fread ratehr than mmap.
2171
2172 Add --section-headers command line switch, which is an alias for
2173 --sections.
2174
2175 Incorporate improvemnts made by Andreas Schwab
2176 <schwab@issan.informatik.uni-dortmund.de> including output
2177 formatting and version info display.
2178
2179 * binutils.texi: Document --section-headers switch to readelf.
2180
2181 Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com>
2182
2183 * readelf.c: Include bfd.h and bucomm.h before system header
2184 files.
2185 (parse_args): Change type of c from char to int.
2186
2187 Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com>
2188
2189 * readelf.c (usage): Write to stdout, not stderr.
2190
2191 Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com>
2192
2193 * po/Make-in (all-yes): Depend on .pot file if maintainer mode
2194 enabled.
2195 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
2196
2197 Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com>
2198
2199 * readelf.c (get_ppc_rel_type): New PowerPC support.
2200 (dump_relocations): PowerPC uses RELA relocations.
2201 (get_machine_name): Spell PowerPC correctly.
2202 (get_file_type): Change unsigned short parameter to unsigned.
2203 (get_machine_name): Ditto.
2204 (get_machine_data): Return whether big endian or little endian.
2205 (get_machine_flags): Interpret PowerPC, M32R, and MIPS flags.
2206 (process_elf_header): Print endian-ess. Convert all numeric
2207 formats to long or unsigned long. Print out machine specific flag
2208 bits.
2209 (process_section_headers): Increase name by 3 columns and decrease
2210 type by the same so that .gcc_except_table fits in the space.
2211
2212 * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get
2213 machine specific flag bits.
2214
2215 Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com>
2216
2217 * readelf.c: Remove extraneous #includes. Fix warnings produced
2218 by -Wall when compiling under Linux.
2219
2220 * Makefile.am (readelf_LDADD): Add $(LIBIBERTY).
2221
2222 Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com>
2223
2224 * stabs.c (struct stab_handle): Add self_crossref field.
2225 (parse_stab_string): If a tag is a cross reference to itself,
2226 don't define it in the tags list.
2227 (parse_stab_type): Set info->self_crossref.
2228
2229 * debug.c (struct debug_type_real_list): Define.
2230 (debug_get_real_type): Add list parameter. Change all callers.
2231 Check for circularity to avoid crashing when it occurs.
2232
2233 Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com>
2234
2235 * readelf.c: New file: Display contents of ELF format file.
2236 * readelf.h: New file: Header file for readelf.c
2237 * Makefile.am: Add rules to build readelf.
2238 * Makefile.in: Rebuilt.
2239 * binutils.texi: Document readelf.
2240 * NEWS: Mention inclusion of readelf into binutils.
2241 * po/POTFILES.in; Rebuilt.
2242
2243 Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
2244
2245 * objcopy.c (setup_section): Adjust the section size if copy_byte
2246 is >= 0.
2247 (copy_section): Do not call bfd_set_section_size.
2248
2249 Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com>
2250
2251 * objcopy.c (copy_usage): Add missing \n\ from help description.
2252
2253 Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com>
2254
2255 * Makefile.am (YACC): Correct bison -L option.
2256 * Makefile.in: Rebuild.
2257
2258 * binutils.texi, objdump.1: Document -p/--private-headers.
2259
2260 Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com>
2261
2262 * objcopy.c: Add new command line options: --change-section-lma
2263 and --change-section-vma. Rename old command line option
2264 --adjust-section-vma to --change-section-address. Rename
2265 --adjust-vma to --change-addresses and --adjust-start to
2266 --change-start. Provide aliases to support the old versions of
2267 these command line options.
2268
2269 Change the names of macros and enum elements to upper case to
2270 match the GNU coding standard.
2271
2272 Replace calls to fprintf (stderr,...) with calls to fatal () or
2273 non_fatal () as appropriate.
2274
2275 * objcopy.1: Document command line option changes.
2276 * binutils.texi: Document command line option changes.
2277
2278 * bucomm.h: New exported funtion from bucomm.c: non_fatal().
2279 * bucomm.c (non_fatal): New exported function. Just like fatal()
2280 except that it returns rather than calling xexit().
2281
2282 (bfd_check_format_matches): Call fatal() rather than bfd_fatal().
2283
2284 (check_matching_formats): Fix C formating.
2285
2286 (parse_vma): Call fatal().
2287
2288 Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com>
2289
2290 From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
2291 * debug.c (debug_type_samep): Avoid endless loops comparing
2292 function and method parameter types.
2293
2294 Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com>
2295
2296 * dlltool.c (dump_iat): Comment out; not used.
2297 (display): Rename from tell. Change all callers.
2298
2299 Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com>
2300
2301 * dlltool.c: Add support for Thumb DLLs. Add support for
2302 interworking between ARM and Thumb programs and DLLs. Tidy the
2303 code.
2304
2305 * binutils.texi: Document dlltool.
2306
2307 * configure: Build dlltool for thumb-pe targets.
2308
2309 * version.c (print_version): Include 1998 in copyright strings.
2310
2311 * stabs.c (parse_stab): Support Win32 style directory separators.
2312
2313 Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com)
2314
2315 * po/Make-in (install-info): New target.
2316
2317 Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com>
2318
2319 * ar.c (usage): Extend information provided about command line
2320 options.
2321
2322 Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de>
2323
2324 * makefile.vms: Run dec c with /nodebug. Pass CC value when
2325 calling make.
2326
2327 Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com>
2328
2329 * configure: Build dlltool for thumb-pe target.
2330 * configure.in: Build dlltool for thumb-pe target.
2331
2332 Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com>
2333
2334 * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
2335 sysdump coffdump to avoid extra $(EXEEXT).
2336 * Makefile.in: Rebuild.
2337
2338 Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com>
2339
2340 * configure.in: Stop appending EXEEXT to the end of
2341 SRCONV_PROG (wrong because that variable may contain multiple
2342 programs)
2343 * Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
2344 program
2345 * Makefile.in: regenerate
2346 * configure: regenerate
2347
2348 Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com>
2349
2350 * addr2line.c (main): Conditionally call setlocale.
2351 * windres.c (main): Likewise.
2352 * sysdump.c (main): Likewise.
2353 * strings.c (main): Likewise.
2354 * srconv.c (main): Likewise.
2355 * size.c (main): Likewise.
2356 * objdump.c (main): Likewise.
2357 * objcopy.c (main): Likewise.
2358 * nm.c (main): Likewise.
2359 * nlmconv.c (main): Likewise.
2360 * dlltool.c (main): Likewise.
2361 * coffdump.c (main): Likewise.
2362 * ar.c (main): Likewise.
2363 * bucomm.h: Include <locale.h> if HAVE_LOCALE_H.
2364 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
2365
2366 Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com>
2367
2368 Add support for IMPORTS:
2369 * defparse.y (impline): Add IMPORTS syntaxes.
2370 * dlltool.c (ifunctype, iheadtype): New typedefs.
2371 (import_list): New static variable.
2372 (append_import): New static function.
2373 (def_import): Add an entry to import_list.
2374 (generate_idata_ofile): New static function.
2375 (gen_exp_file): Call generate_idata_ofile.
2376 * dlltool.h (def_import): Update declaration.
2377
2378 Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com>
2379
2380 * configure.in: Change version number to 2.9.4
2381 * configure: Rebuild.
2382
2383 Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com>
2384
2385 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
2386
2387 Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com>
2388
2389 * Makefile.am (INCLUDES): Search intl dirs for headers; define
2390 LOCALEDIR.
2391 * addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
2392 * ar.c (main): Likewise.
2393 * coffdump.c (main): Likewise.
2394 * dlltool.c (main): Likewise.
2395 * nlmconv.c (main): Likewise.
2396 * nm.c (main): Likewise.
2397 * objcopy.c (main): Likewise.
2398 * objdump.c (main): Likewise.
2399 * size.c (main): Likewise.
2400 * srconv.c (main): Likewise.
2401 * strings.c (main): Likewise.
2402 * sysdump.c (main): Likewise.
2403 * windres.c (main): Likewise.
2404
2405 Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com>
2406
2407 * Many files: Added gettext invocations around user-visible
2408 strings.
2409 * bucomm.h: Added gettext-related includes and defines.
2410 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
2411 HAVE_LC_MESSAGES): Define.
2412 * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
2413 po/Makefile. Use AM_PROG_LEX.
2414 * Makefile.am (SUBDIRS): New macro.
2415 (POTFILES): Likewise.
2416 (po/POTFILES.in): New target.
2417 (LDADD): Added INTLLIBS.
2418 (objdump_LDADD): Likewise.
2419 (c__filt_LDADD): Likewise.
2420 (ar_LDADD): Likewise.
2421 (ranlib_LDADD): Likewise.
2422 (dlltool_LDADD): Likewise.
2423 (windres_LDADD): Likewise.
2424 * po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
2425
2426 Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
2427
2428 * objcopy.c (preserve_dates): New file static variable.
2429 (smart_rename): If preserve_dates, call set_times when copying.
2430 (strip_main): Remove preserve_dates local variable.
2431 (copy_main): Likewise.
2432
2433 Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com>
2434
2435 * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
2436 rcparse.h, and rcparse.c
2437 * Makefile.in: Rebuild.
2438
2439 Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com>
2440
2441 * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
2442 Makefile.in doesn't have an empty continuation line.
2443 (bin_PROGRAMS): Likewise.
2444 * Makefile.in: Rebuild.
2445
2446 Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com>
2447
2448 * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
2449 (MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
2450 (mostlyclean-local): New target.
2451 * Makefile.in: Rebuild.
2452
2453 Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com>
2454
2455 From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
2456 <hjl@gnu.org>:
2457 * ar.c (usage): Mention S modifier.
2458 (main): Add S modifier.
2459 * ar.1, binutils.texi: Document S modifier.
2460
2461 Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2462
2463 * binutils.texi: Use @itemx for a secondary item in a table.
2464
2465 Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com>
2466
2467 * dep-in.sed: Add rule to remove @OBJDIR@.
2468 * Makefile.am (dep.sed): Substitute for @OBJDIR@.
2469 * Makefile.in: Rebuild.
2470
2471 Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com>
2472
2473 * configure.in: Set version to 2.9.1.
2474 * configure: Rebuild.
2475
2476 * Branched binutils 2.9.
2477
2478 * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
2479 rcparse.h, and nlmheader.h.
2480 * Makefile.in: Rebuild.
2481
2482 Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com>
2483
2484 * Makefile.am (MOSTLYCLEANFILES): Define.
2485 * Makefile.in: Rebuild.
2486
2487 Fix some gcc -Wall warnings:
2488 * nlmconv.c (main): Add casts to avoid warnings.
2489 (alpha_mangle_relocs): Likewise.
2490 * objdump.c (dump_section_stabs): Likewise.
2491 * size.c (print_sysv_format): Likewise.
2492 * srcconv.c (wr_ob): Likewise.
2493 * wrstabs.c (stab_modify_type): Likewise.
2494 (stab_variable): Likewise.
2495 * nlmconv.c (main): Initialize variables to avoid warnings.
2496 * nm.c (sort_symbols_by_size): Likewise.
2497 * objdump.c (disassemble_bytes): Likewise.
2498 * wrstabs.c (stab_end_class_type): Likewise.
2499 * coffgrok.c (do_sections_p2): Change j to unsigned int.
2500 (do_lines): Change l to unsigned int.
2501 * nlmheader.y (yylex): Change i to unsigned int.
2502 * nm.c (print_symbol): Change j to long.
2503 * size.c (lprint_number): Comment out.
2504 * srconv.c (wr_ob): Change i to bfd_size_type.
2505 * sysdump.c (unit_info_list): Comment out.
2506 (object_body_list, program_structure, debug_list): Likewise.
2507 * sysinfo.y (yyerror): Return value.
2508
2509 Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com>
2510
2511 * defparse.y (explist): Allow epsilon.
2512 Suggestion from Jonathan-Harris@psion.com.
2513
2514 Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com>
2515
2516 * coffgrok.c (do_sections_p1): Use the section's lma instead of vma
2517 for the benefit of prom loaders.
2518
2519 Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com>
2520
2521 Based on patch from H.J. Lu <hjl@gnu.org>:
2522 * Makefile.am (DISTSTUFF): New variable.
2523 (diststuff): New target.
2524 (DISTCLEANFILES): New variable.
2525 * Makefile.in: Rebuild.
2526
2527 Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com>
2528
2529 * rclex.l: Accept { and } as synonyms for BEGIN and END.
2530
2531 Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com>
2532
2533 * aclocal.m4, configure: Rebuild with libtool 1.2.
2534
2535 Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com>
2536
2537 * objdump.c (disassemble_data): Delete "++place" after call to
2538 find_symbol_for_address. Set disasm_info.symbols to array of
2539 symbols at the current address.
2540
2541 Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
2542
2543 * Makefile.am (install-exec-local): Install properly when ln
2544 fails or tooldir == prefix.
2545
2546 Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com>
2547
2548 * objcopy.c (compare_section_lma): Rename from _vma.
2549 (copy_object): Gap fill based on LMA not VMA.
2550 * binutils.texi: Update and clarify.
2551 * objcopy.1: Likewise.
2552
2553 Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com>
2554
2555 * dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s,
2556 for Microsoft compatibility.
2557 (make_one_lib_file): Likewise.
2558
2559 * dlltool.c (make_one_lib_file): Don't add 1 to hint.
2560
2561 Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com>
2562
2563 * Makefile.am (AUTOMAKE_OPTIONS): Define.
2564 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
2565
2566 Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com>
2567
2568 * deflex.l: Accept '?' in symbol names, for VC++ mangled names.
2569 From Mikey <jeffdb@netzone.com>.
2570
2571 * addr2line.c (usage): Update bug-gnu-utils address.
2572 * ar.c (usage): Likewise.
2573 * nlmconv.c (show_usage): Likewise.
2574 * nm.c (usage): Likewise.
2575 * objcopy.c (copy_usage): Likewise.
2576 (strip_usage): Likewise.
2577 * objdump.c (usage): Likewise.
2578 * size.c (usage): Likewise.
2579 * strings.c (usage): Likewise.
2580 * windres.c (usage): Likewise.
2581 * binutils.texi (Bug Reporting): Likewise.
2582
2583 Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com>
2584
2585 * configure, aclocal.m4: Rebuild with new libtool.
2586
2587 Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com>
2588
2589 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
2590
2591 Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com>
2592
2593 * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
2594 to transform.
2595 * Makefile.in: Regenerate.
2596
2597 Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu>
2598
2599 * dlltool.c: Define exit status macros for _WIN32 but not
2600 __CYGWIN32__.
2601 (gen_lib_file): Check for exit status of unlink.
2602 * resrc.c: Define popen and pclose if _WIN32 but not
2603 __CYGWIN32__.
2604
2605 Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com>
2606
2607 * configure.in: Remove vfork check.
2608 * nlmconv.c: Never include vfork.h.
2609 * aclocal.m4, configure, Makefile.in, config.in: Rebuild.
2610
2611 Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
2612
2613 * objcopy.c (copy_archive): Only pass one argument to mkdir if
2614 _WIN32 but not __CYGWIN32__.
2615 (smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope
2616 with different rename behaviour and lack of chown.
2617
2618 * configure.in: Check for mingw32 when deciding whether to build
2619 dlltool.
2620 * dlltool.c: Never include vfork.h.
2621 (run): Use pexecute rather than vfork.
2622 (gen_lib_file): Check for errors from bfd_set_archive_head and
2623 bfd_close. Close all the BFDs in the archive before deleting the
2624 temporary files.
2625
2626 Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com>
2627
2628 * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
2629 disassembly function there is a reloc on this line.
2630
2631 Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com>
2632
2633 * srconv.c (sh, h8300): Delete variables.
2634 (addrsize, toolname, rnames): New variables.
2635 (writeINT): Use addrsize.
2636 (wr_un): Use toolname.
2637 (wr_hd): Set up addrsize et al properly for h8300[hs].
2638 (walk_tree_symbol): Zero dsy. Use rnames.
2639 (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros.
2640 * sysdump.c (sh, h8300): Delete variables.
2641 (addrsize): New variable.
2642 (getINT): Use it.
2643 (getone): Initialize it.
2644 (getBITS): Range check on MAX.
2645
2646 Mon Dec 29 16:58:05 1997 Ian Lance Taylor <ian@cygnus.com>
2647
2648 From Matthew Bellantoni <matthew@chrysalis.com>:
2649 * ar.c (get_pos_bfd): Add default_posname parameter. Change all
2650 callers.
2651 (replace_members): Default to replacing in the same position.
2652
2653 Mon Dec 22 11:27:22 1997 Ian Lance Taylor <ian@cygnus.com>
2654
2655 * rclex.l: Don't permit a comma in a STRING.
2656 * rcparse.y (acc_entry): Warn if an inappropriate modifier is used
2657 with a non VIRTKEY.
2658 (acc_event): For a control character, set VIRTKEY, and force the
2659 character to uppercase.
2660 (acc_options): Don't require a comma separator.
2661
2662 Tue Dec 9 13:25:42 1997 Michael Meissner <meissner@cygnus.com>
2663
2664 * size.c (size_number): New function to provide size of field.
2665 ({l,r}print_number): For octal and hex fields, print field using
2666 '0' and '0x' suffixes. Do not include following tab.
2667 (sysv_internal_sizer): Size section name, section size, and vma
2668 address fields.
2669 (sysv_internal_printer): Use calculated sizes for the columns.
2670 (print_sysv_format): Size columns before printing.
2671 (print_berkeley_format): Print tabs between numbers now that
2672 {l,r}print_number doesn't. Print fields right justified.
2673
2674 Mon Dec 8 11:22:04 1997 Nick Clifton <nickc@cygnus.com>
2675
2676 * objdump.c (objdump_print_addr_with_sym): Remove call to
2677 disasm_symaddr() as this function no longer exists.
2678
2679 Tue Dec 2 10:23:50 1997 Nick Clifton <nickc@cygnus.com>
2680
2681 * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
2682 to allow backend to know which symbol has just been displayed.
2683
2684 Tue Dec 2 13:06:46 1997 Ian Lance Taylor <ian@cygnus.com>
2685
2686 * windres.h (ESCAPE_*): Define standard escape sequences.
2687 * rclex.l (handle_quotes): Handle standard escape sequences. Warn
2688 about an unrecognized escape character.
2689 * windres.c (unicode_print): Print standard escape sequences.
2690 * rcparse.y (acc_event): Initialize $$.next.
2691 * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
2692 MENUITEM_ENDMENU in the menu item flags.
2693 (bin_to_res_accelerators): Allocate a structure (the old code
2694 never worked).
2695 (res_to_bin_accelerator): Correct the test for setting ACC_LAST.
2696 (res_to_bin_dialog): Save the extended style rather than saving
2697 the style twice. Remove useless shadowing length variable. Set
2698 the length of control data correctly.
2699 * resrc.c (write_rc_dialog): Don't print the class or menu if the
2700 string length is zero.
2701
2702 Mon Nov 24 18:52:43 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2703
2704 * stabs.c (parse_stab_argtypes): Don't try to parse the name of a
2705 destructor as mangled argument types.
2706
2707 Mon Nov 10 17:51:41 1997 Gavin Koch <gavin@cygnus.com>
2708
2709 * addr2line.c (translate_addresses): Use bfd_scan_vma rather
2710 than strtol to scan addresses.
2711
2712 Sun Nov 9 11:01:31 1997 Jeffrey A Law (law@cygnus.com)
2713
2714 * Makefile.am (bin_PROGRAMS): Don't use line continuations here.
2715
2716 Tue Nov 4 11:56:14 1997 Ian Lance Taylor <ian@cygnus.com>
2717
2718 * objcopy.c (copy_section): Don't crash if there is no particular
2719 information for a section.
2720
2721 Mon Nov 3 12:36:19 1997 Ian Lance Taylor <ian@cygnus.com>
2722
2723 * objcopy.c (parse_flags): Make flag check case insensitive.
2724 Check for `contents' flag. Give an error for unrecognized flags.
2725 (copy_section): If the contents flag was set for a section that
2726 had no contents, zero out the new contents.
2727 * binutils.texi (objcopy): Document contents section flag.
2728
2729 Sun Nov 2 14:49:56 1997 Ian Lance Taylor <ian@cygnus.com>
2730
2731 * objcopy.c: Move new struct and variable definitions to top of
2732 file. Remove obsolete add_strip_symbol and is_strip_symbol
2733 declarations. Add prototype declarations for add_specific_symbol
2734 and is_specified_symbol.
2735
2736 Mon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf@progis.de>
2737
2738 * configure.com (HAVE_SBRK): Undefine.
2739
2740 Tue Oct 14 16:14:35 1997 Nick Clifton <nickc@cygnus.com>
2741
2742 * objdump.c (objdump_symbol_at_address): New function. Returns
2743 true if a symbol can be found at the address passed in.
2744 (disassemble_data): Set the symbol_at_address_func field to point
2745 to objdump_symbol_at_address.
2746
2747 Fri Oct 10 14:13:09 1997 Richard Henderson <rth@cygnus.com>
2748
2749 * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
2750 than "privatize". Update all references.
2751
2752 Thu Oct 9 15:57:29 1997 Ian Lance Taylor <ian@cygnus.com>
2753
2754 * binutils.texi (strip): Remove duplicate --target. From Marty
2755 Leisner <leisner@sdsp.mc.xerox.com>.
2756
2757 * nm.c (lineno_cache_bfd): New file static variable.
2758 (lineno_cache_rel_bfd): New file static variable.
2759 (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
2760 when closing a BFD.
2761 (display_file): Likewise.
2762 (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
2763 instead of cache_bfd and cache_rel_bfd. Make seccount static, and
2764 only set it when setting relocs.
2765
2766 Wed Oct 8 21:19:11 1997 Richard Henderson <rth@cygnus.com>
2767
2768 * objcopy.c (keep_specific_list, privatize_specific_list,
2769 weaken_specific_list): New variables.
2770 (keep_symbols): Removed.
2771 (add_specific_symbol): New function from the carcas of
2772 add_strip_symbol. Takes a list as an argument.
2773 (is_specified_symbol): Likewise from is_strip_symbol.
2774 (filter_symbols): Honor the new privatize and weaken lists.
2775 Optimize bfd_asymbol_name handling.
2776 (copy_object, copy_options, copy_usage): Add privatize-symbol &
2777 weaken-symbol options.
2778
2779 * objcopy.1, binutils.texi: Update docs.
2780
2781 Sun Oct 5 09:05:44 1997 Frank Ch. Eigler <fche@cygnus.com>
2782
2783 * objdump.c (disassemble_data): Make "--prefix-addresses"
2784 disassembly adjust to mixed-length instructions.
2785 (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
2786 symbol-offsets in disassembly.
2787
2788 Fri Oct 3 12:04:25 1997 Ian Lance Taylor <ian@cygnus.com>
2789
2790 * objcopy.c (set_times): New static function, replacing
2791 make_same_dates.
2792 (strip_main): If preserve_dates, stat the input file before
2793 copying it, and call set_times afterward.
2794 (copy_main): Likewise.
2795
2796 * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
2797 char * when calling strcpy and strlen.
2798
2799 Wed Sep 24 11:34:05 1997 Ian Lance Taylor <ian@cygnus.com>
2800
2801 * binutils.texi (ar cmdline): Document that q now works like r.
2802 From Marty Leisner <leisner@sdsp.mc.xerox.com>.
2803
2804 * binutils.texi (size): The object file argument is optional.
2805 From Marty Leisner <leisner@sdsp.mc.xerox.com>.
2806
2807 * aclocal.m4: Rebuild with new libtool.
2808 * configure: Rebuild.
2809
2810 Tue Aug 26 17:48:34 1997 Ian Lance Taylor <ian@cygnus.com>
2811
2812 * Makefile.am (EXEEXT_FOR_BUILD): New variable. Use it in all
2813 references to the sysinfo program.
2814 * configure.in: Rebuild with new bfd/acinclude.m4.
2815 * Makefile.in: Rebuild.
2816
2817 Fri Aug 8 15:32:49 1997 Ian Lance Taylor <ian@cygnus.com>
2818
2819 * windres.c: Include <time.h>.
2820 (define_resource): Set a timestamp for the resource.
2821
2822 Wed Aug 6 13:37:58 1997 Ian Lance Taylor <ian@cygnus.com>
2823
2824 * configure.in: Define TARGET in header file.
2825 * acconfig.h (TARGET): Add #undef.
2826 * Makefile.am (version.o, bucomm.o): Remove special targets.
2827 * bucomm.c (target): Remove.
2828 * nm.c (program_name): Don't declare.
2829 (target): Make static.
2830 * size.c (target): Make static.
2831 * configure, config.in, Makefile.in: Rebuild.
2832
2833 Tue Aug 5 00:01:41 1997 Ian Lance Taylor <ian@cygnus.com>
2834
2835 * Makefile.am (check-DEJAGNU): Export r.
2836 (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
2837 * Makefile.in: Rebuild.
2838
2839 * nlmheader.y: Use VERSIONK rather than VERSION.
2840
2841 * Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
2842 (NM_PROG): Change from nm.new to nm-new.
2843 (TOOL_PROGS, install-exec-local): Adjust accordingly.
2844 * Makefile.in: Rebuild.
2845
2846 Mon Aug 4 11:47:31 1997 Ian Lance Taylor <ian@cygnus.com>
2847
2848 * configure.in: Remove AC_ARG_PROGRAM; it's invoked by
2849 AM_INIT_AUTOMAKE.
2850 * configure: Rebuild.
2851
2852 * Makefile.am (install-exec-local): Create $(tooldir)/bin before
2853 trying to install anything into it.
2854 * Makefile.in: Rebuild.
2855
2856 * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
2857 (install-exec-local): When handling $(noinst_PROGRAMS), only use
2858 $(EXEEXT) on the installed file. When handling $(TOOL_PROGS),
2859 handle $(EXEEXT) correctly.
2860 * configure.in: Add an explicit $(EXEEXT) when substituting for
2861 the name of a program to build.
2862 * Makefile.in, configure: Rebuild.
2863
2864 * aclocal.m4, configure, Makefile.in: Rebuild with new automake
2865 patches.
2866
2867 * deflex.l, defparse.y: Use VERSIONK rather than VERSION.
2868 * rclex.l, rcparse.y: Likewise.
2869 * Makefile.am (windres_SOURCES): Add $(BULIBS).
2870 * Makefile.in: Rebuild.
2871
2872 Fri Aug 1 13:08:39 1997 Ian Lance Taylor <ian@cygnus.com>
2873
2874 * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
2875 * aclocal.m4, configure: Rebuild with new libtool.
2876
2877 Thu Jul 31 11:51:35 1997 Ian Lance Taylor <ian@cygnus.com>
2878
2879 * Makefile.am: New file, based on old Makefile.in.
2880 * acinclude.m4: New file, from old aclocal.m4.
2881 * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
2882 shared library handling; now handled by libtool. Replace
2883 AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
2884 AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
2885 AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove
2886 stamp-h handling in AC_OUTPUT.
2887 * acconfig.h: Mention PACKAGE and VERSION.
2888 * stamp-h.in: New file.
2889 * Makefile.in: Now built with automake.
2890 * aclocal.m4: Now built with aclocal.
2891 * config.in, configure: Rebuild.
2892
2893 From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
2894 * rcparse.y (dialog): Default menu and class to be named.
2895 (styles): If FONT is seen, set DS_SETFONT in dialog style.
2896 * resbin.c (res_to_bin_dialog): Correct computation of font
2897 information length.
2898
2899 Wed Jul 30 11:21:06 1997 Ian Lance Taylor <ian@cygnus.com>
2900
2901 From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
2902 * resbin.c (res_to_bin_menu): Correct computation of menu
2903 vs. menuex length.
2904 * resrc.c (define_stringtable): Add 1 to resource ID.
2905
2906 Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com>
2907
2908 * resbin.c (bin_to_res_string): Correct adjustment of data and
2909 length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
2910
2911 Tue Jul 22 18:01:23 1997 Ian Lance Taylor <ian@cygnus.com>
2912
2913 * nlmconv.c (link_inputs): Call libiberty pexecute function.
2914 (pexecute) [multiple versions]: Remove.
2915
2916 Tue Jul 22 16:19:34 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
2917
2918 * bucomm.c (make_tempname): If we might be using a DOS filesystem,
2919 check for a backslash as well as a slash.
2920
2921 Thu Jun 26 13:53:17 1997 Ian Lance Taylor <ian@cygnus.com>
2922
2923 * windres.c (main): Quit if we didn't get any resources.
2924 (usage): Fix --yydebug usage message.
2925 * rescoff.c (write_coff_file): Don't free the relocation array
2926 until after we've closed the BFD.
2927 (read_coff_rsrc): Quit rather than try to read standard input.
2928 (write_coff_file): Quit rather than try to write to standard
2929 output.
2930 * rcparse.y: Add a couple of missing semicolons (accepted by bison
2931 but not byacc).
2932 * binutils.texi: Document windres.
2933
2934 Wed Jun 25 20:57:06 1997 Ian Lance Taylor <ian@cygnus.com>
2935
2936 * resbin.c: New file.
2937 * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
2938 Numerous fixes and improvements.
2939 * Makefile.in: Rebuild dependencies.
2940 (CFILES): Add resbin.c.
2941 (WINDRES_OBJS): Add resbin.o.
2942
2943 Sun Jun 22 17:29:41 1997 Ian Lance Taylor <ian@cygnus.com>
2944
2945 First stab at Windows resource compiler:
2946 * windres.h: New file.
2947 * windres.c: New file.
2948 * resrc.c: New file.
2949 * rcparse.y: New file.
2950 * rclex.l: New file.
2951 * rescoff.c: New file.
2952 * configure.in: Define and substitute BUILD_WINDRES.
2953 * configure: Rebuild.
2954 * Makefile.in: Rebuild dependencies.
2955 (WINDRES_PROG): New variable.
2956 (PROGS): Add @BUILD_WINDRES@.
2957 (HFILES): Add dlltool.h and windres.h.
2958 (CFILES): Add windres.c and resrc.c.
2959 (GENERATED_CFILES): Add rcparse.c and rclex.c.
2960 (WINDRES_OBJS): New variable.
2961 $(WINDRES_PROG): New target.
2962 (rcparse.c, rcparse.h, rclex.c): New targets.
2963
2964 Thu Jun 12 12:27:51 1997 Ian Lance Taylor <ian@cygnus.com>
2965
2966 * dlltool.c (export_type): Add data field.
2967 (def_exports): Add data parameter. Change all callers.
2968 (dump_def_info): Print data field.
2969 (gen_def_file): Likewise.
2970 (make_one_lib_file): Handle data field by not emitting simple
2971 label and not emitting anything in SEC_TEXT.
2972 (dtab): Print data field.
2973 (process_duplicates): Merge data field.
2974 * dlltool.h (def_exports): Update declaration.
2975 * defparse.y (expline): Accept opt_DATA. Pass it to def_exports.
2976 (opt_DATA): New non-terminal.
2977
2978 Wed Jun 11 17:15:47 1997 Ian Lance Taylor <ian@cygnus.com>
2979
2980 * dlltool.h: New file.
2981 * deflex.l: Include dlltool.h and libiberty.h. Don't declare
2982 strdup. Use xstrdup rather than strdup.
2983 * defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
2984 * dlltool.c: Include dlltool.h and time.h. Make a lot of
2985 variables and functions static. Make a lot of char * variables
2986 and parameters const. Add declarations for static functions. Do
2987 some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC.
2988
2989 Wed Jun 11 12:05:52 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
2990
2991 * ar.c (bfd_special_undocumented_glue): Add const.
2992
2993 Mon May 12 22:09:35 1997 Bob Manson <manson@charmed.cygnus.com>
2994
2995 * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
2996 to runtest.
2997
2998 Mon May 12 13:14:22 1997 Ian Lance Taylor <ian@cygnus.com>
2999
3000 * configure.in: Don't clear OPCODES when --enable-commonbfdlib is
3001 used on HP/UX.
3002 * configure: Rebuild.
3003
3004 Fri Apr 25 14:22:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
3005
3006 * Makefile.in (maintainer-clean realclean): Change *.info*
3007 to binutils.info* to save sysroff.info.
3008
3009 Tue Apr 15 13:42:22 1997 Ian Lance Taylor <ian@cygnus.com>
3010
3011 * Makefile.in (INSTALL): Set to @INSTALL@.
3012 (INSTALL_XFORM, INSTALL_XFORM1): Remove.
3013 (install): Depend upon installdirs. Use $(program_transform_name)
3014 directly, rather than using $(INSTALL_XFORM) and
3015 $(INSTALL_XFORM1).
3016 (installdirs): New target.
3017 (install-info): Run mkinstalldirs.
3018
3019 Mon Apr 14 11:52:39 1997 Ian Lance Taylor <ian@cygnus.com>
3020
3021 * Makefile.in (INSTALL): Change install.sh to install-sh.
3022
3023 From Thomas Graichen <graichen@rzpd.de>:
3024 * Makefile.in: Always use $(SHELL) when running move-if-change.
3025 * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
3026 * configure: Rebuild.
3027
3028 Fri Apr 4 13:28:02 1997 Ian Lance Taylor <ian@cygnus.com>
3029
3030 * configure.in: Add AC_FUNC_ALLOCA.
3031 * configure, config.in: Rebuild.
3032 * bucomm.h: Add alloca handling, copied from gas/as.h.
3033 * dlltool.c: Add #pragma alloca for AIX to start of file.
3034 * nlmconv.c: Likewise.
3035
3036 * Makefile.in (distclean): Remove site.exp and site.bak. Remove
3037 everything that clean removes.
3038
3039 Thu Apr 3 13:18:39 1997 Ian Lance Taylor <ian@cygnus.com>
3040
3041 * Makefile.in (VERSION): Set to 2.8.1.
3042
3043 * Branched binutils 2.8.
3044
3045 Tue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf@progis.de>
3046
3047 * configure.com: New file.
3048 * config.h-vms: Remove file.
3049 * makefile.vms: Update for new configure scheme.
3050
3051 Mon Mar 31 15:30:43 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
3052
3053 * objcopy.c (make_same_dates): Use statbuf, not buf, if not
3054 HAVE_GOOD_UTIME_H.
3055
3056 Fri Mar 28 17:57:53 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
3057
3058 * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
3059 * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set,
3060 set OPCODES to empty.
3061 * configure: Rebuild.
3062
3063 Thu Mar 27 16:03:02 1997 Ian Lance Taylor <ian@cygnus.com>
3064
3065 Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
3066 * objcopy.c: Include <utime.h> or <sys/time.h>.
3067 (strip_options): Add "preserve-dates".
3068 (copy_options): Likewise.
3069 (copy_usage): Mention -p and --preserve-dates.
3070 (strip_usage): Likewise.
3071 (make_same_dates): New static function.
3072 (strip_main): Handle -p.
3073 (copy_main): Likewise.
3074 * binutils.texi, strip.1, objcopy.1: Document new option.
3075
3076 addr2line.c contributed by Ulrich Lauther
3077 <Ulrich.Lauther@zfe.siemens.de>:
3078 * addr2line.c: New file.
3079 * Makefile.in: Rebuild dependencies.
3080 (ADDR2LINE_PROG): New variable.
3081 (MANPAGES): Add addr2line.
3082 (PROGS): Add $(ADDR2LINE_PROG).
3083 (CFILES): Add addr2line.c.
3084 ($(ADDR2LINE_PROG)): New target.
3085 * binutils.texi: Document addr2line.
3086 * addr2line.1: New file.
3087
3088 * version.c (print_version): Update copyright date.
3089
3090 Mon Mar 24 10:52:45 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3091
3092 * objdump.c (disassemble_data): Don't exit if a file cannot be
3093 disassembled, instead just return.
3094
3095 Thu Mar 20 21:16:51 1997 Jeffrey A Law (law@cygnus.com)
3096
3097 * size.c (usage): Make definition match its prototype.
3098 (display_bfd, lprint_number, rprint_number): Likewise.
3099 (print_berkeley_format, sysv_internal_printer): Likewise.
3100 (print_sysv_format): Likewise.
3101 * nm.c (set_print_radix, set_output_format): Likewise.
3102 * objcopy.c (filter_bytes): Likewise.
3103
3104 Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org>
3105
3106 * Many files: Add function prototypes.
3107 * ar.c (mri_emul, get_pos_bfd): Make static.
3108 * arlex.l: Include "libiberty.h". Don't declare strdup. Use
3109 xstrdup rather than strdup.
3110 * arparse.y (yyerror): Make argument const. Correct typo.
3111 * arsup.c (strdup): Don't declare.
3112 (ar_save): Use xstrdup rather than strdup.
3113 * filemode.c: Include "bucomm.h".
3114 * nm.c (usage): Make static.
3115 (print_symname): Make format and name const.
3116 * objcopy.c (cat): Remove.
3117 (copy_archive): Make output_target const. Use concat, not cat.
3118 (copy_file, simple_copy, smart_rename): Make arguments const.
3119 * objdump.c (read_section_stabs): Likewise.
3120 (print_section_stabs): Likewise.
3121 (display_target_tables): Don't declare getenv.
3122 * strings.c (strings_object_file): Change file to const.
3123 (print_strings): Change filename to const.
3124 * Makefile.in: Rebuild dependencies.
3125
3126 Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian@cygnus.com>
3127
3128 * configure.in: Add BFD_NEED_DECLARATION(getenv).
3129 * acconfig.h: Add NEED_DECLARATION_GETENV.
3130 * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
3131 * configure, config.in: Rebuild.
3132 * nlmconv.c (getenv): Don't declare.
3133
3134 * Makefile.in: Rebuild dependencies.
3135
3136 Sat Mar 15 15:35:56 1997 Ian Lance Taylor <ian@cygnus.com>
3137
3138 Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
3139 * objdump.c: Include "demangle.h".
3140 (do_demangle): New static variable.
3141 (usage): Mention -C/--demangle.
3142 (long_options): Add "demangle".
3143 (objdump_print_symname): New static function.
3144 (objdump_print_addr_with_sym): Use objdump_print_symname.
3145 (disassemble_bytes): Likewise.
3146 (dump_reloc_set): Likewise.
3147 (dump_symbols): Demangle symbol name.
3148 (main): Handle -C.
3149 * binutils.texi, objdump.1: Document -C/--demangle.
3150
3151 * objdump.c (usage): Mention --no-show-raw-insn.
3152 (long_options): Add "no-show-raw-insn".
3153 (disassemble_bytes): Handle --no-show-raw-insn.
3154 * binutils.texi, objdump.1: Document --no-show-raw-insn.
3155
3156 Wed Mar 12 11:42:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3157
3158 * rddbg.c (free_saved_stabs): Set the strings to NULL after being
3159 freed.
3160
3161 Fri Feb 28 17:18:45 1997 Ian Lance Taylor <ian@cygnus.com>
3162
3163 * bucomm.c (set_default_bfd_target): New function.
3164 * bucomm.h (set_default_bfd_target): Declare.
3165 * ar.c (main): Call set_default_bfd_target.
3166 * nlmconv.c (main): Likewise.
3167 * nm.c (main): Likewise.
3168 * objcopy.c (main): Likewise.
3169 * objdump.c (main): Likewise.
3170 * size.c (main): Likewise.
3171 * strings.c (main): Likewise.
3172 * Makefile.in (bucomm.o): New target, to define TARGET.
3173
3174 Tue Feb 25 21:28:38 1997 Ian Lance Taylor <ian@cygnus.com>
3175
3176 * objdump.c (adjust_section_vma): New static variable.
3177 (usage): Mention --adjust-section-vma.
3178 (OPTION_ADJUST_VMA): Define.
3179 (long_options): Add "addjust-vma".
3180 (display_bfd): If adjust_section_vma is not 0, add it to all the
3181 section addresses.
3182 (main): Handle OPTION_ADJUST_VMA.
3183 * binutils.texi, objdump.1: Document --adjust-vma.
3184
3185 Fri Feb 14 18:46:47 1997 Ian Lance Taylor <ian@cygnus.com>
3186
3187 * nm.c (print_symbol): Cache the BFD as well as the symbols and
3188 relocs, and don't try to use the symbols or relocs with a
3189 different BFD.
3190
3191 Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de)
3192
3193 * config.h-vms: sbrk() is provided on openVMS/Alpha.
3194 * makefile.vms: allow compiling with current gcc snapshot.
3195
3196 Thu Feb 13 20:14:40 1997 Ian Lance Taylor <ian@cygnus.com>
3197
3198 * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
3199 than malloc.
3200
3201 Wed Feb 12 16:12:02 1997 Ian Lance Taylor <ian@cygnus.com>
3202
3203 * objdump.c (disassemble_data): Correct VMA argument to
3204 find_symbol_for_address. Improve handling of code with no symbol
3205 followed by code with a symbol.
3206
3207 Wed Feb 12 12:16:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3208
3209 * objdump.c (disassemble_bytes): Make output of raw instructions
3210 work better for non-standard values of bytes_per_chunk and
3211 bytes_per_line.
3212
3213 Thu Feb 6 14:14:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
3214
3215 * objdump.c (disassemble_bytes): Added code to allow some control
3216 over the way raw instructions are displayed.
3217
3218 Thu Feb 6 12:36:03 1997 Ian Lance Taylor <ian@cygnus.com>
3219
3220 * stabs.c (struct bincl_file): Add next_stack field.
3221 (push_bincl): Put the new file on both bincl_list and
3222 bincl_stack. Clear the file_types field.
3223 (pop_bincl): Use the next_stack field when popping the stack.
3224 Don't put the file on bincl_list.
3225 (find_excl): Include the file name when warning about an unfound
3226 N_EXCL.
3227
3228 * debug.c (debug_type_samep): Don't crash if we are passed NULL.
3229
3230 Thu Feb 6 11:54:24 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
3231
3232 * objcopy.1: Add missing space after .B.
3233
3234 Fri Jan 31 10:33:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3235
3236 * objdump.c (disassemble_data): Initialize `aux.require_sec'.
3237
3238 Wed Jan 29 13:21:21 1997 Ian Lance Taylor <ian@cygnus.com>
3239
3240 * objdump.c (objdump_print_value): Add skip_zeroes parameter.
3241 Change all callers.
3242 (objdump_print_addr_with_sym): Likewise. Call objdump_print_value
3243 to print address.
3244 (objdump_print_addr): New static function.
3245 (objdump_print_address): Just call objdump_print_addr.
3246 (disassemble_bytes): Print real address, not function offset.
3247 Skip a certain number of leading zeroes.
3248
3249 * objdump.c (disassemble_zeroes): New static variable.
3250 (usage): Mention --disassemble-zeroes.
3251 (long_options): Add "disassemble-zeroes".
3252 (disassemble_bytes): Check disassemble_zeroes.
3253
3254 Tue Jan 28 16:47:26 1997 Ian Lance Taylor <ian@cygnus.com>
3255
3256 * objdump.c (disassemble_bytes): Don't skip zeroes if the
3257 disassembler has told us that we are in a branch delay slot.
3258
3259 Mon Jan 20 14:24:04 1997 Ian Lance Taylor <ian@cygnus.com>
3260
3261 * size.c (berkeley_sum): Rewrite. Skip sections which are not
3262 SEC_ALLOC. Count SEC_READONLY sections as text.
3263
3264 Tue Jan 14 15:14:14 1997 Ian Lance Taylor <ian@cygnus.com>
3265
3266 * Makefile.in (maintainer-clean realclean): Remove *.info*, not
3267 just *.info. From H.J. Lu <hjl@lucon.org>.
3268
3269 Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian@cygnus.com>
3270
3271 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
3272
3273 Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian@cygnus.com>
3274
3275 * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
3276 * configure: Rebuild.
3277
3278 Thu Dec 19 13:11:20 1996 Ian Lance Taylor <ian@cygnus.com>
3279
3280 Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
3281 * objcopy.c (OPTION_WEAKEN): Define.
3282 (copy_options): Add "weaken".
3283 (copy_usage): Mention --weaken.
3284 (weaken): New static variable.
3285 (filter_symbols): Handle weaken.
3286 (copy_object): Call filter_symbols if weaken.
3287 (copy_main): Handle OPTION_WEAKEN.
3288 * binutils.texi, objcopy.1: Document --weaken.
3289
3290 Wed Dec 18 22:49:13 1996 Stan Shebs <shebs@andros.cygnus.com>
3291
3292 * mpw-make.sed: Use NewFolderRecursive for installation.
3293
3294 Sat Dec 7 10:17:25 1996 Jeffrey A Law (law@cygnus.com)
3295
3296 * Makefile.in (install): Add "else true" clause to cater to
3297 broken "make" on some systems.
3298
3299 Fri Dec 6 17:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
3300
3301 * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
3302 warning about uninitialized variable.
3303 (ieee_read_cxx_class): Likewise, for pf.
3304 (ieee_enum_type): Likewise, for i.
3305
3306 Tue Nov 26 17:01:25 1996 Ian Lance Taylor <ian@cygnus.com>
3307
3308 * wrstabs.c (stab_array_type): Add casts when printing
3309 bfd_signed_vma values.
3310
3311 * configure: Rebuild with autoconf 2.12.
3312
3313 Mon Nov 25 16:53:18 1996 Ian Lance Taylor <ian@cygnus.com>
3314
3315 * objdump.c (disassemble_data): Don't crash if there is no
3316 symbol.
3317
3318 Fri Nov 22 17:29:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3319
3320 * ar.c (open_inarch): Don't call bfd_openr with a null name.
3321
3322 Fri Nov 1 12:08:13 1996 Ian Lance Taylor <ian@cygnus.com>
3323
3324 * binutils.texi: Add section on reporting bugs.
3325
3326 Thu Oct 31 18:20:53 1996 Ian Lance Taylor <ian@cygnus.com>
3327
3328 * stabs.c (struct stab_handle): Add bincl_list field.
3329 (parse_stab): Pass value to push_bincl. Call find_excl for
3330 N_EXCL.
3331 (struct bincl_file): Add hash, file and file_types fields.
3332 (push_bincl): Add hash parameter. Save it in the new hash field.
3333 Save the file number in the new file field.
3334 (pop_bincl): Put the bincl_file on bincl_list, rather than freeing
3335 it. Save the file types in the new file_types field.
3336 (find_excl): New static function.
3337
3338 * ieee.c (ieee_lineno): Don't compare line number addresses to
3339 info->highaddr (undo part of October 28 patch).
3340
3341 Tue Oct 29 16:40:22 1996 Ian Lance Taylor <ian@cygnus.com>
3342
3343 * objdump.c (objdump_print_value): Don't print the empty string
3344 for zero.
3345
3346 Mon Oct 28 16:58:14 1996 Ian Lance Taylor <ian@cygnus.com>
3347
3348 * stabs.c (struct stab_handle): Add function_end field.
3349 (start_stab): Initialize function_end.
3350 (finish_stab): Pass info->function_end to debug_end_function.
3351 (parse_stab): If info->function_end is set, use it as the address
3352 which ends a function.
3353
3354 * ieee.c (ieee_array_type): Remember the correct size.
3355
3356 * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
3357 that are up to 0x1000 bytes apart, not just 64.
3358 (ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
3359 than 0x100 bytes.
3360 (ieee_lineno): Only emit line numbers that are less than
3361 info->highaddr.
3362
3363 Fri Oct 25 12:12:17 1996 Ian Lance Taylor <ian@cygnus.com>
3364
3365 * ieee.c (struct ieee_defined_enum): Add defined field.
3366 (ieee_enum_type): If the enum tag has been seen before but not
3367 defined, reuse the same type index, and define it.
3368 (ieee_tag_type): If this enum has not been defined, add an
3369 undefined entry to the list of enums.
3370
3371 * objdump.c (disassemble_bytes): Let the disassembler override the
3372 number of bytes printed on a line.
3373
3374 Thu Oct 24 16:42:10 1996 Ian Lance Taylor <ian@cygnus.com>
3375
3376 * objdump.c (prefix_addresses): New static variable.
3377 (long_options): Add "prefix-addresses".
3378 (compare_symbols): Sort BSF_FUNCTION symbols before other
3379 symbols.
3380 (find_symbol_for_address): New static function, broken out of
3381 objdump_print_address.
3382 (objdump_print_addr_with_sym): New static function, broken out of
3383 objdump_print_address.
3384 (objdump_print_address): Call new functions.
3385 (disassemble_bytes): New static function, broken out of
3386 disassemble_data. Change disassembly format, unless
3387 prefix_addresses is set.
3388 (disassemble_data): Call disassemble_bytes. Unless
3389 prefix_addresses is set, disassemble in chunks headed by a
3390 symbol.
3391 * binutils.texi, objdump.1: Document --prefix-addresses.
3392
3393 * rddbg.c (read_section_stabs_debugging_info): Preserve the
3394 backslash when concatenating multiple stabs strings.
3395
3396 Thu Oct 10 11:36:31 1996 Doug Evans <dje@canuck.cygnus.com>
3397
3398 * dlltool.c (scan_open_obj_file): Fix loop exit test.
3399 Add missing parameter to def_exports.
3400
3401 Tue Oct 8 12:06:17 1996 Ian Lance Taylor <ian@cygnus.com>
3402
3403 * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the
3404 default for flex, and is not recognized by lex.
3405
3406 Thu Oct 3 17:41:23 1996 Ian Lance Taylor <ian@cygnus.com>
3407
3408 * binutils.texi (Target Selection): Document that you can now
3409 specify targets using configuration triplets.
3410
3411 * ar.c (usage): Declare. Make sure all callers pass an argument.
3412
3413 Thu Oct 3 15:39:42 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3414
3415 * Makefile.in (clean): Remove config.log.
3416
3417 Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de>
3418
3419 * makefile.vms: Bump version date.
3420
3421 Tue Oct 1 15:00:59 1996 Ian Lance Taylor <ian@cygnus.com>
3422
3423 * version.c (print_version): New function.
3424 * bucomm.h (print_version): Declare.
3425 * ar.c (program_version): Don't declare.
3426 (do_show_version): Remove.
3427 (usage): Add help parameter. Print bug report address.
3428 (main): Set is_ranlib at start. Check for --help and --version.
3429 Call print_version, not do_show_version.
3430 * nlmconv.c (program_version): Don't declare.
3431 (main): Call print_version.
3432 (show_usage): Print bug report address.
3433 * nm.c (program_version, print_version): Don't declare.
3434 (usage): Print bug report address.
3435 (main): Call print_version.
3436 * objcopy.c (program_version): Don't declare.
3437 (copy_usage): Print bug report address.
3438 (strip_usage): Likewise.
3439 (strip_main): Call print_version.
3440 (copy_main): Likewise.
3441 * objdump.c (program_version): Don't declare.
3442 (usage): Print bug report address.
3443 (main): Call print_version.
3444 * size.c (program_version): Don't declare.
3445 (usage): Print bug report address.
3446 (main): Call print_version.
3447 * strings.c (program_version): Don't declare.
3448 (main): Call print_version.
3449 (usage): Print bug report address.
3450 * Makefile.in: Update dependencies.
3451
3452 Thu Sep 19 14:53:15 1996 Ian Lance Taylor <ian@cygnus.com>
3453
3454 * ieee.c: Revert Monday's reflocalp patch, and apply this patch
3455 instead:
3456 (write_ieee_debugging_info): Write a dummy type at the end of the
3457 global type block.
3458
3459 Mon Sep 16 15:30:54 1996 Ian Lance Taylor <ian@cygnus.com>
3460
3461 * ieee.c (struct ieee_write_type): Add reflocalp field.
3462 (ieee_pointer_type): Set reflocalp after pushing type.
3463 (ieee_function_type): If reflocalp is set, make this type local.
3464 (ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
3465 (ieee_const_type, ieee_volatile_type): Likewise.
3466 (ieee_struct_field, ieee_class_baseclass): Likewise.
3467
3468 * ieee.c (struct ieee_info): Add global_types field.
3469 (parse_ieee_bb): When starting a BB1, initialize the types field
3470 to the global_types field.
3471 (parse_ieee_be): When ending a BB2, copy the types field to the
3472 global_types field.
3473
3474 Fri Sep 13 17:32:21 1996 Ian Lance Taylor <ian@cygnus.com>
3475
3476 * objcopy.c (change_leading_char): New static variable.
3477 (OPTION_CHANGE_LEADING_CHAR): Define.
3478 (copy_options): Add "change-leading-char".
3479 (copy_usage): Mention --change-leading-char.
3480 (filter_symbols): Add obfd parameter. Change all callers.
3481 Implement change_leading_char.
3482 (copy_object): Call filter_symbols if change_leading_char.
3483 (copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
3484 * binutils.texi, objcopy.1: Document --change-leading-char.
3485
3486 Tue Sep 3 14:05:29 1996 Ian Lance Taylor <ian@cygnus.com>
3487
3488 * ieee.c (ieee_enum_type): Don't check index into a NULL names
3489 array.
3490 * nm.c (sort_symbols_by_size): Always initialize next.
3491 * rdcoff.c (parse_coff_type): Warn about an incomprehensible
3492 type rather than crashing.
3493 * rddbg.c (read_symbol_stabs_debugging_info): Initialize f.
3494 * stabs.c (parse_stab_members): Set context in all cases.
3495
3496 Thu Aug 29 16:56:52 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3497
3498 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3499 * configure: Regenerate.
3500
3501 Thu Aug 29 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com>
3502
3503 * objdump.c (L_tmpnam): Never define.
3504 (display_target_list): Use choose_temp_base instead of tmpnam.
3505 (display_info_table): Likewise.
3506
3507 Tue Aug 27 18:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
3508
3509 * stabs.c (parse_stab): An N_FUN symbol with an empty string
3510 indicates the end of a function.
3511
3512 Thu Aug 22 17:08:00 1996 Ian Lance Taylor <ian@cygnus.com>
3513
3514 * wrstabs.c (struct string_hash_entry): Add next field.
3515 (struct stab_write_handle): Change strings to a pointer to
3516 string_hash_entry. Add last_strings field. Remove strings_alloc
3517 field.
3518 (string_hash_newfunc): Initialize next field.
3519 (stab_write_symbol): Copy string into hash table rather than into
3520 buffer. Keep a list of hash table entries.
3521 (write_stabs_in_sections_debugging_info): Initialize last_string.
3522 Copy strings from list of hash table entries in memory.
3523 (stab_modify_type): If the entry on the stack is a definition,
3524 make a new definition rather than failing an assert.
3525 (stab_array_type): The size is only zero if high is strictly less
3526 than low.
3527
3528 * ieee.c (struct ieee_info): Add saw_filename field.
3529 (parse_ieee): Initialize saw_filename.
3530 (parse_ieee_bb): Set saw_filename for a BB1 or BB2. In a BB1,
3531 discard the current variables and types. In a BB10, if no
3532 filename has been seen, call debug_set_filename.
3533 (parse_ieee_ty): In case 'g', the type is optional.
3534
3535 * prdbg.c (pr_fix_visibility): Don't abort on
3536 DEBUG_VISIBILITY_IGNORE.
3537
3538 * debug.c (debug_name_type): Correct error message.
3539
3540 * configure.in: Substitute HLDENV.
3541 * configure: Rebuild.
3542 * Makefile.in (HLDENV): New variable. Use it whenever linking a
3543 program.
3544
3545 Thu Aug 15 19:30:41 1996 Stan Shebs <shebs@andros.cygnus.com>
3546
3547 * mpw-make.sed: Add symbolic doublequotes around the version
3548 number.
3549
3550 Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf@progis.de>
3551
3552 * makefile.vms: Add better support for DEC C compilation.
3553 Add new macros as in Makefile.in.
3554
3555 Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
3556
3557 * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
3558 * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
3559 (NEED_DECLARATION_SBRK): New macro.
3560 * configure, config.in: Rebuild.
3561 * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
3562 (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
3563
3564 * prdbg.c (pr_end_struct_type): Avoid using a string constant in
3565 assert, for the benefit of broken assert macros.
3566
3567 Fri Jul 26 14:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
3568
3569 * objdump.c (disassemble_data): Set disasm_info.flavour from
3570 abfd.
3571
3572 Tue Jul 23 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
3573
3574 * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
3575 of .text section to 2.
3576
3577 Mon Jul 22 08:46:15 1996 Stu Grossman (grossman@lisa.cygnus.com)
3578
3579 * objdump.c (dump_section_stabs): Fix test for stabs sections
3580 ending with numbers. This fixes a problem with .stab being
3581 confused with .stab.index.
3582
3583 Wed Jul 10 13:32:28 1996 Ian Lance Taylor <ian@cygnus.com>
3584
3585 * stabs.c (stab_demangle_fund_type): Return a void * for a
3586 template, rather than simply aborting.
3587
3588 Mon Jul 8 15:28:05 1996 Ian Lance Taylor <ian@cygnus.com>
3589
3590 * ar.c (open_inarch): Add file parameter. Change all callers. If
3591 this is a newly created archive, set the target based on the
3592 file.
3593 * arsup.h (open_inarch): Update declaration.
3594
3595 Thu Jul 4 12:00:55 1996 Ian Lance Taylor <ian@cygnus.com>
3596
3597 * Makefile.in (VERSION): Set to cygnus-2.7.1.
3598
3599 * Released binutils 2.7.
3600
3601 * rdcoff.c (parse_coff): Get address to pass to debug_end_function
3602 from function size, not value of .ef symbol. From Ning
3603 Mosberger-Tang <ning@AZStarNet.com>.
3604
3605 Sat Jun 29 21:18:09 1996 Ian Lance Taylor <ian@cygnus.com>
3606
3607 * objcopy.c (strip_main): Add -o option, and handle it.
3608 (strip_usage): Mention -o.
3609 * binutils.texi, strip.1: Mention -o.
3610
3611 Mon Jun 24 17:19:02 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3612
3613 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
3614 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
3615 (docdir): Removed.
3616 * configure.in (AC_PREREQ): Autoconf 2.5 or higher.
3617
3618 Mon Jun 24 11:59:13 1996 Ian Lance Taylor <ian@cygnus.com>
3619
3620 * objdump.c (endian): New static variable.
3621 (usage): Mention -EB/-EL/--endian.
3622 (long_options): Add "endian".
3623 (disassemble_data): If endianness was specified, replace
3624 abfd->xvec with a copy of itself with the given endianness.
3625 (main): Handle -EB/-EL/--endian.
3626 * binutils.texi, objdump.1: Mention -EB/-EL/--endian.
3627
3628 * objdump.c: Make most variables and functions static.
3629
3630 * configure.in: On alpha*-*-osf*, link against libbfd.a if not
3631 using shared libraries.
3632 * configure: Rebuild with autoconf 2.10.
3633
3634 Sun Jun 23 14:47:36 1996 Kim Knuttila <krk@cygnus.com>
3635
3636 * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
3637 (make_one_lib_file): Removed cruft. (#if 1)
3638
3639 Wed Jun 19 14:46:38 1996 Ian Lance Taylor <ian@cygnus.com>
3640
3641 * objdump.c (stabs): Change from struct internal_nlist * to
3642 bfd_byte *.
3643 (print_section_stabs): Fetch stabs information directly, rather
3644 than assuming that struct internal_nlist is the right size.
3645
3646 * binutils.texi: Document change to binary format: file position
3647 based on load address, not section VMA.
3648
3649 * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are
3650 not already defined.
3651
3652 Tue Jun 18 18:25:00 1996 Ian Lance Taylor <ian@cygnus.com>
3653
3654 * Makefile.in (DISTSTUFF): Add deflex.c.
3655
3656 Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de>
3657
3658 * config.h-vms, makefile.vms: New files.
3659
3660 Mon Jun 17 09:47:31 1996 Ian Lance Taylor <ian@cygnus.com>
3661
3662 * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
3663 BFD_RELOC_32 in IDATA7.
3664
3665 Wed Jun 12 11:52:06 1996 Ian Lance Taylor <ian@cygnus.com>
3666
3667 * nm.c (struct get_relocs_info): Define.
3668 (line_numbers): New static variable.
3669 (long_options): Add "line-numbers".
3670 (usage): Mention -l and --line-numbers.
3671 (main): Handle -l.
3672 (print_symbol): Print line numbers if requested.
3673 (get_relocs): New static function.
3674 * binutils.texi, nm.1: Document -l/--line-numbers.
3675
3676 Tue Jun 11 20:12:15 1996 Ian Lance Taylor <ian@cygnus.com>
3677
3678 * objdump.c (dump_reloc_set): Add sec parameter. Change all
3679 callers. If with_line_numbers is set, display line numbers of
3680 relocation entries.
3681 * binutils.texi, objdump.1: Document -l with -r.
3682
3683 Mon Jun 10 23:42:59 1996 Ian Lance Taylor <ian@cygnus.com>
3684
3685 * ar.c (open_inarch): Report BFD error message if an archive can
3686 not be recognized. List matching formats if the file is
3687 ambiguously recognized.
3688 (ranlib_touch): Likewise.
3689
3690 Thu Jun 6 13:56:14 1996 Ian Lance Taylor <ian@cygnus.com>
3691
3692 * README: Add notes on how to build if you don't have ar.
3693
3694 * Makefile.in: Remove old incorrect setting of CC.
3695
3696 Tue Jun 4 10:52:49 1996 Tom Tromey <tromey@csk3.cygnus.com>
3697
3698 * Makefile.in (install): Don't check to see if tooldir exists.
3699 Make $(tooldir) and $(tooldir)/bin.
3700
3701 Mon Jun 3 17:40:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3702
3703 * strings.c (main): Make main an int function, not void.
3704
3705 Fri May 31 13:59:24 1996 Ian Lance Taylor <ian@cygnus.com>
3706
3707 * nm.c (filter_symbols): Check for BSF_WEAK as well as
3708 BSF_GLOBAL.
3709 * objcopy.c (filter_symbols): Likewise.
3710
3711 Wed May 8 16:57:20 1996 Ian Lance Taylor <ian@cygnus.com>
3712
3713 * objcopy.c (copy_object): Make clear that it is only a warning
3714 when the output file can not represent the architecture.
3715
3716 Fri May 3 11:30:17 1996 Ian Lance Taylor <ian@cygnus.com>
3717
3718 * objdump.c (disassemble_data): Don't refer to bytes past the end
3719 of data.
3720
3721 Wed Apr 24 14:10:21 1996 Ian Lance Taylor <ian@cygnus.com>
3722
3723 * rddbg.c (read_symbol_stabs_debugging_info): Move call to
3724 free_saved_stabs outside the loop over the symbols.
3725
3726 Tue Apr 23 12:56:11 1996 Ian Lance Taylor <ian@cygnus.com>
3727
3728 * objdump.c (compare_symbols): Sort symbols whose names start with
3729 `.' after other symbols. If no other decision can be made, sort
3730 symbols by name.
3731
3732 Thu Apr 18 16:02:11 1996 Ian Lance Taylor <ian@cygnus.com>
3733
3734 * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
3735 * Makefile.in: Rebuild dependencies.
3736 (dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
3737
3738 Tue Apr 16 13:50:22 1996 Ian Lance Taylor <ian@cygnus.com>
3739
3740 * rdcoff.c: New file.
3741 * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
3742 and no stabs were found.
3743 * budbg.h (parse_coff): Declare.
3744 * Makefile.in: Rebuild dependencies.
3745 (CFILES): Add rdcoff.c.
3746 (DEBUG_OBJS): Add rdcoff.o.
3747
3748 Mon Apr 15 15:55:01 1996 Doug Evans <dje@canuck.cygnus.com>
3749
3750 * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
3751 (link_inputs): Update call to choose_temp_base.
3752
3753 Mon Apr 8 14:40:05 1996 Ian Lance Taylor <ian@cygnus.com>
3754
3755 * configure.in: Permit --enable-shared to specify a list of
3756 directories.
3757 * configure: Rebuild.
3758
3759 Fri Mar 29 16:11:33 1996 Ian Lance Taylor <ian@cygnus.com>
3760
3761 * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
3762 and the SEC_LINK_DUPLICATES field.
3763
3764 Fri Mar 29 11:35:55 1996 J.T. Conklin (jtc@lisa.cygnus.com)
3765
3766 * nlmconv.1: Changed to be recognized by catman -w on Solaris.
3767
3768 Thu Mar 28 14:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
3769
3770 * wrstabs.c (stab_enum_type): Set buf before using it.
3771
3772 Fri Mar 22 15:49:08 1996 Ian Lance Taylor <ian@cygnus.com>
3773
3774 * stabs.c (struct stab_handle): Add field abfd.
3775 (start_stab): Add abfd parameter.
3776 (parse_stab_string): Skip the symbol leading char when searching
3777 for the value of a global symbol.
3778 * budbg.h (start_stab): Update declaration.
3779 * rddbg.c (read_section_stabs_debugging_info): Pass abfd to
3780 start_stab.
3781 (read_symbol_stabs_debugging_info): Likewise.
3782
3783 Thu Mar 21 12:40:48 1996 Ian Lance Taylor <ian@cygnus.com>
3784
3785 * wrstabs.c (stab_function_type): Output an empty typedef for an
3786 unused argument, rather than making up a meaningless name.
3787 (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable.
3788
3789 * ieee.c (struct ieee_info): Add global_vars field.
3790 (parse_ieee_be): When ending the global typedef block, copy the
3791 variables into info->global_vars.
3792 (parse_ieee_atn): Don't require an NN record for a pmisc ATN.
3793 (ieee_read_reference): Search the global variables after the local
3794 variables.
3795
3796 Wed Mar 20 18:08:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3797
3798 * objdump.c (disassemble_data): Make sure sym_name is always set.
3799 (dump_section_header): Always put a space after the section name.
3800 (dump_bfd_header): Terminate output with newline.
3801
3802 Wed Mar 20 16:35:20 1996 Ian Lance Taylor <ian@cygnus.com>
3803
3804 * wrstabs.c: New file.
3805 * budbg.h (write_stabs_in_sections_debugging_info): Declare.
3806 * objcopy.c (write_debugging_info): For COFF or ELF, output stabs
3807 in sections.
3808 * Makefile.in: Rebuild dependencies.
3809 (CFILES): Add wrstabs.c.
3810 (WRITE_DEBUG_OBJS): New variable.
3811 ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
3812 ($(STRIP_PROG)): Likewise.
3813
3814 * stabs.c (parse_stab_members): Make type stub detection more like
3815 gdb.
3816
3817 * ieee.c (struct ieee_handle): Add fields complex_float_index and
3818 complex_double_index.
3819 (ieee_complex_type): Cache type index in complex_float_index and
3820 complex_double_index, depending upon size. Set size on type stack
3821 to size * 2.
3822
3823 * ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
3824 (ieee_void_type): Use builtin_void, not 1.
3825
3826 * ieee.c (parse_ieee_ty): Handle 'V' type code.
3827 (parse_ieee_atn): Don't require two numbers for type 10.
3828
3829 * ieee.c (parse_ieee_be): Add one to offset at end of function or
3830 block.
3831
3832 * ieee.c (struct ieee_block): Add field skip.
3833 (parse_ieee_bb): Don't call debug_record_function for __XRYCPP
3834 function, and set skip field.
3835 (parse_ieee_be): Don't call debug_end_function if skip is set.
3836
3837 * debug.c (struct debug_handle): Add fields current_write_lineno
3838 and current_write_lineno_index.
3839 (debug_write): Initialize current_write_lineno and
3840 current_write_lineno_index for each unit. Call
3841 debug_write_linenos rather than writing out the line numbers
3842 directly.
3843 (debug_write_function): Call debug_write_linenos.
3844 (debug_write_block): Likewise.
3845 (debug_write_linenos): New static function.
3846
3847 * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return
3848 type before arguments.
3849
3850 Mon Mar 18 18:05:33 1996 Ian Lance Taylor <ian@cygnus.com>
3851
3852 * configure.in: Add AC_FUNC_VFORK.
3853 * configure, config.in: Rebuild.
3854 * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
3855 defined.
3856
3857 * stabs.c (parse_stab_range_type): A complex type is defined as a
3858 subrange of itself with the high bound zero.
3859 * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
3860
3861 Tue Mar 12 12:09:43 1996 Ian Lance Taylor <ian@cygnus.com>
3862
3863 * ieee.c (ieee_write_undefined_tag): Switch to global_types even
3864 if it is not empty.
3865 (ieee_tag_type): For an enum, look through info->enums.
3866
3867 * configure: Rebuild with autoconf 2.8.
3868
3869 * debug.c (debug_type_samep): Don't loop endlessly in
3870 DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>.
3871
3872 Mon Mar 11 12:35:03 1996 Ian Lance Taylor <ian@cygnus.com>
3873
3874 * rddbg.c (read_section_stabs_debugging_info): Call save_stab for
3875 each stab entry, call stab_context on an error, and call
3876 free_saved_stabs before rturning.
3877 (read_symbol_stabs_debugging_info): Likewise.
3878 (SAVE_STABS_COUNT): Define.
3879 (struct saved_stab): Define.
3880 (saved_stabs, saved_stabs_index): New static variables.
3881 (save_stab, stab_context, free_saved_stabs): New static functios.
3882
3883 * objdump.c (stab_name): Remove.
3884 (struct stab_print): Remove.
3885 (stab_print): Remove.
3886 (dump_stabs): Don't initialize stab_name.
3887 (print_section_stabs): Call bfd_get_stab_name rather than using
3888 the stab_name array.
3889
3890 Tue Feb 27 19:52:01 1996 Ian Lance Taylor <ian@cygnus.com>
3891
3892 * prdbg.c (pr_int_constant): Initialize info correctly.
3893 (pr_float_constant): Likewise.
3894
3895 Mon Feb 26 18:11:37 1996 Stan Shebs <shebs@andros.cygnus.com>
3896
3897 * mpw-make.sed: Update to handle shared library support.
3898
3899 Sat Feb 24 11:21:49 1996 Alan Modra <alan@spri.levels.unisa.edu.au>:
3900
3901 * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
3902 $(OPCODES).
3903
3904 Thu Feb 15 12:44:45 1996 Ian Lance Taylor <ian@cygnus.com>
3905
3906 * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC before
3907 configure.host.
3908 * configure: Rebuild.
3909
3910 * configure.in: Substitute RPATH_ENVVAR.
3911 * configure: Rebuild.
3912 * Makefile.in (RPATH_ENVVAR): New variable.
3913 (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
3914
3915 * objcopy.c (smart_rename): Rather than doing chmod then chown, do
3916 chmod without setuid, then chown, then chmod with setuid.
3917
3918 Wed Feb 14 16:46:42 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
3919
3920 * arsup.c (map_over_list): Reindent. Don't assume that the
3921 function does not delete the BFD.
3922 (ar_addlib_doer): Don't set prev->next if prev is NULL.
3923
3924 Wed Feb 14 15:12:17 1996 Ian Lance Taylor <ian@cygnus.com>
3925
3926 * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
3927 and i960.
3928 (ieee_genreg_to_regno): Likewise.
3929
3930 Mon Feb 12 14:19:59 1996 Ian Lance Taylor <ian@cygnus.com>
3931
3932 * ieee.c: Extensive changes to write code to put types in the
3933 global type block when possible, to output ranges for all memory
3934 occupied by the module, and to improve efficiency.
3935
3936 * debug.c (struct debug_handle): Remove class_mark field. Add
3937 id_list and compare_list fields.
3938 (struct debug_class_id): Define.
3939 (struct debug_type_compare_list): Define.
3940 (debug_write): Initialize info->id_list
3941 (debug_write_name): Remove reference to info->class_mark.
3942 (debug_write_type): Get id for all structs and classes. Simplify
3943 test for whether struct has already been written.
3944 (debug_write_class_type): Get id for all classes. Simplify test
3945 for whether class has already been written.
3946 (debug_write_block): Don't write out blocks other than the top
3947 level block if they have no local variables.
3948 (debug_set_class_id): New static function.
3949 (debug_type_samep): New static function.
3950 (debug_class_type_samep): New static function.
3951 * prdbg.c (pr_start_struct_type): Always print id.
3952 (pr_start_class_type): Likewise.
3953 (pr_tag_type): Likewise.
3954
3955 * stabs.c (struct stab_handle): Add syms and symcount fields.
3956 (start_stab): Add syms and symcount parameters. Change all
3957 callers.
3958 (parse_stab_string): Look up global variables in the symbol table
3959 to get the right value.
3960 * budbg.h (start_stab): Update declaration.
3961 * rddbg.c (read_section_stabs_debugging_info): Add syms and
3962 symcount parameters. Change all callers.
3963
3964 * stabs.c (parse_stab_array_type): If the index type is 0, use
3965 int.
3966
3967 Wed Feb 7 14:17:45 1996 Ian Lance Taylor <ian@cygnus.com>
3968
3969 * ieee.c (ieee_start_compilation_unit): Clear modified and
3970 modified_alloc fields of info.
3971
3972 * configure.in: Check for --enable-shared. Substitute new
3973 variables BFDLIB and OPCODES.
3974 * configure: Rebuild.
3975 * Makefile.in (BFDLIB): Set to @BFDLIB@.
3976 (OPCODES): Set to @OPCODES@.
3977
3978 Mon Feb 5 16:18:42 1996 Ian Lance Taylor <ian@cygnus.com>
3979
3980 Support for building bfd and opcodes as shared libraries, based on
3981 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
3982 * configure.in (HLDFLAGS): New substitution.
3983 * configure: Rebuild.
3984 * Makefile.in (HLDFLAGS): New variable. Make all links use
3985 $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS).
3986 (BFDLIB_DEP): New variable. Replace all occurrences of $(BFD) as
3987 a dependency with $(BFDLIB_DEP). Remove $(BFD) as a dependency if
3988 there is also a dependency on $(ADDL_DEPS).
3989 (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd.
3990 (OPCODES_DEP): New variable. Replace all occurrends of $(OPCODES)
3991 as a dependency with $(OPCODES_DEP).
3992 (OPCODES): Set to -L../opcodes -lopcodes.
3993 (ADDL_DEPS): New variable. Replace all occurrences of
3994 $(ADDL_LIBS) as a dependency with $(ADDL_DEPS).
3995 (check): Set LD_LIBRARY_PATH in the environment.
3996 (config.status): Depend upon BFD configure.host and config.bfd.
3997
3998 Fri Feb 2 17:02:59 1996 Doug Evans <dje@charmed.cygnus.com>
3999
4000 * objdump.c: #include stdarg.h or varargs.h.
4001 (objdump_print_value): Change FILE* arg to struct disassemble_info*.
4002 All callers updated. Use fprintf_func.
4003 (objdump_print_address): Consistently use fprintf_func.
4004 (objdump_sprintf): New function.
4005 (disassemble_data): Print insn into a buffer, print raw insn ourselves,
4006 then print insn mnemonic.
4007
4008 Fri Feb 2 16:48:55 1996 Ian Lance Taylor <ian@cygnus.com>
4009
4010 * configure: Regenerate.
4011
4012 Thu Feb 1 09:38:18 1996 Steve Chamberlain <sac@slash.cygnus.com>
4013
4014 * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
4015 (powerpc*-*-cygwin32): New.
4016 * configure: Regenerated.
4017
4018 Wed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu>
4019
4020 * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
4021
4022 Mon Jan 29 17:36:29 1996 Ian Lance Taylor <ian@cygnus.com>
4023
4024 Based on patches from H J Lu <hjl@zoom.com>:
4025 * objcopy.c (remove_leading_char): New static variable.
4026 (OPTION_REMOVE_LEADING_CHAR): Define.
4027 (copy_usage): Mention --remove-leading-char.
4028 (filter_symbols): If remove_leading_char, and the first character
4029 of a global symbol matches the symbol leading char of the BFD,
4030 remove the first character.
4031 (copy_object): Filter the symbols if remove_leading_char is set.
4032 (copy_main): Handle --remove-leading-char.
4033 * binutils.texi, objcopy.1: Document --remove-leading-char.
4034
4035 Sat Jan 27 15:40:13 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4036
4037 * objdump.c (fprintf): Add prototype to avoid compiler warning on
4038 SunOS.
4039
4040 Fri Jan 26 11:53:42 1996 Ian Lance Taylor <ian@cygnus.com>
4041
4042 * binutils.texi (nm): Improve documentation on symbol types.
4043 (objdump): Reference the stabs manual from the discussion of the
4044 --stabs option.
4045
4046 Thu Jan 25 11:21:46 1996 Raymond Jou <rjou@mexican.cygnus.com>
4047
4048 * mpw-make.sed: Add a "stamps" target.
4049
4050 Thu Jan 25 13:51:44 1996 Ian Lance Taylor <ian@cygnus.com>
4051
4052 * objdump.c (dump_headers, dump_section_header): Change objdump -h
4053 output to be simpler and to include section file offsets.
4054
4055 Wed Jan 24 12:06:05 1996 Ian Lance Taylor <ian@cygnus.com>
4056
4057 * stabs.c (parse_stab_members): Don't adjust voffset.
4058
4059 * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
4060 (struct ieee_write_type): Add name field.
4061 (struct ieee_type_class): Remove name field. Change all uses to
4062 use new name field in type instead.
4063 (struct ieee_name_type): Likewise.
4064 (ieee_start_struct_type): Initialize name field of type.
4065 (ieee_start_class_type): Don't initialize classdef entry of tag.
4066 (ieee_class_method_var): Don't adjust voffset.
4067 (ieee_end_class_type): Likewise.
4068 (ieee_tag_type): Initialize new name field of type.
4069 (ieee_typdef): Set name after copying in type information.
4070
4071 * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1.
4072
4073 * ieee.c (struct ieee_modified_type): Define.
4074 (struct ieee_handle): Add modified and modified_alloc fields.
4075 (ieee_get_modified_info): New static function.
4076 (ieee_pointer_type): Cache type index.
4077 (ieee_const_type): Likewise.
4078 (ieee_volatile_type): Likewise.
4079
4080 * ieee.c (ieee_define_named_type): When creating a tag for an
4081 anonymous struct, copy the name into memory.
4082 (ieee_tag_type): Likewise.
4083 * debug.c (debug_write_type): Only check and set id field for an
4084 unnamed object.
4085 (debug_write_class_type): Likewise.
4086
4087 * ieee.c: Various changes to write out types for functions and
4088 references, and to not write out unnecessary function types.
4089
4090 * ieee.c (struct ieee_var): Remove variable field. Add kind
4091 field, and define some enum constants for it.
4092 (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
4093 (parse_ieee_atn): Make an indirect slot for an external variable,
4094 although we otherwise don't record it. Set kind field rather than
4095 variable field of pvar.
4096 (ieee_read_cxx_class): Try to get the type of a static member.
4097 (ieee_read_reference): Check kind field rather than variable
4098 field.
4099
4100 Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com>
4101
4102 * ieee.c: Various changes to handle reading C++ reference type
4103 information.
4104
4105 * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
4106 (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL.
4107 * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
4108
4109 * ieee.c: Various changes to write out definitions of C++ classes.
4110
4111 * debug.c (debug_append_filename): Remove.
4112 * debug.h (debug_append_filename): Don't declare.
4113
4114 * stabs.c (struct stab_handle): Remove last_type field. Add
4115 so_string and so_value fields.
4116 (finish_stab): Call stab_emit_pending_vars before calling
4117 debug_end_function. Don't warn about pending variables.
4118 (parse_stab): Accumulate N_SO strings until a non N_SO symbol is
4119 seen, rather than calling debug_append_filename. Call
4120 stab_emit_pending_vars before calling debug_end_function. Don't
4121 set info->last_type.
4122
4123 Tue Jan 23 09:53:54 1996 Doug Evans <dje@charmed.cygnus.com>
4124
4125 * objdump.c (disassemble_data): Handle unknown endianness.
4126 Pass fprintf to INIT_DISASSEMBLE_INFO.
4127
4128 Mon Jan 22 16:46:43 1996 Doug Evans <dje@charmed.cygnus.com>
4129
4130 Add new option --show-raw-insn.
4131 * objdump.c (show_raw_insn): New global.
4132 (usage): Update.
4133 (long_options): Update.
4134 (disassemble_data): Set disasm_info.flags if --show-raw-insn.
4135
4136 * objdump.c (disassemble_data): Set new arch,mach,endian fields in
4137 disasm_info.
4138
4139 Mon Jan 22 19:29:36 1996 Ian Lance Taylor <ian@cygnus.com>
4140
4141 * ieee.c: Extensive changes to pass a single info argument around
4142 in the reading routines, rather than several arguments. Add code
4143 to read C++ debugging records.
4144
4145 * debug.h (debug_get_type_size): Declare.
4146 (debug_get_field_name): Declare.
4147 (debug_get_field_bitpos): Declare.
4148 (debug_get_field_bitsize): Declare.
4149 (debug_get_field_visibility): Declare.
4150 (debug_get_field_physname): Declare.
4151 * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED.
4152 (debug_get_type_size): New function.
4153 (debug_get_field_name): New function.
4154 (debug_get_field_bitpos): New function.
4155 (debug_get_field_bitsize): New function.
4156 (debug_get_field_visibility): New function.
4157 (debug_get_field_physname): New function.
4158 (debug_write_type): Make sure we pass the real kind, not INDIRECT,
4159 to tag_type. Pass the name recursively for INDIRECT.
4160
4161 Fri Jan 19 12:31:57 1996 Ian Lance Taylor <ian@cygnus.com>
4162
4163 * debug.h (struct debug_write_fns): Remove ellipsis_type. Add int
4164 and boolean parameters to function_type. Add boolean parameter to
4165 method_type.
4166 (debug_make_ellipsis_type): Don't declare.
4167 (debug_make_function_type): Add debug_type * and boolean
4168 parameters. Change all callers.
4169 (debug_make_method_type): Add boolean parameter. Change all
4170 callers.
4171 (debug_get_parameter_types): Add boolean * parameter. Change all
4172 callers.
4173 (debug_get_target_type): Declare.
4174 * debug.c (struct debug_function_type): Add fields arg_types and
4175 varargs.
4176 (struct debug_method_type): Add field varargs.
4177 (debug_ellipsis_type, ELLIPSIS_P): Remove.
4178 (debug_make_ellipsis_type): Remove.
4179 (debug_make_function_type): Add arg_types and varargs parameters.
4180 (debug_make_method_type): Add varargs parameter.
4181 (debug_get_parameter_types): Add pvarargs parameter.
4182 (debug_get_target_type): New function.
4183 (debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
4184 types and pass count to function_type. In DEBUG_KIND_METHOD, use
4185 a signed int for the count, don't call ellipsis_type, and pass
4186 varargs to method_type.
4187 * stabs.c (struct stab_demangle_info): Add varargs field.
4188 (stab_demangle_argtypes): Add pvarargs parameter. Change all
4189 callers.
4190 (stab_demangle_args): Likewise.
4191 (stab_demangle_type): In case 'F', pick up argument types.
4192 * prdbg.c (pr_ellipsis_type): Remove.
4193 (pr_function_type): Add argcount and varargs parameters.
4194 (pr_method_type): Add varargs parameter.
4195 * ieee.c (ieee_ellipsis_type): Remove.
4196 (ieee_function_type): Add argcount and varargs parameters.
4197 (ieee_method_type): Add varargs parameter. Remove most of
4198 function body, and just call ieee_function_type.
4199
4200 * stabs.c: Include "demangle.h". Added several new static
4201 functions not listed below to demangle argument types; they are
4202 all called via stab_demangle_argtypes.
4203 (finish_stab): If the kind of an undefined tag is
4204 DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there
4205 are any pending variable.
4206 (parse_stab): Don't close the function when the block depth goes
4207 to zero. Pass value to debug_end_function.
4208 (parse_stab_string): In case 'T', pass the name to
4209 parse_stab_type.
4210 (parse_stab_type): In case 'x', use stab_find_tagged_type. In
4211 case '#', handle functions with variable numbers of arguments.
4212 (parse_stab_struct_type): Add tagname parameter. Change all
4213 callers.
4214 (parse_stab_members): Add tagname and typenums parameters. Change
4215 all callers. If the type of a method is a stub, call
4216 parse_stab_argtypes to demangle the argument types and get the
4217 physical name of the function.
4218 (parse_stab_argtypes): New static function.
4219 (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
4220 variable, call debug_record_variable immediately.
4221 (stab_find_tagged_type): New static function.
4222
4223 * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
4224 (struct debug_write_fns): Add field ellipsis_type. Add id
4225 parameter to start_struct_type, start_class_type, and tag_type.
4226 (debug_make_ellipsis_type): Declare.
4227 (debug_find_named_type): Declare.
4228 (debug_get_type_kind): Declare.
4229 (debug_get_return_type): Declare.
4230 (debug_get_parameter_types): Declare.
4231 (debug_get_fields): Declare.
4232 (debug_get_field_type): Declare.
4233 * debug.c (struct debug_handle): Add fields class_id and base_id.
4234 (struct debug_class_type): Add field id.
4235 (struct debug_method_variant): Rename argtypes to physname.
4236 Change all uses.
4237 (debug_ellipsis_type): New static variable.
4238 (ELLIPSIS_P): New macro.
4239 (debug_make_ellipsis_type): New function.
4240 (debug_make_method_variant): Rename argtypes to physname.
4241 (debug_make_static_method_variant): Likewise.
4242 (debug_name_type): Always put types in the global namespace.
4243 (debug_find_named_type): New function.
4244 (debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
4245 rather than DEBUG_KIND_VOID.
4246 (debug_get_real_type): New static function.
4247 (debug_get_type_kind): New function.
4248 (debug_get_return_type): New function.
4249 (debug_get_parameter_types): New function.
4250 (debug_get_fields): New function.
4251 (debug_get_field_type): New function.
4252 (debug_write): Initialize base_id.
4253 (debug_write_type): Pass new id argument to tag_type. Handle
4254 DEBUG_KIND_ILLEGAL. Use id for DEBUG_KIND_STRUCT and
4255 DEBUG_KIND_UNION. Handle ellipsis for method arguments.
4256 (debug_write_class_type): Don't dereference kclass if it is NULL.
4257 Use id.
4258 * prdbg.c (pr_fns): Add pr_ellipsis_type.
4259 (pr_ellipsis_type): New static function.
4260 (pr_pointer_type): If this is a pointer to an array, parenthesize
4261 it correctly.
4262 (pr_start_struct_type): Add id parameter.
4263 (pr_start_class_type): Likewise.
4264 (pr_tag_type): Likewise.
4265 (pr_fix_visibility): Add the visibility to the top of the stack,
4266 not the second element on the stack.
4267 (pr_struct_field): Pop the stack before calling pr_fix_visibility.
4268 (pr_class_static_member): Likewise.
4269 (pr_class_start_method): Don't push a type, just set the method
4270 name in the type on the top of the stack.
4271 (pr_class_end_method): Don't pop the stack.
4272 (pr_class_method_variant): Rename argtypes parameter to physname.
4273 Append const and volatile rather than prepending them. Add a
4274 space after the physname.
4275 (pr_class_static_method_variant): Likewise.
4276 * ieee.c (ieee_fns): Add ieee_ellipsis_type.
4277 (ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
4278 DEBUG_KIND_VOID.
4279 (write_ieee_debugging_info): Likewise.
4280 (ieee_typdef): Likewise.
4281 (ieee_ellipsis_type): New static function.
4282 (ieee_start_struct_type): Add id parameter.
4283 (ieee_start_class_type): Likewise.
4284 (ieee_tag_type): Likewise.
4285 (ieee_class_method_variant): Rename name to physname.
4286 (ieee_class_static_method_variant): Likewise.
4287
4288 * Makefile.in (DEBUG_OBJS): Remove prdbg.o.
4289 ($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o.
4290
4291 Thu Jan 18 17:35:06 1996 Kim Knuttila <krk@cygnus.com>
4292
4293 * dlltool.c (make_tail): Changed the order of the sections to avoid
4294 an alignment problem.
4295
4296 Wed Jan 17 14:23:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4297
4298 * srconv.c (wr_du): Set du.stackfrmt to 0.
4299 (wr_un, wr_sc): Emit all sections, even those with 0 size.
4300
4301 Tue Jan 16 16:15:49 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4302
4303 * srconv.c (wr_hd): Space size within segment was being
4304 stored in segment identifier field.
4305
4306 Tue Jan 16 12:07:25 1996 Stan Shebs <shebs@andros.cygnus.com>
4307
4308 * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
4309 BUILD_DLLTOOL): Put definitions for these into makefile when
4310 configuring, instead of always clearing in mpw-make.sed.
4311 * mpw-make.sed: Edit out any host_alias or target_alias settings,
4312 fix pathname to BFD internal include files, remove dependency
4313 calculation rules.
4314
4315 Thu Jan 11 17:31:38 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4316
4317 * objdump.c (dump_section_header): Add new section flags
4318 SEC_{EXCLUDE,SORT_ENTRIES}.
4319
4320 Thu Jan 11 11:45:34 1996 Ian Lance Taylor <ian@cygnus.com>
4321
4322 * objcopy.c (filter_symbols): NULL terminate the output symbols.
4323 (copy_object): Allocate space for a possible extra NULL pointer.
4324
4325 * debug.c (debug_make_undefined_tagged_type): Make sure we are
4326 given a kind of type we can handle.
4327 (debug_write_type): Handle undefined enums and structs.
4328 (debug_write_class_type): Handle undefined classes.
4329 * prdbg.c (pr_enum_type): Handle an undefined enum.
4330 * ieee.c (ieee_enum_type): Likewise.
4331
4332 Wed Jan 10 15:33:18 1996 Ian Lance Taylor <ian@cygnus.com>
4333
4334 * Makefile.in: Updated dependencies.
4335 (ALLOCA, MALLOC): Remove variables.
4336 (ADDL_LIBS): Remove $(MALLOC) from definition.
4337 * alloca.c, gmalloc.c: Remove.
4338
4339 Mon Jan 8 18:02:29 1996 Ian Lance Taylor <ian@cygnus.com>
4340
4341 * ieee.c: Add global function write_ieee_debugging_info and a
4342 bunch of static functions and structs used to write out IEEE
4343 debugging information.
4344 * budbg.h (write_ieee_debugging_info): Declare.
4345
4346 * ieee.c (struct ieee_type): Add pslot field.
4347 (enum builtin_types): Define.
4348 (ieee_builtin_type): For a pointer, return a pointer to the named
4349 type. Use enum values rather than numbers.
4350 (ieee_alloc_type): New static function.
4351 (ieee_read_type_index): Use ieee_alloc_type.
4352 (parse_ieee_bb): Likewise.
4353 (parse_ieee_ty): Likewise. Use ieee_builtin_type for array range,
4354 rather than making a new integer type. Store the new type in the
4355 slot, if there is one.
4356 (parse_ieee_atn): Treat ATN10 as defining a register variable.
4357 (ieee_regno_to_genreg): Rename from ieee_regno_to_gen. Change all
4358 callers.
4359 (ieee_genreg_to_regno): New static function.
4360
4361 * stabs.c (parse_stab_type): Add new typename parameter. Change
4362 all callers.
4363 (parse_stab_range_type): Add new typename parameter. Change all
4364 callers.
4365
4366 * debug.h (struct debug_write_fns): Add tag parameter to
4367 enum_type, start_struct_type, and start_class_type.
4368 * debug.c (debug_write_type): Pass any tag name to
4369 start_struct_type, debug_write_class_type, and enum_type. If
4370 DEBUG_KIND_TAGGED, pass the name in the recursive call.
4371 (debug_write_class_type): Accept a new tag parameter, and pass it
4372 to start_class_type.
4373 * prdbg.c (pop_type): Don't remove '+' character.
4374 (pr_enum_type): Accept and use tag parameter.
4375 (pr_start_struct_type): Likewise.
4376 (pr_start_class_type): Likewise.
4377 (pr_class_baseclass): Adjust algorithm used to find where to put
4378 the baseclass name.
4379 (pr_tag): Don't bother to insert the tag name.
4380
4381 * objcopy.c: Include budbg.h.
4382 (convert_debugging): New static variable.
4383 (OPTION_DEBUGGING): Define.
4384 (copy_options): Add "debugging".
4385 (copy_usage): Mention --debugging.
4386 (is_strip_section): Skip debugging sections if convert_debugging.
4387 (setup_section, copy_section): Likewise.
4388 (filter_symbols): Skip debugging symbols if convert_debugging.
4389 (copy_object): If convert_debugging, read and write debugging
4390 information.
4391 (write_debugging_info): New static function.
4392 (copy_main): Handle --debugging.
4393 * Makefile.in (DEBUG_OBJS): New variable.
4394 ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
4395 ($(STRIP_PROG)): Likewise.
4396 (OBJDUMP_OBJS): Remove variable.
4397 ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
4398 $(OBJDUMP_OBJS).
4399 * binutils.texi, objcopy.1: Document --debugging.
4400
4401 Thu Jan 4 16:31:21 1996 Ian Lance Taylor <ian@cygnus.com>
4402
4403 * ieee.c: New file with code to read IEEE debugging information.
4404 * budbg.h (parse_ieee): Declare.
4405 * rddbg.c (read_debugging_info): Handle IEEE flavour files.
4406 (read_ieee_debugging_info): New static function.
4407 * Makefile.in: Rebuild dependencies.
4408 (CFILES): Add ieee.c.
4409 (OBJDUMP_OBJS): Add ieee.o.
4410
4411 * bucomm.h (xrealloc): Change type of first parameter from char *
4412 to PTR.
4413
4414 Tue Jan 2 17:44:07 1996 Ian Lance Taylor <ian@cygnus.com>
4415
4416 * Makefile.in: Add targets to automatically rebuild dependencies.
4417 Remove targets which just listed dependencies of .o files.
4418 (DEP): New variable.
4419 (HFILES, GENERATED_HFILES): New variables.
4420 (CFILES, GENERATED_CFILES): New variables.
4421 (underscore.c): Don't do anything, just depend upon stamp-under.
4422 (stamp-under): New target; do what underscore.c used to do.
4423 (nlmconv.o): Depend upon sym.h and ecoff.h.
4424 (.dep, .dep1, dep.sed, dep, dep-in): New targets.
4425 (stage1, stage2, stage3, against, comparison): Remove.
4426 (de-stage1, de-stage2, de-stage3): Remove.
4427 (clean, distclean): Remove stamp-under and dep.sed.
4428 * dep-in.sed: New file.
4429
4430 Implement generic debugging support. Implement a stabs reader and
4431 a generic printer.
4432 * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
4433 * objdump.c: Include "debug.h" and "budbg.h".
4434 (dump_debugging): New global variable.
4435 (usage): Mention --debugging.
4436 (long_options): Add "debugging".
4437 (display_bfd): Handle --debugging.
4438 * Makefile.in (OBJDUMP_OBJS): New variable.
4439 ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
4440 * binutils.texi, objdump.1: Document --debugging.
4441
4442 Sat Dec 30 09:59:51 1995 Jeffrey A Law (law@cygnus.com)
4443
4444 * nm.c ( long_options): Add "--defined-only" option.
4445 (usage): Update for new "--defined-only" option.
4446 (filter_symbols): Handle "--defined-only".
4447
4448 Fri Dec 29 16:04:56 1995 Ian Lance Taylor <ian@cygnus.com>
4449
4450 * arparse.y: Include "bucomm.h", not <sysdep.h>.
4451 * nlmheader.y: Don't include "sysdep.h".
4452
4453 Tue Dec 26 18:23:18 1995 Ian Lance Taylor <ian@cygnus.com>
4454
4455 * nm.c (print_symdef_entry): Check return value of
4456 bfd_get_elt_at_index.
4457
4458 Sat Dec 23 11:03:16 1995 Michael Meissner <meissner@tiktok.cgynsu.com>
4459
4460 * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target
4461 is powerpc*-*-win* in addition to powerpc*-*-*pe*.
4462
4463 Fri Dec 15 16:30:57 1995 Ian Lance Taylor <ian@cygnus.com>
4464
4465 * objdump.c (endian_string): New static function.
4466 (display_target_list): Use it.
4467 * nlmconv.c (main): Use new bfd_big_endian macro.
4468
4469 Fri Dec 15 07:51:34 1995 steve chamberlain <sac@slash.cygnus.com>
4470
4471 * dlltool.c (fill_ordinals): Start from 1 if no other instructions
4472 given.
4473
4474 Tue Dec 12 12:05:21 1995 Ian Lance Taylor <ian@cygnus.com>
4475
4476 * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald
4477 F. Guilmette <rfg@monkeys.com>.
4478
4479 Mon Dec 11 14:33:05 1995 Stan Shebs <shebs@andros.cygnus.com>
4480
4481 * mac-binutils.r: Fix copyright and version strings.
4482
4483 * Makefile.in (version): Remove, no longer used.
4484
4485 Fri Dec 1 14:41:56 1995 Stan Shebs <shebs@andros.cygnus.com>
4486
4487 * mpw-make.sed (install, install-only): Edit in Mac-specific
4488 install procedure.
4489
4490 Thu Nov 30 20:26:02 1995 Kim Knuttila <krk@cygnus.com>
4491
4492 * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
4493 including the return instruction.
4494 sinfo: added a preferred alignment field.
4495 (secdata): section data for the PowerPC version.
4496 (make_one_lib_file): More symbols, More sections (pdata, rdata)
4497 (make_tail): Use idata$6 instead of idata$7 for ppc. Also added a
4498 NULL idata$3 descriptor (temporary).
4499
4500 Tue Nov 28 17:23:44 1995 Doug Evans <dje@canuck.cygnus.com>
4501
4502 * dlltool.c (fill_ordinals): Don't reference d_export_vec if
4503 there are no exported functions.
4504
4505 Mon Nov 27 13:05:59 1995 Ian Lance Taylor <ian@cygnus.com>
4506
4507 * configure: Regenerate with autoconf 2.7.
4508
4509 Wed Nov 22 13:17:15 1995 Ian Lance Taylor <ian@cygnus.com>
4510
4511 * dlltool.c (fill_ordinals): Start assigning ordinals at 1.
4512
4513 * Makefile.in (EXPECT): Use $$r, not $${rootme}.
4514 (check): Set r, not rootme.
4515
4516 Tue Nov 21 18:04:09 1995 Ian Lance Taylor <ian@cygnus.com>
4517
4518 * configure.in: Use BFD_NEED_DECLARATION.
4519 * acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
4520 * configure, config.in: Rebuild with autoconf 2.6.
4521
4522 Fri Nov 17 10:34:37 1995 Ian Lance Taylor <ian@cygnus.com>
4523
4524 * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
4525 $(host_canonical) and $(target_canonical).
4526
4527 Thu Nov 16 03:39:20 1995 Ken Raeburn <raeburn@cygnus.com>
4528
4529 Version 2.6 released.
4530 * Makefile.in (VERSION): Update to 2.6.
4531
4532 Wed Nov 15 12:14:17 1995 Ian Lance Taylor <ian@cygnus.com>
4533
4534 * Makefile.in (CC_FOR_TARGET): Define.
4535 (check): Pass CC and CFLAGS to runtest.
4536
4537 * nm.c (display_rel_file): Don't require a DYNAMIC object when
4538 dumping the dynamic symbol table.
4539
4540 * objdump.c (compare_symbols): Sort global symbols before local
4541 symbols before debugging symbols.
4542 (objdump_print_address): Don't futz around looking for a global
4543 symbol with the same value.
4544
4545 Tue Nov 14 17:19:11 1995 Ian Lance Taylor <ian@cygnus.com>
4546
4547 * dlltool.c: Use FOPEN_* macros rather than "r" or "w".
4548
4549 * dlltool.c (fill_ordinals): Correct memset call.
4550
4551 Sun Nov 12 12:56:05 1995 Stan Shebs <shebs@andros.cygnus.com>
4552
4553 * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
4554 with the man page.
4555
4556 Fri Nov 10 11:41:22 1995 Ian Lance Taylor <ian@cygnus.com>
4557
4558 * objcopy.c (setup_section): Copy the section lma independently of
4559 the vma.
4560
4561 Wed Nov 8 11:33:00 1995 Ian Lance Taylor <ian@cygnus.com>
4562
4563 * arsup.c (ar_open): Cast malloc return value.
4564
4565 Tue Nov 7 09:01:26 1995 Kim Knuttila <krk@cygnus.com>
4566
4567 * configure.in, configure (DLLTOOL_DEFS): Added ppc target.
4568 * dlltool.c (MPPC): Added basic PPC definitions.
4569
4570 Tue Nov 7 14:02:57 1995 Ian Lance Taylor <ian@cygnus.com>
4571
4572 * configure.in: Don't treat rs6000-*-lynx* specially.
4573 * configure: Rebuild.
4574 * config/rslynx: Remove.
4575 * Makefile.in: Remove @target_makefile_fragment@.
4576
4577 Mon Nov 6 15:00:50 1995 Ian Lance Taylor <ian@cygnus.com>
4578
4579 * bucomm.h: Include <sys/types.h>.
4580 * ar.c: Don't include <sys/types.h> or <stdio.h>.
4581 * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
4582
4583 Fri Nov 3 12:38:09 1995 Ian Lance Taylor <ian@cygnus.com>
4584
4585 * objdump.c: Include <sys/types.h>.
4586
4587 Permit user to override DEMANGLER_PROG from command line. From
4588 Manfred Hollstein <manfred@lts.sel.alcatel.de>.
4589 * Makefile.in ($(DEMANGLER_PROG)): Depend upon
4590 $(DEMANGLER_PROG).1.
4591 (install): Don't depend upon $(DEMANGLER_PROG).1. Only install
4592 $(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
4593
4594 Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
4595
4596 * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
4597 separate directory.
4598
4599 Mon Oct 30 14:24:18 1995 Ian Lance Taylor <ian@cygnus.com>
4600
4601 * objdump.c (objdump_print_value): New static function.
4602 (objdump_print_address): Use it. If we need the right section for
4603 the symbol, and we can't find it, print an offset from the section
4604 rather than using a symbol from some other section.
4605
4606 Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com>
4607
4608 * dlltool.c (no_idata4, no_idata5): New.
4609 (arm_jtab): Use correct encoding of jump instruction.
4610 (usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
4611
4612 Wed Oct 25 12:10:07 1995 Stan Shebs <shebs@andros.cygnus.com>
4613
4614 * mpw-make.sed: Edit paths to generated y.tab.[ch] files.
4615
4616 Fri Oct 20 18:40:34 1995 Ian Lance Taylor <ian@cygnus.com>
4617
4618 * binutils.texi: Change --with-targets to --enable-targets.
4619
4620 Thu Oct 19 17:47:41 1995 Fred Fish <fnf@cygnus.com>
4621
4622 * Makefile.in: Remove extraneous tab on otherwise empty line,
4623 which confuses many non-GNU versions of "make".
4624
4625 Wed Oct 18 16:31:58 1995 steve chamberlain <sac@slash.cygnus.com>
4626
4627 * dlltool.c (i386_jtab, arm_jtab): New
4628 (gen_lib_file): Rewritten to use bfd.
4629
4630 Fri Oct 13 16:10:07 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4631
4632 * Makefile.in (install): Don't give error message if dlltool
4633 wasn't built.
4634
4635 Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com>
4636
4637 * deflex.l: Allow quoting of IDs.
4638 * defparse.y (%union): string deleted.
4639 (command): DESCRIPTION takes ID.
4640 * dlltool.c (gen_def_file): Quote outgoing name if
4641 necessary. Preserve NONAME.
4642 (gen_lib_file): Run ranlib.
4643 (workout_prefix): Deleted.
4644 (main, usage, long_options): Add --as, --ranlib, --ar options.
4645
4646 Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>
4647
4648 * dlltool.c (mtable): HOW_ALIGN_LONG, new.
4649 (d_ord): Deleted.
4650 (d_low_ord, d_high_ord, d_named_funcs): New.
4651 (gen_exp_file): Create noname entries correctly.
4652 (gen_lib_file): Dump exports alphabetically.
4653 (process_duplicates): Count nonamed functions.
4654 (fill_ordinals): Keep track of highest ord too.
4655 (mangle_defs): Create alphabetically ordered list of names.
4656
4657 Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com>
4658
4659 * Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
4660
4661 Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>
4662
4663 * dlltool.c (add_underscore): New.
4664 (xlate): Use new name.
4665 (main, usage): Update.
4666
4667 Fri Oct 6 14:08:51 1995 Ken Raeburn <raeburn@cygnus.com>
4668
4669 * sysinfo.y: Eliminate unused terminals "[" and "]" and unused
4670 nonterminal "name". One s/r conflict remains.
4671
4672 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4673
4674 * nm.c (print_symname): Don't try to demangle an empty
4675 name.
4676 * objdump.c (slurp_symtab): Reset symcount if there are
4677 no symbols.
4678 (slurp_dynamic_symtab): Likewise, for dynsymcount.
4679 (disassemble_data): Fix memory leak: free sorted_syms when done.
4680 (display_bfd): Likewise, for syms and dynsyms.
4681 (dump_relocs): Don't print header before possibly generating an
4682 error message.
4683 (dump_dynamic_relocs): Likewise.
4684
4685 * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and
4686 formatting bugs.
4687
4688 Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian@cygnus.com>
4689
4690 * ar.c (do_quick_append): Comment out.
4691 (replace_members): Add quick argument.
4692 (main): Don't call do_quick_append.
4693 (open_inarch): Don't call quick_append to create an empty archive.
4694 Instead call bfd_openw/bfd_set_format/bfd_close.
4695
4696 Thu Oct 5 20:53:08 1995 Ken Raeburn <raeburn@cygnus.com>
4697
4698 * bucomm.c: Always include time.h.
4699
4700 Thu Oct 5 17:25:21 1995 Ian Lance Taylor <ian@cygnus.com>
4701
4702 * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
4703 symbols after other symbols with the same value. Likewise for
4704 symbols which look like file names.
4705 (objdump_print_address): Always chose the first reasonable symbol
4706 with a given value.
4707
4708 Tue Oct 3 22:38:55 1995 Ian Lance Taylor <ian@cygnus.com>
4709
4710 * arsup.c (ar_save): Use rename, not unlink/link/unlink.
4711
4712 Mon Oct 2 12:10:25 1995 Ian Lance Taylor <ian@cygnus.com>
4713
4714 * strings.c (main): Exit with zero status if no files are given
4715 and standard input is read.
4716
4717 Thu Sep 28 20:03:07 1995 Stan Shebs <shebs@andros.cygnus.com>
4718
4719 * mpw-config.in: Calculate underscore and put into makefile
4720 fragment, generate config.h.
4721 * mpw-make.sed: New file, sed commands to edit Unix makefile
4722 into MPW syntax.
4723 * mpw-make.in: Remove.
4724 * mac-binutils.r: New file, Mac resources.
4725
4726 Thu Sep 28 15:49:00 1995 steve chamberlain <sac@slash.cygnus.com>
4727
4728 * dlltool.c: (gen_exp_file): Always emit a .reloc section if
4729 relocatable.
4730 (imp_name_lab): New.
4731 (gen_def_file): New.
4732 (gen_lib_file): Use imp_name_lab.
4733 (main): Initialize imp_name_lab.
4734
4735 Mon Sep 25 12:05:34 1995 Ian Lance Taylor <ian@cygnus.com>
4736
4737 * configure.in: Call AC_HEADER_SYS_WAIT.
4738 * configure: Rebuild.
4739 * config.in: Rebuild.
4740 * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include
4741 <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>.
4742 Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to
4743 include <sys/wait.h> or define the wait macros by hand. Don't
4744 declare xmalloc.
4745 (gen_lib_file): Don't assume that sprintf returns the number of
4746 characters; use strlen instead.
4747
4748 Fri Sep 22 17:16:41 1995 Ian Lance Taylor <ian@cygnus.com>
4749
4750 * objdump.c (disassemble_data): Don't use the old BFD based
4751 disassembler interface. Make info a const pointer.
4752
4753 Wed Sep 13 18:33:44 1995 Ian Lance Taylor <ian@cygnus.com>
4754
4755 * objdump.c (start_address): New variable.
4756 (stop_address): New variable.
4757 (usage): Mention --start-address and --stop-address.
4758 (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
4759 (long_options): Add "start-address" and "stop-address".
4760 (disassemble_data): Handle start_address and stop_address.
4761 (dump_data, dump_reloc_set): Likewise.
4762 (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS
4763 and OPTION_STOP_ADDRESS.
4764 * objcopy.c (parse_vma): Move to bucomm.c.
4765 * bucomm.c (parse_vma): New function, moved in from objcopy.c.
4766 * bucomm.h (parse_vma): Declare.
4767 * binutils.texi, objdump.1: Document new objdump options.
4768
4769 Tue Sep 12 12:37:39 1995 Ian Lance Taylor <ian@cygnus.com>
4770
4771 * Makefile.in (maintainer-clean): New target.
4772
4773 * ar.c (replace_members): Don't call write_archive if nothing
4774 changed.
4775
4776 * objdump.c (disassemble_data): Add casts to avoid gcc warnings.
4777
4778 Thu Sep 7 12:12:17 1995 Ian Lance Taylor <ian@cygnus.com>
4779
4780 * config.in: Rename from config.h.in.
4781 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
4782 Check for config.h:config.in when creating stamp-h.
4783 * configure: Rebuild.
4784 * Makefile.in (stamp-h): Depend upon config.in rather than
4785 config.h.in. Set CONFIG_HEADERS to config.h:config.in when
4786 calling config.status.
4787
4788 * Makefile.in (distclean): Remove config.h, stamp-h, and
4789 config.log.
4790
4791 * nm.c (value_format): Initialize based on BFD64 and
4792 BFD_HOST_64BIT_LONG.
4793 (print_radix): New static variable.
4794 (set_print_radix): Set print_radix. Adjust changes to
4795 value_format.
4796 (print_value): New static function, to print 64 bit octal and
4797 decimal values correctly.
4798 (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use
4799 print_value.
4800 (print_symbol_info_sysv): Use print_value.
4801 (print_symbol_info_posix): Likewise.
4802
4803 Wed Sep 6 15:02:55 1995 Ian Lance Taylor <ian@cygnus.com>
4804
4805 * Makefile.in (*.o): Remove incorrect dependencies on
4806 $(BFDDIR)/hosts/std-host.h.
4807
4808 * Makefile.in (INSTALL_DATA): Add -m 644.
4809 (INSTALL_XFORM1): Likewise.
4810 (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC).
4811 (mostlyclean): Remove config.log.
4812 (distclean): Remove config.cache.
4813
4814 * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN.
4815 * configure: Rebuild.
4816
4817 Tue Sep 5 20:22:42 1995 Ian Lance Taylor <ian@cygnus.com>
4818
4819 * configure.in: Rewrite to use autoconf.
4820 * aclocal.m4: New file.
4821 * configure: New file, built by autoconf.
4822 * acconfig.h: New file.
4823 * config.h.in: New file, built by autoheader.
4824 * Makefile.in: Various changes for new configure script. Also:
4825 (PROGS): Remove $(SYSINFO_PROG).
4826 (ALL_CFLAGS): Remove $(TDEFINES).
4827 (version.o): Use $(ALL_CFLAGS).
4828 (cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
4829 (sysdump.o): Depend upon bucomm.h and config.h.
4830 (srconv.o, arsup.o, strings.o): Depend upon config.h.
4831 (filemode.o): Don't depend upon ../bfd/sysdep.h.
4832 (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
4833 (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
4834 (nlmheader.o, nlmconv.o): Likewise.
4835 (distclean): Don't remove sysdep.h.
4836 * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
4837 Include "fopen-same.h" or "fopen-bin.h", based on
4838 USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is
4839 not a macro. Include <unistd.h>, <string.h>, <strings.h>,
4840 <stdlib.h>, and <fcntl.h> if they are present. Declare strchr,
4841 strrchr, and strstr if no string header file exists. Include
4842 <sys/file.h> if it exists and <fcntl.h> does not. Define
4843 O_RDONLY and O_RDWR if necessary.
4844 * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and
4845 <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use
4846 HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and
4847 don't declare errno.
4848 * arsup.c: Don't include <sysdep.h>.
4849 * bucomm.c: Don't include "sysdep.h". Include <stdio.h>,
4850 <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines
4851 time_t. Define time_t if necessary.
4852 * coffdump.c: Don't include "sysdep.h".
4853 * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
4854 * srconv.c, strings.c: Likewise.
4855 * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK.
4856 * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and
4857 <sys/stat.h>.
4858 (simple_copy): Use creat rather than assuming that O_CREAT is
4859 defined.
4860 * objdump.c: Don't include "sysdep.h". Use
4861 NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
4862 * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include
4863 "sysdep.h" or <stdlib.h>.
4864 (dump_symbol_info): Rename from symbol_info. Change all callers.
4865
4866 Mon Sep 4 14:30:00 1995 Ian Lance Taylor <ian@cygnus.com>
4867
4868 * configure.in (host_makefile_frag): Don't set. Substitute for
4869 @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile.
4870 * Makefile.in (AR_FLAGS): Set to rc rather than qv.
4871 (CC): Define as @CC@.
4872 (CFLAGS): Set to @CFLAGS@.
4873 (LDFLAGS): Define as @LDFLAGS@.
4874 (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
4875
4876 * configure.in: Don't bother to call config.bfd for each target.
4877 Just call it for the default target, and use the shell variable to
4878 decide whether underscores are used.
4879
4880 Thu Aug 31 19:21:48 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4881
4882 * configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
4883
4884 Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com>
4885
4886 * dlltool.c (add_indirect): New.
4887 (asm_prefix): New
4888 (gen_exp_file): Timestamp should be 0. Insert prefix when
4889 needed. New code for indirection.
4890 (gen_lib_file): Timestamp should be 0. Insert prefix
4891 when needed.
4892 (usage): Document --add-indirect.
4893 (main): Cope with new option.
4894
4895 * objdump.c (dump_private_headers): New.
4896 (usage): Document new option.
4897 (long_option): Add private-headers.
4898 (dump_bfd_private_header): New.
4899 (main): Cope with new option.
4900
4901 Thu Aug 31 04:09:16 1995 Doug Evans <dje@canuck.cygnus.com>
4902
4903 * dlltool.c (run): Add missing 3rd arg to waitpid.
4904
4905 Wed Aug 30 11:02:11 1995 steve chamberlain <sac@slash.cygnus.com>
4906
4907 * Makefile.in (TOOL_PROGS): Include dlltool if needed.
4908
4909 Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com>
4910
4911 * dlltool.c (rva): Deleted.
4912 (rvaafter, rva_before): Use new assembler pseudo.
4913 (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing.
4914 (gen_exp_file): Don't generate .edata if no need.
4915 (gen_lib_file): Don't make timestamp.
4916 Put _iname in idata$7.
4917 (workout_prefix): Fix memory initialization bug.
4918 (usage): Tidy up, delete many single char options.
4919 (main): rva option is gone.
4920
4921 Mon Aug 21 18:41:28 1995 steve chamberlain <sac@slash.cygnus.com>
4922
4923 * dlltool.c (options): image-base is a synonym for rva.
4924 (gen_lib_file): Put dll name into ibase$7.
4925
4926 Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com>
4927
4928 Modified to generate archives and objects rather than .s files.
4929 * dlltool.c (run) New function.
4930 (gen_exp_file, gen_lib_file): Use run.
4931 (workout_prefix): New.
4932 (usage): Document new options.
4933 (main): Parse new options.
4934
4935 Wed Aug 16 16:26:52 1995 steve chamberlain <sac@slash.cygnus.com>
4936
4937 * dlltool.c (gen_exp_file): Fix RVA handling.
4938 (rva_s, rva_n): Delete.
4939
4940 Fri Aug 11 18:27:18 1995 Ian Lance Taylor <ian@cygnus.com>
4941
4942 * nm.c (main): Ignore -e.
4943
4944 Thu Aug 10 17:35:00 1995 Ken Raeburn <raeburn@cygnus.com>
4945
4946 * Makefile.in (config.texi): New target. Write out a setting for
4947 texinfo variable VERSION.
4948 (binutils.dvi, binutils.info): Depend on it.
4949 * binutils.texi: Include it, and reference @value{VERSION} instead
4950 of explicitly specifying 2.2(!).
4951
4952 Thu Aug 10 16:07:53 1995 Ian Lance Taylor <ian@cygnus.com>
4953
4954 * coffgrok.c (do_type): Handle array dimensions the same way gdb
4955 does.
4956
4957 Tue Aug 8 17:10:42 1995 steve chamberlain <sac@slash.cygnus.com>
4958
4959 * dlltool.c (mtable): New fields.
4960 (ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
4961 (flush_page): Use new macros.
4962
4963 Sat Aug 5 00:16:37 1995 Jeff Law (law@snake.cs.utah.edu)
4964
4965 * objcopy.c (mark_symbols_used_in_relocations): Handle sections
4966 with no relocations.
4967 * coffgrok.c (do_sections_p1): Likewise.
4968
4969 Mon Jul 31 12:51:06 1995 Ian Lance Taylor <ian@cygnus.com>
4970
4971 * strings.c (print_strings): For compatibility with existing
4972 strings programs, print strings which are not terminated with a
4973 null byte or a newline.
4974 * binutils.texi, strings.1: Update documentation accordingly.
4975
4976 * ar.c (replace_members): For compatibility with existing ar
4977 programs, permit users to add the same file multiple times.
4978
4979 Tue Jul 25 11:21:53 1995 Ian Lance Taylor <ian@cygnus.com>
4980
4981 * strings.c (DATA_FLAGS): Remove SEC_DATA.
4982 (main): If no file names are given, scan standard input.
4983 * binutils.texi, strings.1: strings now scans non-data sections by
4984 default.
4985
4986 Mon Jul 24 13:52:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4987
4988 * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
4989 (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes
4990 for the sh.
4991
4992 * sysdump.c (fillup): Return size - 1, the last byte is a checksum
4993 and shouldn't be counted.
4994 * sysroff.info (hd): Changed segment identifier from a byte to a 1
4995 bit field. The sysroff 2.0-01 specification seems to be in error
4996 here. Reduce width of following "spare" field from 4 to 3 bits.
4997 (rl): Changed order and width of first 4 bitfields to correspond
4998 to sysroff specification.
4999 (dln_head, dln_inside, dln_tail): Removed.
5000
5001 Tue Jul 18 23:00:03 1995 Fred Fish <fnf@cygnus.com>
5002
5003 * nm.c (sort_symbols_by_size): Enclose expression being casted
5004 in parens so result is casted, not just first operand. Can't
5005 do pointer arithmetic on void* pointers.
5006
5007 Fri Jul 14 13:42:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5008
5009 * sysdump.c (dh): Changed format of output to be 16 hex digits
5010 followed by 16 ascii characters, similar to Emacs' hexl-mode,
5011 to make it easier to read.
5012 (xcalloc): fix typo.
5013
5014 Thu Jul 13 15:27:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5015
5016 * srconv.c (wr_tr): Write out handcrafted tr block.
5017 (walk_tree_symbol): Use evallen and evalue instead of
5018 vallen & value because of corresponding changes in
5019 sysroff.info.
5020
5021 * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New
5022 functions.
5023
5024 * sysroff.info (tr): the tr block is a special case --- a block
5025 without contents --- which can't be handled by generated code.
5026 (den, dpp): only first byte is present for DENend, DPPend.
5027 (dsy): describe a conditional portion of block, rename some fields.
5028 (dps): describe a conditional portion of block.
5029 (dfl): removed.
5030
5031 * sysinfo.y (yyerror): write error message to standard error.
5032
5033 Thu Jul 13 10:43:59 1995 Ian Lance Taylor <ian@cygnus.com>
5034
5035 * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.
5036 (mostlyclean): Remove y.output.
5037 (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo.
5038
5039 * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
5040 * objcopy.c (copy_object): Likewise.
5041
5042 * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT.
5043 (struct size_sym): Define.
5044 (show_stats): New static variable.
5045 (long_options): Add undocumented option "stats".
5046 (main): Print memory stats if requested.
5047 (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables.
5048 (numeric_forward): Use minisymbols rather than asymbols.
5049 (non_numeric_forward): Likewise.
5050 (size_forward1): Rename from size_forward. Use minisymbols.
5051 (size_forward2): New static function.
5052 (sort_symbols_by_size): Take new arguments dynamic, size, and
5053 symsizep. Use minisymbols. Don't store the size back in the
5054 symbol; store in a newly allocate struct size_sym array.
5055 (display_rel_file): Read minisymbols rather than asymbols. Set
5056 sort_* variables. Call print_size_symbols if sorting by size.
5057 (filter_symbols): Take new arguments dynamic and size. Use
5058 minisymbols.
5059 (print_symbols): Likewise. Call print_symbol for actual printing.
5060 (print_size_symbols): New static function.
5061 (print_symbol): New static function.
5062
5063 Wed Jul 12 10:43:05 1995 Ian Lance Taylor <ian@cygnus.com>
5064
5065 * objdump.c (dump_section_stabs): Only print each stabs section
5066 once.
5067 (compare_relocs): Make it clear to gcc that this always returns a
5068 value.
5069
5070 Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com>
5071
5072 * objcopy.c (simple_copy): Preserve errno on failure.
5073 (smart_rename): Print error mesage if simple_copy fails.
5074
5075 Tue Jul 11 13:10:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5076
5077 * sysdump.c: re-indented file.
5078 (module): read blocks sequentially instead of trying to parse
5079 them, as that would require changing the parser recognize the
5080 difference between a DPSstart and DPSend block.
5081 (getone): Add break's between switch blocks as appropriate.
5082 (object_body_list): parse blocks according to sysroff spec.
5083
5084 Mon Jul 10 12:37:25 1995 J.T. Conklin <jtc@poseidon.cygnus.com>
5085
5086 * sysroff.info: re-indented file, prior formatting was confusing
5087 because it was indentation did not reflect nesting of conditional
5088 records. Change "space size within segment" record in hd record
5089 from bit to byte.
5090
5091 * sysinfo.y (cond_it_field): Use xcalloc instead of calloc.
5092
5093 * srconv.c (wr_cs): Reformatted cs header array, tag each byte
5094 with a comment describing the field.
5095 (wr_unit_info): Use SEEK_SET macro instead of constant 0.
5096 (main): Use FOPEN_WB macro instead of literal "wb".
5097 * sysroff.info: Remove fdl (dfl) field from cs block. Compare
5098 ptr->type with ED_TYPE_CONST instead of constant 2 in ed block.
5099
5100 Tue Jul 4 14:48:42 1995 Ian Lance Taylor <ian@cygnus.com>
5101
5102 * nm.c (size_forward): Check yf against yn, not xn.
5103
5104 * objcopy.c (copy_archive): Record all output BFD's, and close
5105 them before unlinking them and removing the temporary directory,
5106 to avoid NFS problems.
5107
5108 * ar.c (replace_members): In verbose messages, use 'r' when
5109 replacing a member, and 'a' when adding one.
5110
5111 * ar.c (ar_truncate): New static variable.
5112 (normalize): Change return type to const char *. Add abfd
5113 argument. Change all callers. If ar_truncate, chop the filename
5114 to abfd->ar_max_namelen.
5115 (main): For the 'f' modifier, set ar_truncate to true. Don't
5116 change quick_append to replace if ar_truncate is true.
5117 (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT.
5118 (write_archive): Likewise.
5119 * binutils.texi, ar.1: Document 'f' modifier.
5120
5121 * objcopy.c (enum strip_action): Define strip_unneeded.
5122 (OPTION_STRIP_UNNEEDED): Define.
5123 (strip_options): Add "strip-unneeded".
5124 (copy_options): Likewise.
5125 (copy_usage): Mention --strip-unneeded.
5126 (strip_usage): Likewise.
5127 (is_strip_section): Strip debugging sections if strip_unneeded.
5128 (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
5129 (copy_object): If strip_all, discard symbols without checking
5130 discard_locals.
5131 (copy_object): Call filter_symbols if strip_unneeded.
5132 (setup_section): Strip debugging sections if strip_unneeded.
5133 (copy_section): Likewise.
5134 (strip_main): Handle OPTION_STRIP_UNNEEDED.
5135 (copy_main): Likewise.
5136 * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
5137
5138 Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
5139
5140 * configure.in (i386-*-win32): New configuration.
5141 * dlltool.c (killat, xlate, usage, long_options, main):
5142 Understand and cope with -k option.
5143
5144 Sat Jul 1 12:25:15 1995 Fred Fish <fnf@cygnus.com>
5145
5146 * ar.c: (extract_file): Change "#if POSIX_UTIME" to
5147 "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
5148 and avoid lossage when POSIX_UTIME is not defined at all.
5149
5150 Wed Jun 28 17:51:24 1995 Steve Chamberlain <sac@slash.cygnus.com>
5151
5152 * ar.c: (print_contents.c, extract_file, do_quick_append):
5153 Malloc buffers rather than allocate on stack (so it works
5154 on NT).
5155 * deflex.l: Names can have an @ in them.
5156 * dlltool.c: Loads of stuff. Can now generate .imp files which
5157 work with NT .dlls.
5158
5159 Thu Jun 22 19:10:50 1995 Stan Shebs <shebs@andros.cygnus.com>
5160
5161 * mpw-make.in (demangle.c.o): Remove.
5162 (arparse.h): Depend on arparse.c instead of arparse.y.
5163
5164 Wed Jun 21 17:32:45 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5165
5166 * Makefile.in (DISTSTUFF): Don't include info here.
5167 (diststuff): Include it here.
5168 (realclean): Remove *.info.
5169
5170 * objdump.c (compare_relocs): If relocation entries have the same
5171 address, keep them in file order.
5172
5173 Mon Jun 19 09:06:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
5174
5175 * dlltool.c: Change names of generated files. .*.s-> -*.s
5176
5177 * objdump.c (dump_section_stabs): Check for names
5178 which are supersets of selected names.
5179
5180 Wed Jun 14 19:43:52 1995 Doug Evans <dje@canuck.cygnus.com>
5181
5182 * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr.
5183
5184 Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com>
5185
5186 * deflex.l, defparse.y, dlltool.c: New files.
5187 * Makefile.in, configure.in: Support for them.
5188
5189 Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
5190
5191 * sysdump.c: Include sysdep.h
5192 (main): Open input with FOPEN_RB.
5193
5194 Fri Jun 9 17:26:11 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5195
5196 * objdump.c (wide_output): New flag variable.
5197 (usage): Print new -w, --wide options.
5198 (long_options): Add --wide support.
5199 (dump_section_header): If --wide, don't print a newline between
5200 the section's first line and the flags.
5201 (objdump_print_address): Use unsigned comparisons for the binary
5202 search, not signed.
5203 (disassemble_data): If --wide, don't put a \n between the
5204 disassembly output and relocation information.
5205 (main): Support -w option being the same as --wide.
5206
5207 Thu Jun 1 17:09:27 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5208
5209 Sat May 6 08:52:24 1995 H.J. Lu (hjl@nynexst.com)
5210
5211 * objcopy.c (smart_rename): make it smarter, clean up
5212 if rename () fails.
5213
5214 Tue May 30 14:24:15 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5215
5216 * Makefile.in: Delete lines with lots of #### because four or more
5217 indicate a point for makefile fragment substitution.
5218
5219 Tue May 9 17:17:05 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5220
5221 * configure.in: Don't build nlmconv on PowerPC eabi any more, it
5222 is not needed.
5223
5224 Thu Apr 27 20:21:24 1995 Doug Evans <dje@canuck.cygnus.com>
5225
5226 * Makefile.in (EXPECT): Define.
5227 (RUNTEST): Use one in source tree if present.
5228 (check): Set `rootme' for $(EXPECT).
5229
5230 Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com>
5231
5232 * srconv.c (main): Add support for -n option which disables
5233 prescan of common symbols.
5234 (wr_ob): If reading past the end of a section, fill with zeros.
5235
5236 Tue Apr 25 19:14:37 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5237
5238 * objdump.c (dump_section_header): Display load address after
5239 virtual memory (run-time) address.
5240
5241 Wed Apr 19 09:44:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5242
5243 * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the
5244 compile.
5245 (DEMANGLER_PROG): No longer uses version.o.
5246
5247 Mon Apr 10 13:29:49 1995 Stan Shebs <shebs@andros.cygnus.com>
5248
5249 Merge in support for Mac MPW as a host.
5250 (Old change descriptions retained for informational value.)
5251
5252 * mpw-config.in (TDEFINES): Define as empty in makefile frag.
5253
5254 * mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
5255
5256 * mpw-config.in: New file, MPW configure fragment for binutils.
5257 * mpw-make.in (install-only): New target.
5258 (install): Also depend on install-only.
5259
5260 * mpw-make.in (cplusfilt): Renamed from c++filt.
5261 (INCLUDES): Add more paths.
5262
5263 * mpw-make.in: New file, MPW makefile fragment for binutils.
5264 (Normally automatically generated from Makefile.in.)
5265
5266 Mon Mar 27 11:52:57 1995 Ian Lance Taylor <ian@cygnus.com>
5267
5268 * ar.c (write_archive): Call make_tempname to get output file
5269 name, rather than using a fixed name based on the input file.
5270
5271 * objcopy.c (make_tempname): Copy from here...
5272 * bucomm.c (make_tempname): ...to here, and make global.
5273 * bucomm.h (make_tempname): Declare.
5274
5275 Fri Mar 24 11:47:42 1995 Ian Lance Taylor <ian@cygnus.com>
5276
5277 * strings.c: Include "bfd.h" before other headers. Include
5278 "sysdep.h".
5279 * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
5280 and print them with %ld.
5281
5282 Fri Mar 10 13:09:42 1995 Ian Lance Taylor <ian@cygnus.com>
5283
5284 * objcopy.c (strip_options): Add --keep-symbol.
5285 (copy_options): Likewise.
5286 (copy_usage): Mention --keep-symbol and -K.
5287 (strip_usage): Likewise.
5288 (keep_symbols): New static variable.
5289 (is_strip_symbol): Adjust the return value according to
5290 keep_symbols.
5291 (strip_main): Handle -K. For -N, check that -K was not given.
5292 (copy_main): Likewise.
5293 * binutils.texi, objcopy.1, strip.1: Document -K.
5294
5295 Mon Mar 6 13:33:47 1995 Stan Shebs <shebs@andros.cygnus.com>
5296
5297 * objcopy.c (copy_archive): Check result of mkdir.
5298 (copy_main): Cast an xmalloc result.
5299
5300 * objdump.c (usage): Break long format string into shorter ones.
5301
5302 Mon Mar 6 13:46:12 1995 Ian Lance Taylor <ian@cygnus.com>
5303
5304 * bucomm.c (list_supported_targets): New function.
5305 * bucomm.h (list_supported_targets): Declare.
5306 * ar.c (usage): Call list_supported_targets.
5307 * nm.c (usage): Likewise.
5308 * objcopy.c (copy_usage, strip_usage): Likewise.
5309 * objdump.c (usage): Likewise.
5310 * size.c (usage): Likewise.
5311 * strings.c (usage): Likewise.
5312
5313 Tue Feb 28 15:13:58 1995 Ian Lance Taylor <ian@cygnus.com>
5314
5315 * bucomm.c (print_arelt_descr): Cast st_size to long before
5316 passing it to fprintf.
5317
5318 Fri Feb 17 13:36:45 1995 Ian Lance Taylor <ian@cygnus.com>
5319
5320 * objcopy.c (struct section_list): Add fields remove, set_flags,
5321 and flags. Change adjust from boolean to enum.
5322 (remove_sections): Remove static variable.
5323 (sections_removed): New static variable.
5324 (copy_options): Add --set-section-flags.
5325 (copy_usage): Mention --set-section-flags.
5326 (parse_flags): New static function.
5327 (find_section_list): New static function.
5328 (is_strip_symbol): Change return type from int to boolean.
5329 (is_strip_section): New static function.
5330 (filter_symbols): Call is_strip_section.
5331 (copy_object): When adding sections, check for specified flags or
5332 VMA. Call filter_symbols if any sections are being removed.
5333 (setup_section): Use find_section_list function rather than
5334 looking through remove_sections and adjust_sections. Handle
5335 --set-section-flags.
5336 (copy_section): Use find_section_list rather than looking through
5337 remove_sections.
5338 (strip_main): Use find_section_list instead of adding items to
5339 sections_removed.
5340 (copy_main): Use find_section_list instead of adding items to
5341 sections_removed and adjust_sections. Handle --set-section-flags.
5342 * binutils.texi, objcopy.1: Document --set-section-flags.
5343
5344 Tue Feb 14 18:03:03 1995 Ian Lance Taylor <ian@cygnus.com>
5345
5346 * objdump.c (with_source_code): New global variable.
5347 (usage): Mention -S/--source.
5348 (long_options): Add --source.
5349 (prev_functionname, prev_line): New static variables.
5350 (struct print_file_list): Define.
5351 (print_files): New static variable.
5352 (skip_to_line, show_line): New static functions.
5353 (disassemble_data): Call show_line to handle -l and -S.
5354 (main): Handle -S.
5355 * binutils.texi, objdump.1: Document -S/--source.
5356
5357 Thu Feb 9 16:11:53 1995 Ian Lance Taylor <ian@cygnus.com>
5358
5359 * objcopy.c (copy_usage): Rename parameter to avoid shadowing.
5360 (strip_usage): Likewise.
5361
5362 * objcopy.c (struct section_add): Define.
5363 (add_sections): New static variable.
5364 (copy_options): Accept --add-section.
5365 (copy_usage): Mention --add-section.
5366 (copy_object): Add sections from the add_sections list.
5367 (copy_main): Handle --add-section.
5368 * binutils.texi, objcopy.1: Document --add-section.
5369
5370 Wed Feb 1 15:04:57 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5371
5372 * objdump.c (disassemble_data): Pass section offset, not absolute
5373 address, to bfd_find_nearest_line.
5374
5375 * nlmconv.c (powerpc_mangle_relocs): Don't use const with
5376 reloc_howto_type.
5377
5378 Thu Jan 26 18:50:06 1995 Ian Lance Taylor <ian@cygnus.com>
5379
5380 * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather
5381 than VAR->value.
5382 (objdump_print_address): Likewise.
5383 (disassemble_data): Don't change the symbol values. It can
5384 confuse bfd_canonicalize_reloc.
5385
5386 Thu Jan 26 12:03:56 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5387
5388 * configure.in: Add support for powerpc-*-ebai.
5389
5390 Wed Jan 18 10:02:12 1995 Steve Chamberlain <sac@splat>
5391
5392 * coffdump.c: Include sysdep.h.
5393 (dump_coff_type): Handle coff_secdef_type.
5394 * coffgrok.c : Include sysdep.h.
5395 * srconv.c: Include libiberty.h
5396 (absolute_p, dty_start, dty_end, dump_tree_structure): Remove.
5397
5398 Wed Jan 18 12:24:14 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5399
5400 * coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
5401 printf.
5402 * coffgrok.c: Include bucomm.h. Don't declare xmalloc.
5403 (push_scope): Declare type of parameter link.
5404 * size.c: Include libiberty.h.
5405 * srconv.c: Include bucomm.h.
5406 (find_base): Declare at top of file.
5407 (wr_hd): Add default case to architecture switch.
5408 (wr_dps_start): Declare type of parameter nest.
5409 (wr_du): Comment out variables used only in commented out blocks.
5410 (wr_dus): Remove unused variable i.
5411 (wr_sc): Remove unused variables myinfo, low, and high.
5412 * strings.c: Include libiberty.h.
5413 * sysdump.c: Include <ctype.h>.
5414
5415 Tue Dec 20 19:13:44 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5416
5417 * ar.c (main): Ignore 'f' modifier used on HP/UX 9.
5418
5419 Thu Dec 15 17:34:12 1994 Stan Shebs <shebs@andros.cygnus.com>
5420
5421 * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h.
5422 * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS
5423 and END_PROGRESS.
5424 * ar.c (map_over_members, open_inarch): Call PROGRESS.
5425 * nm.c (main, display_archive, filter_symbols, print_symbols):
5426 Call PROGRESS.
5427
5428 * objcopy.c (copy_usage): Break up long usage string.
5429
5430 Wed Dec 14 15:51:56 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
5431
5432 * objcopy.c (copy_object): Don't bother setting status after
5433 nonfatal() "call", because it won't return.
5434
5435 Fri Dec 9 00:22:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5436
5437 * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
5438 the section symbol if the symbol is undefined.
5439
5440 Thu Dec 8 14:45:50 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
5441
5442 * objcopy.c (add_strip_symbol): Cast return value of xmalloc.
5443
5444 Wed Nov 30 11:05:43 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
5445
5446 * ar.c (replace_members): Pass current->filename to normalize when
5447 checking for duplicates, because the filename of a newly added
5448 file will not have been normalized yet.
5449
5450 Thu Nov 17 15:00:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5451
5452 * ar.c (main): Don't call do_quick_append if any of the archive
5453 names are longer than 14 characters.
5454
5455 * objcopy.c (main): Fix is_strip test. From
5456 pirker@eiunix.tuwien.ac.at (Martin Pirker).
5457
5458 Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>
5459
5460 * objcopy.c (add_strip_symbol): New function, adds a name to an
5461 explicit list of symbols to strip.
5462 (is_strip_symbol): New function, reports whether the name argument
5463 is in the explicit list.
5464 (filter_symbols): Check against is_strip_symbol above all.
5465 (strip_main): Recognize -N option. If used, don't default to
5466 strip_all.
5467 (copy_main): Recognize -N option.
5468 (strip_usage): Document -N and --strip-symbol options.
5469 (copy_usage): Ditto.
5470 * objcopy.1, strip.1, binutils.texi: Document -N and
5471 --strip-symbol options.
5472
5473 Tue Nov 8 13:12:54 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5474
5475 * objdump.c (display_target_list, display_info_table): Pass an
5476 array to tmparg, rather than NULL, since some systems can't handle
5477 NULL.
5478
5479 * objcopy.c (copy_archive): Keep a list of the names of the
5480 temporary files we created. Close each input BFD after we open
5481 its successor.
5482
5483 Mon Nov 7 15:48:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
5484
5485 * Makefile.in (VERSION): Bump to 2.5.3.
5486
5487 Thu Nov 3 19:04:34 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
5488
5489 * Makefile.in (install-info): Install info files from whatever
5490 directory they were found in.
5491
5492 Patch from DJ Delorie:
5493 * configure.bat: do c++filt -> cxxfilt right
5494
5495 * sysinfo.y: Include system header files early, so any potential
5496 declaration of abort() occurs before its use.
5497
5498 * strings.c (strings_file): Try opening the file in binary mode
5499 first.
5500
5501 Wed Nov 2 15:44:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5502
5503 * ar.c (main): Treat ar qs like ar rs.
5504
5505 Tue Oct 25 16:19:25 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5506
5507 * objcopy.c (gap_fill): Explicitly initialize, for clarity.
5508 (pad_to_set, pad_to): New static variables.
5509 (copy_options): Accept --pad-to.
5510 (copy_usage): Mention --pad-to.
5511 (copy_object): Support --pad-to.
5512 (compare_section_vma): Sort non loadable sections to the front.
5513 Sort sections with the same VMA by size.
5514 (copy_main): Handle --pad-to.
5515 * binutils.texi, objcopy.1: Document --pad-to.
5516
5517 Thu Oct 20 13:51:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5518
5519 * objcopy.c (gap_fill_set, gap_fill): New static variables.
5520 (copy_options): Accept --gap-fill.
5521 (copy_usage): Mention --gap-fill.
5522 (copy_object): Support --gap-fill.
5523 (get_sections, compare_section_vma): New static functions.
5524 (copy_main): Handle --gap-fill.
5525 * binutils.texi, objcopy.1: Document --gap-fill.
5526
5527 Wed Oct 19 14:09:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5528
5529 * Makefile.in (check): Add a dummy else clause to the if
5530 statement.
5531
5532 * objcopy.c (copy_object): Revert yesterday's change.
5533 * binutils.texi, objcopy.1: Remove special mention of --set-start
5534 and `binary' output format.
5535
5536 Tue Oct 18 11:12:01 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5537
5538 * objcopy.c (copy_object): If the output file format is `binary',
5539 and the start address was not set using --set-start, default the
5540 start address to zero. This hack is because the `binary' output
5541 file format uses the start address to set the virtual address of
5542 the first byte in the file.
5543 * binutils.texi, objcopy.1: Add some notes on generating S-records
5544 and binary files.
5545
5546 * nm.c (print_symdef_entry): Call print_symname to print the
5547 symbol name, so that --demangle works.
5548
5549 * Makefile.in (mostlyclean): Remove tmpdir.
5550
5551 * objcopy.c (struct section_list): Add fields used, adjust, val.
5552 (adjust_start, set_start_set, set_start): New static variables.
5553 (adjust_section_vma, adjust_sections): New static variables.
5554 (copy_options): Add --adjust-start, --adjust-vma,
5555 --adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
5556 --set-start.
5557 (parse_vma): New static function.
5558 (copy_usage): Mention new options.
5559 (copy_object): Handle --set-start and --adjust-start.
5560 (setup_section): Correct type of last argument to PTR. Set used
5561 field if section is removed. Handle --adjust-vma and
5562 --adjust-section-vma.
5563 (copy_section): Correct type of last argument to PTR.
5564 (mark_symbols_used_in_relocations): Likewise.
5565 (strip_main): Clear used field when handling -R.
5566 (copy_main): Handle new options.
5567 * binutils.texi (objcopy): Document new options.
5568 * objcopy.1: Document new options.
5569
5570 Fri Oct 14 14:38:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5571
5572 * configure.in (configdirs): Remove definition--testsuite is no
5573 longer configured.
5574 * Makefile.in (testsuite): Remove target.
5575 (site.exp): New target.
5576 (check): Rewrite.
5577 (clean, distclean): Don't recur into testsuite directory.
5578
5579 Thu Oct 13 19:24:09 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
5580
5581 * Makefile.in (VERSION): Updated to 2.5.
5582 * Version 2.5 released.
5583
5584 Tue Oct 11 15:26:42 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5585
5586 * Makefile.in (sysdump.o): Depends upon sysroff.c.
5587
5588 Mon Oct 10 13:50:30 1994 J.T. Conklin (jtc@rtl.cygnus.com)
5589
5590 * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
5591 ctor/dtor tables needed by C++ programs are built.
5592
5593 Sun Oct 9 18:04:00 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5594
5595 * Makefile.in (srconv.o): Add dependence on sysroff.c.
5596
5597 Tue Oct 4 12:19:51 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5598
5599 * configure.in: Use ${config_shell} when running config.bfd.
5600
5601 * Makefile.in (sysroff.h): Split target away from sysroff.c.
5602 (srconv.o, sysdump.o): New targets.
5603 (srconv, sysdump): Don't depend upon sysroff.c.
5604
5605 Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5606
5607 * Makefile.in (arparse.c): Don't ignore errors from mv.
5608 (sysinfo.c): Likewise. Also, depend upon arparse.c, to prevent a
5609 parallel make from trying to build both arparse.c and sysinfo.c
5610 simultaneously.
5611 (nlmheader.c): Similar change.
5612 (arparse.h): Separate target from arparse.c, so that a parallel
5613 make does not try to build both at once. Depend upon arparse.c.
5614 (sysinfo.h): Similar change.
5615
5616 * objdump.c (disassemble_data): Pass the reloc buffer to free, not
5617 the pointer used to loop over the relocs.
5618
5619 Sat Sep 24 16:16:57 1994 Stan Shebs (shebs@andros.cygnus.com)
5620
5621 * objdump.c (disassemble_data): Cast result of xmalloc.
5622
5623 Wed Sep 21 19:30:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5624
5625 * objdump.c (sorted_syms, sorted_symcount): New global variables.
5626 (objdump_print_address): Use sorted_syms and sorted_symcount
5627 instead of syms and symcount.
5628 (disassemble_data): Don't bother to get the relocs before looping
5629 over the sections. Before filtering and sorting the symbol table,
5630 copy it into sorted_syms.
5631
5632 Fri Sep 16 11:27:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5633
5634 * objdump.c (struct objdump_disasm_info): Add field require_sec.
5635 (objdump_print_address): If aux->require_sec, require that the
5636 symbol be in aux->sec even if HAS_RELOC is not set. If we can't
5637 find a smaller symbol in the right section, look for a larger one.
5638 (disassemble_data): Set aux.require_sec around the
5639 objdump_print_address call for the instruction address.
5640
5641 Thu Sep 15 21:43:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5642
5643 * ar.c: Call xexit rather than exit.
5644 (output_filename, output_file, output_bfd): New static variables.
5645 (remove_output): New static function.
5646 (main): Call xatexit (remove_output). Call xexit rather than
5647 returning.
5648 (extract_file): Set output_filename and output_file while output
5649 file is open.
5650 (write_archive): Likewise, but use output_bfd, not output_file.
5651 * arsup.c: Include libiberty.h. Call xexit rather than exit.
5652 * bucomm.c: Likewise.
5653
5654 * objdump.c (disassemble_all): New global variable.
5655 (usage): Document --disassemble-all.
5656 (long_options): Add disassemble-all as a synonym for -D.
5657 (compare_symbols): Make pointers const.
5658 (compare_relocs): New static function.
5659 (disassemble_data): Rename disassemble to disassemble_fn to avoid
5660 shadowing. If dump_reloc_info, print relocs along with
5661 disassembly. Skip sections which are not SEC_CODE unless
5662 disassemble_all or only is set.
5663 (display_bfd): Don't call dump_relocs if disassemble is set.
5664 (main): Accept and handle -D.
5665 * binutils.texi: Document -D/--disassemble-all.
5666 * objdump.1: Likewise.
5667
5668 Wed Sep 14 12:19:07 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5669
5670 * objdump.c (disassemble_data): Initialize prevline to 0. Make
5671 prev_function non const. Copy functionname into an malloc buffer
5672 when setting prev_function, instead of assuming that the string
5673 will last forever.
5674
5675 * nm.c: Include libiberty.h.
5676 (sort_by_size): New static variable.
5677 (long_options): Add --size-sort.
5678 (usage): Mention --size-sort.
5679 (numeric_forward): Make static. Change from void * to PTR.
5680 (numeric_reverse): Likewise.
5681 (non_numeric_forward, non_numeric_reverse): Likewise.
5682 (sorters): Change declaration from void * to PTR.
5683 (size_forward, sort_symbol_by_size): New static functions.
5684 (display_rel_file): Handle sort_by_size.
5685 (filter_symbols): If sort_by_size, discard absolute and undefined
5686 symbols.
5687 * binutils.texi (nm): Document --size-sort.
5688 * nm.1: Document --size-sort.
5689
5690 Tue Sep 13 21:06:06 1994 Jeff Law (law@snake.cs.utah.edu)
5691
5692 * objcopy.c (copy_main): Initialize input_filename and
5693 output_filename to NULL.
5694
5695 Tue Sep 13 14:17:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5696
5697 * Makefile.in (version.o): Depend upon Makefile, so that version.o
5698 gets rebuilt when make variable VERSION is changed.
5699
5700 * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
5701
5702 Wed Aug 24 12:40:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5703
5704 * configure.in: Change i[34]86 to i[345]86.
5705
5706 Tue Aug 23 11:00:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5707
5708 * ar.c (ranlib_touch): Don't update the archive map if there isn't
5709 one.
5710
5711 Mon Aug 22 16:02:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5712
5713 * ar.c: Include libiberty.h.
5714 (inarch): Remove variable.
5715 (map_over_members): Make static. Add arch argument, and use it
5716 instead of inarch. Change all callers.
5717 (main): Treat --version as -v. Accept -t argument. Accept any
5718 number of archive arguments. Catch and use open_inarch return
5719 value, rather than using inarch.
5720 (open_inarch): Return newly opened BFD, rather than using inarch.
5721 (do_quick_append): Make archive_filename const.
5722 (write_archive): Add iarch argument, and use it instead of inarch.
5723 Change all callers.
5724 (delete_members, move_members, replace_members): Likewise.
5725 (ranlib_only): Don't exit on success. Catch and use open_inarch
5726 return value.
5727 (ranlib_touch): New function.
5728 * arsup.h (map_over_members): Don't declare.
5729 (ar_end, ar_extract): Declare.
5730 (open_inarch): Change return value in declaration to bfd *.
5731 * arsup.c (map_over_list): Make static. Always pass two arguments
5732 to function. Add arch argument, and use it instead of inarch.
5733 Change all callers.
5734 (ar_directory_doer): Make static. Add ignored second argument.
5735 Change all callers.
5736 (ar_directory): Use open_inarch return value rather than inarch.
5737 (ar_addlib_doer): Make static.
5738 (ar_addlib): Use open_inarch return value rather than inarch.
5739 (ar_extract): Remove unused local variable abfd.
5740
5741 Thu Aug 11 14:55:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5742
5743 Add support for removing named sections to objcopy and strip.
5744 * objcopy.c (struct section_list): Define.
5745 (remove_sections): New static variable.
5746 (strip_options, copy_options): Add remove-section.
5747 (copy_usage, strip_usage): Mention -R and --remove-section.
5748 (setup_section): If section is in remove_sections list, ignore it.
5749 (copy_section): Likewise.
5750 (strip_main, copy_main): Handle -R.
5751 * binutils.texi, objcopy.1, strip.1: Document new options.
5752
5753 Wed Aug 10 10:19:55 1994 Stan Shebs (shebs@andros.cygnus.com)
5754
5755 * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
5756 so as not to conflict with the symvalue typedef in bfd.h.
5757
5758 Mon Aug 1 13:19:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5759
5760 * nlmheader.y: Per current NetWare docs, accept a revision number
5761 of 0 and treat a revision number greater than 26 as 0.
5762
5763 Mon Jul 25 12:58:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5764
5765 * objdump.c (objdump_print_address): Correct handling of end of
5766 symbols when looking for next symbol with a different value.
5767
5768 Fri Jul 22 16:48:34 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
5769
5770 * nm.c (numeric_forward): Treat undefined symbols as "less than"
5771 defined symbols with zero values. If numeric values are equal, or
5772 both symbols are undefined, sort alphabetically. Don't assume
5773 that the difference of two bfd_vma values will truncate to "int"
5774 and still have the same sign.
5775 (numeric_reverse): Call numeric_forward and negate the result.
5776 (print_symbol_info_bsd): For undefined symbols, print leading
5777 spaces equivalent to the width of a printed bfd_vma, rather than
5778 assuming that 8 will look right.
5779
5780 Fri Jul 22 10:36:50 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5781
5782 * coffgrok.c (doit): Zero all fields of new structure.
5783 * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg.
5784 * sysinfo.y: Generate sysroff_swap_*_out without requiring extra
5785 arg.
5786
5787 Fri Jul 22 10:09:53 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5788
5789 * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
5790 rather than the parser.
5791
5792 Thu Jul 21 10:25:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5793
5794 * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
5795 Remove; obsolete.
5796
5797 Sat Jul 16 22:34:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5798
5799 * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
5800 even if the bfd is not marked DYNAMIC. ELF executables are not
5801 marked DYNAMIC, but do have dynamic symbols.
5802
5803 Fri Jul 15 01:41:35 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5804
5805 * coffgrok.c (do_where): Make data with no type 'int'.
5806 (do_define): Keep info on source file of a symbol.
5807 * coffgrok.h (coff_symbol): New field.
5808 * srconv.c (PROGRAM_VERSION): Now 1.3
5809 (wr_rl): Use external ref number for symbol.
5810 (wr_dus): Only keep one source file per debug unit.
5811 (wr_dln): Always emit line numbers for first source file,
5812 (wr_globals): Emit globals in the du of their owning source file.
5813
5814 Mon Jul 11 15:59:03 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5815
5816 * nlmheader.y: Null terminate var_hdr->threadName.
5817
5818 Fri Jul 8 17:33:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
5819
5820 * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
5821 in $(srcdir), as they will be for FSF releases.
5822
5823 Wed Jul 6 01:13:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5824
5825 * nlmconv.c (setup_sections): Preserve existing section flags when
5826 copying in flags from a new section.
5827
5828 Tue Jul 5 15:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5829
5830 * objcopy.c: Include libiberty.h.
5831 (copy_file): If output_target is NULL, set it to the target of the
5832 input file.
5833
5834 Wed Jun 29 17:17:14 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5835
5836 * nlmconv.c (link_inputs): Fixed memory allocation bug.
5837
5838 Thu Jun 23 12:52:46 1994 David J. Mackenzie (djm@rtl.cygnus.com)
5839
5840 * configure.in: Change --with-targets to --enable-targets.
5841
5842 Tue Jun 21 12:53:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5843
5844 * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
5845
5846 * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
5847 NetWare custom header; no longer needed.
5848 (powerpc_mangle_relocs): Convert relocs against the uninitialized
5849 data section into relocs against the data section.
5850
5851 * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
5852 netware targets. Write it into Makefile as NLMCONV_DEFS.
5853 * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
5854 * nlmconv.c: Only compile code for specific CPU types if
5855 NLMCONV_cputype is defined.
5856
5857 * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
5858 bfd_abs_section_ptr or bfd_is_abs_section, etc.
5859 (i386_mangle_relocs, alpha_mangle_relocs): Likewise.
5860 (powerpc_build_stubs): Likewise.
5861 * nm.c (filter_symbols, print_symbols): Likewise.
5862 * objcopy.c (filter_symbols): Likewise.
5863 (mark_symbols_used_in_relocations): Likewise.
5864 * objdump.c (remove_useless_symbols, dump_relocs): Likewise.
5865 * size.c (sysv_internal_printer): Likewise.
5866
5867 Mon Jun 20 16:43:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
5868
5869 * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
5870 (install): Install it explicitly, from build dir, not srcdir.
5871
5872 Mon Jun 20 16:29:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5873
5874 * objdump.c: Don't include elf/internal.h.
5875 (bfd_elf_find_section): Don't declare.
5876 (read_section_stabs): No special handling for ELF. Always read
5877 using BFD sections.
5878
5879 Thu Jun 16 17:25:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5880
5881 * configure.in: Set UNDERSCORE in Makefile based on result of
5882 invoking config.bfd with a second argument of ``_''.
5883 * Makefile.in (underscore.c): Depend upon Makefile. Don't try to
5884 run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary
5885 file.
5886 (demangle.o): Remove target.
5887 ($(NM_PROG)): Don't depend upon demangle.o, and don't link against
5888 demangle.o. It's in libiberty anyhow.
5889 (cplus-dem.o): Don't depend upon demangle.o.
5890 * binutils.texi: Mention -n and --no-strip-underscores arguments
5891 to c++filt.
5892
5893 Wed Jun 15 12:10:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5894
5895 * nm.c (long_options): Add --no-demangle to turn off --demangle,
5896 and --no-cplus for Linux compatibility.
5897 (usage): Mention --no-demangle.
5898 * binutils.texi: Document --no-demangle.
5899
5900 Fri Jun 10 15:41:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5901
5902 * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
5903
5904 * objcopy.c (copy_archive): Make the temporary directory in the
5905 same directory as the output BFD, since we may not have write
5906 permission on the current directory. Set the permissions of the
5907 new directory to 0700, not 0777.
5908
5909 Mon Jun 6 21:36:43 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
5910
5911 * configure.in: if this is an rs6000 (and we're not building for
5912 any other bfd targets) then build only nm (collect needs it on
5913 rs6000-lynx).
5914
5915 * Makefile.in: define TOOL_PROGS which the list of programes to
5916 install in $tooldir -- replaces a hard-coded list.
5917
5918 Fri Jun 3 10:59:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5919
5920 * objdump.c (display_target_list): Remove unused local ok.
5921
5922 Thu May 26 18:05:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
5923
5924 * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
5925 they're not compatible under native cc. Use -O1 instead.
5926
5927 * Makefile.in (VERSION): Updated to cygnus-2.4.1.
5928
5929 Changes from binutils-2.4 net release:
5930
5931 * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
5932 ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
5933 * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
5934 magic token to be replaced by sed.
5935
5936 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
5937
5938 * configure.bat: update for latest makefile.in
5939
5940 Fri May 13 23:25:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5941
5942 * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
5943
5944 Tue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com)
5945
5946 * objcopy.c (copy_section): Set section size correctly if using
5947 interleave.
5948
5949 Sat May 7 16:49:36 1994 Steve Chamberlain (sac@cygnus.com)
5950
5951 * Makefile.in: Add rule for sysinfo.h
5952
5953 Fri May 6 12:18:33 1994 Steve Chamberlain (sac@cygnus.com)
5954
5955 * Makefile.in (SRCONV_PROG): Define.
5956 (PROGS): Use $(SRCONV_PROG) too.
5957
5958 Thu May 5 19:41:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
5959
5960 * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
5961 someone configures with `targets=all'.
5962 (distclean): Remove y.*.
5963 (syslex.o): Depend on sysinfo.h.
5964 (sysinfo.c): Rename y.tab.h to sysinfo.h.
5965 (install-info): Don't try to install into $(infodir)/$(srcdir).
5966 * syslex.l: Include sysinfo.h, not y.tab.h.
5967
5968 Thu May 5 11:50:55 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
5969
5970 * syslex.l (yywrap): Define as function if not defined as a macro.
5971
5972 * Makefile.in (objdump.o): Deleted special rule.
5973 * configure.in: Don't bother building ARCHDEFS variable for
5974 Makefile.
5975 * objdump.c (ARCH_*): Deleted handling.
5976 (disassemble_data): Call `disassembler' from opcodes library.
5977
5978 Thu May 5 13:28:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5979
5980 * Makefile.in (install): Correct handling of $(tooldir) and
5981 $(bindir) being on different devices.
5982
5983 Fri Apr 29 09:50:38 1994 Steve Chamberlain (sac@cygnus.com)
5984
5985 * sysdump.c (h8300, sh): Add declarations.
5986
5987 Wed Apr 27 11:25:18 1994 Steve Chamberlain (sac@cygnus.com)
5988
5989 * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
5990 * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
5991 sysroff.info: Major changes.
5992
5993 Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com)
5994
5995 * objdump.c (print_section_stabs): Indicate the stab header symbol
5996 more clearly, print numbers of unrecognized stab n_type values.
5997
5998 Tue Apr 26 16:22:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5999
6000 * nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
6001
6002 Mon Apr 25 16:14:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6003
6004 * Makefile.in (distclean): Remove $(PROGS) and underscore.c.
6005
6006 Fri Apr 22 11:14:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6007
6008 * nlmconv.c (setup_sections): Remove special handling of .reginfo
6009 section.
6010 (copy_sections): Likewise.
6011 (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
6012 special ECOFF .reginfo section.
6013
6014 * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
6015 copying everything else, to let it fiddle with the file in its
6016 final state.
6017
6018 * objdump.c: Include libiberty.h.
6019 (display_target_list): If a format fails, just go on to the next
6020 one. Check return value of bfd_set_format.
6021 (display_info_table): Likewise. Don't increment loop variable in
6022 for loop test, since that skips the first element.
6023 (display_target_tables): Rewrite loop for clarity. Ensure that it
6024 always prints at least one element.
6025
6026 * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
6027 sections header. Rename from cygnus_sections to cygnus_ext.
6028
6029 Thu Apr 21 12:12:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6030
6031 * objdump.c (_DUMMY_NAME_): Don't define.
6032 (display_target_list): Use tmpnam to get a file name rather than
6033 using _DUMMY_NAME_. Unlink it when done.
6034 (display_info_table): Likewise.
6035
6036 * nlmconv.c (secsec): New static variable.
6037 (main): Create .nlmsections section in output BFD. Store
6038 information about it in sections header.
6039 (setup_sections): Allocate space in sections header.
6040 (copy_sections): Copy zero sized sections. Put information about
6041 each section in the sections header.
6042
6043 Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6044
6045 * nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
6046 Change caller. Create custom header for new PowerPC NetWare
6047 format.
6048
6049 * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
6050 * nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
6051 * nlmheader.y: Include bfd.h with "", not <>.
6052
6053 Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6054
6055 * objdump.c: Do an ifdef on __GO32__, not unix.
6056
6057 Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6058
6059 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
6060 (--dynamic-reloc) arguments to objdump.
6061 * nm.c (dynamic): New static variable.
6062 (long_options): Added "dynamic".
6063 (usage): Mention -D and --dynamic.
6064 (main): Add D to getopt string. Handle -D by setting dynamic.
6065 (display_rel_file): If dynamic is non-zero, read dynamic symbols
6066 rather than normal symbols.
6067 * nm.1: Updated for -D (--dynamic) option.
6068 * objdump.c (dump_dynamic_symtab): New global variable.
6069 (dump_dynamic_reloc_info): New global variable.
6070 (dynsyms, dynsymcount): New global variables.
6071 (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
6072 (long_options): Added "dynamic-reloc" and "dynamic-syms".
6073 (slurp_symtab): If no symbols, return rather than exit.
6074 (slurp_dynamic_symtab): New function.
6075 (display_bfd): Handle dump_dynamic_symtab and
6076 dump_dynamic_reloc_info.
6077 (dump_symbols): Take new dynamic argument, indicating whether to
6078 display dynamic symbols.
6079 (dump_relocs): Move most printing into dump_reloc_set.
6080 (dump_dynamic_relocs): New function.
6081 (dump_reloc_set): New function, extracted from dump_relocs.
6082 (main): Add R and T to getopt string. Handle -T by setting
6083 dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
6084 * objdump.1: Updated for -R (--dynamic-reloc) and -T
6085 (--dynamic-syms) options.
6086 * binutils.texi: Updated for new nm and objdump options.
6087
6088 Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6089
6090 Update for recent BFD changes to symbol and reloc reading. Rename
6091 all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
6092 Also:
6093 * coffgrok.c (symcount): Change to long.
6094 (do_sections_p1): Check for error return from
6095 bfd_get_reloc_upper_bound. Change relcount to long, and check for
6096 error from bfd_canonicalize_reloc.
6097 (coff_grok): Change storage to long. Check for error from
6098 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
6099 * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
6100 i to long. Check for error from bfd_get_symtab_upper_bound and
6101 bfd_canonicalize_symtab.
6102 (copy_sections): Change reloc_size and reloc_count to long. Check
6103 for error from bfd_get_reloc_upper_bound and
6104 bfd_canonicalize_reloc.
6105 (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
6106 reloc_count_ptr argument to long *. Make corresponding changes to
6107 variables loaded from *reloc_count_ptr.
6108 * nm.c (display_rel_file): Change storage and symcount to long.
6109 Check for errors from bfd_get_symtab_upper_bound and
6110 bfd_canonicalize_symtab.
6111 * objcopy.c (filter_symbols): Change symcount, src_count and
6112 dst_count to long.
6113 (copy_object): Change symcount to long. Pass another argument to
6114 fprintf. Check for errors from bfd_get_symtab_upper_bound and
6115 bfd_canonicalize_symtab.
6116 (copy_section): Change relcount to long. Check for errors from
6117 bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
6118 (mark_symbols_used_in_relocations): Change relcount and i to long.
6119 Check for errors form bfd_get_reloc_upper_bound and
6120 bfd_canonicalize_reloc.
6121 * objdump.c (storage): Remove global variable.
6122 (symcount): Changed to long.
6123 (slurp_symtab): New local variable storage. Check for errors from
6124 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
6125 (remove_useless_symbols): Change return value and count to long.
6126 (objdump_print_address): Change min, max, thisplace and i to long.
6127 (disassemble_data): Change i to long.
6128 (dump_symbols): Change count to long.
6129 (dump_relocs): Change relcount to long. Check for errors from
6130 bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
6131 (display_info_table): Add casts when passing LONGEST_ARCH for
6132 printf %* argument.
6133
6134 Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6135
6136 * nm.c (display_archive): Close each archive element after it has
6137 been displayed.
6138 * objdump.c (display_file): Likewise.
6139
6140 Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6141
6142 * configure.in: Change error message to refer to bfd/config.bfd
6143 rather than bfd/configure.in.
6144
6145 Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6146
6147 * More fixes for object formats which allow multiple sections
6148 with the same name:
6149 * objcopy.c (setup_section): Make a new output section even if
6150 one already exists with the given name.
6151 (copy_section): Use isection->output_section rather than trying
6152 to look the output section up by its (possibly non-unique) name.
6153
6154 * Makefile.in (install-info): Look for binutils.info in the
6155 current directory, then in $(srcdir). Don't use $<.
6156
6157 Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6158
6159 * objdump.c (objdump_print_address): Make static. Declare with
6160 prototype. Change vardiff from int to bfd_signed_vma. Correct
6161 binary search termination condition. When looking for same
6162 section symbol in relocatable file, handle final symbol correctly.
6163
6164 Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6165
6166 * Makefile.in: Avoid bug in hpux sed.
6167
6168 * objcopy.c: Changes to keep it from stripping symbols used
6169 in output relocations.
6170 (mark_symbols_used_in_relocations): New function. Mark symbols
6171 used in output relocations with BSF_KEEP.
6172 (filter_symbols): Do not strip symbols marked with BSF_KEEP.
6173 (copy_object): Reorder actions. First setup sections, then
6174 build the output symbol table, then copy the section contents.
6175
6176 Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6177
6178 * ar.c (write_archive): Allocate space for the null byte. From
6179 Robert Lipe <robertl@arnet.com>.
6180
6181 Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6182
6183 * Makefile.in: Built nm.new and strip.new to avoid problems with
6184 collect when . is in PATH.
6185 (STRIP_PROG): Change from strip to strip.new.
6186 (NM_PROG): Change from nm to nm.new.
6187 (install): Remove the .new when installing.
6188
6189 Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6190
6191 * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
6192 symbol for which we build a stub.
6193 (powerpc_mangle_relocs): Only reset TOC pointer for a call to a
6194 symbol with BSF_DYNAMIC flag set.
6195
6196 Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6197
6198 * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
6199 if a symbol represents a compiler-generated local label.
6200 (copy_object): Give the BFD backends a chance to copy any private
6201 bfd data from the input BFD to the output BFD.
6202 (setup_section): Give the BFD backends a chance to copy any private
6203 section data from the input section to the output section.
6204
6205 Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6206
6207 * objcopy.c (mangle_section): Delete unused function.
6208 (setup_section): Set osection here instead of calling
6209 mangle section to do it.
6210
6211 Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6212
6213 * ar.c (write_archive): Close inarch before unlinking it.
6214
6215 Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6216
6217 * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
6218 powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if
6219 the start and end symbols are not in the text section.
6220 (struct powerpc_stub): New struct definition.
6221 (powerpc_stubs, powerpc_stub_insns): New static variables.
6222 (powerpc_initial_got_size): New static variable.
6223 (powerpc_build_stubs): New function.
6224 (powerpc_resolve_stubs): New function.
6225 (powerpc_mangle_relocs): Clear extraneous data in .got section.
6226 Rearrange reloc handling to handle ELF relocs that are not
6227 partial_inplace. Resolve PC relative relocs.
6228
6229 Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac@jonny.cygnus.com)
6230
6231 * ar.c (move_members): Fix it so that the abi positional modifiers
6232 don't delete all archive members following the insert point.
6233
6234 Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com)
6235
6236 * coffgrok.[ch]: New files, understand coff objects.
6237 * coffdump.c: Uses coffgrok to dump out the debug info of a coff
6238 file.
6239 * sysroff.info: Description of a SYSROFF object file.
6240 * sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
6241 header files and a printer.
6242 * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
6243 file to a SYSROFF file.
6244
6245 Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
6246
6247 * ar.c (do_quick_append): Pad with a genuine character 10,
6248 rather than whatever '\n' might happen to be.
6249
6250 Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com)
6251
6252 * nlmconv.c (main): Ignore debugging symbols when looking for
6253 special symbols by name.
6254
6255 Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
6256
6257 * nlmconv.c: Include libiberty.h.
6258
6259 Support for PowerPC NetWare.
6260 * nlmconv.c (main): For PowerPC NetWare, automatically define the
6261 special symbols __toc_start.
6262 (select_output_format): Handle bfd_arch_powerpc.
6263 (mangle_relocs): Likewise.
6264 (powerpc_mangle_relocs): New function.
6265
6266 Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6267
6268 * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
6269 size.c: Use bfd_get_error and bfd_set_error and new error names.
6270
6271 Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6272
6273 * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
6274
6275 Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6276
6277 * objdump.c (disassemble_data): Handle bfd_arch_powerpc.
6278
6279 Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6280
6281 * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
6282 Call xmalloc_set_program_name.
6283
6284 Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6285
6286 * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
6287 can do arithmetic on it.
6288
6289 Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6290
6291 * objdump.c (dump_section_stabs, read_section_stabs,
6292 print_section_stabs): Functions broken out of dump_stabs_1.
6293 Free the stabs and strings when done with them.
6294
6295 Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6296
6297 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
6298 * ar.c (print_contents, extract_file), size.c
6299 (print_berkeley_format, print_sysv_format): Use bfd_get_filename and
6300 bfd_my_archive instead of dereferencing the structs directly.
6301
6302 * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
6303 Indent. Remove DEFUNs.
6304
6305 * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
6306 if ambiguous match.
6307 * nm.c (display_file, display_archive), size.c (display_bfd):
6308 Eliminate gotos.
6309 Print matching formats if there is an ambiguous match. Use
6310 bfd_nonfatal instead of hardcoded error message if nothing matches.
6311
6312 * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
6313 abfd->filename.
6314
6315 * nm.c (display_archive): New function, from code in display_file.
6316 (display_rel_file): Renamed from do_one_rel_file.
6317
6318 * size.c: Indent.
6319 (display_archive): New function from code in display_file.
6320 (display_file): Check bfd_close error return.
6321
6322 * strings.c (strings_object_file): Check bfd_check_format
6323 error return.
6324
6325 * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
6326
6327 * bucomm.c: Delete references to exit_handler. It wasn't set
6328 anywhere, and now that we're using the libiberty xmalloc, it
6329 wouldn't always get called before exiting.
6330 (list_matching_formats): Function moved from objdump.c.
6331 * bucomm.h: Declare it.
6332
6333 * objdump.c (disassemble_data): Move some variable decls closer to
6334 their use. Add some comments. Replace a nested block with a
6335 return.
6336
6337 Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com)
6338
6339 * objdump.c (display_target_list, display_info_table): Check that
6340 the bfd of the dummy output file is not null.
6341
6342 Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6343
6344 * objcopy.c (filter_bytes): New function.
6345 (copy_section): Call it.
6346 (copy_options, copy_usage, copy_main): Add --byte option to
6347 activate it. Appropriate the -b option (which was an undocumented
6348 synonym for -F) for it, also. Add --interleave, -i option for
6349 additional control.
6350 (setup_section, copy_section, mangle_section): Renamed with no `s'
6351 on the end.
6352 * objcopy.1, binutils.texi: Document the new options.
6353
6354 * objdump.c (display_target_tables, display_target_list):
6355 New functions broken out of display_info.
6356 Eliminate some magic constants. Use more meaningful variable names.
6357 (dump_bfd_header): New function broken out of display_bfd.
6358 (dump_section_header): New function broken out of dump_headers.
6359 (remove_useless_symbols): Don't shadow global variable name with
6360 parameter.
6361 (objdump_print_address): Fix backward test.
6362
6363 Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)
6364
6365 * bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
6366 * objdump.h: Removed.
6367
6368 Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6369
6370 * objdump.c (display_file): Remove call to list_matching_formats.
6371 It would never be called.
6372 (list_matching_formats): Take an arg giving the list of matching
6373 formats.
6374 (display_bfd): Pass the arg, and get it filled in by calling
6375 bfd_check_format_matches instead of bfd_check_format.
6376 (display_info, display_info_table): target_vector was renamed to
6377 bfd_target_vector.
6378
6379 * binutils.texi (objdump): Note some limitations of -h section
6380 address printing.
6381
6382 Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com)
6383
6384 * Makefile.in (MALLOC): Set to emptiness by default.
6385 (ALL_CFLAGS): Add and use.
6386 (arparse.h): Make it depend on arparse.y.
6387 * ar.c (libbfd.h): Don't require to be in ../bfd.
6388 * objdump.c (comp): Rename to compare_symbols.
6389
6390 Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6391
6392 * objdump.c (list_matching_formats): If the file format is ambiguous,
6393 print the matching names so the user can choose one.
6394 (display_bfd): Call it.
6395 (display_file): Call it.
6396
6397 Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6398
6399 * objdump.c (disassemble_data): Support bfd_arch_rs6000.
6400
6401 Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
6402
6403 * objdump.c (stab_name): Allocate dynamically.
6404 (stab_print): Use pointers to strings instead of char arrays.
6405 (dump_stabs): Change alloc and init of arrays appropriately.
6406 (dump_stabs_1): Always decide whether to print stab_name or
6407 the stab's type number, if unnamed.
6408
6409 Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6410
6411 * objcopy.c (strip_main, copy_main): Don't clobber the input file
6412 if copy_file fails.
6413
6414 * nlmconv.c (main): Warn about an attempt to use a shared library
6415 with uninitialized data.
6416
6417 * nlmconv.c (setup_sections): Make sure that we align the
6418 output_offset of each input section appropriately.
6419
6420 Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6421
6422 * objdump.c (dump_relocs): Don't crash if section name is NULL.
6423
6424 Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6425
6426 * filemode.c (filemodestring): Commented out; not used.
6427 (mode_string): Use POSIX definitions.
6428 (ftypelet): Likewise.
6429 (rwx): Removed; no longer used.
6430 * bucomm.c: Include bucomm.h.
6431 (bfd_nonfatal, bfd_fatal): Argument is const.
6432 (fatal): Make __STDC__ version.
6433 * bucomm.h (mode_string): Declare.
6434 * Makefile.in (bucomm.o): Depend upon bucomm.h
6435
6436 Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
6437
6438 * bucomm.c (xmalloc, xrealloc): Deleted.
6439 * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
6440 libiberty version of functions.
6441
6442 Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6443
6444 * binutils.texi: Add a chapter summarizing the ways to select
6445 aspects of the target for each program.
6446
6447 * objdump.c (long_options, usage): Add long equivalents for all
6448 remaining short options that lacked them.
6449 * binutils.texi objdump.1: Document them.
6450
6451 * size.c (usage): Tweak usage message.
6452 * size.1: Add missing `=' in examples.
6453
6454 * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
6455 Use "--target=bfdname" as the option to select the BFD target,
6456 like nm and size already do.
6457 Reserve "--format=format" for textual output selection options, but
6458 for now keep old option names as obsolete for backward compatibility.
6459
6460 * strings.c (main, strings_object_file, usage): Add --target option.
6461 * binutils.texi strings.1: Document it.
6462
6463 Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6464
6465 * ar.c (main): Add \n in error message.
6466
6467 Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6468
6469 gcc -Wall lint:
6470 * ar.c (main): Put parens around assignment used as truth value.
6471 * objcopy.c (strip_main): Remove unused variables. Return 0.
6472 (copy_main): Remove unused variables. Return 0.
6473 * objdump.c (display_bfd): Declare return value as void.
6474 (stab_print): Use "" instead of 0 to initialize array.
6475 (dump_stabs_1): Print vma using printf_vma.
6476 (display_info): Put parens around assignment used as truth value.
6477 * strings.c (print_strings): Cast printf arguments.
6478
6479 * objcopy.c (copy_main): Use copy_options, not strip_options.
6480
6481 * nlmheader.y (command): Warn about illegal date values.
6482
6483 Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm@frosty.eng.umd.edu)
6484
6485 * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify.
6486 (bfd_nonfatal): New function.
6487 (bfd_fatal): Call it.
6488
6489 * objcopy.c (smart_rename): Do a copy if the dest file has
6490 multiple hard links. Remove source file on successful copy.
6491 Try to preserve mode and owner on successful rename.
6492
6493 * objcopy.c: Run through indent. Clean up a bit.
6494 Make global variables static.
6495 Make {input,output}_{target,filename}, show_version local
6496 to various functions.
6497 New global variable `status' for exit status.
6498 (strip_main, copy_main): New functions with code from main.
6499 (nonfatal): New macro. Use it globally instead of bfd_perror and
6500 bfd_fatal.
6501
6502 (copy_object): Call mangle_sections with bfd_map_over_sections.
6503 (mangle_sections): Adjust for new calling convention.
6504
6505 Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
6506
6507 * nlmheader.y (command): Accept MAP and FULLMAP without arguments.
6508 * nlmconv.c (main): Change error message for MAP and FULLMAP.
6509
6510 Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
6511
6512 * nlmconv.c (main): Warn about imported symbols that are not in
6513 the IMPORT list even if the IMPORT keyword is not used.
6514
6515 * nlmconv.c (debug, unlink_on_exit): New static variables.
6516 (long_options): Add "debug" and "linker".
6517 (main): Handle -d and -l arguments. Make command line input and
6518 output files optional. Parse the command file before opening the
6519 BFD's, which requires storing more information in local variables.
6520 If INPUT names multiple files, link them together. Use OUTPUT for
6521 the output file name if not named on command line.
6522 (show_usage): Changed for new options.
6523 (link_inputs): New function to automatically invoke linker to
6524 handle multiple INPUT files.
6525 (choose_temp_base_try, choose_temp_base, pexecute): New functions,
6526 mostly copied from gcc/gcc.c.
6527 * nlmconv.h (input_files, output_file): Declare.
6528 * nlmheader.y (input_files, output_file): Define.
6529 (command): Support INPUT with a string_list argument. Support
6530 OUTPUT.
6531 (string_list): Renamed from module_list.
6532 * Makefile.in (nlmconv.o): Define LD_NAME based on
6533 program_transform_name.
6534
6535 Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
6536
6537 * nlmheader.y (nlmheader_identify): New function. Use it to print
6538 the program name just once, instead of with every error message.
6539
6540 Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6541
6542 * nlmconv.c (long_options): Changed --header-info to --header-file
6543 to match documentation and usage message.
6544
6545 Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
6546
6547 * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
6548 in a relocation.
6549
6550 Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6551
6552 * nlmconv.c (main): Change various types from bfd_size_type to
6553 size_t, since they have to be arguments to fread and fwrite.
6554 Change set from char * to unsigned char *.
6555 (select_output_format): Make mach argument unsigned. Handle
6556 bfd_arch_alpha.
6557 (setup_sections): Don't copy the .reginfo section of an ECOFF
6558 file. Call bfd_set_reloc to initialize the relocation fields.
6559 (copy_sections): Don't copy the .reginfo section of an ECOFF file.
6560 Combine all relocs for a section.
6561 (mangle_relocs): Change type of relocs to permit specific
6562 functions to change it. Call alpha_mangle_relocs for alpha,
6563 default_mangle_relocs for other architectures.
6564 (default_mangle_relocs): New function. Adjust the address of all
6565 relocs by the output_offset.
6566 (i386_mangle_relocs): Change type of relocs argument. Cast length
6567 argument to memmove to size_t.
6568 (alpha_mangle_relocs): New function.
6569
6570 Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com)
6571
6572 * nlmconv.c (select_output_format): Use nlm32-sparc for
6573 bfd_arch_sparc.
6574
6575 Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com)
6576
6577 * nlmconv.1: added man page
6578 * objcopy.1: fixed format errors
6579
6580 Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6581
6582 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
6583
6584 Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6585
6586 * strings.1: Fix typo.
6587
6588 Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
6589
6590 * Makefile.in (DISTSTUFF): Build "info".
6591 (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
6592
6593 Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
6594
6595 * objdump.c (dump_stabs): Handle stabs-in-som as implemented
6596 by the new BFD SOM assembler.
6597
6598 Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm@rtl.cygnus.com)
6599
6600 * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
6601 strings.1 strip.1: Replace \(em in NAME section with \- so
6602 makewhatis can grok it.
6603
6604 Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6605
6606 * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
6607 section output_offset.
6608
6609 Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com)
6610
6611 * binutils.texi: added nlmconv chapter
6612
6613 Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy@cygnus.com)
6614
6615 * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
6616
6617 Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn@rover.cygnus.com)
6618
6619 * Makefile.in (distclean): Don't get rid of dvi or info files.
6620
6621 Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm@rtl.cygnus.com)
6622
6623 * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
6624
6625 Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6626
6627 * binutils.texi: Move objcopy docs into alphabetical order.
6628
6629 * objdump.c: Use xmalloc instead of malloc.
6630
6631 Fri Oct 29 11:11:14 1993 Stan Shebs (shebs@rtl.cygnus.com)
6632
6633 * objdump.c (info): Rename to formats_info.
6634 (dump_stabs_1): Better comments and formatting.
6635
6636 Thu Oct 28 19:43:16 1993 Stan Shebs (shebs@rtl.cygnus.com)
6637
6638 * ar.c (main): Always create the archive when quick appending,
6639 even if no input files have been given.
6640
6641 Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6642
6643 * nlmconv.c (main): Set sharedDebugRecordOffset and
6644 sharedDebugRecordCount fields in extended header.
6645
6646 * nlmconv.c (main): Force moduleName field to upper case.
6647
6648 Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6649
6650 * objcopy.c (main): Give a usage message if there are too many
6651 arguments.
6652
6653 Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn@rover.cygnus.com)
6654
6655 * Makefile.in (install-info): Rewrite to take advantage of VPATH,
6656 so FSF distributions (with info files in $(srcdir)) install
6657 properly.
6658 (DISTSTUFF): Build nlmheader.c too.
6659
6660 Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn@rover.cygnus.com)
6661
6662 * ar.c (program_name): Don't define here.
6663 * objdump.c: Include "bucomm.h".
6664 (xmalloc): Don't declare here.
6665 (program_name): Don't define here.
6666 (program_version): Fixed type in declaration.
6667 * size.c: Include "bucomm.h".
6668 (program_name): Don't declare here.
6669
6670 Fri Oct 22 14:10:41 1993 Mark Eichin (eichin@cygnus.com)
6671
6672 * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
6673
6674 Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6675
6676 * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
6677 relocs against defined symbols in the same section.
6678
6679 Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6680
6681 * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
6682
6683 Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6684
6685 * objcopy.c (simple_copy, smart_rename): New functions.
6686 (main): Use them.
6687
6688 Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6689
6690 * Makefile.in (clean, distclean): Recurse into testsuite.
6691
6692 Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6693
6694 * objcopy.c (setup_sections, copy_sections): If stripping, don't
6695 copy SEC_DEBUGGING sections.
6696 * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
6697
6698 * objdump.c (usage): Mention --stabs.
6699
6700 * objcopy.c (copy_object): Copy all applicable file flags.
6701 (copy_file): Don't copy EXEC_P specially here.
6702
6703 Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6704
6705 * nlmconv.c (main): Adjust data section size to correspond to bss
6706 alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to
6707 a different section. Use time_t for time variable.
6708 (setup_sections): Only put sections with contents in output NLM.
6709 (i386_mangle_relocs): No symbols are common at this point. Add
6710 casts to avoid warnings.
6711
6712 Fri Sep 10 11:00:40 1993 Stan Shebs (shebs@rtl.cygnus.com)
6713
6714 * objdump.c: Made the --stabs option work for stabs-in-coff.
6715 (ELF_STAB_DISPLAY): Removed.
6716 (dump_elf_stabs): Renamed to dump_stabs, changed to run for
6717 any object file format.
6718 (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
6719 generic BFD routines for non-ELF case, changed format of message
6720 for no-section-found case.
6721 (display_bfd): Always call dump_stabs if requested.
6722 (dump_data): Call bfd_section_size to get section size.
6723
6724 Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6725
6726 * Makefile.in (install): Don't put strings in tooldir/bin.
6727
6728 Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6729
6730 * nlmconv.c (total_bss_size): Removed.
6731 (main): Set the bss vma to always follow the data section. Move
6732 symbols into new sections, and adjust values by output_offset.
6733 (setup_sections): Don't copy all sections, but instead point all
6734 text sections to .text, all data sections to .data, and all bss
6735 sections to .bss.
6736 (copy_sections): Adjust accordingly.
6737
6738 Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6739
6740 Only build nlmconv if configured for a NetWare target.
6741 * configure.in: If we have some *-*-netware* target, or are using
6742 all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
6743 * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
6744 $(NLMCONV_PROG).
6745
6746 Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
6747
6748 * objdump.c (ARCH_all): Define ARCH_hppa too.
6749 (dump_headers): Don't test for SEC_BALIGN if it's not defined by
6750 bfd.h.
6751
6752 Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6753
6754 * nlmconv.c (main): Force creation of .bss section. Set up the
6755 sections before looking at the symbols. Move all common symbols
6756 into .bss section. Automatically define _edata and _end. Only
6757 export symbols in the export list, with multiple prefixes if
6758 necessary. Warn if no version. Always create extended header.
6759 Set date automatically if not already set.
6760 (setup_sections): Count size of bss sections.
6761 (mangle_relocs, i386_mangle_relocs): Accept section argument, and
6762 take reloc_count as a changeable pointer; changed callers.
6763 (i386_mangle_relocs): Remove PC relative relocs within a section,
6764 as they require no adjustment.
6765 * nlmheader.y: Fixed memory allocation throughout: token STRING is
6766 now allocated on the heap, and freed if not needed. Null
6767 terminated copyright message. Accept version with only two
6768 strings.
6769 (symbol_list_opt): New nonterminal, either symbol_list or empty.
6770 (symbol_list): Use left recursion to avoid overflowing parser
6771 stack.
6772 (yylex): Rearranged beginning of line check. Accept quoted
6773 strings using single quotes. End generic argument at comment
6774 character or parentheses.
6775 (string_list_append): Fixed.
6776 (string_list_append1): New function.
6777
6778 * bucomm.h: The first argument to xrealloc is PTR, not char *.
6779 * bucomm.c (xrealloc): Use PTR rather than char *.
6780 * Makefile.in (objdump.o): Depend upon config.status to notice
6781 --with-targets changes.
6782 (nlmconv.o): Depend upon bucomm.h.
6783
6784 Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6785
6786 * configure.in: Don't pass cpu to config.bfd.
6787
6788 Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6789
6790 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
6791 (demangle.o): New target.
6792 (cplus-dem.o): Depend on it, to force compilation order when doing
6793 parallel compiles.
6794
6795 * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
6796 (struct output_fns print_symbol_info): Ditto.
6797 (long_options, usage, main): Add -C --demangle option.
6798 (print_symname): New function, demangling if requested.
6799 (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
6800
6801 Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6802
6803 * Makefile.in: Put CFLAGS last in compilation rules and omit from
6804 linking rules. Use ARCHDEFS to compile objdump.c.
6805 Update dependencies.
6806 * configure.in: Construct ARCHDEFS based on the BFD target makefile
6807 fragments.
6808 * objdump.c: Conditionalize calls to the print_insn_ARCH functions
6809 according to ARCHDEFS.
6810
6811 Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com)
6812
6813 * ar.c: Removed obsolete and non-functional GNU960 code.
6814
6815 Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com)
6816
6817 * size.c (berkeley_sum): New function.
6818 (bsssize, datasize, textsize): New global variables.
6819 (bss_section_name, data_section_name, text_section_name): Removed.
6820 (print_berkeley_format): Map berkeley_sum over all the sections,
6821 rather than only reporting sizes of specifically named sections.
6822 * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
6823
6824 Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com)
6825
6826 * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
6827 convert object files into NetWare Loadable Modules.
6828 * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
6829 (PROGS): Add NLMCONV_PROG.
6830 (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
6831 targets.
6832
6833 Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6834
6835 * Makefile.in: define MAKEOVERRIDES to an empty string
6836
6837 Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6838
6839 * objcopy.c (copy_file): Make failures to process a file nonfatal.
6840
6841 Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6842
6843 * nm.c: Add -B option, like --format=bsd.
6844
6845 Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6846
6847 * objcopy.c (copy_file): If the file is neither an object nor an
6848 archive, give an error rather than returning success.
6849
6850 Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
6851
6852 * objdump.c (objdump_print_address): Prefer non-local symbols over
6853 local ones, and especially discriminate against debugging symbols.
6854 Also, for relocateable files, try to find a symbol in the current
6855 section, instead of picking one from some random section with a
6856 convenient value (read, section offset).
6857 (disassemble_data): Cast argument to malloc to size_t first.
6858 (dump_data): Likewise.
6859 (dump_relocs): If a single section name is specified, show relocs
6860 only for that section. Otherwise, silently omit sections without
6861 relocs. Format table nicely even if values are printed using 16
6862 digits instead of 8.
6863
6864 Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6865
6866 * nm.c: Changes for final version of POSIX.2.
6867 (print_symbol_filename_{bsd,sysv,posix}): New functions.
6868 (formats): Add an element for a pointer to them.
6869 (print_symbols): Call it.
6870 (print_object_filename_posix, print_archive_member_posix): Produce
6871 output according to new POSIX.2 spec.
6872
6873 * strings.c (print_strings): Handle STREAM being NULL.
6874 (strings_a_section): Pass a NULL.
6875 (main): Don't open /dev/null.
6876
6877 Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6878
6879 * objdump.c (disassemble_data): Handle the m88k.
6880 (display_bfd): Use bfd_errmsg, rather than just claiming that the
6881 bfd is not an object file.
6882
6883 Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com)
6884
6885 * Makefile.in (TAGS): make work again by naming directories
6886 explicitly rather than depending on undefined macros.
6887 (INSTALL_XFORM): correct bad install target.
6888
6889 Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6890
6891 * strings.c: Doc fixes.
6892
6893 Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6894
6895 * Makefile.in: Note dependencies on bucomm.h.
6896 (cplus-dem.o): Link c++filt with version.o.
6897
6898 * strings.c: Include bucomm.h and add prototypes to other decls.
6899 Remove -h option.
6900
6901 * bucomm.h: Declare xrealloc.
6902
6903 * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
6904 --help option. Put "GNU" in the version message.
6905 (usage): Take stream and exit status as args.
6906 (main): Pass new args to usage.
6907
6908 Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6909
6910 * strings.c, strings.1: New files.
6911 * binutils.texi: Document strings.
6912 * Makefile.in: Add rules for it.
6913
6914 Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
6915
6916 * objdump.c: Use size-independent bfd elf section names.
6917
6918 Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
6919
6920 * objdump.c (objdump_print_address): Handle wide offsets by
6921 calling sprintf_vma.
6922
6923 Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com)
6924
6925 * objdump.c (syms2): Removed unused variable.
6926 * objdump.c (remove_useless_symbols): New function.
6927 * objdump.c (comp): Simplify.
6928 * objdump.c (dis-assemble_data): Make simpler and more
6929 efficient how we filter out useless symbols: Just filter
6930 BEFORE the sort (using remove_useless_symbols).
6931 * objdump.c (objdump_print_address): Simplify.
6932 Change output syntax to match gdb.
6933
6934 Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
6935
6936 * Makefile.in: canonicalize install.sh; for use within
6937 this directory (and subdirs)
6938
6939 Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
6940
6941 * Makefile.in (install, install-info): remove parentdir support,
6942 use INSTALL_XFORM; define INSTALL_XFORM
6943
6944 Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com)
6945
6946 * objcopy.c (copy_object): Fix bad size passed to xmalloc().
6947
6948 Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com)
6949
6950 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
6951 * configure.in: No longer need to configure to get sysdep.h.
6952 * objcopy.c (copy_object): Fix symbol table handling.
6953
6954 Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com)
6955
6956 * objcopy.c (filter_symbols): Cannot filter the symbols
6957 in place, because that confuses the relocs, so take separate
6958 parameter for output array.
6959 * objcopy.c (sympp): Make two variables: isympp and osympp.
6960 * objcopy.c (copy_object): Allocate separate array (osympp)
6961 for filtered symbols.
6962
6963 Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6964
6965 * Makefile.in: change recursion test to presence of a configured
6966 testsuite directory
6967
6968 Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
6969
6970 * Makefile.in (underscore.c): Hack the backquoted command so it
6971 doesn't cause Solaris make to bomb.
6972
6973 Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com)
6974
6975 * Makefile.in: added c++filt and objcopy to MANPAGES variable
6976
6977 Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6978
6979 * Makefile.in: rename LOADLIBES to EXTRALIBS
6980
6981 Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com)
6982
6983 * c++filt.1, objcopy.1: new man pages
6984
6985 Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com)
6986
6987 * Makefile.in (install): Also install ar and ranlib in
6988 $(tooldir)/bin; needed for building libgcc.a.
6989 * objdump.c (objdump_print_address): Fix the check
6990 "coincidental" label matches by dis-allowing undefined
6991 or com symbols.
6992
6993 Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com)
6994
6995 * biutils.texi: revised c++filt chapter
6996
6997 Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com)
6998
6999 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
7000
7001 Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com)
7002
7003 * objdump.c (slurp_symtab): Print warning for bad symbol table.
7004 (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
7005 declarations and uses.
7006
7007 * Makefile.in (DISTSTUFF): Don't build binutils.mm.
7008
7009 Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com)
7010
7011 * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
7012 Make global variables static.
7013 (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
7014 (set_print_radix, set_output_format,
7015 print_{object_filename,archive_filename,archive_member,symbol_info}
7016 {bsd,sysv,posix}): New functions.
7017 (display_file, print_symbols): Call them.
7018
7019 * ar.c: Improve error messages.
7020
7021 * nm.c (main): Handle long options that just set a flag.
7022
7023 * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
7024 (main): Exit after printing the version number, per the GNU coding
7025 standards.
7026
7027 Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com)
7028
7029 * README, Makefile.in: Minor updates for 2.2.
7030
7031 Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com)
7032
7033 * Makefile.in (underscore.c): Automatically generate
7034 (using nm) a file with the variable prepends_underscore.
7035 * Makefile.in (c++filt): Link underscore.o with cplus-dem.o
7036 so that initial underscores get removed iff appropriate.
7037 * binutils.texi: Preliminary documentation for c++filt.
7038 * Makefile.in, binutils.texi: Set to version 2.2.
7039
7040 * NEWS: Mention copy->objcopy renaming and new c++filt program.
7041
7042 Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com)
7043
7044 * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
7045 demangler via cplus-dem.o, rather than directly from the .c file.
7046
7047 * objcopy.c: Renamed from copy.c, updated comments accordingly.
7048 * Makefile.in, binutils.texi: Renamed copy to objcopy.
7049 * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
7050 rename of copy to objcopy.
7051
7052 Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com)
7053
7054 * binutils.texi (strip, -v option): Fix typo.
7055
7056 Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com)
7057
7058 * Makefile.in (RUNTEST): Define.
7059 (FLAGS_TO_PASS): Pass down RUNTEST.
7060
7061 Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com)
7062
7063 * Makefile.in (DEMANGLER_PROG): Name it c++filt.
7064 (PROG): Also build and install COPY_PROG.
7065
7066 Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com)
7067
7068 * Makefile.in: Change definition of $(tooldir) to match FSF.
7069
7070 Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com)
7071
7072 * size.c (usage): Add missing options.
7073 (main): Clean up option parser.
7074
7075 * objdump.c (usage): Add missing options.
7076 (display_file): Print program name before calling
7077 bdf_perror.
7078
7079 * nm.c (usage): Add missing options.
7080 (main): Clean up option parser.
7081 (display_file): Print program name before calling
7082 bdf_perror.
7083
7084 * copy.c (copy_usage, strip_usage): Add missing options.
7085
7086 * ar.c (usage): New function.
7087 (main): Call it.
7088 (open_inarch, do_quick_append): Print program name before calling
7089 bdf_perror.
7090
7091 Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com)
7092
7093 * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
7094
7095 Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com)
7096
7097 * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
7098 built binaries if they exist. (otherwise the path)
7099
7100 Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com)
7101
7102 * Makefile.in: Changed check target to use DejaGnu.
7103
7104 Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com)
7105
7106 * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
7107 objdump.c: a29k and i960 are `disassemble' not `print'.
7108
7109 * objdump.c: Rename print_address to objdump_print_address
7110 and change parameters.
7111 (disassemble_data): Use objdump_print_address.
7112
7113 Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7114
7115 * objdump.c (disassemble_data): print_insn_sparc is now a
7116 `disassemble' not a `print'.
7117 Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
7118
7119 * objdump.c (disassemble_data): Use new read_memory_func stuff.
7120
7121 Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
7122
7123 * objdump.c (fprintf): Declaration of variadic function had better
7124 be a prototype for ANSI C systems.
7125
7126 Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7127
7128 * Makefile.in: rename test-install to install-check
7129
7130 Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7131
7132 * objdump.c (disassemble_data): Add H8500.
7133
7134 Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com)
7135
7136 * objdump.c (usage): Mention long options.
7137
7138 Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com)
7139
7140 * nm.c: Modify behavior of -o flag for archives to match
7141 BSD4.4 and Sunos 4: Prefix archive name before each line.
7142
7143 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
7144 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
7145 * Makefile.in: Adjust accordingly.
7146 * objdump.c: Support new-style disassemblers (ones that use
7147 the interface of ../include/dis-asm.h).
7148
7149 Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com)
7150
7151 * Makefile.in: When making tar file, remove texinfo/*,
7152 except for texinfo/texinfo.tex.
7153 * ardup.c: Add extern declaration of strdup.
7154 * Makefile.in (testsuite): Add 'else true' since otherwise
7155 Ultrix /bin/sh complains.
7156
7157 Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com)
7158
7159 * Makefile.in: Set VERSION to 2.1.
7160 * README, NEWS: Updates.
7161 * nm.c: Add -v as a synonym for -V.
7162
7163 Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com)
7164
7165 * configure.in: added testsuite to configdirs.
7166 * Makefile.in: added support for building testsuite.
7167
7168 Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com)
7169
7170 * objdump.c (disassemble_data): Print function names when
7171 given by bfd_find_nearest_line. If not - still print
7172 line numbers.
7173
7174 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
7175
7176 * binutils/testsuite: made modifications to testcases, etc., to allow
7177 them to work properly given the reorganization of deja-gnu and the
7178 relocation of the testcases from deja-gnu to a "tool" subdirectory.
7179
7180 Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
7181
7182 * objdump.c (dump_data): Free up section contents each time
7183 through the loop. Reported by minyard@bnr.ca.
7184
7185 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
7186
7187 * binutils/testsuite: Initial creation of binutils/testsuite.
7188 Migrated dejagnu testcases and support files for testing nm to
7189 binutils/testsuite from deja-gnu. These files were moved "as is"
7190 with no modifications. This migration is part of a major overhaul
7191 of dejagnu. The modifications to these testcases, etc., which
7192 will allow them to work with the new version of dejagnu will be
7193 made in a future update.
7194
7195 Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com)
7196
7197 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
7198 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
7199 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
7200 and rule.
7201 * Makefile.in (PROGS): Add DEMANGLER_PROG.
7202
7203 Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
7204
7205 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
7206 macro rather than checking for equality to bfd_com_section.
7207
7208 Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7209
7210 * objdump.c (disassemble_data): Fix code to find first useless
7211 symbol.
7212
7213 Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7214
7215 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
7216 Don't core dump if bfd_find_nearest_line returns false.
7217
7218 Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7219
7220 * objdump.c (disassemble_data): know how to disassemble z8000s
7221 too.
7222
7223 Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com)
7224
7225 * arsup.h (interactive), bucomm.h (program_name): Prefix
7226 with 'extern', to avoid warnings from some compilers.
7227
7228 Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com)
7229
7230 * arparse.y: fix unnecessary shift/reduce
7231
7232 Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com)
7233
7234 * Makefile.in: Make check depend on all.
7235 * Makefile.in (distclean): Remove sysdep.h.
7236 * size.c: Use %u format where appropriate.
7237 * objdump.c: Standardize: L_SET -> SEEK_SET.
7238 * objdump.c: Use new macro bfd_asymbol_bfd.
7239 * configure.in: Allow std-host as the default ${mys_host}.
7240
7241 Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7242
7243 * Makefile.in: added dvi target, define and use TEXI2DVI
7244
7245 Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com)
7246
7247 * Makefile.in (dist): Fix permissions before release.
7248 * size.c: Use bfd_size_type (and long) where appropriate.
7249 * ar.c: Make writing a map the default, to be compatible
7250 with SYSV and Posix.2. Remove some bogus kludges that
7251 handled __.SYMDEF directly.
7252 * NEWS: New file.
7253
7254 Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7255
7256 * Makefile.in: flex no longer needs the -S flag
7257
7258 Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7259
7260 * ar.c (extract_file): utime needs a pointer to a utimbuf
7261
7262 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
7263 the list (since some of the bfd/hosts/*.h files include other
7264 files from that directory)
7265
7266 Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com)
7267
7268 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
7269
7270 Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com)
7271
7272 Clean up some old BFD ansification macros.
7273
7274 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
7275 It still remains as a local macro in gmalloc.c, which is derived
7276 from some other copy of GNU Malloc somewhere (FIXME).
7277
7278 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
7279 fns really static.
7280 * arsup.h: Declare extract_files.
7281
7282 Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com)
7283
7284 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
7285 use utime and utimbuf structure, otherwise if USE_UTIME use utime
7286 and array of two longs, otherwise use utimes.
7287
7288 Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com)
7289
7290 * binutils.tex: Document yesterday's changes to strip and copy.
7291
7292 Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com)
7293
7294 * copy.c: Re-do command-line parsing to use getopt_long().
7295 Add long option names. Re-think option letters to be more
7296 consistent.
7297 * copy.c: New function filter_symbols() for stripping only
7298 debug-symbols and/or local symbols. Use these to support
7299 the previously-missing options of the old FSF strip.
7300
7301 Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com)
7302
7303 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
7304 than repeating a copy of it here.
7305
7306 Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com)
7307
7308 * copy.c (main): Even if is_strip, accept -d argument indicating
7309 alternate output format. Needed by gdb for Nindy.
7310
7311 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
7312
7313 Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com)
7314
7315 * binutils.texi: added documentation for "copy"
7316
7317 Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
7318
7319 * Makefile.in (*clean rules): Some cleaning up.
7320 * Makefile.in (dist): Make diststuff in gprof for a dist.
7321
7322 * ar.c (do_show_version): New function.
7323 * ar.c (main): Fix so "ar -V" works.
7324
7325 Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7326
7327 * configure.in: now uses the cpu-vendor-os triple instead of
7328 nested cases.
7329
7330 Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com)
7331
7332 * i960-pinsn.c: Change bzero to memset.
7333 * sparc-pinsn.c: Change index to strchr.
7334
7335 Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com)
7336
7337 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
7338 operands to memory management instructions, from WRS.
7339
7340 Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com)
7341
7342 * Makefile.in (install): if $(tooldir) exists, install nm and
7343 strip in $(tooldir)/bin.
7344
7345 Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com)
7346
7347 * Makefile.in: Let's call it version 2.0.
7348
7349 Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com)
7350
7351 * Makefile.in: Bump to version 0.98.
7352 * TODO, README: Minor updates.
7353
7354 * Makefile.in: Added mostlyclean, distclean rules,
7355 and cleaned up clean, realclean.
7356
7357 Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com)
7358
7359 * Makefile.in: map program names through program_transform_name
7360 when installing.
7361
7362 Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com)
7363
7364 * Makefile.in: Bump to versions 1.97.90.
7365 * cplus-dem.c: Removed. Was nowhere used - and if some
7366 programs are changed to to demangling should now use the
7367 versions in libiberty.
7368
7369 Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com)
7370
7371 * configure.in: add we32k
7372
7373 Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7374
7375 * ar.c (map_over_members): if the element of the archive has a
7376 null name, fill it in.
7377
7378 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
7379 will be symbols and there aren't any.
7380
7381 Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com)
7382
7383 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
7384
7385 Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com)
7386
7387 * nm.c objdump.c: Added support for a +version (-V)
7388 to print the version number.
7389
7390 * ar.c, copy.c: Added support for a -V option to print
7391 the version number.
7392
7393 Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com)
7394
7395 * config/mh-apollo68v: removed -g from CC definition.
7396
7397 * Makefile.in: always create installation directories.
7398
7399 Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com)
7400
7401 * m68k-pinsn.c: Minor fix in style of output (don't use
7402 range to indicate floating point control registers).
7403
7404 Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com)
7405
7406 * ar.c (main): Don't *always* set the verbose flag!
7407
7408 Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com)
7409
7410 * copy.c: When is_strip (because it is invoked as the strip
7411 program), follow traditional argv processing:
7412 'strip file1 file2' now strips file1 and file2, rather
7413 than stripping file1 (as input), leaving output in file2.
7414
7415 Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com)
7416
7417 * objdump.c (display_info, display_info_table): Call
7418 bfd_set_format() on dummy bfd before using it (twice).
7419 * ar.c: Make sure archive is created on command 'r'
7420 even when no elements are inserted. (Clean up and
7421 simplify some non-working related code.)
7422
7423 Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
7424
7425 * configure.in: hppa support doesn't assume hp OS (from sef).
7426
7427 Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7428
7429 * configure.in: recognize hppa hosts (bsd & hpux), error messages
7430 to stderr, not stdout
7431
7432 Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7433
7434 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
7435 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
7436
7437 Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7438
7439 * Makefile.dos: removed rcsid.
7440
7441 Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7442
7443 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
7444
7445 Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
7446
7447 * Makefile.in: Add program_suffix (parallel to program_prefix)
7448
7449 Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
7450
7451 * nm.c (sorters): Lint. Remove excess whitespace.
7452
7453 Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com)
7454
7455 * nm.c (valueof macro): Add missing parentheses.
7456 (Their lack screwed up numeric_forward().)
7457
7458 Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
7459
7460 * objdump.c (dump_elf_stabs): Also dump .stab.index and
7461 .stab.excl sections.
7462 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
7463 * objdump.1, binutils.texi: Document new sections dumped.
7464
7465 Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
7466
7467 * size.c, objdump.c, bucomm.c: Lint.
7468
7469 Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
7470
7471 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
7472 .stab section from an ELF file. Installed under #ifdef
7473 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
7474 bfd-internals header files and such.
7475 * objdump.1, binutils.texi: Update for --stabs. Also fix
7476 objdump's doc to use -- rather than + for long options.
7477 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
7478
7479 Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7480
7481 * objdump.c(display_info), patches from
7482 mohring@informatik.tu-muenchen.de to print the table much more
7483 nicely.
7484
7485 Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com)
7486
7487 * objdump.c: Add another enum->int cast, for the sake of
7488 old compilers (such as PCC).
7489
7490 Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com)
7491
7492 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
7493 Add declaration of strdup().
7494
7495 Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com)
7496
7497 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
7498 rules, since these are used when building a distribution.
7499 * Makefile.in (arlex.c): Don't re-direct output, since that
7500 leaves a bogus output files if it fails.
7501
7502 * arlex.l: Make work with lex, for what it's worth.
7503 * Makefile.in: Better lex support.
7504 * Makefile.in (dist): Generate flex and bison outputs
7505 for distribution.
7506
7507 Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7508
7509 * Makefile.in: get BISON definition right.
7510
7511 Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com)
7512
7513 * sanity.sh: default TMPDIR to ".".
7514
7515 Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7516
7517 * binutils.texi: add doc for ar command language.
7518
7519 Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7520
7521 * arparse.y: make END call ar_end
7522 * arsup.c (ar_end): added, deletes temp file if archive session
7523 aborted.
7524
7525
7526 Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7527
7528 * Makefile.in: use bison & flex from ../ if they exist. Also,
7529 FLEX->LEX.
7530
7531 * sanity.sh: remove temporary directory when finished.
7532
7533 Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com)
7534
7535 * Makefile.in: Bump to version 1.97.
7536 * ar.c: Declare errno for machines that need it.
7537
7538 Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com)
7539
7540 * objdump.c (display_info): Handle error cases without coredump.
7541 Close the dummy temporary file we open in the loop.
7542 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
7543
7544 Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com)
7545
7546 * Makefile.in: added test-install target.
7547
7548 * sanity.sh: new file.
7549
7550 * Makefile.in: use sanity test on make check.
7551
7552 Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com)
7553
7554 * Makefile.in: rework CFLAGS so that they can be passed on the
7555 command line to make. Remove MINUS_G. Default CFLAGS to -g.
7556
7557 Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7558
7559 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
7560 scripting language.
7561
7562 Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com)
7563
7564 * Makefile.in: added check target.
7565
7566 Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com)
7567
7568 * Makefile.in: added clean-info target.
7569
7570 Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7571
7572 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
7573 installed. added tooldir and program_prefix.
7574
7575 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
7576
7577 * Makefile.in, configure.in: removed traces of namesubdir,
7578 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
7579 copyrights to '92, changed some from Cygnus to FSF.
7580
7581 Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
7582
7583 * Makefile.in: Bump version to 1.96, and remove -beta
7584 suffix from distribution name.
7585 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
7586 the signed value of a character (even if chars are unsigned).
7587 * sparc-pinsn.c: Add new operand types.
7588
7589 Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
7590
7591 * objdump.c (disassemble_data): don't print a section's contents
7592 if it's not loadable (eg bss)
7593
7594 Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
7595
7596 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
7597 displacements don't get printed as large +ve ones.
7598
7599 Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
7600
7601 * copy.c, nm.c, objdump.c, size.c : changed to use the
7602 new reloc scheme.
7603
7604
7605 Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
7606
7607 * bucomm.c (print_arelt_descr): Tweek the output format
7608 so that 'ar tv' output follows Posix 1003.2/D11.
7609 Output is now also identical to Sun's (except __.SYMDEF).
7610
7611 Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
7612
7613 * Makefile.in: Make `make' output more readable.
7614
7615 Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
7616
7617 * Makefile.in: Bump to version 1.94.
7618
7619 Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
7620
7621 * ar.c: added "b" to fopens for dos
7622 * configdj.bat, makefile.dos new files from DJ
7623
7624 Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7625
7626 * Makefile.in: infodir belongs in datadir.
7627
7628 Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
7629
7630 * bucomm.h: created to hold prototypes of bucomm.c
7631 * objdump.h: created to hold prototyes of objdump.c
7632 * am29k-pinsn.c: include objdump.h
7633 * ar.c: include bucomm.h, get ar.h from the right place and
7634 include libbfd.h
7635 * bucomm.c: defunize bfd_fatal
7636 * copy.c: include bucomm.h, lint.
7637 * i960-pinsn.h: include bucomm.h
7638 * m68k-pinsn.h: lint
7639 * nm.c: include bucomm.h, lint
7640 * objdump.c: lint
7641 * sparc-pinsn.c: include objdump.h
7642
7643
7644
7645 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7646
7647 * Makefile.in: added standards.text support. install using
7648 INSTALL_PROGRAM and INSTALL_DATA.
7649
7650 * configure.in: configure now does all of it's work from objdir so
7651 make file existence tests against ${srcdir}.
7652
7653 Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7654
7655 * Makefile.in: idestdir and ddestdir go away. Added copyrights
7656 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
7657 and mandir now keyed off datadir by default.
7658
7659 Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
7660
7661 * Makefile.in: Bump to version 1.93.
7662 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
7663 for make versions that provide half-baked VPATH-support (e.g. Sun's).
7664 * size.c: Improvements suggested by
7665 "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
7666 - Don't emit (Berkeley) headers if no files were found.
7667 - Return a non-zero return code on failure.
7668
7669 Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
7670
7671 Changes due to include file renaming:
7672 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
7673 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
7674 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
7675 * nm.c: stab.gnu.h -> aout/stab_gnu.h
7676
7677 Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
7678
7679 * README: Mention MINIMIZE flag for bfd's make.
7680
7681 Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
7682
7683 * README: Various improvements.
7684
7685 Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
7686
7687 * Makefile.in: Bump to version 1.92.
7688 * version.c, Makefile.in: Get version string from Makefile.
7689 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
7690 Make the same change that we earlier did for ar/ranlib:
7691 Generate two different binaries for strip and copy and use
7692 a global variable with different values to distinguish
7693 ostrip from copy. (-1 means to use argv[0] to decide,
7694 so you can get the old behavior, but it is no longer the default).
7695 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
7696 * copy.c (main): If is_strip==-1, compare last 5 chars
7697 of argv[0], not the whole path.
7698 * copy.c (main): Return 0, not 1.
7699 * copy.c (setup_sections): Fix due to change in bfd_make_section
7700 now failing if asked for a duplicate section.
7701 * strip.c, ostrip.c: Removed obsolete files.
7702 * ar.c, not-ranlib.c, maybe-ranlib.c:
7703 Change encoding of is_ranlib variable to be consistent
7704 with is_strip for strip.copy (i.e -1 to means use argv[0]).
7705
7706 Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
7707
7708 * version.c (program_version): Update to version 1.92.
7709
7710 Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
7711
7712 * ar.c (get_pos_bfd): Previous fix was missing a "break".
7713
7714 Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
7715
7716 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
7717 encodings. (Thaks to David Wood)
7718
7719 Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
7720
7721 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
7722 * ar.c (get_pos_bfd): Fix to handling of before/after
7723 positioning options.
7724 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
7725 since libiberty contains vfprintf etc if otherwise missing.
7726 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
7727 type operands, as used by branch instructions.
7728 * nm.c: Delegate printing of symbols to BFD,
7729 by using bfd_print_symbol to do the formatting.
7730
7731 Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
7732
7733 * ar.c (write_archive.c): added unlink before rename since some
7734 systems can't rename onto an existant file.
7735
7736 Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
7737
7738 * nm.c: now doesn't crash if a symbol with no section and no
7739 SEC_ABS appears.
7740
7741 Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
7742
7743 * Makefile.in, version.c: Bump to version 1.91.
7744
7745 Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
7746
7747 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
7748 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
7749 * strip.c: Add or update Copyright notice.
7750 * TODO: Add note on 'nm -a'.
7751 * version.c: Update version number to 1.90.
7752 * Makefile.in: Fix making of documentation for dist.
7753
7754 Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
7755
7756 * README: New file.
7757 * Makefile.in: New kludgy rules for making a tarfile.
7758 * Makefile.in: Fix bindir path.
7759
7760 Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
7761
7762 * Makefile.in: add targets binutils.mm, binutils.me
7763
7764 Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
7765
7766 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
7767
7768 Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
7769
7770 * Makefile.in: add target "binutils.ms"
7771
7772 * binutils.texinfo: minor restructuring for texi2roff comfort.
7773
7774 Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
7775
7776 Restructure configuration scheme for bfd, binutils, ld.
7777
7778 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
7779 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
7780 Change some config names to match other dirs.
7781 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
7782 get defined first.
7783 * Makefile.in: Use -I. to get sysdep.h.
7784
7785 Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
7786
7787 * nm.c (print_symbols): Handle NULL name field of symbol.
7788 * Makefile.in: Removed spurious comment.
7789
7790 Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
7791
7792 * binutils.texinfo: minor typos, phrasing, formatting fixes.
7793
7794 Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
7795
7796 * configure.in: Get host file from ../bfd/config, not config.
7797 * config/*: Remove config directory and its files.
7798
7799 Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
7800
7801 * Makefile.in: new targets binutils.dvi, binutils.info
7802
7803 * binutils.texinfo: remove most remaining FIXME's, delete
7804 references to __.SYMDEF by name
7805
7806
7807 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
7808
7809 * objdump.c (print_address) Print addresses nicely.
7810
7811 Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
7812
7813 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
7814 Make two different binaries for ar and ranlib, instead of
7815 distinguishing them at run time using argv[0].
7816 (Old behavior is still available if you "make ar_with_ranlib",
7817 but it is not the default.)
7818 * ranlib.sh (new): An alternative one-line
7819 shell implementation of ranlib.
7820
7821 Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
7822
7823 * objdump.c: Cope with renames of a few BFD types & enums.
7824
7825 Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
7826
7827 * binutils.texinfo: add new file (rudimentary docn)
7828
7829 Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
7830
7831 * config/hmake-news: Add new file (for Sony NEWSOS3).
7832 * bucomm.c (fatal): Conditionally compile fatal() depending on
7833 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
7834 * objdump.c (dump_headers): Trivial output format change.
7835 * objdump.c (display_info): Loop over integers, not enums,
7836 to appease old compilers.
7837
7838 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
7839
7840 *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit
7841 object files.
7842
7843 Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
7844 from bother
7845 * objdump.c (print_address): Make disasembled output more
7846 consistent with gdb and as: Add 0x when printing hex.
7847 Don't print extra leading zeros.
7848 Attempt to not print "filename.o".
7849 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
7850
7851
7852 Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
7853
7854 * copy.c: Change =& constructs to = &, since they confuse older
7855 C compilers.
7856
7857 \f
7858 Local Variables:
7859 mode: change-log
7860 left-margin: 8
7861 fill-column: 74
7862 version-control: never
7863 End:
This page took 0.243673 seconds and 5 git commands to generate.