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