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