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