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