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