d2385721aa221810ea2e1c40d2b06564e6b6bd0c
[external/binutils.git] / binutils / ChangeLog
1 2003-09-04  Nick Clifton  <nickc@redhat.com>
2
3         * readelf.c (get_machine_flags): Recognise V850E1 machine type.
4
5 2003-09-03  Andrew Cagney  <cagney@redhat.com>
6
7         * objdump.c: Refer to init_disassemble_info in comments.
8         (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
9         init_disassemble_info.
10
11 2003-09-03  Nick Clifton  <nickc@redhat.com>
12
13         * objdump.c (struct objdump_disasm_info): Add new fields
14         'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
15         (process_section_p): New function:  Returns TRUE if a section
16         can be dumped.
17         (disassemble_section): New function: Contains the body of
18         disassemble_data(), but just for one section.
19         (disassemble_data): Use bfd_map_over_sections to walk section
20         chain.
21         (find_stabs_section): New function: Find a stabs containing
22         section and then dump it.
23         (dump_stabs_section): New function: Use bfd_map_over_sections
24         to find the section to dump.
25         (dump_stabs): Use dump_stabs_section.
26         (dump_section): New function: Display the contents of a
27         section.
28         (dump_data): Use bfd_map_over_sections to display section
29         contents.
30         (dump_relocs_in_section): Display the relocs in a given section.
31         (dump_relocs): Use bfd_map_over_sections to display relocs.
32         (adjust_addresses): New function: Adjust the vma and lma of
33         sections.
34         (dump_bfd): Use bfd_map_over_sections.
35         * doc/binutils.texi: Document the "objdump -s" (no longer)
36         dumps empty sections.
37         
38 2003-08-24  Jonathan R. Grant  <jg-binutils@jguk.org>
39
40         * objdump.c: Improve comments/documentation.
41         dump_data: Eliminate duplicate function calls to bfd_section_size.
42
43 2003-09-02  Alan Modra  <amodra@bigpond.net.au>
44
45         * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
46
47 2003-08-21  Nick Clifton  <nickc@redhat.com>
48
49         * po/tr.po: Updated Turkish translation.
50
51 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
52
53         * dep-in.sed: Remove libintl.h.
54         * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55         Run "make dep-am".
56         * Makefile.in: Regenerate.
57
58 2003-08-11  Ian Lance Taylor  <ian@airs.com>
59
60         * readelf.c (process_archive): Fix error handling.  Remove memory
61         leak.
62
63         * readelf.c: Add ability to read archives.
64         (archive_file_offset): New variable.
65         (archive_file_size): New variable.
66         (get_data): Include archive_file_offset in file offset
67         calculation when fseeking.
68         (process_program_headers): Likewise.
69         (process_symbol_table): Likewise.
70         (process_dynamic_segment): Handle computation of end of file
71         position when the file is in an archive.
72         (process_object): New function.  Contains the body of
73         process_file().
74         (process_archive): New function.  Call process_object on each
75         member of an archive.
76         (process_file): Detect archives and handle appropriately.
77         * Makefile.am: Add dependency on aout/ar.h for readelf.c
78         * Makefile.in: Regenerate.
79         * NEWS: Document readelf's new ability.
80         * doc/binutils: Alter text to say that readelf supports archives
81         and 64-bit ELF files.
82         
83 2003-08-08  Nick Clifton  <nickc@redhat.com>
84
85         * po/fr.po: Updated French translation.
86
87 2003-08-05  Alan Modra  <amodra@bigpond.net.au>
88
89         * objcopy.c: Remove unnecessary prototypes and casts.
90         * objdump.c: Remove unnecessary casts.
91         * readelf.c: Convert to C90.  Remove unnecessary prototypes and casts.
92         (get_osabi_name): Move so we don't need a forward declaration.
93
94 2003-08-04  Bradley Harrington  <bharring@us.ibm.com>
95             Alan Modra  <amodra@bigpond.net.au>
96
97         * objdump.c (include_paths, include_path_count): New vars.
98         (usage): Describe --include.
99         (long_options): Add "include".
100         (add_include_path): New function.
101         (struct print_file_list): Make filename const.  Add modname.
102         (try_print_file_open, update_source_path): New functions.
103         (show_line): Use them.
104         (main): Handle 'I' option.  Don't check for NULL xrealloc arg.
105
106 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
107
108         * objdump.c: Remove unnecessary prototypes.
109         (disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
110         code, and print relocs when dump_dynamic_reloc_info.
111         (disassemble_data): Read and handle dynamic relocs.  Correct reloc
112         skip code.  Formatting.
113         (dump_bfd): Don't dump dynamic relocs when disassembling.
114
115 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
116
117         * MAINTAINERS: Remove self as M88k maintainer.  Future M88k
118         maintenance defaults to the blanket write privilege maintainers.
119
120 2003-07-29  Michael Meissner  <gnu@the-meissners.org>
121
122         * MAINTAINERS: Updated my email address.
123
124 2003-07-29  Nick Clifton  <nickc@redhat.com>
125
126         * objdump.c: Update to ISO C.
127
128 2003-07-24  Nick Clifton  <nickc@redhat.com>
129
130         * objdump.c (disassemble_data): Do not ignore sections without the
131         LOAD flag when disassemble_all is true.  Only print a message
132         about disassembling a section if it contains some data.
133
134         * po/fr.po: Updated French translation.
135
136 2003-07-23  Nick Clifton  <nickc@redhat.com>
137
138         * objcopy.c: Switch to ISO C.  Remove debugging code accidentally
139         left in.  Some formatting tidy ups.
140
141 2003-07-22  Salvador Eduardo Tropea <set@computer.org>
142
143         * objdump.c: New command line option --debugging-tags.
144         * doc/binutils.texi: Document new command line option.
145         * prdbg.c: Code to print the debug info as tags compatible 
146         with ctags.
147         * budbg.h: Adjust prototype.
148         * NEWS: Mention new switch
149         
150 2003-07-18  Nick Clifton  <nickc@redhat.com>
151
152         * objdump.c (main) :Accept multiple -M switch.
153         * doc/binutils.texi: Document that multiple -M switches are
154         accepted and that a single -M switch can contain comma
155         separated options.
156
157 2003-07-17  Nick Clifton  <nickc@redhat.com>
158
159         * objdump.c (main): Issue a warning message if multiple -M
160         switches are used.
161         
162         * doc/binutils.texi (objdump): Update documentation about -M
163         option.
164         
165 2003-07-17  Nick Clifton  <nickc@redhat.com>
166
167         * po/es.po: New Spanish translation.
168
169 2003-07-11  Alan Modra  <amodra@bigpond.net.au>
170
171         * po/binutils.pot: Regenerate.
172
173 2003-07-05  Christopher Faylor  <cgf@redhat.com>
174
175         * dlltool.c (prefix_encode): Use a fixed length for alpha.
176
177 2003-07-04  Christopher Faylor  <cgf@redhat.com>
178
179         * dlltool.c (prefix_encode): New function.  Encode temp file prefix
180         from pid.
181         (dlltmp): Pass address of pointer being alloced or suffer neverending
182         mallocs.
183         (make_one_lib_file): Allocate enough space for new longer stub names.
184         (gen_lib_file): Ditto.
185         (main): Generate the temp file prefix from the pid if prefix was not
186         specified on the command line.
187
188 2003-07-04  Nick Clifton  <nickc@redhat.com>
189
190         * readelf.c (get_data): Print (unsigned) hex values for size and
191         offset in error messages.
192         (process_section_headers): If the string table could not be
193         allocated, do not continue.
194
195 2003-07-01  Jakub Jelinek  <jakub@redhat.com>
196
197         * readelf.c (dynamic_segment_ia64_val): Print address and newline
198         for sections by default.  Comment fix.
199
200 2003-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
201
202         * rcparse.y (res_text_field): New res_id variable.
203         (res_null_text): New static const struct res_id object,
204         with empty unicode name field.
205         (control): Pop parsing of optresidc up one level. Set
206         res_text_field to $2 except for controls which do not accept
207         a text field.  Set res_text_field to res_null_text for the
208         special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
209         (control_params): Adjust to use res_text_field rather
210         than optresidc.
211         (COMBOBOX): Add comment about discrepency between documented
212         vs. observed default style.
213         * resrc.c (define_control): Make first param const.
214         * windres.h (define_control): Adjust prototype.
215
216 2003-06-27  Nick Clifton  <nickc@redhat.com>
217
218         * objcopy.c (copy_object): Replace call to
219         bfd_create_gnu_debuglink_section with seperate calls to
220         bfd_add_gnu_debuglink_section and
221         bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
222         symbol tables.
223
224 2003-06-26  Roland McGrath  <roland@redhat.com>
225
226         * readelf.c (loadaddr): Variable removed.
227         (dynamic_info, version_info): Fix type long -> bfd_vma.
228         (program_headers): New variable.
229         (get_program_headers): New function, broken out of
230         process_program_headers.
231         (process_program_headers): Call it.  Don't set `loadaddr'.
232         (slurp_ia64_unwind_table): Use get_program_headers.
233         (process_corefile_note_segments):  Likewise.
234         (offset_from_vma): New function.
235         (process_relocs, process_dynamic_segment): Call that instead of
236         subtracting `loadaddr'.
237         (process_version_sections, process_symbol_table): Likewise.
238         (process_mips_specific): Likewise.
239
240 2003-06-26  Nick Clifton  <nickc@redhat.com>
241
242         * objcopy (enum strip_action): Add STRIP_NONDEBUG.
243         (OPTION_ONLY_KEEP_DEBUG): New.
244         (strip_options): Add --only-keep-debug.
245         (copy_options): Likewise.
246         (is_strip_section): Invert return value if STRIP_NONDEBUG is
247         active.
248         (copy_object): Do not copy private data when STRIP_NONDEBUG is
249         active.
250         (setup_section): Likewise.
251         (strip_main): Handle --only-keep-debug.
252         (copy_main): Likewise.
253         * NEWS: Mention new switch
254         * doc/binutils.texi: Document new switch.
255
256 2003-06-25  Alan Modra  <amodra@bigpond.net.au>
257
258         * NEWS: Correct spelling of "relocatable".
259         * objdump.c: Likewise.
260         * sysroff.info: Likewise.
261
262 2003-06-19  Nick Clifton  <nickc@redhat.com>
263
264         * readelf.c (print_vma): When printing DEC_5 values, if the
265         number is bigger than 99999 switch to using hexadecimal
266         notation.
267
268 2003-06-11  Nick Clifton  <nickc@redhat.com>
269
270         * objcopy.c (gnu_debuglink_filename): New variable.
271         (OPTION_ADD_GNU_DEBUGLINK): New switch
272         (copy_options): Describe --add-gnu-debuglink switch.
273         Mention that --strip-debug removes sections as well.
274         (is_strip_section): Process the sections removed and kept
275         lists before checking for debugging sections.
276         (add_redefine_syms_file): Make function static.
277         (copy_object): Use is_strip_section.
278         Check to see if a .gnu_debuglink section should be added.  If
279         so, call bfd_add_gnu_debuglink.
280         (setup_section): Use is_strip_section.
281         (copy_section): Use is_strip_section.
282         (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
283         * NEWS: Mention new objcopy switch.
284         * doc/binutils.texi: Document new switch.
285
286 2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
287
288         * po/Make-in (DESTDIR): New.
289         (install-data-yes): Support $(DESTDIR).
290         (uninstall): Likewise.
291
292 2003-06-11  Alan Modra  <amodra@bigpond.net.au>
293
294         * Makefile.in: Regenerate.
295
296 2003-05-23  Jakub Jelinek  <jakub@redhat.com>
297
298         * readelf.c (get_segment_type): Handle PT_GNU_STACK.
299
300 2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
301
302         * NEWS: Document the new BSD/POSIX single-character mapping for
303         .comment/.note sections.
304         
305 2003-06-02  Chris Demetriou  <cgd@broadcom.com>
306             Jason Thorpe  <thorpej@wasabisystems.com>
307
308         * objcopy.c (redefine_list_append): Add an argument that
309         indicates the context from which this function is being
310         called.  Change all callers.
311         (copy_options): Add a new option, --redefine-syms.
312         (copy_usage): Document new option.
313         (copy_main): Handle the --redefine-syms option.
314         * doc/binutils.text (objcopy): Document new option.
315
316 2003-05-31  Richard Henderson  <rth@redhat.com>
317
318         * readelf.c (byte_get_signed): New.
319         (get_encoded_value): New.
320         (display_debug_frames): Use it.  Always pre-process opcodes.
321
322 2003-05-20  Michal Ludvig  <mludvig@suse.cz>
323
324         * readelf.c (display_debug_frames): Print both registers
325         for DW_CFA_register.
326
327 2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
328
329         * configure.in: Accept i[3-7]86 variants. Escape '[]' for
330         i[3-7]86-*-interix.
331         * configure.in: Regenerate.
332
333 2003-05-13  Michael Eager <eager@mvista.com>
334
335         * objcopy.c: Treat identical src/dst file names as if only one
336         entered.  One Windows creating an output file of the same name as
337         the input file will delete the input file before it is read.
338
339 2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
340
341         * debug.c (debug_get_real_type): Extend test for circular debug
342         references.
343
344 2003-05-12  Nick Clifton  <nickc@redhat.com>
345
346         * configure.in (ALL_LINGUAS): Add zh_CN.
347         * configure: Regenerate.
348         * po/zh_CN.po: New file: Chinese (simplified) translation.
349
350 2003-05-11  Jason Eckhardt  <jle@rice.edu>
351
352         * MAINTAINERS: Update my mail address.
353
354 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
355
356         * readelf.c (dump_relocations): Enlarge the type field in wide
357         mode by one character.
358
359 2003-05-03  Richard Henderson  <rth@redhat.com>
360
361         * readelf.c (struct Frame_Chunk): Add cfa_exp.
362         (frame_display_row): Just print "exp" for cfa or register
363         defined by a location expression.
364         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
365         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
366
367 2003-04-30  H.J. Lu <hjl@gnu.org>
368
369         * objdump.c (only): Change it to char **.
370         (only_size): New.
371         (only_used): New.
372         (disassemble_data): Check only as an array.
373         (dump_data): Likewise.
374         (dump_relocs): Likewise.
375         (main): Treat only as an array.
376
377 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
378
379         * doc/binutils.texi: Fix the documentation for the -fo option.
380
381 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
382
383         * readelf.c (get_machine_name) <EM_SH>: Amend return value
384         to refer to SuperH.
385
386         * readelf.c (decode_location_expression): Don't add a trailing ';'.
387
388 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
389             Nick Clifton  <nickc@redhat.com>
390
391         * windres.c (long_options): Move close to main, where it is used.
392         Add 'input' and 'output' long options.
393         (main): Accept "-fo" as an alias for "-o".  This is for rc
394         comptibility.
395         * doc/binutils.texi: Mention that -fo is accepted as an alias for
396         -o, but discourage its use.
397
398 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
399
400         * windres.c (format_from_name): Make the exit on error
401         behaviour optional.
402         (main): Rename the -I option to -J. Introduce -I as a synonym
403         for --include-dir.  For backwards compatibility also support the
404         old -I behaviour, but issue a deprecation warning.
405         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
406         of the -I option.
407
408 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
409
410         * readelf.c: Replace references to Mitsubishi M32R with
411         references to Renesas M32R.
412
413 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
414
415         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
416
417 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
418
419         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
420         for debugging information types not supported by objdump.
421
422 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
423
424         * configure.in: Recognize canonical form of i[3-6]86-pe*.
425         * configure: Regenerate.
426
427 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
428
429         * readelf.c (display_debug_info): Apply RELA relocations on the
430         entire section.
431         (byte_put_little_endian, byte_put_big_endian): New functions.
432         (byte_put): New variable.
433         (get_file_header): Initialize it.
434
435 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
436
437         * windres.c: Add -l for compatibility with wrc, and rc.
438         Use the short option as a key for long options that have
439         a synonymous short option.
440         * doc/binutils.texi: Added -l to the list of options.
441
442 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
443
444         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
445         (main): Just pass the -U option down to the preprocessor.
446         * doc/binutils.texi: Added -U to the list of options.
447
448 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
449
450         * windres.c (usage): Report -r option.
451         (main): Ignore the -r option.
452         * doc/binutils.texi: Add -r to the list of options.
453
454 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
455
456         * MAINTAINERS: Add myself as Xtensa maintainer.
457
458 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
459
460         * readelf.c: Include "elf/xtensa.h".
461         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
462         targets that use RELA relocations.
463         (dump_relocations): Call elf_xtensa_reloc_type for
464         EM_XTENSA and EM_XTENSA_OLD.
465         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
466
467 2003-04-01  Nick Clifton  <nickc@redhat.com>
468
469         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
470         thumb-pe*, mcore-pe and mcore-*elf.
471         * configure: Regenerate.
472
473 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
474
475         * objdump.c (dump_data): Don't truncate the address to long; make
476         the width large enough, and uniform for all entries in a section.
477
478 2003-03-31  H.J. Lu <hjl@gnu.org>
479
480         * readelf.c: Include "libiberty.h".
481         (dynamic_relocations): New.
482         (process_relocs): Properly handle dynamic relocation.
483         (process_dynamic_segment): Fill relocation elements in
484         dynamic_info.
485
486 2003-03-31  Kevin Buettner <kevinb@redhat.com>
487
488         * readelf.c (read_and_display_attr, read_and_display_attr_value):
489         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
490         all callers.
491         (display_debug_lines, display_debug_pubnames, display_debug_info)
492         (display_debug_aranges, display_debug_frames, read_and_display_attr)
493         (read_and_display_attr_value): Add 64-bit DWARF support.
494
495 2003-03-31  Ian Lance Taylor <ian@airs.com>
496
497         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
498         (optresid): Handle a resource id that can be a string or a number.
499         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
500         struct res_id.
501         (define_icon_control): Pass a struct res_id to define_control.
502         * windres.h (define_control): Change prototype.
503
504 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
505
506         * objcopy (OPTION_FORMATS_INFO): Define.
507         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
508         (copy_options): Likewise.
509         (strip_usage): Add "--info" to usage.
510         (copy_usage): Likewise.
511         (strip_main): Declare formats_info. Iniatilize it to FALSE.
512         Handle "info".
513         (copy_main). Likewise.
514         * doc/binutils.texi. Document the "--info" option for
515         objcopy/strip.
516         * NEWS: Mention the new command line switch.
517
518         * objdump.c (endian_string): Move to bucomm.c.
519         (display_info): Likewise.
520         (display_target_list): Likewise.
521         (display_info_table): Likewise.
522         (display_target_tables): Likewise.
523         (main): Assign the return value of display_info to exit_status.
524         * bucomm.c: Include bfdver.h and libbfd.h
525         (display_target_list): Call bfd_nonfatal instead of nonfatal and
526         return 0 on a non-fatal error, 1 on success.
527         (display_info_table): Likewise. 
528         * bucomm.h (display_info): Provide a prototype.
529         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
530         libbfd.h.
531         * Makefile.in: Regenerate.
532
533 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
534
535         * dlltool.c (gen_def_file): Put demangled name comments on
536         own line preceding export name.
537
538 2003-03-17  Nick Clifton  <nickc@redhat.com>
539
540         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
541         printf for emitting new lines.
542
543 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
544
545         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
546         the symbol's value when --size-sort is used, unless -S is used.
547         doc/binutils.texi (--size-sort): For non-bsd formats both the
548         value and size of the symbols are displayed.
549         
550 2003-03-13  Nick Clifton  <nickc@redhat.com>
551
552         * po/da.po: Update.
553
554 2003-03-12  Nick Clifton  <nickc@redhat.com>
555
556         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
557
558 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
559
560         * MAINTAINERS: Update my mail address.
561
562 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
563
564         * stabs.c (BYTES_IN_WORD): Remove definition.
565         * wrstabs.c (BYTES_IN_WORD): Likewise.
566
567 2003-03-04  Nick Clifton  <nickc@redhat.com>
568
569         * nm.c (main): Print a warning message if --size-sort and
570         --undefined-only are used together.
571
572 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
573
574         * nm.c (print_symbol): Remove check for undefined_only.
575         
576 2003-03-03  Nick Clifton  <nickc@redhat.com>
577
578         * po/da.po: Installed latest translation.
579
580 2003-02-24  Nick Clifton  <nickc@redhat.com>
581
582         * README: Update binutils references to 2.13.
583         Add paragraph about using --disable-nls.
584
585 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
586
587         * doc/binutils.texi (nm --size-sort): Update.
588
589 2003-02-21  James E Wilson  <wilson@tuliptree.org>
590
591         * MAINTAINERS: Update email address.
592
593 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
594
595         * readelf.c (get_ia64_dynamic_type): New function.
596         (dynamic_segment_ia64_val): New function.
597         (get_dynamic_type): If machine type is EM_IA_64 call
598         get_ia64_dynamic_val.
599         (get_ia64_section_type_name): Handle sections with types in the
600         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
601         (get_dynamic_flags): If machine type is EM_IA_64 call
602         dynamic_segment_ia64_val.
603
604 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
605
606         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
607         section title capitalization more consistent.  Update descriptions
608         of various options to be consistent with the code.  Fix errors and
609         incomplete list in the description of c++filt format options.  Remove
610         information about the linker.  Change to be more polite about poor
611         bug reports.  Replace FDL appendix with include of fdl.texi.
612         * doc/fdl.texi: New file.
613
614 2003-02-21  Roger Sayle  <roger@eyesopen.com>
615
616         * objcopy.c (filter_symbols): Fix compilation problems with
617         HP-UX's C compiler.
618
619 2003-02-19  Christopher Faylor  <cgf@redhat.com>
620
621         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
622         previous change.
623
624 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
625
626         * rclex.l (handle_quotes): Handle strings spanning more than one line.
627
628 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
629
630         * nm.c (usage): Add `java' and `gnat' demangle styles and make
631         quotes consistent.
632         * objdump.c (usage): Ditto.  Also fix some typos.
633
634         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
635
636         * debug.c (debug_record_variable): Handle global register variables.
637
638         * stabs.c (parse_stab): For N_SLINE only include
639         function_start_offset if the symbol is within a function;
640         otherwise, the value is absolute.
641
642 2003-02-10  Nick Clifton  <nickc@redhat.com>
643
644         * readelf.c (decode_ARM_machine_flags): Handle the
645         EF_ARM_MAVERICK_FLOAT flag.
646
647 2003-02-04  Andreas Schwab  <schwab@suse.de>
648
649         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
650         long and use %ld in printf format.
651
652 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
653
654         * readelf.c (dump_relocations): Reorder the r_info field for
655         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
656
657 2003-01-21  Daniel Berlin  <dan@dberlin.org>
658
659         * readelf.c (display_debug_loc): Skip address base changes.
660
661 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
662
663         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
664         and ELFOSABI_NSK.
665
666 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
667
668         * readelf.c: Include elf/ppc64.h.
669         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
670         * Makefile.am: Run "make dep-am".
671         * Makefile.in: Regenerate.
672
673 2003-01-02  Ben Elliston  <bje@redhat.com>
674
675         * readelf.c (guess_is_rela): Handle EM_IQ2000.
676         (get_machine_name): Likewise.
677         (dump_relocations): Likewise.
678         * NEWS: Mention IQ2000 support.
679
680 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
681
682         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
683
684 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
685
686         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
687         changes in MIPS -M options.
688
689 2002-12-30    Dmitry Diky <diwil@mail.ru>
690
691         * Makefile.am: Add msp430 target.
692         * Makefile.in: Regenerate.
693         * readelf.c: Add support for msp430 target.
694
695 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
696
697         * doc/binutils.texi (objdump): Document MIPS -M options.
698
699 2002-12-23  Andreas Schwab  <schwab@suse.de>
700
701         * readelf.c (main): Reset dump request after each file.
702
703 2002-12-23  Nick Clifton  <nickc@redhat.com>
704
705         * nlmconv.c (main): Pass TRUE as third argument to
706         bfd_arch_get_compatible.
707
708 2002-12-23  Nick Clifton  <nickc@redhat.com>
709
710         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
711         macro.  Handle 'S' encoding, accepting 8-bit characters.
712         (main): Parse 'S' encoding.
713         (get_char): Accept 'S' encoding.
714         (print_strings): Use STRING_ISGRAPHIC.
715         (usage): Document support of 'S' encoding.
716         * doc/binutils.texi: Document support of 'S' encoding/
717         * NEWS: Mention new feature.
718
719 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
720
721         * README <building ar>: Don't use libibery's needed_list or
722         required_list, instead link libiberty/*.o.
723
724 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
725
726         * doc/binutils.texi: Fix typos.
727
728 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
729
730         * doc/binutils.texi: Add missing parenthesis.
731
732 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
733
734         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
735         symbols by adding the given prefix to the begining of the symbol
736         name. This is useful to provide name space seperation regardless
737         of how the object file was created. Added --prefix-sections=
738         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
739         sections (or all sections with the alloc flag set) by adding the given
740         prefix to the begining of the symbol name.
741         * NEWS: Mention this new feature.
742         * doc/binutils.texi: Document this new feature.
743
744 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
745
746         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
747         dyn_string_append with dyn_string_append_cstr.
748
749         * emul_aix.c (ar_emul_aix_create): Remove unused function.
750
751 2002-12-10  James Cownie <jcownie@etnus.com>
752
753         * readelf.h (get_TAG_name, get_AT_name,
754         read_and_display_attr_value): Add support for UPC extensions to
755         DWARF2 spec.
756         * NEWS: Mention this new support.
757
758 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
759
760         * NEWS: Mention that bfd no longer declares a "boolean" type.
761
762 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
763
764         * readelf.c (process_program_headers): When setting loadaddr, don't
765         assume segment size is 4k.  Use p_align instead.
766         (loadaddr): Change from int to long.
767         (dynamic_addr, dynamic_info, version_info): Likewise.
768         (process_dynamic_segment <syminsz>): Likewise.
769         (process_dynamic_segment): Adjust print format string.
770         (rela_addr, rela_size): Delete.
771         (process_relocs): Formatting.
772
773 2002-12-05  Jim Wilson  <wilson@redhat.com>
774
775         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
776         * configure: Regenerate.
777
778 2002-12-04  Ian Lance Taylor  <ian@airs.com>
779
780         * MAINTAINERS: Change e-mail address back to airs.com.
781
782 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
783
784         * MAINTAINERS: Add self.
785
786 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
787
788         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
789         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
790         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
791         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
792         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
793         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
794         with TRUE/FALSE.  Formatting.
795
796 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
797
798         * readelf.c Replace occurrences of Elf32_Internal_* and
799         Elf64_Internal_* with Elf_Internal_*.
800         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
801         Zero r_addend fields.
802         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
803         Elf_Internal_Rela.
804
805 2002-11-23  Nick Clifton  <nickc@redhat.com>
806
807         * size.c (usage): Fix typo describing switch for hex format.
808
809 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
810
811         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
812         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
813         testcase
814
815 2002-11-14  Nick Clifton  <nickc@redhat.com>
816
817         * readelf.c (process_program_headers): Add comment about return
818         value.  Ensure that 0 is returned if the headers are not loaded.
819         (process_file): If process_section_headers failed to load the
820         headers disable any tests that rely upon them.  Similarly for
821         process_program_headers.
822
823 2002-11-12  Nick Clifton  <nickc@redhat.com>
824
825         * po/da.po: Updated Danish translation.
826
827 2002-11-12  Klee Dienes  <kdienes@apple.com>
828
829         * rddbg.c (read_section_stabs_debugging_info): Also recognize
830         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
831
832 2002-11-11  Christopher Faylor  <cgf@redhat.com>
833
834         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
835         cgf maintainership.
836
837 2002-11-11  Christopher Faylor  <cgf@redhat.com>
838
839         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
840
841 2002-11-07  Nick Clifton  <nickc@redhat.com>
842
843         * configure.in (ALL_LINGUAS): Add 'da'.
844         * configure: Regenerate.
845         * po/da.po: New Danish translation.
846
847         * readelf.c (get_symbol_index_type): Revert part of previous
848         patch: Display unknown symbol types in decimal, not hex.
849
850 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
851
852         * dlltool.c (add_excludes): Don't prefix excluded fastcall
853         symbols with underscore.
854         (xlate): Ignore add_underscore for decorated fastcall symbols.
855
856 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
857
858         * deflex.l: Accept '@' as first character of an ID.
859         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
860         ASM_PREFIX for fastcall symbols.
861         (scan_drectve_symbols): Handle fastcall symbols when generating
862         undecorated aliases for symbols in drectve section.
863         (scan_filtered_symbols): Likewise, with export-all.
864         (xlate): Likewise, with --kill-at.
865         (make_imp_label): New function to handle fastcall symbols
866         correctly.
867         (make_one_lib_file): Use make_imp_label instead of make_label
868         for imp symbols.
869
870 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
871
872         * MAINTAINERS: Add self as TIC4X maintainer.
873
874 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
875
876         * readelf.c (get_symbol_index_type): Add hex number to
877         PROCESSOR-specific, OS-specific, reserved and unknown symbol
878         types.
879
880 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
881
882         * readelf.c (byte_get_little_endian): Comment typo fix.
883         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
884         as the format string.
885         (dump_relocations): Correct section sym names.
886         (process_section_headers): Clear symtab_shndx_hdr.
887         (read_and_display_attr_value): Don't pass indirect string to printf
888         as the format string.
889         (display_debug_frames): Indicate when zero terminator found.  Decode
890         DW_EH_PE_pcrel addresses.
891
892 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
893
894         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
895         order to ensure proper disassembly of the valid 0-value opcode.
896         * configure: Regenerate.
897         * aclocal.m4: Regenerate.
898         * config.in: Regenerate.
899         * configure.in: Regenerate.
900         * doc/Makefile.in: Regenerate.
901         * po/binutils.pot: Regenerate.
902
903 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
904
905         * MAINTAINERS: Add self as SH maintainer.
906
907 2002-10-23  Ben Elliston  <bje@redhat.com>
908
909         * doc/binutils.texi (objdump): Document -z and move the entry for
910         --disassemble-zeroes to the end of the options section (for `z').
911
912 2002-10-21  Nick Clifton  <nickc@redhat.com>
913
914         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
915
916 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
917
918         * objdump.c (dump_data): Correct addr_offset for opb != 1.
919
920 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
921
922         * bucomm.c (list_supported_targets): Use bfd_target_list.
923
924         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
925         other object errors in preference to bfd_core errors.
926
927 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
928
929         * Makefile.am: Run "make dep-am".
930         * objdump.c: #include "bfdver.h".
931         * version.c: Likewise.
932         * Makefile.in: Regenerate.
933         * config.in: Regenerate.
934         * configure: Regenerate.
935         * po/POTFILES.in: Regenerate.
936
937 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
938
939         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
940         sections.  Allow relocations against the absolute symbol.  Don't
941         use the value in compunit.cu_abbrev_offset if we found a RELA
942         relocation.
943
944 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
945
946         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
947         ordinary ones are available.
948
949 2002-09-30  H.J. Lu <hjl@gnu.org>
950
951         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
952         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
953
954 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
955
956         * Makefile.am (CFILES): Add cxxfilt.c.
957         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
958         (cxxfilt_LDADD): Delete.
959         Remove all references to underscore.c.
960         Regen dependencies.
961         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
962         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
963         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
964         adjustments to fit into binutils framework.
965         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
966
967 2002-09-12  Roland McGrath  <roland@redhat.com>
968
969         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
970         Handle DW_OP_GNU_push_tls_address.
971
972 2002-09-11  Nick Clifton  <nickc@redhat.com>
973
974         * po/tr.po: Updated Turkish translation.
975
976 2002-09-10  Nick Clifton  <nickc@redhat.com>
977
978         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
979         testsuite changes.  Add paragraphs about testsuite and config
980         patches.
981
982 2002-08-29  Nick Clifton  <nickc@redhat.com>
983
984         * readelf.c (get_machine_flags): Remove redundant reference to
985         E_V850EA_ARCH.
986
987 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
988
989         * objdump.c (dump_bfd): Restore lines accidentally deleted in
990         last commit.
991
992 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
993
994         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
995         (dump_bfd_header): Likewise.
996
997 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
998
999         * nm.c: Revert last change.
1000
1001 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
1002
1003         * nm.c (display_rel_file): Don't report "no symbols" as an error.
1004         * objdump.c (slurp_symtab): Likewise.
1005         (slurp_dynamic_symtab): Likewise.
1006         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
1007
1008 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
1009
1010         * MAINTAINERS: Change my mailing address.
1011
1012 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1013
1014         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1015
1016 2002-08-22  Nick Clifton  <nickc@redhat.com>
1017
1018         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1019         HPPA.
1020
1021 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1022
1023         * readelf.c (parse_args): Change debug_dump_opt to static.
1024
1025 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
1026
1027         * stabs.c (parse_stab_argtype): Pass length of physname to
1028         stab_demangle_argtypes.
1029         (stab_demangle_argtypes): Add new parameter - length of physname.
1030         Pass length of physname on to stab_demangle_prefix.
1031         (stab_demangle_prefix): Add new parameter - length of physname.
1032         Use length of physname (if supplied) to compute end of function
1033         name.
1034
1035 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
1036
1037         * readelf.c: Include elf/i370.h.
1038         (dump_relocations): Handle EM_S370.
1039         (dynamic_segment_parisc_val): Print \n.
1040         (process_dynamic_segment <DT_BIND_NOW>): Here too.
1041
1042 2002-08-14  Nick Clifton  <nickc@redhat.com>
1043
1044         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1045         * objdump.c (usage): Likewise.
1046         * doc/binutils.texi: Likewise.
1047
1048 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
1049
1050         * rcparse.y (acc_entry): Don't warn about ALT use with
1051         non-VIRTKEY.
1052
1053 2002-08-13  H.J. Lu <hjl@gnu.org>
1054
1055         * objcopy.c (copy_object): Don't warn about the unsupported
1056         architecture unless the input target is defaulted or the
1057         output architecture is different from the input.
1058
1059 2002-08-09  Nick Clifton  <nickc@redhat.com>
1060
1061         * po/sv.po: Updated Swedish translation.
1062
1063 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
1064
1065         * prdbg.c (pr_fix_visibility): Remove assert.
1066
1067 2002-07-31  Nick Clifton  <nickc@redhat.com>
1068
1069         * addr2line.c (process_file): Rename parameter 'filename' to
1070         'file_name' in order to avoid shadowing global symbol of the
1071         same name.
1072         (main): Likewise.
1073
1074 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
1075
1076         * readelf.c (OPTION_DEBUG_DUMP): Define.
1077         (options): Use it.
1078         (usage): Update help.
1079         (parse_args): Handle --debug-dump separately from -w.
1080         * doc/binutils.texi (readelf): Update documentation.
1081
1082 2002-07-25  Nick Clifton  <nickc@redhat.com>
1083
1084         * po/es.po: Updated Spanish translation.
1085         * po/fr.po: Updated French translation.
1086
1087 2002-07-24  Nick Clifton  <nickc@redhat.com>
1088
1089         * po/es.po: Updated Spanish translation.
1090
1091 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
1092
1093         * Makefile.am: Run "make dep-am".
1094         * Makefile.in: Regenerate.
1095
1096 2002-07-23  Nick Clifton  <nickc@redhat.com>
1097
1098         * po/fr.po: Updated French translation.
1099
1100 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
1101
1102         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1103
1104 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
1105
1106         * budemang.c: Include config.h and string.h/strings.h.
1107
1108 2002-07-18 Denis Chertykov  <denisc@overta.ru>
1109            Frank Ch. Eigler  <fche@redhat.com>
1110
1111         * readelf.c: Include "elf/ip2k.h".
1112         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1113         (dump_relocations): Likewise.
1114         (get_machine_name): Likewise.
1115         * NEWS: Mention IP2K support.
1116
1117 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
1118
1119         * NEWS: Add 'Changes in 2.13'.
1120
1121 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
1122
1123         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1124         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1125         (get_section_type_name): Handle SHT_GNU_LIBLIST.
1126         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1127         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1128         (process_gnu_liblist): New.
1129         (process_file): Call it.
1130
1131 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
1132
1133         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1134         * Makefile.in: Regenerate.
1135
1136 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
1137
1138         * budemang.c: New file, "demangle" function.
1139         * budemang.h: New file.
1140         * addr2line.c (translate_addresses): Use "demangle".
1141         * nm.c (print_symname): Likewise.
1142         * objdump.c (objdump_print_symname): Likewise.
1143         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
1144         here since that obfuscates.
1145         * rdcoff.c: Don't #include demangle.h.
1146         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1147         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
1148         (HFILES): Add budemang.h.  Sort.
1149         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1150         Run "make dep-am".
1151         * Makefile.in: Regenerate.
1152
1153 2002-07-01  Matt Thomas  <matt@3am-software.com>
1154
1155         * readelf.c: Include "elf/vax.h".
1156         (guess_is_rela): Move EM_VAX from unknown to RELA case.
1157         (dump_relocations): Handle VAX relocations.
1158         (get_machine_flags): Handle VAX machine flags.
1159
1160 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
1161
1162         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1163
1164 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
1165
1166         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1167
1168 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
1169
1170         * nm.c (print_symname): When demangling, strip leading dots from
1171         symbol names to avoid confusing the demangler.
1172
1173 2002-06-25  H.J. Lu <hjl@gnu.org>
1174
1175         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1176         * Makefile.in: Regenerated.
1177
1178 2002-06-21  Igor Schein  <igor@txc.com>
1179
1180         * configure.in: Quote bu_cv_have_fopen64.
1181         * configure: Regenerate.
1182
1183 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
1184
1185         * configure.in: Check for strcoll.
1186         * configure: Regenerate.
1187         * config.in: Regenerate.
1188         * nm.c (main): Set locale for LC_COLLATE category.
1189         (non_numeric_forward): Use strcoll if available.
1190
1191 2002-06-20  Dave Brolley  <brolley@redhat.com>
1192
1193         * MAINTAINERS: Add self as fr30 and frv maintainer.
1194
1195 2002-06-18  H.J. Lu  (hjl@gnu.org)
1196
1197         * nm.c: Include "elf/common.h".
1198         (extended_symbol_info): Add elfinfo, a pointer to
1199         elf_symbol_type.
1200         (SYM_SIZE): Use elfinfo if it is not NULL.
1201         (get_symbol_type): New function.
1202         (display_archive): Set print_width for each archive member.
1203         (display_file): Likewise.
1204         (display_rel_file): Don't set print_width here.
1205         (print_object_filename_sysv): Handle print_width.
1206         (print_archive_member_sysv): Likewise.
1207         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1208         (print_symbol): Set the elfinfo field in extended_symbol_info
1209         for ELF.
1210         (print_object_filename_sysv): Fix the output format.
1211         (print_symbol_info_sysv): Print type and section for ELF.
1212
1213 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
1214
1215         * nm.c (print_size_symbols): Remove assignment, which makes
1216         the symbol's size equal to its value when --size-sort is
1217         used.
1218
1219 2002-06-18  Dave Brolley  <brolley@redhat.com>
1220
1221         From Catherine Moore:
1222         * readelf.c (elf/frv.h): #include it.
1223         (guess_is_rela): Support EM_CYGNUS_FRV.
1224         (dump_relocations): Ditto.
1225         (get_machine_name): Ditto.
1226         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1227
1228 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
1229
1230         * readelf.c (get_file_header): Only read the first section header if
1231         e_shoff is non-zero.
1232
1233 2002-06-15  H.J. Lu  (hjl@gnu.org)
1234
1235         * nm.c (print_size): New variable. Initialize to 0.
1236         (long_options): Add 'S'/"print-size".
1237         (main): Handle 'S'.
1238         (print_symbol_info_bsd): Print size only if print_size is not
1239         0.
1240
1241         * doc/binutils.texi: Document -S/--print-size.
1242
1243 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
1244
1245         * nm.c (struct extended_symbol_info): New strcuture: Add the size
1246         of the symbols to the information provided by the symbol_info
1247         structure.
1248         (print_symbols): Pass the symbol size to print_symbol.
1249         (print_size_symbols): Pass the symbol size to print_symbol.
1250         (print_symbol): Extra argument: The size of the symbol.  Store
1251         this in the extended_symbol_info structure.
1252         (print_symbol_info): Change type of info parameter to
1253         extended_symbol_info.  Display the size, if known.
1254         (print_symbol_info_posix): Likewise.
1255         (print_symbol_info_sysv): Likewise.
1256
1257 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
1258
1259         * Makefile.am: Run "make dep-am".
1260         * Makefile.in: Regenerate.
1261         * doc/Makefile.in: Regnerate.
1262
1263         * bucomm.c: Replace CONST with const.
1264         * nm.c: Likewise.
1265         * objdump.c: Likewise.
1266
1267 2002-06-07  H.J. Lu <hjl@gnu.org>
1268
1269         * readelf.c (DW_CFA_GNU_args_size): Don't define.
1270         (DW_CFA_GNU_negative_offset_extended): Likewise.
1271         (DW_CFA_GNU_window_save): Likewise.
1272         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1273         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1274
1275 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
1276
1277         * nm.c: When computing size of symbols for an ELF target use the
1278         internal size field.
1279
1280 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1281
1282         * testsuite/binutils-all/objcopy.exp: clear xfail for
1283         "hppa*64*-*-hpux*".
1284         * testsuite/binutils-all/hppa/objdump.exp: Return if
1285         "*64*-*-*".
1286
1287 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
1288
1289         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1290
1291 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
1292
1293         * objdump.c: Fix formatting.
1294
1295 2002-05-29  Ben Elliston  <bje@redhat.com>
1296
1297         * MAINTAINERS: Add self as M68k maintainer.
1298
1299 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
1300
1301         * readelf.c: Modified/Added DLX elf support.
1302
1303 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
1304
1305         * arsup.c: Fix formatting.
1306         * debug.c (debug_record_label): Add missing colon to error
1307         message.
1308         * ieee.c (parse_ieee_ty): Fix spelling typo.
1309         * readelf.c (process_program_headers): Remove English assumption
1310         about making a plural word.
1311         (process_section_headers): Likewise.
1312         (process_relocs): Allow quotes to be translated.
1313         (process_unwind): Likewise,
1314         (process_mips_specific): Improve error message.
1315         (get_note_type): Fix spelling typo.
1316
1317         * configure.in (ALL_LINGUAS): Add sv
1318         * po/sv.po: New file.
1319
1320 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
1321
1322         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1323         (unw_print_grmask): Likewise.
1324         (unw_print_frmask): Likewise.
1325
1326 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1327
1328         * arsup.c: Remove ARGSUSED.
1329         * debug.c: Likewise.
1330         * ieee.c: Likewise.
1331         * nlmconv.c: Likewise.
1332         * prdbg.c: Likewise.
1333         * stabs.c: Likewise.
1334         * wrstabs.c: Likewise.
1335
1336 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
1337
1338         * arlex.l: Use #include "" instead of <> for local header files.
1339         * coffdump.c: Likewise.
1340         * coffgrok.c: Likewise.
1341         * nlmconv.c: Likewise.
1342         * nlmheader.y: Likewise.
1343         * srconv.c: Likewise.
1344         * strings.c: Likewise.
1345         * sysdump.c: Likewise.
1346         * unwind-ia64.h: Likewise.
1347         * windres.h: Likewise.
1348         * winduni.h: Likewise.
1349
1350 2002-05-24  Tom Rix  <trix@redhat.com>
1351
1352         * MAINTAINERS: Add self as the d10v maintainer.
1353
1354 2002-05-24   TAMURA Kent <kent@netbsd.org>
1355
1356         * configure.in: Builds dlltool for i386-netbsdpe.
1357         * configure: Regenerate.
1358
1359 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1360
1361         * size.c: Fix formatting.
1362         * srconv.c: Likewise.
1363         * stabs.c: Likewise.
1364         * sysdump.c: Likewise.
1365         * unwind-ia64.c: Likewise.
1366         * wrstabs.c: Likewise.
1367
1368 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1369
1370         * readelf.c (get_segment_type): Add PT_TLS.
1371         (get_elf_section_flags): Add SHF_TLS.
1372         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1373         (process_dynamic_segment): Use puts instead of printf.
1374         (get_symbol_type): Support STT_TLS.
1375         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1376         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1377         Add SEC_THREAD_LOCAL.
1378
1379 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1380
1381         * rdcoff.c: Fix formatting.
1382         * rddbg.c: Likewise.
1383         * readelf.c: Likewise.
1384         * rename.c: Likewise.
1385         * resbin.c: Likewise.
1386         * resrc.c: Likewise.
1387         * resres.c: Likewise.
1388
1389 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1390
1391         * filemode.c: Fix formatting.
1392         * ieee.c: Likewise.
1393         * is-ranlib.c: Likewise.
1394         * is-strip.c: Likewise.
1395         * maybe-ranlib.c: Likewise.
1396         * maybe-strip.c: Likewise.
1397         * nlmconv.c: Likewise.
1398         * nm.c: Likewise.
1399         * not-ranlib.c: Likewise.
1400         * not-strip.c: Likewise.
1401         * objcopy.c: Likewise.
1402         * objdump.c: Likewise.
1403
1404 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1405
1406         * objdump.c (dump_headers): Fix output formatting for ELF32
1407         architectures in a BFD64 enabled toolchain.
1408
1409 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1410
1411         * debug.c: Fix formatting.
1412         * debug.h: Likewise.
1413         * dlltool.c: Likewise.
1414         * dllwrap.c: Likewise.
1415         * emul_aix.c: Likewise.
1416         * emul_vanilla.c: Likewise.
1417
1418 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1419
1420         * addr2line.c: Fix formatting.
1421         * ar.c: Likewise.
1422         * arsup.c: Likewise.
1423         * arsup.h: Likewise.
1424         * binemul.c: Likewise.
1425         * binemul.h: Likewise.
1426         * bucomm.c: Likewise.
1427         * coffdump.c: Likewise.
1428         * coffgrok.c: Likewise.
1429         * coffgrok.h: Likewise.
1430
1431 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1432
1433         * MAINTAINERS: Add myself as the second AVR port maintainer.
1434
1435 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1436
1437         * MAINTAINERS: Update my email address.
1438
1439 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1440
1441         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1442
1443 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1444
1445         * configure.in: Replace `*pe' with `pe' throughout.
1446         * configure: Regenerate.
1447
1448 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1449
1450         * Makefile.am: Honour DESTDIR.
1451         * Makefile.in: Regenerate.
1452
1453 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1454
1455         * dlltool.c (process_def_file): Add missing prototype.
1456         (new_directive, assemble_file, main): Likewise.
1457         (process_def_file, new_directive): Make static.
1458         (inform): Rewrite using VA_FIXEDARG.
1459         * dllwrap.c (mybasename): Add missing prototype.
1460         (strhash, main): Likewise.
1461         (inform): Rewrite using VA_FIXEDARG.
1462         (warn): Likewise.
1463         (cleanup_and_exit): Use old style function definition.
1464         (strhash): Likewise.
1465         * windres.c (define_resource): Use one memset to clear all of
1466         struct res_resource.
1467
1468         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1469         call to rules that need no lookahead.  Check for no lookahead.
1470
1471 2002-05-06  Borut Razem  <borut.razem@siol.net>
1472
1473         * rclex.l (get_string): Correct "strings" list handling.
1474         * resrc.c (read_rc_file): Discard strings.
1475
1476 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1477
1478         * ar.c (replace_members): Remove unused var.  Formatting fix.
1479         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1480
1481         * MAINTAINERS: Sort port maintainers by CPU.
1482
1483 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1484
1485         * size.c (display_archive): Add last_arfile and code to close archives.
1486
1487 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1488
1489         * nm.c (print_symbol): Check returned filename from
1490         bfd_find_nearest_line is non-NULL.
1491
1492 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1493
1494         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1495
1496 2002-04-24  Christian Groessler <chris@groessler.org>
1497
1498         * MAINTAINERS: Changed my email address.
1499
1500 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1501
1502         * arparse.y: Fix syntax warning.
1503
1504 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1505
1506         * readelf.c (fetch_location_list): Remove unused function.
1507
1508         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1509         and display a warning message, then exit the loop.
1510
1511         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1512
1513 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1514
1515         * resrc.c (write_rc_dialog): If charset is non-default value
1516         display all of the DIALOGEX parameters.
1517
1518 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1519
1520         * rcparse.y: Allow two to five parameter in FONT statement of
1521         DIALOGEX resources.
1522         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1523         resource data.
1524         (res_to_bin_dialog): Likewise.
1525         * windres.h: Added misssing charset variable to dialog_ex
1526         structure.
1527
1528 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1529
1530         * rcparse.y: Set MEMFLAG_PURE by default.
1531
1532 2002-04-09  Bernd Herd <info@herdsoft.com>
1533
1534         * rcparse.y: CLASS definitions in DIALOG resources
1535         are quoted.
1536         Fix typo in BEDIT warning.
1537         Don't add default dialog style when explicit style specified.
1538         Add WS_CAPTION dialog style if CAPTION is specified.
1539
1540         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1541         (handle_quotes) "\a" escape (used for right justified key
1542         definitions in menus) is encodes as binary 8.
1543
1544         * resrc.c (write_rc_dialog): Print style even if it is 0.
1545         (write_rc_directory): Fix overlooked sublang shift bug.
1546         (bin_to_res_dialog): Don't print empty dialog caption.
1547
1548         * resbin.c (bin_to_res_dialog): Use signature to identify
1549         DIALOGEX.
1550
1551         * windres.c (main): Set default LANGUAGE to english/us.
1552
1553 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1554
1555         * resrc.c: print CLASS names in quotes
1556
1557 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1558
1559         * MAINTAINERS: Update my email address.
1560
1561 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1562
1563         * dep-in.sed: Cope with absolute paths.
1564         * Makefile.am (dep.sed): Subst TOPDIR.
1565         Run "make dep-am".
1566         * Makefile.in: Regenerate.
1567
1568 2002-03-27  Peter Targett  <peter.targett@arc.com>
1569
1570         * MAINTAINERS: Update my email address.
1571
1572 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1573
1574         * Makefile.am: Run "make dep-am".
1575         * Makefile.in: Regenerate.
1576         * doc/Makefile.in: Regenerate.
1577         * po/POTFILES.in: Regenerate.
1578         * aclocal.m4: Regenerate.
1579         * config.in: Regenerate.
1580         * configure: Regenerate.
1581
1582 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1583
1584         * readelf.c: Add support for displaying dwarf2 location lists.
1585         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1586         (parse_args): Use 'O' as shorthand for displaying location list
1587         section.
1588         (process_section_headers): Handle debug_loc as well.
1589         (load_debug_loc): New.
1590         (free_debug_loc): New.
1591         (fetch_location_list): New.
1592         (display_debug_loc): New.
1593         (display_debug_info): Call load_debug_loc and free_debug_loc.
1594         (debug_displays): We can display .debug_loc now, too.
1595         (usage): Update usage string.
1596         (read_and_display_attr_value): Note location lists, but don't
1597         display them inline.
1598
1599 2002-03-18  Tom Rix  <trix@redhat.com>
1600
1601         * Makefile.am: Add binutils emulation support.
1602         * configure.in: Same.
1603         * configure.tgt: New file.  Same.
1604         * ar.c (main): Use ar_emul_parse_arg.
1605         (usage): Use ar_emul_usage.
1606         (replace_members): Use ar_emul_replace, ar_emul_append.
1607         * binemul.c: New file.  Define the binutils emulation
1608         layer. Define default methods.
1609         * binemul.h: New file.  Binutils emulation layer header file.
1610         * emul_aix.c: New file.  AIX binutils emulation.
1611         * emul_vanilla.c: New file. Default binutils emulation.
1612         * Makefile.in: Regenerate.
1613         * configure: Same.
1614
1615 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1616
1617         * po/fr.po: Updated version.
1618
1619 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1620
1621         * po/fr.po: Updated version.
1622
1623 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1624
1625         * README: Update some version numbers.
1626
1627 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1628
1629         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1630         (Architecture Selection): Likewise.
1631
1632 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1633
1634         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1635         generating .exp file.
1636
1637 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1638
1639         * readelf.c (dump_relocations): Fix typo.
1640
1641 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1642
1643         * NEWS: Mark 2.12 branch.
1644
1645 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1646
1647         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1648         types for 64-bit MIPS.  Narrow some fields for 80-char
1649         output.
1650         (dump_relocations): Change spelling from 'unrecognised'
1651         to 'unrecognized'.
1652         (decode_ARM_machine_flags): Likewise.
1653         (parse_args): Likewise.
1654         (read_and_display_attr_value): Likewise.
1655         (display_debug_section): Likewise.
1656
1657 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1658
1659         * NEWS: Mention support for MMIX.
1660
1661 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1662
1663         * readelf.c (get_machine_flags): Recognize EF_M68000.
1664
1665 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1666
1667         * MAINTAINERS: Added self as MN10300 co-maintainer.
1668
1669 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1670
1671         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1672         DT_PPC64_OPDSZ.
1673
1674 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1675
1676         * MAINTAINERS: List myself as branch maintainer.
1677
1678 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1679
1680         * configure: Regenerate.
1681         * objcopy.c: Update copyright date.
1682         * doc/Makefile.in: Regenerate.
1683
1684 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1685
1686         * nlmconv.c: Back out localtime PARAMS change.
1687
1688 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1689
1690         * objcopy.c (MKDIR): Define.
1691         (copy_archive): Make name_list.name const.  Use MKDIR.
1692         Handle duplicate files in archives by making more temp dirs.
1693
1694 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1695
1696         * coffdump.c: Include "getopt.h" after "bucomm.h"
1697         so that macros are defined correctly.
1698         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1699         prototype.  Prototype main.
1700         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1701
1702 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1703
1704         * MAINTAINERS: Added self as SH co-maintainer.
1705
1706 2002-02-05  Nick Clifton <nickc@redhat.com>
1707
1708         * po/tr.po: Updated translation.
1709
1710 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1711
1712         * Makefile.am: Run "make dep-am"
1713         * Makefile.in: Regenerate.
1714
1715 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1716
1717         * nm.c (print_value): Mark abfd unused.
1718
1719 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1720
1721         * unwind-ia64.c (unw_decoder): Change second argument
1722         to unsigned int, to match function prototypes.
1723
1724 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1725
1726         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1727         __GNU_LIBRARY__ will be defined.
1728         * size.c: Likewise.
1729
1730 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
1731
1732         * configure: Regenerated.
1733
1734 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
1735
1736         * doc/Makefile.am (install): Depend on install-info.
1737         * doc/Makefile.in: Regenerate.
1738
1739 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
1740
1741         * objcopy.c (strip_usage): Document -d as an alias
1742         --strip-debug.
1743
1744         * size.c (usage): Document [-t | --totals] options.
1745         (long_options): Add --totals option.
1746         (main): If the [-t | --totals] option is specified and
1747         the output format is Berkeley-style, print the total
1748         text, data, and bss sizes of all objects listed.
1749         (print_berkeley_format): If the [-t | --totals] option
1750         is specified, track the total text, data, and bss
1751         sizes.
1752         * doc/binutils.texi (size): Document [-t | --totals] options.
1753         (strip): Document -d as an alias for --strip-debug.
1754         * NEWS: Mention new feature of size.
1755
1756 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
1757
1758         * po/fr.po: Updated version.
1759         * po/es.po: Updated version.
1760
1761 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1762
1763         * addr2line.c (usage): Update text to provide verbose
1764         description of the command line options.
1765         * ar.c (usage): Update text to provide verbose
1766         description of the command line options.
1767         (main): Accept -h and -H when running as ranlib.
1768         * coffdump.c (show_usage): Update text to provide verbose
1769         description of the command line options.
1770         * dlltool.c (main): Accept -H as an alias for --help.
1771         * nlmconv.c (show_usage): Update text to provide verbose
1772         description of the command line options.
1773         * nm.c (usage): Replace OPTIONS with option(s).
1774         (main): Accept -H as an alias for --help.
1775         * objcopy.c (strip_main): Accept -H as an alias for --help.
1776         * objdump.c (main): Accept -v as an alias for --verbose.
1777         * readelf.c (usage): Adjust format to match style used in
1778         other binutils.
1779         * size.c (usage): Update text to provide verbose description
1780         of the command line options.
1781         (main): Accept -v, -h and -H as command line options.
1782         * srconv.c (show_usage): Update text to provide verbose
1783         description of the command line options.
1784         * strings.c (main): Accept -H and -v as command line options.
1785         (usage): Update text to provide verbose description of the
1786         command line options.
1787         * sysdump.c (show_usage): Update text to provide verbose
1788         description of the command line options.
1789         * windres.c (usage): Adjust format to match style used in
1790         other binutils.
1791
1792         * coffdump.c: Fix formatting.
1793         * nlmconv.c: Fix formatting.
1794         * srconv.c: Fix formatting.
1795         * sysdump.c: Fix formatting.
1796
1797 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
1798
1799         * Makefile.am: Run "make dep-am".
1800         * Makefile.in: Regenerate.
1801
1802 2002-01-18  Andreas Jaeger  <aj@suse.de>
1803
1804         * version.c (print_version): Update year.
1805
1806 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
1807
1808         * readelf.c (get_machine_name): Handle EM_PPC64.
1809         (guess_is_rela): Here too.
1810
1811 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1812
1813         * po/binutils.pot: Regenerate.
1814         * po/fr.po: Regenerate.
1815         * po/tr.po: Regenerate.
1816
1817 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1818
1819         * po/tr.po: Import new version.
1820
1821 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
1822
1823         * readelf.c (get_ppc64_dynamic_type): New.
1824         (get_dynamic_type): Call it.
1825
1826 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
1827
1828         * objcopy.c (copy_usage): Use "options" instead of "switches".
1829         (strip_usage): Use "options" instead of "switches".
1830         * doc/binutils.texi (dlltool):  Refer to "options" instead of
1831         "switches".
1832
1833 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
1834
1835         * MAINTAINERS: Add self as co-maintainer for the ARM code.
1836
1837 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1838
1839         * po/es.po: Import from translation project.
1840         * configure.in (ALL_LINGUAS): Add es.
1841         * configure: Regenerate.
1842
1843 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1844
1845         * readelf.c (get_netbsd_elfcore_note_type): Use
1846         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1847
1848 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1849
1850         * readelf.c: Update copyright years.
1851         (get_note_type): Return a const char *.
1852         (get_netbsd_elfcore_note_type): New function.
1853         (process_note): Use get_netbsd_elfcore_note_type to get
1854         the note type string for NetBSD ELF core files.
1855
1856 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
1857
1858         * readelf.c (get_ia64_segment_type): Add support for macros.
1859         (get_segment_type): Add support for IA64 specific macros.
1860
1861 2001-12-20  Julian v. Bock  <julian@wongr.net>
1862
1863         * readelf.c (print_symbol): New function: Print a formatted symbol
1864         name.  If --wide is specified do not truncate it.
1865         (dump_relocations): Use print_symbol() to print symbol names.
1866         (process_symbol_table): Likewise.
1867         (process_syminfo): Likewise.
1868         (process_mips_specific): Likewise.
1869         (usage): Document new feature of --wide switch.
1870         * doc/binutils.texi (objdump): Document additional behaviour of
1871         --wide.
1872
1873 2001-12-18  Michael Snyder  <msnyder@redhat.com>
1874
1875         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1876         (copy_object): Don't set the start address or flags of a core file.
1877         (copy_section): Don't relocate a core file.  Don't copy contents
1878         if the input section has the contents flag set, but the output
1879         section does not (which happens with the fake 'note' pseudo-
1880         sections that BFD creates for corefiles).
1881
1882 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1883
1884         * readelf.c (get_machine_flags): Recognize header flags for ABI and
1885         ASE extensions. More robust code for ISA checking. Ignore empty fields
1886         in header flags for GNU extensions.
1887
1888 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
1889
1890         * objcopy.c (copy_archive): Set output bfd format outside the loop.
1891
1892 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1893
1894         * po/ja.po: Import from translation project.
1895         * configure.in (ALL_LINGUAS): Add ja.
1896         * configure: Regenerate.
1897
1898 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1899
1900         * addr2line.c (main): Protoype.
1901         * ar.c (main): Protoype.
1902         * nm.c (main): Protoype.
1903         * objcopy.c (main): Protoype.
1904         * objdump.c (main): Protoype.
1905         * size.c (main): Protoype.
1906         * strings.c (main): Protoype.
1907
1908 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
1909
1910         * readelf.c (symtab_shndx_hdr): New global.
1911         (SECTION_HEADER_INDEX): Define.
1912         (SECTION_HEADER_NUM): Define.
1913         (SECTION_HEADER): Define.
1914         (GET_ELF_SYMBOLS): Pass two params rather than three.
1915         (get_32bit_elf_symbols): Take file and section args.  Read and
1916         use SHT_SYMTAB_SHNDX.
1917         (get_64bit_elf_symbols): Likewise.
1918         (dump_relocations): Use SECTION_HEADER to index "section_headers".
1919         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
1920         Remember symtab_shdx_hdr.
1921         (process_program_headers): Scan from index 1 for segment map.
1922         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1923         "section_headers".
1924         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
1925         (process_unwind): Likewise.
1926         (process_version_sections): Likewise.
1927         (process_symbol_table): Likewise.
1928         (display_debug_info): Likewise.
1929         (process_dynamic_segment): Fake up a symtab section for changed
1930         GET_ELF_SYMBOLS.
1931         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1932         (process_program_headers): Kill signed/unsigned warning.
1933         (load_debug_str): Likewise.
1934         (display_debug_info): Likewise.
1935
1936 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
1937
1938         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1939
1940 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
1941
1942         * readelf.c (process_file_header): Print extended e_shnum and
1943         e_shdtrndx values.  Set elf_header values for same.
1944         (get_32bit_section_headers): Add "num" arg to read "num" headers.
1945         (get_64bit_section_headers): Likewise.
1946         (process_section_headers): Update calls.
1947         (get_file_header): Call get_32bit_section_headers or 64bit variant.
1948
1949 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
1950
1951         * objcopy.c (setup_section): Copy entsize.
1952
1953 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
1954
1955         * readelf.c (guess_is_rela): Add support for stormy16.
1956         (dump_relocations): Likewise.
1957         (get_machine_name): Likewise.
1958
1959 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1960
1961         * dllwrap.c (main) Replace multiple strings describing a
1962         single error with a single, newline escaped sentence to permit
1963         better translation into foreign languages.
1964
1965         * readelf.c (get_elf_class): Remove internalionalisation of ELF
1966         class names.
1967
1968 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1969
1970         * strings.c (get_char): Initialize value.
1971
1972 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1973
1974         * arlex.l: Silence compile warnings.
1975         * arsup.h: Likewise. Fix formatting.
1976
1977 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1978
1979         * strings.c: Include config.h before bfd.h.
1980         (file_off): New type.
1981         (file_open): Define.
1982         (print_strings): Use file_off instead of file_ptr.  Print addresses
1983         which don't fit into long correctly.
1984         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
1985         available.
1986         (strings_file): Use file_off instead of file_ptr.  Use file_open.
1987         * configure.in: Check for getc_unlocked.
1988         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1989         be defined for it.
1990         * configure: Rebuilt.
1991         * config.h.in: Rebuilt.
1992
1993 2001-11-29  H.J. Lu <hjl@gnu.org>
1994
1995         * bucomm.c (make_tempname): Revert the changes made on
1996         2001-11-14 and 2001-11-12. They won't work with directories.
1997
1998 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1999
2000         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2001         CFLAGS_FOR_TARGET to runtest in environment.
2002         * Makefile.in: Rebuild.
2003         * doc/Makefile.in: Rebuild.
2004
2005 2001-11-28  Mike Stump  <mrs@wrs.com>
2006
2007         * objcopy.c (setup_section): Preserve SEC_RELOC when
2008         --set-section-flags is used.
2009
2010 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
2011
2012         * readelf.c (do_debug_str): New variable.
2013         (display_debug_str): New function: Display the contents of a
2014         .debug_str section.
2015         (load_debug_str): New function: Load in the contents of a
2016         .debug_str section.
2017         (free_debug_str): New function: Free the memory used by
2018         load_debug_str().
2019         (fetch_indirect_string): Retrieve a string from the .debug_str
2020         section.
2021         (usage): Add -ws.
2022         (parse_args): Accept -ws.
2023         (process_section_headers): Allow the display of the .debug_str
2024         section.
2025         (read_and_display_attr_value): Use fetch_indirect_string.  Show
2026         offset into .debug_str section.
2027         (display_debug_info): Use load_debug_str and free_debug_str.
2028         (debug_displays): Add .debug_str.
2029         * doc/binutils.texi: Document -ws.
2030
2031 2001-11-19  Andreas Jaeger  <aj@suse.de>
2032
2033         * testsuite/binutils-all/objdump.exp: Add x86-64.
2034
2035 2001-11-15  Andreas Schwab  <schwab@suse.de>
2036
2037         * readelf.c: Fix warnings without terminating newline.
2038
2039 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
2040
2041         * doc/binutils.texi (objdump): Document ppc -M options.
2042
2043 2001-11-14  Andreas Jaeger  <aj@suse.de>
2044
2045         * doc/binutils.texi (objdump): Fix description to use x86-64.
2046
2047 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
2048
2049         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2050         not all systems provide mkstemp.
2051
2052 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
2053
2054         * doc/binutils.texi (objdump): Document x86 -M options.
2055
2056 2001-11-13  Keith Walker <keith.walker@arm.com>
2057
2058         * readelf.c (read_and_display_attr_value): New function to
2059         handle DW_FORM_indirect.
2060         (read_and_display_attr): Use it.
2061
2062 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
2063
2064         * readelf.c (display_debug_lines): Deal with unknown standard
2065         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2066         DW_LNS_set_isa.
2067
2068 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
2069
2070         * MAINTAINERS: Add self as tic54x maintainer.  This target
2071         includes the IBM C54XDSP clone.
2072
2073 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
2074
2075         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2076
2077 2001-11-09  Jeffrey A Law  (law@cygnus.com)
2078
2079         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2080         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2081         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2082         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2083         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2084         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2085         (unw_decode_b2, unw_decode_b3_b4): Likewise.
2086
2087         * readelf.c (get_elf_class): Fix ISO portability glitch.
2088         (get_data_encoding, get_osabi_name, request_dump): Likewise.
2089
2090 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
2091
2092         * readelf.c (debug_str, debug_str_size): New.
2093         (display_debug_abbrev): If no abbrevs were read, skip the CU.
2094         Call free_abbrevs.
2095         (read_and_display_addr): Handle DW_FORM_strp.
2096         (display_debug_info): Read .debug_str section if present,
2097         so that DW_FORM_strp can be handled.
2098         Fix test for non-existant .debug_abbrev section.
2099
2100 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
2101
2102         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
2103
2104         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2105
2106 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2107
2108         * MAINTAINERS: Add self as s390/s390x maintainer.
2109
2110 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
2111
2112         * MAINTAINERS: Add self as PPC XCOFF maintainer.
2113
2114 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
2115
2116         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2117         * configure: Regernate.
2118         * po/fr.po: New file.
2119         * po/tr.po: New file.
2120
2121 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
2122
2123         * MAINTAINERS: Add self as MMIX port maintainer.
2124         * readelf.c: Include elf/mmix.h.
2125         (guess_is_rela): MMIX is RELA.
2126         (dump_relocations): Handle MMIX relocations.
2127         * Makefile.am: Regenerate dependencies.
2128         * Makefile.in: Regenerate.
2129
2130 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
2131
2132         * readelf.c (parse_args): Handle multiple options to the -w
2133         switch.
2134
2135 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
2136
2137         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2138         LOPROC, LOOS and LOUSER.
2139
2140 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
2141
2142         * MAINTAINERS: Update my email address.
2143
2144 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
2145
2146         * doc/Makefile.in: Regenerate.
2147         * configure: Regenerate.
2148
2149 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
2150
2151         * readelf.c (display_debug_line, display_debug_pubnames,
2152         display_debug_info, display_debug_frames): Detect and warn
2153         about 64-bit format entries.
2154         (display_debug_aranges): Reword 64-bit warning.
2155         (debug_displays): Add .debug_pubtypes as a known, but not yet
2156         supported, debug section.
2157
2158 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
2159
2160         * coffdump.c (PROGRAM_VERSION): Delete.
2161         (main <'V'>): Call print_version.
2162         * srconv.c: Likewise.
2163         * sysdump.c: Likewise.
2164         * version.c (program_version): Remove.
2165         (print_version): Use BFD_VERSION_STRING.  Just print the current
2166         year in copyright message.
2167         * addr2line.c (program_version): Remove unused declaration.
2168         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2169         place of BFD_VERSION.
2170         * Makefile.am (Makefile): Depend on bfd/configure.in.
2171         (cplus-dem.o): Depend on Makefile.
2172         Run "make dep-am".
2173         * Makefile.in: Regenerate.
2174
2175 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
2176
2177         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2178         format .debug_arange sections.
2179         (main): Add missing prototype.
2180
2181 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
2182
2183         * Makefile.am: Update dependencies with "make dep-am".
2184         * Makefile.in: Regenerate.
2185
2186 2001-09-28  Richard Henderson  <rth@redhat.com>
2187
2188         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2189
2190 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
2191
2192         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2193         VA_CLOSE.
2194         (non_fatal): Likewise.
2195         * objdump.c (objdump_sprintf): Likewise.
2196         * readelf.c (error): Likewise.
2197         (warn): Likewise.
2198
2199 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
2200
2201         * readelf.c (do_wide): New.
2202         (options): Add --wide.
2203         (usage, parse_args): Likewise.
2204         (process_program_headers): Put each segment on a single line if
2205         --wide is given.
2206         (process_section_headers): Put each section on a single line if
2207         --wide is given.
2208         * doc/binutils.texi: Document it.
2209         * NEWS: Likewise.
2210
2211 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
2212
2213         * readelf.c (print_vma): Print 8 digits of low hex value.
2214
2215 2001-09-24  Andreas Jaeger  <aj@suse.de>
2216
2217         * nlmconv.c: Fix warnings about unused attributes and function
2218         prototypes.
2219
2220         * strings.c: Add prototype for get_char.
2221
2222 2000-09-19  H.J. Lu  <hjl@gnu.org>
2223
2224         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2225         $(srcdir)/cxxfilt.man.
2226         * doc/Makefile.in: Rebuild.
2227
2228 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
2229
2230         * objcopy.c (copy_main): Correct rename-section string parsing.
2231         Consolidate new_name parsing, and error messages.
2232
2233 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
2234
2235         * addr2line.c: Don't include <ctype.h>.
2236         (main): For gettext, also set the LC_CTYPE locate facet.
2237         * ar.c (main): Likewise.
2238         * coffdump.c (main): Likewise.
2239         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2240         (main): For gettext, also set the LC_CTYPE locate facet.
2241         Use ISALNUM instead of isalpha/isdigit.
2242         * dllwrap.c: Don't include <ctype.h>.
2243         (main): For gettext, also set the LC_CTYPE locate facet.
2244         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2245         (main): For gettext, also set the LC_CTYPE locate facet.
2246         Use TOUPPER instead of islower/toupper.
2247         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2248         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2249         Use TOUPPER instead of islower/toupper.
2250         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2251         * objcopy.c (main): Likewise.
2252         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2253         (disassemble_bytes): Use ISPRINT instead of isprint.
2254         (dump_section_stabs): Use ISDIGIT instead of isdigit.
2255         (dump_data): Use ISPRINT instead of isprint.
2256         (main): For gettext, also set the LC_CTYPE locate facet.
2257         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2258         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2259         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2260         Use TOUPPER instead of islower/toupper.
2261         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2262         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2263         (write_rc_accelerators): Use ISPRINT instead of isprint.
2264         (write_rc_rcdata): Likewise.
2265         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2266         * srconv.c (main): Likewise.
2267         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2268         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2269         isdigit/isupper/islower.
2270         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2271         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2272         stab_demangle_prefix, stab_demangle_qualified,
2273         stab_demangle_template, stab_demangle_type,
2274         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2275         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2276         (isgraphic): Use ISPRINT instead of isascii/isprint.
2277         (main): Remove HAVE_LC_MESSAGES dependency.
2278         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2279         (pbarray): Use ISPRINT instead of isprint.
2280         (main): For gettext, also set the LC_CTYPE locate facet.
2281         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2282         (format_from_filename): Use ISPRINT instead of isprint.
2283         (main): For gettext, also set the LC_CTYPE locate facet.
2284         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2285         (unicode_print): Use ISPRINT instead of isprint.
2286         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2287         (stab_variable): Use ISDIGIT instead of isdigit.
2288
2289 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
2290
2291         * ar.c (print_contents): Cast args of bfd_seek to the right types.
2292         Replace bfd_read call with call to bfd_bread.
2293         (extract_file): Likewise.
2294
2295         * objdump.c (dump_section_header): Cast section->filepos to
2296         unsigned long to suit printf format string.
2297         * readelf.c (process_section_headers): Similarly for sh_offset.
2298         (process_unwind): Likewise.
2299
2300 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2301
2302         * strings.c (encoding, encoding_bytes): New variables.
2303         (long_options): Add --encoding.
2304         (main): Accept -e and --encoding.
2305         (get_char): New function.  Read a, possibly wide, character from
2306         the input stream.
2307         (print_strings): Use get_char().
2308         (usage): Document new command line option.
2309         * doc/binutils.texi: Document new command line option.
2310         * NEWS: Announce new command line option.
2311
2312 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
2313
2314         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2315         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2316         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2317         Removed EM_CYGNUS_ARC.
2318
2319 2001-09-04  Jeffrey A Law  (law@cygnus.com)
2320
2321         * readelf.c: Include elf/h8 for H8 series definitions.
2322         (guess_is_rela): H8 series if RELA.
2323         (dump_relocations): Handle H8 series relocations.
2324
2325 2001-08-31  Eric Christopher  <echristo@redhat.com>
2326
2327         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2328
2329 2001-08-29  Peter Targett  <peter.targett@arccores.com>
2330
2331         * MAINTAINERS: Include ARC Maintainer.
2332
2333 2001-08-29  Ben Elliston  <bje@redhat.com>
2334
2335         * stabs.c (stab_demangle_template): Initialise s4.
2336
2337 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
2338
2339         * readelf.c (dump_relocations): Recognise EM_PPC64.
2340
2341 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2342
2343         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2344
2345 2001-08-25  H.J. Lu  <hjl@gnu.org>
2346
2347         * nm.c (print_width): New.
2348         (display_rel_file): Set `print_width' according to
2349         bfd_sprintf_vma.
2350         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2351
2352 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2353
2354         * objcopy.c (use_alt_mach_code): New variable.
2355         (OPTION_ALT_MACH_CODE): Define.
2356         (copy_options): Added --alt-machine-code.
2357         (copy_main): Handle it.
2358         (copy_object): Switch to alternate machine code if requested.
2359         * doc/binutils.texi: Document new option.
2360         * NEWS: Likewise.
2361
2362 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2363
2364         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2365
2366 2001-08-21  H.J. Lu  <hjl@gnu.org>
2367
2368         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2369         (display_debug_info): Cast for 64bit hosts.
2370         (display_debug_frames): Likewise.
2371         (process_mips_specific): Likewise.
2372
2373 2001-08-21  Andreas Jaeger  <aj@suse.de>
2374
2375         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2376
2377         * sysdump.c: Add missing prototypes.
2378         * srconv.c: Likewise.
2379         * unwind-ia64.c: Likewise.
2380         * coffdump.c: Likewise.
2381
2382         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2383
2384         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2385         of declaring xcalloc.
2386
2387 2001-08-10  H.J. Lu  <hjl@gnu.org>
2388
2389         * nm.c (print_value): Add one arg, bfd *.
2390         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2391         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2392         (print_symbol_info_sysv): Likewise.
2393         (print_symbol_info_posix): Likewise.
2394
2395         * objdump.c (dump_section_header): Replace printf_vma with
2396         bfd_printf_vma.
2397         (print_section_stabs): Likewise.
2398         (dump_bfd_header): Likewise.
2399         (objdump_print_value): Replace sprintf_vma with
2400         bfd_sprintf_vma.
2401         (disassemble_bytes): Likewise.
2402         (dump_reloc_set): Likewise.
2403
2404 2001-08-10  Andreas Jaeger  <aj@suse.de>
2405
2406         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2407         to build warnings.
2408         * configure: Regenerate.
2409
2410 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2411
2412         * readelf.c: Add missing prototypes.
2413         * objdump.c: Likewise.  Format existing prototypes.
2414
2415 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2416
2417         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2418         of any RELA relocation for the abbrev_offset memory location that
2419         refers to the .debug_abbrev section symbol.
2420
2421 2001-08-07  H.J. Lu  <hjl@gnu.org>
2422
2423         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2424         (main): Return process_file ().
2425
2426 2001-08-05  Philip Blundell  <philb@gnu.org>
2427
2428         * doc/binutils.texi: Use "Thumb" not "THUMB".
2429
2430 2001-08-03  John Healy  <jhealy@redhat.com>
2431
2432         Patch suggested by Frank Eigler <fche@redhat.com>.
2433         * objdump.c (disassemble_data): Fill in section member of the
2434         disasm_info structure.
2435
2436 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2437
2438         * configure.in: Added --with-windres option.
2439         * configure: Regenerated.
2440
2441 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2442
2443         * doc/binutils.texi: Use @command{name} for commands;
2444         use @option{-opt} for options; use @table @env for list of options;
2445         remove spaces arround [ | ] in synopsis.
2446
2447         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2448         center title.
2449
2450 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2451
2452         * objcopy.c: Fix formatting.
2453         (section_rename): New structure.
2454         (OPTION_RENAME_SECTION): New switch.
2455         (copy_usage): Document new switch.
2456         (add_section_rename): New function: Add a node to the section
2457         rename list.
2458         (find_section_rename): New function: Find the new name and
2459         flags for a section.
2460         (setup_section): Call find_section_name to determine the name
2461         of the output section.
2462         (copy_main): Handle OPTION_RENAME_SECTION.
2463         * binutils.texi: Document new switch.
2464         * NEWS: Mention new switch.
2465
2466 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2467
2468         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2469         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2470         bug-binutils@gcc.org.
2471
2472 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2473
2474         * bucomm.c (list_supported_architectures): New function.
2475         * bucomm.h (list_supported_architectures): Declare.
2476         * objdump.c (usage): Call the above.
2477
2478 2001-07-25  Dave Brolley  <brolley@redhat.com>
2479
2480         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2481         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2482
2483 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2484
2485         * README: Update for 2.11.  Change bug reporting email address.
2486         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2487
2488 2001-07-16  DJ Delorie  <dj@redhat.com>
2489
2490         * resres.c (write_res_header): Align header size.
2491         (res_align_file): Calculate alignment correctly.
2492
2493         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2494         correct 10).
2495         * resrc.c (write_rc_resource): Likewise.
2496         * windres.h (SUBLANG_SHIFT): Define - as 10.
2497
2498 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2499
2500         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2501
2502 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2503
2504         * MAINTAINERS: Add notes about branch checkins.
2505
2506 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2507
2508         * readelf.c (display_debug_macinfo): New function, display
2509         .debug_macinfo section.
2510         (do_debug_macinfo): New variable.
2511         (parse_args): Handle "-w[mM]" to mean display macro info.
2512         (process_section_headers): Handle debug_macinfo.
2513         (debug_displays): Replace unsupported function with macinfo
2514         function for .debug_macinfo display.
2515         * doc/binutils.texi: Document new command line switch.
2516         * NEWS: Document new feature of readelf.
2517
2518 2001-07-05  H.J. Lu  <hjl@gnu.org>
2519
2520         * objcopy.c (filter_symbols): Don't turn undefined symbols
2521         into local.
2522
2523 2001-07-03  H.J. Lu <hjl@gnu.org>
2524
2525         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2526         $@.pod.
2527         (ar.1): Likewise.
2528         (dlltool.1): Likewise.
2529         (nlmconv.1): Likewise.
2530         (nm.1): Likewise.
2531         (objcopy.1): Likewise.
2532         (objdump.1): Likewise.
2533         (ranlib.1): Likewise.
2534         (readelf.1): Likewise.
2535         (size.1): Likewise.
2536         (strings.1): Likewise.
2537         (strip.1): Likewise.
2538         (windres.1): Likewise.
2539         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2540         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2541         $(DEMANGLER_NAME).
2542         (as.1): Removed.
2543         * doc/Makefile.in: Regenerated.
2544
2545 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2546
2547         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2548
2549 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2550
2551         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2552
2553 2001-06-29  James Cownie <jcownie@etnus.com>
2554
2555         * readelf.c: Support DWARF 2.1 attributes.
2556
2557 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2558
2559         * readelf.c (GET_DATA_ALLOC): Remove.
2560         (GET_DATA): Remove.
2561         (get_data): New function combining above macros, with an extra
2562         test for zero size.
2563         (slurp_rela_relocs): Use get_data, and catch error return.
2564         (slurp_rel_relocs): Likewise.
2565         (get_32bit_program_headers): Likewise.
2566         (get_64bit_program_headers): Likewise.
2567         (get_32bit_section_headers): Likewise.
2568         (get_64bit_section_headers): Likewise.
2569         (get_32bit_elf_symbols): Likewise.
2570         (get_64bit_elf_symbols): Likewise.
2571         (process_section_headers): Likewise.
2572         (process_relocs): Likewise.
2573         (slurp_ia64_unwind_table): Likewise.
2574         (process_unwind): Likewise.
2575         (get_32bit_dynamic_segment): Likewise.
2576         (get_64bit_dynamic_segment): Likewise.
2577         (process_dynamic_segment): Likewise.
2578         (process_version_sections): Likewise.
2579         (process_symbol_table): Likewise.
2580         (dump_section): Likewise.
2581         (display_debug_info): Likewise.
2582         (display_debug_section): Likewise.
2583         (process_section_contents): Likewise.
2584         (process_corefile_note_segment): Likewise.
2585         (process_mips_specific): Likewise.  Also free econf32, econf64.
2586
2587 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2588
2589         * readelf.c (dump_relocations): Print "bad symbol index" if
2590         symtab == NULL with non-zero symtab_index.
2591         (process_relocs): Don't bomb if reloc section has no symsec.
2592
2593 2001-06-24  H.J. Lu  <hjl@gnu.org>
2594
2595         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2596         by accident.
2597         (copy_main): Apply the the change made to strip_main on
2598         2001-05-30 by accident.
2599
2600 2001-06-23  Andreas Jaeger  <aj@suse.de>
2601
2602         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2603         parameter 'code'.
2604         (unw_decode_x2): Likewise.
2605         (unw_decode_x3): Likewise.
2606         (unw_decode_x4): Likewise.
2607
2608 2001-06-23  Ben Elliston  <bje@redhat.com>
2609
2610         * MAINTAINERS: Add myself as M88k maintainer.
2611
2612 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2613
2614         * objcopy.c (strip_main): Support -o or --output-file command lien
2615         switch.
2616
2617 2001-06-19  H.J. Lu <hjl@gnu.org>
2618
2619         * doc/Makefile.in: Regenerated.
2620
2621 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2622
2623         * readelf.c: Restore formatting.
2624
2625 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2626
2627         * Makefile.am: Move documentation into doc subdirectory.
2628         * Makefile.in: Regenerated.
2629         * binutils.texi: Move into doc subdirectory.
2630         * addr2line.1: Removed.
2631         * ar.1: Likewise.
2632         * dlltool.1: Likewise.
2633         * nlmconv.1: Likewise.
2634         * nm.1: Likewise.
2635         * objcopy.1: Likewise.
2636         * objdump.1: Likewise.
2637         * ranlib.1: Likewise.
2638         * readelf.1: Likewise.
2639         * size.1: Likewise.
2640         * strings.1: Likewise.
2641         * strip.1: Likewise.
2642         * windres.1: Likewise.
2643         * cxxfilt.man: Likewise.
2644         * doc: New Directory.
2645         * doc/Makefile.am: New file.
2646         * doc/Makefile.in: Generate.
2647
2648 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2649
2650         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2651
2652 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2653
2654         * MAINTAINERS: Update my email address.
2655
2656 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2657
2658         * objcopy.c: Add new switches: --keep-global-symbol,
2659         --keep-symbols, --localize-symbols, --keep-global-symbols and
2660         --weaken-symbols.
2661         * binutils.texi: Document new switches.
2662         * objcopy.1: Regenerate.
2663         * NEWS: Announce new feature.
2664
2665 2001-05-28  Andreas Jaeger  <aj@suse.de>
2666
2667         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2668         variables, fix format strings.
2669
2670 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2671
2672         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2673         when computing the address of the line to show.
2674
2675 2001-05-16  Richard Henderson  <rth@redhat.com>
2676
2677         * readelf.c (do_debug_frames_interp): New.
2678         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2679         (byte_get_big_endian): Likewise.
2680         (parse_args) ['F']: Set do_debug_frames_interp.
2681         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2682         (frame_display_row): Don't trunc pc_begin to int.
2683         (size_of_encoded_value): New.
2684         (display_debug_frames): Handle 64-bit targets.  Print raw data
2685         unless do_debug_frames_interp.
2686         (debug_displays): Remove duplicate .debug_frame.
2687
2688 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2689
2690         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2691         The former constant was never in active use and is used otherwise
2692         by the ABI.
2693
2694 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2695
2696         * readelf.c (process_unwind): Print all unwind sections, not just
2697         one.
2698
2699 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2700
2701         * readelf.c (process_unwind): Remove const specifier.
2702
2703 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2704
2705         * strings.c (isgraphic): Do not use isascii() unless it is needed
2706         for isprint() to work.
2707         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2708
2709 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2710
2711         * NEWS: Announce support for OpenRISC.
2712
2713 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2714
2715         * dlltool.c (do_default_excludes): Initialise to true.
2716
2717 2001-04-10  Alan Modra  <amodra@one.net.au>
2718
2719         * MAINTAINERS: Update my email address
2720         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2721
2722 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2723
2724         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2725
2726 2001-03-30  H.J. Lu  <hjl@gnu.org>
2727
2728         * readelf.c (process_unwind): Just return if do_unwind is 0.
2729
2730 2001-03-28  Roger Sayle  <roger@metaphorics.com>
2731
2732         * dlltool.c (make_one_lib_file): Fix section flags for
2733         .text, .data and .bss in stub ds*.o files to match those
2734         generated by gas.
2735
2736 2001-03-29  H.J. Lu  <hjl@gnu.org>
2737
2738         * readelf.c (process_unwind): Only do unwind sections for
2739         IA64.
2740
2741 2001-03-28  H.J. Lu  <hjl@gnu.org>
2742
2743         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2744         * Makefile.in: Regenerate.
2745
2746 2001-03-26  Andreas Jaeger  <aj@suse.de>
2747
2748         * binutils.texi (nm): Fix texi syntax.
2749
2750 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2751
2752         * binutils.texi: Put @c man begin and @c man end indications
2753         to generate man pages using texi2pod and pod2man. Put @c man title
2754         to identify each man. Add SEEALSO entries.
2755         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2756         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2757         sort the list.
2758         (*.1): Build the man pages from binutils.texi.
2759         * Makefile.in: Regenerate.
2760
2761 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
2762
2763         * defparse.y (opt_equal_name): allow "." in name.
2764         * dlltool.c (def_exports): Added ability to generate forwarded exports.
2765         (gen_exp_file): Likewise.
2766
2767 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
2768
2769         * NEWS: Document addition of -B switch to objcopy.
2770         * binutils.texi:  Document addition of -B switch to objcopy.
2771         * objcopy.c: (copy_options): Add --binary-architecture.
2772         (copy_usage): Document -B/--binary-architecture.
2773         (copy_main): Support -B/--binary-architecture.  Set
2774         bfd_external_binary_architecture.
2775
2776 2001-03-11  Andreas Jaeger  <aj@suse.de>
2777
2778         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2779         (dump_relocations): Likewise.
2780         (get_machine_name): Likewise.
2781
2782 2001-02-28  Nick Clifton  <nickc@redhat.com>
2783
2784         * readelf.c: (struct unw_aux_info): Remove const modifier for
2785         'strtab' field.
2786         (process_unwind): Remove non-K&R compliant LHS type cast in call
2787         to GET_DATA_ALLOC macro.
2788
2789 2001-02-28  Philip Blundell  <pb@futuretv.com>
2790
2791         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2792         ABI is in use; remove ambiguity between the "unknown" EABI and
2793         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
2794         renamed EF_xx constants.
2795
2796 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2797
2798         * configure.in (BFD_VERSION): New.
2799         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2800         * configure: Regenerate.
2801         * Makefile.am: Run "make dep-am"
2802         * Makefile.in: Regenerate.
2803
2804 2001-02-14  Nick Clifton  <nickc@redhat.com>
2805
2806         * MAINTAINERS: Add "Obvious Fix" rule.
2807
2808 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2809
2810         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2811         literal concatenation.
2812
2813 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2814
2815         * readelf.c (struct unw_aux_info): Remove const from the info member.
2816         (process_unwind): Don't type-cast the third argument to the
2817         GET_DATA_ALLOC macro.
2818
2819 2001-02-11  Nick Clifton  <nickc@redhat.com>
2820
2821         * readelf.c (dump_relocations): Free corrected allocated
2822         array.
2823         (process_unwind): Fix compile time warning.
2824
2825 2001-02-10  Nick Clifton  <nickc@redhat.com>
2826
2827         * binutils.texi: Document new --unwind option to readelf.
2828
2829 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2830
2831         * readelf.c: Add linux target for S/390.
2832
2833 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
2834
2835         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2836         printf is a macro.
2837
2838 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
2839
2840         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2841         * aclocal.m4: Regenerate.
2842         * configure: Regenerate.
2843
2844 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
2845
2846         * bucomm.c (bfd_target_vector): Change extern array to pointer.
2847         * objdump.c (bfd_target_vector): Likewise.
2848
2849 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
2850
2851         * readelf.c (process_unwind): New function.
2852         (slurp_ia64_unwind_table): Ditto.
2853         (dump_ia64_unwind): Ditto.
2854         (find_symbol_for_address): Ditto.
2855         (slurp_rela_relocs): New function (split off from dump_relocations()).
2856         (slurp_rel_relocs): Ditto.
2857         (parse_args): Handle '-u' option.
2858
2859         * unwind-ia64.c: New file.
2860         * unwind-ia64.h: New file.
2861         * Makefile.am: Include unwind-ia64.c in readelf build.
2862         * Makefile.in: Regenerate.
2863         * po/binutils.pot: Regenerate.
2864
2865 2001-02-04  Philip Blundell  <philb@gnu.org>
2866
2867         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2868         * configure: Regenerate.
2869
2870 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
2871
2872         * ieee.c (ieee_add_bb11): Don't check for backslashes
2873         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2874
2875 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
2876
2877         * ieee.c: Update copyright.
2878         (ieee_start_compilation_unit): Don't check for backslashes
2879         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2880
2881         * stabs.c: Update copyright. Include "filenames.h".
2882         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2883
2884 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2885
2886         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2887         sections are present before using them.  Remove code duplication.
2888         (process_symbol_table): Check if VERDEF or VERNEED sections are
2889         present before using them.
2890
2891 2001-01-17  Nick Clifton  <nickc@redhat.com>
2892
2893         * objcopy.c (copy_object): Fail if attempting to convert the
2894         endianness of the input object file.
2895
2896         * binutils.texi: Explain that objcopy cannot convert endianness.
2897
2898 2001-01-16  Nick Clifton  <nickc@redhat.com>
2899
2900         * readelf.c (string_table_length): New variable.
2901         (SECTION_NAME): Catch out of range indices and missing section
2902         pointers.
2903         (process_section_headers): Delete useless local variable
2904         string_table_offset.  Set the value of string_table_length
2905         after loading the string table.
2906         (process_mips_specific): Use SECTION_NAME macro.
2907         (process_file): Set string_table_length to 0 when it is freed.
2908
2909 2001-01-12  Nick Clifton  <nickc@redhat.com>
2910
2911         * version.c (print_version): Update copyright date.
2912
2913 2001-01-11  Peter Targett  <peter.targett@arccores.com>
2914
2915         * readelf.c (dump_relocations): Include selection with EM_ARC.
2916         (get_machine_name) Update name to "ARC".
2917
2918 2001-01-09  Nick Clifton  <nickc@redhat.com>
2919
2920         * Makefile.am: Add rule to build objdump.o from objdump.c and
2921         using OBJDUMP_DEFS.
2922         * Makefile.in: Regenerate.
2923
2924         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
2925         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2926         -DDISASSEMBLER_NEEDS_RELOCS.
2927         * configure: Regenerate.
2928
2929         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2930         is defined read in the relocs even if dump_reloc_info is
2931         false.
2932
2933 2001-01-07  Philip Blundell  <philb@gnu.org>
2934
2935         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2936         `bug-binutils'.
2937         * README: Likewise.
2938
2939 2000-12-19  Nick Clifton  <nickc@redhat.com>
2940
2941         * dlltool.c: Add missing support for arm-epoc-pe.
2942         * configure.in: Add missing support for arm-epoc-pe.
2943         * configure: Regenerate.
2944
2945 2000-12-15  Nick Clifton  <nickc@redhat.com>
2946
2947         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2948         Mode parts of the x86 port.
2949
2950 2000-12-04  Andreas Jaeger  <aj@suse.de>
2951
2952         * readelf.c (guess_is_rela): Add EM_X86_64.
2953         (dump_relocations): Add EM_X86_64.
2954         (get_machine_name): Add EM_X86_64.
2955         Include "elf/x86-64.h".
2956
2957 2000-12-12  Nick Clifton  <nickc@redhat.com>
2958
2959         * readelf.c: Fix formatting.
2960
2961 2000-12-11  Jan Hubicka  <jh@suse.cz>
2962
2963         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2964
2965 2000-12-07  Andrew Haley  <aph@redhat.com>
2966
2967         * readelf.c (display_debug_frames): Only display columns that are
2968         referenced by the frame debug info.
2969
2970 2000-12-05  Nick Clifton  <nickc@redhat.com>
2971
2972         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2973
2974 2000-12-04  Jason Merrill  <jason@redhat.com>
2975
2976         * readelf.c (process_section_headers): Handle linkonce.wi sections.
2977         (display_debug_section): Likewise.
2978         (display_debug_info): Display CU header before bailing.
2979
2980 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
2981
2982         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2983         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
2984         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2985
2986         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2987         and E_MIPS_ARCH_64.
2988
2989         * readelf.c (get_machine_flags): Add case for
2990         E_MIPS_MACH_SB1.
2991
2992 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
2993
2994         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2995
2996 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
2997
2998         * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
2999         Change sourceware.cygnus.com to sources.redhat.com.
3000         Fix typo for "amongst".
3001
3002 2000-11-28  Nick Clifton  <nickc@redhat.com>
3003
3004         * strip.1 (COPYING): Mention that the GNU Free Documentation
3005         License is present in the sources, but not the output, and
3006         also available from the GNU website.
3007         (GNU Free Documentation License): Comment out this section.
3008         * strings.1: Ditto.
3009         * size.1: Ditto.
3010         * ranlib.1: Ditto.
3011         * objdump.1: Ditto.
3012         * objcopy.1: Ditto.
3013         * nm.1: Ditto.
3014         * nlmconv.1: Ditto.
3015         * ar.1: Ditto.
3016         * addr2line.1: Ditto.
3017
3018 2000-11-27  DJ Delorie  <dj@redhat.com>
3019
3020         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3021         (parse_args): Support -wf option.
3022         (process_section_headers): Ditto.
3023         (debug_displays): Ditto.
3024         (display_debug_frames): New, dump *_frame sections.
3025         (frame_need_space): Support for above.
3026         (frame_display_row): Ditto.
3027         * binutils.texi: Document it.
3028
3029 2000-11-24  Nick Clifton  <nickc@redhat.com>
3030
3031         * NEWS: Announce support for v5t, v5te and XScale.
3032
3033 2000-11-22  Nick Clifton  <nickc@redhat.com>
3034
3035         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3036         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3037         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3038         (get_elf_section_flags: Add SHF_GROUP.
3039         (process_section_headers): Adjust output for 32-bit binaries
3040         to look nice on an 80 column terminal.
3041
3042 2000-11-20  H.J. Lu  <hjl@gnu.org>
3043
3044         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3045         ELFOSABI_AIX.
3046
3047 2000-11-17  Richard Henderson  <rth@redhat.com>
3048
3049         * readelf.c (display_debug_lines): Adjust last change to
3050         use sizeof (external->li_length).
3051
3052 2000-11-17  Richard Henderson  <rth@redhat.com>
3053
3054         * readelf.c (display_debug_lines): Fix section length check
3055         and end_of_sequence computation.
3056
3057 2000-11-06  Nick Clifton  <nickc@redhat.com>
3058
3059         * binutils.texi: Add GNU Free Documentation License.
3060         * objcopy.1: Add GNU Free Documentation License.
3061         * objdump.1: Add GNU Free Documentation License.
3062         * addr2line.1: Add GNU Free Documentation License.
3063         * ar.1: Add GNU Free Documentation License.
3064         * nlmconv.1: Add GNU Free Documentation License.
3065         * nm.1: Add GNU Free Documentation License.
3066         * ranlib.1: Add GNU Free Documentation License.
3067         * size.1: Add GNU Free Documentation License.
3068         * strings.1: Add GNU Free Documentation License.
3069         * strip.1: Add GNU Free Documentation License.
3070
3071 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
3072
3073         * objcopy.c (--srec-len=nn): New parameter to set the
3074         maximum length of generated Srecords.
3075         (--srec-forceS3): New parameter that restricts the generation of
3076         Srecords to type S3 only.
3077         * binutils.texi: Document new command line switches.
3078         * objcopy.1: Docuemnt the new command line switches.
3079         * NEWS: Announce the existence of the new command line switches.
3080
3081 2000-10-31  Nick Clifton  <nickc@redhat.com>
3082
3083         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3084         code.  Add Eric Chrisopher as maintainer of MN10300 port.
3085
3086 2000-10-12  Roger Sayle  <roger@metaphorics.com>
3087
3088         * Make comma after string after icon/control optional.
3089
3090 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
3091
3092         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3093
3094         * NEWS: Mention support for MIPS32.
3095
3096 2000-09-08  Nick Clifton  <nickc@redhat.com>
3097
3098         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3099
3100 2000-09-07  H.J. Lu  <hjl@gnu.org>
3101
3102         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3103         * configure: Rebuild.
3104
3105 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3106
3107         * configure: Rebuilt with new libtool.m4.
3108
3109 2000-09-05  Nick Clifton  <nickc@redhat.com>
3110
3111         * aclocal.m4: Regenerate.
3112         * config.in: Regenerate.
3113         * configure: Regenerate.
3114
3115 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
3116
3117         * strip.1: Fix stray '\' in -o formatting.
3118
3119 2000-09-02  Nick Clifton  <nickc@redhat.com>
3120
3121         * configure.in: Increase version number to 2.10.91.
3122         * configure: Regenerate.
3123         * aclocal.m4: Regenerate.
3124         * config.in: Regenerate.
3125         * po/binutils.pot: Regenerate.
3126
3127 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
3128
3129         * acinclude.m4: Include libtool and gettext macros from the
3130         top level.
3131         * aclocal.m4, configure: Rebuilt.
3132
3133 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
3134
3135         * resrc.c (close_input_stream): Delete extraneous logic
3136
3137 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
3138
3139         * NEWS: Mention support for CRIS.
3140
3141 2000-08-21  Nick Clifton  <nickc@redhat.com>
3142
3143         * addr2line.c: Changed email address for Ulrich Lauther.
3144
3145 2000-08-17  Christopher C. Chimelis <chris@debian.org>
3146
3147         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3148
3149 2000-08-17  Nick Clifton  <nickc@redhat.com>
3150
3151         * readelf.c (display_debug_pubnames): Only issue warning
3152         message once.  Terminate message with a new line.
3153         (display_debug_aranges): Only display version 2 debug info.
3154
3155 2000-08-14  Todd Vierling <tv@wasabisystems.com>
3156
3157         * objcopy.c (strip_main): Silently accept -d as an alias for -g
3158         for compatability with old BSD systems.
3159
3160 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
3161
3162         * NEWS: Mention i860 support.
3163
3164 2000-08-11  Carlo Wood <carlo@alinoe.com>
3165
3166         * addr2line.c (main): Add const to char *.
3167
3168 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
3169
3170         * ar.c (main): Don't crash if called with no arguments
3171         or only '-X32_64' as an argument.
3172
3173 2000-08-08  DJ Delorie  <dj@redhat.com>
3174
3175         * resrc.c: use "gcc -xc" instead of -xc-header
3176
3177 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
3178
3179         * readelf.c (elf/i860.h): Include.
3180         (dump_relocations): Add recognition of i860 architecture.
3181         (guess_is_rela): Add recognition of i860 architecture.
3182
3183 2000-08-03  Nick Clifton  <nickc@cygnus.com>
3184
3185         * MAINTAINERS: Add information about CGEN maintainers.
3186
3187 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
3188
3189         * nm.c (main): Ignore '-X32_64' as an option.
3190         * ar.c (main): Likewise.
3191         * binutils.texi (nm): Document new option.
3192         (ar): Likewise.
3193
3194 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3195
3196         * rdcoff.c (external_coff_symbol_p): K&R-ise.
3197
3198 2000-07-20  H.J. Lu  <hjl@gnu.org>
3199
3200         * binutils.texi: Put back "@end table" deleted by
3201         accident.
3202
3203 2000-07-05  Kenneth Block  <krblock@computer.org>
3204
3205         * nm.c: Add optional style to demangle switch.
3206         * objdump.c: Add optional style to demangle switch.
3207         * addr2line.c: Add optional style to demangle switch.
3208         * binutils.texi: Document optional style to demangle
3209         switch.
3210
3211 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
3212
3213         * MAINTAINERS: Add self as CRIS port maintainer.
3214         * readelf.c: Include elf/cris.h.
3215         (guess_is_rela): Handle EM_CRIS.
3216         (dump_relocations): Ditto.
3217         (get_machine_name): Ditto.
3218         * Makefile.am: Rebuild dependencies.
3219         * Makefile.in: Regenerate.
3220         * po/binutils.pot: Regenerate.
3221
3222 2000-07-19  H.J. Lu  <hjl@gnu.org>
3223
3224         * readelf.c (get_dynamic_type): Change "AUXILARY" to
3225         "AUXILIARY".
3226         (process_dynamic_segment): Print out strings for DT_CONFIG,
3227         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3228
3229 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
3230
3231         * nm.c (usage): Change output of `nm --help' to include a
3232         description of the purpose of the program and a detailed
3233         description of the accepted options.
3234
3235 2000-07-19  H.J. Lu  <hjl@gnu.org>
3236
3237         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3238         to DF_1_NODEFLIB.
3239
3240 2000-07-19  H.J. Lu  <hjl@gnu.org>
3241
3242         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3243
3244 2000-07-19  H.J. Lu  <hjl@gnu.org>
3245
3246         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3247         DT_FEATURE.
3248         (process_dynamic_segment): Likewise.
3249
3250         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3251         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3252         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3253         DF_1_NODUMP and DF_1_CONLFAT.
3254
3255 2000-07-18  Nick Clifton  <nickc@cygnus.com>
3256
3257         * binutils.texi (readelf): Fix spelling typo.
3258
3259 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
3260
3261         * objdump.c (usage): Make output of `objdump --help' more
3262         consistent with the rest of the GNU world.  Add a line describing
3263         the purpose of the program.
3264
3265 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
3266
3267         * stabs.c (parse_stab_range_type): Cast to proper type to fix
3268         warning.
3269
3270 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
3271
3272         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3273         to fix warnings.
3274         (process_symbol_table): Ditto.
3275         (procesS_extended_line_op): Ditto.
3276         (display_debug_lines): Ditto.
3277         (display_debug_pubnames): Ditto.
3278         (read_and_display_attr): Ditto.
3279
3280 2000-07-09  Nick Clifton  <nickc@cygnus.com>
3281
3282         * MAINTAINERS: Add several more port specific maintainers.
3283
3284 2000-07-05  Nick Clifton  <nickc@cygnus.com>
3285
3286         * MAINTAINERS: Add blanket write privs for Michael Meissner.
3287
3288 2000-06-05  DJ Delorie  <dj@redhat.com>
3289
3290         * MAINTAINERS: New.
3291
3292 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
3293
3294         * dllwrap.c: Changed mistaken dyn_string_append() calls
3295         to dyn_string_append_cstr().
3296
3297 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
3298
3299         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3300         struct debug_type stores size in bytes.
3301
3302 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
3303
3304         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
3305         (CLEANFILES): Add DEPA.
3306         * Makefile.in: Regenerate.
3307
3308 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
3309
3310         * ar.c: Revert incorrect 2000-06-25 patch.
3311         * bucomm.c: Likewise.
3312
3313 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3314
3315         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3316         (external_coff_symbol_p): New function.
3317         (parse_coff): Use it.
3318
3319 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
3320
3321         * ar.c (normalize): Advance past both characters in a DOS based
3322         <letter>: filepath prefix.
3323         (main): Likewise.
3324         * bucomm.c (make_tempname): Likewise.
3325
3326 2000-06-24  Nick Clifton  <nickc@cygnus.com>
3327
3328         * objdump.c (usage): Fix description of --stabs switch.
3329
3330 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
3331
3332         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3333         find one.
3334         * Makefile.in: Regenerate.
3335
3336 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
3337
3338         * ar.c (normalize): Correct pointer comparison when checking for
3339         backslashes.
3340         (main): Likewise.
3341         * bucomm.c (make_tempname): Likewise.
3342
3343         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3344         and search for backslashes in the original pathname.
3345         (ieee_add_bb11): Likewise.
3346
3347 2000-06-18  Nick Clifton  <nickc@redhat.com>
3348
3349         * ar.c (print_contents): Improve verbose message.
3350
3351 2000-06-15  H.J. Lu  <hjl@gnu.org>
3352
3353         * dyn-string.c: Removed. Not needed with dyn-string.c in
3354         libiberty.
3355         * dyn-string.h: Likewise.
3356
3357         * Makefile.am: Remove references to dyn-string.c and
3358         dyn-string.h. Rebuild dependency.
3359         * Makefile.in: Rebuild.
3360
3361 2000-06-15  H.J. Lu  <hjl@gnu.org>
3362
3363         * binutils.texi: Put a warning on copying relocatable object
3364         files between two different formats.
3365
3366 2000-06-13  DJ Delorie  <dj@cygnus.com>
3367
3368         * rcparse.y (control): ICON controls take an id as the first
3369         parameter, not an optional string.  Also, call new convenience
3370         function that takes res_id's.
3371         * resrc.c (define_control): missing text means zero-length string,
3372         not zero ID.
3373         (define_icon_control): New.
3374         * windres.h: declare define_icon_control.
3375
3376 2000-06-13  H.J. Lu  <hjl@gnu.org>
3377
3378         * configure: Regenerate.
3379
3380 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3381
3382         * configure.in (VERSION): Update to show this is the CVS mainline.
3383
3384 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3385
3386         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3387         analogous to <SPACE>.
3388
3389 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3390
3391         * objdump.c (display_target_list): Use bfd_close_all_done, not
3392         bfd_close to fix crash caused by 2000-05-24 change.
3393
3394 2000-05-25  DJ Delorie  <dj@cygnus.com>
3395
3396         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3397
3398 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3399
3400         * Makefile.am: Update dependencies with "make dep-am"
3401         * Makefile.in: Regenerate.
3402
3403 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3404
3405         * ar.c: Include filenames.h.
3406         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3407         and drive letters in file names.
3408         (main): Support backslashes and drive letters in argv[0].  Drop
3409         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3410         FILENAME_CMP instead of strcmp to compare file names.
3411         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3412         DJGPP v2.
3413         (do_quick_append) [__GO32__]: Ditto.
3414         (get_pos_bfd, delete_members, move_members, replace_members):
3415         Compare file names with FILENAME_CMP.
3416
3417         * bucomm.c: Include filenames.h.
3418         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3419         forward/backward slashes and drive letters in file names.
3420
3421         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3422         mixed forward/backward slashes and drive letters in file names.
3423
3424         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3425         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3426         mode.
3427
3428         * objcopy.c: Include filenames.h.
3429         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3430         before comparing to "strip".
3431         Use FILENAME_CMP to compare file names.
3432
3433         * arsup.c: Include filenames.h.
3434         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3435         FILENAME_CMP to compare file names.
3436         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3437         the temporary file name.
3438
3439         * configure.in: Check for setmode.
3440         * configure: Regenerate.
3441
3442 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3443
3444         * objdump.c (display_target_list): Close the bfd.
3445         (display_info_table): Likewise.
3446
3447 2000-05-14  H.J. Lu  (hjl@gnu.org)
3448
3449         * objcopy.c (filter_symbols): Don't strip global symbols in
3450         relocatable object files.
3451
3452 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3453
3454         * size.c (usage): Associate short options with corresponding long
3455         option to give a clue as to their function.
3456
3457 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3458
3459         * size.c (main): Accept and ignore `-f' option.
3460
3461 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3462
3463         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3464         bindtextdomain): Replace defines with those from intl/libgettext.h
3465         to quieten gcc warnings.
3466
3467 2000-05-12  H.J. Lu  <hjl@gnu.org>
3468
3469         * nlmconv.c (temp_filename): Removed.
3470
3471         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3472         choose_temp_base ().
3473         * objdump.c (display_target_list): Likewise.
3474         (display_info_table): Likewise.
3475
3476 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3477
3478         * objcopy.c (setup_section): Add const and gettext calls for err.
3479
3480 2000-05-02  H.J. Lu  <hjl@gnu.org>
3481
3482         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3483         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3484         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3485         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3486         and ELFOSABI_OPENBSD.
3487
3488 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3489
3490         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3491         * srconv.c: Likewise.
3492         * sysdump.c: Likewise.
3493
3494 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3495
3496         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3497         (get_machine_name): machine name for EM_AVR added.
3498
3499 2000-04-21  Richard Henderson  <rth@cygnus.com>
3500             David Mosberger  <davidm@hpl.hp.com>
3501
3502         * Makefile.am (readelf.o): Add elf/ia64.h.
3503         * Makefile.in: Rebuild.
3504         * readelf.c: Include elf/ia64.h.
3505         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3506
3507 2000-04-17  Timothy Wall  <twall@cygnus.com>
3508
3509         * objdump.c (disassemble_data): Set octets per byte *after*
3510         resolving arch/mach for binary files.
3511
3512 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3513
3514         * arlex.l: Add directives to increase lex buffer size.
3515
3516         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3517         already included by bucomm.h.
3518
3519 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3520
3521         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3522         `strftime' since strftime is not available on all systems.
3523         (process_mips_specific): Ditto.
3524
3525 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3526
3527         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3528         --enable-build-warnings option.
3529         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3530         * Makefile.in, configure: Re-generate.
3531
3532 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3533
3534         * addr2line.c: Update copyright.
3535         * objcopy.1: Likewise, and title.
3536         * strings.1: Likewise.
3537
3538         * version.c (print_version): Add 2000.
3539
3540         * rddbg.c (read_section_stabs_debugging_info): Don't use
3541         bfd_size_type for strx to avoid printf problems if BFD64.
3542
3543         * bucomm.c: (report): Remove `static'.
3544         Move inclusion of stdarg.h/vararg.h from here.
3545         * bucomm.h: To here.
3546         (CONST): Change all occurences to const.
3547         (report): Declare it.
3548         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3549         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3550         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3551
3552         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3553         Correct a typo in an error message.
3554         (do_quick_append): Use non_fatal instead of fprintf.
3555         (move_members): Use fatal instead of fprintf, exit.
3556         * coffdump.c (main): Same here.
3557
3558         * dlltool.c (display): Delete.
3559         (warn): Delete.
3560         (inform): Use `report' instead of `display'.
3561         (rvaafter): Remove trailing \n from fatal error msg.
3562         (rvabefore): Ditto.
3563         (asm_prefix): Ditto.
3564         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3565         (def_name): Likewise.
3566         (run): Likewise.
3567         (scan_all_symbols): Likewise.
3568         (gen_lib_file): Likewise.
3569         (def_library): Likewise.  Remove extra program_name too.
3570         (run): Remove \n from inform strings.
3571         (scan_drectve_symbols): Likewise.
3572         (add_excludes): Likewise.
3573         (scan_open_obj_file): Likewise.
3574         (gen_exp_file): Likewise.
3575         (gen_lib_file): Likewise.
3576         (process_duplicates): Likewise.
3577
3578         * Makefile.am (dllwrap_SOURCES): Add version.c.
3579         * dllwrap.c (program_version): Delete.
3580         (print_version): Delete.
3581         (display): Always print trailing \n.
3582         (warn): New.
3583         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3584         (run): Here too.
3585         (main): And here.
3586         (usage): gettext'ify.
3587         (long_options): Add missing initialisers.
3588
3589         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3590         (select_output_format): Likewise.
3591         (powerpc_mangle_relocs): Likewise.
3592         (link_inputs): Likewise.
3593
3594         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3595         (set_output_format): Likewise.
3596         (main): Use non_fatal instead of fprintf.
3597         (display_rel_file): Likewise.
3598
3599         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3600         (slurp_dynamic_symtab): Same here.
3601         (disassemble_data): And here.
3602         (read_section_stabs): And here.
3603         (read_section_stabs): And here.
3604         (dump_bfd): And here.
3605         (main): And here.
3606         (objdump_sprintf): Use fatal instead of fprintf, exit.
3607         (disassemble_data): Same here.
3608
3609         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3610         (parse_coff_struct_type): Same here.
3611         (parse_coff_enum_type): And here.
3612         (parse_coff): And here.
3613         * rddbg.c (read_debugging_info): And here.
3614         * size.c (main): And here.
3615         * windres.c (format_from_name): And here.
3616         * wrstabs.c (stab_write_symbol): Here too.
3617         (write_stabs_in_sections_debugging_info): And here.
3618         (stab_int_type): And here.
3619         (stab_struct_field): And here.
3620         (stab_typdef): And here.
3621
3622         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3623         * srconv.c (main): Same here.
3624         * strings.c (main): And here.
3625         (integer_arg): And here.
3626         * sysdump.c (main): And here.
3627
3628 2000-04-06  Timothy Wall  <twall@cygnus.com>
3629
3630         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3631
3632 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3633
3634         * readelf.c (decode_location_expression): Loop through multiple
3635         operations.
3636         (read_and_display_attr): Pass in length.
3637
3638         * readelf.c (read_and_display_attr): Add CU offset to references.
3639         (display_debug_info): Pass it in.
3640
3641 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3642
3643         * readelf.c (decode_ARM_machine_flags): New function.
3644         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3645         targets.
3646
3647         (get_machine_name): Catch EM_AVR
3648
3649 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3650
3651         * binutils.texi: Remove optional `=' from long options that have
3652         an `=' in the argument.
3653         * objcopy.1: Here too.  Remove extra space on discard-all.
3654
3655         * binutils.texi (objcopy): Mention --redefine-sym.
3656         * objcopy.1: Here too.
3657         * NEWS: And here.
3658
3659         * objcopy.c (parse_flags): Split off flag names from error message
3660         gettext as they are not translated.
3661         (copy_main): Similarly split off option name for --add-section,
3662         --set-section-flags, --change-section-vma, --change-section-lma
3663         error messages.
3664         Some white space changes.
3665
3666         from Matthew Benjamin <matt@linuxbox.nu>
3667         * objcopy.c (struct redefine_node): New.
3668         (redefine_sym_list): New.
3669         (redefine_list_append): New.
3670         (lookup_sym_redefinition): New.
3671         (OPTION_REDEFINE_SYM): New.
3672         (copy_options): Add --redefine-sym option.
3673         (copy_usage): Mention it.
3674         (filter_symbols): Rename symbols on redefine_sym_list.
3675         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3676         (copy_main): Handle OPTION_REDEFINE_SYM.
3677
3678 2000-04-04  H.J. Lu  <hjl@gnu.org>
3679
3680         * readelf.c (process_symbol_table): Correctly read in symbol
3681         versioning information.
3682
3683 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3684
3685         * po/binutils.pot: Regenerate.
3686
3687         * addr2line.c (usage): Restore translated part of bug string.
3688         * ar.c (usage): Likewise.
3689         * nlmconv.c (show_usage): Likewise.
3690         * nm.c (usage): Likewise.
3691         * objcopy.c (copy_usage): Likewise.
3692         (strip_usage): Likewise.
3693         * objdump.c (usage): Likewise.
3694         * readelf.c (usage): Likewise.
3695         * size.c (usage): Likewise.
3696         * strings.c (usage): Likewise.
3697         * windres.c (usage): Likewise.
3698
3699         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3700         (DEP): Quote when passing vars to sub-make.  Add warning
3701         message to end.
3702         (DEP1): Rewrite for "gcc -MM".
3703         (CLEANFILES): Add DEP2.
3704         Update dependencies.
3705         * Makefile.in: Regenerate.
3706
3707 2000-04-04  H.J. Lu  <hjl@gnu.org>
3708
3709         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3710         (arparse.h): Depend on arparse.c
3711         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3712
3713 2000-04-03  H.J. Lu  (hjl@gnu.org)
3714
3715         * size.c (usage): Use REPORT_BUGS_TO.
3716
3717 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3718
3719         * bucomm.h: #include "bin-bugs.h"
3720         * addr2line.c (usage): Use REPORT_BUGS_TO.
3721         * ar.c (usage): Likewise.
3722         * nlmconv.c (show_usage): Likewise.
3723         * nm.c (usage): Likewise.
3724         (OPTION_TARGET): Define.
3725         (long_options): Use OPTION_TARGET rather than 200.
3726         (main): Likewise.
3727
3728         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3729         (strip_usage): Likewise.
3730         * objdump.c (usage): Likewise.
3731         * readelf.c (usage): Likewise.
3732         * strings.c (usage): Likewise.
3733         * windres.c (usage): Likewise.
3734
3735 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3736
3737         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3738
3739 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3740
3741         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3742         string offsets in corrupt stabs entries.
3743
3744 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3745
3746         * readelf.c: Include elf/avr.h
3747         (dump_relocations): Add EM_AVR case.
3748
3749 2000-03-09  Tim Waugh  <twaugh@redhat.com>
3750
3751         * strings.1: Correct '-bytes' to '--bytes'.
3752
3753 2000-03-08  H.J. Lu  <hjl@gnu.org>
3754
3755         * Makefile.am (install-exec-local): Depend on
3756         install-binPROGRAMS for parallel make.
3757         * Makefile.in: Regenerated.
3758
3759 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
3760
3761         From Brad Lucier <lucier@math.purdue.edu>:
3762         * readelf.c (process_dynamic_segment): Add cast to make sure
3763         argument to %* is int.
3764
3765 2000-02-25  H.J. Lu  <hjl@gnu.org>
3766
3767         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3768
3769 2000-02-24  Nick Clifton  <nickc@cygnus.com>
3770
3771         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3772         * configure: Regenerate.
3773
3774         * dlltool.c: Add support for sh-pe and mips-pe targets.
3775         * rescoff.c: Add support for sh-pe and mips-pe targets.
3776
3777 2000-02-23  H.J. Lu  <hjl@gnu.org>
3778
3779         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3780
3781 2000-02-22  Nick Clifton  <nickc@cygnus.com>
3782
3783         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3784
3785 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
3786
3787         From Brad Lucier <lucier@math.purdue.edu>:
3788         * readelf.c (process_version_sections): Add casts to make sure
3789         argument to %* is an int.
3790         (process_mips_specific): Add casts to make printf arguments match
3791         format.
3792
3793 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
3794
3795         * objdump.c (dump_section_header): Change `opb' to unsigned.
3796         (find_symbol_for_address): Same here.
3797         (disassemble_data): And here.  Change `addr_offset',
3798         `stop_offset', `nextstop_offset' to unsigned long.
3799         (dump_data): Change opb to unsigned.
3800
3801 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
3802
3803         * resrc.c: Remove unmatched #if for cygwin.
3804
3805 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3806
3807         * binutils.texi: Document the change of flavor name from atpcs-special
3808         to special-atpcs to prevent name conflict in gdb.
3809
3810 2000-02-08  Timothy Wall  <twall@redhat.com>
3811
3812         * objdump.c (show_line): Fix bug preventing printing of the very
3813         first line (line zero) of a file when interlisting source and
3814         assembly.  Added option to print entire context from start of file
3815         when the first line from that file is encountered.
3816
3817 2000-02-03  Timothy Wall <twall@redhat.com>
3818
3819         * objdump.c (dump_section_header, find_symbol_for_address,
3820         show_line, disassemble_bytes, disassemble_data, dump_data):
3821         distinguish between octets and bytes.
3822
3823 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
3824
3825         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3826         check to unresolved symbols.
3827         (print_symbol_info_sysv):  Ditto.
3828         (print_symbol_info_posix):  Ditto.
3829
3830         * binutils.texi: Document new 'V' symclass flag for nm.
3831
3832 2000-01-27  Nick Clifton  <nickc@redhat.com>
3833
3834         * binutils.texi (objdump): Document new ARM specific
3835         disassembler options.
3836
3837         * objdump.c (usage): Call disassembler_usage().
3838
3839 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
3840
3841         * readelf.c (get_dynamic_flags): Return buff.
3842         (process_dynamic_segment): Don't pass error strings to printf
3843         as format arg.
3844         (read_and_display_attr): Use lx and ld to print longs.
3845         (process_corefile_note_segment): Cast bfd_vma to unsigned long
3846         before printing.
3847         Update copyright.
3848
3849 2000-01-17  Nick Clifton  <nickc@cygnus.com>
3850
3851         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3852
3853 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
3854
3855         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3856         false.
3857         (debug_tag_type): Here too.
3858         * ieee.c (ieee_builtin_type): And here.
3859         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3860
3861 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3862
3863         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3864         System/370".
3865
3866 2000-01-11  Nick Clifton  <nickc@cygnus.com>
3867
3868         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3869
3870 2000-01-10  Nick Clifton  <nickc@cygnus.com>
3871
3872         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3873
3874 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
3875
3876         * windres.c (long_options): Add --use-temp-file and
3877         --no-use-temp-file options.
3878         (usage): Document.
3879         (main): Handle.
3880
3881         * windres.h: Update read_rc_file prototype.
3882
3883         * resrc.c (cpp_temp_file): New static variable.
3884         (istream_type): New static variable.
3885         (close_pipe): Delete function.
3886         (run_cmd): New static function.
3887         (open_input_stream): New static function.
3888         (close_input_stream): New static function.
3889         (look_for_default): Handle DOS directory separator. Use
3890         open_input_stream instead of popen.
3891         (read_rc_file): Likewise.
3892
3893         * binutils.texi: Document --use-temp-file, --no-use-temp-file
3894         options.
3895
3896 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3897
3898         * dlltool.c (create_compat_implib): New variable.
3899         (gen_exp_file): Use.
3900         (make_one_lib_file): Use.
3901         (long_options): Add --compat-implib option.
3902         (usage): Handle.
3903         (main): Handle.
3904
3905         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3906         (main): Use. Don't look for "32" in cygwin and mingw target names.
3907
3908 2000-01-03  Nick Clifton  <nickc@cygnus.com>
3909
3910         * binutils.texi: Document new, ARM specific disassembler
3911         command line switch "-M force-thumb".
3912
3913 For older changes see ChangeLog-9899
3914 \f
3915 Local Variables:
3916 mode: change-log
3917 left-margin: 8
3918 fill-column: 74
3919 version-control: never
3920 End: