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