OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [binutils/] [ChangeLog-9197] - Blame information for rev 258

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
Mon Dec 29 16:58:05 1997  Ian Lance Taylor  
2
 
3
        From Matthew Bellantoni :
4
        * ar.c (get_pos_bfd): Add default_posname parameter.  Change all
5
        callers.
6
        (replace_members): Default to replacing in the same position.
7
 
8
Mon Dec 22 11:27:22 1997  Ian Lance Taylor  
9
 
10
        * rclex.l: Don't permit a comma in a STRING.
11
        * rcparse.y (acc_entry): Warn if an inappropriate modifier is used
12
        with a non VIRTKEY.
13
        (acc_event): For a control character, set VIRTKEY, and force the
14
        character to uppercase.
15
        (acc_options): Don't require a comma separator.
16
 
17
Tue Dec  9 13:25:42 1997  Michael Meissner  
18
 
19
        * size.c (size_number): New function to provide size of field.
20
        ({l,r}print_number): For octal and hex fields, print field using
21
        '0' and '0x' suffixes.  Do not include following tab.
22
        (sysv_internal_sizer): Size section name, section size, and vma
23
        address fields.
24
        (sysv_internal_printer): Use calculated sizes for the columns.
25
        (print_sysv_format): Size columns before printing.
26
        (print_berkeley_format): Print tabs between numbers now that
27
        {l,r}print_number doesn't.  Print fields right justified.
28
 
29
Mon Dec  8 11:22:04 1997  Nick Clifton  
30
 
31
        * objdump.c (objdump_print_addr_with_sym): Remove call to
32
        disasm_symaddr() as this function no longer exists.
33
 
34
Tue Dec  2 10:23:50 1997  Nick Clifton  
35
 
36
        * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
37
        to allow backend to know which symbol has just been displayed.
38
 
39
Tue Dec  2 13:06:46 1997  Ian Lance Taylor  
40
 
41
        * windres.h (ESCAPE_*): Define standard escape sequences.
42
        * rclex.l (handle_quotes): Handle standard escape sequences.  Warn
43
        about an unrecognized escape character.
44
        * windres.c (unicode_print): Print standard escape sequences.
45
        * rcparse.y (acc_event): Initialize $$.next.
46
        * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
47
        MENUITEM_ENDMENU in the menu item flags.
48
        (bin_to_res_accelerators): Allocate a structure (the old code
49
        never worked).
50
        (res_to_bin_accelerator): Correct the test for setting ACC_LAST.
51
        (res_to_bin_dialog): Save the extended style rather than saving
52
        the style twice.  Remove useless shadowing length variable.  Set
53
        the length of control data correctly.
54
        * resrc.c (write_rc_dialog): Don't print the class or menu if the
55
        string length is zero.
56
 
57
Mon Nov 24 18:52:43 1997  Andreas Schwab  
58
 
59
        * stabs.c (parse_stab_argtypes): Don't try to parse the name of a
60
        destructor as mangled argument types.
61
 
62
Mon Nov 10 17:51:41 1997  Gavin Koch  
63
 
64
        * addr2line.c (translate_addresses): Use bfd_scan_vma rather
65
        than strtol to scan addresses.
66
 
67
Sun Nov  9 11:01:31 1997  Jeffrey A Law  (law@cygnus.com)
68
 
69
        * Makefile.am (bin_PROGRAMS): Don't use line continuations here.
70
 
71
Tue Nov  4 11:56:14 1997  Ian Lance Taylor  
72
 
73
        * objcopy.c (copy_section): Don't crash if there is no particular
74
        information for a section.
75
 
76
Mon Nov  3 12:36:19 1997  Ian Lance Taylor  
77
 
78
        * objcopy.c (parse_flags): Make flag check case insensitive.
79
        Check for `contents' flag.  Give an error for unrecognized flags.
80
        (copy_section): If the contents flag was set for a section that
81
        had no contents, zero out the new contents.
82
        * binutils.texi (objcopy): Document contents section flag.
83
 
84
Sun Nov  2 14:49:56 1997  Ian Lance Taylor  
85
 
86
        * objcopy.c: Move new struct and variable definitions to top of
87
        file.  Remove obsolete add_strip_symbol and is_strip_symbol
88
        declarations.  Add prototype declarations for add_specific_symbol
89
        and is_specified_symbol.
90
 
91
Mon Oct 20 15:31:43 1997  Klaus K"ampf  
92
 
93
        * configure.com (HAVE_SBRK): Undefine.
94
 
95
Tue Oct 14 16:14:35 1997  Nick Clifton  
96
 
97
        * objdump.c (objdump_symbol_at_address): New function.  Returns
98
        true if a symbol can be found at the address passed in.
99
        (disassemble_data): Set the symbol_at_address_func field to point
100
        to objdump_symbol_at_address.
101
 
102
Fri Oct 10 14:13:09 1997  Richard Henderson  
103
 
104
        * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
105
        than "privatize".  Update all references.
106
 
107
Thu Oct  9 15:57:29 1997  Ian Lance Taylor  
108
 
109
        * binutils.texi (strip): Remove duplicate --target.  From Marty
110
        Leisner .
111
 
112
        * nm.c (lineno_cache_bfd): New file static variable.
113
        (lineno_cache_rel_bfd): New file static variable.
114
        (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
115
        when closing a BFD.
116
        (display_file): Likewise.
117
        (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
118
        instead of cache_bfd and cache_rel_bfd.  Make seccount static, and
119
        only set it when setting relocs.
120
 
121
Wed Oct  8 21:19:11 1997  Richard Henderson  
122
 
123
        * objcopy.c (keep_specific_list, privatize_specific_list,
124
        weaken_specific_list): New variables.
125
        (keep_symbols): Removed.
126
        (add_specific_symbol): New function from the carcas of
127
        add_strip_symbol.  Takes a list as an argument.
128
        (is_specified_symbol): Likewise from is_strip_symbol.
129
        (filter_symbols): Honor the new privatize and weaken lists.
130
        Optimize bfd_asymbol_name handling.
131
        (copy_object, copy_options, copy_usage): Add privatize-symbol &
132
        weaken-symbol options.
133
 
134
        * objcopy.1, binutils.texi: Update docs.
135
 
136
Sun Oct  5 09:05:44 1997  Frank Ch. Eigler  
137
 
138
        * objdump.c (disassemble_data): Make "--prefix-addresses"
139
        disassembly adjust to mixed-length instructions.
140
        (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
141
        symbol-offsets in disassembly.
142
 
143
Fri Oct  3 12:04:25 1997  Ian Lance Taylor  
144
 
145
        * objcopy.c (set_times): New static function, replacing
146
        make_same_dates.
147
        (strip_main): If preserve_dates, stat the input file before
148
        copying it, and call set_times afterward.
149
        (copy_main): Likewise.
150
 
151
        * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
152
        char * when calling strcpy and strlen.
153
 
154
Wed Sep 24 11:34:05 1997  Ian Lance Taylor  
155
 
156
        * binutils.texi (ar cmdline): Document that q now works like r.
157
        From Marty Leisner .
158
 
159
        * binutils.texi (size): The object file argument is optional.
160
        From Marty Leisner .
161
 
162
        * aclocal.m4: Rebuild with new libtool.
163
        * configure: Rebuild.
164
 
165
Tue Aug 26 17:48:34 1997  Ian Lance Taylor  
166
 
167
        * Makefile.am (EXEEXT_FOR_BUILD): New variable.  Use it in all
168
        references to the sysinfo program.
169
        * configure.in: Rebuild with new bfd/acinclude.m4.
170
        * Makefile.in: Rebuild.
171
 
172
Fri Aug  8 15:32:49 1997  Ian Lance Taylor  
173
 
174
        * windres.c: Include .
175
        (define_resource): Set a timestamp for the resource.
176
 
177
Wed Aug  6 13:37:58 1997  Ian Lance Taylor  
178
 
179
        * configure.in: Define TARGET in header file.
180
        * acconfig.h (TARGET): Add #undef.
181
        * Makefile.am (version.o, bucomm.o): Remove special targets.
182
        * bucomm.c (target): Remove.
183
        * nm.c (program_name): Don't declare.
184
        (target): Make static.
185
        * size.c (target): Make static.
186
        * configure, config.in, Makefile.in: Rebuild.
187
 
188
Tue Aug  5 00:01:41 1997  Ian Lance Taylor  
189
 
190
        * Makefile.am (check-DEJAGNU): Export r.
191
        (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
192
        * Makefile.in: Rebuild.
193
 
194
        * nlmheader.y: Use VERSIONK rather than VERSION.
195
 
196
        * Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
197
        (NM_PROG): Change from nm.new to nm-new.
198
        (TOOL_PROGS, install-exec-local): Adjust accordingly.
199
        * Makefile.in: Rebuild.
200
 
201
Mon Aug  4 11:47:31 1997  Ian Lance Taylor  
202
 
203
        * configure.in: Remove AC_ARG_PROGRAM; it's invoked by
204
        AM_INIT_AUTOMAKE.
205
        * configure: Rebuild.
206
 
207
        * Makefile.am (install-exec-local): Create $(tooldir)/bin before
208
        trying to install anything into it.
209
        * Makefile.in: Rebuild.
210
 
211
        * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
212
        (install-exec-local): When handling $(noinst_PROGRAMS), only use
213
        $(EXEEXT) on the installed file.  When handling $(TOOL_PROGS),
214
        handle $(EXEEXT) correctly.
215
        * configure.in: Add an explicit $(EXEEXT) when substituting for
216
        the name of a program to build.
217
        * Makefile.in, configure: Rebuild.
218
 
219
        * aclocal.m4, configure, Makefile.in: Rebuild with new automake
220
        patches.
221
 
222
        * deflex.l, defparse.y: Use VERSIONK rather than VERSION.
223
        * rclex.l, rcparse.y: Likewise.
224
        * Makefile.am (windres_SOURCES): Add $(BULIBS).
225
        * Makefile.in: Rebuild.
226
 
227
Fri Aug  1 13:08:39 1997  Ian Lance Taylor  
228
 
229
        * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
230
        * aclocal.m4, configure: Rebuild with new libtool.
231
 
232
Thu Jul 31 11:51:35 1997  Ian Lance Taylor  
233
 
234
        * Makefile.am: New file, based on old Makefile.in.
235
        * acinclude.m4: New file, from old aclocal.m4.
236
        * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
237
        shared library handling; now handled by libtool.  Replace
238
        AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
239
        AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
240
        AM_EXEEXT.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.  Remove
241
        stamp-h handling in AC_OUTPUT.
242
        * acconfig.h: Mention PACKAGE and VERSION.
243
        * stamp-h.in: New file.
244
        * Makefile.in: Now built with automake.
245
        * aclocal.m4: Now built with aclocal.
246
        * config.in, configure: Rebuild.
247
 
248
        From Ton van Overbeek :
249
        * rcparse.y (dialog): Default menu and class to be named.
250
        (styles): If FONT is seen, set DS_SETFONT in dialog style.
251
        * resbin.c (res_to_bin_dialog): Correct computation of font
252
        information length.
253
 
254
Wed Jul 30 11:21:06 1997  Ian Lance Taylor  
255
 
256
        From Ton van Overbeek :
257
        * resbin.c (res_to_bin_menu): Correct computation of menu
258
        vs. menuex length.
259
        * resrc.c (define_stringtable): Add 1 to resource ID.
260
 
261
Tue Jul 29 11:06:03 1997  Ian Lance Taylor  
262
 
263
        * resbin.c (bin_to_res_string): Correct adjustment of data and
264
        length.  From Ton van Overbeek .
265
 
266
Tue Jul 22 18:01:23 1997  Ian Lance Taylor  
267
 
268
        * nlmconv.c (link_inputs): Call libiberty pexecute function.
269
        (pexecute) [multiple versions]: Remove.
270
 
271
Tue Jul 22 16:19:34 1997  Robert Hoehne 
272
 
273
        * bucomm.c (make_tempname): If we might be using a DOS filesystem,
274
        check for a backslash as well as a slash.
275
 
276
Thu Jun 26 13:53:17 1997  Ian Lance Taylor  
277
 
278
        * windres.c (main): Quit if we didn't get any resources.
279
        (usage): Fix --yydebug usage message.
280
        * rescoff.c (write_coff_file): Don't free the relocation array
281
        until after we've closed the BFD.
282
        (read_coff_rsrc): Quit rather than try to read standard input.
283
        (write_coff_file): Quit rather than try to write to standard
284
        output.
285
        * rcparse.y: Add a couple of missing semicolons (accepted by bison
286
        but not byacc).
287
        * binutils.texi: Document windres.
288
 
289
Wed Jun 25 20:57:06 1997  Ian Lance Taylor  
290
 
291
        * resbin.c: New file.
292
        * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
293
        Numerous fixes and improvements.
294
        * Makefile.in: Rebuild dependencies.
295
        (CFILES): Add resbin.c.
296
        (WINDRES_OBJS): Add resbin.o.
297
 
298
Sun Jun 22 17:29:41 1997  Ian Lance Taylor  
299
 
300
        First stab at Windows resource compiler:
301
        * windres.h: New file.
302
        * windres.c: New file.
303
        * resrc.c: New file.
304
        * rcparse.y: New file.
305
        * rclex.l: New file.
306
        * rescoff.c: New file.
307
        * configure.in: Define and substitute BUILD_WINDRES.
308
        * configure: Rebuild.
309
        * Makefile.in: Rebuild dependencies.
310
        (WINDRES_PROG): New variable.
311
        (PROGS): Add @BUILD_WINDRES@.
312
        (HFILES): Add dlltool.h and windres.h.
313
        (CFILES): Add windres.c and resrc.c.
314
        (GENERATED_CFILES): Add rcparse.c and rclex.c.
315
        (WINDRES_OBJS): New variable.
316
        $(WINDRES_PROG): New target.
317
        (rcparse.c, rcparse.h, rclex.c): New targets.
318
 
319
Thu Jun 12 12:27:51 1997  Ian Lance Taylor  
320
 
321
        * dlltool.c (export_type): Add data field.
322
        (def_exports): Add data parameter.  Change all callers.
323
        (dump_def_info): Print data field.
324
        (gen_def_file): Likewise.
325
        (make_one_lib_file): Handle data field by not emitting simple
326
        label and not emitting anything in SEC_TEXT.
327
        (dtab): Print data field.
328
        (process_duplicates): Merge data field.
329
        * dlltool.h (def_exports): Update declaration.
330
        * defparse.y (expline): Accept opt_DATA.  Pass it to def_exports.
331
        (opt_DATA): New non-terminal.
332
 
333
Wed Jun 11 17:15:47 1997  Ian Lance Taylor  
334
 
335
        * dlltool.h: New file.
336
        * deflex.l: Include dlltool.h and libiberty.h.  Don't declare
337
        strdup.  Use xstrdup rather than strdup.
338
        * defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
339
        * dlltool.c: Include dlltool.h and time.h.  Make a lot of
340
        variables and functions static.  Make a lot of char * variables
341
        and parameters const.  Add declarations for static functions.  Do
342
        some reindenting.  Hide more PowerPC stuff inside DLLTOOL_PPC.
343
 
344
Wed Jun 11 12:05:52 1997  H.J. Lu  
345
 
346
        * ar.c (bfd_special_undocumented_glue): Add const.
347
 
348
Mon May 12 22:09:35 1997  Bob Manson  
349
 
350
        * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
351
        to runtest.
352
 
353
Mon May 12 13:14:22 1997  Ian Lance Taylor  
354
 
355
        * configure.in: Don't clear OPCODES when --enable-commonbfdlib is
356
        used on HP/UX.
357
        * configure: Rebuild.
358
 
359
Fri Apr 25 14:22:08 1997  H.J. Lu  
360
 
361
        * Makefile.in (maintainer-clean realclean): Change *.info*
362
        to binutils.info* to save sysroff.info.
363
 
364
Tue Apr 15 13:42:22 1997  Ian Lance Taylor  
365
 
366
        * Makefile.in (INSTALL): Set to @INSTALL@.
367
        (INSTALL_XFORM, INSTALL_XFORM1): Remove.
368
        (install): Depend upon installdirs.  Use $(program_transform_name)
369
        directly, rather than using $(INSTALL_XFORM) and
370
        $(INSTALL_XFORM1).
371
        (installdirs): New target.
372
        (install-info): Run mkinstalldirs.
373
 
374
Mon Apr 14 11:52:39 1997  Ian Lance Taylor  
375
 
376
        * Makefile.in (INSTALL): Change install.sh to install-sh.
377
 
378
        From Thomas Graichen :
379
        * Makefile.in: Always use $(SHELL) when running move-if-change.
380
        * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
381
        * configure: Rebuild.
382
 
383
Fri Apr  4 13:28:02 1997  Ian Lance Taylor  
384
 
385
        * configure.in: Add AC_FUNC_ALLOCA.
386
        * configure, config.in: Rebuild.
387
        * bucomm.h: Add alloca handling, copied from gas/as.h.
388
        * dlltool.c: Add #pragma alloca for AIX to start of file.
389
        * nlmconv.c: Likewise.
390
 
391
        * Makefile.in (distclean): Remove site.exp and site.bak.  Remove
392
        everything that clean removes.
393
 
394
Thu Apr  3 13:18:39 1997  Ian Lance Taylor  
395
 
396
        * Makefile.in (VERSION): Set to 2.8.1.
397
 
398
        * Branched binutils 2.8.
399
 
400
Tue Apr  1 16:21:44 1997  Klaus Kaempf  
401
 
402
        * configure.com: New file.
403
        * config.h-vms: Remove file.
404
        * makefile.vms: Update for new configure scheme.
405
 
406
Mon Mar 31 15:30:43 1997  Philippe De Muyter  
407
 
408
        * objcopy.c (make_same_dates): Use statbuf, not buf, if not
409
        HAVE_GOOD_UTIME_H.
410
 
411
Fri Mar 28 17:57:53 1997  Alan Modra  
412
 
413
        * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
414
        * configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
415
        set OPCODES to empty.
416
        * configure: Rebuild.
417
 
418
Thu Mar 27 16:03:02 1997  Ian Lance Taylor  
419
 
420
        Based on patch from Marty Leisner :
421
        * objcopy.c: Include  or .
422
        (strip_options): Add "preserve-dates".
423
        (copy_options): Likewise.
424
        (copy_usage): Mention -p and --preserve-dates.
425
        (strip_usage): Likewise.
426
        (make_same_dates): New static function.
427
        (strip_main): Handle -p.
428
        (copy_main): Likewise.
429
        * binutils.texi, strip.1, objcopy.1: Document new option.
430
 
431
        addr2line.c contributed by Ulrich Lauther
432
        :
433
        * addr2line.c: New file.
434
        * Makefile.in: Rebuild dependencies.
435
        (ADDR2LINE_PROG): New variable.
436
        (MANPAGES): Add addr2line.
437
        (PROGS): Add $(ADDR2LINE_PROG).
438
        (CFILES): Add addr2line.c.
439
        ($(ADDR2LINE_PROG)): New target.
440
        * binutils.texi: Document addr2line.
441
        * addr2line.1: New file.
442
 
443
        * version.c (print_version): Update copyright date.
444
 
445
Mon Mar 24 10:52:45 1997  Andreas Schwab  
446
 
447
        * objdump.c (disassemble_data): Don't exit if a file cannot be
448
        disassembled, instead just return.
449
 
450
Thu Mar 20 21:16:51 1997  Jeffrey A Law  (law@cygnus.com)
451
 
452
        * size.c (usage): Make definition match its prototype.
453
        (display_bfd, lprint_number, rprint_number): Likewise.
454
        (print_berkeley_format, sysv_internal_printer): Likewise.
455
        (print_sysv_format): Likewise.
456
        * nm.c (set_print_radix, set_output_format): Likewise.
457
        * objcopy.c (filter_bytes): Likewise.
458
 
459
Tue Mar 18 16:39:55 1997  H.J. Lu  
460
 
461
        * Many files: Add function prototypes.
462
        * ar.c (mri_emul, get_pos_bfd): Make static.
463
        * arlex.l: Include "libiberty.h".  Don't declare strdup.  Use
464
        xstrdup rather than strdup.
465
        * arparse.y (yyerror): Make argument const.  Correct typo.
466
        * arsup.c (strdup): Don't declare.
467
        (ar_save): Use xstrdup rather than strdup.
468
        * filemode.c: Include "bucomm.h".
469
        * nm.c (usage): Make static.
470
        (print_symname): Make format and name const.
471
        * objcopy.c (cat): Remove.
472
        (copy_archive): Make output_target const.  Use concat, not cat.
473
        (copy_file, simple_copy, smart_rename): Make arguments const.
474
        * objdump.c (read_section_stabs): Likewise.
475
        (print_section_stabs): Likewise.
476
        (display_target_tables): Don't declare getenv.
477
        * strings.c (strings_object_file): Change file to const.
478
        (print_strings): Change filename to const.
479
        * Makefile.in: Rebuild dependencies.
480
 
481
Tue Mar 18 11:37:24 1997  Ian Lance Taylor  
482
 
483
        * configure.in: Add BFD_NEED_DECLARATION(getenv).
484
        * acconfig.h: Add NEED_DECLARATION_GETENV.
485
        * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
486
        * configure, config.in: Rebuild.
487
        * nlmconv.c (getenv): Don't declare.
488
 
489
        * Makefile.in: Rebuild dependencies.
490
 
491
Sat Mar 15 15:35:56 1997  Ian Lance Taylor  
492
 
493
        Based on patches from Jamie Lokier :
494
        * objdump.c: Include "demangle.h".
495
        (do_demangle): New static variable.
496
        (usage): Mention -C/--demangle.
497
        (long_options): Add "demangle".
498
        (objdump_print_symname): New static function.
499
        (objdump_print_addr_with_sym): Use objdump_print_symname.
500
        (disassemble_bytes): Likewise.
501
        (dump_reloc_set): Likewise.
502
        (dump_symbols): Demangle symbol name.
503
        (main): Handle -C.
504
        * binutils.texi, objdump.1: Document -C/--demangle.
505
 
506
        * objdump.c (usage): Mention --no-show-raw-insn.
507
        (long_options): Add "no-show-raw-insn".
508
        (disassemble_bytes): Handle --no-show-raw-insn.
509
        * binutils.texi, objdump.1: Document --no-show-raw-insn.
510
 
511
Wed Mar 12 11:42:00 1997  Andreas Schwab  
512
 
513
        * rddbg.c (free_saved_stabs): Set the strings to NULL after being
514
        freed.
515
 
516
Fri Feb 28 17:18:45 1997  Ian Lance Taylor  
517
 
518
        * bucomm.c (set_default_bfd_target): New function.
519
        * bucomm.h (set_default_bfd_target): Declare.
520
        * ar.c (main): Call set_default_bfd_target.
521
        * nlmconv.c (main): Likewise.
522
        * nm.c (main): Likewise.
523
        * objcopy.c (main): Likewise.
524
        * objdump.c (main): Likewise.
525
        * size.c (main): Likewise.
526
        * strings.c (main): Likewise.
527
        * Makefile.in (bucomm.o): New target, to define TARGET.
528
 
529
Tue Feb 25 21:28:38 1997  Ian Lance Taylor  
530
 
531
        * objdump.c (adjust_section_vma): New static variable.
532
        (usage): Mention --adjust-section-vma.
533
        (OPTION_ADJUST_VMA): Define.
534
        (long_options): Add "addjust-vma".
535
        (display_bfd): If adjust_section_vma is not 0, add it to all the
536
        section addresses.
537
        (main): Handle OPTION_ADJUST_VMA.
538
        * binutils.texi, objdump.1: Document --adjust-vma.
539
 
540
Fri Feb 14 18:46:47 1997  Ian Lance Taylor  
541
 
542
        * nm.c (print_symbol): Cache the BFD as well as the symbols and
543
        relocs, and don't try to use the symbols or relocs with a
544
        different BFD.
545
 
546
Thu Feb 13 21:34:43 1997  Klaus Kaempf  (kkaempf@progis.de)
547
 
548
        * config.h-vms: sbrk() is provided on openVMS/Alpha.
549
        * makefile.vms: allow compiling with current gcc snapshot.
550
 
551
Thu Feb 13 20:14:40 1997  Ian Lance Taylor  
552
 
553
        * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
554
        than malloc.
555
 
556
Wed Feb 12 16:12:02 1997  Ian Lance Taylor  
557
 
558
        * objdump.c (disassemble_data): Correct VMA argument to
559
        find_symbol_for_address.  Improve handling of code with no symbol
560
        followed by code with a symbol.
561
 
562
Wed Feb 12 12:16:47 1997  Andreas Schwab  
563
 
564
        * objdump.c (disassemble_bytes): Make output of raw instructions
565
        work better for non-standard values of bytes_per_chunk and
566
        bytes_per_line.
567
 
568
Thu Feb  6 14:14:59 1997  Martin M. Hunt  
569
 
570
        * objdump.c (disassemble_bytes): Added code to allow some control
571
        over the way raw instructions are displayed.
572
 
573
Thu Feb  6 12:36:03 1997  Ian Lance Taylor  
574
 
575
        * stabs.c (struct bincl_file): Add next_stack field.
576
        (push_bincl): Put the new file on both bincl_list and
577
        bincl_stack.  Clear the file_types field.
578
        (pop_bincl): Use the next_stack field when popping the stack.
579
        Don't put the file on bincl_list.
580
        (find_excl): Include the file name when warning about an unfound
581
        N_EXCL.
582
 
583
        * debug.c (debug_type_samep): Don't crash if we are passed NULL.
584
 
585
Thu Feb  6 11:54:24 1997  Alan Modra  
586
 
587
        * objcopy.1: Add missing space after .B.
588
 
589
Fri Jan 31 10:33:07 1997  Andreas Schwab  
590
 
591
        * objdump.c (disassemble_data): Initialize `aux.require_sec'.
592
 
593
Wed Jan 29 13:21:21 1997  Ian Lance Taylor  
594
 
595
        * objdump.c (objdump_print_value): Add skip_zeroes parameter.
596
        Change all callers.
597
        (objdump_print_addr_with_sym): Likewise.  Call objdump_print_value
598
        to print address.
599
        (objdump_print_addr): New static function.
600
        (objdump_print_address): Just call objdump_print_addr.
601
        (disassemble_bytes): Print real address, not function offset.
602
        Skip a certain number of leading zeroes.
603
 
604
        * objdump.c (disassemble_zeroes): New static variable.
605
        (usage): Mention --disassemble-zeroes.
606
        (long_options): Add "disassemble-zeroes".
607
        (disassemble_bytes): Check disassemble_zeroes.
608
 
609
Tue Jan 28 16:47:26 1997  Ian Lance Taylor  
610
 
611
        * objdump.c (disassemble_bytes): Don't skip zeroes if the
612
        disassembler has told us that we are in a branch delay slot.
613
 
614
Mon Jan 20 14:24:04 1997  Ian Lance Taylor  
615
 
616
        * size.c (berkeley_sum): Rewrite.  Skip sections which are not
617
        SEC_ALLOC.  Count SEC_READONLY sections as text.
618
 
619
Tue Jan 14 15:14:14 1997  Ian Lance Taylor  
620
 
621
        * Makefile.in (maintainer-clean realclean): Remove *.info*, not
622
        just *.info.  From H.J. Lu .
623
 
624
Tue Dec 31 15:42:54 1996  Ian Lance Taylor  
625
 
626
        * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
627
 
628
Fri Dec 27 11:19:26 1996  Ian Lance Taylor  
629
 
630
        * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
631
        * configure: Rebuild.
632
 
633
Thu Dec 19 13:11:20 1996  Ian Lance Taylor  
634
 
635
        Based on patch from Andrew J Klossner :
636
        * objcopy.c (OPTION_WEAKEN): Define.
637
        (copy_options): Add "weaken".
638
        (copy_usage): Mention --weaken.
639
        (weaken): New static variable.
640
        (filter_symbols): Handle weaken.
641
        (copy_object): Call filter_symbols if weaken.
642
        (copy_main): Handle OPTION_WEAKEN.
643
        * binutils.texi, objcopy.1: Document --weaken.
644
 
645
Wed Dec 18 22:49:13 1996  Stan Shebs  
646
 
647
        * mpw-make.sed: Use NewFolderRecursive for installation.
648
 
649
Sat Dec  7 10:17:25 1996  Jeffrey A Law  (law@cygnus.com)
650
 
651
        * Makefile.in (install): Add "else true" clause to cater to
652
        broken "make" on some systems.
653
 
654
Fri Dec  6 17:21:41 1996  Ian Lance Taylor  
655
 
656
        * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
657
        warning about uninitialized variable.
658
        (ieee_read_cxx_class): Likewise, for pf.
659
        (ieee_enum_type): Likewise, for i.
660
 
661
Tue Nov 26 17:01:25 1996  Ian Lance Taylor  
662
 
663
        * wrstabs.c (stab_array_type): Add casts when printing
664
        bfd_signed_vma values.
665
 
666
        * configure: Rebuild with autoconf 2.12.
667
 
668
Mon Nov 25 16:53:18 1996  Ian Lance Taylor  
669
 
670
        * objdump.c (disassemble_data): Don't crash if there is no
671
        symbol.
672
 
673
Fri Nov 22 17:29:14 1996  Andreas Schwab  
674
 
675
        * ar.c (open_inarch): Don't call bfd_openr with a null name.
676
 
677
Fri Nov  1 12:08:13 1996  Ian Lance Taylor  
678
 
679
        * binutils.texi: Add section on reporting bugs.
680
 
681
Thu Oct 31 18:20:53 1996  Ian Lance Taylor  
682
 
683
        * stabs.c (struct stab_handle): Add bincl_list field.
684
        (parse_stab): Pass value to push_bincl.  Call find_excl for
685
        N_EXCL.
686
        (struct bincl_file): Add hash, file and file_types fields.
687
        (push_bincl): Add hash parameter.  Save it in the new hash field.
688
        Save the file number in the new file field.
689
        (pop_bincl): Put the bincl_file on bincl_list, rather than freeing
690
        it.  Save the file types in the new file_types field.
691
        (find_excl): New static function.
692
 
693
        * ieee.c (ieee_lineno): Don't compare line number addresses to
694
        info->highaddr (undo part of October 28 patch).
695
 
696
Tue Oct 29 16:40:22 1996  Ian Lance Taylor  
697
 
698
        * objdump.c (objdump_print_value): Don't print the empty string
699
        for zero.
700
 
701
Mon Oct 28 16:58:14 1996  Ian Lance Taylor  
702
 
703
        * stabs.c (struct stab_handle): Add function_end field.
704
        (start_stab): Initialize function_end.
705
        (finish_stab): Pass info->function_end to debug_end_function.
706
        (parse_stab): If info->function_end is set, use it as the address
707
        which ends a function.
708
 
709
        * ieee.c (ieee_array_type): Remember the correct size.
710
 
711
        * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
712
        that are up to 0x1000 bytes apart, not just 64.
713
        (ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
714
        than 0x100 bytes.
715
        (ieee_lineno): Only emit line numbers that are less than
716
        info->highaddr.
717
 
718
Fri Oct 25 12:12:17 1996  Ian Lance Taylor  
719
 
720
        * ieee.c (struct ieee_defined_enum): Add defined field.
721
        (ieee_enum_type): If the enum tag has been seen before but not
722
        defined, reuse the same type index, and define it.
723
        (ieee_tag_type): If this enum has not been defined, add an
724
        undefined entry to the list of enums.
725
 
726
        * objdump.c (disassemble_bytes): Let the disassembler override the
727
        number of bytes printed on a line.
728
 
729
Thu Oct 24 16:42:10 1996  Ian Lance Taylor  
730
 
731
        * objdump.c (prefix_addresses): New static variable.
732
        (long_options): Add "prefix-addresses".
733
        (compare_symbols): Sort BSF_FUNCTION symbols before other
734
        symbols.
735
        (find_symbol_for_address): New static function, broken out of
736
        objdump_print_address.
737
        (objdump_print_addr_with_sym): New static function, broken out of
738
        objdump_print_address.
739
        (objdump_print_address): Call new functions.
740
        (disassemble_bytes): New static function, broken out of
741
        disassemble_data.  Change disassembly format, unless
742
        prefix_addresses is set.
743
        (disassemble_data): Call disassemble_bytes.  Unless
744
        prefix_addresses is set, disassemble in chunks headed by a
745
        symbol.
746
        * binutils.texi, objdump.1: Document --prefix-addresses.
747
 
748
        * rddbg.c (read_section_stabs_debugging_info): Preserve the
749
        backslash when concatenating multiple stabs strings.
750
 
751
Thu Oct 10 11:36:31 1996  Doug Evans  
752
 
753
        * dlltool.c (scan_open_obj_file): Fix loop exit test.
754
        Add missing parameter to def_exports.
755
 
756
Tue Oct  8 12:06:17 1996  Ian Lance Taylor  
757
 
758
        * Makefile.in (LEX_OPTIONS): Set to empty string.  -I -Cem is the
759
        default for flex, and is not recognized by lex.
760
 
761
Thu Oct  3 17:41:23 1996  Ian Lance Taylor  
762
 
763
        * binutils.texi (Target Selection): Document that you can now
764
        specify targets using configuration triplets.
765
 
766
        * ar.c (usage): Declare.  Make sure all callers pass an argument.
767
 
768
Thu Oct  3 15:39:42 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
769
 
770
        * Makefile.in (clean): Remove config.log.
771
 
772
Wed Oct  2 15:49:16 1996  Klaus Kaempf  
773
 
774
        * makefile.vms: Bump version date.
775
 
776
Tue Oct  1 15:00:59 1996  Ian Lance Taylor  
777
 
778
        * version.c (print_version): New function.
779
        * bucomm.h (print_version): Declare.
780
        * ar.c (program_version): Don't declare.
781
        (do_show_version): Remove.
782
        (usage): Add help parameter.  Print bug report address.
783
        (main): Set is_ranlib at start.  Check for --help and --version.
784
        Call print_version, not do_show_version.
785
        * nlmconv.c (program_version): Don't declare.
786
        (main): Call print_version.
787
        (show_usage): Print bug report address.
788
        * nm.c (program_version, print_version): Don't declare.
789
        (usage): Print bug report address.
790
        (main): Call print_version.
791
        * objcopy.c (program_version): Don't declare.
792
        (copy_usage): Print bug report address.
793
        (strip_usage): Likewise.
794
        (strip_main): Call print_version.
795
        (copy_main): Likewise.
796
        * objdump.c (program_version): Don't declare.
797
        (usage): Print bug report address.
798
        (main): Call print_version.
799
        * size.c (program_version): Don't declare.
800
        (usage): Print bug report address.
801
        (main): Call print_version.
802
        * strings.c (program_version): Don't declare.
803
        (main): Call print_version.
804
        (usage): Print bug report address.
805
        * Makefile.in: Update dependencies.
806
 
807
Thu Sep 19 14:53:15 1996  Ian Lance Taylor  
808
 
809
        * ieee.c: Revert Monday's reflocalp patch, and apply this patch
810
        instead:
811
        (write_ieee_debugging_info): Write a dummy type at the end of the
812
        global type block.
813
 
814
Mon Sep 16 15:30:54 1996  Ian Lance Taylor  
815
 
816
        * ieee.c (struct ieee_write_type): Add reflocalp field.
817
        (ieee_pointer_type): Set reflocalp after pushing type.
818
        (ieee_function_type): If reflocalp is set, make this type local.
819
        (ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
820
        (ieee_const_type, ieee_volatile_type): Likewise.
821
        (ieee_struct_field, ieee_class_baseclass): Likewise.
822
 
823
        * ieee.c (struct ieee_info): Add global_types field.
824
        (parse_ieee_bb): When starting a BB1, initialize the types field
825
        to the global_types field.
826
        (parse_ieee_be): When ending a BB2, copy the types field to the
827
        global_types field.
828
 
829
Fri Sep 13 17:32:21 1996  Ian Lance Taylor  
830
 
831
        * objcopy.c (change_leading_char): New static variable.
832
        (OPTION_CHANGE_LEADING_CHAR): Define.
833
        (copy_options): Add "change-leading-char".
834
        (copy_usage): Mention --change-leading-char.
835
        (filter_symbols): Add obfd parameter.  Change all callers.
836
        Implement change_leading_char.
837
        (copy_object): Call filter_symbols if change_leading_char.
838
        (copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
839
        * binutils.texi, objcopy.1: Document --change-leading-char.
840
 
841
Tue Sep  3 14:05:29 1996  Ian Lance Taylor  
842
 
843
        * ieee.c (ieee_enum_type): Don't check index into a NULL names
844
        array.
845
        * nm.c (sort_symbols_by_size): Always initialize next.
846
        * rdcoff.c (parse_coff_type): Warn about an incomprehensible
847
        type rather than crashing.
848
        * rddbg.c (read_symbol_stabs_debugging_info): Initialize f.
849
        * stabs.c (parse_stab_members): Set context in all cases.
850
 
851
Thu Aug 29 16:56:52 1996  Michael Meissner  
852
 
853
        * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
854
        * configure: Regenerate.
855
 
856
Thu Aug 29 11:29:20 1996  Ian Lance Taylor  
857
 
858
        * objdump.c (L_tmpnam): Never define.
859
        (display_target_list): Use choose_temp_base instead of tmpnam.
860
        (display_info_table): Likewise.
861
 
862
Tue Aug 27 18:15:01 1996  Ian Lance Taylor  
863
 
864
        * stabs.c (parse_stab): An N_FUN symbol with an empty string
865
        indicates the end of a function.
866
 
867
Thu Aug 22 17:08:00 1996  Ian Lance Taylor  
868
 
869
        * wrstabs.c (struct string_hash_entry): Add next field.
870
        (struct stab_write_handle): Change strings to a pointer to
871
        string_hash_entry.  Add last_strings field.  Remove strings_alloc
872
        field.
873
        (string_hash_newfunc): Initialize next field.
874
        (stab_write_symbol): Copy string into hash table rather than into
875
        buffer.  Keep a list of hash table entries.
876
        (write_stabs_in_sections_debugging_info): Initialize last_string.
877
        Copy strings from list of hash table entries in memory.
878
        (stab_modify_type): If the entry on the stack is a definition,
879
        make a new definition rather than failing an assert.
880
        (stab_array_type): The size is only zero if high is strictly less
881
        than low.
882
 
883
        * ieee.c (struct ieee_info): Add saw_filename field.
884
        (parse_ieee): Initialize saw_filename.
885
        (parse_ieee_bb): Set saw_filename for a BB1 or BB2.  In a BB1,
886
        discard the current variables and types.  In a BB10, if no
887
        filename has been seen, call debug_set_filename.
888
        (parse_ieee_ty): In case 'g', the type is optional.
889
 
890
        * prdbg.c (pr_fix_visibility): Don't abort on
891
        DEBUG_VISIBILITY_IGNORE.
892
 
893
        * debug.c (debug_name_type): Correct error message.
894
 
895
        * configure.in: Substitute HLDENV.
896
        * configure: Rebuild.
897
        * Makefile.in (HLDENV): New variable.  Use it whenever linking a
898
        program.
899
 
900
Thu Aug 15 19:30:41 1996  Stan Shebs  
901
 
902
        * mpw-make.sed: Add symbolic doublequotes around the version
903
        number.
904
 
905
Thu Aug  8 12:27:52 1996  Klaus Kaempf  
906
 
907
        * makefile.vms: Add better support for DEC C compilation.
908
        Add new macros as in Makefile.in.
909
 
910
Wed Aug  7 14:27:33 1996  Philippe De Muyter  
911
 
912
        * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
913
        * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
914
        (NEED_DECLARATION_SBRK): New macro.
915
        * configure, config.in: Rebuild.
916
        * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
917
        (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
918
 
919
        * prdbg.c (pr_end_struct_type): Avoid using a string constant in
920
        assert, for the benefit of broken assert macros.
921
 
922
Fri Jul 26 14:06:50 1996  Ian Lance Taylor  
923
 
924
        * objdump.c (disassemble_data): Set disasm_info.flavour from
925
        abfd.
926
 
927
Tue Jul 23 13:59:54 1996  Ian Lance Taylor  
928
 
929
        * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
930
        of .text section to 2.
931
 
932
Mon Jul 22 08:46:15 1996  Stu Grossman  (grossman@lisa.cygnus.com)
933
 
934
        * objdump.c (dump_section_stabs):  Fix test for stabs sections
935
        ending with numbers.  This fixes a problem with .stab being
936
        confused with .stab.index.
937
 
938
Wed Jul 10 13:32:28 1996  Ian Lance Taylor  
939
 
940
        * stabs.c (stab_demangle_fund_type): Return a void * for a
941
        template, rather than simply aborting.
942
 
943
Mon Jul  8 15:28:05 1996  Ian Lance Taylor  
944
 
945
        * ar.c (open_inarch): Add file parameter.  Change all callers.  If
946
        this is a newly created archive, set the target based on the
947
        file.
948
        * arsup.h (open_inarch): Update declaration.
949
 
950
Thu Jul  4 12:00:55 1996  Ian Lance Taylor  
951
 
952
        * Makefile.in (VERSION): Set to cygnus-2.7.1.
953
 
954
        * Released binutils 2.7.
955
 
956
        * rdcoff.c (parse_coff): Get address to pass to debug_end_function
957
        from function size, not value of .ef symbol.  From Ning
958
        Mosberger-Tang .
959
 
960
Sat Jun 29 21:18:09 1996  Ian Lance Taylor  
961
 
962
        * objcopy.c (strip_main): Add -o option, and handle it.
963
        (strip_usage): Mention -o.
964
        * binutils.texi, strip.1: Mention -o.
965
 
966
Mon Jun 24 17:19:02 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
967
 
968
        * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
969
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
970
        (docdir): Removed.
971
        * configure.in (AC_PREREQ): Autoconf 2.5 or higher.
972
 
973
Mon Jun 24 11:59:13 1996  Ian Lance Taylor  
974
 
975
        * objdump.c (endian): New static variable.
976
        (usage): Mention -EB/-EL/--endian.
977
        (long_options): Add "endian".
978
        (disassemble_data): If endianness was specified, replace
979
        abfd->xvec with a copy of itself with the given endianness.
980
        (main): Handle -EB/-EL/--endian.
981
        * binutils.texi, objdump.1: Mention -EB/-EL/--endian.
982
 
983
        * objdump.c: Make most variables and functions static.
984
 
985
        * configure.in: On alpha*-*-osf*, link against libbfd.a if not
986
        using shared libraries.
987
        * configure: Rebuild with autoconf 2.10.
988
 
989
Sun Jun 23 14:47:36 1996  Kim Knuttila  
990
 
991
        * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
992
        (make_one_lib_file): Removed cruft. (#if 1)
993
 
994
Wed Jun 19 14:46:38 1996  Ian Lance Taylor  
995
 
996
        * objdump.c (stabs): Change from struct internal_nlist * to
997
        bfd_byte *.
998
        (print_section_stabs): Fetch stabs information directly, rather
999
        than assuming that struct internal_nlist is the right size.
1000
 
1001
        * binutils.texi: Document change to binary format: file position
1002
        based on load address, not section VMA.
1003
 
1004
        * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are
1005
        not already defined.
1006
 
1007
Tue Jun 18 18:25:00 1996  Ian Lance Taylor  
1008
 
1009
        * Makefile.in (DISTSTUFF): Add deflex.c.
1010
 
1011
Tue Jun 18 15:03:44 1996  Klaus Kaempf  
1012
 
1013
        * config.h-vms, makefile.vms: New files.
1014
 
1015
Mon Jun 17 09:47:31 1996  Ian Lance Taylor  
1016
 
1017
        * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
1018
        BFD_RELOC_32 in IDATA7.
1019
 
1020
Wed Jun 12 11:52:06 1996  Ian Lance Taylor  
1021
 
1022
        * nm.c (struct get_relocs_info): Define.
1023
        (line_numbers): New static variable.
1024
        (long_options): Add "line-numbers".
1025
        (usage): Mention -l and --line-numbers.
1026
        (main): Handle -l.
1027
        (print_symbol): Print line numbers if requested.
1028
        (get_relocs): New static function.
1029
        * binutils.texi, nm.1: Document -l/--line-numbers.
1030
 
1031
Tue Jun 11 20:12:15 1996  Ian Lance Taylor  
1032
 
1033
        * objdump.c (dump_reloc_set): Add sec parameter.  Change all
1034
        callers.  If with_line_numbers is set, display line numbers of
1035
        relocation entries.
1036
        * binutils.texi, objdump.1: Document -l with -r.
1037
 
1038
Mon Jun 10 23:42:59 1996  Ian Lance Taylor  
1039
 
1040
        * ar.c (open_inarch): Report BFD error message if an archive can
1041
        not be recognized.  List matching formats if the file is
1042
        ambiguously recognized.
1043
        (ranlib_touch): Likewise.
1044
 
1045
Thu Jun  6 13:56:14 1996  Ian Lance Taylor  
1046
 
1047
        * README: Add notes on how to build if you don't have ar.
1048
 
1049
        * Makefile.in: Remove old incorrect setting of CC.
1050
 
1051
Tue Jun  4 10:52:49 1996  Tom Tromey  
1052
 
1053
        * Makefile.in (install): Don't check to see if tooldir exists.
1054
        Make $(tooldir) and $(tooldir)/bin.
1055
 
1056
Mon Jun  3 17:40:23 1996  Michael Meissner  
1057
 
1058
        * strings.c (main): Make main an int function, not void.
1059
 
1060
Fri May 31 13:59:24 1996  Ian Lance Taylor  
1061
 
1062
        * nm.c (filter_symbols): Check for BSF_WEAK as well as
1063
        BSF_GLOBAL.
1064
        * objcopy.c (filter_symbols): Likewise.
1065
 
1066
Wed May  8 16:57:20 1996  Ian Lance Taylor  
1067
 
1068
        * objcopy.c (copy_object): Make clear that it is only a warning
1069
        when the output file can not represent the architecture.
1070
 
1071
Fri May  3 11:30:17 1996  Ian Lance Taylor  
1072
 
1073
        * objdump.c (disassemble_data): Don't refer to bytes past the end
1074
        of data.
1075
 
1076
Wed Apr 24 14:10:21 1996  Ian Lance Taylor  
1077
 
1078
        * rddbg.c (read_symbol_stabs_debugging_info): Move call to
1079
        free_saved_stabs outside the loop over the symbols.
1080
 
1081
Tue Apr 23 12:56:11 1996  Ian Lance Taylor  
1082
 
1083
        * objdump.c (compare_symbols): Sort symbols whose names start with
1084
        `.' after other symbols.  If no other decision can be made, sort
1085
        symbols by name.
1086
 
1087
Thu Apr 18 16:02:11 1996  Ian Lance Taylor  
1088
 
1089
        * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
1090
        * Makefile.in: Rebuild dependencies.
1091
        (dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
1092
 
1093
Tue Apr 16 13:50:22 1996  Ian Lance Taylor  
1094
 
1095
        * rdcoff.c: New file.
1096
        * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
1097
        and no stabs were found.
1098
        * budbg.h (parse_coff): Declare.
1099
        * Makefile.in: Rebuild dependencies.
1100
        (CFILES): Add rdcoff.c.
1101
        (DEBUG_OBJS): Add rdcoff.o.
1102
 
1103
Mon Apr 15 15:55:01 1996  Doug Evans  
1104
 
1105
        * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
1106
        (link_inputs): Update call to choose_temp_base.
1107
 
1108
Mon Apr  8 14:40:05 1996  Ian Lance Taylor  
1109
 
1110
        * configure.in: Permit --enable-shared to specify a list of
1111
        directories.
1112
        * configure: Rebuild.
1113
 
1114
Fri Mar 29 16:11:33 1996  Ian Lance Taylor  
1115
 
1116
        * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
1117
        and the SEC_LINK_DUPLICATES field.
1118
 
1119
Fri Mar 29 11:35:55 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
1120
 
1121
        * nlmconv.1: Changed to be recognized by catman -w on Solaris.
1122
 
1123
Thu Mar 28 14:17:02 1996  Ian Lance Taylor  
1124
 
1125
        * wrstabs.c (stab_enum_type): Set buf before using it.
1126
 
1127
Fri Mar 22 15:49:08 1996  Ian Lance Taylor  
1128
 
1129
        * stabs.c (struct stab_handle): Add field abfd.
1130
        (start_stab): Add abfd parameter.
1131
        (parse_stab_string): Skip the symbol leading char when searching
1132
        for the value of a global symbol.
1133
        * budbg.h (start_stab): Update declaration.
1134
        * rddbg.c (read_section_stabs_debugging_info): Pass abfd to
1135
        start_stab.
1136
        (read_symbol_stabs_debugging_info): Likewise.
1137
 
1138
Thu Mar 21 12:40:48 1996  Ian Lance Taylor  
1139
 
1140
        * wrstabs.c (stab_function_type): Output an empty typedef for an
1141
        unused argument, rather than making up a meaningless name.
1142
        (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable.
1143
 
1144
        * ieee.c (struct ieee_info): Add global_vars field.
1145
        (parse_ieee_be): When ending the global typedef block, copy the
1146
        variables into info->global_vars.
1147
        (parse_ieee_atn): Don't require an NN record for a pmisc ATN.
1148
        (ieee_read_reference): Search the global variables after the local
1149
        variables.
1150
 
1151
Wed Mar 20 18:08:19 1996  Andreas Schwab  
1152
 
1153
        * objdump.c (disassemble_data): Make sure sym_name is always set.
1154
        (dump_section_header): Always put a space after the section name.
1155
        (dump_bfd_header): Terminate output with newline.
1156
 
1157
Wed Mar 20 16:35:20 1996  Ian Lance Taylor  
1158
 
1159
        * wrstabs.c: New file.
1160
        * budbg.h (write_stabs_in_sections_debugging_info): Declare.
1161
        * objcopy.c (write_debugging_info): For COFF or ELF, output stabs
1162
        in sections.
1163
        * Makefile.in: Rebuild dependencies.
1164
        (CFILES): Add wrstabs.c.
1165
        (WRITE_DEBUG_OBJS): New variable.
1166
        ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
1167
        ($(STRIP_PROG)): Likewise.
1168
 
1169
        * stabs.c (parse_stab_members): Make type stub detection more like
1170
        gdb.
1171
 
1172
        * ieee.c (struct ieee_handle): Add fields complex_float_index and
1173
        complex_double_index.
1174
        (ieee_complex_type): Cache type index in complex_float_index and
1175
        complex_double_index, depending upon size.  Set size on type stack
1176
        to size * 2.
1177
 
1178
        * ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
1179
        (ieee_void_type): Use builtin_void, not 1.
1180
 
1181
        * ieee.c (parse_ieee_ty): Handle 'V' type code.
1182
        (parse_ieee_atn): Don't require two numbers for type 10.
1183
 
1184
        * ieee.c (parse_ieee_be): Add one to offset at end of function or
1185
        block.
1186
 
1187
        * ieee.c (struct ieee_block): Add field skip.
1188
        (parse_ieee_bb): Don't call debug_record_function for __XRYCPP
1189
        function, and set skip field.
1190
        (parse_ieee_be): Don't call debug_end_function if skip is set.
1191
 
1192
        * debug.c (struct debug_handle): Add fields current_write_lineno
1193
        and current_write_lineno_index.
1194
        (debug_write): Initialize current_write_lineno and
1195
        current_write_lineno_index for each unit.  Call
1196
        debug_write_linenos rather than writing out the line numbers
1197
        directly.
1198
        (debug_write_function): Call debug_write_linenos.
1199
        (debug_write_block): Likewise.
1200
        (debug_write_linenos): New static function.
1201
 
1202
        * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return
1203
        type before arguments.
1204
 
1205
Mon Mar 18 18:05:33 1996  Ian Lance Taylor  
1206
 
1207
        * configure.in: Add AC_FUNC_VFORK.
1208
        * configure, config.in: Rebuild.
1209
        * dlltool.c, nlmconv.c: Include  if HAVE_VFORK_H is
1210
        defined.
1211
 
1212
        * stabs.c (parse_stab_range_type): A complex type is defined as a
1213
        subrange of itself with the high bound zero.
1214
        * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
1215
 
1216
Tue Mar 12 12:09:43 1996  Ian Lance Taylor  
1217
 
1218
        * ieee.c (ieee_write_undefined_tag): Switch to global_types even
1219
        if it is not empty.
1220
        (ieee_tag_type): For an enum, look through info->enums.
1221
 
1222
        * configure: Rebuild with autoconf 2.8.
1223
 
1224
        * debug.c (debug_type_samep): Don't loop endlessly in
1225
        DEBUG_KIND_ENUM case.  From Eric Baur .
1226
 
1227
Mon Mar 11 12:35:03 1996  Ian Lance Taylor  
1228
 
1229
        * rddbg.c (read_section_stabs_debugging_info): Call save_stab for
1230
        each stab entry, call stab_context on an error, and call
1231
        free_saved_stabs before rturning.
1232
        (read_symbol_stabs_debugging_info): Likewise.
1233
        (SAVE_STABS_COUNT): Define.
1234
        (struct saved_stab): Define.
1235
        (saved_stabs, saved_stabs_index): New static variables.
1236
        (save_stab, stab_context, free_saved_stabs): New static functios.
1237
 
1238
        * objdump.c (stab_name): Remove.
1239
        (struct stab_print): Remove.
1240
        (stab_print): Remove.
1241
        (dump_stabs): Don't initialize stab_name.
1242
        (print_section_stabs): Call bfd_get_stab_name rather than using
1243
        the stab_name array.
1244
 
1245
Tue Feb 27 19:52:01 1996  Ian Lance Taylor  
1246
 
1247
        * prdbg.c (pr_int_constant): Initialize info correctly.
1248
        (pr_float_constant): Likewise.
1249
 
1250
Mon Feb 26 18:11:37 1996  Stan Shebs  
1251
 
1252
        * mpw-make.sed: Update to handle shared library support.
1253
 
1254
Sat Feb 24 11:21:49 1996  Alan Modra  :
1255
 
1256
        * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
1257
        $(OPCODES).
1258
 
1259
Thu Feb 15 12:44:45 1996  Ian Lance Taylor  
1260
 
1261
        * configure.in: Don't tamper with LDFLAGS.  Call AC_PROG_CC before
1262
        configure.host.
1263
        * configure: Rebuild.
1264
 
1265
        * configure.in: Substitute RPATH_ENVVAR.
1266
        * configure: Rebuild.
1267
        * Makefile.in (RPATH_ENVVAR): New variable.
1268
        (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1269
 
1270
        * objcopy.c (smart_rename): Rather than doing chmod then chown, do
1271
        chmod without setuid, then chown, then chmod with setuid.
1272
 
1273
Wed Feb 14 16:46:42 1996  Martin Anantharaman  
1274
 
1275
        * arsup.c (map_over_list): Reindent.  Don't assume that the
1276
        function does not delete the BFD.
1277
        (ar_addlib_doer): Don't set prev->next if prev is NULL.
1278
 
1279
Wed Feb 14 15:12:17 1996  Ian Lance Taylor  
1280
 
1281
        * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
1282
        and i960.
1283
        (ieee_genreg_to_regno): Likewise.
1284
 
1285
Mon Feb 12 14:19:59 1996  Ian Lance Taylor  
1286
 
1287
        * ieee.c: Extensive changes to write code to put types in the
1288
        global type block when possible, to output ranges for all memory
1289
        occupied by the module, and to improve efficiency.
1290
 
1291
        * debug.c (struct debug_handle): Remove class_mark field.  Add
1292
        id_list and compare_list fields.
1293
        (struct debug_class_id): Define.
1294
        (struct debug_type_compare_list): Define.
1295
        (debug_write): Initialize info->id_list
1296
        (debug_write_name): Remove reference to info->class_mark.
1297
        (debug_write_type): Get id for all structs and classes.  Simplify
1298
        test for whether struct has already been written.
1299
        (debug_write_class_type): Get id for all classes.  Simplify test
1300
        for whether class has already been written.
1301
        (debug_write_block): Don't write out blocks other than the top
1302
        level block if they have no local variables.
1303
        (debug_set_class_id): New static function.
1304
        (debug_type_samep): New static function.
1305
        (debug_class_type_samep): New static function.
1306
        * prdbg.c (pr_start_struct_type): Always print id.
1307
        (pr_start_class_type): Likewise.
1308
        (pr_tag_type): Likewise.
1309
 
1310
        * stabs.c (struct stab_handle): Add syms and symcount fields.
1311
        (start_stab): Add syms and symcount parameters.  Change all
1312
        callers.
1313
        (parse_stab_string): Look up global variables in the symbol table
1314
        to get the right value.
1315
        * budbg.h (start_stab): Update declaration.
1316
        * rddbg.c (read_section_stabs_debugging_info): Add syms and
1317
        symcount parameters.  Change all callers.
1318
 
1319
        * stabs.c (parse_stab_array_type): If the index type is 0, use
1320
        int.
1321
 
1322
Wed Feb  7 14:17:45 1996  Ian Lance Taylor  
1323
 
1324
        * ieee.c (ieee_start_compilation_unit): Clear modified and
1325
        modified_alloc fields of info.
1326
 
1327
        * configure.in: Check for --enable-shared.  Substitute new
1328
        variables BFDLIB and OPCODES.
1329
        * configure: Rebuild.
1330
        * Makefile.in (BFDLIB): Set to @BFDLIB@.
1331
        (OPCODES): Set to @OPCODES@.
1332
 
1333
Mon Feb  5 16:18:42 1996  Ian Lance Taylor  
1334
 
1335
        Support for building bfd and opcodes as shared libraries, based on
1336
        patches from Alan Modra :
1337
        * configure.in (HLDFLAGS): New substitution.
1338
        * configure: Rebuild.
1339
        * Makefile.in (HLDFLAGS): New variable.  Make all links use
1340
        $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS).
1341
        (BFDLIB_DEP): New variable.  Replace all occurrences of $(BFD) as
1342
        a dependency with $(BFDLIB_DEP).  Remove $(BFD) as a dependency if
1343
        there is also a dependency on $(ADDL_DEPS).
1344
        (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd.
1345
        (OPCODES_DEP): New variable.  Replace all occurrends of $(OPCODES)
1346
        as a dependency with $(OPCODES_DEP).
1347
        (OPCODES): Set to -L../opcodes -lopcodes.
1348
        (ADDL_DEPS): New variable.  Replace all occurrences of
1349
        $(ADDL_LIBS) as a dependency with $(ADDL_DEPS).
1350
        (check): Set LD_LIBRARY_PATH in the environment.
1351
        (config.status): Depend upon BFD configure.host and config.bfd.
1352
 
1353
Fri Feb  2 17:02:59 1996  Doug Evans  
1354
 
1355
        * objdump.c: #include stdarg.h or varargs.h.
1356
        (objdump_print_value): Change FILE* arg to struct disassemble_info*.
1357
        All callers updated.  Use fprintf_func.
1358
        (objdump_print_address): Consistently use fprintf_func.
1359
        (objdump_sprintf): New function.
1360
        (disassemble_data): Print insn into a buffer, print raw insn ourselves,
1361
        then print insn mnemonic.
1362
 
1363
Fri Feb  2 16:48:55 1996  Ian Lance Taylor  
1364
 
1365
        * configure: Regenerate.
1366
 
1367
Thu Feb  1 09:38:18 1996  Steve Chamberlain  
1368
 
1369
        * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
1370
        (powerpc*-*-cygwin32): New.
1371
        * configure: Regenerated.
1372
 
1373
Wed Jan 31 13:22:03 1996  Richard Henderson  
1374
 
1375
        * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
1376
 
1377
Mon Jan 29 17:36:29 1996  Ian Lance Taylor  
1378
 
1379
        Based on patches from H J Lu :
1380
        * objcopy.c (remove_leading_char): New static variable.
1381
        (OPTION_REMOVE_LEADING_CHAR): Define.
1382
        (copy_usage): Mention --remove-leading-char.
1383
        (filter_symbols): If remove_leading_char, and the first character
1384
        of a global symbol matches the symbol leading char of the BFD,
1385
        remove the first character.
1386
        (copy_object): Filter the symbols if remove_leading_char is set.
1387
        (copy_main): Handle --remove-leading-char.
1388
        * binutils.texi, objcopy.1: Document --remove-leading-char.
1389
 
1390
Sat Jan 27 15:40:13 1996  Michael Meissner  
1391
 
1392
        * objdump.c (fprintf): Add prototype to avoid compiler warning on
1393
        SunOS.
1394
 
1395
Fri Jan 26 11:53:42 1996  Ian Lance Taylor  
1396
 
1397
        * binutils.texi (nm): Improve documentation on symbol types.
1398
        (objdump): Reference the stabs manual from the discussion of the
1399
        --stabs option.
1400
 
1401
Thu Jan 25 11:21:46 1996  Raymond Jou  
1402
 
1403
        * mpw-make.sed: Add a "stamps" target.
1404
 
1405
Thu Jan 25 13:51:44 1996  Ian Lance Taylor  
1406
 
1407
        * objdump.c (dump_headers, dump_section_header): Change objdump -h
1408
        output to be simpler and to include section file offsets.
1409
 
1410
Wed Jan 24 12:06:05 1996  Ian Lance Taylor  
1411
 
1412
        * stabs.c (parse_stab_members): Don't adjust voffset.
1413
 
1414
        * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
1415
        (struct ieee_write_type): Add name field.
1416
        (struct ieee_type_class): Remove name field.  Change all uses to
1417
        use new name field in type instead.
1418
        (struct ieee_name_type): Likewise.
1419
        (ieee_start_struct_type): Initialize name field of type.
1420
        (ieee_start_class_type): Don't initialize classdef entry of tag.
1421
        (ieee_class_method_var): Don't adjust voffset.
1422
        (ieee_end_class_type): Likewise.
1423
        (ieee_tag_type): Initialize new name field of type.
1424
        (ieee_typdef): Set name after copying in type information.
1425
 
1426
        * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1.
1427
 
1428
        * ieee.c (struct ieee_modified_type): Define.
1429
        (struct ieee_handle): Add modified and modified_alloc fields.
1430
        (ieee_get_modified_info): New static function.
1431
        (ieee_pointer_type): Cache type index.
1432
        (ieee_const_type): Likewise.
1433
        (ieee_volatile_type): Likewise.
1434
 
1435
        * ieee.c (ieee_define_named_type): When creating a tag for an
1436
        anonymous struct, copy the name into memory.
1437
        (ieee_tag_type): Likewise.
1438
        * debug.c (debug_write_type): Only check and set id field for an
1439
        unnamed object.
1440
        (debug_write_class_type): Likewise.
1441
 
1442
        * ieee.c: Various changes to write out types for functions and
1443
        references, and to not write out unnecessary function types.
1444
 
1445
        * ieee.c (struct ieee_var): Remove variable field.  Add kind
1446
        field, and define some enum constants for it.
1447
        (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
1448
        (parse_ieee_atn): Make an indirect slot for an external variable,
1449
        although we otherwise don't record it.  Set kind field rather than
1450
        variable field of pvar.
1451
        (ieee_read_cxx_class): Try to get the type of a static member.
1452
        (ieee_read_reference): Check kind field rather than variable
1453
        field.
1454
 
1455
Tue Jan 23 15:54:18 1996  Ian Lance Taylor  
1456
 
1457
        * ieee.c: Various changes to handle reading C++ reference type
1458
        information.
1459
 
1460
        * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
1461
        (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL.
1462
        * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
1463
 
1464
        * ieee.c: Various changes to write out definitions of C++ classes.
1465
 
1466
        * debug.c (debug_append_filename): Remove.
1467
        * debug.h (debug_append_filename): Don't declare.
1468
 
1469
        * stabs.c (struct stab_handle): Remove last_type field.  Add
1470
        so_string and so_value fields.
1471
        (finish_stab): Call stab_emit_pending_vars before calling
1472
        debug_end_function.  Don't warn about pending variables.
1473
        (parse_stab): Accumulate N_SO strings until a non N_SO symbol is
1474
        seen, rather than calling debug_append_filename.  Call
1475
        stab_emit_pending_vars before calling debug_end_function.  Don't
1476
        set info->last_type.
1477
 
1478
Tue Jan 23 09:53:54 1996  Doug Evans  
1479
 
1480
        * objdump.c (disassemble_data): Handle unknown endianness.
1481
        Pass fprintf to INIT_DISASSEMBLE_INFO.
1482
 
1483
Mon Jan 22 16:46:43 1996  Doug Evans  
1484
 
1485
        Add new option --show-raw-insn.
1486
        * objdump.c (show_raw_insn): New global.
1487
        (usage): Update.
1488
        (long_options): Update.
1489
        (disassemble_data): Set disasm_info.flags if --show-raw-insn.
1490
 
1491
        * objdump.c (disassemble_data): Set new arch,mach,endian fields in
1492
        disasm_info.
1493
 
1494
Mon Jan 22 19:29:36 1996  Ian Lance Taylor  
1495
 
1496
        * ieee.c: Extensive changes to pass a single info argument around
1497
        in the reading routines, rather than several arguments.  Add code
1498
        to read C++ debugging records.
1499
 
1500
        * debug.h (debug_get_type_size): Declare.
1501
        (debug_get_field_name): Declare.
1502
        (debug_get_field_bitpos): Declare.
1503
        (debug_get_field_bitsize): Declare.
1504
        (debug_get_field_visibility): Declare.
1505
        (debug_get_field_physname): Declare.
1506
        * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED.
1507
        (debug_get_type_size): New function.
1508
        (debug_get_field_name): New function.
1509
        (debug_get_field_bitpos): New function.
1510
        (debug_get_field_bitsize): New function.
1511
        (debug_get_field_visibility): New function.
1512
        (debug_get_field_physname): New function.
1513
        (debug_write_type): Make sure we pass the real kind, not INDIRECT,
1514
        to tag_type.  Pass the name recursively for INDIRECT.
1515
 
1516
Fri Jan 19 12:31:57 1996  Ian Lance Taylor  
1517
 
1518
        * debug.h (struct debug_write_fns): Remove ellipsis_type.  Add int
1519
        and boolean parameters to function_type.  Add boolean parameter to
1520
        method_type.
1521
        (debug_make_ellipsis_type): Don't declare.
1522
        (debug_make_function_type): Add debug_type * and boolean
1523
        parameters.  Change all callers.
1524
        (debug_make_method_type): Add boolean parameter.  Change all
1525
        callers.
1526
        (debug_get_parameter_types): Add boolean * parameter.  Change all
1527
        callers.
1528
        (debug_get_target_type): Declare.
1529
        * debug.c (struct debug_function_type): Add fields arg_types and
1530
        varargs.
1531
        (struct debug_method_type): Add field varargs.
1532
        (debug_ellipsis_type, ELLIPSIS_P): Remove.
1533
        (debug_make_ellipsis_type): Remove.
1534
        (debug_make_function_type): Add arg_types and varargs parameters.
1535
        (debug_make_method_type): Add varargs parameter.
1536
        (debug_get_parameter_types): Add pvarargs parameter.
1537
        (debug_get_target_type): New function.
1538
        (debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
1539
        types and pass count to function_type.  In DEBUG_KIND_METHOD, use
1540
        a signed int for the count, don't call ellipsis_type, and pass
1541
        varargs to method_type.
1542
        * stabs.c (struct stab_demangle_info): Add varargs field.
1543
        (stab_demangle_argtypes): Add pvarargs parameter.  Change all
1544
        callers.
1545
        (stab_demangle_args): Likewise.
1546
        (stab_demangle_type): In case 'F', pick up argument types.
1547
        * prdbg.c (pr_ellipsis_type): Remove.
1548
        (pr_function_type): Add argcount and varargs parameters.
1549
        (pr_method_type): Add varargs parameter.
1550
        * ieee.c (ieee_ellipsis_type): Remove.
1551
        (ieee_function_type): Add argcount and varargs parameters.
1552
        (ieee_method_type): Add varargs parameter.  Remove most of
1553
        function body, and just call ieee_function_type.
1554
 
1555
        * stabs.c: Include "demangle.h".  Added several new static
1556
        functions not listed below to demangle argument types; they are
1557
        all called via stab_demangle_argtypes.
1558
        (finish_stab): If the kind of an undefined tag is
1559
        DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead.  Warn if there
1560
        are any pending variable.
1561
        (parse_stab): Don't close the function when the block depth goes
1562
        to zero.  Pass value to debug_end_function.
1563
        (parse_stab_string): In case 'T', pass the name to
1564
        parse_stab_type.
1565
        (parse_stab_type): In case 'x', use stab_find_tagged_type.  In
1566
        case '#', handle functions with variable numbers of arguments.
1567
        (parse_stab_struct_type): Add tagname parameter.  Change all
1568
        callers.
1569
        (parse_stab_members): Add tagname and typenums parameters.  Change
1570
        all callers.  If the type of a method is a stub, call
1571
        parse_stab_argtypes to demangle the argument types and get the
1572
        physical name of the function.
1573
        (parse_stab_argtypes): New static function.
1574
        (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
1575
        variable, call debug_record_variable immediately.
1576
        (stab_find_tagged_type): New static function.
1577
 
1578
        * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
1579
        (struct debug_write_fns): Add field ellipsis_type.  Add id
1580
        parameter to start_struct_type, start_class_type, and tag_type.
1581
        (debug_make_ellipsis_type): Declare.
1582
        (debug_find_named_type): Declare.
1583
        (debug_get_type_kind): Declare.
1584
        (debug_get_return_type): Declare.
1585
        (debug_get_parameter_types): Declare.
1586
        (debug_get_fields): Declare.
1587
        (debug_get_field_type): Declare.
1588
        * debug.c (struct debug_handle): Add fields class_id and base_id.
1589
        (struct debug_class_type): Add field id.
1590
        (struct debug_method_variant): Rename argtypes to physname.
1591
        Change all uses.
1592
        (debug_ellipsis_type): New static variable.
1593
        (ELLIPSIS_P): New macro.
1594
        (debug_make_ellipsis_type): New function.
1595
        (debug_make_method_variant): Rename argtypes to physname.
1596
        (debug_make_static_method_variant): Likewise.
1597
        (debug_name_type): Always put types in the global namespace.
1598
        (debug_find_named_type): New function.
1599
        (debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
1600
        rather than DEBUG_KIND_VOID.
1601
        (debug_get_real_type): New static function.
1602
        (debug_get_type_kind): New function.
1603
        (debug_get_return_type): New function.
1604
        (debug_get_parameter_types): New function.
1605
        (debug_get_fields): New function.
1606
        (debug_get_field_type): New function.
1607
        (debug_write): Initialize base_id.
1608
        (debug_write_type): Pass new id argument to tag_type.  Handle
1609
        DEBUG_KIND_ILLEGAL.  Use id for DEBUG_KIND_STRUCT and
1610
        DEBUG_KIND_UNION.  Handle ellipsis for method arguments.
1611
        (debug_write_class_type): Don't dereference kclass if it is NULL.
1612
        Use id.
1613
        * prdbg.c (pr_fns): Add pr_ellipsis_type.
1614
        (pr_ellipsis_type): New static function.
1615
        (pr_pointer_type): If this is a pointer to an array, parenthesize
1616
        it correctly.
1617
        (pr_start_struct_type): Add id parameter.
1618
        (pr_start_class_type): Likewise.
1619
        (pr_tag_type): Likewise.
1620
        (pr_fix_visibility): Add the visibility to the top of the stack,
1621
        not the second element on the stack.
1622
        (pr_struct_field): Pop the stack before calling pr_fix_visibility.
1623
        (pr_class_static_member): Likewise.
1624
        (pr_class_start_method): Don't push a type, just set the method
1625
        name in the type on the top of the stack.
1626
        (pr_class_end_method): Don't pop the stack.
1627
        (pr_class_method_variant): Rename argtypes parameter to physname.
1628
        Append const and volatile rather than prepending them.  Add a
1629
        space after the physname.
1630
        (pr_class_static_method_variant): Likewise.
1631
        * ieee.c (ieee_fns): Add ieee_ellipsis_type.
1632
        (ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
1633
        DEBUG_KIND_VOID.
1634
        (write_ieee_debugging_info): Likewise.
1635
        (ieee_typdef): Likewise.
1636
        (ieee_ellipsis_type): New static function.
1637
        (ieee_start_struct_type): Add id parameter.
1638
        (ieee_start_class_type): Likewise.
1639
        (ieee_tag_type): Likewise.
1640
        (ieee_class_method_variant): Rename name to physname.
1641
        (ieee_class_static_method_variant): Likewise.
1642
 
1643
        * Makefile.in (DEBUG_OBJS): Remove prdbg.o.
1644
        ($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o.
1645
 
1646
Thu Jan 18 17:35:06 1996  Kim Knuttila  
1647
 
1648
        * dlltool.c (make_tail): Changed the order of the sections to avoid
1649
        an alignment problem.
1650
 
1651
Wed Jan 17 14:23:00 1996  J.T. Conklin  
1652
 
1653
        * srconv.c (wr_du): Set du.stackfrmt to 0.
1654
        (wr_un, wr_sc): Emit all sections, even those with 0 size.
1655
 
1656
Tue Jan 16 16:15:49 1996  J.T. Conklin  
1657
 
1658
        * srconv.c (wr_hd): Space size within segment was being
1659
        stored in segment identifier field.
1660
 
1661
Tue Jan 16 12:07:25 1996  Stan Shebs  
1662
 
1663
        * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
1664
        BUILD_DLLTOOL): Put definitions for these into makefile when
1665
        configuring, instead of always clearing in mpw-make.sed.
1666
        * mpw-make.sed: Edit out any host_alias or target_alias settings,
1667
        fix pathname to BFD internal include files, remove dependency
1668
        calculation rules.
1669
 
1670
Thu Jan 11 17:31:38 1996  Michael Meissner  
1671
 
1672
        * objdump.c (dump_section_header): Add new section flags
1673
        SEC_{EXCLUDE,SORT_ENTRIES}.
1674
 
1675
Thu Jan 11 11:45:34 1996  Ian Lance Taylor  
1676
 
1677
        * objcopy.c (filter_symbols): NULL terminate the output symbols.
1678
        (copy_object): Allocate space for a possible extra NULL pointer.
1679
 
1680
        * debug.c (debug_make_undefined_tagged_type): Make sure we are
1681
        given a kind of type we can handle.
1682
        (debug_write_type): Handle undefined enums and structs.
1683
        (debug_write_class_type): Handle undefined classes.
1684
        * prdbg.c (pr_enum_type): Handle an undefined enum.
1685
        * ieee.c (ieee_enum_type): Likewise.
1686
 
1687
Wed Jan 10 15:33:18 1996  Ian Lance Taylor  
1688
 
1689
        * Makefile.in: Updated dependencies.
1690
        (ALLOCA, MALLOC): Remove variables.
1691
        (ADDL_LIBS): Remove $(MALLOC) from definition.
1692
        * alloca.c, gmalloc.c: Remove.
1693
 
1694
Mon Jan  8 18:02:29 1996  Ian Lance Taylor  
1695
 
1696
        * ieee.c: Add global function write_ieee_debugging_info and a
1697
        bunch of static functions and structs used to write out IEEE
1698
        debugging information.
1699
        * budbg.h (write_ieee_debugging_info): Declare.
1700
 
1701
        * ieee.c (struct ieee_type): Add pslot field.
1702
        (enum builtin_types): Define.
1703
        (ieee_builtin_type): For a pointer, return a pointer to the named
1704
        type.  Use enum values rather than numbers.
1705
        (ieee_alloc_type): New static function.
1706
        (ieee_read_type_index): Use ieee_alloc_type.
1707
        (parse_ieee_bb): Likewise.
1708
        (parse_ieee_ty): Likewise.  Use ieee_builtin_type for array range,
1709
        rather than making a new integer type.  Store the new type in the
1710
        slot, if there is one.
1711
        (parse_ieee_atn): Treat ATN10 as defining a register variable.
1712
        (ieee_regno_to_genreg): Rename from ieee_regno_to_gen.  Change all
1713
        callers.
1714
        (ieee_genreg_to_regno): New static function.
1715
 
1716
        * stabs.c (parse_stab_type): Add new typename parameter.  Change
1717
        all callers.
1718
        (parse_stab_range_type): Add new typename parameter.  Change all
1719
        callers.
1720
 
1721
        * debug.h (struct debug_write_fns): Add tag parameter to
1722
        enum_type, start_struct_type, and start_class_type.
1723
        * debug.c (debug_write_type): Pass any tag name to
1724
        start_struct_type, debug_write_class_type, and enum_type.  If
1725
        DEBUG_KIND_TAGGED, pass the name in the recursive call.
1726
        (debug_write_class_type): Accept a new tag parameter, and pass it
1727
        to start_class_type.
1728
        * prdbg.c (pop_type): Don't remove '+' character.
1729
        (pr_enum_type): Accept and use tag parameter.
1730
        (pr_start_struct_type): Likewise.
1731
        (pr_start_class_type): Likewise.
1732
        (pr_class_baseclass): Adjust algorithm used to find where to put
1733
        the baseclass name.
1734
        (pr_tag): Don't bother to insert the tag name.
1735
 
1736
        * objcopy.c: Include budbg.h.
1737
        (convert_debugging): New static variable.
1738
        (OPTION_DEBUGGING): Define.
1739
        (copy_options): Add "debugging".
1740
        (copy_usage): Mention --debugging.
1741
        (is_strip_section): Skip debugging sections if convert_debugging.
1742
        (setup_section, copy_section): Likewise.
1743
        (filter_symbols): Skip debugging symbols if convert_debugging.
1744
        (copy_object): If convert_debugging, read and write debugging
1745
        information.
1746
        (write_debugging_info): New static function.
1747
        (copy_main): Handle --debugging.
1748
        * Makefile.in (DEBUG_OBJS): New variable.
1749
        ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
1750
        ($(STRIP_PROG)): Likewise.
1751
        (OBJDUMP_OBJS): Remove variable.
1752
        ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
1753
        $(OBJDUMP_OBJS).
1754
        * binutils.texi, objcopy.1: Document --debugging.
1755
 
1756
Thu Jan  4 16:31:21 1996  Ian Lance Taylor  
1757
 
1758
        * ieee.c: New file with code to read IEEE debugging information.
1759
        * budbg.h (parse_ieee): Declare.
1760
        * rddbg.c (read_debugging_info): Handle IEEE flavour files.
1761
        (read_ieee_debugging_info): New static function.
1762
        * Makefile.in: Rebuild dependencies.
1763
        (CFILES): Add ieee.c.
1764
        (OBJDUMP_OBJS): Add ieee.o.
1765
 
1766
        * bucomm.h (xrealloc): Change type of first parameter from char *
1767
        to PTR.
1768
 
1769
Tue Jan  2 17:44:07 1996  Ian Lance Taylor  
1770
 
1771
        * Makefile.in: Add targets to automatically rebuild dependencies.
1772
        Remove targets which just listed dependencies of .o files.
1773
        (DEP): New variable.
1774
        (HFILES, GENERATED_HFILES): New variables.
1775
        (CFILES, GENERATED_CFILES): New variables.
1776
        (underscore.c): Don't do anything, just depend upon stamp-under.
1777
        (stamp-under): New target; do what underscore.c used to do.
1778
        (nlmconv.o): Depend upon sym.h and ecoff.h.
1779
        (.dep, .dep1, dep.sed, dep, dep-in): New targets.
1780
        (stage1, stage2, stage3, against, comparison): Remove.
1781
        (de-stage1, de-stage2, de-stage3): Remove.
1782
        (clean, distclean): Remove stamp-under and dep.sed.
1783
        * dep-in.sed: New file.
1784
 
1785
        Implement generic debugging support.  Implement a stabs reader and
1786
        a generic printer.
1787
        * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
1788
        * objdump.c: Include "debug.h" and "budbg.h".
1789
        (dump_debugging): New global variable.
1790
        (usage): Mention --debugging.
1791
        (long_options): Add "debugging".
1792
        (display_bfd): Handle --debugging.
1793
        * Makefile.in (OBJDUMP_OBJS): New variable.
1794
        ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
1795
        * binutils.texi, objdump.1: Document --debugging.
1796
 
1797
Sat Dec 30 09:59:51 1995  Jeffrey A Law  (law@cygnus.com)
1798
 
1799
        * nm.c ( long_options): Add "--defined-only" option.
1800
        (usage): Update for new "--defined-only" option.
1801
        (filter_symbols): Handle "--defined-only".
1802
 
1803
Fri Dec 29 16:04:56 1995  Ian Lance Taylor  
1804
 
1805
        * arparse.y: Include "bucomm.h", not .
1806
        * nlmheader.y: Don't include "sysdep.h".
1807
 
1808
Tue Dec 26 18:23:18 1995  Ian Lance Taylor  
1809
 
1810
        * nm.c (print_symdef_entry): Check return value of
1811
        bfd_get_elt_at_index.
1812
 
1813
Sat Dec 23 11:03:16 1995  Michael Meissner  
1814
 
1815
        * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target
1816
        is powerpc*-*-win* in addition to powerpc*-*-*pe*.
1817
 
1818
Fri Dec 15 16:30:57 1995  Ian Lance Taylor  
1819
 
1820
        * objdump.c (endian_string): New static function.
1821
        (display_target_list): Use it.
1822
        * nlmconv.c (main): Use new bfd_big_endian macro.
1823
 
1824
Fri Dec 15 07:51:34 1995  steve chamberlain  
1825
 
1826
        * dlltool.c (fill_ordinals): Start from 1 if no other instructions
1827
        given.
1828
 
1829
Tue Dec 12 12:05:21 1995  Ian Lance Taylor  
1830
 
1831
        * Makefile.in (clean): Remove $(DEMANGLER_PROG).1.  From Ronald
1832
        F. Guilmette .
1833
 
1834
Mon Dec 11 14:33:05 1995  Stan Shebs  
1835
 
1836
        * mac-binutils.r: Fix copyright and version strings.
1837
 
1838
        * Makefile.in (version): Remove, no longer used.
1839
 
1840
Fri Dec  1 14:41:56 1995  Stan Shebs  
1841
 
1842
        * mpw-make.sed (install, install-only): Edit in Mac-specific
1843
        install procedure.
1844
 
1845
Thu Nov 30 20:26:02 1995  Kim Knuttila  
1846
 
1847
        * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
1848
        including the return instruction.
1849
        sinfo: added a preferred alignment field.
1850
        (secdata): section data for the PowerPC version.
1851
        (make_one_lib_file): More symbols, More sections (pdata, rdata)
1852
        (make_tail): Use idata$6 instead of idata$7 for ppc. Also added a
1853
        NULL idata$3 descriptor (temporary).
1854
 
1855
Tue Nov 28 17:23:44 1995  Doug Evans  
1856
 
1857
        * dlltool.c (fill_ordinals): Don't reference d_export_vec if
1858
        there are no exported functions.
1859
 
1860
Mon Nov 27 13:05:59 1995  Ian Lance Taylor  
1861
 
1862
        * configure: Regenerate with autoconf 2.7.
1863
 
1864
Wed Nov 22 13:17:15 1995  Ian Lance Taylor  
1865
 
1866
        * dlltool.c (fill_ordinals): Start assigning ordinals at 1.
1867
 
1868
        * Makefile.in (EXPECT): Use $$r, not $${rootme}.
1869
        (check): Set r, not rootme.
1870
 
1871
Tue Nov 21 18:04:09 1995  Ian Lance Taylor  
1872
 
1873
        * configure.in: Use BFD_NEED_DECLARATION.
1874
        * acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
1875
        * configure, config.in: Rebuild with autoconf 2.6.
1876
 
1877
Fri Nov 17 10:34:37 1995  Ian Lance Taylor  
1878
 
1879
        * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
1880
        $(host_canonical) and $(target_canonical).
1881
 
1882
Thu Nov 16 03:39:20 1995  Ken Raeburn  
1883
 
1884
        Version 2.6 released.
1885
        * Makefile.in (VERSION): Update to 2.6.
1886
 
1887
Wed Nov 15 12:14:17 1995  Ian Lance Taylor  
1888
 
1889
        * Makefile.in (CC_FOR_TARGET): Define.
1890
        (check): Pass CC and CFLAGS to runtest.
1891
 
1892
        * nm.c (display_rel_file): Don't require a DYNAMIC object when
1893
        dumping the dynamic symbol table.
1894
 
1895
        * objdump.c (compare_symbols): Sort global symbols before local
1896
        symbols before debugging symbols.
1897
        (objdump_print_address): Don't futz around looking for a global
1898
        symbol with the same value.
1899
 
1900
Tue Nov 14 17:19:11 1995  Ian Lance Taylor  
1901
 
1902
        * dlltool.c: Use FOPEN_* macros rather than "r" or "w".
1903
 
1904
        * dlltool.c (fill_ordinals): Correct memset call.
1905
 
1906
Sun Nov 12 12:56:05 1995  Stan Shebs  
1907
 
1908
        * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
1909
        with the man page.
1910
 
1911
Fri Nov 10 11:41:22 1995  Ian Lance Taylor  
1912
 
1913
        * objcopy.c (setup_section): Copy the section lma independently of
1914
        the vma.
1915
 
1916
Wed Nov  8 11:33:00 1995  Ian Lance Taylor  
1917
 
1918
        * arsup.c (ar_open): Cast malloc return value.
1919
 
1920
Tue Nov  7 09:01:26 1995  Kim Knuttila  
1921
 
1922
        * configure.in, configure (DLLTOOL_DEFS): Added ppc target.
1923
        * dlltool.c (MPPC): Added basic PPC definitions.
1924
 
1925
Tue Nov  7 14:02:57 1995  Ian Lance Taylor  
1926
 
1927
        * configure.in: Don't treat rs6000-*-lynx* specially.
1928
        * configure: Rebuild.
1929
        * config/rslynx: Remove.
1930
        * Makefile.in: Remove @target_makefile_fragment@.
1931
 
1932
Mon Nov  6 15:00:50 1995  Ian Lance Taylor  
1933
 
1934
        * bucomm.h: Include .
1935
        * ar.c: Don't include  or .
1936
        * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
1937
 
1938
Fri Nov  3 12:38:09 1995  Ian Lance Taylor  
1939
 
1940
        * objdump.c: Include .
1941
 
1942
        Permit user to override DEMANGLER_PROG from command line.  From
1943
        Manfred Hollstein .
1944
        * Makefile.in ($(DEMANGLER_PROG)): Depend upon
1945
        $(DEMANGLER_PROG).1.
1946
        (install): Don't depend upon $(DEMANGLER_PROG).1.  Only install
1947
        $(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
1948
 
1949
Wed Nov  1 15:04:57 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  
1950
 
1951
        * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
1952
        separate directory.
1953
 
1954
Mon Oct 30 14:24:18 1995  Ian Lance Taylor  
1955
 
1956
        * objdump.c (objdump_print_value): New static function.
1957
        (objdump_print_address): Use it.  If we need the right section for
1958
        the symbol, and we can't find it, print an offset from the section
1959
        rather than using a symbol from some other section.
1960
 
1961
Thu Oct 26 10:23:14 1995  steve chamberlain  
1962
 
1963
        * dlltool.c (no_idata4, no_idata5): New.
1964
        (arm_jtab): Use correct encoding of jump instruction.
1965
        (usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
1966
 
1967
Wed Oct 25 12:10:07 1995  Stan Shebs  
1968
 
1969
        * mpw-make.sed: Edit paths to generated y.tab.[ch] files.
1970
 
1971
Fri Oct 20 18:40:34 1995  Ian Lance Taylor  
1972
 
1973
        * binutils.texi: Change --with-targets to --enable-targets.
1974
 
1975
Thu Oct 19 17:47:41 1995  Fred Fish  
1976
 
1977
        * Makefile.in:  Remove extraneous tab on otherwise empty line,
1978
        which confuses many non-GNU versions of "make".
1979
 
1980
Wed Oct 18 16:31:58 1995  steve chamberlain  
1981
 
1982
        * dlltool.c (i386_jtab, arm_jtab): New
1983
        (gen_lib_file): Rewritten to use bfd.
1984
 
1985
Fri Oct 13 16:10:07 1995  Michael Meissner  
1986
 
1987
        * Makefile.in (install): Don't give error message if dlltool
1988
        wasn't built.
1989
 
1990
Fri Oct 13 11:04:37 1995  steve chamberlain  
1991
 
1992
        * deflex.l: Allow quoting of IDs.
1993
        * defparse.y (%union): string deleted.
1994
        (command): DESCRIPTION takes ID.
1995
        * dlltool.c (gen_def_file): Quote outgoing name if
1996
        necessary.  Preserve NONAME.
1997
        (gen_lib_file): Run ranlib.
1998
        (workout_prefix): Deleted.
1999
        (main, usage, long_options): Add --as, --ranlib, --ar options.
2000
 
2001
Wed Oct 11 13:36:13 1995  steve chamberlain  
2002
 
2003
        * dlltool.c (mtable): HOW_ALIGN_LONG, new.
2004
        (d_ord): Deleted.
2005
        (d_low_ord, d_high_ord, d_named_funcs): New.
2006
        (gen_exp_file): Create noname entries correctly.
2007
        (gen_lib_file): Dump exports alphabetically.
2008
        (process_duplicates):  Count nonamed functions.
2009
        (fill_ordinals): Keep track of highest ord too.
2010
        (mangle_defs): Create alphabetically ordered list of names.
2011
 
2012
Tue Oct 10 09:39:09 1995  steve chamberlain  
2013
 
2014
        * Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
2015
 
2016
Mon Oct  9 13:06:31 1995  steve chamberlain  
2017
 
2018
        * dlltool.c (add_underscore): New.
2019
        (xlate): Use new name.
2020
        (main, usage): Update.
2021
 
2022
Fri Oct  6 14:08:51 1995  Ken Raeburn  
2023
 
2024
        * sysinfo.y: Eliminate unused terminals "[" and "]" and unused
2025
        nonterminal "name".  One s/r conflict remains.
2026
 
2027
        Mon Sep 25 22:49:32 1995  Andreas Schwab  
2028
 
2029
        * nm.c (print_symname): Don't try to demangle an empty
2030
        name.
2031
        * objdump.c (slurp_symtab): Reset symcount if there are
2032
        no symbols.
2033
        (slurp_dynamic_symtab): Likewise, for dynsymcount.
2034
        (disassemble_data): Fix memory leak: free sorted_syms when done.
2035
        (display_bfd): Likewise, for syms and dynsyms.
2036
        (dump_relocs): Don't print header before possibly generating an
2037
        error message.
2038
        (dump_dynamic_relocs): Likewise.
2039
 
2040
        * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and
2041
        formatting bugs.
2042
 
2043
Fri Oct  6 12:00:25 1995  Ian Lance Taylor  
2044
 
2045
        * ar.c (do_quick_append): Comment out.
2046
        (replace_members): Add quick argument.
2047
        (main): Don't call do_quick_append.
2048
        (open_inarch): Don't call quick_append to create an empty archive.
2049
        Instead call bfd_openw/bfd_set_format/bfd_close.
2050
 
2051
Thu Oct  5 20:53:08 1995  Ken Raeburn  
2052
 
2053
        * bucomm.c: Always include time.h.
2054
 
2055
Thu Oct  5 17:25:21 1995  Ian Lance Taylor  
2056
 
2057
        * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
2058
        symbols after other symbols with the same value.  Likewise for
2059
        symbols which look like file names.
2060
        (objdump_print_address): Always chose the first reasonable symbol
2061
        with a given value.
2062
 
2063
Tue Oct  3 22:38:55 1995  Ian Lance Taylor  
2064
 
2065
        * arsup.c (ar_save): Use rename, not unlink/link/unlink.
2066
 
2067
Mon Oct  2 12:10:25 1995  Ian Lance Taylor  
2068
 
2069
        * strings.c (main): Exit with zero status if no files are given
2070
        and standard input is read.
2071
 
2072
Thu Sep 28 20:03:07 1995  Stan Shebs  
2073
 
2074
        * mpw-config.in: Calculate underscore and put into makefile
2075
        fragment, generate config.h.
2076
        * mpw-make.sed: New file, sed commands to edit Unix makefile
2077
        into MPW syntax.
2078
        * mpw-make.in: Remove.
2079
        * mac-binutils.r: New file, Mac resources.
2080
 
2081
Thu Sep 28 15:49:00 1995  steve chamberlain  
2082
 
2083
        * dlltool.c: (gen_exp_file): Always emit a .reloc section if
2084
        relocatable.
2085
        (imp_name_lab): New.
2086
        (gen_def_file): New.
2087
        (gen_lib_file): Use imp_name_lab.
2088
        (main): Initialize imp_name_lab.
2089
 
2090
Mon Sep 25 12:05:34 1995  Ian Lance Taylor  
2091
 
2092
        * configure.in: Call AC_HEADER_SYS_WAIT.
2093
        * configure: Rebuild.
2094
        * config.in: Rebuild.
2095
        * dlltool.c: Include "libiberty.h" and "bucomm.h".  Don't include
2096
        , , or .  Don't include .
2097
        Include .  Use HAVE_SYS_WAIT_H to control whether to
2098
        include  or define the wait macros by hand.  Don't
2099
        declare xmalloc.
2100
        (gen_lib_file): Don't assume that sprintf returns the number of
2101
        characters; use strlen instead.
2102
 
2103
Fri Sep 22 17:16:41 1995  Ian Lance Taylor  
2104
 
2105
        * objdump.c (disassemble_data): Don't use the old BFD based
2106
        disassembler interface.  Make info a const pointer.
2107
 
2108
Wed Sep 13 18:33:44 1995  Ian Lance Taylor  
2109
 
2110
        * objdump.c (start_address): New variable.
2111
        (stop_address): New variable.
2112
        (usage): Mention --start-address and --stop-address.
2113
        (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
2114
        (long_options): Add "start-address" and "stop-address".
2115
        (disassemble_data): Handle start_address and stop_address.
2116
        (dump_data, dump_reloc_set): Likewise.
2117
        (main): Don't set seenflag for -l.  Handle OPTION_START_ADDRESS
2118
        and OPTION_STOP_ADDRESS.
2119
        * objcopy.c (parse_vma): Move to bucomm.c.
2120
        * bucomm.c (parse_vma): New function, moved in from objcopy.c.
2121
        * bucomm.h (parse_vma): Declare.
2122
        * binutils.texi, objdump.1: Document new objdump options.
2123
 
2124
Tue Sep 12 12:37:39 1995  Ian Lance Taylor  
2125
 
2126
        * Makefile.in (maintainer-clean): New target.
2127
 
2128
        * ar.c (replace_members): Don't call write_archive if nothing
2129
        changed.
2130
 
2131
        * objdump.c (disassemble_data): Add casts to avoid gcc warnings.
2132
 
2133
Thu Sep  7 12:12:17 1995  Ian Lance Taylor  
2134
 
2135
        * config.in: Rename from config.h.in.
2136
        * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
2137
        Check for config.h:config.in when creating stamp-h.
2138
        * configure: Rebuild.
2139
        * Makefile.in (stamp-h): Depend upon config.in rather than
2140
        config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
2141
        calling config.status.
2142
 
2143
        * Makefile.in (distclean): Remove config.h, stamp-h, and
2144
        config.log.
2145
 
2146
        * nm.c (value_format): Initialize based on BFD64 and
2147
        BFD_HOST_64BIT_LONG.
2148
        (print_radix): New static variable.
2149
        (set_print_radix): Set print_radix.  Adjust changes to
2150
        value_format.
2151
        (print_value): New static function, to print 64 bit octal and
2152
        decimal values correctly.
2153
        (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT.  Use
2154
        print_value.
2155
        (print_symbol_info_sysv): Use print_value.
2156
        (print_symbol_info_posix): Likewise.
2157
 
2158
Wed Sep  6 15:02:55 1995  Ian Lance Taylor  
2159
 
2160
        * Makefile.in (*.o): Remove incorrect dependencies on
2161
        $(BFDDIR)/hosts/std-host.h.
2162
 
2163
        * Makefile.in (INSTALL_DATA): Add -m 644.
2164
        (INSTALL_XFORM1): Likewise.
2165
        (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC).
2166
        (mostlyclean): Remove config.log.
2167
        (distclean): Remove config.cache.
2168
 
2169
        * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN.
2170
        * configure: Rebuild.
2171
 
2172
Tue Sep  5 20:22:42 1995  Ian Lance Taylor  
2173
 
2174
        * configure.in: Rewrite to use autoconf.
2175
        * aclocal.m4: New file.
2176
        * configure: New file, built by autoconf.
2177
        * acconfig.h: New file.
2178
        * config.h.in: New file, built by autoheader.
2179
        * Makefile.in: Various changes for new configure script.  Also:
2180
        (PROGS): Remove $(SYSINFO_PROG).
2181
        (ALL_CFLAGS): Remove $(TDEFINES).
2182
        (version.o): Use $(ALL_CFLAGS).
2183
        (cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
2184
        (sysdump.o): Depend upon bucomm.h and config.h.
2185
        (srconv.o, arsup.o, strings.o): Depend upon config.h.
2186
        (filemode.o): Don't depend upon ../bfd/sysdep.h.
2187
        (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
2188
        (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
2189
        (nlmheader.o, nlmconv.o): Likewise.
2190
        (distclean): Don't remove sysdep.h.
2191
        * bucomm.h: Include "ansidecl.h", , and "config.h".
2192
        Include "fopen-same.h" or "fopen-bin.h", based on
2193
        USE_BINARY_FOPEN.  Include , and declare errno if it is
2194
        not a macro.  Include , , ,
2195
        , and  if they are present.  Declare strchr,
2196
        strrchr, and strstr if no string header file exists.  Include
2197
         if it exists and  does not.  Define
2198
        O_RDONLY and O_RDWR if necessary.
2199
        * ar.c:  Don't include "sysdep.h".  Do include  and
2200
        .  Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME.  Use
2201
        HAVE_UTIMES rather than !USE_UTIME.  Don't include , and
2202
        don't declare errno.
2203
        * arsup.c: Don't include .
2204
        * bucomm.c: Don't include "sysdep.h".  Include ,
2205
        , and .  Include  if it defines
2206
        time_t.  Define time_t if necessary.
2207
        * coffdump.c: Don't include "sysdep.h".
2208
        * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
2209
        * srconv.c, strings.c: Likewise.
2210
        * nm.c: Don't include "sysdep.h".  Don't try to define HAVE_SBRK.
2211
        * objcopy.c: Don't include "sysdep.h".  Include  and
2212
        .
2213
        (simple_copy): Use creat rather than assuming that O_CREAT is
2214
        defined.
2215
        * objdump.c: Don't include "sysdep.h".  Use
2216
        NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
2217
        * sysdump.c: Include "bfd.h" and "bucomm.h".  Don't include
2218
        "sysdep.h" or .
2219
        (dump_symbol_info): Rename from symbol_info.  Change all callers.
2220
 
2221
Mon Sep  4 14:30:00 1995  Ian Lance Taylor  
2222
 
2223
        * configure.in (host_makefile_frag): Don't set.  Substitute for
2224
        @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile.
2225
        * Makefile.in (AR_FLAGS): Set to rc rather than qv.
2226
        (CC): Define as @CC@.
2227
        (CFLAGS): Set to @CFLAGS@.
2228
        (LDFLAGS): Define as @LDFLAGS@.
2229
        (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
2230
 
2231
        * configure.in: Don't bother to call config.bfd for each target.
2232
        Just call it for the default target, and use the shell variable to
2233
        decide whether underscores are used.
2234
 
2235
Thu Aug 31 19:21:48 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
2236
 
2237
        * configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
2238
 
2239
Thu Aug 31 16:30:22 1995  steve chamberlain  
2240
 
2241
        * dlltool.c (add_indirect): New.
2242
        (asm_prefix): New
2243
        (gen_exp_file): Timestamp should be 0. Insert prefix when
2244
        needed. New code for indirection.
2245
        (gen_lib_file): Timestamp should be 0. Insert prefix
2246
        when needed.
2247
        (usage): Document --add-indirect.
2248
        (main): Cope with new option.
2249
 
2250
        * objdump.c (dump_private_headers): New.
2251
        (usage): Document new option.
2252
        (long_option): Add private-headers.
2253
        (dump_bfd_private_header): New.
2254
        (main): Cope with new option.
2255
 
2256
Thu Aug 31 04:09:16 1995  Doug Evans  
2257
 
2258
        * dlltool.c (run): Add missing 3rd arg to waitpid.
2259
 
2260
Wed Aug 30 11:02:11 1995  steve chamberlain  
2261
 
2262
        * Makefile.in (TOOL_PROGS): Include dlltool if needed.
2263
 
2264
Tue Aug 29 13:25:21 1995  steve chamberlain  
2265
 
2266
        * dlltool.c (rva): Deleted.
2267
        (rvaafter, rva_before): Use new assembler pseudo.
2268
        (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing.
2269
        (gen_exp_file): Don't generate .edata if no need.
2270
        (gen_lib_file): Don't make timestamp.
2271
        Put _iname in idata$7.
2272
        (workout_prefix): Fix memory initialization bug.
2273
        (usage): Tidy up, delete many single char options.
2274
        (main): rva option is gone.
2275
 
2276
Mon Aug 21 18:41:28 1995  steve chamberlain  
2277
 
2278
        * dlltool.c (options): image-base is a synonym for rva.
2279
        (gen_lib_file): Put dll name into ibase$7.
2280
 
2281
Sun Aug 20 09:59:00 1995  steve chamberlain  
2282
 
2283
        Modified to generate archives and objects rather than .s files.
2284
        * dlltool.c (run) New function.
2285
        (gen_exp_file, gen_lib_file): Use run.
2286
        (workout_prefix): New.
2287
        (usage): Document new options.
2288
        (main): Parse new options.
2289
 
2290
Wed Aug 16 16:26:52 1995  steve chamberlain  
2291
 
2292
        * dlltool.c (gen_exp_file): Fix RVA handling.
2293
        (rva_s, rva_n): Delete.
2294
 
2295
Fri Aug 11 18:27:18 1995  Ian Lance Taylor  
2296
 
2297
        * nm.c (main): Ignore -e.
2298
 
2299
Thu Aug 10 17:35:00 1995  Ken Raeburn  
2300
 
2301
        * Makefile.in (config.texi): New target.  Write out a setting for
2302
        texinfo variable VERSION.
2303
        (binutils.dvi, binutils.info): Depend on it.
2304
        * binutils.texi: Include it, and reference @value{VERSION} instead
2305
        of explicitly specifying 2.2(!).
2306
 
2307
Thu Aug 10 16:07:53 1995  Ian Lance Taylor  
2308
 
2309
        * coffgrok.c (do_type): Handle array dimensions the same way gdb
2310
        does.
2311
 
2312
Tue Aug  8 17:10:42 1995  steve chamberlain  
2313
 
2314
        * dlltool.c (mtable): New fields.
2315
        (ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
2316
        (flush_page): Use new macros.
2317
 
2318
Sat Aug  5 00:16:37 1995  Jeff Law  (law@snake.cs.utah.edu)
2319
 
2320
        * objcopy.c (mark_symbols_used_in_relocations): Handle sections
2321
        with no relocations.
2322
        * coffgrok.c (do_sections_p1): Likewise.
2323
 
2324
Mon Jul 31 12:51:06 1995  Ian Lance Taylor  
2325
 
2326
        * strings.c (print_strings): For compatibility with existing
2327
        strings programs, print strings which are not terminated with a
2328
        null byte or a newline.
2329
        * binutils.texi, strings.1: Update documentation accordingly.
2330
 
2331
        * ar.c (replace_members): For compatibility with existing ar
2332
        programs, permit users to add the same file multiple times.
2333
 
2334
Tue Jul 25 11:21:53 1995  Ian Lance Taylor  
2335
 
2336
        * strings.c (DATA_FLAGS): Remove SEC_DATA.
2337
        (main): If no file names are given, scan standard input.
2338
        * binutils.texi, strings.1: strings now scans non-data sections by
2339
        default.
2340
 
2341
Mon Jul 24 13:52:28 1995  J.T. Conklin  
2342
 
2343
        * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
2344
        (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes
2345
        for the sh.
2346
 
2347
        * sysdump.c (fillup): Return size - 1, the last byte is a checksum
2348
        and shouldn't be counted.
2349
        * sysroff.info (hd): Changed segment identifier from a byte to a 1
2350
        bit field.  The sysroff 2.0-01 specification seems to be in error
2351
        here.  Reduce width of following "spare" field from 4 to 3 bits.
2352
        (rl): Changed order and width of first 4 bitfields to correspond
2353
        to sysroff specification.
2354
        (dln_head, dln_inside, dln_tail): Removed.
2355
 
2356
Tue Jul 18 23:00:03 1995  Fred Fish  
2357
 
2358
        * nm.c (sort_symbols_by_size):  Enclose expression being casted
2359
        in parens so result is casted, not just first operand.  Can't
2360
        do pointer arithmetic on void* pointers.
2361
 
2362
Fri Jul 14 13:42:42 1995  J.T. Conklin  
2363
 
2364
        * sysdump.c (dh): Changed format of output to be 16 hex digits
2365
        followed by 16 ascii characters, similar to Emacs' hexl-mode,
2366
        to make it easier to read.
2367
        (xcalloc): fix typo.
2368
 
2369
Thu Jul 13 15:27:44 1995  J.T. Conklin  
2370
 
2371
        * srconv.c (wr_tr): Write out handcrafted tr block.
2372
        (walk_tree_symbol): Use evallen and evalue instead of
2373
        vallen & value because of corresponding changes in
2374
        sysroff.info.
2375
 
2376
        * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New
2377
        functions.
2378
 
2379
        * sysroff.info (tr): the tr block is a special case --- a block
2380
        without contents --- which can't be handled by generated code.
2381
        (den, dpp): only first byte is present for DENend, DPPend.
2382
        (dsy): describe a conditional portion of block, rename some fields.
2383
        (dps): describe a conditional portion of block.
2384
        (dfl): removed.
2385
 
2386
        * sysinfo.y (yyerror): write error message to standard error.
2387
 
2388
Thu Jul 13 10:43:59 1995  Ian Lance Taylor  
2389
 
2390
        * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.
2391
        (mostlyclean): Remove y.output.
2392
        (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo.
2393
 
2394
        * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
2395
        * objcopy.c (copy_object): Likewise.
2396
 
2397
        * nm.c (HAVE_SBRK): Define except on amigados and WINDOWS_NT.
2398
        (struct size_sym): Define.
2399
        (show_stats): New static variable.
2400
        (long_options): Add undocumented option "stats".
2401
        (main): Print memory stats if requested.
2402
        (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables.
2403
        (numeric_forward): Use minisymbols rather than asymbols.
2404
        (non_numeric_forward): Likewise.
2405
        (size_forward1): Rename from size_forward.  Use minisymbols.
2406
        (size_forward2): New static function.
2407
        (sort_symbols_by_size): Take new arguments dynamic, size, and
2408
        symsizep.  Use minisymbols.  Don't store the size back in the
2409
        symbol; store in a newly allocate struct size_sym array.
2410
        (display_rel_file): Read minisymbols rather than asymbols.  Set
2411
        sort_* variables.  Call print_size_symbols if sorting by size.
2412
        (filter_symbols): Take new arguments dynamic and size.  Use
2413
        minisymbols.
2414
        (print_symbols): Likewise.  Call print_symbol for actual printing.
2415
        (print_size_symbols): New static function.
2416
        (print_symbol): New static function.
2417
 
2418
Wed Jul 12 10:43:05 1995  Ian Lance Taylor  
2419
 
2420
        * objdump.c (dump_section_stabs): Only print each stabs section
2421
        once.
2422
        (compare_relocs): Make it clear to gcc that this always returns a
2423
        value.
2424
 
2425
Wed Jul 12 10:40:23 1995  H.J. Lu  
2426
 
2427
        * objcopy.c (simple_copy): Preserve errno on failure.
2428
        (smart_rename): Print error mesage if simple_copy fails.
2429
 
2430
Tue Jul 11 13:10:52 1995  J.T. Conklin  
2431
 
2432
        * sysdump.c: re-indented file.
2433
        (module): read blocks sequentially instead of trying to parse
2434
        them, as that would require changing the parser recognize the
2435
        difference between a DPSstart and DPSend block.
2436
        (getone): Add break's between switch blocks as appropriate.
2437
        (object_body_list): parse blocks according to sysroff spec.
2438
 
2439
Mon Jul 10 12:37:25 1995  J.T. Conklin  
2440
 
2441
        * sysroff.info: re-indented file, prior formatting was confusing
2442
        because it was indentation did not reflect nesting of conditional
2443
        records.  Change "space size within segment" record in hd record
2444
        from bit to byte.
2445
 
2446
        * sysinfo.y (cond_it_field): Use xcalloc instead of calloc.
2447
 
2448
        * srconv.c (wr_cs): Reformatted cs header array, tag each byte
2449
        with a comment describing the field.
2450
        (wr_unit_info): Use SEEK_SET macro instead of constant 0.
2451
        (main): Use FOPEN_WB macro instead of literal "wb".
2452
        * sysroff.info: Remove fdl (dfl) field from cs block.  Compare
2453
        ptr->type with ED_TYPE_CONST instead of constant 2 in ed block.
2454
 
2455
Tue Jul  4 14:48:42 1995  Ian Lance Taylor  
2456
 
2457
        * nm.c (size_forward): Check yf against yn, not xn.
2458
 
2459
        * objcopy.c (copy_archive): Record all output BFD's, and close
2460
        them before unlinking them and removing the temporary directory,
2461
        to avoid NFS problems.
2462
 
2463
        * ar.c (replace_members): In verbose messages, use 'r' when
2464
        replacing a member, and 'a' when adding one.
2465
 
2466
        * ar.c (ar_truncate): New static variable.
2467
        (normalize): Change return type to const char *.  Add abfd
2468
        argument.  Change all callers.  If ar_truncate, chop the filename
2469
        to abfd->ar_max_namelen.
2470
        (main): For the 'f' modifier, set ar_truncate to true.  Don't
2471
        change quick_append to replace if ar_truncate is true.
2472
        (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT.
2473
        (write_archive): Likewise.
2474
        * binutils.texi, ar.1: Document 'f' modifier.
2475
 
2476
        * objcopy.c (enum strip_action): Define strip_unneeded.
2477
        (OPTION_STRIP_UNNEEDED): Define.
2478
        (strip_options): Add "strip-unneeded".
2479
        (copy_options): Likewise.
2480
        (copy_usage): Mention --strip-unneeded.
2481
        (strip_usage): Likewise.
2482
        (is_strip_section): Strip debugging sections if strip_unneeded.
2483
        (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
2484
        (copy_object): If strip_all, discard symbols without checking
2485
        discard_locals.
2486
        (copy_object): Call filter_symbols if strip_unneeded.
2487
        (setup_section): Strip debugging sections if strip_unneeded.
2488
        (copy_section): Likewise.
2489
        (strip_main): Handle OPTION_STRIP_UNNEEDED.
2490
        (copy_main): Likewise.
2491
        * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
2492
 
2493
Mon Jul  3 14:16:47 1995  Steve Chamberlain  
2494
 
2495
        * configure.in (i386-*-win32): New configuration.
2496
        * dlltool.c (killat, xlate, usage, long_options, main):
2497
        Understand and cope with -k option.
2498
 
2499
Sat Jul  1 12:25:15 1995  Fred Fish  
2500
 
2501
        * ar.c: (extract_file):  Change "#if POSIX_UTIME" to
2502
        "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
2503
        and avoid lossage when POSIX_UTIME is not defined at all.
2504
 
2505
Wed Jun 28 17:51:24 1995  Steve Chamberlain  
2506
 
2507
        * ar.c: (print_contents.c, extract_file, do_quick_append):
2508
        Malloc buffers rather than allocate on stack (so it works
2509
        on NT).
2510
        * deflex.l: Names can have an @ in them.
2511
        * dlltool.c: Loads of stuff. Can now generate .imp files which
2512
        work with NT .dlls.
2513
 
2514
Thu Jun 22 19:10:50 1995  Stan Shebs  
2515
 
2516
        * mpw-make.in (demangle.c.o): Remove.
2517
        (arparse.h): Depend on arparse.c instead of arparse.y.
2518
 
2519
Wed Jun 21 17:32:45 1995  Ken Raeburn  
2520
 
2521
        * Makefile.in (DISTSTUFF): Don't include info here.
2522
        (diststuff): Include it here.
2523
        (realclean): Remove *.info.
2524
 
2525
        * objdump.c (compare_relocs): If relocation entries have the same
2526
        address, keep them in file order.
2527
 
2528
Mon Jun 19 09:06:49 1995  Steve Chamberlain  
2529
 
2530
        * dlltool.c: Change names of generated files. .*.s-> -*.s
2531
 
2532
        * objdump.c (dump_section_stabs):  Check for names
2533
        which are supersets of selected names.
2534
 
2535
Wed Jun 14 19:43:52 1995  Doug Evans  
2536
 
2537
        * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr.
2538
 
2539
Wed Jun 14 13:27:22 1995  Steve Chamberlain  
2540
 
2541
        * deflex.l, defparse.y, dlltool.c: New files.
2542
        * Makefile.in, configure.in: Support for them.
2543
 
2544
Mon Jun 12 11:27:54 1995  Steve Chamberlain  
2545
 
2546
        * sysdump.c: Include sysdep.h
2547
        (main): Open input with FOPEN_RB.
2548
 
2549
Fri Jun  9 17:26:11 1995  Michael Meissner  
2550
 
2551
        * objdump.c (wide_output): New flag variable.
2552
        (usage): Print new -w, --wide options.
2553
        (long_options): Add --wide support.
2554
        (dump_section_header): If --wide, don't print a newline between
2555
        the section's first line and the flags.
2556
        (objdump_print_address): Use unsigned comparisons for the binary
2557
        search, not signed.
2558
        (disassemble_data): If --wide, don't put a \n between the
2559
        disassembly output and relocation information.
2560
        (main): Support -w option being the same as --wide.
2561
 
2562
Thu Jun  1 17:09:27 1995  Ken Raeburn  
2563
 
2564
        Sat May  6 08:52:24 1995  H.J. Lu (hjl@nynexst.com)
2565
 
2566
        * objcopy.c (smart_rename): make it smarter, clean up
2567
          if rename () fails.
2568
 
2569
Tue May 30 14:24:15 1995  Ken Raeburn  
2570
 
2571
        * Makefile.in: Delete lines with lots of #### because four or more
2572
        indicate a point for makefile fragment substitution.
2573
 
2574
Tue May  9 17:17:05 1995  Michael Meissner  
2575
 
2576
        * configure.in: Don't build nlmconv on PowerPC eabi any more, it
2577
        is not needed.
2578
 
2579
Thu Apr 27 20:21:24 1995  Doug Evans  
2580
 
2581
        * Makefile.in (EXPECT): Define.
2582
        (RUNTEST): Use one in source tree if present.
2583
        (check): Set `rootme' for $(EXPECT).
2584
 
2585
Wed Apr 26 18:26:21 1995  Steve Chamberlain  
2586
 
2587
        * srconv.c (main): Add support for -n option which disables
2588
        prescan of common symbols.
2589
        (wr_ob): If reading past the end of a section, fill with zeros.
2590
 
2591
Tue Apr 25 19:14:37 1995  Ken Raeburn  
2592
 
2593
        * objdump.c (dump_section_header): Display load address after
2594
        virtual memory (run-time) address.
2595
 
2596
Wed Apr 19 09:44:06 1995  Jason Merrill  
2597
 
2598
        * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the
2599
        compile.
2600
        (DEMANGLER_PROG): No longer uses version.o.
2601
 
2602
Mon Apr 10 13:29:49 1995  Stan Shebs  
2603
 
2604
        Merge in support for Mac MPW as a host.
2605
        (Old change descriptions retained for informational value.)
2606
 
2607
        * mpw-config.in (TDEFINES): Define as empty in makefile frag.
2608
 
2609
        * mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
2610
 
2611
        * mpw-config.in: New file, MPW configure fragment for binutils.
2612
        * mpw-make.in (install-only): New target.
2613
        (install): Also depend on install-only.
2614
 
2615
        * mpw-make.in (cplusfilt): Renamed from c++filt.
2616
        (INCLUDES): Add more paths.
2617
 
2618
        * mpw-make.in: New file, MPW makefile fragment for binutils.
2619
        (Normally automatically generated from Makefile.in.)
2620
 
2621
Mon Mar 27 11:52:57 1995  Ian Lance Taylor  
2622
 
2623
        * ar.c (write_archive): Call make_tempname to get output file
2624
        name, rather than using a fixed name based on the input file.
2625
 
2626
        * objcopy.c (make_tempname): Copy from here...
2627
        * bucomm.c (make_tempname): ...to here, and make global.
2628
        * bucomm.h (make_tempname): Declare.
2629
 
2630
Fri Mar 24 11:47:42 1995  Ian Lance Taylor  
2631
 
2632
        * strings.c: Include "bfd.h" before other headers.  Include
2633
        "sysdep.h".
2634
        * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
2635
        and print them with %ld.
2636
 
2637
Fri Mar 10 13:09:42 1995  Ian Lance Taylor  
2638
 
2639
        * objcopy.c (strip_options): Add --keep-symbol.
2640
        (copy_options): Likewise.
2641
        (copy_usage): Mention --keep-symbol and -K.
2642
        (strip_usage): Likewise.
2643
        (keep_symbols): New static variable.
2644
        (is_strip_symbol): Adjust the return value according to
2645
        keep_symbols.
2646
        (strip_main): Handle -K.  For -N, check that -K was not given.
2647
        (copy_main): Likewise.
2648
        * binutils.texi, objcopy.1, strip.1: Document -K.
2649
 
2650
Mon Mar  6 13:33:47 1995  Stan Shebs  
2651
 
2652
        * objcopy.c (copy_archive): Check result of mkdir.
2653
        (copy_main): Cast an xmalloc result.
2654
 
2655
        * objdump.c (usage): Break long format string into shorter ones.
2656
 
2657
Mon Mar  6 13:46:12 1995  Ian Lance Taylor  
2658
 
2659
        * bucomm.c (list_supported_targets): New function.
2660
        * bucomm.h (list_supported_targets): Declare.
2661
        * ar.c (usage): Call list_supported_targets.
2662
        * nm.c (usage): Likewise.
2663
        * objcopy.c (copy_usage, strip_usage): Likewise.
2664
        * objdump.c (usage): Likewise.
2665
        * size.c (usage): Likewise.
2666
        * strings.c (usage): Likewise.
2667
 
2668
Tue Feb 28 15:13:58 1995  Ian Lance Taylor  
2669
 
2670
        * bucomm.c (print_arelt_descr): Cast st_size to long before
2671
        passing it to fprintf.
2672
 
2673
Fri Feb 17 13:36:45 1995  Ian Lance Taylor  
2674
 
2675
        * objcopy.c (struct section_list): Add fields remove, set_flags,
2676
        and flags.  Change adjust from boolean to enum.
2677
        (remove_sections): Remove static variable.
2678
        (sections_removed): New static variable.
2679
        (copy_options): Add --set-section-flags.
2680
        (copy_usage): Mention --set-section-flags.
2681
        (parse_flags): New static function.
2682
        (find_section_list): New static function.
2683
        (is_strip_symbol): Change return type from int to boolean.
2684
        (is_strip_section): New static function.
2685
        (filter_symbols): Call is_strip_section.
2686
        (copy_object): When adding sections, check for specified flags or
2687
        VMA.  Call filter_symbols if any sections are being removed.
2688
        (setup_section): Use find_section_list function rather than
2689
        looking through remove_sections and adjust_sections.  Handle
2690
        --set-section-flags.
2691
        (copy_section): Use find_section_list rather than looking through
2692
        remove_sections.
2693
        (strip_main): Use find_section_list instead of adding items to
2694
        sections_removed.
2695
        (copy_main): Use find_section_list instead of adding items to
2696
        sections_removed and adjust_sections.  Handle --set-section-flags.
2697
        * binutils.texi, objcopy.1: Document --set-section-flags.
2698
 
2699
Tue Feb 14 18:03:03 1995  Ian Lance Taylor  
2700
 
2701
        * objdump.c (with_source_code): New global variable.
2702
        (usage): Mention -S/--source.
2703
        (long_options): Add --source.
2704
        (prev_functionname, prev_line): New static variables.
2705
        (struct print_file_list): Define.
2706
        (print_files): New static variable.
2707
        (skip_to_line, show_line): New static functions.
2708
        (disassemble_data): Call show_line to handle -l and -S.
2709
        (main): Handle -S.
2710
        * binutils.texi, objdump.1: Document -S/--source.
2711
 
2712
Thu Feb  9 16:11:53 1995  Ian Lance Taylor  
2713
 
2714
        * objcopy.c (copy_usage): Rename parameter to avoid shadowing.
2715
        (strip_usage): Likewise.
2716
 
2717
        * objcopy.c (struct section_add): Define.
2718
        (add_sections): New static variable.
2719
        (copy_options): Accept --add-section.
2720
        (copy_usage): Mention --add-section.
2721
        (copy_object): Add sections from the add_sections list.
2722
        (copy_main): Handle --add-section.
2723
        * binutils.texi, objcopy.1: Document --add-section.
2724
 
2725
Wed Feb  1 15:04:57 1995  Ken Raeburn  
2726
 
2727
        * objdump.c (disassemble_data): Pass section offset, not absolute
2728
        address, to bfd_find_nearest_line.
2729
 
2730
        * nlmconv.c (powerpc_mangle_relocs): Don't use const with
2731
        reloc_howto_type.
2732
 
2733
Thu Jan 26 18:50:06 1995  Ian Lance Taylor  
2734
 
2735
        * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather
2736
        than VAR->value.
2737
        (objdump_print_address): Likewise.
2738
        (disassemble_data): Don't change the symbol values.  It can
2739
        confuse bfd_canonicalize_reloc.
2740
 
2741
Thu Jan 26 12:03:56 1995  Michael Meissner  
2742
 
2743
        * configure.in: Add support for powerpc-*-ebai.
2744
 
2745
Wed Jan 18 10:02:12 1995  Steve Chamberlain  
2746
 
2747
        * coffdump.c: Include sysdep.h.
2748
        (dump_coff_type): Handle coff_secdef_type.
2749
        * coffgrok.c : Include sysdep.h.
2750
        * srconv.c: Include libiberty.h
2751
        (absolute_p, dty_start, dty_end, dump_tree_structure): Remove.
2752
 
2753
Wed Jan 18 12:24:14 1995  Ian Lance Taylor  
2754
 
2755
        * coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
2756
        printf.
2757
        * coffgrok.c: Include bucomm.h.  Don't declare xmalloc.
2758
        (push_scope): Declare type of parameter link.
2759
        * size.c: Include libiberty.h.
2760
        * srconv.c: Include bucomm.h.
2761
        (find_base): Declare at top of file.
2762
        (wr_hd): Add default case to architecture switch.
2763
        (wr_dps_start): Declare type of parameter nest.
2764
        (wr_du): Comment out variables used only in commented out blocks.
2765
        (wr_dus): Remove unused variable i.
2766
        (wr_sc): Remove unused variables myinfo, low, and high.
2767
        * strings.c: Include libiberty.h.
2768
        * sysdump.c: Include .
2769
 
2770
Tue Dec 20 19:13:44 1994  Ian Lance Taylor  
2771
 
2772
        * ar.c (main): Ignore 'f' modifier used on HP/UX 9.
2773
 
2774
Thu Dec 15 17:34:12 1994  Stan Shebs  
2775
 
2776
        * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h.
2777
        * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS
2778
        and END_PROGRESS.
2779
        * ar.c (map_over_members, open_inarch): Call PROGRESS.
2780
        * nm.c (main, display_archive, filter_symbols, print_symbols):
2781
        Call PROGRESS.
2782
 
2783
        * objcopy.c (copy_usage): Break up long usage string.
2784
 
2785
Wed Dec 14 15:51:56 1994  Ken Raeburn  
2786
 
2787
        * objcopy.c (copy_object): Don't bother setting status after
2788
        nonfatal() "call", because it won't return.
2789
 
2790
Fri Dec  9 00:22:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2791
 
2792
        * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
2793
        the section symbol if the symbol is undefined.
2794
 
2795
Thu Dec  8 14:45:50 1994  Ken Raeburn  
2796
 
2797
        * objcopy.c (add_strip_symbol): Cast return value of xmalloc.
2798
 
2799
Wed Nov 30 11:05:43 1994  Ian Lance Taylor  
2800
 
2801
        * ar.c (replace_members): Pass current->filename to normalize when
2802
        checking for duplicates, because the filename of a newly added
2803
        file will not have been normalized yet.
2804
 
2805
Thu Nov 17 15:00:13 1994  Ian Lance Taylor  
2806
 
2807
        * ar.c (main): Don't call do_quick_append if any of the archive
2808
        names are longer than 14 characters.
2809
 
2810
        * objcopy.c (main): Fix is_strip test.  From
2811
        pirker@eiunix.tuwien.ac.at (Martin Pirker).
2812
 
2813
Thu Nov 17 15:37:19 1994  Mark W. Eichin  
2814
 
2815
        * objcopy.c (add_strip_symbol): New function, adds a name to an
2816
        explicit list of symbols to strip.
2817
        (is_strip_symbol): New function, reports whether the name argument
2818
        is in the explicit list.
2819
        (filter_symbols): Check against is_strip_symbol above all.
2820
        (strip_main): Recognize -N option. If used, don't default to
2821
        strip_all.
2822
        (copy_main): Recognize -N option.
2823
        (strip_usage): Document -N and --strip-symbol options.
2824
        (copy_usage): Ditto.
2825
        * objcopy.1, strip.1, binutils.texi: Document -N and
2826
        --strip-symbol options.
2827
 
2828
Tue Nov  8 13:12:54 1994  Ian Lance Taylor  
2829
 
2830
        * objdump.c (display_target_list, display_info_table): Pass an
2831
        array to tmparg, rather than NULL, since some systems can't handle
2832
        NULL.
2833
 
2834
        * objcopy.c (copy_archive): Keep a list of the names of the
2835
        temporary files we created.  Close each input BFD after we open
2836
        its successor.
2837
 
2838
Mon Nov  7 15:48:39 1994  Ken Raeburn  
2839
 
2840
        * Makefile.in (VERSION): Bump to 2.5.3.
2841
 
2842
Thu Nov  3 19:04:34 1994  Ken Raeburn  
2843
 
2844
        * Makefile.in (install-info): Install info files from whatever
2845
        directory they were found in.
2846
 
2847
        Patch from DJ Delorie:
2848
        * configure.bat: do c++filt -> cxxfilt right
2849
 
2850
        * sysinfo.y: Include system header files early, so any potential
2851
        declaration of abort() occurs before its use.
2852
 
2853
        * strings.c (strings_file): Try opening the file in binary mode
2854
        first.
2855
 
2856
Wed Nov  2 15:44:13 1994  Ian Lance Taylor  
2857
 
2858
        * ar.c (main): Treat ar qs like ar rs.
2859
 
2860
Tue Oct 25 16:19:25 1994  Ian Lance Taylor  
2861
 
2862
        * objcopy.c (gap_fill): Explicitly initialize, for clarity.
2863
        (pad_to_set, pad_to): New static variables.
2864
        (copy_options): Accept --pad-to.
2865
        (copy_usage): Mention --pad-to.
2866
        (copy_object): Support --pad-to.
2867
        (compare_section_vma): Sort non loadable sections to the front.
2868
        Sort sections with the same VMA by size.
2869
        (copy_main): Handle --pad-to.
2870
        * binutils.texi, objcopy.1: Document --pad-to.
2871
 
2872
Thu Oct 20 13:51:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2873
 
2874
        * objcopy.c (gap_fill_set, gap_fill): New static variables.
2875
        (copy_options): Accept --gap-fill.
2876
        (copy_usage): Mention --gap-fill.
2877
        (copy_object): Support --gap-fill.
2878
        (get_sections, compare_section_vma): New static functions.
2879
        (copy_main): Handle --gap-fill.
2880
        * binutils.texi, objcopy.1: Document --gap-fill.
2881
 
2882
Wed Oct 19 14:09:16 1994  Ian Lance Taylor  
2883
 
2884
        * Makefile.in (check): Add a dummy else clause to the if
2885
        statement.
2886
 
2887
        * objcopy.c (copy_object): Revert yesterday's change.
2888
        * binutils.texi, objcopy.1: Remove special mention of --set-start
2889
        and `binary' output format.
2890
 
2891
Tue Oct 18 11:12:01 1994  Ian Lance Taylor  
2892
 
2893
        * objcopy.c (copy_object): If the output file format is `binary',
2894
        and the start address was not set using --set-start, default the
2895
        start address to zero.  This hack is because the `binary' output
2896
        file format uses the start address to set the virtual address of
2897
        the first byte in the file.
2898
        * binutils.texi, objcopy.1: Add some notes on generating S-records
2899
        and binary files.
2900
 
2901
        * nm.c (print_symdef_entry): Call print_symname to print the
2902
        symbol name, so that --demangle works.
2903
 
2904
        * Makefile.in (mostlyclean): Remove tmpdir.
2905
 
2906
        * objcopy.c (struct section_list): Add fields used, adjust, val.
2907
        (adjust_start, set_start_set, set_start): New static variables.
2908
        (adjust_section_vma, adjust_sections): New static variables.
2909
        (copy_options): Add --adjust-start, --adjust-vma,
2910
        --adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
2911
        --set-start.
2912
        (parse_vma): New static function.
2913
        (copy_usage): Mention new options.
2914
        (copy_object): Handle --set-start and --adjust-start.
2915
        (setup_section): Correct type of last argument to PTR.  Set used
2916
        field if section is removed.  Handle --adjust-vma and
2917
        --adjust-section-vma.
2918
        (copy_section): Correct type of last argument to PTR.
2919
        (mark_symbols_used_in_relocations): Likewise.
2920
        (strip_main): Clear used field when handling -R.
2921
        (copy_main): Handle new options.
2922
        * binutils.texi (objcopy): Document new options.
2923
        * objcopy.1: Document new options.
2924
 
2925
Fri Oct 14 14:38:13 1994  Ian Lance Taylor  
2926
 
2927
        * configure.in (configdirs): Remove definition--testsuite is no
2928
        longer configured.
2929
        * Makefile.in (testsuite): Remove target.
2930
        (site.exp): New target.
2931
        (check): Rewrite.
2932
        (clean, distclean): Don't recur into testsuite directory.
2933
 
2934
Thu Oct 13 19:24:09 1994  Ken Raeburn  
2935
 
2936
        * Makefile.in (VERSION): Updated to 2.5.
2937
        * Version 2.5 released.
2938
 
2939
Tue Oct 11 15:26:42 1994  Ian Lance Taylor  
2940
 
2941
        * Makefile.in (sysdump.o): Depends upon sysroff.c.
2942
 
2943
Mon Oct 10 13:50:30 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
2944
 
2945
        * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
2946
          ctor/dtor tables needed by C++ programs are built.
2947
 
2948
Sun Oct  9 18:04:00 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
2949
 
2950
        * Makefile.in (srconv.o): Add dependence on sysroff.c.
2951
 
2952
Tue Oct  4 12:19:51 1994  Ian Lance Taylor  
2953
 
2954
        * configure.in: Use ${config_shell} when running config.bfd.
2955
 
2956
        * Makefile.in (sysroff.h): Split target away from sysroff.c.
2957
        (srconv.o, sysdump.o): New targets.
2958
        (srconv, sysdump): Don't depend upon sysroff.c.
2959
 
2960
Wed Sep 28 13:04:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2961
 
2962
        * Makefile.in (arparse.c): Don't ignore errors from mv.
2963
        (sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
2964
        parallel make from trying to build both arparse.c and sysinfo.c
2965
        simultaneously.
2966
        (nlmheader.c): Similar change.
2967
        (arparse.h): Separate target from arparse.c, so that a parallel
2968
        make does not try to build both at once.  Depend upon arparse.c.
2969
        (sysinfo.h): Similar change.
2970
 
2971
        * objdump.c (disassemble_data): Pass the reloc buffer to free, not
2972
        the pointer used to loop over the relocs.
2973
 
2974
Sat Sep 24 16:16:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
2975
 
2976
        * objdump.c (disassemble_data): Cast result of xmalloc.
2977
 
2978
Wed Sep 21 19:30:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2979
 
2980
        * objdump.c (sorted_syms, sorted_symcount): New global variables.
2981
        (objdump_print_address): Use sorted_syms and sorted_symcount
2982
        instead of syms and symcount.
2983
        (disassemble_data): Don't bother to get the relocs before looping
2984
        over the sections.  Before filtering and sorting the symbol table,
2985
        copy it into sorted_syms.
2986
 
2987
Fri Sep 16 11:27:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2988
 
2989
        * objdump.c (struct objdump_disasm_info): Add field require_sec.
2990
        (objdump_print_address): If aux->require_sec, require that the
2991
        symbol be in aux->sec even if HAS_RELOC is not set.  If we can't
2992
        find a smaller symbol in the right section, look for a larger one.
2993
        (disassemble_data): Set aux.require_sec around the
2994
        objdump_print_address call for the instruction address.
2995
 
2996
Thu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2997
 
2998
        * ar.c: Call xexit rather than exit.
2999
        (output_filename, output_file, output_bfd): New static variables.
3000
        (remove_output): New static function.
3001
        (main): Call xatexit (remove_output).  Call xexit rather than
3002
        returning.
3003
        (extract_file): Set output_filename and output_file while output
3004
        file is open.
3005
        (write_archive): Likewise, but use output_bfd, not output_file.
3006
        * arsup.c: Include libiberty.h.  Call xexit rather than exit.
3007
        * bucomm.c: Likewise.
3008
 
3009
        * objdump.c (disassemble_all): New global variable.
3010
        (usage): Document --disassemble-all.
3011
        (long_options): Add disassemble-all as a synonym for -D.
3012
        (compare_symbols): Make pointers const.
3013
        (compare_relocs): New static function.
3014
        (disassemble_data): Rename disassemble to disassemble_fn to avoid
3015
        shadowing.  If dump_reloc_info, print relocs along with
3016
        disassembly.  Skip sections which are not SEC_CODE unless
3017
        disassemble_all or only is set.
3018
        (display_bfd): Don't call dump_relocs if disassemble is set.
3019
        (main): Accept and handle -D.
3020
        * binutils.texi: Document -D/--disassemble-all.
3021
        * objdump.1: Likewise.
3022
 
3023
Wed Sep 14 12:19:07 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3024
 
3025
        * objdump.c (disassemble_data): Initialize prevline to 0.  Make
3026
        prev_function non const.  Copy functionname into an malloc buffer
3027
        when setting prev_function, instead of assuming that the string
3028
        will last forever.
3029
 
3030
        * nm.c: Include libiberty.h.
3031
        (sort_by_size): New static variable.
3032
        (long_options): Add --size-sort.
3033
        (usage): Mention --size-sort.
3034
        (numeric_forward): Make static.  Change from void * to PTR.
3035
        (numeric_reverse): Likewise.
3036
        (non_numeric_forward, non_numeric_reverse): Likewise.
3037
        (sorters): Change declaration from void * to PTR.
3038
        (size_forward, sort_symbol_by_size): New static functions.
3039
        (display_rel_file): Handle sort_by_size.
3040
        (filter_symbols): If sort_by_size, discard absolute and undefined
3041
        symbols.
3042
        * binutils.texi (nm): Document --size-sort.
3043
        * nm.1: Document --size-sort.
3044
 
3045
Tue Sep 13 21:06:06 1994  Jeff Law  (law@snake.cs.utah.edu)
3046
 
3047
        * objcopy.c (copy_main): Initialize input_filename and
3048
        output_filename to NULL.
3049
 
3050
Tue Sep 13 14:17:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3051
 
3052
        * Makefile.in (version.o): Depend upon Makefile, so that version.o
3053
        gets rebuilt when make variable VERSION is changed.
3054
 
3055
        * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
3056
 
3057
Wed Aug 24 12:40:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3058
 
3059
        * configure.in: Change i[34]86 to i[345]86.
3060
 
3061
Tue Aug 23 11:00:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3062
 
3063
        * ar.c (ranlib_touch): Don't update the archive map if there isn't
3064
        one.
3065
 
3066
Mon Aug 22 16:02:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3067
 
3068
        * ar.c: Include libiberty.h.
3069
        (inarch): Remove variable.
3070
        (map_over_members): Make static.  Add arch argument, and use it
3071
        instead of inarch.  Change all callers.
3072
        (main): Treat --version as -v.  Accept -t argument.  Accept any
3073
        number of archive arguments.  Catch and use open_inarch return
3074
        value, rather than using inarch.
3075
        (open_inarch): Return newly opened BFD, rather than using inarch.
3076
        (do_quick_append): Make archive_filename const.
3077
        (write_archive): Add iarch argument, and use it instead of inarch.
3078
        Change all callers.
3079
        (delete_members, move_members, replace_members): Likewise.
3080
        (ranlib_only): Don't exit on success.  Catch and use open_inarch
3081
        return value.
3082
        (ranlib_touch): New function.
3083
        * arsup.h (map_over_members): Don't declare.
3084
        (ar_end, ar_extract): Declare.
3085
        (open_inarch): Change return value in declaration to bfd *.
3086
        * arsup.c (map_over_list): Make static. Always pass two arguments
3087
        to function.  Add arch argument, and use it instead of inarch.
3088
        Change all callers.
3089
        (ar_directory_doer): Make static.  Add ignored second argument.
3090
        Change all callers.
3091
        (ar_directory): Use open_inarch return value rather than inarch.
3092
        (ar_addlib_doer): Make static.
3093
        (ar_addlib): Use open_inarch return value rather than inarch.
3094
        (ar_extract): Remove unused local variable abfd.
3095
 
3096
Thu Aug 11 14:55:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3097
 
3098
        Add support for removing named sections to objcopy and strip.
3099
        * objcopy.c (struct section_list): Define.
3100
        (remove_sections): New static variable.
3101
        (strip_options, copy_options): Add remove-section.
3102
        (copy_usage, strip_usage): Mention -R and --remove-section.
3103
        (setup_section): If section is in remove_sections list, ignore it.
3104
        (copy_section): Likewise.
3105
        (strip_main, copy_main): Handle -R.
3106
        * binutils.texi, objcopy.1, strip.1: Document new options.
3107
 
3108
Wed Aug 10 10:19:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
3109
 
3110
        * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
3111
        so as not to conflict with the symvalue typedef in bfd.h.
3112
 
3113
Mon Aug  1 13:19:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3114
 
3115
        * nlmheader.y: Per current NetWare docs, accept a revision number
3116
        of 0 and treat a revision number greater than 26 as 0.
3117
 
3118
Mon Jul 25 12:58:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3119
 
3120
        * objdump.c (objdump_print_address): Correct handling of end of
3121
        symbols when looking for next symbol with a different value.
3122
 
3123
Fri Jul 22 16:48:34 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3124
 
3125
        * nm.c (numeric_forward): Treat undefined symbols as "less than"
3126
        defined symbols with zero values.  If numeric values are equal, or
3127
        both symbols are undefined, sort alphabetically.  Don't assume
3128
        that the difference of two bfd_vma values will truncate to "int"
3129
        and still have the same sign.
3130
        (numeric_reverse): Call numeric_forward and negate the result.
3131
        (print_symbol_info_bsd): For undefined symbols, print leading
3132
        spaces equivalent to the width of a printed bfd_vma, rather than
3133
        assuming that 8 will look right.
3134
 
3135
Fri Jul 22 10:36:50 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3136
 
3137
        * coffgrok.c (doit):  Zero all fields of new structure.
3138
        * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg.
3139
        * sysinfo.y: Generate sysroff_swap_*_out without requiring extra
3140
        arg.
3141
 
3142
Fri Jul 22 10:09:53 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
3143
 
3144
        * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
3145
          rather than the parser.
3146
 
3147
Thu Jul 21 10:25:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3148
 
3149
        * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
3150
        Remove; obsolete.
3151
 
3152
Sat Jul 16 22:34:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3153
 
3154
        * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
3155
        even if the bfd is not marked DYNAMIC.  ELF executables are not
3156
        marked DYNAMIC, but do have dynamic symbols.
3157
 
3158
Fri Jul 15 01:41:35 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3159
 
3160
        * coffgrok.c (do_where): Make data with no type 'int'.
3161
        (do_define):  Keep info on source file of a symbol.
3162
        * coffgrok.h (coff_symbol): New field.
3163
        * srconv.c (PROGRAM_VERSION): Now 1.3
3164
        (wr_rl): Use external ref number for symbol.
3165
        (wr_dus): Only keep one source file per debug unit.
3166
        (wr_dln): Always emit line numbers for first source file,
3167
        (wr_globals):  Emit globals in the du of their owning source file.
3168
 
3169
Mon Jul 11 15:59:03 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
3170
 
3171
        * nlmheader.y: Null terminate var_hdr->threadName.
3172
 
3173
Fri Jul  8 17:33:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3174
 
3175
        * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
3176
        in $(srcdir), as they will be for FSF releases.
3177
 
3178
Wed Jul  6 01:13:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3179
 
3180
        * nlmconv.c (setup_sections): Preserve existing section flags when
3181
        copying in flags from a new section.
3182
 
3183
Tue Jul  5 15:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3184
 
3185
        * objcopy.c: Include libiberty.h.
3186
        (copy_file): If output_target is NULL, set it to the target of the
3187
        input file.
3188
 
3189
Wed Jun 29 17:17:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
3190
 
3191
        * nlmconv.c (link_inputs): Fixed memory allocation bug.
3192
 
3193
Thu Jun 23 12:52:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
3194
 
3195
        * configure.in: Change --with-targets to --enable-targets.
3196
 
3197
Tue Jun 21 12:53:21 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3198
 
3199
        * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
3200
 
3201
        * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
3202
        NetWare custom header; no longer needed.
3203
        (powerpc_mangle_relocs): Convert relocs against the uninitialized
3204
        data section into relocs against the data section.
3205
 
3206
        * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
3207
        netware targets.  Write it into Makefile as NLMCONV_DEFS.
3208
        * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
3209
        * nlmconv.c: Only compile code for specific CPU types if
3210
        NLMCONV_cputype is defined.
3211
 
3212
        * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
3213
        bfd_abs_section_ptr or bfd_is_abs_section, etc.
3214
        (i386_mangle_relocs, alpha_mangle_relocs): Likewise.
3215
        (powerpc_build_stubs): Likewise.
3216
        * nm.c (filter_symbols, print_symbols): Likewise.
3217
        * objcopy.c (filter_symbols): Likewise.
3218
        (mark_symbols_used_in_relocations): Likewise.
3219
        * objdump.c (remove_useless_symbols, dump_relocs): Likewise.
3220
        * size.c (sysv_internal_printer): Likewise.
3221
 
3222
Mon Jun 20 16:43:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3223
 
3224
        * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
3225
        (install): Install it explicitly, from build dir, not srcdir.
3226
 
3227
Mon Jun 20 16:29:54 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
3228
 
3229
        * objdump.c: Don't include elf/internal.h.
3230
        (bfd_elf_find_section): Don't declare.
3231
        (read_section_stabs): No special handling for ELF.  Always read
3232
        using BFD sections.
3233
 
3234
Thu Jun 16 17:25:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3235
 
3236
        * configure.in: Set UNDERSCORE in Makefile based on result of
3237
        invoking config.bfd with a second argument of ``_''.
3238
        * Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
3239
        run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
3240
        file.
3241
        (demangle.o): Remove target.
3242
        ($(NM_PROG)): Don't depend upon demangle.o, and don't link against
3243
        demangle.o.  It's in libiberty anyhow.
3244
        (cplus-dem.o): Don't depend upon demangle.o.
3245
        * binutils.texi: Mention -n and --no-strip-underscores arguments
3246
        to c++filt.
3247
 
3248
Wed Jun 15 12:10:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3249
 
3250
        * nm.c (long_options): Add --no-demangle to turn off --demangle,
3251
        and --no-cplus for Linux compatibility.
3252
        (usage): Mention --no-demangle.
3253
        * binutils.texi: Document --no-demangle.
3254
 
3255
Fri Jun 10 15:41:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3256
 
3257
        * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
3258
 
3259
        * objcopy.c (copy_archive): Make the temporary directory in the
3260
        same directory as the output BFD, since we may not have write
3261
        permission on the current directory.  Set the permissions of the
3262
        new directory to 0700, not 0777.
3263
 
3264
Mon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
3265
 
3266
        * configure.in: if this is an rs6000 (and we're not building for
3267
        any other bfd targets) then build only nm (collect needs it on
3268
        rs6000-lynx).
3269
 
3270
        * Makefile.in: define TOOL_PROGS which the list of programes to
3271
        install in $tooldir -- replaces a hard-coded list.
3272
 
3273
Fri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3274
 
3275
        * objdump.c (display_target_list): Remove unused local ok.
3276
 
3277
Thu May 26 18:05:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3278
 
3279
        * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
3280
        they're not compatible under native cc.  Use -O1 instead.
3281
 
3282
        * Makefile.in (VERSION): Updated to cygnus-2.4.1.
3283
 
3284
        Changes from binutils-2.4 net release:
3285
 
3286
        * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
3287
        ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
3288
        * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
3289
        magic token to be replaced by sed.
3290
 
3291
        Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
3292
 
3293
        * configure.bat: update for latest makefile.in
3294
 
3295
Fri May 13 23:25:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3296
 
3297
        * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
3298
 
3299
Tue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)
3300
 
3301
        * objcopy.c (copy_section): Set section size correctly if using
3302
        interleave.
3303
 
3304
Sat May  7 16:49:36 1994  Steve Chamberlain  (sac@cygnus.com)
3305
 
3306
        * Makefile.in: Add rule for sysinfo.h
3307
 
3308
Fri May  6 12:18:33 1994  Steve Chamberlain  (sac@cygnus.com)
3309
 
3310
        * Makefile.in (SRCONV_PROG): Define.
3311
        (PROGS): Use $(SRCONV_PROG) too.
3312
 
3313
Thu May  5 19:41:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
3314
 
3315
        * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
3316
        someone configures with `targets=all'.
3317
        (distclean): Remove y.*.
3318
        (syslex.o): Depend on sysinfo.h.
3319
        (sysinfo.c): Rename y.tab.h to sysinfo.h.
3320
        (install-info): Don't try to install into $(infodir)/$(srcdir).
3321
        * syslex.l: Include sysinfo.h, not y.tab.h.
3322
 
3323
Thu May  5 11:50:55 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
3324
 
3325
        * syslex.l (yywrap): Define as function if not defined as a macro.
3326
 
3327
        * Makefile.in (objdump.o): Deleted special rule.
3328
        * configure.in: Don't bother building ARCHDEFS variable for
3329
        Makefile.
3330
        * objdump.c (ARCH_*): Deleted handling.
3331
        (disassemble_data): Call `disassembler' from opcodes library.
3332
 
3333
Thu May  5 13:28:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3334
 
3335
        * Makefile.in (install): Correct handling of $(tooldir) and
3336
        $(bindir) being on different devices.
3337
 
3338
Fri Apr 29 09:50:38 1994  Steve Chamberlain  (sac@cygnus.com)
3339
 
3340
        * sysdump.c (h8300, sh): Add declarations.
3341
 
3342
Wed Apr 27 11:25:18 1994  Steve Chamberlain  (sac@cygnus.com)
3343
 
3344
        * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
3345
        * coffdump.c, coffgrok.c, coffgrok.h, srconv.c, sysdump.c,
3346
        sysroff.info: Major changes.
3347
 
3348
Tue Apr 26 18:18:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
3349
 
3350
        * objdump.c (print_section_stabs): Indicate the stab header symbol
3351
        more clearly, print numbers of unrecognized stab n_type values.
3352
 
3353
Tue Apr 26 16:22:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3354
 
3355
        * nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
3356
 
3357
Mon Apr 25 16:14:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3358
 
3359
        * Makefile.in (distclean): Remove $(PROGS) and underscore.c.
3360
 
3361
Fri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3362
 
3363
        * nlmconv.c (setup_sections): Remove special handling of .reginfo
3364
        section.
3365
        (copy_sections): Likewise.
3366
        (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
3367
        special ECOFF .reginfo section.
3368
 
3369
        * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
3370
        copying everything else, to let it fiddle with the file in its
3371
        final state.
3372
 
3373
        * objdump.c: Include libiberty.h.
3374
        (display_target_list): If a format fails, just go on to the next
3375
        one.  Check return value of bfd_set_format.
3376
        (display_info_table): Likewise.  Don't increment loop variable in
3377
        for loop test, since that skips the first element.
3378
        (display_target_tables): Rewrite loop for clarity.  Ensure that it
3379
        always prints at least one element.
3380
 
3381
        * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
3382
        sections header.  Rename from cygnus_sections to cygnus_ext.
3383
 
3384
Thu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3385
 
3386
        * objdump.c (_DUMMY_NAME_): Don't define.
3387
        (display_target_list): Use tmpnam to get a file name rather than
3388
        using _DUMMY_NAME_.  Unlink it when done.
3389
        (display_info_table): Likewise.
3390
 
3391
        * nlmconv.c (secsec): New static variable.
3392
        (main): Create .nlmsections section in output BFD.  Store
3393
        information about it in sections header.
3394
        (setup_sections): Allocate space in sections header.
3395
        (copy_sections): Copy zero sized sections.  Put information about
3396
        each section in the sections header.
3397
 
3398
Wed Apr 20 14:34:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3399
 
3400
        * nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
3401
        Change caller.  Create custom header for new PowerPC NetWare
3402
        format.
3403
 
3404
        * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
3405
        * nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
3406
        * nlmheader.y: Include bfd.h with "", not <>.
3407
 
3408
Wed Apr 13 10:52:50 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3409
 
3410
        * objdump.c: Do an ifdef on __GO32__, not unix.
3411
 
3412
Wed Apr  6 21:54:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3413
 
3414
        Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
3415
        (--dynamic-reloc) arguments to objdump.
3416
        * nm.c (dynamic): New static variable.
3417
        (long_options): Added "dynamic".
3418
        (usage): Mention -D and --dynamic.
3419
        (main): Add D to getopt string.  Handle -D by setting dynamic.
3420
        (display_rel_file): If dynamic is non-zero, read dynamic symbols
3421
        rather than normal symbols.
3422
        * nm.1: Updated for -D (--dynamic) option.
3423
        * objdump.c (dump_dynamic_symtab): New global variable.
3424
        (dump_dynamic_reloc_info): New global variable.
3425
        (dynsyms, dynsymcount): New global variables.
3426
        (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
3427
        (long_options): Added "dynamic-reloc" and "dynamic-syms".
3428
        (slurp_symtab): If no symbols, return rather than exit.
3429
        (slurp_dynamic_symtab): New function.
3430
        (display_bfd): Handle dump_dynamic_symtab and
3431
        dump_dynamic_reloc_info.
3432
        (dump_symbols): Take new dynamic argument, indicating whether to
3433
        display dynamic symbols.
3434
        (dump_relocs): Move most printing into dump_reloc_set.
3435
        (dump_dynamic_relocs): New function.
3436
        (dump_reloc_set): New function, extracted from dump_relocs.
3437
        (main): Add R and T to getopt string.  Handle -T by setting
3438
        dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
3439
        * objdump.1: Updated for -R (--dynamic-reloc) and -T
3440
        (--dynamic-syms) options.
3441
        * binutils.texi: Updated for new nm and objdump options.
3442
 
3443
Wed Mar 30 15:52:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3444
 
3445
        Update for recent BFD changes to symbol and reloc reading.  Rename
3446
        all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
3447
        Also:
3448
        * coffgrok.c (symcount): Change to long.
3449
        (do_sections_p1): Check for error return from
3450
        bfd_get_reloc_upper_bound.  Change relcount to long, and check for
3451
        error from bfd_canonicalize_reloc.
3452
        (coff_grok): Change storage to long.  Check for error from
3453
        bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
3454
        * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
3455
        i to long.  Check for error from bfd_get_symtab_upper_bound and
3456
        bfd_canonicalize_symtab.
3457
        (copy_sections): Change reloc_size and reloc_count to long.  Check
3458
        for error from bfd_get_reloc_upper_bound and
3459
        bfd_canonicalize_reloc.
3460
        (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
3461
        reloc_count_ptr argument to long *.  Make corresponding changes to
3462
        variables loaded from *reloc_count_ptr.
3463
        * nm.c (display_rel_file): Change storage and symcount to long.
3464
        Check for errors from bfd_get_symtab_upper_bound and
3465
        bfd_canonicalize_symtab.
3466
        * objcopy.c (filter_symbols): Change symcount, src_count and
3467
        dst_count to long.
3468
        (copy_object): Change symcount to long.  Pass another argument to
3469
        fprintf.  Check for errors from bfd_get_symtab_upper_bound and
3470
        bfd_canonicalize_symtab.
3471
        (copy_section): Change relcount to long.  Check for errors from
3472
        bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
3473
        (mark_symbols_used_in_relocations): Change relcount and i to long.
3474
        Check for errors form bfd_get_reloc_upper_bound and
3475
        bfd_canonicalize_reloc.
3476
        * objdump.c (storage): Remove global variable.
3477
        (symcount): Changed to long.
3478
        (slurp_symtab): New local variable storage.  Check for errors from
3479
        bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
3480
        (remove_useless_symbols): Change return value and count to long.
3481
        (objdump_print_address): Change min, max, thisplace and i to long.
3482
        (disassemble_data): Change i to long.
3483
        (dump_symbols): Change count to long.
3484
        (dump_relocs): Change relcount to long.  Check for errors from
3485
        bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
3486
        (display_info_table): Add casts when passing LONGEST_ARCH for
3487
        printf %* argument.
3488
 
3489
Tue Mar 29 14:59:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3490
 
3491
        * nm.c (display_archive): Close each archive element after it has
3492
        been displayed.
3493
        * objdump.c (display_file): Likewise.
3494
 
3495
Mon Mar 28 13:04:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3496
 
3497
        * configure.in: Change error message to refer to bfd/config.bfd
3498
        rather than bfd/configure.in.
3499
 
3500
Sun Mar 27 16:23:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3501
 
3502
        * More fixes for object formats which allow multiple sections
3503
        with the same name:
3504
        * objcopy.c (setup_section): Make a new output section even if
3505
        one already exists with the given name.
3506
        (copy_section): Use isection->output_section rather than trying
3507
        to look the output section up by its (possibly non-unique) name.
3508
 
3509
        * Makefile.in (install-info): Look for binutils.info in the
3510
        current directory, then in $(srcdir).  Don't use $<.
3511
 
3512
Mon Mar 21 12:55:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3513
 
3514
        * objdump.c (objdump_print_address): Make static.  Declare with
3515
        prototype.  Change vardiff from int to bfd_signed_vma.  Correct
3516
        binary search termination condition.  When looking for same
3517
        section symbol in relocatable file, handle final symbol correctly.
3518
 
3519
Sun Mar 20 11:26:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3520
 
3521
        * Makefile.in: Avoid bug in hpux sed.
3522
 
3523
        * objcopy.c: Changes to keep it from stripping symbols used
3524
        in output relocations.
3525
        (mark_symbols_used_in_relocations): New function.  Mark symbols
3526
        used in output relocations with BSF_KEEP.
3527
        (filter_symbols): Do not strip symbols marked with BSF_KEEP.
3528
        (copy_object): Reorder actions.  First setup sections, then
3529
        build the output symbol table, then copy the section contents.
3530
 
3531
Fri Mar 18 10:53:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3532
 
3533
        * ar.c (write_archive): Allocate space for the null byte.  From
3534
        Robert Lipe .
3535
 
3536
Thu Mar 17 16:20:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3537
 
3538
        * Makefile.in: Built nm.new and strip.new to avoid problems with
3539
        collect when . is in PATH.
3540
        (STRIP_PROG): Change from strip to strip.new.
3541
        (NM_PROG): Change from nm to nm.new.
3542
        (install): Remove the .new when installing.
3543
 
3544
Wed Mar 16 16:27:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3545
 
3546
        * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
3547
        symbol for which we build a stub.
3548
        (powerpc_mangle_relocs): Only reset TOC pointer for a call to a
3549
        symbol with BSF_DYNAMIC flag set.
3550
 
3551
Tue Mar 15 23:04:13 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3552
 
3553
        * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
3554
        if a symbol represents a compiler-generated local label.
3555
        (copy_object): Give the BFD backends a chance to copy any private
3556
        bfd data from the input BFD to the output BFD.
3557
        (setup_section): Give the BFD backends a chance to copy any private
3558
        section data from the input section to the output section.
3559
 
3560
Mon Mar 14 11:15:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
3561
 
3562
        * objcopy.c (mangle_section): Delete unused function.
3563
        (setup_section): Set osection here instead of calling
3564
        mangle section to do it.
3565
 
3566
Mon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3567
 
3568
        * ar.c (write_archive): Close inarch before unlinking it.
3569
 
3570
Fri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3571
 
3572
        * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
3573
        powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
3574
        the start and end symbols are not in the text section.
3575
        (struct powerpc_stub): New struct definition.
3576
        (powerpc_stubs, powerpc_stub_insns): New static variables.
3577
        (powerpc_initial_got_size): New static variable.
3578
        (powerpc_build_stubs): New function.
3579
        (powerpc_resolve_stubs): New function.
3580
        (powerpc_mangle_relocs): Clear extraneous data in .got section.
3581
        Rearrange reloc handling to handle ELF relocs that are not
3582
        partial_inplace.  Resolve PC relative relocs.
3583
 
3584
Wed Mar  9 13:48:11 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3585
 
3586
        * ar.c (move_members): Fix it so that the abi positional modifiers
3587
        don't delete all archive members following the insert point.
3588
 
3589
Tue Mar  8 13:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
3590
 
3591
        * coffgrok.[ch]: New files, understand coff objects.
3592
        * coffdump.c: Uses coffgrok to dump out the debug info of a coff
3593
        file.
3594
        * sysroff.info: Description of a SYSROFF object file.
3595
        * sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
3596
        header files and a printer.
3597
        * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
3598
        file to a SYSROFF file.
3599
 
3600
Sat Feb 26 13:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
3601
 
3602
        * ar.c (do_quick_append): Pad with a genuine character 10,
3603
        rather than whatever '\n' might happen to be.
3604
 
3605
Tue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
3606
 
3607
        * nlmconv.c (main): Ignore debugging symbols when looking for
3608
        special symbols by name.
3609
 
3610
Sun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
3611
 
3612
        * nlmconv.c: Include libiberty.h.
3613
 
3614
        Support for PowerPC NetWare.
3615
        * nlmconv.c (main): For PowerPC NetWare, automatically define the
3616
        special symbols __toc_start.
3617
        (select_output_format): Handle bfd_arch_powerpc.
3618
        (mangle_relocs): Likewise.
3619
        (powerpc_mangle_relocs): New function.
3620
 
3621
Thu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3622
 
3623
        * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
3624
        size.c: Use bfd_get_error and bfd_set_error and new error names.
3625
 
3626
Fri Feb 11 15:54:51 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3627
 
3628
        * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
3629
 
3630
Mon Feb  7 19:45:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3631
 
3632
        * objdump.c (disassemble_data): Handle bfd_arch_powerpc.
3633
 
3634
Sun Feb  6 22:08:20 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3635
 
3636
        * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
3637
        Call xmalloc_set_program_name.
3638
 
3639
Fri Feb  4 10:46:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3640
 
3641
        * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
3642
        can do arithmetic on it.
3643
 
3644
Thu Feb  3 14:06:41 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3645
 
3646
        * objdump.c (dump_section_stabs, read_section_stabs,
3647
        print_section_stabs): Functions broken out of dump_stabs_1.
3648
        Free the stabs and strings when done with them.
3649
 
3650
Wed Feb  2 13:42:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3651
 
3652
        * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
3653
        * ar.c (print_contents, extract_file), size.c
3654
        (print_berkeley_format, print_sysv_format): Use bfd_get_filename and
3655
        bfd_my_archive instead of dereferencing the structs directly.
3656
 
3657
        * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
3658
        Indent.  Remove DEFUNs.
3659
 
3660
        * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
3661
        if ambiguous match.
3662
        * nm.c (display_file, display_archive), size.c (display_bfd):
3663
        Eliminate gotos.
3664
        Print matching formats if there is an ambiguous match.  Use
3665
        bfd_nonfatal instead of hardcoded error message if nothing matches.
3666
 
3667
        * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
3668
        abfd->filename.
3669
 
3670
        * nm.c (display_archive): New function, from code in display_file.
3671
        (display_rel_file): Renamed from do_one_rel_file.
3672
 
3673
        * size.c: Indent.
3674
        (display_archive): New function from code in display_file.
3675
        (display_file): Check bfd_close error return.
3676
 
3677
        * strings.c (strings_object_file): Check bfd_check_format
3678
        error return.
3679
 
3680
        * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
3681
 
3682
        * bucomm.c: Delete references to exit_handler.  It wasn't set
3683
        anywhere, and now that we're using the libiberty xmalloc, it
3684
        wouldn't always get called before exiting.
3685
        (list_matching_formats): Function moved from objdump.c.
3686
        * bucomm.h: Declare it.
3687
 
3688
        * objdump.c (disassemble_data): Move some variable decls closer to
3689
        their use.  Add some comments.  Replace a nested block with a
3690
        return.
3691
 
3692
Mon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
3693
 
3694
        * objdump.c (display_target_list, display_info_table): Check that
3695
        the bfd of the dummy output file is not null.
3696
 
3697
Wed Jan 26 13:13:18 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3698
 
3699
        * objcopy.c (filter_bytes): New function.
3700
        (copy_section): Call it.
3701
        (copy_options, copy_usage, copy_main): Add --byte option to
3702
        activate it.  Appropriate the -b option (which was an undocumented
3703
        synonym for -F) for it, also.  Add --interleave, -i option for
3704
        additional control.
3705
        (setup_section, copy_section, mangle_section): Renamed with no `s'
3706
        on the end.
3707
        * objcopy.1, binutils.texi: Document the new options.
3708
 
3709
        * objdump.c (display_target_tables, display_target_list):
3710
        New functions broken out of display_info.
3711
        Eliminate some magic constants.  Use more meaningful variable names.
3712
        (dump_bfd_header): New function broken out of display_bfd.
3713
        (dump_section_header): New function broken out of dump_headers.
3714
        (remove_useless_symbols): Don't shadow global variable name with
3715
        parameter.
3716
        (objdump_print_address): Fix backward test.
3717
 
3718
Tue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
3719
 
3720
        * bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
3721
        * objdump.h: Removed.
3722
 
3723
Mon Jan 24 13:29:02 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3724
 
3725
        * objdump.c (display_file): Remove call to list_matching_formats.
3726
        It would never be called.
3727
        (list_matching_formats): Take an arg giving the list of matching
3728
        formats.
3729
        (display_bfd): Pass the arg, and get it filled in by calling
3730
        bfd_check_format_matches instead of bfd_check_format.
3731
        (display_info, display_info_table): target_vector was renamed to
3732
        bfd_target_vector.
3733
 
3734
        * binutils.texi (objdump): Note some limitations of -h section
3735
        address printing.
3736
 
3737
Sat Jan 22 16:20:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
3738
 
3739
        * Makefile.in (MALLOC): Set to emptiness by default.
3740
        (ALL_CFLAGS): Add and use.
3741
        (arparse.h): Make it depend on arparse.y.
3742
        * ar.c (libbfd.h): Don't require to be in ../bfd.
3743
        * objdump.c (comp): Rename to compare_symbols.
3744
 
3745
Fri Jan 21 20:22:30 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3746
 
3747
        * objdump.c (list_matching_formats): If the file format is ambiguous,
3748
        print the matching names so the user can choose one.
3749
        (display_bfd): Call it.
3750
        (display_file): Call it.
3751
 
3752
Fri Jan 21 19:17:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3753
 
3754
        * objdump.c (disassemble_data): Support bfd_arch_rs6000.
3755
 
3756
Mon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
3757
 
3758
        * objdump.c (stab_name): Allocate dynamically.
3759
        (stab_print): Use pointers to strings instead of char arrays.
3760
        (dump_stabs): Change alloc and init of arrays appropriately.
3761
        (dump_stabs_1): Always decide whether to print stab_name or
3762
        the stab's type number, if unnamed.
3763
 
3764
Fri Jan 14 14:42:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3765
 
3766
        * objcopy.c (strip_main, copy_main): Don't clobber the input file
3767
        if copy_file fails.
3768
 
3769
        * nlmconv.c (main): Warn about an attempt to use a shared library
3770
        with uninitialized data.
3771
 
3772
        * nlmconv.c (setup_sections): Make sure that we align the
3773
        output_offset of each input section appropriately.
3774
 
3775
Thu Jan 13 17:32:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3776
 
3777
        * objdump.c (dump_relocs): Don't crash if section name is NULL.
3778
 
3779
Tue Jan 11 19:46:33 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3780
 
3781
        * filemode.c (filemodestring): Commented out; not used.
3782
        (mode_string): Use POSIX definitions.
3783
        (ftypelet): Likewise.
3784
        (rwx): Removed; no longer used.
3785
        * bucomm.c: Include bucomm.h.
3786
        (bfd_nonfatal, bfd_fatal): Argument is const.
3787
        (fatal): Make __STDC__ version.
3788
        * bucomm.h (mode_string): Declare.
3789
        * Makefile.in (bucomm.o): Depend upon bucomm.h
3790
 
3791
Sun Jan  9 12:03:20 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
3792
 
3793
        * bucomm.c (xmalloc, xrealloc): Deleted.
3794
        * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
3795
        libiberty version of functions.
3796
 
3797
Thu Jan  6 06:18:15 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3798
 
3799
        * binutils.texi: Add a chapter summarizing the ways to select
3800
        aspects of the target for each program.
3801
 
3802
        * objdump.c (long_options, usage): Add long equivalents for all
3803
        remaining short options that lacked them.
3804
        * binutils.texi objdump.1: Document them.
3805
 
3806
        * size.c (usage): Tweak usage message.
3807
        * size.1: Add missing `=' in examples.
3808
 
3809
        * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
3810
        Use "--target=bfdname" as the option to select the BFD target,
3811
        like nm and size already do.
3812
        Reserve "--format=format" for textual output selection options, but
3813
        for now keep old option names as obsolete for backward compatibility.
3814
 
3815
        * strings.c (main, strings_object_file, usage): Add --target option.
3816
        * binutils.texi strings.1: Document it.
3817
 
3818
Sat Jan  1 13:58:24 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
3819
 
3820
        * ar.c (main): Add \n in error message.
3821
 
3822
Thu Dec 23 12:23:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3823
 
3824
        gcc -Wall lint:
3825
        * ar.c (main): Put parens around assignment used as truth value.
3826
        * objcopy.c (strip_main): Remove unused variables.  Return 0.
3827
        (copy_main): Remove unused variables.  Return 0.
3828
        * objdump.c (display_bfd): Declare return value as void.
3829
        (stab_print): Use "" instead of 0 to initialize array.
3830
        (dump_stabs_1): Print vma using printf_vma.
3831
        (display_info): Put parens around assignment used as truth value.
3832
        * strings.c (print_strings): Cast printf arguments.
3833
 
3834
        * objcopy.c (copy_main): Use copy_options, not strip_options.
3835
 
3836
        * nlmheader.y (command): Warn about illegal date values.
3837
 
3838
Wed Dec 15 11:18:03 1993  David J. MacKenzie  (djm@frosty.eng.umd.edu)
3839
 
3840
        * bucomm.c bucomm.h: Run through indent.  De-ansidecl-ify.
3841
        (bfd_nonfatal): New function.
3842
        (bfd_fatal): Call it.
3843
 
3844
        * objcopy.c (smart_rename): Do a copy if the dest file has
3845
        multiple hard links.  Remove source file on successful copy.
3846
        Try to preserve mode and owner on successful rename.
3847
 
3848
        * objcopy.c: Run through indent.  Clean up a bit.
3849
        Make global variables static.
3850
        Make {input,output}_{target,filename}, show_version local
3851
        to various functions.
3852
        New global variable `status' for exit status.
3853
        (strip_main, copy_main): New functions with code from main.
3854
        (nonfatal): New macro.  Use it globally instead of bfd_perror and
3855
        bfd_fatal.
3856
 
3857
        (copy_object): Call mangle_sections with bfd_map_over_sections.
3858
        (mangle_sections): Adjust for new calling convention.
3859
 
3860
Fri Dec 10 11:28:11 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
3861
 
3862
        * nlmheader.y (command): Accept MAP and FULLMAP without arguments.
3863
        * nlmconv.c (main): Change error message for MAP and FULLMAP.
3864
 
3865
Thu Dec  9 17:47:19 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
3866
 
3867
        * nlmconv.c (main): Warn about imported symbols that are not in
3868
        the IMPORT list even if the IMPORT keyword is not used.
3869
 
3870
        * nlmconv.c (debug, unlink_on_exit): New static variables.
3871
        (long_options): Add "debug" and "linker".
3872
        (main): Handle -d and -l arguments.  Make command line input and
3873
        output files optional.  Parse the command file before opening the
3874
        BFD's, which requires storing more information in local variables.
3875
        If INPUT names multiple files, link them together.  Use OUTPUT for
3876
        the output file name if not named on command line.
3877
        (show_usage): Changed for new options.
3878
        (link_inputs): New function to automatically invoke linker to
3879
        handle multiple INPUT files.
3880
        (choose_temp_base_try, choose_temp_base, pexecute): New functions,
3881
        mostly copied from gcc/gcc.c.
3882
        * nlmconv.h (input_files, output_file): Declare.
3883
        * nlmheader.y (input_files, output_file): Define.
3884
        (command): Support INPUT with a string_list argument.  Support
3885
        OUTPUT.
3886
        (string_list): Renamed from module_list.
3887
        * Makefile.in (nlmconv.o): Define LD_NAME based on
3888
        program_transform_name.
3889
 
3890
Wed Dec  8 10:09:04 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
3891
 
3892
        * nlmheader.y (nlmheader_identify): New function.  Use it to print
3893
        the program name just once, instead of with every error message.
3894
 
3895
Mon Dec  6 16:11:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3896
 
3897
        * nlmconv.c (long_options): Changed --header-info to --header-file
3898
        to match documentation and usage message.
3899
 
3900
Sun Dec  5 01:31:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
3901
 
3902
        * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
3903
        in a relocation.
3904
 
3905
Thu Dec  2 16:00:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3906
 
3907
        * nlmconv.c (main): Change various types from bfd_size_type to
3908
        size_t, since they have to be arguments to fread and fwrite.
3909
        Change set from char * to unsigned char *.
3910
        (select_output_format): Make mach argument unsigned.  Handle
3911
        bfd_arch_alpha.
3912
        (setup_sections): Don't copy the .reginfo section of an ECOFF
3913
        file.  Call bfd_set_reloc to initialize the relocation fields.
3914
        (copy_sections): Don't copy the .reginfo section of an ECOFF file.
3915
        Combine all relocs for a section.
3916
        (mangle_relocs): Change type of relocs to permit specific
3917
        functions to change it.  Call alpha_mangle_relocs for alpha,
3918
        default_mangle_relocs for other architectures.
3919
        (default_mangle_relocs): New function.  Adjust the address of all
3920
        relocs by the output_offset.
3921
        (i386_mangle_relocs): Change type of relocs argument.  Cast length
3922
        argument to memmove to size_t.
3923
        (alpha_mangle_relocs): New function.
3924
 
3925
Wed Nov 17 17:38:58 1993  Sean Eric Fagan  (sef@cygnus.com)
3926
 
3927
        * nlmconv.c (select_output_format): Use nlm32-sparc for
3928
        bfd_arch_sparc.
3929
 
3930
Wed Nov 17 14:41:35 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
3931
 
3932
        * nlmconv.1:   added man page
3933
        * objcopy.1:   fixed format errors
3934
 
3935
Wed Nov 17 12:03:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3936
 
3937
        * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
3938
 
3939
Wed Nov 17 04:50:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
3940
 
3941
        * strings.1: Fix typo.
3942
 
3943
Mon Nov 15 12:03:20 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
3944
 
3945
        * Makefile.in (DISTSTUFF): Build "info".
3946
        (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
3947
 
3948
Sun Nov 14 00:27:24 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
3949
 
3950
        * objdump.c (dump_stabs): Handle stabs-in-som as implemented
3951
        by the new BFD SOM assembler.
3952
 
3953
Sat Nov 13 07:14:05 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
3954
 
3955
        * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
3956
        strings.1 strip.1: Replace \(em in NAME section with \- so
3957
        makewhatis can grok it.
3958
 
3959
Tue Nov  9 15:22:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3960
 
3961
        * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
3962
        section output_offset.
3963
 
3964
Fri Nov  5 12:11:52 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
3965
 
3966
        * binutils.texi:  added nlmconv chapter
3967
 
3968
Wed Nov  3 16:10:50 1993  Jeffrey Wheat  (cassidy@cygnus.com)
3969
 
3970
        * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
3971
 
3972
Wed Nov  3 15:09:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
3973
 
3974
        * Makefile.in (distclean): Don't get rid of dvi or info files.
3975
 
3976
Tue Nov  2 13:29:59 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
3977
 
3978
        * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
3979
 
3980
Fri Oct 29 16:02:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
3981
 
3982
        * binutils.texi: Move objcopy docs into alphabetical order.
3983
 
3984
        * objdump.c: Use xmalloc instead of malloc.
3985
 
3986
Fri Oct 29 11:11:14 1993  Stan Shebs  (shebs@rtl.cygnus.com)
3987
 
3988
        * objdump.c (info): Rename to formats_info.
3989
        (dump_stabs_1): Better comments and formatting.
3990
 
3991
Thu Oct 28 19:43:16 1993  Stan Shebs  (shebs@rtl.cygnus.com)
3992
 
3993
        * ar.c (main): Always create the archive when quick appending,
3994
        even if no input files have been given.
3995
 
3996
Wed Oct 27 12:03:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3997
 
3998
        * nlmconv.c (main): Set sharedDebugRecordOffset and
3999
        sharedDebugRecordCount fields in extended header.
4000
 
4001
        * nlmconv.c (main): Force moduleName field to upper case.
4002
 
4003
Mon Oct 25 16:45:42 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4004
 
4005
        * objcopy.c (main): Give a usage message if there are too many
4006
        arguments.
4007
 
4008
Mon Oct 25 10:37:08 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
4009
 
4010
        * Makefile.in (install-info): Rewrite to take advantage of VPATH,
4011
        so FSF distributions (with info files in $(srcdir)) install
4012
        properly.
4013
        (DISTSTUFF): Build nlmheader.c too.
4014
 
4015
Fri Oct 22 11:43:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
4016
 
4017
        * ar.c (program_name): Don't define here.
4018
        * objdump.c: Include "bucomm.h".
4019
        (xmalloc): Don't declare here.
4020
        (program_name): Don't define here.
4021
        (program_version): Fixed type in declaration.
4022
        * size.c: Include "bucomm.h".
4023
        (program_name): Don't declare here.
4024
 
4025
Fri Oct 22 14:10:41 1993  Mark Eichin  (eichin@cygnus.com)
4026
 
4027
        * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
4028
 
4029
Fri Oct  1 12:43:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4030
 
4031
        * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
4032
        relocs against defined symbols in the same section.
4033
 
4034
Thu Sep 30 16:46:26 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
4035
 
4036
        * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
4037
 
4038
Sat Sep 25 18:09:29 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4039
 
4040
        * objcopy.c (simple_copy, smart_rename): New functions.
4041
        (main): Use them.
4042
 
4043
Fri Sep 24 15:38:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4044
 
4045
        * Makefile.in (clean, distclean): Recurse into testsuite.
4046
 
4047
Thu Sep 23 01:05:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4048
 
4049
        * objcopy.c (setup_sections, copy_sections): If stripping, don't
4050
        copy SEC_DEBUGGING sections.
4051
        * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
4052
 
4053
        * objdump.c (usage): Mention --stabs.
4054
 
4055
        * objcopy.c (copy_object): Copy all applicable file flags.
4056
        (copy_file): Don't copy EXEC_P specially here.
4057
 
4058
Mon Sep 20 19:28:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4059
 
4060
        * nlmconv.c (main): Adjust data section size to correspond to bss
4061
        alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
4062
        a different section.  Use time_t for time variable.
4063
        (setup_sections): Only put sections with contents in output NLM.
4064
        (i386_mangle_relocs): No symbols are common at this point.  Add
4065
        casts to avoid warnings.
4066
 
4067
Fri Sep 10 11:00:40 1993  Stan Shebs  (shebs@rtl.cygnus.com)
4068
 
4069
        * objdump.c: Made the --stabs option work for stabs-in-coff.
4070
        (ELF_STAB_DISPLAY): Removed.
4071
        (dump_elf_stabs): Renamed to dump_stabs, changed to run for
4072
        any object file format.
4073
        (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
4074
        generic BFD routines for non-ELF case, changed format of message
4075
        for no-section-found case.
4076
        (display_bfd): Always call dump_stabs if requested.
4077
        (dump_data): Call bfd_section_size to get section size.
4078
 
4079
Fri Sep 10 08:12:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4080
 
4081
        * Makefile.in (install): Don't put strings in tooldir/bin.
4082
 
4083
Mon Sep  6 15:39:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4084
 
4085
        * nlmconv.c (total_bss_size): Removed.
4086
        (main): Set the bss vma to always follow the data section.  Move
4087
        symbols into new sections, and adjust values by output_offset.
4088
        (setup_sections): Don't copy all sections, but instead point all
4089
        text sections to .text, all data sections to .data, and all bss
4090
        sections to .bss.
4091
        (copy_sections): Adjust accordingly.
4092
 
4093
Thu Sep  2 12:34:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4094
 
4095
        Only build nlmconv if configured for a NetWare target.
4096
        * configure.in: If we have some *-*-netware* target, or are using
4097
        all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
4098
        * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
4099
        $(NLMCONV_PROG).
4100
 
4101
Tue Aug 31 14:13:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4102
 
4103
        * objdump.c (ARCH_all): Define ARCH_hppa too.
4104
        (dump_headers): Don't test for SEC_BALIGN if it's not defined by
4105
        bfd.h.
4106
 
4107
Tue Aug 31 13:29:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4108
 
4109
        * nlmconv.c (main): Force creation of .bss section.  Set up the
4110
        sections before looking at the symbols.  Move all common symbols
4111
        into .bss section.  Automatically define _edata and _end.  Only
4112
        export symbols in the export list, with multiple prefixes if
4113
        necessary.  Warn if no version.  Always create extended header.
4114
        Set date automatically if not already set.
4115
        (setup_sections): Count size of bss sections.
4116
        (mangle_relocs, i386_mangle_relocs): Accept section argument, and
4117
        take reloc_count as a changeable pointer; changed callers.
4118
        (i386_mangle_relocs): Remove PC relative relocs within a section,
4119
        as they require no adjustment.
4120
        * nlmheader.y: Fixed memory allocation throughout: token STRING is
4121
        now allocated on the heap, and freed if not needed.  Null
4122
        terminated copyright message.  Accept version with only two
4123
        strings.
4124
        (symbol_list_opt): New nonterminal, either symbol_list or empty.
4125
        (symbol_list): Use left recursion to avoid overflowing parser
4126
        stack.
4127
        (yylex): Rearranged beginning of line check.  Accept quoted
4128
        strings using single quotes.  End generic argument at comment
4129
        character or parentheses.
4130
        (string_list_append): Fixed.
4131
        (string_list_append1): New function.
4132
 
4133
        * bucomm.h: The first argument to xrealloc is PTR, not char *.
4134
        * bucomm.c (xrealloc): Use PTR rather than char *.
4135
        * Makefile.in (objdump.o): Depend upon config.status to notice
4136
        --with-targets changes.
4137
        (nlmconv.o): Depend upon bucomm.h.
4138
 
4139
Tue Aug 17 09:46:01 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4140
 
4141
        * configure.in: Don't pass cpu to config.bfd.
4142
 
4143
Thu Aug 12 16:43:04 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4144
 
4145
        * Makefile.in ($(NM_PROG)): Depend on demangle.o.
4146
        (demangle.o): New target.
4147
        (cplus-dem.o): Depend on it, to force compilation order when doing
4148
        parallel compiles.
4149
 
4150
        * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
4151
        (struct output_fns print_symbol_info): Ditto.
4152
        (long_options, usage, main): Add -C --demangle option.
4153
        (print_symname): New function, demangling if requested.
4154
        (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
4155
 
4156
Wed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4157
 
4158
        * Makefile.in: Put CFLAGS last in compilation rules and omit from
4159
        linking rules.  Use ARCHDEFS to compile objdump.c.
4160
        Update dependencies.
4161
        * configure.in: Construct ARCHDEFS based on the BFD target makefile
4162
        fragments.
4163
        * objdump.c: Conditionalize calls to the print_insn_ARCH functions
4164
        according to ARCHDEFS.
4165
 
4166
Thu Aug 12 08:06:15 1993  Ian Lance Taylor  (ian@cygnus.com)
4167
 
4168
        * ar.c: Removed obsolete and non-functional GNU960 code.
4169
 
4170
Wed Aug 11 13:08:26 1993  Ian Lance Taylor  (ian@cygnus.com)
4171
 
4172
        * size.c (berkeley_sum): New function.
4173
        (bsssize, datasize, textsize): New global variables.
4174
        (bss_section_name, data_section_name, text_section_name): Removed.
4175
        (print_berkeley_format): Map berkeley_sum over all the sections,
4176
        rather than only reporting sizes of specifically named sections.
4177
        * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
4178
 
4179
Tue Aug 10 10:46:01 1993  Ian Lance Taylor  (ian@cygnus.com)
4180
 
4181
        * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
4182
        convert object files into NetWare Loadable Modules.
4183
        * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
4184
        (PROGS): Add NLMCONV_PROG.
4185
        (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
4186
        targets.
4187
 
4188
Thu Aug  5 15:48:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
4189
 
4190
        * Makefile.in: define MAKEOVERRIDES to an empty string
4191
 
4192
Wed Aug  4 17:08:08 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4193
 
4194
        * objcopy.c (copy_file): Make failures to process a file nonfatal.
4195
 
4196
Mon Aug  2 11:28:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4197
 
4198
        * nm.c: Add -B option, like --format=bsd.
4199
 
4200
Tue Jul 27 16:29:54 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4201
 
4202
        * objcopy.c (copy_file): If the file is neither an object nor an
4203
        archive, give an error rather than returning success.
4204
 
4205
Mon Jul 19 16:13:40 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
4206
 
4207
        * objdump.c (objdump_print_address): Prefer non-local symbols over
4208
        local ones, and especially discriminate against debugging symbols.
4209
        Also, for relocateable files, try to find a symbol in the current
4210
        section, instead of picking one from some random section with a
4211
        convenient value (read, section offset).
4212
        (disassemble_data): Cast argument to malloc to size_t first.
4213
        (dump_data): Likewise.
4214
        (dump_relocs): If a single section name is specified, show relocs
4215
        only for that section.  Otherwise, silently omit sections without
4216
        relocs.  Format table nicely even if values are printed using 16
4217
        digits instead of 8.
4218
 
4219
Fri Jul 16 15:19:59 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4220
 
4221
        * nm.c: Changes for final version of POSIX.2.
4222
        (print_symbol_filename_{bsd,sysv,posix}): New functions.
4223
        (formats): Add an element for a pointer to them.
4224
        (print_symbols): Call it.
4225
        (print_object_filename_posix, print_archive_member_posix): Produce
4226
        output according to new POSIX.2 spec.
4227
 
4228
        * strings.c (print_strings): Handle STREAM being NULL.
4229
        (strings_a_section): Pass a NULL.
4230
        (main): Don't open /dev/null.
4231
 
4232
Thu Jul 15 12:44:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4233
 
4234
        * objdump.c (disassemble_data): Handle the m88k.
4235
        (display_bfd): Use bfd_errmsg, rather than just claiming that the
4236
        bfd is not an object file.
4237
 
4238
Mon Jul 12 17:55:34 1993  K. Richard Pixley  (rich@cygnus.com)
4239
 
4240
        * Makefile.in (TAGS): make work again by naming directories
4241
          explicitly rather than depending on undefined macros.
4242
          (INSTALL_XFORM): correct bad install target.
4243
 
4244
Fri Jul  2 16:58:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4245
 
4246
        * strings.c: Doc fixes.
4247
 
4248
Sun Jun 27 13:35:24 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4249
 
4250
        * Makefile.in: Note dependencies on bucomm.h.
4251
        (cplus-dem.o): Link c++filt with version.o.
4252
 
4253
        * strings.c: Include bucomm.h and add prototypes to other decls.
4254
        Remove -h option.
4255
 
4256
        * bucomm.h: Declare xrealloc.
4257
 
4258
        * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
4259
        --help option.  Put "GNU" in the version message.
4260
        (usage): Take stream and exit status as args.
4261
        (main): Pass new args to usage.
4262
 
4263
Fri Jun 25 23:12:12 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4264
 
4265
        * strings.c, strings.1: New files.
4266
        * binutils.texi: Document strings.
4267
        * Makefile.in: Add rules for it.
4268
 
4269
Fri Jun 25 20:44:43 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
4270
 
4271
        * objdump.c: Use size-independent bfd elf section names.
4272
 
4273
Sun Jun 20 23:09:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
4274
 
4275
        * objdump.c (objdump_print_address): Handle wide offsets by
4276
        calling sprintf_vma.
4277
 
4278
Fri Jun 18 14:29:12 1993  Per Bothner  (bothner@deneb.cygnus.com)
4279
 
4280
        * objdump.c (syms2):  Removed unused variable.
4281
        * objdump.c (remove_useless_symbols):  New function.
4282
        * objdump.c (comp):  Simplify.
4283
        * objdump.c (dis-assemble_data):  Make simpler and more
4284
        efficient how we filter out useless symbols:  Just filter
4285
        BEFORE the sort (using remove_useless_symbols).
4286
        * objdump.c (objdump_print_address):  Simplify.
4287
        Change output syntax to match gdb.
4288
 
4289
Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
4290
 
4291
        * Makefile.in: canonicalize install.sh; for use within
4292
        this directory (and subdirs)
4293
 
4294
Mon Jun 14 12:13:22 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
4295
 
4296
        * Makefile.in (install, install-info): remove parentdir support,
4297
        use INSTALL_XFORM; define INSTALL_XFORM
4298
 
4299
Thu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
4300
 
4301
        * objcopy.c (copy_object):  Fix bad size passed to xmalloc().
4302
 
4303
Mon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
4304
 
4305
        * Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
4306
        * configure.in:  No longer need to configure to get sysdep.h.
4307
        * objcopy.c (copy_object):  Fix symbol table handling.
4308
 
4309
Fri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
4310
 
4311
        * objcopy.c (filter_symbols):  Cannot filter the symbols
4312
        in place, because that confuses the relocs, so take separate
4313
        parameter for output array.
4314
        * objcopy.c (sympp):  Make two variables: isympp and osympp.
4315
        * objcopy.c (copy_object):  Allocate separate array (osympp)
4316
        for filtered symbols.
4317
 
4318
Fri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4319
 
4320
        * Makefile.in: change recursion test to presence of a configured
4321
        testsuite directory
4322
 
4323
Thu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4324
 
4325
        * Makefile.in (underscore.c): Hack the backquoted command so it
4326
        doesn't cause Solaris make to bomb.
4327
 
4328
Thu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
4329
 
4330
        * Makefile.in:  added c++filt and objcopy to MANPAGES variable
4331
 
4332
Thu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4333
 
4334
        * Makefile.in: rename LOADLIBES to EXTRALIBS
4335
 
4336
Wed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
4337
 
4338
        * c++filt.1, objcopy.1:  new man pages
4339
 
4340
Fri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
4341
 
4342
        * Makefile.in (install):  Also install ar and ranlib in
4343
        $(tooldir)/bin;  needed for building libgcc.a.
4344
        * objdump.c (objdump_print_address):  Fix the check
4345
        "coincidental" label matches by dis-allowing undefined
4346
        or com symbols.
4347
 
4348
Thu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
4349
 
4350
        * binutils.texi:  revised c++filt chapter
4351
 
4352
Wed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
4353
 
4354
        * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
4355
 
4356
Tue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
4357
 
4358
        * objdump.c (slurp_symtab): Print warning for bad symbol table.
4359
        (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
4360
        declarations and uses.
4361
 
4362
        * Makefile.in (DISTSTUFF): Don't build binutils.mm.
4363
 
4364
Fri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
4365
 
4366
        * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
4367
        Make global variables static.
4368
        (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
4369
        (set_print_radix, set_output_format,
4370
        print_{object_filename,archive_filename,archive_member,symbol_info}
4371
        {bsd,sysv,posix}): New functions.
4372
        (display_file, print_symbols): Call them.
4373
 
4374
        * ar.c: Improve error messages.
4375
 
4376
        * nm.c (main): Handle long options that just set a flag.
4377
 
4378
        * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
4379
        (main): Exit after printing the version number, per the GNU coding
4380
        standards.
4381
 
4382
Mon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
4383
 
4384
        * README, Makefile.in:  Minor updates for 2.2.
4385
 
4386
Fri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
4387
 
4388
        * Makefile.in (underscore.c):  Automatically generate
4389
        (using nm) a file with the variable prepends_underscore.
4390
        * Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
4391
        so that initial underscores get removed iff appropriate.
4392
        * binutils.texi:  Preliminary documentation for c++filt.
4393
        * Makefile.in, binutils.texi:  Set to version 2.2.
4394
 
4395
        * NEWS:  Mention copy->objcopy renaming and new c++filt program.
4396
 
4397
Wed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
4398
 
4399
        * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
4400
        demangler via cplus-dem.o, rather than directly from the .c file.
4401
 
4402
        * objcopy.c: Renamed from copy.c, updated comments accordingly.
4403
        * Makefile.in, binutils.texi: Renamed copy to objcopy.
4404
        * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
4405
        rename of copy to objcopy.
4406
 
4407
Mon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
4408
 
4409
        * binutils.texi (strip, -v option):  Fix typo.
4410
 
4411
Fri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
4412
 
4413
        * Makefile.in (RUNTEST): Define.
4414
        (FLAGS_TO_PASS): Pass down RUNTEST.
4415
 
4416
Tue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
4417
 
4418
        * Makefile.in (DEMANGLER_PROG): Name it c++filt.
4419
        (PROG): Also build and install COPY_PROG.
4420
 
4421
Mon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
4422
 
4423
        * Makefile.in:  Change definition of $(tooldir) to match FSF.
4424
 
4425
Wed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
4426
 
4427
        * size.c (usage): Add missing options.
4428
        (main): Clean up option parser.
4429
 
4430
        * objdump.c (usage): Add missing options.
4431
        (display_file): Print program name before calling
4432
        bdf_perror.
4433
 
4434
        * nm.c (usage): Add missing options.
4435
        (main): Clean up option parser.
4436
        (display_file): Print program name before calling
4437
        bdf_perror.
4438
 
4439
        * copy.c (copy_usage, strip_usage): Add missing options.
4440
 
4441
        * ar.c (usage): New function.
4442
        (main): Call it.
4443
        (open_inarch, do_quick_append): Print program name before calling
4444
        bdf_perror.
4445
 
4446
Thu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
4447
 
4448
        * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
4449
 
4450
Mon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
4451
 
4452
        * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
4453
        built binaries if they exist. (otherwise the path)
4454
 
4455
Wed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
4456
 
4457
        * Makefile.in: Changed check target to use DejaGnu.
4458
 
4459
Thu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
4460
 
4461
        * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
4462
        objdump.c: a29k and i960 are `disassemble' not `print'.
4463
 
4464
        * objdump.c: Rename print_address to objdump_print_address
4465
        and change parameters.
4466
        (disassemble_data): Use objdump_print_address.
4467
 
4468
Wed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4469
 
4470
        * objdump.c (disassemble_data): print_insn_sparc is now a
4471
        `disassemble' not a `print'.
4472
        Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
4473
 
4474
        * objdump.c (disassemble_data): Use new read_memory_func stuff.
4475
 
4476
Thu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4477
 
4478
        * objdump.c (fprintf): Declaration of variadic function had better
4479
        be a prototype for ANSI C systems.
4480
 
4481
Mon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4482
 
4483
        * Makefile.in: rename test-install to install-check
4484
 
4485
Fri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
4486
 
4487
        * objdump.c (disassemble_data): Add H8500.
4488
 
4489
Fri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
4490
 
4491
        * objdump.c (usage): Mention long options.
4492
 
4493
Thu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
4494
 
4495
        * nm.c:  Modify behavior of -o flag for archives to match
4496
        BSD4.4 and Sunos 4:  Prefix archive name before each line.
4497
 
4498
        * m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
4499
        * i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
4500
        * Makefile.in:  Adjust accordingly.
4501
        * objdump.c:  Support new-style disassemblers (ones that use
4502
        the interface of ../include/dis-asm.h).
4503
 
4504
Thu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
4505
 
4506
        * Makefile.in:  When making tar file, remove texinfo/*,
4507
        except for texinfo/texinfo.tex.
4508
        * ardup.c:  Add extern declaration of strdup.
4509
        * Makefile.in (testsuite):  Add 'else true' since otherwise
4510
        Ultrix /bin/sh complains.
4511
 
4512
Wed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
4513
 
4514
        * Makefile.in:  Set VERSION to 2.1.
4515
        * README, NEWS: Updates.
4516
        * nm.c:  Add -v as a synonym for -V.
4517
 
4518
Tue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
4519
 
4520
        * configure.in: added testsuite to configdirs.
4521
        * Makefile.in: added support for building testsuite.
4522
 
4523
Mon Feb 22 22:52:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
4524
 
4525
        * objdump.c (disassemble_data):  Print function names when
4526
        given by bfd_find_nearest_line.  If not - still print
4527
        line numbers.
4528
 
4529
Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
4530
 
4531
        * testsuite: made modifications to testcases, etc., to allow
4532
        them to work properly  given the reorganization of deja-gnu and the
4533
        relocation of the testcases from deja-gnu to a "tool" subdirectory.
4534
 
4535
Mon Feb 22 10:27:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4536
 
4537
        * objdump.c (dump_data): Free up section contents each time
4538
        through the loop.  Reported by minyard@bnr.ca.
4539
 
4540
Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
4541
 
4542
        * testsuite: Initial creation of binutils/testsuite.
4543
        Migrated dejagnu testcases and support files for testing nm to
4544
        binutils/testsuite from deja-gnu.  These files were moved "as is"
4545
        with no modifications.  This migration is part of a major overhaul
4546
        of dejagnu.  The modifications to these testcases, etc., which
4547
        will allow them to work with the new version of dejagnu will be
4548
        made in a future update.
4549
 
4550
Fri Feb 12 10:05:20 1993  Fred Fish  (fnf@cygnus.com)
4551
 
4552
        * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
4553
        * Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
4554
        * Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
4555
        and rule.
4556
        * Makefile.in (PROGS):  Add DEMANGLER_PROG.
4557
 
4558
Tue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
4559
 
4560
        * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
4561
        macro rather than checking for equality to bfd_com_section.
4562
 
4563
Fri Jan  8 15:50:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4564
 
4565
        * objdump.c (disassemble_data): Fix code to find first useless
4566
        symbol.
4567
 
4568
Thu Jan  7 13:13:31 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4569
 
4570
        * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
4571
        Don't core dump if bfd_find_nearest_line returns false.
4572
 
4573
Wed Jan  6 17:14:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
4574
 
4575
        * objdump.c (disassemble_data): know how to disassemble z8000s
4576
        too.
4577
 
4578
Wed Jan  6 15:16:27 1993  Per Bothner  (bothner@cygnus.com)
4579
 
4580
        * arsup.h (interactive), bucomm.h (program_name):  Prefix
4581
        with 'extern', to avoid warnings from some compilers.
4582
 
4583
Wed Jan  6 15:14:11 1993  Per Bothner  (bothner@rtl.cygnus.com)
4584
 
4585
        * arparse.y: fix unnecessary shift/reduce
4586
 
4587
Tue Dec 22 15:46:56 1992  Per Bothner  (bothner@rtl.cygnus.com)
4588
 
4589
        * Makefile.in:  Make check depend on all.
4590
        * Makefile.in (distclean): Remove sysdep.h.
4591
        * size.c:  Use %u format where appropriate.
4592
        * objdump.c:  Standardize:  L_SET -> SEEK_SET.
4593
        * objdump.c:  Use new macro bfd_asymbol_bfd.
4594
        * configure.in:  Allow std-host as the default ${mys_host}.
4595
 
4596
Thu Dec 17 19:38:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4597
 
4598
        * Makefile.in: added dvi target, define and use TEXI2DVI
4599
 
4600
Tue Dec 15 18:05:07 1992  Per Bothner  (bothner@cygnus.com)
4601
 
4602
        * Makefile.in (dist):  Fix permissions before release.
4603
        * size.c:  Use bfd_size_type (and long) where appropriate.
4604
        * ar.c:  Make writing a map the default, to be compatible
4605
        with SYSV and Posix.2.  Remove some bogus kludges that
4606
        handled __.SYMDEF directly.
4607
        * NEWS:  New file.
4608
 
4609
Mon Nov  9 13:36:53 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4610
 
4611
        * Makefile.in: flex no longer needs the -S flag
4612
 
4613
Sat Nov  7 15:06:13 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4614
 
4615
        * ar.c (extract_file): utime needs a pointer to a utimbuf
4616
 
4617
        * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
4618
        the list (since some of the bfd/hosts/*.h files include other
4619
        files from that directory)
4620
 
4621
Fri Nov  6 00:12:51 1992  John Gilmore  (gnu@cygnus.com)
4622
 
4623
        * i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.
4624
 
4625
Thu Nov  5 03:37:15 1992  John Gilmore  (gnu@cygnus.com)
4626
 
4627
        Clean up some old BFD ansification macros.
4628
 
4629
        * arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
4630
        It still remains as a local macro in gmalloc.c, which is derived
4631
        from some other copy of GNU Malloc somewhere (FIXME).
4632
 
4633
        * ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
4634
        fns really static.
4635
        * arsup.h:  Declare extract_files.
4636
 
4637
Mon Nov  2 12:42:11 1992  Ian Lance Taylor  (ian@cygnus.com)
4638
 
4639
        * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
4640
        use utime and utimbuf structure, otherwise if USE_UTIME use utime
4641
        and array of two longs, otherwise use utimes.
4642
 
4643
Thu Oct 15 13:57:35 1992  Per Bothner  (bothner@cygnus.com)
4644
 
4645
        * binutils.texi:  Document yesterday's changes to strip and copy.
4646
 
4647
Wed Oct 14 13:22:14 1992  Per Bothner  (bothner@cygnus.com)
4648
 
4649
        * copy.c:  Re-do command-line parsing to use getopt_long().
4650
        Add long option names.  Re-think option letters to be more
4651
        consistent.
4652
        * copy.c:  New function filter_symbols() for stripping only
4653
        debug-symbols and/or local symbols.  Use these to support
4654
        the previously-missing options of the old FSF strip.
4655
 
4656
Tue Oct 13 01:24:20 1992  John Gilmore  (gnu@cygnus.com)
4657
 
4658
        * configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
4659
        than repeating a copy of it here.
4660
 
4661
Wed Oct  7 12:53:52 1992  Ken Raeburn  (raeburn@cygnus.com)
4662
 
4663
        * copy.c (main): Even if is_strip, accept -d argument indicating
4664
        alternate output format.  Needed by gdb for Nindy.
4665
 
4666
        * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
4667
 
4668
Tue Oct  6 16:33:56 1992  Jeffrey Osier  (jeffrey@cygnus.com)
4669
 
4670
        * binutils.texi:  added documentation for "copy"
4671
 
4672
Tue Oct  6 14:22:56 1992  Per Bothner  (bothner at PersSony)
4673
 
4674
        * Makefile.in (*clean rules): Some cleaning up.
4675
        * Makefile.in (dist): Make diststuff in gprof for a dist.
4676
 
4677
        * ar.c (do_show_version):  New function.
4678
        * ar.c (main):  Fix so "ar -V" works.
4679
 
4680
Thu Oct  1 22:44:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4681
 
4682
        * configure.in: now uses the cpu-vendor-os triple instead of
4683
        nested cases.
4684
 
4685
Fri Sep 25 22:41:08 1992  John Gilmore  (gnu@cygnus.com)
4686
 
4687
        * i960-pinsn.c:  Change bzero to memset.
4688
        * sparc-pinsn.c:  Change index to strchr.
4689
 
4690
Mon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)
4691
 
4692
        * m68k-pinsn (print_insn_arg, fetch_arg): added support for
4693
        operands to memory management instructions, from WRS.
4694
 
4695
Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)
4696
 
4697
        * Makefile.in (install): if $(tooldir) exists, install nm and
4698
        strip in $(tooldir)/bin.
4699
 
4700
Thu Sep  3 11:57:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
4701
 
4702
        * Makefile.in:  Let's call it version 2.0.
4703
 
4704
Wed Sep  2 00:25:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
4705
 
4706
        * Makefile.in:  Bump to version 0.98.
4707
        * TODO, README:  Minor updates.
4708
 
4709
        * Makefile.in:  Added mostlyclean, distclean rules,
4710
        and cleaned up clean, realclean.
4711
 
4712
Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)
4713
 
4714
        * Makefile.in: map program names through program_transform_name
4715
        when installing.
4716
 
4717
Sun Aug 30 18:09:03 1992  Per Bothner  (bothner@rtl.cygnus.com)
4718
 
4719
        * Makefile.in:  Bump to versions 1.97.90.
4720
        * cplus-dem.c:  Removed.  Was nowhere used - and if some
4721
        programs are changed to to demangling should now use the
4722
        versions in libiberty.
4723
 
4724
Thu Aug 27 12:58:09 1992  Brendan Kehoe  (brendan@cygnus.com)
4725
 
4726
        * configure.in: add we32k
4727
 
4728
Mon Aug 24 14:53:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4729
 
4730
        * ar.c (map_over_members): if the element of the archive has a
4731
        null name, fill it in.
4732
 
4733
        * nm.c (do_one_rel_file): only warn if a bfd's flags say there
4734
        will be symbols and there aren't any.
4735
 
4736
Wed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)
4737
 
4738
        * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
4739
 
4740
Tue Aug 18 20:45:48 1992  Rob Savoye  (rob@cygnus.com)
4741
 
4742
        * nm.c objdump.c: Added support for a +version (-V)
4743
        to print the version number.
4744
 
4745
        * ar.c, copy.c: Added support for a -V option to print
4746
        the version number.
4747
 
4748
Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)
4749
 
4750
        * config/mh-apollo68v: removed -g from CC definition.
4751
 
4752
        * Makefile.in: always create installation directories.
4753
 
4754
Mon Aug 17 18:33:41 1992  Per Bothner  (bothner@rtl.cygnus.com)
4755
 
4756
        * m68k-pinsn.c:  Minor fix in style of output (don't use
4757
        range to indicate floating point control registers).
4758
 
4759
Tue Aug 11 23:42:21 1992  Per Bothner  (bothner@cygnus.com)
4760
 
4761
        * ar.c (main):  Don't *always* set the verbose flag!
4762
 
4763
Wed Aug  5 11:25:27 1992  Per Bothner  (bothner@rtl.cygnus.com)
4764
 
4765
        * copy.c:  When is_strip (because it is invoked as the strip
4766
        program), follow traditional argv processing:
4767
        'strip file1 file2' now strips file1 and file2, rather
4768
        than stripping file1 (as input), leaving output in file2.
4769
 
4770
Mon Jul 27 16:28:08 1992  Per Bothner  (bothner@rtl.cygnus.com)
4771
 
4772
        * objdump.c (display_info, display_info_table):  Call
4773
        bfd_set_format() on dummy bfd before using it (twice).
4774
        * ar.c:  Make sure archive is created on command 'r'
4775
        even when no elements are inserted.  (Clean up and
4776
        simplify some non-working related code.)
4777
 
4778
Mon Jul 20 02:48:38 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
4779
 
4780
        * configure.in: hppa support doesn't assume hp OS (from sef).
4781
 
4782
Sat Jul 18 14:35:22 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4783
 
4784
        * configure.in: recognize hppa hosts (bsd & hpux), error messages
4785
        to stderr, not stdout
4786
 
4787
Fri Jul 17 18:39:44 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4788
 
4789
        * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
4790
          size.1, sparc-pinsn.c, strip.1: removed rcsid's.
4791
 
4792
Thu Jul 16 16:55:24 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4793
 
4794
        * Makefile.dos: removed rcsid.
4795
 
4796
Thu Jul 16 08:23:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4797
 
4798
        * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
4799
 
4800
Tue Jun 30 20:26:15 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
4801
 
4802
        * Makefile.in: Add program_suffix (parallel to program_prefix)
4803
 
4804
Thu Jun 25 04:52:45 1992  John Gilmore  (gnu at cygnus.com)
4805
 
4806
        * nm.c (sorters):  Lint.  Remove excess whitespace.
4807
 
4808
Wed Jun 24 13:48:07 1992  Per Bothner  (bothner@cygnus.com)
4809
 
4810
        * nm.c (valueof macro):  Add missing parentheses.
4811
        (Their lack screwed up numeric_forward().)
4812
 
4813
Sun Jun 14 10:33:27 1992  John Gilmore  (gnu at cygnus.com)
4814
 
4815
        * objdump.c (dump_elf_stabs):  Also dump .stab.index and
4816
        .stab.excl sections.
4817
        (dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
4818
        * objdump.1, binutils.texi:  Document new sections dumped.
4819
 
4820
Fri Jun 12 22:23:35 1992  John Gilmore  (gnu at cygnus.com)
4821
 
4822
        * size.c, objdump.c, bucomm.c:  Lint.
4823
 
4824
Thu Jun 11 01:19:06 1992  John Gilmore  (gnu at cygnus.com)
4825
 
4826
        * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
4827
        .stab section from an ELF file.  Installed under #ifdef
4828
        ELF_STAB_DISPLAY so it can be easily disabled, since it requires
4829
        bfd-internals header files and such.
4830
        * objdump.1, binutils.texi:  Update for --stabs.  Also fix
4831
        objdump's doc to use -- rather than + for long options.
4832
        (FIXME:  Not yet fixed everywhere in binutils.texinfo.)
4833
 
4834
Wed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4835
 
4836
        * objdump.c(display_info), patches from
4837
        mohring@informatik.tu-muenchen.de to print the table much more
4838
        nicely.
4839
 
4840
Thu May 28 13:36:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
4841
 
4842
        * objdump.c:  Add another enum->int cast, for the sake of
4843
        old compilers (such as PCC).
4844
 
4845
Wed May 27 13:01:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
4846
 
4847
        * arlex.l:  Don't include  (unneeded conflicts).
4848
        Add declaration of strdup().
4849
 
4850
Fri May 22 13:40:37 1992  Per Bothner  (bothner@cygnus.com)
4851
 
4852
        * Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
4853
        rules, since these are used when building a distribution.
4854
        * Makefile.in (arlex.c):  Don't re-direct output, since that
4855
        leaves a bogus output files if it fails.
4856
 
4857
        * arlex.l:  Make work with lex, for what it's worth.
4858
        * Makefile.in:  Better lex support.
4859
        * Makefile.in (dist):  Generate flex and bison outputs
4860
        for distribution.
4861
 
4862
Thu May 14 17:17:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4863
 
4864
        * Makefile.in: get BISON definition right.
4865
 
4866
Fri May  8 07:47:08 1992  K. Richard Pixley  (rich@cygnus.com)
4867
 
4868
        * sanity.sh: default TMPDIR to ".".
4869
 
4870
Thu May  7 12:34:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
4871
 
4872
        * binutils.texi: add doc for ar command language.
4873
 
4874
Wed May  6 18:05:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4875
 
4876
        * arparse.y: make END call ar_end
4877
        * arsup.c (ar_end): added, deletes temp file if archive session
4878
        aborted.
4879
 
4880
 
4881
Wed May  6 11:08:53 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4882
 
4883
        * Makefile.in: use bison & flex from ../ if they exist.  Also,
4884
          FLEX->LEX.
4885
 
4886
        * sanity.sh: remove temporary directory when finished.
4887
 
4888
Tue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
4889
 
4890
        * Makefile.in:  Bump to version 1.97.
4891
        * ar.c:  Declare errno for machines that need it.
4892
 
4893
Mon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
4894
 
4895
        * objdump.c (display_info):  Handle error cases without coredump.
4896
        Close the dummy temporary file we open in the loop.
4897
        * Makefile.in (arsup.o):  Add kludge to build with Sun Make.
4898
 
4899
Fri May  1 16:20:23 1992  K. Richard Pixley  (rich@cygnus.com)
4900
 
4901
        * Makefile.in: added test-install target.
4902
 
4903
        * sanity.sh: new file.
4904
 
4905
        * Makefile.in: use sanity test on make check.
4906
 
4907
Tue Apr 21 13:38:37 1992  K. Richard Pixley  (rich@cygnus.com)
4908
 
4909
        * Makefile.in: rework CFLAGS so that they can be passed on the
4910
          command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
4911
 
4912
Wed Apr 15 14:33:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
4913
 
4914
        * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
4915
        scripting language.
4916
 
4917
Fri Mar  6 21:54:53 1992  K. Richard Pixley  (rich@cygnus.com)
4918
 
4919
        * Makefile.in: added check target.
4920
 
4921
Thu Mar  5 21:35:49 1992  K. Richard Pixley  (rich@cygnus.com)
4922
 
4923
        * Makefile.in: added clean-info target.
4924
 
4925
Tue Mar  3 15:36:37 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
4926
 
4927
        * Makefile.in: remove $(COPY_PROG) from PROGS.  It shouldn't be
4928
          installed. added tooldir and program_prefix.
4929
 
4930
Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
4931
 
4932
        * Makefile.in, configure.in: removed traces of namesubdir,
4933
          -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
4934
          copyrights to '92, changed some from Cygnus to FSF.
4935
 
4936
Sun Feb 16 12:53:02 1992  Per Bothner  (bothner at cygnus.com)
4937
 
4938
        * Makefile.in:  Bump version to 1.96, and remove -beta
4939
        suffix from distribution name.
4940
        * m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
4941
        the signed value of a character (even if chars are unsigned).
4942
        * sparc-pinsn.c:  Add new operand types.
4943
 
4944
Thu Feb  6 12:14:19 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
4945
 
4946
        * objdump.c (disassemble_data): don't print a section's contents
4947
        if it's not loadable (eg bss)
4948
 
4949
Tue Jan 28 11:11:06 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
4950
 
4951
        * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
4952
        displacements don't get printed as large +ve ones.
4953
 
4954
Fri Jan 24 14:47:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
4955
 
4956
        * copy.c, nm.c, objdump.c, size.c : changed to use the
4957
        new reloc scheme.
4958
 
4959
 
4960
Mon Dec 30 18:34:41 1991  Per Bothner  (bothner at cygnus.com)
4961
 
4962
        * bucomm.c (print_arelt_descr):  Tweek the output format
4963
        so that 'ar tv' output follows Posix 1003.2/D11.
4964
        Output is now also identical to Sun's (except __.SYMDEF).
4965
 
4966
Mon Dec 30 06:09:53 1991  John Gilmore  (gnu at cygnus.com)
4967
 
4968
        * Makefile.in:  Make `make' output more readable.
4969
 
4970
Wed Dec 18 15:04:45 1991  Per Bothner  (bothner at cygnus.com)
4971
 
4972
        * Makefile.in:  Bump to version 1.94.
4973
 
4974
Wed Dec 11 16:48:09 1991  Steve Chamberlain  (sac at cygnus.com)
4975
 
4976
        * ar.c: added "b" to fopens for dos
4977
        * configdj.bat, makefile.dos new files from DJ
4978
 
4979
Tue Dec 10 04:07:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
4980
 
4981
        * Makefile.in: infodir belongs in datadir.
4982
 
4983
Sat Dec  7 17:09:37 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
4984
 
4985
        * bucomm.h: created to hold prototypes of bucomm.c
4986
        * objdump.h: created to hold prototyes of objdump.c
4987
        * am29k-pinsn.c: include objdump.h
4988
        * ar.c: include bucomm.h, get ar.h from the right place and
4989
        include libbfd.h
4990
        * bucomm.c: defunize bfd_fatal
4991
        * copy.c: include bucomm.h, lint.
4992
        * i960-pinsn.h: include bucomm.h
4993
        * m68k-pinsn.h: lint
4994
        * nm.c: include bucomm.h, lint
4995
        * objdump.c: lint
4996
        * sparc-pinsn.c: include objdump.h
4997
 
4998
 
4999
 
5000
Fri Dec  6 23:02:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5001
 
5002
        * Makefile.in: added standards.text support.  install using
5003
          INSTALL_PROGRAM and INSTALL_DATA.
5004
 
5005
        * configure.in: configure now does all of it's work from objdir so
5006
          make file existence tests against ${srcdir}.
5007
 
5008
Thu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5009
 
5010
        * Makefile.in: idestdir and ddestdir go away.  Added copyrights
5011
          and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
5012
          and mandir now keyed off datadir by default.
5013
 
5014
Wed Dec  4 22:42:03 1991  Per Bothner  (bothner at cygnus.com)
5015
 
5016
        * Makefile.in:  Bump to version 1.93.
5017
        * Makefile.in:  Add make-strip.o:maybe-strip.c dependency
5018
        for make versions that provide half-baked VPATH-support (e.g. Sun's).
5019
        * size.c:  Improvements suggested by
5020
        "david d [zoo] zuhn" :
5021
        - Don't emit (Berkeley) headers if no files were found.
5022
        - Return a non-zero return code on failure.
5023
 
5024
Sat Nov 30 21:34:19 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
5025
 
5026
        Changes due to include file renaming:
5027
        * am29k-pinsn.c: a29k-opcode.h  -> opcode/a29k.h
5028
        * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
5029
        * m68k-pinsn.c:  m68k-opcode.h  -> opcode/m68k.h
5030
        * nm.c:          stab.gnu.h     -> aout/stab_gnu.h
5031
 
5032
Tue Nov 19 19:20:43 1991  Per Bothner  (bothner at cygnus.com)
5033
 
5034
        * README:  Mention MINIMIZE flag for bfd's make.
5035
 
5036
Mon Nov 18 12:05:37 1991  Per Bothner  (bothner at cygnus.com)
5037
 
5038
        * README:  Various improvements.
5039
 
5040
Sun Nov 17 23:40:59 1991  Per Bothner  (bothner at cygnus.com)
5041
 
5042
        * Makefile.in:  Bump to version 1.92.
5043
        * version.c, Makefile.in:  Get version string from Makefile.
5044
        * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
5045
        Make the same change that we earlier did for ar/ranlib:
5046
        Generate two different binaries for strip and copy and use
5047
        a global variable with different values to distinguish
5048
        ostrip from copy.  (-1 means to use argv[0] to decide,
5049
        so you can get the old behavior, but it is no longer the default).
5050
        * copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
5051
        * copy.c (main):  If is_strip==-1, compare last 5 chars
5052
        of argv[0], not the whole path.
5053
        * copy.c (main): Return 0, not 1.
5054
        * copy.c (setup_sections):  Fix due to change in bfd_make_section
5055
        now failing if asked for a duplicate section.
5056
        * strip.c, ostrip.c:  Removed obsolete files.
5057
        * ar.c, not-ranlib.c, maybe-ranlib.c:
5058
        Change encoding of is_ranlib variable to be consistent
5059
        with is_strip for strip.copy (i.e -1 to means use argv[0]).
5060
 
5061
Thu Nov 14 20:11:02 1991  Per Bothner  (bothner at cygnus.com)
5062
 
5063
        * version.c (program_version): Update to version 1.92.
5064
 
5065
Tue Nov 12 16:17:53 1991  Per Bothner  (bothner at cygnus.com)
5066
 
5067
        * ar.c (get_pos_bfd):  Previous fix was missing a "break".
5068
 
5069
Thu Nov  7 08:55:56 1991  Steve Chamberlain  (sac at cygnus.com)
5070
 
5071
        * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
5072
        encodings. (Thaks to David Wood)
5073
 
5074
Sun Nov  3 14:50:23 1991  Per Bothner  (bothner at cygnus.com)
5075
 
5076
        * Makefile.in ($(DIST_NAME).tar.Z), TODO:  Various fixes.
5077
        * ar.c (get_pos_bfd): Fix to handling of before/after
5078
        positioning options.
5079
        * bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
5080
        since libiberty contains vfprintf etc if otherwise missing.
5081
        * m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
5082
        type operands, as used by branch instructions.
5083
        * nm.c:  Delegate printing of symbols to BFD,
5084
        by using bfd_print_symbol to do the formatting.
5085
 
5086
Mon Oct 28 11:20:47 1991  Steve Chamberlain  (steve at cygnus.com)
5087
 
5088
        * ar.c (write_archive.c): added unlink before rename since some
5089
        systems can't rename onto an existant file.
5090
 
5091
Mon Oct 21 09:47:23 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
5092
 
5093
        * nm.c: now doesn't crash if a symbol with no section and no
5094
        SEC_ABS appears.
5095
 
5096
Thu Oct 17 15:25:50 1991  Per Bothner  (bothner at cygnus.com)
5097
 
5098
        * Makefile.in, version.c:  Bump to version 1.91.
5099
 
5100
Wed Oct 16 11:45:36 1991  Per Bothner  (bothner at cygnus.com)
5101
 
5102
        * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
5103
        i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
5104
        * strip.c: Add or update Copyright notice.
5105
        * TODO:  Add note on 'nm -a'.
5106
        * version.c: Update version number to 1.90.
5107
        * Makefile.in: Fix making of documentation for dist.
5108
 
5109
Tue Oct 15 00:17:17 1991  Per Bothner  (bothner at cygnus.com)
5110
 
5111
        * README: New file.
5112
        * Makefile.in: New kludgy rules for making a tarfile.
5113
        * Makefile.in: Fix bindir path.
5114
 
5115
Mon Oct 14 17:34:29 1991  Roland H. Pesch  (pesch at cygnus.com)
5116
 
5117
        * Makefile.in: add targets binutils.mm, binutils.me
5118
 
5119
Fri Oct 11 22:44:21 1991  John Gilmore  (gnu at cygnus.com)
5120
 
5121
        * Makefile.in:  Avoid Sun Make VPATH bugs by adding dependencies.
5122
 
5123
Fri Oct 11 12:51:33 1991  Roland H. Pesch  (pesch at cygnus.com)
5124
 
5125
        * Makefile.in: add target "binutils.ms"
5126
 
5127
        * binutils.texinfo: minor restructuring for texi2roff comfort.
5128
 
5129
Fri Oct 11 04:12:28 1991  John Gilmore  (gnu at cygnus.com)
5130
 
5131
        Restructure configuration scheme for bfd, binutils, ld.
5132
 
5133
        * configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
5134
        Change some config names to match other dirs.
5135
        * *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
5136
        get defined first.
5137
        * Makefile.in:  Use -I. to get sysdep.h.
5138
 
5139
Wed Oct  9 22:42:56 1991  Per Bothner  (bothner at cygnus.com)
5140
 
5141
        * nm.c (print_symbols):  Handle NULL name field of symbol.
5142
        * Makefile.in: Removed spurious comment.
5143
 
5144
Tue Oct  8 16:55:03 1991  Roland H. Pesch  (pesch at cygnus.com)
5145
 
5146
        * binutils.texinfo: minor typos, phrasing, formatting fixes.
5147
 
5148
Tue Oct  8 15:13:20 1991  Per Bothner  (bothner at cygnus.com)
5149
 
5150
        * configure.in: Get host file from ../bfd/config, not config.
5151
        * config/*: Remove config directory and its files.
5152
 
5153
Tue Oct  8 13:58:59 1991  Roland H. Pesch  (pesch at cygnus.com)
5154
 
5155
        * Makefile.in: new targets binutils.dvi, binutils.info
5156
 
5157
        * binutils.texinfo: remove most remaining FIXME's, delete
5158
        references to __.SYMDEF by name
5159
 
5160
 
5161
Tue Oct  8 10:23:44 1991  Steve Chamberlain  (steve at cygnus.com)
5162
 
5163
        * objdump.c (print_address) Print addresses nicely.
5164
 
5165
Mon Oct  7 11:31:05 1991  Per Bothner  (bothner at cygnus.com)
5166
 
5167
        * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
5168
        Make two different binaries for ar and ranlib, instead of
5169
        distinguishing them at run time using argv[0].
5170
        (Old behavior is still available if you "make ar_with_ranlib",
5171
        but it is not the default.)
5172
        * ranlib.sh (new):  An alternative one-line
5173
        shell implementation of ranlib.
5174
 
5175
Fri Oct  4 21:49:44 1991  John Gilmore  (gnu at cygnus.com)
5176
 
5177
        * objdump.c:  Cope with renames of a few BFD types & enums.
5178
 
5179
Fri Oct  4 19:08:09 1991  Roland H. Pesch  (pesch at cygnus.com)
5180
 
5181
        * binutils.texinfo: add new file (rudimentary docn)
5182
 
5183
Mon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
5184
 
5185
        * config/hmake-news: Add new file (for Sony NEWSOS3).
5186
        * bucomm.c (fatal):  Conditionally compile fatal() depending on
5187
        MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
5188
        * objdump.c (dump_headers):  Trivial output format change.
5189
        * objdump.c (display_info): Loop over integers, not enums,
5190
        to appease old compilers.
5191
 
5192
Mon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
5193
 
5194
        *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit
5195
        object files.
5196
 
5197
Thu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
5198
     from bother
5199
        * objdump.c (print_address): Make disasembled output more
5200
        consistent with gdb and as: Add 0x when printing hex.
5201
        Don't print extra leading zeros.
5202
        Attempt to not print "filename.o".
5203
        * objdump.c: Add some enum-to-int casts to accommodate old compilers.
5204
 
5205
 
5206
Fri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
5207
 
5208
        * copy.c:  Change =& constructs to = &, since they confuse older
5209
        C compilers.
5210
 
5211
 
5212
Local Variables:
5213
mode: change-log
5214
left-margin: 8
5215
fill-column: 74
5216
version-control: never
5217
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.