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