25e815c644dcc8e36e3529eac2dcc2aed94960ca
[external/binutils.git] / binutils / ChangeLog
1 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2
3         * configure.in (BFD_VERSION): New.
4         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
5         * configure: Regenerate.
6         * Makefile.am: Run "make dep-am"
7         * Makefile.in: Regenerate.
8
9 2001-02-14  Nick Clifton  <nickc@redhat.com>
10
11         * MAINTAINERS: Add "Obvious Fix" rule.
12
13 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
14
15         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
16         literal concatenation.
17
18 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
19
20         * readelf.c (struct unw_aux_info): Remove const from the info member.
21         (process_unwind): Don't type-cast the third argument to the
22         GET_DATA_ALLOC macro.
23
24 2001-02-11  Nick Clifton  <nickc@redhat.com>
25
26         * readelf.c (dump_relocations): Free corrected allocated
27         array.
28         (process_unwind): Fix compile time warning.
29
30 2001-02-10  Nick Clifton  <nickc@redhat.com>
31
32         * binutils.texi: Document new --unwind option to readelf.
33
34 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
35
36         * readelf.c: Add linux target for S/390.
37
38 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
39
40         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
41         printf is a macro.
42
43 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
44
45         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
46         * aclocal.m4: Regenerate.
47         * configure: Regenerate.
48
49 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
50
51         * bucomm.c (bfd_target_vector): Change extern array to pointer.
52         * objdump.c (bfd_target_vector): Likewise.
53
54 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
55
56         * readelf.c (process_unwind): New function.
57         (slurp_ia64_unwind_table): Ditto.
58         (dump_ia64_unwind): Ditto.
59         (find_symbol_for_address): Ditto.
60         (slurp_rela_relocs): New function (split off from dump_relocations()).
61         (slurp_rel_relocs): Ditto.
62         (parse_args): Handle '-u' option.
63
64         * unwind-ia64.c: New file.
65         * unwind-ia64.h: New file.
66         * Makefile.am: Include unwind-ia64.c in readelf build.
67         * Makefile.in: Regenerate.
68         * po/binutils.pot: Regenerate.
69
70 2001-02-04  Philip Blundell  <philb@gnu.org>
71
72         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
73         * configure: Regenerate.
74
75 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
76
77         * ieee.c (ieee_add_bb11): Don't check for backslashes
78         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
79
80 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
81
82         * ieee.c: Update copyright.
83         (ieee_start_compilation_unit): Don't check for backslashes
84         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
85
86         * stabs.c: Update copyright. Include "filenames.h".
87         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
88
89 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
90
91         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
92         sections are present before using them.  Remove code duplication.
93         (process_symbol_table): Check if VERDEF or VERNEED sections are
94         present before using them.
95
96 2001-01-17  Nick Clifton  <nickc@redhat.com>
97
98         * objcopy.c (copy_object): Fail if attempting to convert the
99         endianness of the input object file.
100
101         * binutils.texi: Explain that objcopy cannot convert endianness.
102
103 2001-01-16  Nick Clifton  <nickc@redhat.com>
104
105         * readelf.c (string_table_length): New variable.
106         (SECTION_NAME): Catch out of range indices and missing section
107         pointers.
108         (process_section_headers): Delete useless local variable
109         string_table_offset.  Set the value of string_table_length
110         after loading the string table.
111         (process_mips_specific): Use SECTION_NAME macro.
112         (process_file): Set string_table_length to 0 when it is freed.
113
114 2001-01-12  Nick Clifton  <nickc@redhat.com>
115
116         * version.c (print_version): Update copyright date.
117
118 2001-01-11  Peter Targett  <peter.targett@arccores.com>
119
120         * readelf.c (dump_relocations): Include selection with EM_ARC.
121         (get_machine_name) Update name to "ARC".
122
123 2001-01-09  Nick Clifton  <nickc@redhat.com>
124
125         * Makefile.am: Add rule to build objdump.o from objdump.c and
126         using OBJDUMP_DEFS.
127         * Makefile.in: Regenerate.
128
129         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
130         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
131         -DDISASSEMBLER_NEEDS_RELOCS.
132         * configure: Regenerate.
133
134         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
135         is defined read in the relocs even if dump_reloc_info is
136         false.
137
138 2001-01-07  Philip Blundell  <philb@gnu.org>
139
140         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
141         `bug-binutils'.
142         * README: Likewise.
143
144 2000-12-19  Nick Clifton  <nickc@redhat.com>
145
146         * dlltool.c: Add missing support for arm-epoc-pe.
147         * configure.in: Add missing support for arm-epoc-pe.
148         * configure: Regenerate.
149
150 2000-12-15  Nick Clifton  <nickc@redhat.com>
151
152         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
153         Mode parts of the x86 port.
154
155 2000-12-04  Andreas Jaeger  <aj@suse.de>
156
157         * readelf.c (guess_is_rela): Add EM_X86_64.
158         (dump_relocations): Add EM_X86_64.
159         (get_machine_name): Add EM_X86_64.
160         Include "elf/x86-64.h".
161
162 2000-12-12  Nick Clifton  <nickc@redhat.com>
163
164         * readelf.c: Fix formatting.
165
166 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
167
168         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
169
170 2000-12-07  Andrew Haley  <aph@redhat.com>
171
172         * readelf.c (display_debug_frames): Only display columns that are
173         referenced by the frame debug info.
174
175 2000-12-05  Nick Clifton  <nickc@redhat.com>
176
177         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
178
179 2000-12-04  Jason Merrill  <jason@redhat.com>
180
181         * readelf.c (process_section_headers): Handle linkonce.wi sections.
182         (display_debug_section): Likewise.
183         (display_debug_info): Display CU header before bailing.
184
185 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
186
187         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
188         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
189         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
190
191         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
192         and E_MIPS_ARCH_64.
193
194         * readelf.c (get_machine_flags): Add case for
195         E_MIPS_MACH_SB1.
196
197 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
198
199         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
200
201 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
202
203         * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
204         Change sourceware.cygnus.com to sources.redhat.com.
205         Fix typo for "amongst".
206
207 2000-11-28  Nick Clifton  <nickc@redhat.com>
208
209         * strip.1 (COPYING): Mention that the GNU Free Documentation
210         License is present in the sources, but not the output, and
211         also available from the GNU website.
212         (GNU Free Documentation License): Comment out this section.
213         * strings.1: Ditto.
214         * size.1: Ditto.
215         * ranlib.1: Ditto.
216         * objdump.1: Ditto.
217         * objcopy.1: Ditto.
218         * nm.1: Ditto.
219         * nlmconv.1: Ditto.
220         * ar.1: Ditto.
221         * addr2line.1: Ditto.
222
223 2000-11-27  DJ Delorie  <dj@redhat.com>
224
225         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
226         (parse_args): Support -wf option.
227         (process_section_headers): Ditto.
228         (debug_displays): Ditto.
229         (display_debug_frames): New, dump *_frame sections.
230         (frame_need_space): Support for above.
231         (frame_display_row): Ditto.
232         * binutils.texi: Document it.
233
234 2000-11-24  Nick Clifton  <nickc@redhat.com>
235
236         * NEWS: Announce support for v5t, v5te and XScale.
237
238 2000-11-22  Nick Clifton  <nickc@redhat.com>
239
240         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
241         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
242         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
243         (get_elf_section_flags: Add SHF_GROUP.
244         (process_section_headers): Adjust output for 32-bit binaries
245         to look nice on an 80 column terminal.
246
247 2000-11-20  H.J. Lu  <hjl@gnu.org>
248
249         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
250         ELFOSABI_AIX.
251
252 2000-11-17  Richard Henderson  <rth@redhat.com>
253
254         * readelf.c (display_debug_lines): Adjust last change to
255         use sizeof (external->li_length).
256
257 2000-11-17  Richard Henderson  <rth@redhat.com>
258
259         * readelf.c (display_debug_lines): Fix section length check
260         and end_of_sequence computation.
261
262 2000-11-06  Nick Clifton  <nickc@redhat.com>
263
264         * binutils.texi: Add GNU Free Documentation License.
265         * objcopy.1: Add GNU Free Documentation License.
266         * objdump.1: Add GNU Free Documentation License.
267         * addr2line.1: Add GNU Free Documentation License.
268         * ar.1: Add GNU Free Documentation License.
269         * nlmconv.1: Add GNU Free Documentation License.
270         * nm.1: Add GNU Free Documentation License.
271         * ranlib.1: Add GNU Free Documentation License.
272         * size.1: Add GNU Free Documentation License.
273         * strings.1: Add GNU Free Documentation License.
274         * strip.1: Add GNU Free Documentation License.
275
276 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
277
278         * objcopy.c (--srec-len=nn): New parameter to set the
279         maximum length of generated Srecords.
280         (--srec-forceS3): New parameter that restricts the generation of
281         Srecords to type S3 only.
282         * binutils.texi: Document new command line switches.
283         * objcopy.1: Docuemnt the new command line switches.
284         * NEWS: Announce the existence of the new command line switches.
285
286 2000-10-31  Nick Clifton  <nickc@redhat.com>
287
288         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
289         code.  Add Eric Chrisopher as maintainer of MN10300 port.
290
291 2000-10-12  Roger Sayle  <roger@metaphorics.com>
292
293         * Make comma after string after icon/control optional.
294
295 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
296
297         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
298
299         * NEWS: Mention support for MIPS32.
300
301 2000-09-08  Nick Clifton  <nickc@redhat.com>
302
303         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
304
305 2000-09-07  H.J. Lu  <hjl@gnu.org>
306
307         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
308         * configure: Rebuild.
309
310 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
311
312         * configure: Rebuilt with new libtool.m4.
313
314 2000-09-05  Nick Clifton  <nickc@redhat.com>
315
316         * aclocal.m4: Regenerate.
317         * config.in: Regenerate.
318         * configure: Regenerate.
319
320 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
321
322         * strip.1: Fix stray '\' in -o formatting.
323
324 2000-09-02  Nick Clifton  <nickc@redhat.com>
325
326         * configure.in: Increase version number to 2.10.91.
327         * configure: Regenerate.
328         * aclocal.m4: Regenerate.
329         * config.in: Regenerate.
330         * po/binutils.pot: Regenerate.
331
332 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
333
334         * acinclude.m4: Include libtool and gettext macros from the
335         top level.
336         * aclocal.m4, configure: Rebuilt.
337
338 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
339
340         * resrc.c (close_input_stream): Delete extraneous logic
341
342 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
343
344         * NEWS: Mention support for CRIS.
345
346 2000-08-21  Nick Clifton  <nickc@redhat.com>
347
348         * addr2line.c: Changed email address for Ulrich Lauther.
349
350 2000-08-17  Christopher C. Chimelis <chris@debian.org>
351
352         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
353
354 2000-08-17  Nick Clifton  <nickc@redhat.com>
355
356         * readelf.c (display_debug_pubnames): Only issue warning
357         message once.  Terminate message with a new line.
358         (display_debug_aranges): Only display version 2 debug info.
359
360 2000-08-14  Todd Vierling <tv@wasabisystems.com>
361
362         * objcopy.c (strip_main): Silently accept -d as an alias for -g
363         for compatability with old BSD systems.
364
365 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
366
367         * NEWS: Mention i860 support.
368
369 2000-08-11  Carlo Wood <carlo@alinoe.com>
370
371         * addr2line.c (main): Add const to char *.
372
373 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
374
375         * ar.c (main): Don't crash if called with no arguments
376         or only '-X32_64' as an argument.
377
378 2000-08-08  DJ Delorie  <dj@redhat.com>
379
380         * resrc.c: use "gcc -xc" instead of -xc-header
381
382 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
383
384         * readelf.c (elf/i860.h): Include.
385         (dump_relocations): Add recognition of i860 architecture.
386         (guess_is_rela): Add recognition of i860 architecture.
387
388 2000-08-03  Nick Clifton  <nickc@cygnus.com>
389
390         * MAINTAINERS: Add information about CGEN maintainers.
391
392 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
393
394         * nm.c (main): Ignore '-X32_64' as an option.
395         * ar.c (main): Likewise.
396         * binutils.texi (nm): Document new option.
397         (ar): Likewise.
398
399 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
400
401         * rdcoff.c (external_coff_symbol_p): K&R-ise.
402
403 2000-07-20  H.J. Lu  <hjl@gnu.org>
404
405         * binutils/binutils.texi: Put back "@end table" deleted by
406         accident.
407
408 2000-07-05  Kenneth Block  <krblock@computer.org>
409
410         * binutils/nm.c: Add optional style to demangle switch.
411         * binutils/objdump.c: Add optional style to demangle switch.
412         * binutils/addr2line.c: Add optional style to demangle switch.
413         * binutils/binutils.texi: Document optional style to demangle
414         switch.
415
416 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
417
418         * MAINTAINERS: Add self as CRIS port maintainer.
419         * readelf.c: Include elf/cris.h.
420         (guess_is_rela): Handle EM_CRIS.
421         (dump_relocations): Ditto.
422         (get_machine_name): Ditto.
423         * Makefile.am: Rebuild dependencies.
424         * Makefile.in: Regenerate.
425         * po/binutils.pot: Regenerate.
426
427 2000-07-19  H.J. Lu  <hjl@gnu.org>
428
429         * readelf.c (get_dynamic_type): Change "AUXILARY" to
430         "AUXILIARY".
431         (process_dynamic_segment): Print out strings for DT_CONFIG,
432         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
433
434 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
435
436         * nm.c (usage): Change output of `nm --help' to include a
437         description of the purpose of the program and a detailed
438         description of the accepted options.
439
440 2000-07-19  H.J. Lu  <hjl@gnu.org>
441
442         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
443         to DF_1_NODEFLIB.
444
445 2000-07-19  H.J. Lu  <hjl@gnu.org>
446
447         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
448
449 2000-07-19  H.J. Lu  <hjl@gnu.org>
450
451         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
452         DT_FEATURE.
453         (process_dynamic_segment): Likewise.
454
455         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
456         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
457         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
458         DF_1_NODUMP and DF_1_CONLFAT.
459
460 2000-07-18  Nick Clifton  <nickc@cygnus.com>
461
462         * binutils.texi (readelf): Fix spelling typo.
463
464 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
465
466         * objdump.c (usage): Make output of `objdump --help' more
467         consistent with the rest of the GNU world.  Add a line describing
468         the purpose of the program.
469
470 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
471
472         * stabs.c (parse_stab_range_type): Cast to proper type to fix
473         warning.
474
475 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
476
477         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
478         to fix warnings.
479         (process_symbol_table): Ditto.
480         (procesS_extended_line_op): Ditto.
481         (display_debug_lines): Ditto.
482         (display_debug_pubnames): Ditto.
483         (read_and_display_attr): Ditto.
484
485 2000-07-09  Nick Clifton  <nickc@cygnus.com>
486
487         * MAINTAINERS: Add several more port specific maintainers.
488
489 2000-07-05  Nick Clifton  <nickc@cygnus.com>
490
491         * MAINTAINERS: Add blanket write privs for Michael Meissner.
492
493 2000-06-05  DJ Delorie  <dj@redhat.com>
494
495         * MAINTAINERS: New.
496
497 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
498
499         * dllwrap.c: Changed mistaken dyn_string_append() calls
500         to dyn_string_append_cstr().
501
502 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
503
504         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
505         struct debug_type stores size in bytes.
506
507 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
508
509         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
510         (CLEANFILES): Add DEPA.
511         * Makefile.in: Regenerate.
512
513 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
514
515         * ar.c: Revert incorrect 2000-06-25 patch.
516         * bucomm.c: Likewise.
517
518 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
519
520         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
521         (external_coff_symbol_p): New function.
522         (parse_coff): Use it.
523
524 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
525
526         * ar.c (normalize): Advance past both characters in a DOS based
527         <letter>: filepath prefix.
528         (main): Likewise.
529         * bucomm.c (make_tempname): Likewise.
530
531 2000-06-24  Nick Clifton  <nickc@cygnus.com>
532
533         * objdump.c (usage): Fix description of --stabs switch.
534
535 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
536
537         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
538         find one.
539         * Makefile.in: Regenerate.
540
541 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
542
543         * ar.c (normalize): Correct pointer comparison when checking for
544         backslashes.
545         (main): Likewise.
546         * bucomm.c (make_tempname): Likewise.
547
548         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
549         and search for backslashes in the original pathname.
550         (ieee_add_bb11): Likewise.
551
552 2000-06-18  Nick Clifton  <nickc@redhat.com>
553
554         * ar.c (print_contents): Improve verbose message.
555
556 2000-06-15  H.J. Lu  <hjl@gnu.org>
557
558         * dyn-string.c: Removed. Not needed with dyn-string.c in
559         libiberty.
560         * dyn-string.h: Likewise.
561
562         * Makefile.am: Remove references to dyn-string.c and
563         dyn-string.h. Rebuild dependency.
564         * Makefile.in: Rebuild.
565
566 2000-06-15  H.J. Lu  <hjl@gnu.org>
567
568         * binutils.texi: Put a warning on copying relocatable object
569         files between two different formats.
570
571 2000-06-13  DJ Delorie  <dj@cygnus.com>
572
573         * rcparse.y (control): ICON controls take an id as the first
574         parameter, not an optional string.  Also, call new convenience
575         function that takes res_id's.
576         * resrc.c (define_control): missing text means zero-length string,
577         not zero ID.
578         (define_icon_control): New.
579         * windres.h: declare define_icon_control.
580
581 2000-06-13  H.J. Lu  <hjl@gnu.org>
582
583         * configure: Regenerate.
584
585 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
586
587         * configure.in (VERSION): Update to show this is the CVS mainline.
588
589 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
590
591         * strings.c (isgraphic): Interpret <TAB> as a printable character,
592         analogous to <SPACE>.
593
594 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
595
596         * objdump.c (display_target_list): Use bfd_close_all_done, not
597         bfd_close to fix crash caused by 2000-05-24 change.
598
599 2000-05-25  DJ Delorie  <dj@cygnus.com>
600
601         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
602
603 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
604
605         * Makefile.am: Update dependencies with "make dep-am"
606         * Makefile.in: Regenerate.
607
608 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
609
610         * ar.c: Include filenames.h.
611         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
612         and drive letters in file names.
613         (main): Support backslashes and drive letters in argv[0].  Drop
614         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
615         FILENAME_CMP instead of strcmp to compare file names.
616         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
617         DJGPP v2.
618         (do_quick_append) [__GO32__]: Ditto.
619         (get_pos_bfd, delete_members, move_members, replace_members):
620         Compare file names with FILENAME_CMP.
621
622         * bucomm.c: Include filenames.h.
623         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
624         forward/backward slashes and drive letters in file names.
625
626         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
627         mixed forward/backward slashes and drive letters in file names.
628
629         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
630         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
631         mode.
632
633         * objcopy.c: Include filenames.h.
634         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
635         before comparing to "strip".
636         Use FILENAME_CMP to compare file names.
637
638         * arsup.c: Include filenames.h.
639         (map_over_list, ar_delete, ar_replace, ar_extract): Use
640         FILENAME_CMP to compare file names.
641         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
642         the temporary file name.
643
644         * configure.in: Check for setmode.
645         * configure: Regenerate.
646
647 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
648
649         * objdump.c (display_target_list): Close the bfd.
650         (display_info_table): Likewise.
651
652 2000-05-14  H.J. Lu  (hjl@gnu.org)
653
654         * objcopy.c (filter_symbols): Don't strip global symbols in
655         relocatable object files.
656
657 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
658
659         * size.c (usage): Associate short options with corresponding long
660         option to give a clue as to their function.
661
662 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
663
664         * size.c (main): Accept and ignore `-f' option.
665
666 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
667
668         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
669         bindtextdomain): Replace defines with those from intl/libgettext.h
670         to quieten gcc warnings.
671
672 2000-05-12  H.J. Lu  <hjl@gnu.org>
673
674         * nlmconv.c (temp_filename): Removed.
675
676         * nlmconv.c (link_inputs): Use make_temp_file () instead of
677         choose_temp_base ().
678         * objdump.c (display_target_list): Likewise.
679         (display_info_table): Likewise.
680
681 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
682
683         * objcopy.c (setup_section): Add const and gettext calls for err.
684
685 2000-05-02  H.J. Lu  <hjl@gnu.org>
686
687         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
688         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
689         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
690         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
691         and ELFOSABI_OPENBSD.
692
693 2000-05-02  Kazu Hirata  <kazu@hxi.com>
694
695         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
696         * srconv.c: Likewise.
697         * sysdump.c: Likewise.
698
699 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
700
701         * readelf.c (guess_is_rela): AVR uses RELA relocations.
702         (get_machine_name): machine name for EM_AVR added.
703
704 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
705                           David Mosberger  <davidm@hpl.hp.com>
706
707         * Makefile.am (readelf.o): Add elf/ia64.h.
708         * Makefile.in: Rebuild.
709         * readelf.c: Include elf/ia64.h.
710         (guess_is_rela, dump_relocations): Handle EM_IA_64.
711
712 2000-04-17  Timothy Wall  <twall@cygnus.com>
713
714         * objdump.c (disassemble_data): Set octets per byte *after*
715         resolving arch/mach for binary files.
716
717 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
718
719         * arlex.l: Add directives to increase lex buffer size.
720
721         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
722         already included by bucomm.h.
723
724 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
725
726         * readelf (dynamic_segment_mips_val): Call `sprintf', not
727         `strftime' since strftime is not available on all systems.
728         (process_mips_specific): Ditto.
729
730 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
731
732         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
733         --enable-build-warnings option.
734         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
735         * Makefile.in, configure: Re-generate.
736
737 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
738
739         * addr2line.c: Update copyright.
740         * objcopy.1: Likewise, and title.
741         * strings.1: Likewise.
742
743         * version.c (print_version): Add 2000.
744
745         * rddbg.c (read_section_stabs_debugging_info): Don't use
746         bfd_size_type for strx to avoid printf problems if BFD64.
747
748         * bucomm.c: (report): Remove `static'.
749         Move inclusion of stdarg.h/vararg.h from here.
750         * bucomm.h: To here.
751         (CONST): Change all occurences to const.
752         (report): Declare it.
753         (bfd_fatal): Add ATTRIBUTE_NORETURN.
754         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
755         (non_fatal): Add ATTRIBUTE_PRINTF_1.
756
757         * ar.c (main): Use fatal or non_fatal instead of fprintf.
758         Correct a typo in an error message.
759         (do_quick_append): Use non_fatal instead of fprintf.
760         (move_members): Use fatal instead of fprintf, exit.
761         * coffdump.c (main): Same here.
762
763         * dlltool.c (display): Delete.
764         (warn): Delete.
765         (inform): Use `report' instead of `display'.
766         (rvaafter): Remove trailing \n from fatal error msg.
767         (rvabefore): Ditto.
768         (asm_prefix): Ditto.
769         (yyerror): Replace `warn' with `non_fatal', and remove \n.
770         (def_name): Likewise.
771         (run): Likewise.
772         (scan_all_symbols): Likewise.
773         (gen_lib_file): Likewise.
774         (def_library): Likewise.  Remove extra program_name too.
775         (run): Remove \n from inform strings.
776         (scan_drectve_symbols): Likewise.
777         (add_excludes): Likewise.
778         (scan_open_obj_file): Likewise.
779         (gen_exp_file): Likewise.
780         (gen_lib_file): Likewise.
781         (process_duplicates): Likewise.
782
783         * Makefile.am (dllwrap_SOURCES): Add version.c.
784         * dllwrap.c (program_version): Delete.
785         (print_version): Delete.
786         (display): Always print trailing \n.
787         (warn): New.
788         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
789         (run): Here too.
790         (main): And here.
791         (usage): gettext'ify.
792         (long_options): Add missing initialisers.
793
794         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
795         (select_output_format): Likewise.
796         (powerpc_mangle_relocs): Likewise.
797         (link_inputs): Likewise.
798
799         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
800         (set_output_format): Likewise.
801         (main): Use non_fatal instead of fprintf.
802         (display_rel_file): Likewise.
803
804         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
805         (slurp_dynamic_symtab): Same here.
806         (disassemble_data): And here.
807         (read_section_stabs): And here.
808         (read_section_stabs): And here.
809         (dump_bfd): And here.
810         (main): And here.
811         (objdump_sprintf): Use fatal instead of fprintf, exit.
812         (disassemble_data): Same here.
813
814         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
815         (parse_coff_struct_type): Same here.
816         (parse_coff_enum_type): And here.
817         (parse_coff): And here.
818         * rddbg.c (read_debugging_info): And here.
819         * size.c (main): And here.
820         * windres.c (format_from_name): And here.
821         * wrstabs.c (stab_write_symbol): Here too.
822         (write_stabs_in_sections_debugging_info): And here.
823         (stab_int_type): And here.
824         (stab_struct_field): And here.
825         (stab_typdef): And here.
826
827         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
828         * srconv.c (main): Same here.
829         * strings.c (main): And here.
830         (integer_arg): And here.
831         * sysdump.c (main): And here.
832
833 2000-04-06  Timothy Wall  <twall@cygnus.com>
834
835         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
836
837 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
838
839         * readelf.c (decode_location_expression): Loop through multiple
840         operations.
841         (read_and_display_attr): Pass in length.
842
843         * readelf.c (read_and_display_attr): Add CU offset to references.
844         (display_debug_info): Pass it in.
845
846 2000-04-06  Nick Clifton  <nickc@cygnus.com>
847
848         * readelf.c (decode_ARM_machine_flags): New function.
849         (get_machine_flags): Call decode_ARM_machine_flags for ARM
850         targets.
851
852         (get_machine_name): Catch EM_AVR
853
854 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
855
856         * binutils.texi: Remove optional `=' from long options that have
857         an `=' in the argument.
858         * objcopy.1: Here too.  Remove extra space on discard-all.
859
860         * binutils.texi (objcopy): Mention --redefine-sym.
861         * objcopy.1: Here too.
862         * NEWS: And here.
863
864         * objcopy.c (parse_flags): Split off flag names from error message
865         gettext as they are not translated.
866         (copy_main): Similarly split off option name for --add-section,
867         --set-section-flags, --change-section-vma, --change-section-lma
868         error messages.
869         Some white space changes.
870
871         from Matthew Benjamin <matt@linuxbox.nu>
872         * objcopy.c (struct redefine_node): New.
873         (redefine_sym_list): New.
874         (redefine_list_append): New.
875         (lookup_sym_redefinition): New.
876         (OPTION_REDEFINE_SYM): New.
877         (copy_options): Add --redefine-sym option.
878         (copy_usage): Mention it.
879         (filter_symbols): Rename symbols on redefine_sym_list.
880         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
881         (copy_main): Handle OPTION_REDEFINE_SYM.
882
883 2000-04-04  H.J. Lu  <hjl@gnu.org>
884
885         * readelf.c (process_symbol_table): Correctly read in symbol
886         versioning information.
887
888 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
889
890         * po/binutils.pot: Regenerate.
891
892         * addr2line.c (usage): Restore translated part of bug string.
893         * ar.c (usage): Likewise.
894         * nlmconv.c (show_usage): Likewise.
895         * nm.c (usage): Likewise.
896         * objcopy.c (copy_usage): Likewise.
897         (strip_usage): Likewise.
898         * objdump.c (usage): Likewise.
899         * readelf.c (usage): Likewise.
900         * size.c (usage): Likewise.
901         * strings.c (usage): Likewise.
902         * windres.c (usage): Likewise.
903
904         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
905         (DEP): Quote when passing vars to sub-make.  Add warning
906         message to end.
907         (DEP1): Rewrite for "gcc -MM".
908         (CLEANFILES): Add DEP2.
909         Update dependencies.
910         * Makefile.in: Regenerate.
911
912 2000-04-04  H.J. Lu  <hjl@gnu.org>
913
914         * Makefile.am (GENERATED_HFILES): Add rcparse.h
915         (arparse.h): Depend on arparse.c
916         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
917
918 2000-04-03  H.J. Lu  (hjl@gnu.org)
919
920         * size.c (usage): Use REPORT_BUGS_TO.
921
922 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
923
924         * bucomm.h: #include "bin-bugs.h"
925         * addr2line.c (usage): Use REPORT_BUGS_TO.
926         * ar.c (usage): Likewise.
927         * nlmconv.c (show_usage): Likewise.
928         * nm.c (usage): Likewise.
929         (OPTION_TARGET): Define.
930         (long_options): Use OPTION_TARGET rather than 200.
931         (main): Likewise.
932
933         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
934         (strip_usage): Likewise.
935         * objdump.c (usage): Likewise.
936         * readelf.c (usage): Likewise.
937         * strings.c (usage): Likewise.
938         * windres.c (usage): Likewise.
939
940 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
941
942         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
943
944 2000-03-27  Nick Clifton  <nickc@cygnus.com>
945
946         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
947         string offsets in corrupt stabs entries.
948
949 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
950
951         * readelf.c: Include elf/avr.h
952         (dump_relocations): Add EM_AVR case.
953
954 2000-03-09  Tim Waugh  <twaugh@redhat.com>
955
956         * strings.1: Correct '-bytes' to '--bytes'.
957
958 2000-03-08  H.J. Lu  <hjl@gnu.org>
959
960         * Makefile.am (install-exec-local): Depend on
961         install-binPROGRAMS for parallel make.
962         * Makefile.in: Regenerated.
963
964 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
965
966         From Brad Lucier <lucier@math.purdue.edu>:
967         * readelf.c (process_dynamic_segment): Add cast to make sure
968         argument to %* is int.
969
970 2000-02-25  H.J. Lu  <hjl@gnu.org>
971
972         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
973
974 2000-02-24  Nick Clifton  <nickc@cygnus.com>
975
976         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
977         * configure: Regenerate.
978
979         * dlltoolc.: Add support for sh-pe and mips-pe targets.
980         * rescoff.c: Add support for sh-pe and mips-pe targets.
981
982 2000-02-23  H.J. Lu  <hjl@gnu.org>
983
984         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
985
986 2000-02-22  Nick Clifton  <nickc@cygnus.com>
987
988         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
989
990 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
991
992         From Brad Lucier <lucier@math.purdue.edu>:
993         * readelf.c (process_version_sections): Add casts to make sure
994         argument to %* is an int.
995         (process_mips_specific): Add casts to make printf arguments match
996         format.
997
998 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
999
1000         * objdump.c (dump_section_header): Change `opb' to unsigned.
1001         (find_symbol_for_address): Same here.
1002         (disassemble_data): And here.  Change `addr_offset',
1003         `stop_offset', `nextstop_offset' to unsigned long.
1004         (dump_data): Change opb to unsigned.
1005
1006 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1007
1008         * resrc.c: Remove unmatched #if for cygwin.
1009
1010 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1011
1012         * binutils.texi: Document the change of flavor name from atpcs-special
1013         to special-atpcs to prevent name conflict in gdb.
1014
1015 2000-02-08  Timothy Wall  <twall@redhat.com>
1016
1017         * objdump.c (show_line): Fix bug preventing printing of the very
1018         first line (line zero) of a file when interlisting source and
1019         assembly.  Added option to print entire context from start of file
1020         when the first line from that file is encountered.
1021
1022 2000-02-03  Timothy Wall <twall@redhat.com>
1023
1024         * binutils/objdump.c (dump_section_header, find_symbol_for_address,
1025         show_line, disassemble_bytes, disassemble_data, dump_data):
1026         distinguish between octets and bytes.
1027
1028 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1029
1030         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1031         check to unresolved symbols.
1032         (print_symbol_info_sysv):  Ditto.
1033         (print_symbol_info_posix):  Ditto.
1034
1035         * binutils.texi: Document new 'V' symclass flag for nm.
1036
1037 2000-01-27  Nick Clifton  <nickc@redhat.com>
1038
1039         * binutils.texi (objdump): Document new ARM specific
1040         disassembler options.
1041
1042         * objdump.c (usage): Call disassembler_usage().
1043
1044 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1045
1046         * readelf.c (get_dynamic_flags): Return buff.
1047         (process_dynamic_segment): Don't pass error strings to printf
1048         as format arg.
1049         (read_and_display_attr): Use lx and ld to print longs.
1050         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1051         before printing.
1052         Update copyright.
1053
1054 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1055
1056         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1057
1058 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1059
1060         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1061         false.
1062         (debug_tag_type): Here too.
1063         * ieee.c (ieee_builtin_type): And here.
1064         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1065
1066 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1067
1068         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1069         System/370".
1070
1071 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1072
1073         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1074
1075 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1076
1077         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1078
1079 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1080
1081         * windres.c (long_options): Add --use-temp-file and
1082         --no-use-temp-file options.
1083         (usage): Document.
1084         (main): Handle.
1085
1086         * windres.h: Update read_rc_file prototype.
1087
1088         * resrc.c (cpp_temp_file): New static variable.
1089         (istream_type): New static variable.
1090         (close_pipe): Delete function.
1091         (run_cmd): New static function.
1092         (open_input_stream): New static function.
1093         (close_input_stream): New static function.
1094         (look_for_default): Handle DOS directory separator. Use
1095         open_input_stream instead of popen.
1096         (read_rc_file): Likewise.
1097
1098         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1099         options.
1100
1101 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1102
1103         * dlltool.c (create_compat_implib): New variable.
1104         (gen_exp_file): Use.
1105         (make_one_lib_file): Use.
1106         (long_options): Add --compat-implib option.
1107         (usage): Handle.
1108         (main): Handle.
1109
1110         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1111         (main): Use. Don't look for "32" in cygwin and mingw target names.
1112
1113 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1114
1115         * binutils.texi: Document new, ARM specific disassembler
1116         command line switch "-M force-thumb".
1117
1118 For older changes see ChangeLog-9899
1119 \f
1120 Local Variables:
1121 mode: change-log
1122 left-margin: 8
1123 fill-column: 74
1124 version-control: never
1125 End: