1 2003-09-30 Chris Demetriou <cgd@broadcom.com>
3 * NEWS: Add an indication of the cutoff for 2.14.
5 2003-09-30 Chris Demetriou <cgd@broadcom.com>
7 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
9 2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
11 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
12 (get_symbol_index_type): Likewise.
14 2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
16 * readelf.c (process_version_sections): Indent version names.
18 2003-09-15 Anthony Green <green@redhat.com>
20 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
24 2003-09-14 Andreas Jaeger <aj@suse.de>
26 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
27 unneeded (void *) casts.
30 * arparse.y: Likewise.
32 * binemul.c: Likewise.
33 * binemul.h: Likewise.
37 * budemang.c: Likewise.
38 * budemang.h: Likewise.
39 * coffdump.c: Likewise.
40 * coffgrok.c: Likewise.
41 * cxxfilt.c: Likewise.
45 * dlltool.c: Likewise.
46 * dlltool.h: Likewise.
47 * dllwrap.c: Likewise.
48 * emul_aix.c: Likewise.
49 * filemode.c: Likewise.
51 * nlmconv.c: Likewise.
52 * nlmconv.h: Likewise.
53 * nlmheader.y: Likewise.
57 * rcparse.y: Likewise.
62 * rescoff.c: Likewise.
67 * strings.c: Likewise.
68 * sysdump.c: Likewise.
69 * sysinfo.y: Likewise.
71 * unwind-ia64.c: Likewise.
72 * unwind-ia64.h: Likewise.
73 * version.c: Likewise.
74 * windres.c: Likewise.
75 * windres.h: Likewise.
76 * winduni.c: Likewise.
77 * wrstabs.c: Likewise.
79 2003-09-10 James E Wilson <wilson@specifixinc.com>
81 * MAINTAINERS: Update my e-mail address.
83 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
85 * MAINTAINERS: Update my e-mail address.
87 2003-09-04 Nick Clifton <nickc@redhat.com>
89 * MAINTAINERS: Make it clear what should be done with patches to
90 the top level configure files (other than config.guess and
91 config.sub). Add binutils@sources.redhat.com as an address to
92 which patches can be sent.
94 2003-09-04 Nick Clifton <nickc@redhat.com>
96 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
98 2003-09-03 Andrew Cagney <cagney@redhat.com>
100 * objdump.c: Refer to init_disassemble_info in comments.
101 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
102 init_disassemble_info.
104 2003-09-03 Nick Clifton <nickc@redhat.com>
106 * objdump.c (struct objdump_disasm_info): Add new fields
107 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
108 (process_section_p): New function: Returns TRUE if a section
110 (disassemble_section): New function: Contains the body of
111 disassemble_data(), but just for one section.
112 (disassemble_data): Use bfd_map_over_sections to walk section
114 (find_stabs_section): New function: Find a stabs containing
115 section and then dump it.
116 (dump_stabs_section): New function: Use bfd_map_over_sections
117 to find the section to dump.
118 (dump_stabs): Use dump_stabs_section.
119 (dump_section): New function: Display the contents of a
121 (dump_data): Use bfd_map_over_sections to display section
123 (dump_relocs_in_section): Display the relocs in a given section.
124 (dump_relocs): Use bfd_map_over_sections to display relocs.
125 (adjust_addresses): New function: Adjust the vma and lma of
127 (dump_bfd): Use bfd_map_over_sections.
128 * doc/binutils.texi: Document the "objdump -s" (no longer)
129 dumps empty sections.
131 2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
133 * objdump.c: Improve comments/documentation.
134 dump_data: Eliminate duplicate function calls to bfd_section_size.
136 2003-09-02 Alan Modra <amodra@bigpond.net.au>
138 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
140 2003-08-21 Nick Clifton <nickc@redhat.com>
142 * po/tr.po: Updated Turkish translation.
144 2003-08-14 Alan Modra <amodra@bigpond.net.au>
146 * dep-in.sed: Remove libintl.h.
147 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
149 * Makefile.in: Regenerate.
151 2003-08-11 Ian Lance Taylor <ian@airs.com>
153 * readelf.c (process_archive): Fix error handling. Remove memory
156 * readelf.c: Add ability to read archives.
157 (archive_file_offset): New variable.
158 (archive_file_size): New variable.
159 (get_data): Include archive_file_offset in file offset
160 calculation when fseeking.
161 (process_program_headers): Likewise.
162 (process_symbol_table): Likewise.
163 (process_dynamic_segment): Handle computation of end of file
164 position when the file is in an archive.
165 (process_object): New function. Contains the body of
167 (process_archive): New function. Call process_object on each
168 member of an archive.
169 (process_file): Detect archives and handle appropriately.
170 * Makefile.am: Add dependency on aout/ar.h for readelf.c
171 * Makefile.in: Regenerate.
172 * NEWS: Document readelf's new ability.
173 * doc/binutils: Alter text to say that readelf supports archives
174 and 64-bit ELF files.
176 2003-08-08 Nick Clifton <nickc@redhat.com>
178 * po/fr.po: Updated French translation.
180 2003-08-05 Alan Modra <amodra@bigpond.net.au>
182 * objcopy.c: Remove unnecessary prototypes and casts.
183 * objdump.c: Remove unnecessary casts.
184 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
185 (get_osabi_name): Move so we don't need a forward declaration.
187 2003-08-04 Bradley Harrington <bharring@us.ibm.com>
188 Alan Modra <amodra@bigpond.net.au>
190 * objdump.c (include_paths, include_path_count): New vars.
191 (usage): Describe --include.
192 (long_options): Add "include".
193 (add_include_path): New function.
194 (struct print_file_list): Make filename const. Add modname.
195 (try_print_file_open, update_source_path): New functions.
196 (show_line): Use them.
197 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
199 2003-07-30 Alan Modra <amodra@bigpond.net.au>
201 * objdump.c: Remove unnecessary prototypes.
202 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
203 code, and print relocs when dump_dynamic_reloc_info.
204 (disassemble_data): Read and handle dynamic relocs. Correct reloc
205 skip code. Formatting.
206 (dump_bfd): Don't dump dynamic relocs when disassembling.
208 2003-07-29 Ben Elliston <bje@wasabisystems.com>
210 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
211 maintenance defaults to the blanket write privilege maintainers.
213 2003-07-29 Michael Meissner <gnu@the-meissners.org>
215 * MAINTAINERS: Updated my email address.
217 2003-07-29 Nick Clifton <nickc@redhat.com>
219 * objdump.c: Update to ISO C.
221 2003-07-24 Nick Clifton <nickc@redhat.com>
223 * objdump.c (disassemble_data): Do not ignore sections without the
224 LOAD flag when disassemble_all is true. Only print a message
225 about disassembling a section if it contains some data.
227 * po/fr.po: Updated French translation.
229 2003-07-23 Nick Clifton <nickc@redhat.com>
231 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
232 left in. Some formatting tidy ups.
234 2003-07-22 Salvador Eduardo Tropea <set@computer.org>
236 * objdump.c: New command line option --debugging-tags.
237 * doc/binutils.texi: Document new command line option.
238 * prdbg.c: Code to print the debug info as tags compatible
240 * budbg.h: Adjust prototype.
241 * NEWS: Mention new switch
243 2003-07-18 Nick Clifton <nickc@redhat.com>
245 * objdump.c (main) :Accept multiple -M switch.
246 * doc/binutils.texi: Document that multiple -M switches are
247 accepted and that a single -M switch can contain comma
250 2003-07-17 Nick Clifton <nickc@redhat.com>
252 * objdump.c (main): Issue a warning message if multiple -M
255 * doc/binutils.texi (objdump): Update documentation about -M
258 2003-07-17 Nick Clifton <nickc@redhat.com>
260 * po/es.po: New Spanish translation.
262 2003-07-11 Alan Modra <amodra@bigpond.net.au>
264 * po/binutils.pot: Regenerate.
266 2003-07-05 Christopher Faylor <cgf@redhat.com>
268 * dlltool.c (prefix_encode): Use a fixed length for alpha.
270 2003-07-04 Christopher Faylor <cgf@redhat.com>
272 * dlltool.c (prefix_encode): New function. Encode temp file prefix
274 (dlltmp): Pass address of pointer being alloced or suffer neverending
276 (make_one_lib_file): Allocate enough space for new longer stub names.
277 (gen_lib_file): Ditto.
278 (main): Generate the temp file prefix from the pid if prefix was not
279 specified on the command line.
281 2003-07-04 Nick Clifton <nickc@redhat.com>
283 * readelf.c (get_data): Print (unsigned) hex values for size and
284 offset in error messages.
285 (process_section_headers): If the string table could not be
286 allocated, do not continue.
288 2003-07-01 Jakub Jelinek <jakub@redhat.com>
290 * readelf.c (dynamic_segment_ia64_val): Print address and newline
291 for sections by default. Comment fix.
293 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
295 * rcparse.y (res_text_field): New res_id variable.
296 (res_null_text): New static const struct res_id object,
297 with empty unicode name field.
298 (control): Pop parsing of optresidc up one level. Set
299 res_text_field to $2 except for controls which do not accept
300 a text field. Set res_text_field to res_null_text for the
301 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
302 (control_params): Adjust to use res_text_field rather
304 (COMBOBOX): Add comment about discrepency between documented
305 vs. observed default style.
306 * resrc.c (define_control): Make first param const.
307 * windres.h (define_control): Adjust prototype.
309 2003-06-27 Nick Clifton <nickc@redhat.com>
311 * objcopy.c (copy_object): Replace call to
312 bfd_create_gnu_debuglink_section with seperate calls to
313 bfd_add_gnu_debuglink_section and
314 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
317 2003-06-26 Roland McGrath <roland@redhat.com>
319 * readelf.c (loadaddr): Variable removed.
320 (dynamic_info, version_info): Fix type long -> bfd_vma.
321 (program_headers): New variable.
322 (get_program_headers): New function, broken out of
323 process_program_headers.
324 (process_program_headers): Call it. Don't set `loadaddr'.
325 (slurp_ia64_unwind_table): Use get_program_headers.
326 (process_corefile_note_segments): Likewise.
327 (offset_from_vma): New function.
328 (process_relocs, process_dynamic_segment): Call that instead of
329 subtracting `loadaddr'.
330 (process_version_sections, process_symbol_table): Likewise.
331 (process_mips_specific): Likewise.
333 2003-06-26 Nick Clifton <nickc@redhat.com>
335 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
336 (OPTION_ONLY_KEEP_DEBUG): New.
337 (strip_options): Add --only-keep-debug.
338 (copy_options): Likewise.
339 (is_strip_section): Invert return value if STRIP_NONDEBUG is
341 (copy_object): Do not copy private data when STRIP_NONDEBUG is
343 (setup_section): Likewise.
344 (strip_main): Handle --only-keep-debug.
345 (copy_main): Likewise.
346 * NEWS: Mention new switch
347 * doc/binutils.texi: Document new switch.
349 2003-06-25 Alan Modra <amodra@bigpond.net.au>
351 * NEWS: Correct spelling of "relocatable".
352 * objdump.c: Likewise.
353 * sysroff.info: Likewise.
355 2003-06-19 Nick Clifton <nickc@redhat.com>
357 * readelf.c (print_vma): When printing DEC_5 values, if the
358 number is bigger than 99999 switch to using hexadecimal
361 2003-06-11 Nick Clifton <nickc@redhat.com>
363 * objcopy.c (gnu_debuglink_filename): New variable.
364 (OPTION_ADD_GNU_DEBUGLINK): New switch
365 (copy_options): Describe --add-gnu-debuglink switch.
366 Mention that --strip-debug removes sections as well.
367 (is_strip_section): Process the sections removed and kept
368 lists before checking for debugging sections.
369 (add_redefine_syms_file): Make function static.
370 (copy_object): Use is_strip_section.
371 Check to see if a .gnu_debuglink section should be added. If
372 so, call bfd_add_gnu_debuglink.
373 (setup_section): Use is_strip_section.
374 (copy_section): Use is_strip_section.
375 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
376 * NEWS: Mention new objcopy switch.
377 * doc/binutils.texi: Document new switch.
379 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
381 * po/Make-in (DESTDIR): New.
382 (install-data-yes): Support $(DESTDIR).
383 (uninstall): Likewise.
385 2003-06-11 Alan Modra <amodra@bigpond.net.au>
387 * Makefile.in: Regenerate.
389 2003-05-23 Jakub Jelinek <jakub@redhat.com>
391 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
393 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
395 * NEWS: Document the new BSD/POSIX single-character mapping for
396 .comment/.note sections.
398 2003-06-02 Chris Demetriou <cgd@broadcom.com>
399 Jason Thorpe <thorpej@wasabisystems.com>
401 * objcopy.c (redefine_list_append): Add an argument that
402 indicates the context from which this function is being
403 called. Change all callers.
404 (copy_options): Add a new option, --redefine-syms.
405 (copy_usage): Document new option.
406 (copy_main): Handle the --redefine-syms option.
407 * doc/binutils.text (objcopy): Document new option.
409 2003-05-31 Richard Henderson <rth@redhat.com>
411 * readelf.c (byte_get_signed): New.
412 (get_encoded_value): New.
413 (display_debug_frames): Use it. Always pre-process opcodes.
415 2003-05-20 Michal Ludvig <mludvig@suse.cz>
417 * readelf.c (display_debug_frames): Print both registers
420 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
422 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
424 * configure.in: Regenerate.
426 2003-05-13 Michael Eager <eager@mvista.com>
428 * objcopy.c: Treat identical src/dst file names as if only one
429 entered. One Windows creating an output file of the same name as
430 the input file will delete the input file before it is read.
432 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
434 * debug.c (debug_get_real_type): Extend test for circular debug
437 2003-05-12 Nick Clifton <nickc@redhat.com>
439 * configure.in (ALL_LINGUAS): Add zh_CN.
440 * configure: Regenerate.
441 * po/zh_CN.po: New file: Chinese (simplified) translation.
443 2003-05-11 Jason Eckhardt <jle@rice.edu>
445 * MAINTAINERS: Update my mail address.
447 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
449 * readelf.c (dump_relocations): Enlarge the type field in wide
450 mode by one character.
452 2003-05-03 Richard Henderson <rth@redhat.com>
454 * readelf.c (struct Frame_Chunk): Add cfa_exp.
455 (frame_display_row): Just print "exp" for cfa or register
456 defined by a location expression.
457 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
458 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
460 2003-04-30 H.J. Lu <hjl@gnu.org>
462 * objdump.c (only): Change it to char **.
465 (disassemble_data): Check only as an array.
466 (dump_data): Likewise.
467 (dump_relocs): Likewise.
468 (main): Treat only as an array.
470 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
472 * doc/binutils.texi: Fix the documentation for the -fo option.
474 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
476 * readelf.c (get_machine_name) <EM_SH>: Amend return value
479 * readelf.c (decode_location_expression): Don't add a trailing ';'.
481 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
482 Nick Clifton <nickc@redhat.com>
484 * windres.c (long_options): Move close to main, where it is used.
485 Add 'input' and 'output' long options.
486 (main): Accept "-fo" as an alias for "-o". This is for rc
488 * doc/binutils.texi: Mention that -fo is accepted as an alias for
489 -o, but discourage its use.
491 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
493 * windres.c (format_from_name): Make the exit on error
495 (main): Rename the -I option to -J. Introduce -I as a synonym
496 for --include-dir. For backwards compatibility also support the
497 old -I behaviour, but issue a deprecation warning.
498 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
501 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
503 * readelf.c: Replace references to Mitsubishi M32R with
504 references to Renesas M32R.
506 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
508 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
510 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
512 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
513 for debugging information types not supported by objdump.
515 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
517 * configure.in: Recognize canonical form of i[3-6]86-pe*.
518 * configure: Regenerate.
520 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
522 * readelf.c (display_debug_info): Apply RELA relocations on the
524 (byte_put_little_endian, byte_put_big_endian): New functions.
525 (byte_put): New variable.
526 (get_file_header): Initialize it.
528 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
530 * windres.c: Add -l for compatibility with wrc, and rc.
531 Use the short option as a key for long options that have
532 a synonymous short option.
533 * doc/binutils.texi: Added -l to the list of options.
535 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
537 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
538 (main): Just pass the -U option down to the preprocessor.
539 * doc/binutils.texi: Added -U to the list of options.
541 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
543 * windres.c (usage): Report -r option.
544 (main): Ignore the -r option.
545 * doc/binutils.texi: Add -r to the list of options.
547 2003-04-01 Bob Wilson <bob.wilson@acm.org>
549 * MAINTAINERS: Add myself as Xtensa maintainer.
551 2003-04-01 Bob Wilson <bob.wilson@acm.org>
553 * readelf.c: Include "elf/xtensa.h".
554 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
555 targets that use RELA relocations.
556 (dump_relocations): Call elf_xtensa_reloc_type for
557 EM_XTENSA and EM_XTENSA_OLD.
558 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
560 2003-04-01 Nick Clifton <nickc@redhat.com>
562 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
563 thumb-pe*, mcore-pe and mcore-*elf.
564 * configure: Regenerate.
566 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
568 * objdump.c (dump_data): Don't truncate the address to long; make
569 the width large enough, and uniform for all entries in a section.
571 2003-03-31 H.J. Lu <hjl@gnu.org>
573 * readelf.c: Include "libiberty.h".
574 (dynamic_relocations): New.
575 (process_relocs): Properly handle dynamic relocation.
576 (process_dynamic_segment): Fill relocation elements in
579 2003-03-31 Kevin Buettner <kevinb@redhat.com>
581 * readelf.c (read_and_display_attr, read_and_display_attr_value):
582 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
584 (display_debug_lines, display_debug_pubnames, display_debug_info)
585 (display_debug_aranges, display_debug_frames, read_and_display_attr)
586 (read_and_display_attr_value): Add 64-bit DWARF support.
588 2003-03-31 Ian Lance Taylor <ian@airs.com>
590 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
591 (optresid): Handle a resource id that can be a string or a number.
592 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
594 (define_icon_control): Pass a struct res_id to define_control.
595 * windres.h (define_control): Change prototype.
597 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
599 * objcopy (OPTION_FORMATS_INFO): Define.
600 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
601 (copy_options): Likewise.
602 (strip_usage): Add "--info" to usage.
603 (copy_usage): Likewise.
604 (strip_main): Declare formats_info. Iniatilize it to FALSE.
606 (copy_main). Likewise.
607 * doc/binutils.texi. Document the "--info" option for
609 * NEWS: Mention the new command line switch.
611 * objdump.c (endian_string): Move to bucomm.c.
612 (display_info): Likewise.
613 (display_target_list): Likewise.
614 (display_info_table): Likewise.
615 (display_target_tables): Likewise.
616 (main): Assign the return value of display_info to exit_status.
617 * bucomm.c: Include bfdver.h and libbfd.h
618 (display_target_list): Call bfd_nonfatal instead of nonfatal and
619 return 0 on a non-fatal error, 1 on success.
620 (display_info_table): Likewise.
621 * bucomm.h (display_info): Provide a prototype.
622 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
624 * Makefile.in: Regenerate.
626 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
628 * dlltool.c (gen_def_file): Put demangled name comments on
629 own line preceding export name.
631 2003-03-17 Nick Clifton <nickc@redhat.com>
633 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
634 printf for emitting new lines.
636 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
638 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
639 the symbol's value when --size-sort is used, unless -S is used.
640 doc/binutils.texi (--size-sort): For non-bsd formats both the
641 value and size of the symbols are displayed.
643 2003-03-13 Nick Clifton <nickc@redhat.com>
647 2003-03-12 Nick Clifton <nickc@redhat.com>
649 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
651 2003-03-10 Ben Elliston <bje@wasabisystems.com>
653 * MAINTAINERS: Update my mail address.
655 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
657 * stabs.c (BYTES_IN_WORD): Remove definition.
658 * wrstabs.c (BYTES_IN_WORD): Likewise.
660 2003-03-04 Nick Clifton <nickc@redhat.com>
662 * nm.c (main): Print a warning message if --size-sort and
663 --undefined-only are used together.
665 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
667 * nm.c (print_symbol): Remove check for undefined_only.
669 2003-03-03 Nick Clifton <nickc@redhat.com>
671 * po/da.po: Installed latest translation.
673 2003-02-24 Nick Clifton <nickc@redhat.com>
675 * README: Update binutils references to 2.13.
676 Add paragraph about using --disable-nls.
678 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
680 * doc/binutils.texi (nm --size-sort): Update.
682 2003-02-21 James E Wilson <wilson@tuliptree.org>
684 * MAINTAINERS: Update email address.
686 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
688 * readelf.c (get_ia64_dynamic_type): New function.
689 (dynamic_segment_ia64_val): New function.
690 (get_dynamic_type): If machine type is EM_IA_64 call
691 get_ia64_dynamic_val.
692 (get_ia64_section_type_name): Handle sections with types in the
693 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
694 (get_dynamic_flags): If machine type is EM_IA_64 call
695 dynamic_segment_ia64_val.
697 2003-02-21 Bob Wilson <bob.wilson@acm.org>
699 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
700 section title capitalization more consistent. Update descriptions
701 of various options to be consistent with the code. Fix errors and
702 incomplete list in the description of c++filt format options. Remove
703 information about the linker. Change to be more polite about poor
704 bug reports. Replace FDL appendix with include of fdl.texi.
705 * doc/fdl.texi: New file.
707 2003-02-21 Roger Sayle <roger@eyesopen.com>
709 * objcopy.c (filter_symbols): Fix compilation problems with
712 2003-02-19 Christopher Faylor <cgf@redhat.com>
714 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
717 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
719 * rclex.l (handle_quotes): Handle strings spanning more than one line.
721 2003-02-12 Bob Wilson <bob.wilson@acm.org>
723 * nm.c (usage): Add `java' and `gnat' demangle styles and make
725 * objdump.c (usage): Ditto. Also fix some typos.
727 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
729 * debug.c (debug_record_variable): Handle global register variables.
731 * stabs.c (parse_stab): For N_SLINE only include
732 function_start_offset if the symbol is within a function;
733 otherwise, the value is absolute.
735 2003-02-10 Nick Clifton <nickc@redhat.com>
737 * readelf.c (decode_ARM_machine_flags): Handle the
738 EF_ARM_MAVERICK_FLOAT flag.
740 2003-02-04 Andreas Schwab <schwab@suse.de>
742 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
743 long and use %ld in printf format.
745 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
747 * readelf.c (dump_relocations): Reorder the r_info field for
748 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
750 2003-01-21 Daniel Berlin <dan@dberlin.org>
752 * readelf.c (display_debug_loc): Skip address base changes.
754 2003-01-17 Fabio Alemagna <falemagn@aros.org>
756 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
759 2003-01-16 Alan Modra <amodra@bigpond.net.au>
761 * readelf.c: Include elf/ppc64.h.
762 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
763 * Makefile.am: Run "make dep-am".
764 * Makefile.in: Regenerate.
766 2003-01-02 Ben Elliston <bje@redhat.com>
768 * readelf.c (guess_is_rela): Handle EM_IQ2000.
769 (get_machine_name): Likewise.
770 (dump_relocations): Likewise.
771 * NEWS: Mention IQ2000 support.
773 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
775 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
777 2002-12-30 Chris Demetriou <cgd@broadcom.com>
779 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
780 changes in MIPS -M options.
782 2002-12-30 Dmitry Diky <diwil@mail.ru>
784 * Makefile.am: Add msp430 target.
785 * Makefile.in: Regenerate.
786 * readelf.c: Add support for msp430 target.
788 2002-12-27 Chris Demetriou <cgd@broadcom.com>
790 * doc/binutils.texi (objdump): Document MIPS -M options.
792 2002-12-23 Andreas Schwab <schwab@suse.de>
794 * readelf.c (main): Reset dump request after each file.
796 2002-12-23 Nick Clifton <nickc@redhat.com>
798 * nlmconv.c (main): Pass TRUE as third argument to
799 bfd_arch_get_compatible.
801 2002-12-23 Nick Clifton <nickc@redhat.com>
803 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
804 macro. Handle 'S' encoding, accepting 8-bit characters.
805 (main): Parse 'S' encoding.
806 (get_char): Accept 'S' encoding.
807 (print_strings): Use STRING_ISGRAPHIC.
808 (usage): Document support of 'S' encoding.
809 * doc/binutils.texi: Document support of 'S' encoding/
810 * NEWS: Mention new feature.
812 2002-12-20 Alan Modra <amodra@bigpond.net.au>
814 * README <building ar>: Don't use libibery's needed_list or
815 required_list, instead link libiberty/*.o.
817 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
819 * doc/binutils.texi: Fix typos.
821 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
823 * doc/binutils.texi: Add missing parenthesis.
825 2002-12-15 Nick Kelsey <nickk@ubicom.com>
827 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
828 symbols by adding the given prefix to the begining of the symbol
829 name. This is useful to provide name space seperation regardless
830 of how the object file was created. Added --prefix-sections=
831 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
832 sections (or all sections with the alloc flag set) by adding the given
833 prefix to the begining of the symbol name.
834 * NEWS: Mention this new feature.
835 * doc/binutils.texi: Document this new feature.
837 2002-12-13 Alan Modra <amodra@bigpond.net.au>
839 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
840 dyn_string_append with dyn_string_append_cstr.
842 * emul_aix.c (ar_emul_aix_create): Remove unused function.
844 2002-12-10 James Cownie <jcownie@etnus.com>
846 * readelf.h (get_TAG_name, get_AT_name,
847 read_and_display_attr_value): Add support for UPC extensions to
849 * NEWS: Mention this new support.
851 2002-12-08 Alan Modra <amodra@bigpond.net.au>
853 * NEWS: Mention that bfd no longer declares a "boolean" type.
855 2002-12-07 Alan Modra <amodra@bigpond.net.au>
857 * readelf.c (process_program_headers): When setting loadaddr, don't
858 assume segment size is 4k. Use p_align instead.
859 (loadaddr): Change from int to long.
860 (dynamic_addr, dynamic_info, version_info): Likewise.
861 (process_dynamic_segment <syminsz>): Likewise.
862 (process_dynamic_segment): Adjust print format string.
863 (rela_addr, rela_size): Delete.
864 (process_relocs): Formatting.
866 2002-12-05 Jim Wilson <wilson@redhat.com>
868 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
869 * configure: Regenerate.
871 2002-12-04 Ian Lance Taylor <ian@airs.com>
873 * MAINTAINERS: Change e-mail address back to airs.com.
875 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
877 * MAINTAINERS: Add self.
879 2002-11-30 Alan Modra <amodra@bigpond.net.au>
881 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
882 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
883 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
884 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
885 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
886 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
887 with TRUE/FALSE. Formatting.
889 2002-11-29 Jakub Jelinek <jakub@redhat.com>
891 * readelf.c Replace occurrences of Elf32_Internal_* and
892 Elf64_Internal_* with Elf_Internal_*.
893 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
894 Zero r_addend fields.
895 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
898 2002-11-23 Nick Clifton <nickc@redhat.com>
900 * size.c (usage): Fix typo describing switch for hex format.
902 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
904 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
905 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
908 2002-11-14 Nick Clifton <nickc@redhat.com>
910 * readelf.c (process_program_headers): Add comment about return
911 value. Ensure that 0 is returned if the headers are not loaded.
912 (process_file): If process_section_headers failed to load the
913 headers disable any tests that rely upon them. Similarly for
914 process_program_headers.
916 2002-11-12 Nick Clifton <nickc@redhat.com>
918 * po/da.po: Updated Danish translation.
920 2002-11-12 Klee Dienes <kdienes@apple.com>
922 * rddbg.c (read_section_stabs_debugging_info): Also recognize
923 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
925 2002-11-11 Christopher Faylor <cgf@redhat.com>
927 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
930 2002-11-11 Christopher Faylor <cgf@redhat.com>
932 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
934 2002-11-07 Nick Clifton <nickc@redhat.com>
936 * configure.in (ALL_LINGUAS): Add 'da'.
937 * configure: Regenerate.
938 * po/da.po: New Danish translation.
940 * readelf.c (get_symbol_index_type): Revert part of previous
941 patch: Display unknown symbol types in decimal, not hex.
943 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
945 * dlltool.c (add_excludes): Don't prefix excluded fastcall
946 symbols with underscore.
947 (xlate): Ignore add_underscore for decorated fastcall symbols.
949 2002-11-07 Eric Kohl <ekohl@rz-online.de>
951 * deflex.l: Accept '@' as first character of an ID.
952 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
953 ASM_PREFIX for fastcall symbols.
954 (scan_drectve_symbols): Handle fastcall symbols when generating
955 undecorated aliases for symbols in drectve section.
956 (scan_filtered_symbols): Likewise, with export-all.
957 (xlate): Likewise, with --kill-at.
958 (make_imp_label): New function to handle fastcall symbols
960 (make_one_lib_file): Use make_imp_label instead of make_label
963 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
965 * MAINTAINERS: Add self as TIC4X maintainer.
967 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
969 * readelf.c (get_symbol_index_type): Add hex number to
970 PROCESSOR-specific, OS-specific, reserved and unknown symbol
973 2002-11-04 Alan Modra <amodra@bigpond.net.au>
975 * readelf.c (byte_get_little_endian): Comment typo fix.
976 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
977 as the format string.
978 (dump_relocations): Correct section sym names.
979 (process_section_headers): Clear symtab_shndx_hdr.
980 (read_and_display_attr_value): Don't pass indirect string to printf
981 as the format string.
982 (display_debug_frames): Indicate when zero terminator found. Decode
983 DW_EH_PE_pcrel addresses.
985 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
987 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
988 order to ensure proper disassembly of the valid 0-value opcode.
989 * configure: Regenerate.
990 * aclocal.m4: Regenerate.
991 * config.in: Regenerate.
992 * configure.in: Regenerate.
993 * doc/Makefile.in: Regenerate.
994 * po/binutils.pot: Regenerate.
996 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
998 * MAINTAINERS: Add self as SH maintainer.
1000 2002-10-23 Ben Elliston <bje@redhat.com>
1002 * doc/binutils.texi (objdump): Document -z and move the entry for
1003 --disassemble-zeroes to the end of the options section (for `z').
1005 2002-10-21 Nick Clifton <nickc@redhat.com>
1007 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1009 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1011 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1013 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1015 * bucomm.c (list_supported_targets): Use bfd_target_list.
1017 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1018 other object errors in preference to bfd_core errors.
1020 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1022 * Makefile.am: Run "make dep-am".
1023 * objdump.c: #include "bfdver.h".
1024 * version.c: Likewise.
1025 * Makefile.in: Regenerate.
1026 * config.in: Regenerate.
1027 * configure: Regenerate.
1028 * po/POTFILES.in: Regenerate.
1030 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
1032 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1033 sections. Allow relocations against the absolute symbol. Don't
1034 use the value in compunit.cu_abbrev_offset if we found a RELA
1037 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1039 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1040 ordinary ones are available.
1042 2002-09-30 H.J. Lu <hjl@gnu.org>
1044 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1045 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1047 2002-09-17 Zack Weinberg <zack@codesourcery.com>
1049 * Makefile.am (CFILES): Add cxxfilt.c.
1050 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1051 (cxxfilt_LDADD): Delete.
1052 Remove all references to underscore.c.
1054 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1055 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1056 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1057 adjustments to fit into binutils framework.
1058 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1060 2002-09-12 Roland McGrath <roland@redhat.com>
1062 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1063 Handle DW_OP_GNU_push_tls_address.
1065 2002-09-11 Nick Clifton <nickc@redhat.com>
1067 * po/tr.po: Updated Turkish translation.
1069 2002-09-10 Nick Clifton <nickc@redhat.com>
1071 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1072 testsuite changes. Add paragraphs about testsuite and config
1075 2002-08-29 Nick Clifton <nickc@redhat.com>
1077 * readelf.c (get_machine_flags): Remove redundant reference to
1080 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1082 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1085 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1087 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1088 (dump_bfd_header): Likewise.
1090 2002-08-27 Alan Modra <amodra@bigpond.net.au>
1092 * nm.c: Revert last change.
1094 2002-08-26 Alan Modra <amodra@bigpond.net.au>
1096 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1097 * objdump.c (slurp_symtab): Likewise.
1098 (slurp_dynamic_symtab): Likewise.
1099 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1101 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
1103 * MAINTAINERS: Change my mailing address.
1105 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1107 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1109 2002-08-22 Nick Clifton <nickc@redhat.com>
1111 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1114 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1116 * readelf.c (parse_args): Change debug_dump_opt to static.
1118 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1120 * stabs.c (parse_stab_argtype): Pass length of physname to
1121 stab_demangle_argtypes.
1122 (stab_demangle_argtypes): Add new parameter - length of physname.
1123 Pass length of physname on to stab_demangle_prefix.
1124 (stab_demangle_prefix): Add new parameter - length of physname.
1125 Use length of physname (if supplied) to compute end of function
1128 2002-08-15 Alan Modra <amodra@bigpond.net.au>
1130 * readelf.c: Include elf/i370.h.
1131 (dump_relocations): Handle EM_S370.
1132 (dynamic_segment_parisc_val): Print \n.
1133 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1135 2002-08-14 Nick Clifton <nickc@redhat.com>
1137 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1138 * objdump.c (usage): Likewise.
1139 * doc/binutils.texi: Likewise.
1141 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1143 * rcparse.y (acc_entry): Don't warn about ALT use with
1146 2002-08-13 H.J. Lu <hjl@gnu.org>
1148 * objcopy.c (copy_object): Don't warn about the unsupported
1149 architecture unless the input target is defaulted or the
1150 output architecture is different from the input.
1152 2002-08-09 Nick Clifton <nickc@redhat.com>
1154 * po/sv.po: Updated Swedish translation.
1156 2002-08-05 Alan Modra <amodra@bigpond.net.au>
1158 * prdbg.c (pr_fix_visibility): Remove assert.
1160 2002-07-31 Nick Clifton <nickc@redhat.com>
1162 * addr2line.c (process_file): Rename parameter 'filename' to
1163 'file_name' in order to avoid shadowing global symbol of the
1167 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1169 * readelf.c (OPTION_DEBUG_DUMP): Define.
1171 (usage): Update help.
1172 (parse_args): Handle --debug-dump separately from -w.
1173 * doc/binutils.texi (readelf): Update documentation.
1175 2002-07-25 Nick Clifton <nickc@redhat.com>
1177 * po/es.po: Updated Spanish translation.
1178 * po/fr.po: Updated French translation.
1180 2002-07-24 Nick Clifton <nickc@redhat.com>
1182 * po/es.po: Updated Spanish translation.
1184 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1186 * Makefile.am: Run "make dep-am".
1187 * Makefile.in: Regenerate.
1189 2002-07-23 Nick Clifton <nickc@redhat.com>
1191 * po/fr.po: Updated French translation.
1193 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1195 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1197 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1199 * budemang.c: Include config.h and string.h/strings.h.
1201 2002-07-18 Denis Chertykov <denisc@overta.ru>
1202 Frank Ch. Eigler <fche@redhat.com>
1204 * readelf.c: Include "elf/ip2k.h".
1205 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1206 (dump_relocations): Likewise.
1207 (get_machine_name): Likewise.
1208 * NEWS: Mention IP2K support.
1210 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1212 * NEWS: Add 'Changes in 2.13'.
1214 2002-07-10 Jakub Jelinek <jakub@redhat.com>
1216 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1217 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1218 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1219 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1220 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1221 (process_gnu_liblist): New.
1222 (process_file): Call it.
1224 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1226 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1227 * Makefile.in: Regenerate.
1229 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1231 * budemang.c: New file, "demangle" function.
1232 * budemang.h: New file.
1233 * addr2line.c (translate_addresses): Use "demangle".
1234 * nm.c (print_symname): Likewise.
1235 * objdump.c (objdump_print_symname): Likewise.
1236 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1237 here since that obfuscates.
1238 * rdcoff.c: Don't #include demangle.h.
1239 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1240 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1241 (HFILES): Add budemang.h. Sort.
1242 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1244 * Makefile.in: Regenerate.
1246 2002-07-01 Matt Thomas <matt@3am-software.com>
1248 * readelf.c: Include "elf/vax.h".
1249 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1250 (dump_relocations): Handle VAX relocations.
1251 (get_machine_flags): Handle VAX machine flags.
1253 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1255 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1257 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1259 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1261 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1263 * nm.c (print_symname): When demangling, strip leading dots from
1264 symbol names to avoid confusing the demangler.
1266 2002-06-25 H.J. Lu <hjl@gnu.org>
1268 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1269 * Makefile.in: Regenerated.
1271 2002-06-21 Igor Schein <igor@txc.com>
1273 * configure.in: Quote bu_cv_have_fopen64.
1274 * configure: Regenerate.
1276 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1278 * configure.in: Check for strcoll.
1279 * configure: Regenerate.
1280 * config.in: Regenerate.
1281 * nm.c (main): Set locale for LC_COLLATE category.
1282 (non_numeric_forward): Use strcoll if available.
1284 2002-06-20 Dave Brolley <brolley@redhat.com>
1286 * MAINTAINERS: Add self as fr30 and frv maintainer.
1288 2002-06-18 H.J. Lu (hjl@gnu.org)
1290 * nm.c: Include "elf/common.h".
1291 (extended_symbol_info): Add elfinfo, a pointer to
1293 (SYM_SIZE): Use elfinfo if it is not NULL.
1294 (get_symbol_type): New function.
1295 (display_archive): Set print_width for each archive member.
1296 (display_file): Likewise.
1297 (display_rel_file): Don't set print_width here.
1298 (print_object_filename_sysv): Handle print_width.
1299 (print_archive_member_sysv): Likewise.
1300 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1301 (print_symbol): Set the elfinfo field in extended_symbol_info
1303 (print_object_filename_sysv): Fix the output format.
1304 (print_symbol_info_sysv): Print type and section for ELF.
1306 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1308 * nm.c (print_size_symbols): Remove assignment, which makes
1309 the symbol's size equal to its value when --size-sort is
1312 2002-06-18 Dave Brolley <brolley@redhat.com>
1314 From Catherine Moore:
1315 * readelf.c (elf/frv.h): #include it.
1316 (guess_is_rela): Support EM_CYGNUS_FRV.
1317 (dump_relocations): Ditto.
1318 (get_machine_name): Ditto.
1319 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1321 2002-06-18 Jakub Jelinek <jakub@redhat.com>
1323 * readelf.c (get_file_header): Only read the first section header if
1324 e_shoff is non-zero.
1326 2002-06-15 H.J. Lu (hjl@gnu.org)
1328 * nm.c (print_size): New variable. Initialize to 0.
1329 (long_options): Add 'S'/"print-size".
1331 (print_symbol_info_bsd): Print size only if print_size is not
1334 * doc/binutils.texi: Document -S/--print-size.
1336 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1338 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1339 of the symbols to the information provided by the symbol_info
1341 (print_symbols): Pass the symbol size to print_symbol.
1342 (print_size_symbols): Pass the symbol size to print_symbol.
1343 (print_symbol): Extra argument: The size of the symbol. Store
1344 this in the extended_symbol_info structure.
1345 (print_symbol_info): Change type of info parameter to
1346 extended_symbol_info. Display the size, if known.
1347 (print_symbol_info_posix): Likewise.
1348 (print_symbol_info_sysv): Likewise.
1350 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1352 * Makefile.am: Run "make dep-am".
1353 * Makefile.in: Regenerate.
1354 * doc/Makefile.in: Regnerate.
1356 * bucomm.c: Replace CONST with const.
1358 * objdump.c: Likewise.
1360 2002-06-07 H.J. Lu <hjl@gnu.org>
1362 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1363 (DW_CFA_GNU_negative_offset_extended): Likewise.
1364 (DW_CFA_GNU_window_save): Likewise.
1365 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1366 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1368 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
1370 * nm.c: When computing size of symbols for an ELF target use the
1371 internal size field.
1373 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1375 * testsuite/binutils-all/objcopy.exp: clear xfail for
1377 * testsuite/binutils-all/hppa/objdump.exp: Return if
1380 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1382 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1384 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1386 * objdump.c: Fix formatting.
1388 2002-05-29 Ben Elliston <bje@redhat.com>
1390 * MAINTAINERS: Add self as M68k maintainer.
1392 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1394 * readelf.c: Modified/Added DLX elf support.
1396 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1398 * arsup.c: Fix formatting.
1399 * debug.c (debug_record_label): Add missing colon to error
1401 * ieee.c (parse_ieee_ty): Fix spelling typo.
1402 * readelf.c (process_program_headers): Remove English assumption
1403 about making a plural word.
1404 (process_section_headers): Likewise.
1405 (process_relocs): Allow quotes to be translated.
1406 (process_unwind): Likewise,
1407 (process_mips_specific): Improve error message.
1408 (get_note_type): Fix spelling typo.
1410 * configure.in (ALL_LINGUAS): Add sv
1411 * po/sv.po: New file.
1413 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1415 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1416 (unw_print_grmask): Likewise.
1417 (unw_print_frmask): Likewise.
1419 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1421 * arsup.c: Remove ARGSUSED.
1422 * debug.c: Likewise.
1424 * nlmconv.c: Likewise.
1425 * prdbg.c: Likewise.
1426 * stabs.c: Likewise.
1427 * wrstabs.c: Likewise.
1429 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1431 * arlex.l: Use #include "" instead of <> for local header files.
1432 * coffdump.c: Likewise.
1433 * coffgrok.c: Likewise.
1434 * nlmconv.c: Likewise.
1435 * nlmheader.y: Likewise.
1436 * srconv.c: Likewise.
1437 * strings.c: Likewise.
1438 * sysdump.c: Likewise.
1439 * unwind-ia64.h: Likewise.
1440 * windres.h: Likewise.
1441 * winduni.h: Likewise.
1443 2002-05-24 Tom Rix <trix@redhat.com>
1445 * MAINTAINERS: Add self as the d10v maintainer.
1447 2002-05-24 TAMURA Kent <kent@netbsd.org>
1449 * configure.in: Builds dlltool for i386-netbsdpe.
1450 * configure: Regenerate.
1452 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1454 * size.c: Fix formatting.
1455 * srconv.c: Likewise.
1456 * stabs.c: Likewise.
1457 * sysdump.c: Likewise.
1458 * unwind-ia64.c: Likewise.
1459 * wrstabs.c: Likewise.
1461 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1463 * readelf.c (get_segment_type): Add PT_TLS.
1464 (get_elf_section_flags): Add SHF_TLS.
1465 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1466 (process_dynamic_segment): Use puts instead of printf.
1467 (get_symbol_type): Support STT_TLS.
1468 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1469 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1470 Add SEC_THREAD_LOCAL.
1472 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1474 * rdcoff.c: Fix formatting.
1475 * rddbg.c: Likewise.
1476 * readelf.c: Likewise.
1477 * rename.c: Likewise.
1478 * resbin.c: Likewise.
1479 * resrc.c: Likewise.
1480 * resres.c: Likewise.
1482 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1484 * filemode.c: Fix formatting.
1486 * is-ranlib.c: Likewise.
1487 * is-strip.c: Likewise.
1488 * maybe-ranlib.c: Likewise.
1489 * maybe-strip.c: Likewise.
1490 * nlmconv.c: Likewise.
1492 * not-ranlib.c: Likewise.
1493 * not-strip.c: Likewise.
1494 * objcopy.c: Likewise.
1495 * objdump.c: Likewise.
1497 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1499 * objdump.c (dump_headers): Fix output formatting for ELF32
1500 architectures in a BFD64 enabled toolchain.
1502 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1504 * debug.c: Fix formatting.
1505 * debug.h: Likewise.
1506 * dlltool.c: Likewise.
1507 * dllwrap.c: Likewise.
1508 * emul_aix.c: Likewise.
1509 * emul_vanilla.c: Likewise.
1511 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1513 * addr2line.c: Fix formatting.
1515 * arsup.c: Likewise.
1516 * arsup.h: Likewise.
1517 * binemul.c: Likewise.
1518 * binemul.h: Likewise.
1519 * bucomm.c: Likewise.
1520 * coffdump.c: Likewise.
1521 * coffgrok.c: Likewise.
1522 * coffgrok.h: Likewise.
1524 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1526 * MAINTAINERS: Add myself as the second AVR port maintainer.
1528 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1530 * MAINTAINERS: Update my email address.
1532 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1534 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1536 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1538 * configure.in: Replace `*pe' with `pe' throughout.
1539 * configure: Regenerate.
1541 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1543 * Makefile.am: Honour DESTDIR.
1544 * Makefile.in: Regenerate.
1546 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1548 * dlltool.c (process_def_file): Add missing prototype.
1549 (new_directive, assemble_file, main): Likewise.
1550 (process_def_file, new_directive): Make static.
1551 (inform): Rewrite using VA_FIXEDARG.
1552 * dllwrap.c (mybasename): Add missing prototype.
1553 (strhash, main): Likewise.
1554 (inform): Rewrite using VA_FIXEDARG.
1556 (cleanup_and_exit): Use old style function definition.
1557 (strhash): Likewise.
1558 * windres.c (define_resource): Use one memset to clear all of
1559 struct res_resource.
1561 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1562 call to rules that need no lookahead. Check for no lookahead.
1564 2002-05-06 Borut Razem <borut.razem@siol.net>
1566 * rclex.l (get_string): Correct "strings" list handling.
1567 * resrc.c (read_rc_file): Discard strings.
1569 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1571 * ar.c (replace_members): Remove unused var. Formatting fix.
1572 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1574 * MAINTAINERS: Sort port maintainers by CPU.
1576 2002-05-04 Bob Byrnes <byrnes@curl.com>
1578 * size.c (display_archive): Add last_arfile and code to close archives.
1580 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1582 * nm.c (print_symbol): Check returned filename from
1583 bfd_find_nearest_line is non-NULL.
1585 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1587 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1589 2002-04-24 Christian Groessler <chris@groessler.org>
1591 * MAINTAINERS: Changed my email address.
1593 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1595 * arparse.y: Fix syntax warning.
1597 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1599 * readelf.c (fetch_location_list): Remove unused function.
1601 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1602 and display a warning message, then exit the loop.
1604 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1606 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1608 * resrc.c (write_rc_dialog): If charset is non-default value
1609 display all of the DIALOGEX parameters.
1611 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1613 * rcparse.y: Allow two to five parameter in FONT statement of
1615 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1617 (res_to_bin_dialog): Likewise.
1618 * windres.h: Added misssing charset variable to dialog_ex
1621 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1623 * rcparse.y: Set MEMFLAG_PURE by default.
1625 2002-04-09 Bernd Herd <info@herdsoft.com>
1627 * rcparse.y: CLASS definitions in DIALOG resources
1629 Fix typo in BEDIT warning.
1630 Don't add default dialog style when explicit style specified.
1631 Add WS_CAPTION dialog style if CAPTION is specified.
1633 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1634 (handle_quotes) "\a" escape (used for right justified key
1635 definitions in menus) is encodes as binary 8.
1637 * resrc.c (write_rc_dialog): Print style even if it is 0.
1638 (write_rc_directory): Fix overlooked sublang shift bug.
1639 (bin_to_res_dialog): Don't print empty dialog caption.
1641 * resbin.c (bin_to_res_dialog): Use signature to identify
1644 * windres.c (main): Set default LANGUAGE to english/us.
1646 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1648 * resrc.c: print CLASS names in quotes
1650 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1652 * MAINTAINERS: Update my email address.
1654 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1656 * dep-in.sed: Cope with absolute paths.
1657 * Makefile.am (dep.sed): Subst TOPDIR.
1659 * Makefile.in: Regenerate.
1661 2002-03-27 Peter Targett <peter.targett@arc.com>
1663 * MAINTAINERS: Update my email address.
1665 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1667 * Makefile.am: Run "make dep-am".
1668 * Makefile.in: Regenerate.
1669 * doc/Makefile.in: Regenerate.
1670 * po/POTFILES.in: Regenerate.
1671 * aclocal.m4: Regenerate.
1672 * config.in: Regenerate.
1673 * configure: Regenerate.
1675 2002-03-20 Daniel Berlin <dan@dberlin.org>
1677 * readelf.c: Add support for displaying dwarf2 location lists.
1678 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1679 (parse_args): Use 'O' as shorthand for displaying location list
1681 (process_section_headers): Handle debug_loc as well.
1682 (load_debug_loc): New.
1683 (free_debug_loc): New.
1684 (fetch_location_list): New.
1685 (display_debug_loc): New.
1686 (display_debug_info): Call load_debug_loc and free_debug_loc.
1687 (debug_displays): We can display .debug_loc now, too.
1688 (usage): Update usage string.
1689 (read_and_display_attr_value): Note location lists, but don't
1690 display them inline.
1692 2002-03-18 Tom Rix <trix@redhat.com>
1694 * Makefile.am: Add binutils emulation support.
1695 * configure.in: Same.
1696 * configure.tgt: New file. Same.
1697 * ar.c (main): Use ar_emul_parse_arg.
1698 (usage): Use ar_emul_usage.
1699 (replace_members): Use ar_emul_replace, ar_emul_append.
1700 * binemul.c: New file. Define the binutils emulation
1701 layer. Define default methods.
1702 * binemul.h: New file. Binutils emulation layer header file.
1703 * emul_aix.c: New file. AIX binutils emulation.
1704 * emul_vanilla.c: New file. Default binutils emulation.
1705 * Makefile.in: Regenerate.
1708 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1710 * po/fr.po: Updated version.
1712 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1714 * po/fr.po: Updated version.
1716 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1718 * README: Update some version numbers.
1720 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1722 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1723 (Architecture Selection): Likewise.
1725 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1727 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1728 generating .exp file.
1730 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1732 * readelf.c (dump_relocations): Fix typo.
1734 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1736 * NEWS: Mark 2.12 branch.
1738 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1740 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1741 types for 64-bit MIPS. Narrow some fields for 80-char
1743 (dump_relocations): Change spelling from 'unrecognised'
1745 (decode_ARM_machine_flags): Likewise.
1746 (parse_args): Likewise.
1747 (read_and_display_attr_value): Likewise.
1748 (display_debug_section): Likewise.
1750 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1752 * NEWS: Mention support for MMIX.
1754 2002-02-13 Matt Fredette <fredette@netbsd.org>
1756 * readelf.c (get_machine_flags): Recognize EF_M68000.
1758 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1760 * MAINTAINERS: Added self as MN10300 co-maintainer.
1762 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1764 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1767 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1769 * MAINTAINERS: List myself as branch maintainer.
1771 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1773 * configure: Regenerate.
1774 * objcopy.c: Update copyright date.
1775 * doc/Makefile.in: Regenerate.
1777 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1779 * nlmconv.c: Back out localtime PARAMS change.
1781 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1783 * objcopy.c (MKDIR): Define.
1784 (copy_archive): Make name_list.name const. Use MKDIR.
1785 Handle duplicate files in archives by making more temp dirs.
1787 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1789 * coffdump.c: Include "getopt.h" after "bucomm.h"
1790 so that macros are defined correctly.
1791 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1792 prototype. Prototype main.
1793 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1795 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1797 * MAINTAINERS: Added self as SH co-maintainer.
1799 2002-02-05 Nick Clifton <nickc@redhat.com>
1801 * po/tr.po: Updated translation.
1803 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1805 * Makefile.am: Run "make dep-am"
1806 * Makefile.in: Regenerate.
1808 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1810 * nm.c (print_value): Mark abfd unused.
1812 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1814 * unwind-ia64.c (unw_decoder): Change second argument
1815 to unsigned int, to match function prototypes.
1817 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1819 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1820 __GNU_LIBRARY__ will be defined.
1823 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1825 * configure: Regenerated.
1827 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1829 * doc/Makefile.am (install): Depend on install-info.
1830 * doc/Makefile.in: Regenerate.
1832 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1834 * objcopy.c (strip_usage): Document -d as an alias
1837 * size.c (usage): Document [-t | --totals] options.
1838 (long_options): Add --totals option.
1839 (main): If the [-t | --totals] option is specified and
1840 the output format is Berkeley-style, print the total
1841 text, data, and bss sizes of all objects listed.
1842 (print_berkeley_format): If the [-t | --totals] option
1843 is specified, track the total text, data, and bss
1845 * doc/binutils.texi (size): Document [-t | --totals] options.
1846 (strip): Document -d as an alias for --strip-debug.
1847 * NEWS: Mention new feature of size.
1849 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1851 * po/fr.po: Updated version.
1852 * po/es.po: Updated version.
1854 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1856 * addr2line.c (usage): Update text to provide verbose
1857 description of the command line options.
1858 * ar.c (usage): Update text to provide verbose
1859 description of the command line options.
1860 (main): Accept -h and -H when running as ranlib.
1861 * coffdump.c (show_usage): Update text to provide verbose
1862 description of the command line options.
1863 * dlltool.c (main): Accept -H as an alias for --help.
1864 * nlmconv.c (show_usage): Update text to provide verbose
1865 description of the command line options.
1866 * nm.c (usage): Replace OPTIONS with option(s).
1867 (main): Accept -H as an alias for --help.
1868 * objcopy.c (strip_main): Accept -H as an alias for --help.
1869 * objdump.c (main): Accept -v as an alias for --verbose.
1870 * readelf.c (usage): Adjust format to match style used in
1872 * size.c (usage): Update text to provide verbose description
1873 of the command line options.
1874 (main): Accept -v, -h and -H as command line options.
1875 * srconv.c (show_usage): Update text to provide verbose
1876 description of the command line options.
1877 * strings.c (main): Accept -H and -v as command line options.
1878 (usage): Update text to provide verbose description of the
1879 command line options.
1880 * sysdump.c (show_usage): Update text to provide verbose
1881 description of the command line options.
1882 * windres.c (usage): Adjust format to match style used in
1885 * coffdump.c: Fix formatting.
1886 * nlmconv.c: Fix formatting.
1887 * srconv.c: Fix formatting.
1888 * sysdump.c: Fix formatting.
1890 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1892 * Makefile.am: Run "make dep-am".
1893 * Makefile.in: Regenerate.
1895 2002-01-18 Andreas Jaeger <aj@suse.de>
1897 * version.c (print_version): Update year.
1899 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1901 * readelf.c (get_machine_name): Handle EM_PPC64.
1902 (guess_is_rela): Here too.
1904 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1906 * po/binutils.pot: Regenerate.
1907 * po/fr.po: Regenerate.
1908 * po/tr.po: Regenerate.
1910 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1912 * po/tr.po: Import new version.
1914 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1916 * readelf.c (get_ppc64_dynamic_type): New.
1917 (get_dynamic_type): Call it.
1919 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1921 * objcopy.c (copy_usage): Use "options" instead of "switches".
1922 (strip_usage): Use "options" instead of "switches".
1923 * doc/binutils.texi (dlltool): Refer to "options" instead of
1926 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1928 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1930 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1932 * po/es.po: Import from translation project.
1933 * configure.in (ALL_LINGUAS): Add es.
1934 * configure: Regenerate.
1936 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1938 * readelf.c (get_netbsd_elfcore_note_type): Use
1939 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1941 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1943 * readelf.c: Update copyright years.
1944 (get_note_type): Return a const char *.
1945 (get_netbsd_elfcore_note_type): New function.
1946 (process_note): Use get_netbsd_elfcore_note_type to get
1947 the note type string for NetBSD ELF core files.
1949 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1951 * readelf.c (get_ia64_segment_type): Add support for macros.
1952 (get_segment_type): Add support for IA64 specific macros.
1954 2001-12-20 Julian v. Bock <julian@wongr.net>
1956 * readelf.c (print_symbol): New function: Print a formatted symbol
1957 name. If --wide is specified do not truncate it.
1958 (dump_relocations): Use print_symbol() to print symbol names.
1959 (process_symbol_table): Likewise.
1960 (process_syminfo): Likewise.
1961 (process_mips_specific): Likewise.
1962 (usage): Document new feature of --wide switch.
1963 * doc/binutils.texi (objdump): Document additional behaviour of
1966 2001-12-18 Michael Snyder <msnyder@redhat.com>
1968 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1969 (copy_object): Don't set the start address or flags of a core file.
1970 (copy_section): Don't relocate a core file. Don't copy contents
1971 if the input section has the contents flag set, but the output
1972 section does not (which happens with the fake 'note' pseudo-
1973 sections that BFD creates for corefiles).
1975 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1977 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1978 ASE extensions. More robust code for ISA checking. Ignore empty fields
1979 in header flags for GNU extensions.
1981 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1983 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1985 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1987 * po/ja.po: Import from translation project.
1988 * configure.in (ALL_LINGUAS): Add ja.
1989 * configure: Regenerate.
1991 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1993 * addr2line.c (main): Protoype.
1994 * ar.c (main): Protoype.
1995 * nm.c (main): Protoype.
1996 * objcopy.c (main): Protoype.
1997 * objdump.c (main): Protoype.
1998 * size.c (main): Protoype.
1999 * strings.c (main): Protoype.
2001 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2003 * readelf.c (symtab_shndx_hdr): New global.
2004 (SECTION_HEADER_INDEX): Define.
2005 (SECTION_HEADER_NUM): Define.
2006 (SECTION_HEADER): Define.
2007 (GET_ELF_SYMBOLS): Pass two params rather than three.
2008 (get_32bit_elf_symbols): Take file and section args. Read and
2009 use SHT_SYMTAB_SHNDX.
2010 (get_64bit_elf_symbols): Likewise.
2011 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2012 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2013 Remember symtab_shdx_hdr.
2014 (process_program_headers): Scan from index 1 for segment map.
2015 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2017 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2018 (process_unwind): Likewise.
2019 (process_version_sections): Likewise.
2020 (process_symbol_table): Likewise.
2021 (display_debug_info): Likewise.
2022 (process_dynamic_segment): Fake up a symtab section for changed
2024 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2025 (process_program_headers): Kill signed/unsigned warning.
2026 (load_debug_str): Likewise.
2027 (display_debug_info): Likewise.
2029 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2031 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2033 2001-12-11 Alan Modra <amodra@bigpond.net.au>
2035 * readelf.c (process_file_header): Print extended e_shnum and
2036 e_shdtrndx values. Set elf_header values for same.
2037 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2038 (get_64bit_section_headers): Likewise.
2039 (process_section_headers): Update calls.
2040 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2042 2001-12-10 Jakub Jelinek <jakub@redhat.com>
2044 * objcopy.c (setup_section): Copy entsize.
2046 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2048 * readelf.c (guess_is_rela): Add support for stormy16.
2049 (dump_relocations): Likewise.
2050 (get_machine_name): Likewise.
2052 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2054 * dllwrap.c (main) Replace multiple strings describing a
2055 single error with a single, newline escaped sentence to permit
2056 better translation into foreign languages.
2058 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2061 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2063 * strings.c (get_char): Initialize value.
2065 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2067 * arlex.l: Silence compile warnings.
2068 * arsup.h: Likewise. Fix formatting.
2070 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2072 * strings.c: Include config.h before bfd.h.
2073 (file_off): New type.
2074 (file_open): Define.
2075 (print_strings): Use file_off instead of file_ptr. Print addresses
2076 which don't fit into long correctly.
2077 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2079 (strings_file): Use file_off instead of file_ptr. Use file_open.
2080 * configure.in: Check for getc_unlocked.
2081 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2083 * configure: Rebuilt.
2084 * config.h.in: Rebuilt.
2086 2001-11-29 H.J. Lu <hjl@gnu.org>
2088 * bucomm.c (make_tempname): Revert the changes made on
2089 2001-11-14 and 2001-11-12. They won't work with directories.
2091 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2093 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2094 CFLAGS_FOR_TARGET to runtest in environment.
2095 * Makefile.in: Rebuild.
2096 * doc/Makefile.in: Rebuild.
2098 2001-11-28 Mike Stump <mrs@wrs.com>
2100 * objcopy.c (setup_section): Preserve SEC_RELOC when
2101 --set-section-flags is used.
2103 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2105 * readelf.c (do_debug_str): New variable.
2106 (display_debug_str): New function: Display the contents of a
2108 (load_debug_str): New function: Load in the contents of a
2110 (free_debug_str): New function: Free the memory used by
2112 (fetch_indirect_string): Retrieve a string from the .debug_str
2115 (parse_args): Accept -ws.
2116 (process_section_headers): Allow the display of the .debug_str
2118 (read_and_display_attr_value): Use fetch_indirect_string. Show
2119 offset into .debug_str section.
2120 (display_debug_info): Use load_debug_str and free_debug_str.
2121 (debug_displays): Add .debug_str.
2122 * doc/binutils.texi: Document -ws.
2124 2001-11-19 Andreas Jaeger <aj@suse.de>
2126 * testsuite/binutils-all/objdump.exp: Add x86-64.
2128 2001-11-15 Andreas Schwab <schwab@suse.de>
2130 * readelf.c: Fix warnings without terminating newline.
2132 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2134 * doc/binutils.texi (objdump): Document ppc -M options.
2136 2001-11-14 Andreas Jaeger <aj@suse.de>
2138 * doc/binutils.texi (objdump): Fix description to use x86-64.
2140 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2142 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2143 not all systems provide mkstemp.
2145 2001-11-14 Alan Modra <amodra@bigpond.net.au>
2147 * doc/binutils.texi (objdump): Document x86 -M options.
2149 2001-11-13 Keith Walker <keith.walker@arm.com>
2151 * readelf.c (read_and_display_attr_value): New function to
2152 handle DW_FORM_indirect.
2153 (read_and_display_attr): Use it.
2155 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
2157 * readelf.c (display_debug_lines): Deal with unknown standard
2158 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2161 2001-11-13 Timothy Wall <twall@alum.mit.edu>
2163 * MAINTAINERS: Add self as tic54x maintainer. This target
2164 includes the IBM C54XDSP clone.
2166 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2168 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2170 2001-11-09 Jeffrey A Law (law@cygnus.com)
2172 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2173 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2174 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2175 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2176 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2177 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2178 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2180 * readelf.c (get_elf_class): Fix ISO portability glitch.
2181 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2183 2001-11-07 Jakub Jelinek <jakub@redhat.com>
2185 * readelf.c (debug_str, debug_str_size): New.
2186 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2188 (read_and_display_addr): Handle DW_FORM_strp.
2189 (display_debug_info): Read .debug_str section if present,
2190 so that DW_FORM_strp can be handled.
2191 Fix test for non-existant .debug_abbrev section.
2193 2001-11-05 Jakub Jelinek <jakub@redhat.com>
2195 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2197 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2199 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2201 * MAINTAINERS: Add self as s390/s390x maintainer.
2203 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
2205 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2207 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2209 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2210 * configure: Regernate.
2211 * po/fr.po: New file.
2212 * po/tr.po: New file.
2214 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2216 * MAINTAINERS: Add self as MMIX port maintainer.
2217 * readelf.c: Include elf/mmix.h.
2218 (guess_is_rela): MMIX is RELA.
2219 (dump_relocations): Handle MMIX relocations.
2220 * Makefile.am: Regenerate dependencies.
2221 * Makefile.in: Regenerate.
2223 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2225 * readelf.c (parse_args): Handle multiple options to the -w
2228 2001-10-12 Jakub Jelinek <jakub@redhat.com>
2230 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2231 LOPROC, LOOS and LOUSER.
2233 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
2235 * MAINTAINERS: Update my email address.
2237 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2239 * doc/Makefile.in: Regenerate.
2240 * configure: Regenerate.
2242 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2244 * readelf.c (display_debug_line, display_debug_pubnames,
2245 display_debug_info, display_debug_frames): Detect and warn
2246 about 64-bit format entries.
2247 (display_debug_aranges): Reword 64-bit warning.
2248 (debug_displays): Add .debug_pubtypes as a known, but not yet
2249 supported, debug section.
2251 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2253 * coffdump.c (PROGRAM_VERSION): Delete.
2254 (main <'V'>): Call print_version.
2255 * srconv.c: Likewise.
2256 * sysdump.c: Likewise.
2257 * version.c (program_version): Remove.
2258 (print_version): Use BFD_VERSION_STRING. Just print the current
2259 year in copyright message.
2260 * addr2line.c (program_version): Remove unused declaration.
2261 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2262 place of BFD_VERSION.
2263 * Makefile.am (Makefile): Depend on bfd/configure.in.
2264 (cplus-dem.o): Depend on Makefile.
2266 * Makefile.in: Regenerate.
2268 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2270 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2271 format .debug_arange sections.
2272 (main): Add missing prototype.
2274 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2276 * Makefile.am: Update dependencies with "make dep-am".
2277 * Makefile.in: Regenerate.
2279 2001-09-28 Richard Henderson <rth@redhat.com>
2281 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2283 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2285 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2287 (non_fatal): Likewise.
2288 * objdump.c (objdump_sprintf): Likewise.
2289 * readelf.c (error): Likewise.
2292 2001-09-25 Jakub Jelinek <jakub@redhat.com>
2294 * readelf.c (do_wide): New.
2295 (options): Add --wide.
2296 (usage, parse_args): Likewise.
2297 (process_program_headers): Put each segment on a single line if
2299 (process_section_headers): Put each section on a single line if
2301 * doc/binutils.texi: Document it.
2304 2001-09-25 Alan Modra <amodra@bigpond.net.au>
2306 * readelf.c (print_vma): Print 8 digits of low hex value.
2308 2001-09-24 Andreas Jaeger <aj@suse.de>
2310 * nlmconv.c: Fix warnings about unused attributes and function
2313 * strings.c: Add prototype for get_char.
2315 2000-09-19 H.J. Lu <hjl@gnu.org>
2317 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2318 $(srcdir)/cxxfilt.man.
2319 * doc/Makefile.in: Rebuild.
2321 2001-09-19 Alan Modra <amodra@bigpond.net.au>
2323 * objcopy.c (copy_main): Correct rename-section string parsing.
2324 Consolidate new_name parsing, and error messages.
2326 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2328 * addr2line.c: Don't include <ctype.h>.
2329 (main): For gettext, also set the LC_CTYPE locate facet.
2330 * ar.c (main): Likewise.
2331 * coffdump.c (main): Likewise.
2332 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2333 (main): For gettext, also set the LC_CTYPE locate facet.
2334 Use ISALNUM instead of isalpha/isdigit.
2335 * dllwrap.c: Don't include <ctype.h>.
2336 (main): For gettext, also set the LC_CTYPE locate facet.
2337 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2338 (main): For gettext, also set the LC_CTYPE locate facet.
2339 Use TOUPPER instead of islower/toupper.
2340 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2341 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2342 Use TOUPPER instead of islower/toupper.
2343 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2344 * objcopy.c (main): Likewise.
2345 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2346 (disassemble_bytes): Use ISPRINT instead of isprint.
2347 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2348 (dump_data): Use ISPRINT instead of isprint.
2349 (main): For gettext, also set the LC_CTYPE locate facet.
2350 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2351 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2352 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2353 Use TOUPPER instead of islower/toupper.
2354 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2355 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2356 (write_rc_accelerators): Use ISPRINT instead of isprint.
2357 (write_rc_rcdata): Likewise.
2358 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2359 * srconv.c (main): Likewise.
2360 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2361 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2362 isdigit/isupper/islower.
2363 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2364 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2365 stab_demangle_prefix, stab_demangle_qualified,
2366 stab_demangle_template, stab_demangle_type,
2367 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2368 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2369 (isgraphic): Use ISPRINT instead of isascii/isprint.
2370 (main): Remove HAVE_LC_MESSAGES dependency.
2371 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2372 (pbarray): Use ISPRINT instead of isprint.
2373 (main): For gettext, also set the LC_CTYPE locate facet.
2374 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2375 (format_from_filename): Use ISPRINT instead of isprint.
2376 (main): For gettext, also set the LC_CTYPE locate facet.
2377 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2378 (unicode_print): Use ISPRINT instead of isprint.
2379 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2380 (stab_variable): Use ISDIGIT instead of isdigit.
2382 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2384 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2385 Replace bfd_read call with call to bfd_bread.
2386 (extract_file): Likewise.
2388 * objdump.c (dump_section_header): Cast section->filepos to
2389 unsigned long to suit printf format string.
2390 * readelf.c (process_section_headers): Similarly for sh_offset.
2391 (process_unwind): Likewise.
2393 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2395 * strings.c (encoding, encoding_bytes): New variables.
2396 (long_options): Add --encoding.
2397 (main): Accept -e and --encoding.
2398 (get_char): New function. Read a, possibly wide, character from
2400 (print_strings): Use get_char().
2401 (usage): Document new command line option.
2402 * doc/binutils.texi: Document new command line option.
2403 * NEWS: Announce new command line option.
2405 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2407 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2408 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2409 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2410 Removed EM_CYGNUS_ARC.
2412 2001-09-04 Jeffrey A Law (law@cygnus.com)
2414 * readelf.c: Include elf/h8 for H8 series definitions.
2415 (guess_is_rela): H8 series if RELA.
2416 (dump_relocations): Handle H8 series relocations.
2418 2001-08-31 Eric Christopher <echristo@redhat.com>
2420 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2422 2001-08-29 Peter Targett <peter.targett@arccores.com>
2424 * MAINTAINERS: Include ARC Maintainer.
2426 2001-08-29 Ben Elliston <bje@redhat.com>
2428 * stabs.c (stab_demangle_template): Initialise s4.
2430 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2432 * readelf.c (dump_relocations): Recognise EM_PPC64.
2434 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2436 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2438 2001-08-25 H.J. Lu <hjl@gnu.org>
2440 * nm.c (print_width): New.
2441 (display_rel_file): Set `print_width' according to
2443 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2445 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2447 * objcopy.c (use_alt_mach_code): New variable.
2448 (OPTION_ALT_MACH_CODE): Define.
2449 (copy_options): Added --alt-machine-code.
2450 (copy_main): Handle it.
2451 (copy_object): Switch to alternate machine code if requested.
2452 * doc/binutils.texi: Document new option.
2455 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2457 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2459 2001-08-21 H.J. Lu <hjl@gnu.org>
2461 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2462 (display_debug_info): Cast for 64bit hosts.
2463 (display_debug_frames): Likewise.
2464 (process_mips_specific): Likewise.
2466 2001-08-21 Andreas Jaeger <aj@suse.de>
2468 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2470 * sysdump.c: Add missing prototypes.
2471 * srconv.c: Likewise.
2472 * unwind-ia64.c: Likewise.
2473 * coffdump.c: Likewise.
2475 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2477 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2478 of declaring xcalloc.
2480 2001-08-10 H.J. Lu <hjl@gnu.org>
2482 * nm.c (print_value): Add one arg, bfd *.
2483 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2484 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2485 (print_symbol_info_sysv): Likewise.
2486 (print_symbol_info_posix): Likewise.
2488 * objdump.c (dump_section_header): Replace printf_vma with
2490 (print_section_stabs): Likewise.
2491 (dump_bfd_header): Likewise.
2492 (objdump_print_value): Replace sprintf_vma with
2494 (disassemble_bytes): Likewise.
2495 (dump_reloc_set): Likewise.
2497 2001-08-10 Andreas Jaeger <aj@suse.de>
2499 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2501 * configure: Regenerate.
2503 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2505 * readelf.c: Add missing prototypes.
2506 * objdump.c: Likewise. Format existing prototypes.
2508 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2510 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2511 of any RELA relocation for the abbrev_offset memory location that
2512 refers to the .debug_abbrev section symbol.
2514 2001-08-07 H.J. Lu <hjl@gnu.org>
2516 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2517 (main): Return process_file ().
2519 2001-08-05 Philip Blundell <philb@gnu.org>
2521 * doc/binutils.texi: Use "Thumb" not "THUMB".
2523 2001-08-03 John Healy <jhealy@redhat.com>
2525 Patch suggested by Frank Eigler <fche@redhat.com>.
2526 * objdump.c (disassemble_data): Fill in section member of the
2527 disasm_info structure.
2529 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2531 * configure.in: Added --with-windres option.
2532 * configure: Regenerated.
2534 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2536 * doc/binutils.texi: Use @command{name} for commands;
2537 use @option{-opt} for options; use @table @env for list of options;
2538 remove spaces arround [ | ] in synopsis.
2540 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2543 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2545 * objcopy.c: Fix formatting.
2546 (section_rename): New structure.
2547 (OPTION_RENAME_SECTION): New switch.
2548 (copy_usage): Document new switch.
2549 (add_section_rename): New function: Add a node to the section
2551 (find_section_rename): New function: Find the new name and
2552 flags for a section.
2553 (setup_section): Call find_section_name to determine the name
2554 of the output section.
2555 (copy_main): Handle OPTION_RENAME_SECTION.
2556 * binutils.texi: Document new switch.
2557 * NEWS: Mention new switch.
2559 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2561 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2562 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2563 bug-binutils@gcc.org.
2565 2001-07-28 Matthias Kramm <kramm@quiss.org>
2567 * bucomm.c (list_supported_architectures): New function.
2568 * bucomm.h (list_supported_architectures): Declare.
2569 * objdump.c (usage): Call the above.
2571 2001-07-25 Dave Brolley <brolley@redhat.com>
2573 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2574 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2576 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2578 * README: Update for 2.11. Change bug reporting email address.
2579 * MAINTAINERS: Tidy up. Change bug reporting email address.
2581 2001-07-16 DJ Delorie <dj@redhat.com>
2583 * resres.c (write_res_header): Align header size.
2584 (res_align_file): Calculate alignment correctly.
2586 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2588 * resrc.c (write_rc_resource): Likewise.
2589 * windres.h (SUBLANG_SHIFT): Define - as 10.
2591 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2593 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2595 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2597 * MAINTAINERS: Add notes about branch checkins.
2599 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2601 * readelf.c (display_debug_macinfo): New function, display
2602 .debug_macinfo section.
2603 (do_debug_macinfo): New variable.
2604 (parse_args): Handle "-w[mM]" to mean display macro info.
2605 (process_section_headers): Handle debug_macinfo.
2606 (debug_displays): Replace unsupported function with macinfo
2607 function for .debug_macinfo display.
2608 * doc/binutils.texi: Document new command line switch.
2609 * NEWS: Document new feature of readelf.
2611 2001-07-05 H.J. Lu <hjl@gnu.org>
2613 * objcopy.c (filter_symbols): Don't turn undefined symbols
2616 2001-07-03 H.J. Lu <hjl@gnu.org>
2618 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2621 (dlltool.1): Likewise.
2622 (nlmconv.1): Likewise.
2624 (objcopy.1): Likewise.
2625 (objdump.1): Likewise.
2626 (ranlib.1): Likewise.
2627 (readelf.1): Likewise.
2629 (strings.1): Likewise.
2630 (strip.1): Likewise.
2631 (windres.1): Likewise.
2632 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2633 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2636 * doc/Makefile.in: Regenerated.
2638 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2640 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2642 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2644 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2646 2001-06-29 James Cownie <jcownie@etnus.com>
2648 * readelf.c: Support DWARF 2.1 attributes.
2650 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2652 * readelf.c (GET_DATA_ALLOC): Remove.
2654 (get_data): New function combining above macros, with an extra
2656 (slurp_rela_relocs): Use get_data, and catch error return.
2657 (slurp_rel_relocs): Likewise.
2658 (get_32bit_program_headers): Likewise.
2659 (get_64bit_program_headers): Likewise.
2660 (get_32bit_section_headers): Likewise.
2661 (get_64bit_section_headers): Likewise.
2662 (get_32bit_elf_symbols): Likewise.
2663 (get_64bit_elf_symbols): Likewise.
2664 (process_section_headers): Likewise.
2665 (process_relocs): Likewise.
2666 (slurp_ia64_unwind_table): Likewise.
2667 (process_unwind): Likewise.
2668 (get_32bit_dynamic_segment): Likewise.
2669 (get_64bit_dynamic_segment): Likewise.
2670 (process_dynamic_segment): Likewise.
2671 (process_version_sections): Likewise.
2672 (process_symbol_table): Likewise.
2673 (dump_section): Likewise.
2674 (display_debug_info): Likewise.
2675 (display_debug_section): Likewise.
2676 (process_section_contents): Likewise.
2677 (process_corefile_note_segment): Likewise.
2678 (process_mips_specific): Likewise. Also free econf32, econf64.
2680 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2682 * readelf.c (dump_relocations): Print "bad symbol index" if
2683 symtab == NULL with non-zero symtab_index.
2684 (process_relocs): Don't bomb if reloc section has no symsec.
2686 2001-06-24 H.J. Lu <hjl@gnu.org>
2688 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2690 (copy_main): Apply the the change made to strip_main on
2691 2001-05-30 by accident.
2693 2001-06-23 Andreas Jaeger <aj@suse.de>
2695 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2697 (unw_decode_x2): Likewise.
2698 (unw_decode_x3): Likewise.
2699 (unw_decode_x4): Likewise.
2701 2001-06-23 Ben Elliston <bje@redhat.com>
2703 * MAINTAINERS: Add myself as M88k maintainer.
2705 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2707 * objcopy.c (strip_main): Support -o or --output-file command lien
2710 2001-06-19 H.J. Lu <hjl@gnu.org>
2712 * doc/Makefile.in: Regenerated.
2714 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2716 * readelf.c: Restore formatting.
2718 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2720 * Makefile.am: Move documentation into doc subdirectory.
2721 * Makefile.in: Regenerated.
2722 * binutils.texi: Move into doc subdirectory.
2723 * addr2line.1: Removed.
2725 * dlltool.1: Likewise.
2726 * nlmconv.1: Likewise.
2728 * objcopy.1: Likewise.
2729 * objdump.1: Likewise.
2730 * ranlib.1: Likewise.
2731 * readelf.1: Likewise.
2733 * strings.1: Likewise.
2734 * strip.1: Likewise.
2735 * windres.1: Likewise.
2736 * cxxfilt.man: Likewise.
2737 * doc: New Directory.
2738 * doc/Makefile.am: New file.
2739 * doc/Makefile.in: Generate.
2741 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2743 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2745 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2747 * MAINTAINERS: Update my email address.
2749 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2751 * objcopy.c: Add new switches: --keep-global-symbol,
2752 --keep-symbols, --localize-symbols, --keep-global-symbols and
2754 * binutils.texi: Document new switches.
2755 * objcopy.1: Regenerate.
2756 * NEWS: Announce new feature.
2758 2001-05-28 Andreas Jaeger <aj@suse.de>
2760 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2761 variables, fix format strings.
2763 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2765 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2766 when computing the address of the line to show.
2768 2001-05-16 Richard Henderson <rth@redhat.com>
2770 * readelf.c (do_debug_frames_interp): New.
2771 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2772 (byte_get_big_endian): Likewise.
2773 (parse_args) ['F']: Set do_debug_frames_interp.
2774 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2775 (frame_display_row): Don't trunc pc_begin to int.
2776 (size_of_encoded_value): New.
2777 (display_debug_frames): Handle 64-bit targets. Print raw data
2778 unless do_debug_frames_interp.
2779 (debug_displays): Remove duplicate .debug_frame.
2781 2001-05-15 Ralf Baechle <ralf@gnu.org>
2783 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2784 The former constant was never in active use and is used otherwise
2787 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2789 * readelf.c (process_unwind): Print all unwind sections, not just
2792 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2794 * readelf.c (process_unwind): Remove const specifier.
2796 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2798 * strings.c (isgraphic): Do not use isascii() unless it is needed
2799 for isprint() to work.
2800 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2802 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2804 * NEWS: Announce support for OpenRISC.
2806 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2808 * dlltool.c (do_default_excludes): Initialise to true.
2810 2001-04-10 Alan Modra <amodra@one.net.au>
2812 * MAINTAINERS: Update my email address
2813 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2815 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2817 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2819 2001-03-30 H.J. Lu <hjl@gnu.org>
2821 * readelf.c (process_unwind): Just return if do_unwind is 0.
2823 2001-03-28 Roger Sayle <roger@metaphorics.com>
2825 * dlltool.c (make_one_lib_file): Fix section flags for
2826 .text, .data and .bss in stub ds*.o files to match those
2829 2001-03-29 H.J. Lu <hjl@gnu.org>
2831 * readelf.c (process_unwind): Only do unwind sections for
2834 2001-03-28 H.J. Lu <hjl@gnu.org>
2836 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2837 * Makefile.in: Regenerate.
2839 2001-03-26 Andreas Jaeger <aj@suse.de>
2841 * binutils.texi (nm): Fix texi syntax.
2843 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2845 * binutils.texi: Put @c man begin and @c man end indications
2846 to generate man pages using texi2pod and pod2man. Put @c man title
2847 to identify each man. Add SEEALSO entries.
2848 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2849 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2851 (*.1): Build the man pages from binutils.texi.
2852 * Makefile.in: Regenerate.
2854 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2856 * defparse.y (opt_equal_name): allow "." in name.
2857 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2858 (gen_exp_file): Likewise.
2860 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2862 * NEWS: Document addition of -B switch to objcopy.
2863 * binutils.texi: Document addition of -B switch to objcopy.
2864 * objcopy.c: (copy_options): Add --binary-architecture.
2865 (copy_usage): Document -B/--binary-architecture.
2866 (copy_main): Support -B/--binary-architecture. Set
2867 bfd_external_binary_architecture.
2869 2001-03-11 Andreas Jaeger <aj@suse.de>
2871 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2872 (dump_relocations): Likewise.
2873 (get_machine_name): Likewise.
2875 2001-02-28 Nick Clifton <nickc@redhat.com>
2877 * readelf.c: (struct unw_aux_info): Remove const modifier for
2879 (process_unwind): Remove non-K&R compliant LHS type cast in call
2880 to GET_DATA_ALLOC macro.
2882 2001-02-28 Philip Blundell <pb@futuretv.com>
2884 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2885 ABI is in use; remove ambiguity between the "unknown" EABI and
2886 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2887 renamed EF_xx constants.
2889 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2891 * configure.in (BFD_VERSION): New.
2892 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2893 * configure: Regenerate.
2894 * Makefile.am: Run "make dep-am"
2895 * Makefile.in: Regenerate.
2897 2001-02-14 Nick Clifton <nickc@redhat.com>
2899 * MAINTAINERS: Add "Obvious Fix" rule.
2901 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2903 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2904 literal concatenation.
2906 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2908 * readelf.c (struct unw_aux_info): Remove const from the info member.
2909 (process_unwind): Don't type-cast the third argument to the
2910 GET_DATA_ALLOC macro.
2912 2001-02-11 Nick Clifton <nickc@redhat.com>
2914 * readelf.c (dump_relocations): Free corrected allocated
2916 (process_unwind): Fix compile time warning.
2918 2001-02-10 Nick Clifton <nickc@redhat.com>
2920 * binutils.texi: Document new --unwind option to readelf.
2922 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2924 * readelf.c: Add linux target for S/390.
2926 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2928 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2931 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2933 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2934 * aclocal.m4: Regenerate.
2935 * configure: Regenerate.
2937 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2939 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2940 * objdump.c (bfd_target_vector): Likewise.
2942 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2944 * readelf.c (process_unwind): New function.
2945 (slurp_ia64_unwind_table): Ditto.
2946 (dump_ia64_unwind): Ditto.
2947 (find_symbol_for_address): Ditto.
2948 (slurp_rela_relocs): New function (split off from dump_relocations()).
2949 (slurp_rel_relocs): Ditto.
2950 (parse_args): Handle '-u' option.
2952 * unwind-ia64.c: New file.
2953 * unwind-ia64.h: New file.
2954 * Makefile.am: Include unwind-ia64.c in readelf build.
2955 * Makefile.in: Regenerate.
2956 * po/binutils.pot: Regenerate.
2958 2001-02-04 Philip Blundell <philb@gnu.org>
2960 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2961 * configure: Regenerate.
2963 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2965 * ieee.c (ieee_add_bb11): Don't check for backslashes
2966 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2968 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2970 * ieee.c: Update copyright.
2971 (ieee_start_compilation_unit): Don't check for backslashes
2972 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2974 * stabs.c: Update copyright. Include "filenames.h".
2975 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2977 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2979 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2980 sections are present before using them. Remove code duplication.
2981 (process_symbol_table): Check if VERDEF or VERNEED sections are
2982 present before using them.
2984 2001-01-17 Nick Clifton <nickc@redhat.com>
2986 * objcopy.c (copy_object): Fail if attempting to convert the
2987 endianness of the input object file.
2989 * binutils.texi: Explain that objcopy cannot convert endianness.
2991 2001-01-16 Nick Clifton <nickc@redhat.com>
2993 * readelf.c (string_table_length): New variable.
2994 (SECTION_NAME): Catch out of range indices and missing section
2996 (process_section_headers): Delete useless local variable
2997 string_table_offset. Set the value of string_table_length
2998 after loading the string table.
2999 (process_mips_specific): Use SECTION_NAME macro.
3000 (process_file): Set string_table_length to 0 when it is freed.
3002 2001-01-12 Nick Clifton <nickc@redhat.com>
3004 * version.c (print_version): Update copyright date.
3006 2001-01-11 Peter Targett <peter.targett@arccores.com>
3008 * readelf.c (dump_relocations): Include selection with EM_ARC.
3009 (get_machine_name) Update name to "ARC".
3011 2001-01-09 Nick Clifton <nickc@redhat.com>
3013 * Makefile.am: Add rule to build objdump.o from objdump.c and
3015 * Makefile.in: Regenerate.
3017 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3018 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3019 -DDISASSEMBLER_NEEDS_RELOCS.
3020 * configure: Regenerate.
3022 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3023 is defined read in the relocs even if dump_reloc_info is
3026 2001-01-07 Philip Blundell <philb@gnu.org>
3028 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3032 2000-12-19 Nick Clifton <nickc@redhat.com>
3034 * dlltool.c: Add missing support for arm-epoc-pe.
3035 * configure.in: Add missing support for arm-epoc-pe.
3036 * configure: Regenerate.
3038 2000-12-15 Nick Clifton <nickc@redhat.com>
3040 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3041 Mode parts of the x86 port.
3043 2000-12-04 Andreas Jaeger <aj@suse.de>
3045 * readelf.c (guess_is_rela): Add EM_X86_64.
3046 (dump_relocations): Add EM_X86_64.
3047 (get_machine_name): Add EM_X86_64.
3048 Include "elf/x86-64.h".
3050 2000-12-12 Nick Clifton <nickc@redhat.com>
3052 * readelf.c: Fix formatting.
3054 2000-12-11 Jan Hubicka <jh@suse.cz>
3056 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3058 2000-12-07 Andrew Haley <aph@redhat.com>
3060 * readelf.c (display_debug_frames): Only display columns that are
3061 referenced by the frame debug info.
3063 2000-12-05 Nick Clifton <nickc@redhat.com>
3065 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3067 2000-12-04 Jason Merrill <jason@redhat.com>
3069 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3070 (display_debug_section): Likewise.
3071 (display_debug_info): Display CU header before bailing.
3073 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3075 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3076 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3077 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3079 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3082 * readelf.c (get_machine_flags): Add case for
3085 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
3087 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3089 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3091 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
3092 Change sourceware.cygnus.com to sources.redhat.com.
3093 Fix typo for "amongst".
3095 2000-11-28 Nick Clifton <nickc@redhat.com>
3097 * strip.1 (COPYING): Mention that the GNU Free Documentation
3098 License is present in the sources, but not the output, and
3099 also available from the GNU website.
3100 (GNU Free Documentation License): Comment out this section.
3109 * addr2line.1: Ditto.
3111 2000-11-27 DJ Delorie <dj@redhat.com>
3113 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3114 (parse_args): Support -wf option.
3115 (process_section_headers): Ditto.
3116 (debug_displays): Ditto.
3117 (display_debug_frames): New, dump *_frame sections.
3118 (frame_need_space): Support for above.
3119 (frame_display_row): Ditto.
3120 * binutils.texi: Document it.
3122 2000-11-24 Nick Clifton <nickc@redhat.com>
3124 * NEWS: Announce support for v5t, v5te and XScale.
3126 2000-11-22 Nick Clifton <nickc@redhat.com>
3128 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3129 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3130 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3131 (get_elf_section_flags: Add SHF_GROUP.
3132 (process_section_headers): Adjust output for 32-bit binaries
3133 to look nice on an 80 column terminal.
3135 2000-11-20 H.J. Lu <hjl@gnu.org>
3137 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3140 2000-11-17 Richard Henderson <rth@redhat.com>
3142 * readelf.c (display_debug_lines): Adjust last change to
3143 use sizeof (external->li_length).
3145 2000-11-17 Richard Henderson <rth@redhat.com>
3147 * readelf.c (display_debug_lines): Fix section length check
3148 and end_of_sequence computation.
3150 2000-11-06 Nick Clifton <nickc@redhat.com>
3152 * binutils.texi: Add GNU Free Documentation License.
3153 * objcopy.1: Add GNU Free Documentation License.
3154 * objdump.1: Add GNU Free Documentation License.
3155 * addr2line.1: Add GNU Free Documentation License.
3156 * ar.1: Add GNU Free Documentation License.
3157 * nlmconv.1: Add GNU Free Documentation License.
3158 * nm.1: Add GNU Free Documentation License.
3159 * ranlib.1: Add GNU Free Documentation License.
3160 * size.1: Add GNU Free Documentation License.
3161 * strings.1: Add GNU Free Documentation License.
3162 * strip.1: Add GNU Free Documentation License.
3164 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
3166 * objcopy.c (--srec-len=nn): New parameter to set the
3167 maximum length of generated Srecords.
3168 (--srec-forceS3): New parameter that restricts the generation of
3169 Srecords to type S3 only.
3170 * binutils.texi: Document new command line switches.
3171 * objcopy.1: Docuemnt the new command line switches.
3172 * NEWS: Announce the existence of the new command line switches.
3174 2000-10-31 Nick Clifton <nickc@redhat.com>
3176 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3177 code. Add Eric Chrisopher as maintainer of MN10300 port.
3179 2000-10-12 Roger Sayle <roger@metaphorics.com>
3181 * Make comma after string after icon/control optional.
3183 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3185 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3187 * NEWS: Mention support for MIPS32.
3189 2000-09-08 Nick Clifton <nickc@redhat.com>
3191 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3193 2000-09-07 H.J. Lu <hjl@gnu.org>
3195 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3196 * configure: Rebuild.
3198 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3200 * configure: Rebuilt with new libtool.m4.
3202 2000-09-05 Nick Clifton <nickc@redhat.com>
3204 * aclocal.m4: Regenerate.
3205 * config.in: Regenerate.
3206 * configure: Regenerate.
3208 2000-09-04 Todd Vierling <tv@wasabisystems.com>
3210 * strip.1: Fix stray '\' in -o formatting.
3212 2000-09-02 Nick Clifton <nickc@redhat.com>
3214 * configure.in: Increase version number to 2.10.91.
3215 * configure: Regenerate.
3216 * aclocal.m4: Regenerate.
3217 * config.in: Regenerate.
3218 * po/binutils.pot: Regenerate.
3220 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3222 * acinclude.m4: Include libtool and gettext macros from the
3224 * aclocal.m4, configure: Rebuilt.
3226 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
3228 * resrc.c (close_input_stream): Delete extraneous logic
3230 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3232 * NEWS: Mention support for CRIS.
3234 2000-08-21 Nick Clifton <nickc@redhat.com>
3236 * addr2line.c: Changed email address for Ulrich Lauther.
3238 2000-08-17 Christopher C. Chimelis <chris@debian.org>
3240 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3242 2000-08-17 Nick Clifton <nickc@redhat.com>
3244 * readelf.c (display_debug_pubnames): Only issue warning
3245 message once. Terminate message with a new line.
3246 (display_debug_aranges): Only display version 2 debug info.
3248 2000-08-14 Todd Vierling <tv@wasabisystems.com>
3250 * objcopy.c (strip_main): Silently accept -d as an alias for -g
3251 for compatability with old BSD systems.
3253 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3255 * NEWS: Mention i860 support.
3257 2000-08-11 Carlo Wood <carlo@alinoe.com>
3259 * addr2line.c (main): Add const to char *.
3261 2000-08-11 Geoff Keating <geoffk@cygnus.com>
3263 * ar.c (main): Don't crash if called with no arguments
3264 or only '-X32_64' as an argument.
3266 2000-08-08 DJ Delorie <dj@redhat.com>
3268 * resrc.c: use "gcc -xc" instead of -xc-header
3270 2000-08-05 Jason Eckhardt <jle@cygnus.com>
3272 * readelf.c (elf/i860.h): Include.
3273 (dump_relocations): Add recognition of i860 architecture.
3274 (guess_is_rela): Add recognition of i860 architecture.
3276 2000-08-03 Nick Clifton <nickc@cygnus.com>
3278 * MAINTAINERS: Add information about CGEN maintainers.
3280 2000-07-26 Geoff Keating <geoffk@cygnus.com>
3282 * nm.c (main): Ignore '-X32_64' as an option.
3283 * ar.c (main): Likewise.
3284 * binutils.texi (nm): Document new option.
3287 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3289 * rdcoff.c (external_coff_symbol_p): K&R-ise.
3291 2000-07-20 H.J. Lu <hjl@gnu.org>
3293 * binutils.texi: Put back "@end table" deleted by
3296 2000-07-05 Kenneth Block <krblock@computer.org>
3298 * nm.c: Add optional style to demangle switch.
3299 * objdump.c: Add optional style to demangle switch.
3300 * addr2line.c: Add optional style to demangle switch.
3301 * binutils.texi: Document optional style to demangle
3304 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3306 * MAINTAINERS: Add self as CRIS port maintainer.
3307 * readelf.c: Include elf/cris.h.
3308 (guess_is_rela): Handle EM_CRIS.
3309 (dump_relocations): Ditto.
3310 (get_machine_name): Ditto.
3311 * Makefile.am: Rebuild dependencies.
3312 * Makefile.in: Regenerate.
3313 * po/binutils.pot: Regenerate.
3315 2000-07-19 H.J. Lu <hjl@gnu.org>
3317 * readelf.c (get_dynamic_type): Change "AUXILARY" to
3319 (process_dynamic_segment): Print out strings for DT_CONFIG,
3320 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3322 2000-07-19 Mark Kettenis <kettenis@gnu.org>
3324 * nm.c (usage): Change output of `nm --help' to include a
3325 description of the purpose of the program and a detailed
3326 description of the accepted options.
3328 2000-07-19 H.J. Lu <hjl@gnu.org>
3330 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3333 2000-07-19 H.J. Lu <hjl@gnu.org>
3335 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3337 2000-07-19 H.J. Lu <hjl@gnu.org>
3339 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3341 (process_dynamic_segment): Likewise.
3343 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3344 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3345 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3346 DF_1_NODUMP and DF_1_CONLFAT.
3348 2000-07-18 Nick Clifton <nickc@cygnus.com>
3350 * binutils.texi (readelf): Fix spelling typo.
3352 2000-07-11 Mark Kettenis <kettenis@gnu.org>
3354 * objdump.c (usage): Make output of `objdump --help' more
3355 consistent with the rest of the GNU world. Add a line describing
3356 the purpose of the program.
3358 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
3360 * stabs.c (parse_stab_range_type): Cast to proper type to fix
3363 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3365 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3367 (process_symbol_table): Ditto.
3368 (procesS_extended_line_op): Ditto.
3369 (display_debug_lines): Ditto.
3370 (display_debug_pubnames): Ditto.
3371 (read_and_display_attr): Ditto.
3373 2000-07-09 Nick Clifton <nickc@cygnus.com>
3375 * MAINTAINERS: Add several more port specific maintainers.
3377 2000-07-05 Nick Clifton <nickc@cygnus.com>
3379 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3381 2000-06-05 DJ Delorie <dj@redhat.com>
3385 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3387 * dllwrap.c: Changed mistaken dyn_string_append() calls
3388 to dyn_string_append_cstr().
3390 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3392 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3393 struct debug_type stores size in bytes.
3395 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3397 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3398 (CLEANFILES): Add DEPA.
3399 * Makefile.in: Regenerate.
3401 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3403 * ar.c: Revert incorrect 2000-06-25 patch.
3404 * bucomm.c: Likewise.
3406 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3408 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3409 (external_coff_symbol_p): New function.
3410 (parse_coff): Use it.
3412 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3414 * ar.c (normalize): Advance past both characters in a DOS based
3415 <letter>: filepath prefix.
3417 * bucomm.c (make_tempname): Likewise.
3419 2000-06-24 Nick Clifton <nickc@cygnus.com>
3421 * objdump.c (usage): Fix description of --stabs switch.
3423 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3425 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3427 * Makefile.in: Regenerate.
3429 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3431 * ar.c (normalize): Correct pointer comparison when checking for
3434 * bucomm.c (make_tempname): Likewise.
3436 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3437 and search for backslashes in the original pathname.
3438 (ieee_add_bb11): Likewise.
3440 2000-06-18 Nick Clifton <nickc@redhat.com>
3442 * ar.c (print_contents): Improve verbose message.
3444 2000-06-15 H.J. Lu <hjl@gnu.org>
3446 * dyn-string.c: Removed. Not needed with dyn-string.c in
3448 * dyn-string.h: Likewise.
3450 * Makefile.am: Remove references to dyn-string.c and
3451 dyn-string.h. Rebuild dependency.
3452 * Makefile.in: Rebuild.
3454 2000-06-15 H.J. Lu <hjl@gnu.org>
3456 * binutils.texi: Put a warning on copying relocatable object
3457 files between two different formats.
3459 2000-06-13 DJ Delorie <dj@cygnus.com>
3461 * rcparse.y (control): ICON controls take an id as the first
3462 parameter, not an optional string. Also, call new convenience
3463 function that takes res_id's.
3464 * resrc.c (define_control): missing text means zero-length string,
3466 (define_icon_control): New.
3467 * windres.h: declare define_icon_control.
3469 2000-06-13 H.J. Lu <hjl@gnu.org>
3471 * configure: Regenerate.
3473 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3475 * configure.in (VERSION): Update to show this is the CVS mainline.
3477 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3479 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3480 analogous to <SPACE>.
3482 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3484 * objdump.c (display_target_list): Use bfd_close_all_done, not
3485 bfd_close to fix crash caused by 2000-05-24 change.
3487 2000-05-25 DJ Delorie <dj@cygnus.com>
3489 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3491 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3493 * Makefile.am: Update dependencies with "make dep-am"
3494 * Makefile.in: Regenerate.
3496 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3498 * ar.c: Include filenames.h.
3499 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3500 and drive letters in file names.
3501 (main): Support backslashes and drive letters in argv[0]. Drop
3502 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3503 FILENAME_CMP instead of strcmp to compare file names.
3504 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3506 (do_quick_append) [__GO32__]: Ditto.
3507 (get_pos_bfd, delete_members, move_members, replace_members):
3508 Compare file names with FILENAME_CMP.
3510 * bucomm.c: Include filenames.h.
3511 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3512 forward/backward slashes and drive letters in file names.
3514 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3515 mixed forward/backward slashes and drive letters in file names.
3517 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3518 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3521 * objcopy.c: Include filenames.h.
3522 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3523 before comparing to "strip".
3524 Use FILENAME_CMP to compare file names.
3526 * arsup.c: Include filenames.h.
3527 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3528 FILENAME_CMP to compare file names.
3529 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3530 the temporary file name.
3532 * configure.in: Check for setmode.
3533 * configure: Regenerate.
3535 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3537 * objdump.c (display_target_list): Close the bfd.
3538 (display_info_table): Likewise.
3540 2000-05-14 H.J. Lu (hjl@gnu.org)
3542 * objcopy.c (filter_symbols): Don't strip global symbols in
3543 relocatable object files.
3545 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3547 * size.c (usage): Associate short options with corresponding long
3548 option to give a clue as to their function.
3550 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3552 * size.c (main): Accept and ignore `-f' option.
3554 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3556 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3557 bindtextdomain): Replace defines with those from intl/libgettext.h
3558 to quieten gcc warnings.
3560 2000-05-12 H.J. Lu <hjl@gnu.org>
3562 * nlmconv.c (temp_filename): Removed.
3564 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3565 choose_temp_base ().
3566 * objdump.c (display_target_list): Likewise.
3567 (display_info_table): Likewise.
3569 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3571 * objcopy.c (setup_section): Add const and gettext calls for err.
3573 2000-05-02 H.J. Lu <hjl@gnu.org>
3575 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3576 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3577 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3578 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3579 and ELFOSABI_OPENBSD.
3581 2000-05-02 Kazu Hirata <kazu@hxi.com>
3583 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3584 * srconv.c: Likewise.
3585 * sysdump.c: Likewise.
3587 2000-04-23 Denis Chertykov <denisc@overta.ru>
3589 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3590 (get_machine_name): machine name for EM_AVR added.
3592 2000-04-21 Richard Henderson <rth@cygnus.com>
3593 David Mosberger <davidm@hpl.hp.com>
3595 * Makefile.am (readelf.o): Add elf/ia64.h.
3596 * Makefile.in: Rebuild.
3597 * readelf.c: Include elf/ia64.h.
3598 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3600 2000-04-17 Timothy Wall <twall@cygnus.com>
3602 * objdump.c (disassemble_data): Set octets per byte *after*
3603 resolving arch/mach for binary files.
3605 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3607 * arlex.l: Add directives to increase lex buffer size.
3609 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3610 already included by bucomm.h.
3612 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3614 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3615 `strftime' since strftime is not available on all systems.
3616 (process_mips_specific): Ditto.
3618 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3620 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3621 --enable-build-warnings option.
3622 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3623 * Makefile.in, configure: Re-generate.
3625 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3627 * addr2line.c: Update copyright.
3628 * objcopy.1: Likewise, and title.
3629 * strings.1: Likewise.
3631 * version.c (print_version): Add 2000.
3633 * rddbg.c (read_section_stabs_debugging_info): Don't use
3634 bfd_size_type for strx to avoid printf problems if BFD64.
3636 * bucomm.c: (report): Remove `static'.
3637 Move inclusion of stdarg.h/vararg.h from here.
3638 * bucomm.h: To here.
3639 (CONST): Change all occurences to const.
3640 (report): Declare it.
3641 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3642 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3643 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3645 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3646 Correct a typo in an error message.
3647 (do_quick_append): Use non_fatal instead of fprintf.
3648 (move_members): Use fatal instead of fprintf, exit.
3649 * coffdump.c (main): Same here.
3651 * dlltool.c (display): Delete.
3653 (inform): Use `report' instead of `display'.
3654 (rvaafter): Remove trailing \n from fatal error msg.
3656 (asm_prefix): Ditto.
3657 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3658 (def_name): Likewise.
3660 (scan_all_symbols): Likewise.
3661 (gen_lib_file): Likewise.
3662 (def_library): Likewise. Remove extra program_name too.
3663 (run): Remove \n from inform strings.
3664 (scan_drectve_symbols): Likewise.
3665 (add_excludes): Likewise.
3666 (scan_open_obj_file): Likewise.
3667 (gen_exp_file): Likewise.
3668 (gen_lib_file): Likewise.
3669 (process_duplicates): Likewise.
3671 * Makefile.am (dllwrap_SOURCES): Add version.c.
3672 * dllwrap.c (program_version): Delete.
3673 (print_version): Delete.
3674 (display): Always print trailing \n.
3676 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3679 (usage): gettext'ify.
3680 (long_options): Add missing initialisers.
3682 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3683 (select_output_format): Likewise.
3684 (powerpc_mangle_relocs): Likewise.
3685 (link_inputs): Likewise.
3687 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3688 (set_output_format): Likewise.
3689 (main): Use non_fatal instead of fprintf.
3690 (display_rel_file): Likewise.
3692 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3693 (slurp_dynamic_symtab): Same here.
3694 (disassemble_data): And here.
3695 (read_section_stabs): And here.
3696 (read_section_stabs): And here.
3697 (dump_bfd): And here.
3699 (objdump_sprintf): Use fatal instead of fprintf, exit.
3700 (disassemble_data): Same here.
3702 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3703 (parse_coff_struct_type): Same here.
3704 (parse_coff_enum_type): And here.
3705 (parse_coff): And here.
3706 * rddbg.c (read_debugging_info): And here.
3707 * size.c (main): And here.
3708 * windres.c (format_from_name): And here.
3709 * wrstabs.c (stab_write_symbol): Here too.
3710 (write_stabs_in_sections_debugging_info): And here.
3711 (stab_int_type): And here.
3712 (stab_struct_field): And here.
3713 (stab_typdef): And here.
3715 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3716 * srconv.c (main): Same here.
3717 * strings.c (main): And here.
3718 (integer_arg): And here.
3719 * sysdump.c (main): And here.
3721 2000-04-06 Timothy Wall <twall@cygnus.com>
3723 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3725 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3727 * readelf.c (decode_location_expression): Loop through multiple
3729 (read_and_display_attr): Pass in length.
3731 * readelf.c (read_and_display_attr): Add CU offset to references.
3732 (display_debug_info): Pass it in.
3734 2000-04-06 Nick Clifton <nickc@cygnus.com>
3736 * readelf.c (decode_ARM_machine_flags): New function.
3737 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3740 (get_machine_name): Catch EM_AVR
3742 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3744 * binutils.texi: Remove optional `=' from long options that have
3745 an `=' in the argument.
3746 * objcopy.1: Here too. Remove extra space on discard-all.
3748 * binutils.texi (objcopy): Mention --redefine-sym.
3749 * objcopy.1: Here too.
3752 * objcopy.c (parse_flags): Split off flag names from error message
3753 gettext as they are not translated.
3754 (copy_main): Similarly split off option name for --add-section,
3755 --set-section-flags, --change-section-vma, --change-section-lma
3757 Some white space changes.
3759 from Matthew Benjamin <matt@linuxbox.nu>
3760 * objcopy.c (struct redefine_node): New.
3761 (redefine_sym_list): New.
3762 (redefine_list_append): New.
3763 (lookup_sym_redefinition): New.
3764 (OPTION_REDEFINE_SYM): New.
3765 (copy_options): Add --redefine-sym option.
3766 (copy_usage): Mention it.
3767 (filter_symbols): Rename symbols on redefine_sym_list.
3768 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3769 (copy_main): Handle OPTION_REDEFINE_SYM.
3771 2000-04-04 H.J. Lu <hjl@gnu.org>
3773 * readelf.c (process_symbol_table): Correctly read in symbol
3774 versioning information.
3776 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3778 * po/binutils.pot: Regenerate.
3780 * addr2line.c (usage): Restore translated part of bug string.
3781 * ar.c (usage): Likewise.
3782 * nlmconv.c (show_usage): Likewise.
3783 * nm.c (usage): Likewise.
3784 * objcopy.c (copy_usage): Likewise.
3785 (strip_usage): Likewise.
3786 * objdump.c (usage): Likewise.
3787 * readelf.c (usage): Likewise.
3788 * size.c (usage): Likewise.
3789 * strings.c (usage): Likewise.
3790 * windres.c (usage): Likewise.
3792 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3793 (DEP): Quote when passing vars to sub-make. Add warning
3795 (DEP1): Rewrite for "gcc -MM".
3796 (CLEANFILES): Add DEP2.
3797 Update dependencies.
3798 * Makefile.in: Regenerate.
3800 2000-04-04 H.J. Lu <hjl@gnu.org>
3802 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3803 (arparse.h): Depend on arparse.c
3804 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3806 2000-04-03 H.J. Lu (hjl@gnu.org)
3808 * size.c (usage): Use REPORT_BUGS_TO.
3810 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3812 * bucomm.h: #include "bin-bugs.h"
3813 * addr2line.c (usage): Use REPORT_BUGS_TO.
3814 * ar.c (usage): Likewise.
3815 * nlmconv.c (show_usage): Likewise.
3816 * nm.c (usage): Likewise.
3817 (OPTION_TARGET): Define.
3818 (long_options): Use OPTION_TARGET rather than 200.
3821 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3822 (strip_usage): Likewise.
3823 * objdump.c (usage): Likewise.
3824 * readelf.c (usage): Likewise.
3825 * strings.c (usage): Likewise.
3826 * windres.c (usage): Likewise.
3828 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3830 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3832 2000-03-27 Nick Clifton <nickc@cygnus.com>
3834 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3835 string offsets in corrupt stabs entries.
3837 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3839 * readelf.c: Include elf/avr.h
3840 (dump_relocations): Add EM_AVR case.
3842 2000-03-09 Tim Waugh <twaugh@redhat.com>
3844 * strings.1: Correct '-bytes' to '--bytes'.
3846 2000-03-08 H.J. Lu <hjl@gnu.org>
3848 * Makefile.am (install-exec-local): Depend on
3849 install-binPROGRAMS for parallel make.
3850 * Makefile.in: Regenerated.
3852 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3854 From Brad Lucier <lucier@math.purdue.edu>:
3855 * readelf.c (process_dynamic_segment): Add cast to make sure
3856 argument to %* is int.
3858 2000-02-25 H.J. Lu <hjl@gnu.org>
3860 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3862 2000-02-24 Nick Clifton <nickc@cygnus.com>
3864 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3865 * configure: Regenerate.
3867 * dlltool.c: Add support for sh-pe and mips-pe targets.
3868 * rescoff.c: Add support for sh-pe and mips-pe targets.
3870 2000-02-23 H.J. Lu <hjl@gnu.org>
3872 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3874 2000-02-22 Nick Clifton <nickc@cygnus.com>
3876 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3878 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3880 From Brad Lucier <lucier@math.purdue.edu>:
3881 * readelf.c (process_version_sections): Add casts to make sure
3882 argument to %* is an int.
3883 (process_mips_specific): Add casts to make printf arguments match
3886 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3888 * objdump.c (dump_section_header): Change `opb' to unsigned.
3889 (find_symbol_for_address): Same here.
3890 (disassemble_data): And here. Change `addr_offset',
3891 `stop_offset', `nextstop_offset' to unsigned long.
3892 (dump_data): Change opb to unsigned.
3894 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3896 * resrc.c: Remove unmatched #if for cygwin.
3898 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3900 * binutils.texi: Document the change of flavor name from atpcs-special
3901 to special-atpcs to prevent name conflict in gdb.
3903 2000-02-08 Timothy Wall <twall@redhat.com>
3905 * objdump.c (show_line): Fix bug preventing printing of the very
3906 first line (line zero) of a file when interlisting source and
3907 assembly. Added option to print entire context from start of file
3908 when the first line from that file is encountered.
3910 2000-02-03 Timothy Wall <twall@redhat.com>
3912 * objdump.c (dump_section_header, find_symbol_for_address,
3913 show_line, disassemble_bytes, disassemble_data, dump_data):
3914 distinguish between octets and bytes.
3916 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3918 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3919 check to unresolved symbols.
3920 (print_symbol_info_sysv): Ditto.
3921 (print_symbol_info_posix): Ditto.
3923 * binutils.texi: Document new 'V' symclass flag for nm.
3925 2000-01-27 Nick Clifton <nickc@redhat.com>
3927 * binutils.texi (objdump): Document new ARM specific
3928 disassembler options.
3930 * objdump.c (usage): Call disassembler_usage().
3932 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3934 * readelf.c (get_dynamic_flags): Return buff.
3935 (process_dynamic_segment): Don't pass error strings to printf
3937 (read_and_display_attr): Use lx and ld to print longs.
3938 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3942 2000-01-17 Nick Clifton <nickc@cygnus.com>
3944 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3946 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3948 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3950 (debug_tag_type): Here too.
3951 * ieee.c (ieee_builtin_type): And here.
3952 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3954 2000-01-13 Nick Clifton <nickc@cygnus.com>
3956 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3959 2000-01-11 Nick Clifton <nickc@cygnus.com>
3961 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3963 2000-01-10 Nick Clifton <nickc@cygnus.com>
3965 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3967 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3969 * windres.c (long_options): Add --use-temp-file and
3970 --no-use-temp-file options.
3974 * windres.h: Update read_rc_file prototype.
3976 * resrc.c (cpp_temp_file): New static variable.
3977 (istream_type): New static variable.
3978 (close_pipe): Delete function.
3979 (run_cmd): New static function.
3980 (open_input_stream): New static function.
3981 (close_input_stream): New static function.
3982 (look_for_default): Handle DOS directory separator. Use
3983 open_input_stream instead of popen.
3984 (read_rc_file): Likewise.
3986 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3989 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3991 * dlltool.c (create_compat_implib): New variable.
3992 (gen_exp_file): Use.
3993 (make_one_lib_file): Use.
3994 (long_options): Add --compat-implib option.
3998 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3999 (main): Use. Don't look for "32" in cygwin and mingw target names.
4001 2000-01-03 Nick Clifton <nickc@cygnus.com>
4003 * binutils.texi: Document new, ARM specific disassembler
4004 command line switch "-M force-thumb".
4006 For older changes see ChangeLog-9899
4012 version-control: never