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