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