OSDN Git Service

b659091531553bec508405f3f292ef2132167547
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
1 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
2
3         * ar.c (print_contents): Cast args of bfd_seek to the right types.
4         Replace bfd_read call with call to bfd_bread.
5         (extract_file): Likewise.
6
7         * objdump.c (dump_section_header): Cast section->filepos to
8         unsigned long to suit printf format string.
9         * readelf.c (process_section_headers): Similarly for sh_offset.
10         (process_unwind): Likewise.
11
12 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
13
14         * strings.c (encoding, encoding_bytes): New variables.
15         (long_options): Add --encoding.
16         (main): Accept -e and --encoding.
17         (get_char): New function.  Read a, possibly wide, character from
18         the input stream.
19         (print_strings): Use get_char().
20         (usage): Document new command line option.
21         * doc/binutils.texi: Document new command line option.
22         * NEWS: Announce new command line option.
23
24 Wed Sep 12 20:07:16 2001  Alexandre Oliva  <aoliva@redhat.com>
25
26         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
27         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
28         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
29         Removed EM_CYGNUS_ARC.
30
31 Tue Sep  4 20:26:08 2001  Jeffrey A Law  (law@cygnus.com)
32
33         * readelf.c: Include elf/h8 for H8 series definitions.
34         (guess_is_rela): H8 series if RELA.
35         (dump_relocations): Handle H8 series relocations.
36
37 2001-08-31  Eric Christopher  <echristo@redhat.com>
38
39         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
40
41 2001-08-29  Peter Targett  <peter.targett@arccores.com>
42
43         * MAINTAINERS: Include ARC Maintainer.
44
45 2001-08-29  Ben Elliston  <bje@redhat.com>
46
47         * stabs.c (stab_demangle_template): Initialise s4.
48
49 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
50
51         * readelf.c (dump_relocations): Recognise EM_PPC64.
52
53 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
54
55         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
56
57 2001-08-25  H.J. Lu  <hjl@gnu.org>
58
59         * nm.c (print_width): New.
60         (display_rel_file): Set `print_width' according to
61         bfd_sprintf_vma.
62         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
63
64 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
65
66         * objcopy.c (use_alt_mach_code): New variable.
67         (OPTION_ALT_MACH_CODE): Define.
68         (copy_options): Added --alt-machine-code.
69         (copy_main): Handle it.
70         (copy_object): Switch to alternate machine code if requested.
71         * doc/binutils.texi: Document new option.
72         * NEWS: Likewise.
73
74 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
75
76         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
77
78 2001-08-21  H.J. Lu  <hjl@gnu.org>
79
80         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
81         (display_debug_info): Cast for 64bit hosts.
82         (display_debug_frames): Likewise.
83         (process_mips_specific): Likewise.
84
85 2001-08-21  Andreas Jaeger  <aj@suse.de>
86
87         * coffgrok.h: Add missing parameter for prototype of coff_grok.
88
89         * sysdump.c: Add missing prototypes.
90         * srconv.c: Likewise.
91         * unwind-ia64.c: Likewise.
92         * coffdump.c: Likewise.
93
94         * sysinfo.y: Print prototypes, include <ansidecl.h>.
95
96         * coffgrok.c: Add missing prototypes, include libiberty.h instead
97         of declaring xcalloc.
98
99 2001-08-10  H.J. Lu  <hjl@gnu.org>
100
101         * nm.c (print_value): Add one arg, bfd *.
102         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
103         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
104         (print_symbol_info_sysv): Likewise.
105         (print_symbol_info_posix): Likewise.
106
107         * objdump.c (dump_section_header): Replace printf_vma with
108         bfd_printf_vma.
109         (print_section_stabs): Likewise.
110         (dump_bfd_header): Likewise.
111         (objdump_print_value): Replace sprintf_vma with
112         bfd_sprintf_vma.
113         (disassemble_bytes): Likewise.
114         (dump_reloc_set): Likewise.
115
116 2001-08-10  Andreas Jaeger  <aj@suse.de>
117
118         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
119         to build warnings.
120         * configure: Regenerate.
121
122 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
123
124         * readelf.c: Add missing prototypes.
125         * objdump.c: Likewise.  Format existing prototypes.
126
127 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
128
129         * readelf.c (display_debug_info): Add to abbrev_offset the addend
130         of any RELA relocation for the abbrev_offset memory location that
131         refers to the .debug_abbrev section symbol.
132
133 2001-08-07  H.J. Lu  <hjl@gnu.org>
134
135         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
136         (main): Return process_file ().
137
138 2001-08-05  Philip Blundell  <philb@gnu.org>
139
140         * doc/binutils.texi: Use "Thumb" not "THUMB".
141
142 2001-08-03  John Healy  <jhealy@redhat.com>
143
144         Patch suggested by Frank Eigler <fche@redhat.com>.
145         * objdump.c (disassemble_data): Fill in section member of the
146         disasm_info structure.
147
148 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
149
150         * configure.in: Added --with-windres option.
151         * configure: Regenerated.
152
153 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
154
155         * doc/binutils.texi: Use @command{name} for commands;
156         use @option{-opt} for options; use @table @env for list of options;
157         remove spaces arround [ | ] in synopsis.
158
159         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
160         center title.
161
162 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
163
164         * objcopy.c: Fix formatting.
165         (section_rename): New structure.
166         (OPTION_RENAME_SECTION): New switch.
167         (copy_usage): Document new switch.
168         (add_section_rename): New function: Add a node to the section
169         rename list.
170         (find_section_rename): New function: Find the new name and
171         flags for a section.
172         (setup_section): Call find_section_name to determine the name
173         of the output section.
174         (copy_main): Handle OPTION_RENAME_SECTION.
175         * binutils.texi: Document new switch.
176         * NEWS: Mention new switch.
177
178 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
179
180         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
181         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
182         bug-binutils@gcc.org.
183
184 2001-07-28  Matthias Kramm  <kramm@quiss.org>
185
186         * bucomm.c (list_supported_architectures): New function.
187         * bucomm.h (list_supported_architectures): Declare.
188         * objdump.c (usage): Call the above.
189
190 2001-07-25  Dave Brolley  <brolley@redhat.com>
191
192         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
193         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
194
195 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
196
197         * README: Update for 2.11.  Change bug reporting email address.
198         * MAINTAINERS: Tidy up.  Change bug reporting email address.
199
200 2001-07-16  DJ Delorie  <dj@redhat.com>
201
202         * resres.c (write_res_header): Align header size.
203         (res_align_file): Calculate alignment correctly.
204
205         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
206         correct 10).
207         * resrc.c (write_rc_resource): Likewise.
208         * windres.h (SUBLANG_SHIFT): Define - as 10.
209
210 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
211
212         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
213
214 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
215
216         * MAINTAINERS: Add notes about branch checkins.
217
218 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
219
220         * readelf.c (display_debug_macinfo): New function, display
221         .debug_macinfo section.
222         (do_debug_macinfo): New variable.
223         (parse_args): Handle "-w[mM]" to mean display macro info.
224         (process_section_headers): Handle debug_macinfo.
225         (debug_displays): Replace unsupported function with macinfo
226         function for .debug_macinfo display.
227         * doc/binutils.texi: Document new command line switch.
228         * NEWS: Document new feature of readelf.
229
230 2001-07-05  H.J. Lu  <hjl@gnu.org>
231
232         * objcopy.c (filter_symbols): Don't turn undefined symbols
233         into local.
234
235 2001-07-03  H.J. Lu <hjl@gnu.org>
236
237         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
238         $@.pod.
239         (ar.1): Likewise.
240         (dlltool.1): Likewise.
241         (nlmconv.1): Likewise.
242         (nm.1): Likewise.
243         (objcopy.1): Likewise.
244         (objdump.1): Likewise.
245         (ranlib.1): Likewise.
246         (readelf.1): Likewise.
247         (size.1): Likewise.
248         (strings.1): Likewise.
249         (strip.1): Likewise.
250         (windres.1): Likewise.
251         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
252         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
253         $(DEMANGLER_NAME).
254         (as.1): Removed.
255         * doc/Makefile.in: Regenerated.
256
257 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
258
259         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
260
261 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
262
263         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
264
265 2001-06-29  James Cownie <jcownie@etnus.com>
266
267         * readelf.c: Support DWARF 2.1 attributes.
268
269 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
270
271         * readelf.c (GET_DATA_ALLOC): Remove.
272         (GET_DATA): Remove.
273         (get_data): New function combining above macros, with an extra
274         test for zero size.
275         (slurp_rela_relocs): Use get_data, and catch error return.
276         (slurp_rel_relocs): Likewise.
277         (get_32bit_program_headers): Likewise.
278         (get_64bit_program_headers): Likewise.
279         (get_32bit_section_headers): Likewise.
280         (get_64bit_section_headers): Likewise.
281         (get_32bit_elf_symbols): Likewise.
282         (get_64bit_elf_symbols): Likewise.
283         (process_section_headers): Likewise.
284         (process_relocs): Likewise.
285         (slurp_ia64_unwind_table): Likewise.
286         (process_unwind): Likewise.
287         (get_32bit_dynamic_segment): Likewise.
288         (get_64bit_dynamic_segment): Likewise.
289         (process_dynamic_segment): Likewise.
290         (process_version_sections): Likewise.
291         (process_symbol_table): Likewise.
292         (dump_section): Likewise.
293         (display_debug_info): Likewise.
294         (display_debug_section): Likewise.
295         (process_section_contents): Likewise.
296         (process_corefile_note_segment): Likewise.
297         (process_mips_specific): Likewise.  Also free econf32, econf64.
298
299 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
300
301         * readelf.c (dump_relocations): Print "bad symbol index" if
302         symtab == NULL with non-zero symtab_index.
303         (process_relocs): Don't bomb if reloc section has no symsec.
304
305 2001-06-24  H.J. Lu  <hjl@gnu.org>
306
307         * objcopy.c (strip_main): Revert the change made on 2001-05-30
308         by accident.
309         (copy_main): Apply the the change made to strip_main on
310         2001-05-30 by accident.
311
312 2001-06-23  Andreas Jaeger  <aj@suse.de>
313
314         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
315         parameter 'code'.
316         (unw_decode_x2): Likewise.
317         (unw_decode_x3): Likewise.
318         (unw_decode_x4): Likewise.
319
320 2001-06-23  Ben Elliston  <bje@redhat.com>
321
322         * MAINTAINERS: Add myself as M88k maintainer.
323
324 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
325
326         * objcopy.c (strip_main): Support -o or --output-file command lien
327         switch.
328
329 2001-06-19  H.J. Lu <hjl@gnu.org>
330
331         * doc/Makefile.in: Regenerated.
332
333 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
334
335         * readelf.c: Restore formatting.
336
337 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
338
339         * Makefile.am: Move documentation into doc subdirectory.
340         * Makefile.in: Regenerated.
341         * binutils.texi: Move into doc subdirectory.
342         * addr2line.1: Removed.
343         * ar.1: Likewise.
344         * dlltool.1: Likewise.
345         * nlmconv.1: Likewise.
346         * nm.1: Likewise.
347         * objcopy.1: Likewise.
348         * objdump.1: Likewise.
349         * ranlib.1: Likewise.
350         * readelf.1: Likewise.
351         * size.1: Likewise.
352         * strings.1: Likewise.
353         * strip.1: Likewise.
354         * windres.1: Likewise.
355         * cxxfilt.man: Likewise.
356         * doc: New Directory.
357         * doc/Makefile.am: New file.
358         * doc/Makefile.in: Generate.
359
360 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
361
362         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
363
364 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
365
366         * MAINTAINERS: Update my email address.
367
368 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
369
370         * objcopy.c: Add new switches: --keep-global-symbol,
371         --keep-symbols, --localize-symbols, --keep-global-symbols and
372         --weaken-symbols.
373         * binutils.texi: Document new switches.
374         * objcopy.1: Regenerate.
375         * NEWS: Announce new feature.
376
377 2001-05-28  Andreas Jaeger  <aj@suse.de>
378
379         * readelf.c (display_debug_frames): Fix warnings: Remove unused
380         variables, fix format strings.
381
382 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
383
384         * objdump.c (disassemble_bytes): Remove section VMA adjustment
385         when computing the address of the line to show.
386
387 2001-05-16  Richard Henderson  <rth@redhat.com>
388
389         * readelf.c (do_debug_frames_interp): New.
390         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
391         (byte_get_big_endian): Likewise.
392         (parse_args) ['F']: Set do_debug_frames_interp.
393         (Frame_Chunk): Make data_factor signed, add fde_encoding.
394         (frame_display_row): Don't trunc pc_begin to int.
395         (size_of_encoded_value): New.
396         (display_debug_frames): Handle 64-bit targets.  Print raw data
397         unless do_debug_frames_interp.
398         (debug_displays): Remove duplicate .debug_frame.
399
400 2001-05-15  Ralf Baechle  <ralf@gnu.org>
401
402         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
403         The former constant was never in active use and is used otherwise
404         by the ABI.
405
406 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
407
408         * readelf.c (process_unwind): Print all unwind sections, not just
409         one.
410
411 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
412
413         * readelf.c (process_unwind): Remove const specifier.
414
415 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
416
417         * strings.c (isgraphic): Do not use isascii() unless it is needed
418         for isprint() to work.
419         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
420
421 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
422
423         * NEWS: Announce support for OpenRISC.
424
425 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
426
427         * dlltool.c (do_default_excludes): Initialise to true.
428
429 2001-04-10  Alan Modra  <amodra@one.net.au>
430
431         * MAINTAINERS: Update my email address
432         * nm.c (print_symbol_info_bsd): Use a simple printf string.
433
434 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
435
436         * readelf.c (display_debug_lines): Fix typo for "Prologue".
437
438 2001-03-30  H.J. Lu  <hjl@gnu.org>
439
440         * readelf.c (process_unwind): Just return if do_unwind is 0.
441
442 2001-03-28  Roger Sayle  <roger@metaphorics.com>
443
444         * dlltool.c (make_one_lib_file): Fix section flags for
445         .text, .data and .bss in stub ds*.o files to match those
446         generated by gas.
447
448 2001-03-29  H.J. Lu  <hjl@gnu.org>
449
450         * readelf.c (process_unwind): Only do unwind sections for
451         IA64.
452
453 2001-03-28  H.J. Lu  <hjl@gnu.org>
454
455         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
456         * Makefile.in: Regenerate.
457
458 2001-03-26  Andreas Jaeger  <aj@suse.de>
459
460         * binutils.texi (nm): Fix texi syntax.
461
462 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
463
464         * binutils.texi: Put @c man begin and @c man end indications
465         to generate man pages using texi2pod and pod2man. Put @c man title
466         to identify each man. Add SEEALSO entries.
467         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
468         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
469         sort the list.
470         (*.1): Build the man pages from binutils.texi.
471         * Makefile.in: Regenerate.
472
473 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
474
475         * defparse.y (opt_equal_name): allow "." in name.
476         * dlltool.c (def_exports): Added ability to generate forwarded exports.
477         (gen_exp_file): Likewise.
478
479 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
480
481         * NEWS: Document addition of -B switch to objcopy.
482         * binutils.texi:  Document addition of -B switch to objcopy.
483         * objcopy.c: (copy_options): Add --binary-architecture.
484         (copy_usage): Document -B/--binary-architecture.
485         (copy_main): Support -B/--binary-architecture.  Set
486         bfd_external_binary_architecture.
487
488 2001-03-11  Andreas Jaeger  <aj@suse.de>
489
490         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
491         (dump_relocations): Likewise.
492         (get_machine_name): Likewise.
493
494 2001-02-28  Nick Clifton  <nickc@redhat.com>
495
496         * readelf.c: (struct unw_aux_info): Remove const modifier for
497         'strtab' field.
498         (process_unwind): Remove non-K&R compliant LHS type cast in call
499         to GET_DATA_ALLOC macro.
500
501 2001-02-28  Philip Blundell  <pb@futuretv.com>
502
503         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
504         ABI is in use; remove ambiguity between the "unknown" EABI and
505         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
506         renamed EF_xx constants.
507
508 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
509
510         * configure.in (BFD_VERSION): New.
511         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
512         * configure: Regenerate.
513         * Makefile.am: Run "make dep-am"
514         * Makefile.in: Regenerate.
515
516 2001-02-14  Nick Clifton  <nickc@redhat.com>
517
518         * MAINTAINERS: Add "Obvious Fix" rule.
519
520 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
521
522         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
523         literal concatenation.
524
525 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
526
527         * readelf.c (struct unw_aux_info): Remove const from the info member.
528         (process_unwind): Don't type-cast the third argument to the
529         GET_DATA_ALLOC macro.
530
531 2001-02-11  Nick Clifton  <nickc@redhat.com>
532
533         * readelf.c (dump_relocations): Free corrected allocated
534         array.
535         (process_unwind): Fix compile time warning.
536
537 2001-02-10  Nick Clifton  <nickc@redhat.com>
538
539         * binutils.texi: Document new --unwind option to readelf.
540
541 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
542
543         * readelf.c: Add linux target for S/390.
544
545 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
546
547         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
548         printf is a macro.
549
550 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
551
552         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
553         * aclocal.m4: Regenerate.
554         * configure: Regenerate.
555
556 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
557
558         * bucomm.c (bfd_target_vector): Change extern array to pointer.
559         * objdump.c (bfd_target_vector): Likewise.
560
561 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
562
563         * readelf.c (process_unwind): New function.
564         (slurp_ia64_unwind_table): Ditto.
565         (dump_ia64_unwind): Ditto.
566         (find_symbol_for_address): Ditto.
567         (slurp_rela_relocs): New function (split off from dump_relocations()).
568         (slurp_rel_relocs): Ditto.
569         (parse_args): Handle '-u' option.
570
571         * unwind-ia64.c: New file.
572         * unwind-ia64.h: New file.
573         * Makefile.am: Include unwind-ia64.c in readelf build.
574         * Makefile.in: Regenerate.
575         * po/binutils.pot: Regenerate.
576
577 2001-02-04  Philip Blundell  <philb@gnu.org>
578
579         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
580         * configure: Regenerate.
581
582 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
583
584         * ieee.c (ieee_add_bb11): Don't check for backslashes
585         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
586
587 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
588
589         * ieee.c: Update copyright.
590         (ieee_start_compilation_unit): Don't check for backslashes
591         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
592
593         * stabs.c: Update copyright. Include "filenames.h".
594         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
595
596 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
597
598         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
599         sections are present before using them.  Remove code duplication.
600         (process_symbol_table): Check if VERDEF or VERNEED sections are
601         present before using them.
602
603 2001-01-17  Nick Clifton  <nickc@redhat.com>
604
605         * objcopy.c (copy_object): Fail if attempting to convert the
606         endianness of the input object file.
607
608         * binutils.texi: Explain that objcopy cannot convert endianness.
609
610 2001-01-16  Nick Clifton  <nickc@redhat.com>
611
612         * readelf.c (string_table_length): New variable.
613         (SECTION_NAME): Catch out of range indices and missing section
614         pointers.
615         (process_section_headers): Delete useless local variable
616         string_table_offset.  Set the value of string_table_length
617         after loading the string table.
618         (process_mips_specific): Use SECTION_NAME macro.
619         (process_file): Set string_table_length to 0 when it is freed.
620
621 2001-01-12  Nick Clifton  <nickc@redhat.com>
622
623         * version.c (print_version): Update copyright date.
624
625 2001-01-11  Peter Targett  <peter.targett@arccores.com>
626
627         * readelf.c (dump_relocations): Include selection with EM_ARC.
628         (get_machine_name) Update name to "ARC".
629
630 2001-01-09  Nick Clifton  <nickc@redhat.com>
631
632         * Makefile.am: Add rule to build objdump.o from objdump.c and
633         using OBJDUMP_DEFS.
634         * Makefile.in: Regenerate.
635
636         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
637         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
638         -DDISASSEMBLER_NEEDS_RELOCS.
639         * configure: Regenerate.
640
641         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
642         is defined read in the relocs even if dump_reloc_info is
643         false.
644
645 2001-01-07  Philip Blundell  <philb@gnu.org>
646
647         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
648         `bug-binutils'.
649         * README: Likewise.
650
651 2000-12-19  Nick Clifton  <nickc@redhat.com>
652
653         * dlltool.c: Add missing support for arm-epoc-pe.
654         * configure.in: Add missing support for arm-epoc-pe.
655         * configure: Regenerate.
656
657 2000-12-15  Nick Clifton  <nickc@redhat.com>
658
659         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
660         Mode parts of the x86 port.
661
662 2000-12-04  Andreas Jaeger  <aj@suse.de>
663
664         * readelf.c (guess_is_rela): Add EM_X86_64.
665         (dump_relocations): Add EM_X86_64.
666         (get_machine_name): Add EM_X86_64.
667         Include "elf/x86-64.h".
668
669 2000-12-12  Nick Clifton  <nickc@redhat.com>
670
671         * readelf.c: Fix formatting.
672
673 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
674
675         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
676
677 2000-12-07  Andrew Haley  <aph@redhat.com>
678
679         * readelf.c (display_debug_frames): Only display columns that are
680         referenced by the frame debug info.
681
682 2000-12-05  Nick Clifton  <nickc@redhat.com>
683
684         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
685
686 2000-12-04  Jason Merrill  <jason@redhat.com>
687
688         * readelf.c (process_section_headers): Handle linkonce.wi sections.
689         (display_debug_section): Likewise.
690         (display_debug_info): Display CU header before bailing.
691
692 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
693
694         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
695         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
696         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
697
698         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
699         and E_MIPS_ARCH_64.
700
701         * readelf.c (get_machine_flags): Add case for
702         E_MIPS_MACH_SB1.
703
704 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
705
706         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
707
708 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
709
710         * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
711         Change sourceware.cygnus.com to sources.redhat.com.
712         Fix typo for "amongst".
713
714 2000-11-28  Nick Clifton  <nickc@redhat.com>
715
716         * strip.1 (COPYING): Mention that the GNU Free Documentation
717         License is present in the sources, but not the output, and
718         also available from the GNU website.
719         (GNU Free Documentation License): Comment out this section.
720         * strings.1: Ditto.
721         * size.1: Ditto.
722         * ranlib.1: Ditto.
723         * objdump.1: Ditto.
724         * objcopy.1: Ditto.
725         * nm.1: Ditto.
726         * nlmconv.1: Ditto.
727         * ar.1: Ditto.
728         * addr2line.1: Ditto.
729
730 2000-11-27  DJ Delorie  <dj@redhat.com>
731
732         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
733         (parse_args): Support -wf option.
734         (process_section_headers): Ditto.
735         (debug_displays): Ditto.
736         (display_debug_frames): New, dump *_frame sections.
737         (frame_need_space): Support for above.
738         (frame_display_row): Ditto.
739         * binutils.texi: Document it.
740
741 2000-11-24  Nick Clifton  <nickc@redhat.com>
742
743         * NEWS: Announce support for v5t, v5te and XScale.
744
745 2000-11-22  Nick Clifton  <nickc@redhat.com>
746
747         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
748         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
749         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
750         (get_elf_section_flags: Add SHF_GROUP.
751         (process_section_headers): Adjust output for 32-bit binaries
752         to look nice on an 80 column terminal.
753
754 2000-11-20  H.J. Lu  <hjl@gnu.org>
755
756         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
757         ELFOSABI_AIX.
758
759 2000-11-17  Richard Henderson  <rth@redhat.com>
760
761         * readelf.c (display_debug_lines): Adjust last change to
762         use sizeof (external->li_length).
763
764 2000-11-17  Richard Henderson  <rth@redhat.com>
765
766         * readelf.c (display_debug_lines): Fix section length check
767         and end_of_sequence computation.
768
769 2000-11-06  Nick Clifton  <nickc@redhat.com>
770
771         * binutils.texi: Add GNU Free Documentation License.
772         * objcopy.1: Add GNU Free Documentation License.
773         * objdump.1: Add GNU Free Documentation License.
774         * addr2line.1: Add GNU Free Documentation License.
775         * ar.1: Add GNU Free Documentation License.
776         * nlmconv.1: Add GNU Free Documentation License.
777         * nm.1: Add GNU Free Documentation License.
778         * ranlib.1: Add GNU Free Documentation License.
779         * size.1: Add GNU Free Documentation License.
780         * strings.1: Add GNU Free Documentation License.
781         * strip.1: Add GNU Free Documentation License.
782
783 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
784
785         * objcopy.c (--srec-len=nn): New parameter to set the
786         maximum length of generated Srecords.
787         (--srec-forceS3): New parameter that restricts the generation of
788         Srecords to type S3 only.
789         * binutils.texi: Document new command line switches.
790         * objcopy.1: Docuemnt the new command line switches.
791         * NEWS: Announce the existence of the new command line switches.
792
793 2000-10-31  Nick Clifton  <nickc@redhat.com>
794
795         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
796         code.  Add Eric Chrisopher as maintainer of MN10300 port.
797
798 2000-10-12  Roger Sayle  <roger@metaphorics.com>
799
800         * Make comma after string after icon/control optional.
801
802 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
803
804         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
805
806         * NEWS: Mention support for MIPS32.
807
808 2000-09-08  Nick Clifton  <nickc@redhat.com>
809
810         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
811
812 2000-09-07  H.J. Lu  <hjl@gnu.org>
813
814         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
815         * configure: Rebuild.
816
817 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
818
819         * configure: Rebuilt with new libtool.m4.
820
821 2000-09-05  Nick Clifton  <nickc@redhat.com>
822
823         * aclocal.m4: Regenerate.
824         * config.in: Regenerate.
825         * configure: Regenerate.
826
827 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
828
829         * strip.1: Fix stray '\' in -o formatting.
830
831 2000-09-02  Nick Clifton  <nickc@redhat.com>
832
833         * configure.in: Increase version number to 2.10.91.
834         * configure: Regenerate.
835         * aclocal.m4: Regenerate.
836         * config.in: Regenerate.
837         * po/binutils.pot: Regenerate.
838
839 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
840
841         * acinclude.m4: Include libtool and gettext macros from the
842         top level.
843         * aclocal.m4, configure: Rebuilt.
844
845 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
846
847         * resrc.c (close_input_stream): Delete extraneous logic
848
849 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
850
851         * NEWS: Mention support for CRIS.
852
853 2000-08-21  Nick Clifton  <nickc@redhat.com>
854
855         * addr2line.c: Changed email address for Ulrich Lauther.
856
857 2000-08-17  Christopher C. Chimelis <chris@debian.org>
858
859         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
860
861 2000-08-17  Nick Clifton  <nickc@redhat.com>
862
863         * readelf.c (display_debug_pubnames): Only issue warning
864         message once.  Terminate message with a new line.
865         (display_debug_aranges): Only display version 2 debug info.
866
867 2000-08-14  Todd Vierling <tv@wasabisystems.com>
868
869         * objcopy.c (strip_main): Silently accept -d as an alias for -g
870         for compatability with old BSD systems.
871
872 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
873
874         * NEWS: Mention i860 support.
875
876 2000-08-11  Carlo Wood <carlo@alinoe.com>
877
878         * addr2line.c (main): Add const to char *.
879
880 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
881
882         * ar.c (main): Don't crash if called with no arguments
883         or only '-X32_64' as an argument.
884
885 2000-08-08  DJ Delorie  <dj@redhat.com>
886
887         * resrc.c: use "gcc -xc" instead of -xc-header
888
889 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
890
891         * readelf.c (elf/i860.h): Include.
892         (dump_relocations): Add recognition of i860 architecture.
893         (guess_is_rela): Add recognition of i860 architecture.
894
895 2000-08-03  Nick Clifton  <nickc@cygnus.com>
896
897         * MAINTAINERS: Add information about CGEN maintainers.
898
899 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
900
901         * nm.c (main): Ignore '-X32_64' as an option.
902         * ar.c (main): Likewise.
903         * binutils.texi (nm): Document new option.
904         (ar): Likewise.
905
906 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
907
908         * rdcoff.c (external_coff_symbol_p): K&R-ise.
909
910 2000-07-20  H.J. Lu  <hjl@gnu.org>
911
912         * binutils.texi: Put back "@end table" deleted by
913         accident.
914
915 2000-07-05  Kenneth Block  <krblock@computer.org>
916
917         * nm.c: Add optional style to demangle switch.
918         * objdump.c: Add optional style to demangle switch.
919         * addr2line.c: Add optional style to demangle switch.
920         * binutils.texi: Document optional style to demangle
921         switch.
922
923 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
924
925         * MAINTAINERS: Add self as CRIS port maintainer.
926         * readelf.c: Include elf/cris.h.
927         (guess_is_rela): Handle EM_CRIS.
928         (dump_relocations): Ditto.
929         (get_machine_name): Ditto.
930         * Makefile.am: Rebuild dependencies.
931         * Makefile.in: Regenerate.
932         * po/binutils.pot: Regenerate.
933
934 2000-07-19  H.J. Lu  <hjl@gnu.org>
935
936         * readelf.c (get_dynamic_type): Change "AUXILARY" to
937         "AUXILIARY".
938         (process_dynamic_segment): Print out strings for DT_CONFIG,
939         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
940
941 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
942
943         * nm.c (usage): Change output of `nm --help' to include a
944         description of the purpose of the program and a detailed
945         description of the accepted options.
946
947 2000-07-19  H.J. Lu  <hjl@gnu.org>
948
949         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
950         to DF_1_NODEFLIB.
951
952 2000-07-19  H.J. Lu  <hjl@gnu.org>
953
954         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
955
956 2000-07-19  H.J. Lu  <hjl@gnu.org>
957
958         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
959         DT_FEATURE.
960         (process_dynamic_segment): Likewise.
961
962         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
963         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
964         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
965         DF_1_NODUMP and DF_1_CONLFAT.
966
967 2000-07-18  Nick Clifton  <nickc@cygnus.com>
968
969         * binutils.texi (readelf): Fix spelling typo.
970
971 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
972
973         * objdump.c (usage): Make output of `objdump --help' more
974         consistent with the rest of the GNU world.  Add a line describing
975         the purpose of the program.
976
977 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
978
979         * stabs.c (parse_stab_range_type): Cast to proper type to fix
980         warning.
981
982 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
983
984         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
985         to fix warnings.
986         (process_symbol_table): Ditto.
987         (procesS_extended_line_op): Ditto.
988         (display_debug_lines): Ditto.
989         (display_debug_pubnames): Ditto.
990         (read_and_display_attr): Ditto.
991
992 2000-07-09  Nick Clifton  <nickc@cygnus.com>
993
994         * MAINTAINERS: Add several more port specific maintainers.
995
996 2000-07-05  Nick Clifton  <nickc@cygnus.com>
997
998         * MAINTAINERS: Add blanket write privs for Michael Meissner.
999
1000 2000-06-05  DJ Delorie  <dj@redhat.com>
1001
1002         * MAINTAINERS: New.
1003
1004 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1005
1006         * dllwrap.c: Changed mistaken dyn_string_append() calls
1007         to dyn_string_append_cstr().
1008
1009 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1010
1011         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1012         struct debug_type stores size in bytes.
1013
1014 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1015
1016         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1017         (CLEANFILES): Add DEPA.
1018         * Makefile.in: Regenerate.
1019
1020 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
1021
1022         * ar.c: Revert incorrect 2000-06-25 patch.
1023         * bucomm.c: Likewise.
1024
1025 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1026
1027         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1028         (external_coff_symbol_p): New function.
1029         (parse_coff): Use it.
1030
1031 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1032
1033         * ar.c (normalize): Advance past both characters in a DOS based
1034         <letter>: filepath prefix.
1035         (main): Likewise.
1036         * bucomm.c (make_tempname): Likewise.
1037
1038 2000-06-24  Nick Clifton  <nickc@cygnus.com>
1039
1040         * objdump.c (usage): Fix description of --stabs switch.
1041
1042 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1043
1044         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1045         find one.
1046         * Makefile.in: Regenerate.
1047
1048 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1049
1050         * ar.c (normalize): Correct pointer comparison when checking for
1051         backslashes.
1052         (main): Likewise.
1053         * bucomm.c (make_tempname): Likewise.
1054
1055         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1056         and search for backslashes in the original pathname.
1057         (ieee_add_bb11): Likewise.
1058
1059 2000-06-18  Nick Clifton  <nickc@redhat.com>
1060
1061         * ar.c (print_contents): Improve verbose message.
1062
1063 2000-06-15  H.J. Lu  <hjl@gnu.org>
1064
1065         * dyn-string.c: Removed. Not needed with dyn-string.c in
1066         libiberty.
1067         * dyn-string.h: Likewise.
1068
1069         * Makefile.am: Remove references to dyn-string.c and
1070         dyn-string.h. Rebuild dependency.
1071         * Makefile.in: Rebuild.
1072
1073 2000-06-15  H.J. Lu  <hjl@gnu.org>
1074
1075         * binutils.texi: Put a warning on copying relocatable object
1076         files between two different formats.
1077
1078 2000-06-13  DJ Delorie  <dj@cygnus.com>
1079
1080         * rcparse.y (control): ICON controls take an id as the first
1081         parameter, not an optional string.  Also, call new convenience
1082         function that takes res_id's.
1083         * resrc.c (define_control): missing text means zero-length string,
1084         not zero ID.
1085         (define_icon_control): New.
1086         * windres.h: declare define_icon_control.
1087
1088 2000-06-13  H.J. Lu  <hjl@gnu.org>
1089
1090         * configure: Regenerate.
1091
1092 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1093
1094         * configure.in (VERSION): Update to show this is the CVS mainline.
1095
1096 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1097
1098         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1099         analogous to <SPACE>.
1100
1101 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1102
1103         * objdump.c (display_target_list): Use bfd_close_all_done, not
1104         bfd_close to fix crash caused by 2000-05-24 change.
1105
1106 2000-05-25  DJ Delorie  <dj@cygnus.com>
1107
1108         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1109
1110 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1111
1112         * Makefile.am: Update dependencies with "make dep-am"
1113         * Makefile.in: Regenerate.
1114
1115 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1116
1117         * ar.c: Include filenames.h.
1118         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1119         and drive letters in file names.
1120         (main): Support backslashes and drive letters in argv[0].  Drop
1121         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1122         FILENAME_CMP instead of strcmp to compare file names.
1123         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1124         DJGPP v2.
1125         (do_quick_append) [__GO32__]: Ditto.
1126         (get_pos_bfd, delete_members, move_members, replace_members):
1127         Compare file names with FILENAME_CMP.
1128
1129         * bucomm.c: Include filenames.h.
1130         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1131         forward/backward slashes and drive letters in file names.
1132
1133         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1134         mixed forward/backward slashes and drive letters in file names.
1135
1136         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1137         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1138         mode.
1139
1140         * objcopy.c: Include filenames.h.
1141         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1142         before comparing to "strip".
1143         Use FILENAME_CMP to compare file names.
1144
1145         * arsup.c: Include filenames.h.
1146         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1147         FILENAME_CMP to compare file names.
1148         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1149         the temporary file name.
1150
1151         * configure.in: Check for setmode.
1152         * configure: Regenerate.
1153
1154 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1155
1156         * objdump.c (display_target_list): Close the bfd.
1157         (display_info_table): Likewise.
1158
1159 2000-05-14  H.J. Lu  (hjl@gnu.org)
1160
1161         * objcopy.c (filter_symbols): Don't strip global symbols in
1162         relocatable object files.
1163
1164 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1165
1166         * size.c (usage): Associate short options with corresponding long
1167         option to give a clue as to their function.
1168
1169 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1170
1171         * size.c (main): Accept and ignore `-f' option.
1172
1173 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1174
1175         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1176         bindtextdomain): Replace defines with those from intl/libgettext.h
1177         to quieten gcc warnings.
1178
1179 2000-05-12  H.J. Lu  <hjl@gnu.org>
1180
1181         * nlmconv.c (temp_filename): Removed.
1182
1183         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1184         choose_temp_base ().
1185         * objdump.c (display_target_list): Likewise.
1186         (display_info_table): Likewise.
1187
1188 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1189
1190         * objcopy.c (setup_section): Add const and gettext calls for err.
1191
1192 2000-05-02  H.J. Lu  <hjl@gnu.org>
1193
1194         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1195         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1196         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1197         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1198         and ELFOSABI_OPENBSD.
1199
1200 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1201
1202         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1203         * srconv.c: Likewise.
1204         * sysdump.c: Likewise.
1205
1206 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
1207
1208         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1209         (get_machine_name): machine name for EM_AVR added.
1210
1211 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1212                           David Mosberger  <davidm@hpl.hp.com>
1213
1214         * Makefile.am (readelf.o): Add elf/ia64.h.
1215         * Makefile.in: Rebuild.
1216         * readelf.c: Include elf/ia64.h.
1217         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1218
1219 2000-04-17  Timothy Wall  <twall@cygnus.com>
1220
1221         * objdump.c (disassemble_data): Set octets per byte *after*
1222         resolving arch/mach for binary files.
1223
1224 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1225
1226         * arlex.l: Add directives to increase lex buffer size.
1227
1228         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1229         already included by bucomm.h.
1230
1231 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1232
1233         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1234         `strftime' since strftime is not available on all systems.
1235         (process_mips_specific): Ditto.
1236
1237 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1238
1239         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1240         --enable-build-warnings option.
1241         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1242         * Makefile.in, configure: Re-generate.
1243
1244 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1245
1246         * addr2line.c: Update copyright.
1247         * objcopy.1: Likewise, and title.
1248         * strings.1: Likewise.
1249
1250         * version.c (print_version): Add 2000.
1251
1252         * rddbg.c (read_section_stabs_debugging_info): Don't use
1253         bfd_size_type for strx to avoid printf problems if BFD64.
1254
1255         * bucomm.c: (report): Remove `static'.
1256         Move inclusion of stdarg.h/vararg.h from here.
1257         * bucomm.h: To here.
1258         (CONST): Change all occurences to const.
1259         (report): Declare it.
1260         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1261         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1262         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1263
1264         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1265         Correct a typo in an error message.
1266         (do_quick_append): Use non_fatal instead of fprintf.
1267         (move_members): Use fatal instead of fprintf, exit.
1268         * coffdump.c (main): Same here.
1269
1270         * dlltool.c (display): Delete.
1271         (warn): Delete.
1272         (inform): Use `report' instead of `display'.
1273         (rvaafter): Remove trailing \n from fatal error msg.
1274         (rvabefore): Ditto.
1275         (asm_prefix): Ditto.
1276         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1277         (def_name): Likewise.
1278         (run): Likewise.
1279         (scan_all_symbols): Likewise.
1280         (gen_lib_file): Likewise.
1281         (def_library): Likewise.  Remove extra program_name too.
1282         (run): Remove \n from inform strings.
1283         (scan_drectve_symbols): Likewise.
1284         (add_excludes): Likewise.
1285         (scan_open_obj_file): Likewise.
1286         (gen_exp_file): Likewise.
1287         (gen_lib_file): Likewise.
1288         (process_duplicates): Likewise.
1289
1290         * Makefile.am (dllwrap_SOURCES): Add version.c.
1291         * dllwrap.c (program_version): Delete.
1292         (print_version): Delete.
1293         (display): Always print trailing \n.
1294         (warn): New.
1295         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1296         (run): Here too.
1297         (main): And here.
1298         (usage): gettext'ify.
1299         (long_options): Add missing initialisers.
1300
1301         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1302         (select_output_format): Likewise.
1303         (powerpc_mangle_relocs): Likewise.
1304         (link_inputs): Likewise.
1305
1306         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1307         (set_output_format): Likewise.
1308         (main): Use non_fatal instead of fprintf.
1309         (display_rel_file): Likewise.
1310
1311         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1312         (slurp_dynamic_symtab): Same here.
1313         (disassemble_data): And here.
1314         (read_section_stabs): And here.
1315         (read_section_stabs): And here.
1316         (dump_bfd): And here.
1317         (main): And here.
1318         (objdump_sprintf): Use fatal instead of fprintf, exit.
1319         (disassemble_data): Same here.
1320
1321         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1322         (parse_coff_struct_type): Same here.
1323         (parse_coff_enum_type): And here.
1324         (parse_coff): And here.
1325         * rddbg.c (read_debugging_info): And here.
1326         * size.c (main): And here.
1327         * windres.c (format_from_name): And here.
1328         * wrstabs.c (stab_write_symbol): Here too.
1329         (write_stabs_in_sections_debugging_info): And here.
1330         (stab_int_type): And here.
1331         (stab_struct_field): And here.
1332         (stab_typdef): And here.
1333
1334         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1335         * srconv.c (main): Same here.
1336         * strings.c (main): And here.
1337         (integer_arg): And here.
1338         * sysdump.c (main): And here.
1339
1340 2000-04-06  Timothy Wall  <twall@cygnus.com>
1341
1342         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1343
1344 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1345
1346         * readelf.c (decode_location_expression): Loop through multiple
1347         operations.
1348         (read_and_display_attr): Pass in length.
1349
1350         * readelf.c (read_and_display_attr): Add CU offset to references.
1351         (display_debug_info): Pass it in.
1352
1353 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1354
1355         * readelf.c (decode_ARM_machine_flags): New function.
1356         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1357         targets.
1358
1359         (get_machine_name): Catch EM_AVR
1360
1361 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1362
1363         * binutils.texi: Remove optional `=' from long options that have
1364         an `=' in the argument.
1365         * objcopy.1: Here too.  Remove extra space on discard-all.
1366
1367         * binutils.texi (objcopy): Mention --redefine-sym.
1368         * objcopy.1: Here too.
1369         * NEWS: And here.
1370
1371         * objcopy.c (parse_flags): Split off flag names from error message
1372         gettext as they are not translated.
1373         (copy_main): Similarly split off option name for --add-section,
1374         --set-section-flags, --change-section-vma, --change-section-lma
1375         error messages.
1376         Some white space changes.
1377
1378         from Matthew Benjamin <matt@linuxbox.nu>
1379         * objcopy.c (struct redefine_node): New.
1380         (redefine_sym_list): New.
1381         (redefine_list_append): New.
1382         (lookup_sym_redefinition): New.
1383         (OPTION_REDEFINE_SYM): New.
1384         (copy_options): Add --redefine-sym option.
1385         (copy_usage): Mention it.
1386         (filter_symbols): Rename symbols on redefine_sym_list.
1387         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1388         (copy_main): Handle OPTION_REDEFINE_SYM.
1389
1390 2000-04-04  H.J. Lu  <hjl@gnu.org>
1391
1392         * readelf.c (process_symbol_table): Correctly read in symbol
1393         versioning information.
1394
1395 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1396
1397         * po/binutils.pot: Regenerate.
1398
1399         * addr2line.c (usage): Restore translated part of bug string.
1400         * ar.c (usage): Likewise.
1401         * nlmconv.c (show_usage): Likewise.
1402         * nm.c (usage): Likewise.
1403         * objcopy.c (copy_usage): Likewise.
1404         (strip_usage): Likewise.
1405         * objdump.c (usage): Likewise.
1406         * readelf.c (usage): Likewise.
1407         * size.c (usage): Likewise.
1408         * strings.c (usage): Likewise.
1409         * windres.c (usage): Likewise.
1410
1411         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1412         (DEP): Quote when passing vars to sub-make.  Add warning
1413         message to end.
1414         (DEP1): Rewrite for "gcc -MM".
1415         (CLEANFILES): Add DEP2.
1416         Update dependencies.
1417         * Makefile.in: Regenerate.
1418
1419 2000-04-04  H.J. Lu  <hjl@gnu.org>
1420
1421         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1422         (arparse.h): Depend on arparse.c
1423         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1424
1425 2000-04-03  H.J. Lu  (hjl@gnu.org)
1426
1427         * size.c (usage): Use REPORT_BUGS_TO.
1428
1429 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1430
1431         * bucomm.h: #include "bin-bugs.h"
1432         * addr2line.c (usage): Use REPORT_BUGS_TO.
1433         * ar.c (usage): Likewise.
1434         * nlmconv.c (show_usage): Likewise.
1435         * nm.c (usage): Likewise.
1436         (OPTION_TARGET): Define.
1437         (long_options): Use OPTION_TARGET rather than 200.
1438         (main): Likewise.
1439
1440         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1441         (strip_usage): Likewise.
1442         * objdump.c (usage): Likewise.
1443         * readelf.c (usage): Likewise.
1444         * strings.c (usage): Likewise.
1445         * windres.c (usage): Likewise.
1446
1447 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1448
1449         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1450
1451 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1452
1453         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1454         string offsets in corrupt stabs entries.
1455
1456 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1457
1458         * readelf.c: Include elf/avr.h
1459         (dump_relocations): Add EM_AVR case.
1460
1461 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1462
1463         * strings.1: Correct '-bytes' to '--bytes'.
1464
1465 2000-03-08  H.J. Lu  <hjl@gnu.org>
1466
1467         * Makefile.am (install-exec-local): Depend on
1468         install-binPROGRAMS for parallel make.
1469         * Makefile.in: Regenerated.
1470
1471 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1472
1473         From Brad Lucier <lucier@math.purdue.edu>:
1474         * readelf.c (process_dynamic_segment): Add cast to make sure
1475         argument to %* is int.
1476
1477 2000-02-25  H.J. Lu  <hjl@gnu.org>
1478
1479         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1480
1481 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1482
1483         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1484         * configure: Regenerate.
1485
1486         * dlltool.c: Add support for sh-pe and mips-pe targets.
1487         * rescoff.c: Add support for sh-pe and mips-pe targets.
1488
1489 2000-02-23  H.J. Lu  <hjl@gnu.org>
1490
1491         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1492
1493 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1494
1495         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1496
1497 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1498
1499         From Brad Lucier <lucier@math.purdue.edu>:
1500         * readelf.c (process_version_sections): Add casts to make sure
1501         argument to %* is an int.
1502         (process_mips_specific): Add casts to make printf arguments match
1503         format.
1504
1505 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1506
1507         * objdump.c (dump_section_header): Change `opb' to unsigned.
1508         (find_symbol_for_address): Same here.
1509         (disassemble_data): And here.  Change `addr_offset',
1510         `stop_offset', `nextstop_offset' to unsigned long.
1511         (dump_data): Change opb to unsigned.
1512
1513 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1514
1515         * resrc.c: Remove unmatched #if for cygwin.
1516
1517 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1518
1519         * binutils.texi: Document the change of flavor name from atpcs-special
1520         to special-atpcs to prevent name conflict in gdb.
1521
1522 2000-02-08  Timothy Wall  <twall@redhat.com>
1523
1524         * objdump.c (show_line): Fix bug preventing printing of the very
1525         first line (line zero) of a file when interlisting source and
1526         assembly.  Added option to print entire context from start of file
1527         when the first line from that file is encountered.
1528
1529 2000-02-03  Timothy Wall <twall@redhat.com>
1530
1531         * objdump.c (dump_section_header, find_symbol_for_address,
1532         show_line, disassemble_bytes, disassemble_data, dump_data):
1533         distinguish between octets and bytes.
1534
1535 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1536
1537         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1538         check to unresolved symbols.
1539         (print_symbol_info_sysv):  Ditto.
1540         (print_symbol_info_posix):  Ditto.
1541
1542         * binutils.texi: Document new 'V' symclass flag for nm.
1543
1544 2000-01-27  Nick Clifton  <nickc@redhat.com>
1545
1546         * binutils.texi (objdump): Document new ARM specific
1547         disassembler options.
1548
1549         * objdump.c (usage): Call disassembler_usage().
1550
1551 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1552
1553         * readelf.c (get_dynamic_flags): Return buff.
1554         (process_dynamic_segment): Don't pass error strings to printf
1555         as format arg.
1556         (read_and_display_attr): Use lx and ld to print longs.
1557         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1558         before printing.
1559         Update copyright.
1560
1561 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1562
1563         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1564
1565 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1566
1567         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1568         false.
1569         (debug_tag_type): Here too.
1570         * ieee.c (ieee_builtin_type): And here.
1571         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1572
1573 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1574
1575         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1576         System/370".
1577
1578 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1579
1580         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1581
1582 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1583
1584         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1585
1586 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1587
1588         * windres.c (long_options): Add --use-temp-file and
1589         --no-use-temp-file options.
1590         (usage): Document.
1591         (main): Handle.
1592
1593         * windres.h: Update read_rc_file prototype.
1594
1595         * resrc.c (cpp_temp_file): New static variable.
1596         (istream_type): New static variable.
1597         (close_pipe): Delete function.
1598         (run_cmd): New static function.
1599         (open_input_stream): New static function.
1600         (close_input_stream): New static function.
1601         (look_for_default): Handle DOS directory separator. Use
1602         open_input_stream instead of popen.
1603         (read_rc_file): Likewise.
1604
1605         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1606         options.
1607
1608 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1609
1610         * dlltool.c (create_compat_implib): New variable.
1611         (gen_exp_file): Use.
1612         (make_one_lib_file): Use.
1613         (long_options): Add --compat-implib option.
1614         (usage): Handle.
1615         (main): Handle.
1616
1617         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1618         (main): Use. Don't look for "32" in cygwin and mingw target names.
1619
1620 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1621
1622         * binutils.texi: Document new, ARM specific disassembler
1623         command line switch "-M force-thumb".
1624
1625 For older changes see ChangeLog-9899
1626 \f
1627 Local Variables:
1628 mode: change-log
1629 left-margin: 8
1630 fill-column: 74
1631 version-control: never
1632 End: