1 2003-11-27 Nick Clifton <nickc@redhat.com>
3 * rename.c (smart_rename): Make sure that we have write
4 permission on the destination file before renaming.
6 2003-11-26 Daniel Jacobowitz <drow@mvista.com>
7 Nick Clifton <nickc@redhat.com>
9 * readelf.c: Add a comment describing the difference between
11 * doc/binutils.texi (readelf): Likewise.
13 2003-11-25 Danny Smith <dannysmith@users.sourceforge.net>
15 * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
17 * dlltool.c (usage): Likewise.
19 2003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
21 * cxxfilt.c (long_options): Add --no-params.
22 (main): Handle -p/--no-params.
23 * doc/binutils.texi (c++filt): Document -p/--no-params.
25 2003-11-19 Alan Modra <amodra@bigpond.net.au>
27 * objdump.c: Wrap long lines, init vars separately from decl.
28 (disassemble_section): Reset require_sec after call to
29 find_symbol_for_address.
31 2003-11-14 Nick Clifton <nickc@redhat.com>
33 * objdump.c (find_symbol_for_address): Change parameters so
34 that the entire disassemble_info structure is passed, not just
35 a few fields. Use the symbol_is_valid field to check the
36 validity of located symbols and continue searching if they are
38 (objdump_print_addr): Alter parameters passed to
39 find_symbol_for_address.
40 (objdump_symbol_at_address): Likewise.
41 (disassemble_section): Likewise. Also use symbol_is_valid
42 function to check the validity of located symbols.
44 2003-11-13 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
46 * ar.c (open_inarch): Emit a warning when an archive is created
47 (only shown with -v) in order to confrom to POSIX specification.
49 2003-11-11 Wang Li <charles@linux.net.cn>
51 * objcopy.c (wildcard): New variable. True if wildcard pattern
52 matching is allowed in symbol names.
53 (strip_options): Add -w option to enable wildcard pattern
55 (copy_options): Likewise.
56 (copy_usage): Mention new switch.
57 (strip_usage): Likewise.
58 (is_specified_symbol): If performing wildcard matches use fnmatch
59 to compare symbol names with entries on the symbol list.
60 (strip_main): Accept -w switch.
61 (copy_main): Likewise.
62 * Makefile.am: Add dependency on fnmatch.h for objcopy.c
63 * Makefile.in: Regenerate.
64 * doc/binutils.texi: Document new switch.
65 * NEWS: Mention new switch.
67 2003-11-11 Alan Modra <amodra@bigpond.net.au>
69 * objdump.c: Revert rev 1.81 commit.
71 2003-11-10 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
73 * ar.c (print_contents): Remove "member" from verbose output in
74 order to conform to POSIX specification.
76 2003-11-10 Alan Modra <amodra@bigpond.net.au>
78 * README: Expand bug reporting information.
80 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
82 * bucomm,c (get_file_size): New function. Returns the size of a
84 * bucomm.h: Add prototype for get_file_size.
85 * addr2line.c (process_file): Use new function.
86 * ar.c (main, ranlib_only, ranlib_touch): Likewise.
87 * nm.c (display_file): Likewise.
88 * objcopy.c (add_specific_symbols, copy_file, strip_main,
90 * objdump.c (display_file): Likewise.
91 * size.c (display_file): Likewise.
92 * strings.c (strings_file): Likewise.
93 * readelf.c (process_file): Use similar code to get_file_size.
95 2003-11-06 Bruno Rohee <bruno@rohee.com>
97 * ieee.c: Fix "the the" typo.
100 2003-10-30 Marshall T. Vandegrift <llasram@wuli.nu>
102 * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
103 sections - they have no file space assigned to their contents.
105 2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
107 * readelf.c (dump_section): Don't display DEL characters.
109 2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
111 * ChangeLog: Fix typos.
112 * ChangeLog-9197: Likewise.
113 * ChangeLog-9899: Likewise.
115 * ar.c: Fix comment typos.
117 * coffgrok.c: Likewise.
120 * dlltool.c: Likewise.
123 * objdump.c: Likewise.
125 * readelf.c: Likewise.
127 * sysinfo.y: Likewise.
128 * windres.c: Likewise.
130 2003-10-27 Nick Clifton <nickc@redhat.com>
132 * objcopy.c (copy_section): Do not complain when a target does not
134 (mark_symbols_used_in_relocations): Likewise.
136 2003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
138 * objcopy.c (copy_main): Reads machine flags from arch_info
141 2003-10-20 Andrew Cagney <cagney@redhat.com>
143 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
146 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
148 * objdump.c (read_section_stabs): Just read one section, return
149 pointer to it. Add size parameter.
150 (print_section_stabs): Add string offset parameter. Adjust.
151 (struct stab_section_names): Add string offset member.
152 (find_stabs_sections): Correct check for split section suffix,
153 adjust read_section_stabs and print_section_stabs calls.
154 (dump_stabs_section): Clear string_offset, free string table.
156 2003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
158 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
159 'bit count' in icon groups.
161 2003-09-30 Chris Demetriou <cgd@broadcom.com>
163 * NEWS: Add an indication of the cutoff for 2.14.
165 2003-09-30 Chris Demetriou <cgd@broadcom.com>
167 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
169 2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
171 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
172 (get_symbol_index_type): Likewise.
174 2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
176 * readelf.c (process_version_sections): Indent version names.
178 2003-09-15 Anthony Green <green@redhat.com>
180 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
184 2003-09-14 Andreas Jaeger <aj@suse.de>
186 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
187 unneeded (void *) casts.
190 * arparse.y: Likewise.
192 * binemul.c: Likewise.
193 * binemul.h: Likewise.
194 * bucomm.c: Likewise.
195 * bucomm.h: Likewise.
197 * budemang.c: Likewise.
198 * budemang.h: Likewise.
199 * coffdump.c: Likewise.
200 * coffgrok.c: Likewise.
201 * cxxfilt.c: Likewise.
204 * deflex.l: Likewise.
205 * dlltool.c: Likewise.
206 * dlltool.h: Likewise.
207 * dllwrap.c: Likewise.
208 * emul_aix.c: Likewise.
209 * filemode.c: Likewise.
211 * nlmconv.c: Likewise.
212 * nlmconv.h: Likewise.
213 * nlmheader.y: Likewise.
217 * rcparse.y: Likewise.
218 * rdcoff.c: Likewise.
220 * rename.c: Likewise.
221 * resbin.c: Likewise.
222 * rescoff.c: Likewise.
225 * srconv.c: Likewise.
227 * strings.c: Likewise.
228 * sysdump.c: Likewise.
229 * sysinfo.y: Likewise.
230 * syslex.l: Likewise.
231 * unwind-ia64.c: Likewise.
232 * unwind-ia64.h: Likewise.
233 * version.c: Likewise.
234 * windres.c: Likewise.
235 * windres.h: Likewise.
236 * winduni.c: Likewise.
237 * wrstabs.c: Likewise.
239 2003-09-10 James E Wilson <wilson@specifixinc.com>
241 * MAINTAINERS: Update my e-mail address.
243 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
245 * MAINTAINERS: Update my e-mail address.
247 2003-09-04 Nick Clifton <nickc@redhat.com>
249 * MAINTAINERS: Make it clear what should be done with patches to
250 the top level configure files (other than config.guess and
251 config.sub). Add binutils@sources.redhat.com as an address to
252 which patches can be sent.
254 2003-09-04 Nick Clifton <nickc@redhat.com>
256 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
258 2003-09-03 Andrew Cagney <cagney@redhat.com>
260 * objdump.c: Refer to init_disassemble_info in comments.
261 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
262 init_disassemble_info.
264 2003-09-03 Nick Clifton <nickc@redhat.com>
266 * objdump.c (struct objdump_disasm_info): Add new fields
267 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
268 (process_section_p): New function: Returns TRUE if a section
270 (disassemble_section): New function: Contains the body of
271 disassemble_data(), but just for one section.
272 (disassemble_data): Use bfd_map_over_sections to walk section
274 (find_stabs_section): New function: Find a stabs containing
275 section and then dump it.
276 (dump_stabs_section): New function: Use bfd_map_over_sections
277 to find the section to dump.
278 (dump_stabs): Use dump_stabs_section.
279 (dump_section): New function: Display the contents of a
281 (dump_data): Use bfd_map_over_sections to display section
283 (dump_relocs_in_section): Display the relocs in a given section.
284 (dump_relocs): Use bfd_map_over_sections to display relocs.
285 (adjust_addresses): New function: Adjust the vma and lma of
287 (dump_bfd): Use bfd_map_over_sections.
288 * doc/binutils.texi: Document the "objdump -s" (no longer)
289 dumps empty sections.
291 2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
293 * objdump.c: Improve comments/documentation.
294 dump_data: Eliminate duplicate function calls to bfd_section_size.
296 2003-09-02 Alan Modra <amodra@bigpond.net.au>
298 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
300 2003-08-21 Nick Clifton <nickc@redhat.com>
302 * po/tr.po: Updated Turkish translation.
304 2003-08-14 Alan Modra <amodra@bigpond.net.au>
306 * dep-in.sed: Remove libintl.h.
307 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
309 * Makefile.in: Regenerate.
311 2003-08-11 Ian Lance Taylor <ian@airs.com>
313 * readelf.c (process_archive): Fix error handling. Remove memory
316 * readelf.c: Add ability to read archives.
317 (archive_file_offset): New variable.
318 (archive_file_size): New variable.
319 (get_data): Include archive_file_offset in file offset
320 calculation when fseeking.
321 (process_program_headers): Likewise.
322 (process_symbol_table): Likewise.
323 (process_dynamic_segment): Handle computation of end of file
324 position when the file is in an archive.
325 (process_object): New function. Contains the body of
327 (process_archive): New function. Call process_object on each
328 member of an archive.
329 (process_file): Detect archives and handle appropriately.
330 * Makefile.am: Add dependency on aout/ar.h for readelf.c
331 * Makefile.in: Regenerate.
332 * NEWS: Document readelf's new ability.
333 * doc/binutils: Alter text to say that readelf supports archives
334 and 64-bit ELF files.
336 2003-08-08 Nick Clifton <nickc@redhat.com>
338 * po/fr.po: Updated French translation.
340 2003-08-05 Alan Modra <amodra@bigpond.net.au>
342 * objcopy.c: Remove unnecessary prototypes and casts.
343 * objdump.c: Remove unnecessary casts.
344 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
345 (get_osabi_name): Move so we don't need a forward declaration.
347 2003-08-04 Bradley Harrington <bharring@us.ibm.com>
348 Alan Modra <amodra@bigpond.net.au>
350 * objdump.c (include_paths, include_path_count): New vars.
351 (usage): Describe --include.
352 (long_options): Add "include".
353 (add_include_path): New function.
354 (struct print_file_list): Make filename const. Add modname.
355 (try_print_file_open, update_source_path): New functions.
356 (show_line): Use them.
357 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
359 2003-07-30 Alan Modra <amodra@bigpond.net.au>
361 * objdump.c: Remove unnecessary prototypes.
362 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
363 code, and print relocs when dump_dynamic_reloc_info.
364 (disassemble_data): Read and handle dynamic relocs. Correct reloc
365 skip code. Formatting.
366 (dump_bfd): Don't dump dynamic relocs when disassembling.
368 2003-07-29 Ben Elliston <bje@wasabisystems.com>
370 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
371 maintenance defaults to the blanket write privilege maintainers.
373 2003-07-29 Michael Meissner <gnu@the-meissners.org>
375 * MAINTAINERS: Updated my email address.
377 2003-07-29 Nick Clifton <nickc@redhat.com>
379 * objdump.c: Update to ISO C.
381 2003-07-24 Nick Clifton <nickc@redhat.com>
383 * objdump.c (disassemble_data): Do not ignore sections without the
384 LOAD flag when disassemble_all is true. Only print a message
385 about disassembling a section if it contains some data.
387 * po/fr.po: Updated French translation.
389 2003-07-23 Nick Clifton <nickc@redhat.com>
391 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
392 left in. Some formatting tidy ups.
394 2003-07-22 Salvador Eduardo Tropea <set@computer.org>
396 * objdump.c: New command line option --debugging-tags.
397 * doc/binutils.texi: Document new command line option.
398 * prdbg.c: Code to print the debug info as tags compatible
400 * budbg.h: Adjust prototype.
401 * NEWS: Mention new switch
403 2003-07-18 Nick Clifton <nickc@redhat.com>
405 * objdump.c (main) :Accept multiple -M switch.
406 * doc/binutils.texi: Document that multiple -M switches are
407 accepted and that a single -M switch can contain comma
410 2003-07-17 Nick Clifton <nickc@redhat.com>
412 * objdump.c (main): Issue a warning message if multiple -M
415 * doc/binutils.texi (objdump): Update documentation about -M
418 2003-07-17 Nick Clifton <nickc@redhat.com>
420 * po/es.po: New Spanish translation.
422 2003-07-11 Alan Modra <amodra@bigpond.net.au>
424 * po/binutils.pot: Regenerate.
426 2003-07-05 Christopher Faylor <cgf@redhat.com>
428 * dlltool.c (prefix_encode): Use a fixed length for alpha.
430 2003-07-04 Christopher Faylor <cgf@redhat.com>
432 * dlltool.c (prefix_encode): New function. Encode temp file prefix
434 (dlltmp): Pass address of pointer being alloced or suffer neverending
436 (make_one_lib_file): Allocate enough space for new longer stub names.
437 (gen_lib_file): Ditto.
438 (main): Generate the temp file prefix from the pid if prefix was not
439 specified on the command line.
441 2003-07-04 Nick Clifton <nickc@redhat.com>
443 * readelf.c (get_data): Print (unsigned) hex values for size and
444 offset in error messages.
445 (process_section_headers): If the string table could not be
446 allocated, do not continue.
448 2003-07-01 Jakub Jelinek <jakub@redhat.com>
450 * readelf.c (dynamic_segment_ia64_val): Print address and newline
451 for sections by default. Comment fix.
453 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
455 * rcparse.y (res_text_field): New res_id variable.
456 (res_null_text): New static const struct res_id object,
457 with empty unicode name field.
458 (control): Pop parsing of optresidc up one level. Set
459 res_text_field to $2 except for controls which do not accept
460 a text field. Set res_text_field to res_null_text for the
461 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
462 (control_params): Adjust to use res_text_field rather
464 (COMBOBOX): Add comment about discrepency between documented
465 vs. observed default style.
466 * resrc.c (define_control): Make first param const.
467 * windres.h (define_control): Adjust prototype.
469 2003-06-27 Nick Clifton <nickc@redhat.com>
471 * objcopy.c (copy_object): Replace call to
472 bfd_create_gnu_debuglink_section with separate calls to
473 bfd_add_gnu_debuglink_section and
474 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
477 2003-06-26 Roland McGrath <roland@redhat.com>
479 * readelf.c (loadaddr): Variable removed.
480 (dynamic_info, version_info): Fix type long -> bfd_vma.
481 (program_headers): New variable.
482 (get_program_headers): New function, broken out of
483 process_program_headers.
484 (process_program_headers): Call it. Don't set `loadaddr'.
485 (slurp_ia64_unwind_table): Use get_program_headers.
486 (process_corefile_note_segments): Likewise.
487 (offset_from_vma): New function.
488 (process_relocs, process_dynamic_segment): Call that instead of
489 subtracting `loadaddr'.
490 (process_version_sections, process_symbol_table): Likewise.
491 (process_mips_specific): Likewise.
493 2003-06-26 Nick Clifton <nickc@redhat.com>
495 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
496 (OPTION_ONLY_KEEP_DEBUG): New.
497 (strip_options): Add --only-keep-debug.
498 (copy_options): Likewise.
499 (is_strip_section): Invert return value if STRIP_NONDEBUG is
501 (copy_object): Do not copy private data when STRIP_NONDEBUG is
503 (setup_section): Likewise.
504 (strip_main): Handle --only-keep-debug.
505 (copy_main): Likewise.
506 * NEWS: Mention new switch
507 * doc/binutils.texi: Document new switch.
509 2003-06-25 Alan Modra <amodra@bigpond.net.au>
511 * NEWS: Correct spelling of "relocatable".
512 * objdump.c: Likewise.
513 * sysroff.info: Likewise.
515 2003-06-19 Nick Clifton <nickc@redhat.com>
517 * readelf.c (print_vma): When printing DEC_5 values, if the
518 number is bigger than 99999 switch to using hexadecimal
521 2003-06-11 Nick Clifton <nickc@redhat.com>
523 * objcopy.c (gnu_debuglink_filename): New variable.
524 (OPTION_ADD_GNU_DEBUGLINK): New switch
525 (copy_options): Describe --add-gnu-debuglink switch.
526 Mention that --strip-debug removes sections as well.
527 (is_strip_section): Process the sections removed and kept
528 lists before checking for debugging sections.
529 (add_redefine_syms_file): Make function static.
530 (copy_object): Use is_strip_section.
531 Check to see if a .gnu_debuglink section should be added. If
532 so, call bfd_add_gnu_debuglink.
533 (setup_section): Use is_strip_section.
534 (copy_section): Use is_strip_section.
535 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
536 * NEWS: Mention new objcopy switch.
537 * doc/binutils.texi: Document new switch.
539 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
541 * po/Make-in (DESTDIR): New.
542 (install-data-yes): Support $(DESTDIR).
543 (uninstall): Likewise.
545 2003-06-11 Alan Modra <amodra@bigpond.net.au>
547 * Makefile.in: Regenerate.
549 2003-05-23 Jakub Jelinek <jakub@redhat.com>
551 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
553 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
555 * NEWS: Document the new BSD/POSIX single-character mapping for
556 .comment/.note sections.
558 2003-06-02 Chris Demetriou <cgd@broadcom.com>
559 Jason Thorpe <thorpej@wasabisystems.com>
561 * objcopy.c (redefine_list_append): Add an argument that
562 indicates the context from which this function is being
563 called. Change all callers.
564 (copy_options): Add a new option, --redefine-syms.
565 (copy_usage): Document new option.
566 (copy_main): Handle the --redefine-syms option.
567 * doc/binutils.text (objcopy): Document new option.
569 2003-05-31 Richard Henderson <rth@redhat.com>
571 * readelf.c (byte_get_signed): New.
572 (get_encoded_value): New.
573 (display_debug_frames): Use it. Always pre-process opcodes.
575 2003-05-20 Michal Ludvig <mludvig@suse.cz>
577 * readelf.c (display_debug_frames): Print both registers
580 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
582 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
584 * configure.in: Regenerate.
586 2003-05-13 Michael Eager <eager@mvista.com>
588 * objcopy.c: Treat identical src/dst file names as if only one
589 entered. One Windows creating an output file of the same name as
590 the input file will delete the input file before it is read.
592 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
594 * debug.c (debug_get_real_type): Extend test for circular debug
597 2003-05-12 Nick Clifton <nickc@redhat.com>
599 * configure.in (ALL_LINGUAS): Add zh_CN.
600 * configure: Regenerate.
601 * po/zh_CN.po: New file: Chinese (simplified) translation.
603 2003-05-11 Jason Eckhardt <jle@rice.edu>
605 * MAINTAINERS: Update my mail address.
607 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
609 * readelf.c (dump_relocations): Enlarge the type field in wide
610 mode by one character.
612 2003-05-03 Richard Henderson <rth@redhat.com>
614 * readelf.c (struct Frame_Chunk): Add cfa_exp.
615 (frame_display_row): Just print "exp" for cfa or register
616 defined by a location expression.
617 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
618 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
620 2003-04-30 H.J. Lu <hjl@gnu.org>
622 * objdump.c (only): Change it to char **.
625 (disassemble_data): Check only as an array.
626 (dump_data): Likewise.
627 (dump_relocs): Likewise.
628 (main): Treat only as an array.
630 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
632 * doc/binutils.texi: Fix the documentation for the -fo option.
634 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
636 * readelf.c (get_machine_name) <EM_SH>: Amend return value
639 * readelf.c (decode_location_expression): Don't add a trailing ';'.
641 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
642 Nick Clifton <nickc@redhat.com>
644 * windres.c (long_options): Move close to main, where it is used.
645 Add 'input' and 'output' long options.
646 (main): Accept "-fo" as an alias for "-o". This is for rc
648 * doc/binutils.texi: Mention that -fo is accepted as an alias for
649 -o, but discourage its use.
651 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
653 * windres.c (format_from_name): Make the exit on error
655 (main): Rename the -I option to -J. Introduce -I as a synonym
656 for --include-dir. For backwards compatibility also support the
657 old -I behaviour, but issue a deprecation warning.
658 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
661 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
663 * readelf.c: Replace references to Mitsubishi M32R with
664 references to Renesas M32R.
666 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
668 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
670 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
672 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
673 for debugging information types not supported by objdump.
675 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
677 * configure.in: Recognize canonical form of i[3-6]86-pe*.
678 * configure: Regenerate.
680 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
682 * readelf.c (display_debug_info): Apply RELA relocations on the
684 (byte_put_little_endian, byte_put_big_endian): New functions.
685 (byte_put): New variable.
686 (get_file_header): Initialize it.
688 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
690 * windres.c: Add -l for compatibility with wrc, and rc.
691 Use the short option as a key for long options that have
692 a synonymous short option.
693 * doc/binutils.texi: Added -l to the list of options.
695 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
697 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
698 (main): Just pass the -U option down to the preprocessor.
699 * doc/binutils.texi: Added -U to the list of options.
701 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
703 * windres.c (usage): Report -r option.
704 (main): Ignore the -r option.
705 * doc/binutils.texi: Add -r to the list of options.
707 2003-04-01 Bob Wilson <bob.wilson@acm.org>
709 * MAINTAINERS: Add myself as Xtensa maintainer.
711 2003-04-01 Bob Wilson <bob.wilson@acm.org>
713 * readelf.c: Include "elf/xtensa.h".
714 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
715 targets that use RELA relocations.
716 (dump_relocations): Call elf_xtensa_reloc_type for
717 EM_XTENSA and EM_XTENSA_OLD.
718 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
720 2003-04-01 Nick Clifton <nickc@redhat.com>
722 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
723 thumb-pe*, mcore-pe and mcore-*elf.
724 * configure: Regenerate.
726 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
728 * objdump.c (dump_data): Don't truncate the address to long; make
729 the width large enough, and uniform for all entries in a section.
731 2003-03-31 H.J. Lu <hjl@gnu.org>
733 * readelf.c: Include "libiberty.h".
734 (dynamic_relocations): New.
735 (process_relocs): Properly handle dynamic relocation.
736 (process_dynamic_segment): Fill relocation elements in
739 2003-03-31 Kevin Buettner <kevinb@redhat.com>
741 * readelf.c (read_and_display_attr, read_and_display_attr_value):
742 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
744 (display_debug_lines, display_debug_pubnames, display_debug_info)
745 (display_debug_aranges, display_debug_frames, read_and_display_attr)
746 (read_and_display_attr_value): Add 64-bit DWARF support.
748 2003-03-31 Ian Lance Taylor <ian@airs.com>
750 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
751 (optresid): Handle a resource id that can be a string or a number.
752 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
754 (define_icon_control): Pass a struct res_id to define_control.
755 * windres.h (define_control): Change prototype.
757 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
759 * objcopy (OPTION_FORMATS_INFO): Define.
760 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
761 (copy_options): Likewise.
762 (strip_usage): Add "--info" to usage.
763 (copy_usage): Likewise.
764 (strip_main): Declare formats_info. Iniatilize it to FALSE.
766 (copy_main). Likewise.
767 * doc/binutils.texi. Document the "--info" option for
769 * NEWS: Mention the new command line switch.
771 * objdump.c (endian_string): Move to bucomm.c.
772 (display_info): Likewise.
773 (display_target_list): Likewise.
774 (display_info_table): Likewise.
775 (display_target_tables): Likewise.
776 (main): Assign the return value of display_info to exit_status.
777 * bucomm.c: Include bfdver.h and libbfd.h
778 (display_target_list): Call bfd_nonfatal instead of nonfatal and
779 return 0 on a non-fatal error, 1 on success.
780 (display_info_table): Likewise.
781 * bucomm.h (display_info): Provide a prototype.
782 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
784 * Makefile.in: Regenerate.
786 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
788 * dlltool.c (gen_def_file): Put demangled name comments on
789 own line preceding export name.
791 2003-03-17 Nick Clifton <nickc@redhat.com>
793 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
794 printf for emitting new lines.
796 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
798 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
799 the symbol's value when --size-sort is used, unless -S is used.
800 doc/binutils.texi (--size-sort): For non-bsd formats both the
801 value and size of the symbols are displayed.
803 2003-03-13 Nick Clifton <nickc@redhat.com>
807 2003-03-12 Nick Clifton <nickc@redhat.com>
809 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
811 2003-03-10 Ben Elliston <bje@wasabisystems.com>
813 * MAINTAINERS: Update my mail address.
815 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
817 * stabs.c (BYTES_IN_WORD): Remove definition.
818 * wrstabs.c (BYTES_IN_WORD): Likewise.
820 2003-03-04 Nick Clifton <nickc@redhat.com>
822 * nm.c (main): Print a warning message if --size-sort and
823 --undefined-only are used together.
825 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
827 * nm.c (print_symbol): Remove check for undefined_only.
829 2003-03-03 Nick Clifton <nickc@redhat.com>
831 * po/da.po: Installed latest translation.
833 2003-02-24 Nick Clifton <nickc@redhat.com>
835 * README: Update binutils references to 2.13.
836 Add paragraph about using --disable-nls.
838 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
840 * doc/binutils.texi (nm --size-sort): Update.
842 2003-02-21 James E Wilson <wilson@tuliptree.org>
844 * MAINTAINERS: Update email address.
846 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
848 * readelf.c (get_ia64_dynamic_type): New function.
849 (dynamic_segment_ia64_val): New function.
850 (get_dynamic_type): If machine type is EM_IA_64 call
851 get_ia64_dynamic_val.
852 (get_ia64_section_type_name): Handle sections with types in the
853 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
854 (get_dynamic_flags): If machine type is EM_IA_64 call
855 dynamic_segment_ia64_val.
857 2003-02-21 Bob Wilson <bob.wilson@acm.org>
859 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
860 section title capitalization more consistent. Update descriptions
861 of various options to be consistent with the code. Fix errors and
862 incomplete list in the description of c++filt format options. Remove
863 information about the linker. Change to be more polite about poor
864 bug reports. Replace FDL appendix with include of fdl.texi.
865 * doc/fdl.texi: New file.
867 2003-02-21 Roger Sayle <roger@eyesopen.com>
869 * objcopy.c (filter_symbols): Fix compilation problems with
872 2003-02-19 Christopher Faylor <cgf@redhat.com>
874 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
877 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
879 * rclex.l (handle_quotes): Handle strings spanning more than one line.
881 2003-02-12 Bob Wilson <bob.wilson@acm.org>
883 * nm.c (usage): Add `java' and `gnat' demangle styles and make
885 * objdump.c (usage): Ditto. Also fix some typos.
887 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
889 * debug.c (debug_record_variable): Handle global register variables.
891 * stabs.c (parse_stab): For N_SLINE only include
892 function_start_offset if the symbol is within a function;
893 otherwise, the value is absolute.
895 2003-02-10 Nick Clifton <nickc@redhat.com>
897 * readelf.c (decode_ARM_machine_flags): Handle the
898 EF_ARM_MAVERICK_FLOAT flag.
900 2003-02-04 Andreas Schwab <schwab@suse.de>
902 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
903 long and use %ld in printf format.
905 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
907 * readelf.c (dump_relocations): Reorder the r_info field for
908 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
910 2003-01-21 Daniel Berlin <dan@dberlin.org>
912 * readelf.c (display_debug_loc): Skip address base changes.
914 2003-01-17 Fabio Alemagna <falemagn@aros.org>
916 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
919 2003-01-16 Alan Modra <amodra@bigpond.net.au>
921 * readelf.c: Include elf/ppc64.h.
922 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
923 * Makefile.am: Run "make dep-am".
924 * Makefile.in: Regenerate.
926 2003-01-02 Ben Elliston <bje@redhat.com>
928 * readelf.c (guess_is_rela): Handle EM_IQ2000.
929 (get_machine_name): Likewise.
930 (dump_relocations): Likewise.
931 * NEWS: Mention IQ2000 support.
933 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
935 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
937 2002-12-30 Chris Demetriou <cgd@broadcom.com>
939 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
940 changes in MIPS -M options.
942 2002-12-30 Dmitry Diky <diwil@mail.ru>
944 * Makefile.am: Add msp430 target.
945 * Makefile.in: Regenerate.
946 * readelf.c: Add support for msp430 target.
948 2002-12-27 Chris Demetriou <cgd@broadcom.com>
950 * doc/binutils.texi (objdump): Document MIPS -M options.
952 2002-12-23 Andreas Schwab <schwab@suse.de>
954 * readelf.c (main): Reset dump request after each file.
956 2002-12-23 Nick Clifton <nickc@redhat.com>
958 * nlmconv.c (main): Pass TRUE as third argument to
959 bfd_arch_get_compatible.
961 2002-12-23 Nick Clifton <nickc@redhat.com>
963 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
964 macro. Handle 'S' encoding, accepting 8-bit characters.
965 (main): Parse 'S' encoding.
966 (get_char): Accept 'S' encoding.
967 (print_strings): Use STRING_ISGRAPHIC.
968 (usage): Document support of 'S' encoding.
969 * doc/binutils.texi: Document support of 'S' encoding/
970 * NEWS: Mention new feature.
972 2002-12-20 Alan Modra <amodra@bigpond.net.au>
974 * README <building ar>: Don't use libibery's needed_list or
975 required_list, instead link libiberty/*.o.
977 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
979 * doc/binutils.texi: Fix typos.
981 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
983 * doc/binutils.texi: Add missing parenthesis.
985 2002-12-15 Nick Kelsey <nickk@ubicom.com>
987 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
988 symbols by adding the given prefix to the begining of the symbol
989 name. This is useful to provide name space separation regardless
990 of how the object file was created. Added --prefix-sections=
991 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
992 sections (or all sections with the alloc flag set) by adding the given
993 prefix to the begining of the symbol name.
994 * NEWS: Mention this new feature.
995 * doc/binutils.texi: Document this new feature.
997 2002-12-13 Alan Modra <amodra@bigpond.net.au>
999 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
1000 dyn_string_append with dyn_string_append_cstr.
1002 * emul_aix.c (ar_emul_aix_create): Remove unused function.
1004 2002-12-10 James Cownie <jcownie@etnus.com>
1006 * readelf.h (get_TAG_name, get_AT_name,
1007 read_and_display_attr_value): Add support for UPC extensions to
1009 * NEWS: Mention this new support.
1011 2002-12-08 Alan Modra <amodra@bigpond.net.au>
1013 * NEWS: Mention that bfd no longer declares a "boolean" type.
1015 2002-12-07 Alan Modra <amodra@bigpond.net.au>
1017 * readelf.c (process_program_headers): When setting loadaddr, don't
1018 assume segment size is 4k. Use p_align instead.
1019 (loadaddr): Change from int to long.
1020 (dynamic_addr, dynamic_info, version_info): Likewise.
1021 (process_dynamic_segment <syminsz>): Likewise.
1022 (process_dynamic_segment): Adjust print format string.
1023 (rela_addr, rela_size): Delete.
1024 (process_relocs): Formatting.
1026 2002-12-05 Jim Wilson <wilson@redhat.com>
1028 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
1029 * configure: Regenerate.
1031 2002-12-04 Ian Lance Taylor <ian@airs.com>
1033 * MAINTAINERS: Change e-mail address back to airs.com.
1035 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
1037 * MAINTAINERS: Add self.
1039 2002-11-30 Alan Modra <amodra@bigpond.net.au>
1041 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
1042 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
1043 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
1044 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
1045 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
1046 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
1047 with TRUE/FALSE. Formatting.
1049 2002-11-29 Jakub Jelinek <jakub@redhat.com>
1051 * readelf.c Replace occurrences of Elf32_Internal_* and
1052 Elf64_Internal_* with Elf_Internal_*.
1053 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1054 Zero r_addend fields.
1055 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1058 2002-11-23 Nick Clifton <nickc@redhat.com>
1060 * size.c (usage): Fix typo describing switch for hex format.
1062 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
1064 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1065 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1068 2002-11-14 Nick Clifton <nickc@redhat.com>
1070 * readelf.c (process_program_headers): Add comment about return
1071 value. Ensure that 0 is returned if the headers are not loaded.
1072 (process_file): If process_section_headers failed to load the
1073 headers disable any tests that rely upon them. Similarly for
1074 process_program_headers.
1076 2002-11-12 Nick Clifton <nickc@redhat.com>
1078 * po/da.po: Updated Danish translation.
1080 2002-11-12 Klee Dienes <kdienes@apple.com>
1082 * rddbg.c (read_section_stabs_debugging_info): Also recognize
1083 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1085 2002-11-11 Christopher Faylor <cgf@redhat.com>
1087 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
1090 2002-11-11 Christopher Faylor <cgf@redhat.com>
1092 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1094 2002-11-07 Nick Clifton <nickc@redhat.com>
1096 * configure.in (ALL_LINGUAS): Add 'da'.
1097 * configure: Regenerate.
1098 * po/da.po: New Danish translation.
1100 * readelf.c (get_symbol_index_type): Revert part of previous
1101 patch: Display unknown symbol types in decimal, not hex.
1103 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1105 * dlltool.c (add_excludes): Don't prefix excluded fastcall
1106 symbols with underscore.
1107 (xlate): Ignore add_underscore for decorated fastcall symbols.
1109 2002-11-07 Eric Kohl <ekohl@rz-online.de>
1111 * deflex.l: Accept '@' as first character of an ID.
1112 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1113 ASM_PREFIX for fastcall symbols.
1114 (scan_drectve_symbols): Handle fastcall symbols when generating
1115 undecorated aliases for symbols in drectve section.
1116 (scan_filtered_symbols): Likewise, with export-all.
1117 (xlate): Likewise, with --kill-at.
1118 (make_imp_label): New function to handle fastcall symbols
1120 (make_one_lib_file): Use make_imp_label instead of make_label
1123 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
1125 * MAINTAINERS: Add self as TIC4X maintainer.
1127 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
1129 * readelf.c (get_symbol_index_type): Add hex number to
1130 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1133 2002-11-04 Alan Modra <amodra@bigpond.net.au>
1135 * readelf.c (byte_get_little_endian): Comment typo fix.
1136 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1137 as the format string.
1138 (dump_relocations): Correct section sym names.
1139 (process_section_headers): Clear symtab_shndx_hdr.
1140 (read_and_display_attr_value): Don't pass indirect string to printf
1141 as the format string.
1142 (display_debug_frames): Indicate when zero terminator found. Decode
1143 DW_EH_PE_pcrel addresses.
1145 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1147 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1148 order to ensure proper disassembly of the valid 0-value opcode.
1149 * configure: Regenerate.
1150 * aclocal.m4: Regenerate.
1151 * config.in: Regenerate.
1152 * configure.in: Regenerate.
1153 * doc/Makefile.in: Regenerate.
1154 * po/binutils.pot: Regenerate.
1156 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1158 * MAINTAINERS: Add self as SH maintainer.
1160 2002-10-23 Ben Elliston <bje@redhat.com>
1162 * doc/binutils.texi (objdump): Document -z and move the entry for
1163 --disassemble-zeroes to the end of the options section (for `z').
1165 2002-10-21 Nick Clifton <nickc@redhat.com>
1167 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1169 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1171 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1173 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1175 * bucomm.c (list_supported_targets): Use bfd_target_list.
1177 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1178 other object errors in preference to bfd_core errors.
1180 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1182 * Makefile.am: Run "make dep-am".
1183 * objdump.c: #include "bfdver.h".
1184 * version.c: Likewise.
1185 * Makefile.in: Regenerate.
1186 * config.in: Regenerate.
1187 * configure: Regenerate.
1188 * po/POTFILES.in: Regenerate.
1190 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
1192 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1193 sections. Allow relocations against the absolute symbol. Don't
1194 use the value in compunit.cu_abbrev_offset if we found a RELA
1197 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1199 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1200 ordinary ones are available.
1202 2002-09-30 H.J. Lu <hjl@gnu.org>
1204 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1205 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1207 2002-09-17 Zack Weinberg <zack@codesourcery.com>
1209 * Makefile.am (CFILES): Add cxxfilt.c.
1210 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1211 (cxxfilt_LDADD): Delete.
1212 Remove all references to underscore.c.
1214 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1215 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1216 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1217 adjustments to fit into binutils framework.
1218 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1220 2002-09-12 Roland McGrath <roland@redhat.com>
1222 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1223 Handle DW_OP_GNU_push_tls_address.
1225 2002-09-11 Nick Clifton <nickc@redhat.com>
1227 * po/tr.po: Updated Turkish translation.
1229 2002-09-10 Nick Clifton <nickc@redhat.com>
1231 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1232 testsuite changes. Add paragraphs about testsuite and config
1235 2002-08-29 Nick Clifton <nickc@redhat.com>
1237 * readelf.c (get_machine_flags): Remove redundant reference to
1240 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1242 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1245 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1247 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1248 (dump_bfd_header): Likewise.
1250 2002-08-27 Alan Modra <amodra@bigpond.net.au>
1252 * nm.c: Revert last change.
1254 2002-08-26 Alan Modra <amodra@bigpond.net.au>
1256 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1257 * objdump.c (slurp_symtab): Likewise.
1258 (slurp_dynamic_symtab): Likewise.
1259 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1261 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
1263 * MAINTAINERS: Change my mailing address.
1265 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1267 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1269 2002-08-22 Nick Clifton <nickc@redhat.com>
1271 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1274 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1276 * readelf.c (parse_args): Change debug_dump_opt to static.
1278 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1280 * stabs.c (parse_stab_argtype): Pass length of physname to
1281 stab_demangle_argtypes.
1282 (stab_demangle_argtypes): Add new parameter - length of physname.
1283 Pass length of physname on to stab_demangle_prefix.
1284 (stab_demangle_prefix): Add new parameter - length of physname.
1285 Use length of physname (if supplied) to compute end of function
1288 2002-08-15 Alan Modra <amodra@bigpond.net.au>
1290 * readelf.c: Include elf/i370.h.
1291 (dump_relocations): Handle EM_S370.
1292 (dynamic_segment_parisc_val): Print \n.
1293 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1295 2002-08-14 Nick Clifton <nickc@redhat.com>
1297 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1298 * objdump.c (usage): Likewise.
1299 * doc/binutils.texi: Likewise.
1301 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1303 * rcparse.y (acc_entry): Don't warn about ALT use with
1306 2002-08-13 H.J. Lu <hjl@gnu.org>
1308 * objcopy.c (copy_object): Don't warn about the unsupported
1309 architecture unless the input target is defaulted or the
1310 output architecture is different from the input.
1312 2002-08-09 Nick Clifton <nickc@redhat.com>
1314 * po/sv.po: Updated Swedish translation.
1316 2002-08-05 Alan Modra <amodra@bigpond.net.au>
1318 * prdbg.c (pr_fix_visibility): Remove assert.
1320 2002-07-31 Nick Clifton <nickc@redhat.com>
1322 * addr2line.c (process_file): Rename parameter 'filename' to
1323 'file_name' in order to avoid shadowing global symbol of the
1327 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1329 * readelf.c (OPTION_DEBUG_DUMP): Define.
1331 (usage): Update help.
1332 (parse_args): Handle --debug-dump separately from -w.
1333 * doc/binutils.texi (readelf): Update documentation.
1335 2002-07-25 Nick Clifton <nickc@redhat.com>
1337 * po/es.po: Updated Spanish translation.
1338 * po/fr.po: Updated French translation.
1340 2002-07-24 Nick Clifton <nickc@redhat.com>
1342 * po/es.po: Updated Spanish translation.
1344 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1346 * Makefile.am: Run "make dep-am".
1347 * Makefile.in: Regenerate.
1349 2002-07-23 Nick Clifton <nickc@redhat.com>
1351 * po/fr.po: Updated French translation.
1353 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1355 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1357 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1359 * budemang.c: Include config.h and string.h/strings.h.
1361 2002-07-18 Denis Chertykov <denisc@overta.ru>
1362 Frank Ch. Eigler <fche@redhat.com>
1364 * readelf.c: Include "elf/ip2k.h".
1365 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1366 (dump_relocations): Likewise.
1367 (get_machine_name): Likewise.
1368 * NEWS: Mention IP2K support.
1370 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1372 * NEWS: Add 'Changes in 2.13'.
1374 2002-07-10 Jakub Jelinek <jakub@redhat.com>
1376 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1377 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1378 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1379 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1380 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1381 (process_gnu_liblist): New.
1382 (process_file): Call it.
1384 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1386 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1387 * Makefile.in: Regenerate.
1389 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1391 * budemang.c: New file, "demangle" function.
1392 * budemang.h: New file.
1393 * addr2line.c (translate_addresses): Use "demangle".
1394 * nm.c (print_symname): Likewise.
1395 * objdump.c (objdump_print_symname): Likewise.
1396 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1397 here since that obfuscates.
1398 * rdcoff.c: Don't #include demangle.h.
1399 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1400 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1401 (HFILES): Add budemang.h. Sort.
1402 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1404 * Makefile.in: Regenerate.
1406 2002-07-01 Matt Thomas <matt@3am-software.com>
1408 * readelf.c: Include "elf/vax.h".
1409 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1410 (dump_relocations): Handle VAX relocations.
1411 (get_machine_flags): Handle VAX machine flags.
1413 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1415 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1417 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1419 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1421 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1423 * nm.c (print_symname): When demangling, strip leading dots from
1424 symbol names to avoid confusing the demangler.
1426 2002-06-25 H.J. Lu <hjl@gnu.org>
1428 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1429 * Makefile.in: Regenerated.
1431 2002-06-21 Igor Schein <igor@txc.com>
1433 * configure.in: Quote bu_cv_have_fopen64.
1434 * configure: Regenerate.
1436 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1438 * configure.in: Check for strcoll.
1439 * configure: Regenerate.
1440 * config.in: Regenerate.
1441 * nm.c (main): Set locale for LC_COLLATE category.
1442 (non_numeric_forward): Use strcoll if available.
1444 2002-06-20 Dave Brolley <brolley@redhat.com>
1446 * MAINTAINERS: Add self as fr30 and frv maintainer.
1448 2002-06-18 H.J. Lu (hjl@gnu.org)
1450 * nm.c: Include "elf/common.h".
1451 (extended_symbol_info): Add elfinfo, a pointer to
1453 (SYM_SIZE): Use elfinfo if it is not NULL.
1454 (get_symbol_type): New function.
1455 (display_archive): Set print_width for each archive member.
1456 (display_file): Likewise.
1457 (display_rel_file): Don't set print_width here.
1458 (print_object_filename_sysv): Handle print_width.
1459 (print_archive_member_sysv): Likewise.
1460 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1461 (print_symbol): Set the elfinfo field in extended_symbol_info
1463 (print_object_filename_sysv): Fix the output format.
1464 (print_symbol_info_sysv): Print type and section for ELF.
1466 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1468 * nm.c (print_size_symbols): Remove assignment, which makes
1469 the symbol's size equal to its value when --size-sort is
1472 2002-06-18 Dave Brolley <brolley@redhat.com>
1474 From Catherine Moore:
1475 * readelf.c (elf/frv.h): #include it.
1476 (guess_is_rela): Support EM_CYGNUS_FRV.
1477 (dump_relocations): Ditto.
1478 (get_machine_name): Ditto.
1479 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1481 2002-06-18 Jakub Jelinek <jakub@redhat.com>
1483 * readelf.c (get_file_header): Only read the first section header if
1484 e_shoff is non-zero.
1486 2002-06-15 H.J. Lu (hjl@gnu.org)
1488 * nm.c (print_size): New variable. Initialize to 0.
1489 (long_options): Add 'S'/"print-size".
1491 (print_symbol_info_bsd): Print size only if print_size is not
1494 * doc/binutils.texi: Document -S/--print-size.
1496 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1498 * nm.c (struct extended_symbol_info): New structure: Add the size
1499 of the symbols to the information provided by the symbol_info
1501 (print_symbols): Pass the symbol size to print_symbol.
1502 (print_size_symbols): Pass the symbol size to print_symbol.
1503 (print_symbol): Extra argument: The size of the symbol. Store
1504 this in the extended_symbol_info structure.
1505 (print_symbol_info): Change type of info parameter to
1506 extended_symbol_info. Display the size, if known.
1507 (print_symbol_info_posix): Likewise.
1508 (print_symbol_info_sysv): Likewise.
1510 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1512 * Makefile.am: Run "make dep-am".
1513 * Makefile.in: Regenerate.
1514 * doc/Makefile.in: Regnerate.
1516 * bucomm.c: Replace CONST with const.
1518 * objdump.c: Likewise.
1520 2002-06-07 H.J. Lu <hjl@gnu.org>
1522 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1523 (DW_CFA_GNU_negative_offset_extended): Likewise.
1524 (DW_CFA_GNU_window_save): Likewise.
1525 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1526 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1528 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
1530 * nm.c: When computing size of symbols for an ELF target use the
1531 internal size field.
1533 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1535 * testsuite/binutils-all/objcopy.exp: clear xfail for
1537 * testsuite/binutils-all/hppa/objdump.exp: Return if
1540 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1542 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1544 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1546 * objdump.c: Fix formatting.
1548 2002-05-29 Ben Elliston <bje@redhat.com>
1550 * MAINTAINERS: Add self as M68k maintainer.
1552 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1554 * readelf.c: Modified/Added DLX elf support.
1556 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1558 * arsup.c: Fix formatting.
1559 * debug.c (debug_record_label): Add missing colon to error
1561 * ieee.c (parse_ieee_ty): Fix spelling typo.
1562 * readelf.c (process_program_headers): Remove English assumption
1563 about making a plural word.
1564 (process_section_headers): Likewise.
1565 (process_relocs): Allow quotes to be translated.
1566 (process_unwind): Likewise,
1567 (process_mips_specific): Improve error message.
1568 (get_note_type): Fix spelling typo.
1570 * configure.in (ALL_LINGUAS): Add sv
1571 * po/sv.po: New file.
1573 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1575 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1576 (unw_print_grmask): Likewise.
1577 (unw_print_frmask): Likewise.
1579 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1581 * arsup.c: Remove ARGSUSED.
1582 * debug.c: Likewise.
1584 * nlmconv.c: Likewise.
1585 * prdbg.c: Likewise.
1586 * stabs.c: Likewise.
1587 * wrstabs.c: Likewise.
1589 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1591 * arlex.l: Use #include "" instead of <> for local header files.
1592 * coffdump.c: Likewise.
1593 * coffgrok.c: Likewise.
1594 * nlmconv.c: Likewise.
1595 * nlmheader.y: Likewise.
1596 * srconv.c: Likewise.
1597 * strings.c: Likewise.
1598 * sysdump.c: Likewise.
1599 * unwind-ia64.h: Likewise.
1600 * windres.h: Likewise.
1601 * winduni.h: Likewise.
1603 2002-05-24 Tom Rix <trix@redhat.com>
1605 * MAINTAINERS: Add self as the d10v maintainer.
1607 2002-05-24 TAMURA Kent <kent@netbsd.org>
1609 * configure.in: Builds dlltool for i386-netbsdpe.
1610 * configure: Regenerate.
1612 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1614 * size.c: Fix formatting.
1615 * srconv.c: Likewise.
1616 * stabs.c: Likewise.
1617 * sysdump.c: Likewise.
1618 * unwind-ia64.c: Likewise.
1619 * wrstabs.c: Likewise.
1621 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1623 * readelf.c (get_segment_type): Add PT_TLS.
1624 (get_elf_section_flags): Add SHF_TLS.
1625 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1626 (process_dynamic_segment): Use puts instead of printf.
1627 (get_symbol_type): Support STT_TLS.
1628 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1629 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1630 Add SEC_THREAD_LOCAL.
1632 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1634 * rdcoff.c: Fix formatting.
1635 * rddbg.c: Likewise.
1636 * readelf.c: Likewise.
1637 * rename.c: Likewise.
1638 * resbin.c: Likewise.
1639 * resrc.c: Likewise.
1640 * resres.c: Likewise.
1642 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1644 * filemode.c: Fix formatting.
1646 * is-ranlib.c: Likewise.
1647 * is-strip.c: Likewise.
1648 * maybe-ranlib.c: Likewise.
1649 * maybe-strip.c: Likewise.
1650 * nlmconv.c: Likewise.
1652 * not-ranlib.c: Likewise.
1653 * not-strip.c: Likewise.
1654 * objcopy.c: Likewise.
1655 * objdump.c: Likewise.
1657 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1659 * objdump.c (dump_headers): Fix output formatting for ELF32
1660 architectures in a BFD64 enabled toolchain.
1662 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1664 * debug.c: Fix formatting.
1665 * debug.h: Likewise.
1666 * dlltool.c: Likewise.
1667 * dllwrap.c: Likewise.
1668 * emul_aix.c: Likewise.
1669 * emul_vanilla.c: Likewise.
1671 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1673 * addr2line.c: Fix formatting.
1675 * arsup.c: Likewise.
1676 * arsup.h: Likewise.
1677 * binemul.c: Likewise.
1678 * binemul.h: Likewise.
1679 * bucomm.c: Likewise.
1680 * coffdump.c: Likewise.
1681 * coffgrok.c: Likewise.
1682 * coffgrok.h: Likewise.
1684 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1686 * MAINTAINERS: Add myself as the second AVR port maintainer.
1688 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1690 * MAINTAINERS: Update my email address.
1692 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1694 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1696 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1698 * configure.in: Replace `*pe' with `pe' throughout.
1699 * configure: Regenerate.
1701 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1703 * Makefile.am: Honour DESTDIR.
1704 * Makefile.in: Regenerate.
1706 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1708 * dlltool.c (process_def_file): Add missing prototype.
1709 (new_directive, assemble_file, main): Likewise.
1710 (process_def_file, new_directive): Make static.
1711 (inform): Rewrite using VA_FIXEDARG.
1712 * dllwrap.c (mybasename): Add missing prototype.
1713 (strhash, main): Likewise.
1714 (inform): Rewrite using VA_FIXEDARG.
1716 (cleanup_and_exit): Use old style function definition.
1717 (strhash): Likewise.
1718 * windres.c (define_resource): Use one memset to clear all of
1719 struct res_resource.
1721 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1722 call to rules that need no lookahead. Check for no lookahead.
1724 2002-05-06 Borut Razem <borut.razem@siol.net>
1726 * rclex.l (get_string): Correct "strings" list handling.
1727 * resrc.c (read_rc_file): Discard strings.
1729 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1731 * ar.c (replace_members): Remove unused var. Formatting fix.
1732 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1734 * MAINTAINERS: Sort port maintainers by CPU.
1736 2002-05-04 Bob Byrnes <byrnes@curl.com>
1738 * size.c (display_archive): Add last_arfile and code to close archives.
1740 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1742 * nm.c (print_symbol): Check returned filename from
1743 bfd_find_nearest_line is non-NULL.
1745 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1747 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1749 2002-04-24 Christian Groessler <chris@groessler.org>
1751 * MAINTAINERS: Changed my email address.
1753 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1755 * arparse.y: Fix syntax warning.
1757 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1759 * readelf.c (fetch_location_list): Remove unused function.
1761 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1762 and display a warning message, then exit the loop.
1764 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1766 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1768 * resrc.c (write_rc_dialog): If charset is non-default value
1769 display all of the DIALOGEX parameters.
1771 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1773 * rcparse.y: Allow two to five parameter in FONT statement of
1775 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1777 (res_to_bin_dialog): Likewise.
1778 * windres.h: Added misssing charset variable to dialog_ex
1781 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1783 * rcparse.y: Set MEMFLAG_PURE by default.
1785 2002-04-09 Bernd Herd <info@herdsoft.com>
1787 * rcparse.y: CLASS definitions in DIALOG resources
1789 Fix typo in BEDIT warning.
1790 Don't add default dialog style when explicit style specified.
1791 Add WS_CAPTION dialog style if CAPTION is specified.
1793 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1794 (handle_quotes) "\a" escape (used for right justified key
1795 definitions in menus) is encodes as binary 8.
1797 * resrc.c (write_rc_dialog): Print style even if it is 0.
1798 (write_rc_directory): Fix overlooked sublang shift bug.
1799 (bin_to_res_dialog): Don't print empty dialog caption.
1801 * resbin.c (bin_to_res_dialog): Use signature to identify
1804 * windres.c (main): Set default LANGUAGE to english/us.
1806 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1808 * resrc.c: print CLASS names in quotes
1810 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1812 * MAINTAINERS: Update my email address.
1814 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1816 * dep-in.sed: Cope with absolute paths.
1817 * Makefile.am (dep.sed): Subst TOPDIR.
1819 * Makefile.in: Regenerate.
1821 2002-03-27 Peter Targett <peter.targett@arc.com>
1823 * MAINTAINERS: Update my email address.
1825 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1827 * Makefile.am: Run "make dep-am".
1828 * Makefile.in: Regenerate.
1829 * doc/Makefile.in: Regenerate.
1830 * po/POTFILES.in: Regenerate.
1831 * aclocal.m4: Regenerate.
1832 * config.in: Regenerate.
1833 * configure: Regenerate.
1835 2002-03-20 Daniel Berlin <dan@dberlin.org>
1837 * readelf.c: Add support for displaying dwarf2 location lists.
1838 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1839 (parse_args): Use 'O' as shorthand for displaying location list
1841 (process_section_headers): Handle debug_loc as well.
1842 (load_debug_loc): New.
1843 (free_debug_loc): New.
1844 (fetch_location_list): New.
1845 (display_debug_loc): New.
1846 (display_debug_info): Call load_debug_loc and free_debug_loc.
1847 (debug_displays): We can display .debug_loc now, too.
1848 (usage): Update usage string.
1849 (read_and_display_attr_value): Note location lists, but don't
1850 display them inline.
1852 2002-03-18 Tom Rix <trix@redhat.com>
1854 * Makefile.am: Add binutils emulation support.
1855 * configure.in: Same.
1856 * configure.tgt: New file. Same.
1857 * ar.c (main): Use ar_emul_parse_arg.
1858 (usage): Use ar_emul_usage.
1859 (replace_members): Use ar_emul_replace, ar_emul_append.
1860 * binemul.c: New file. Define the binutils emulation
1861 layer. Define default methods.
1862 * binemul.h: New file. Binutils emulation layer header file.
1863 * emul_aix.c: New file. AIX binutils emulation.
1864 * emul_vanilla.c: New file. Default binutils emulation.
1865 * Makefile.in: Regenerate.
1868 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1870 * po/fr.po: Updated version.
1872 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1874 * po/fr.po: Updated version.
1876 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1878 * README: Update some version numbers.
1880 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1882 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1883 (Architecture Selection): Likewise.
1885 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1887 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1888 generating .exp file.
1890 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1892 * readelf.c (dump_relocations): Fix typo.
1894 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1896 * NEWS: Mark 2.12 branch.
1898 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1900 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1901 types for 64-bit MIPS. Narrow some fields for 80-char
1903 (dump_relocations): Change spelling from 'unrecognised'
1905 (decode_ARM_machine_flags): Likewise.
1906 (parse_args): Likewise.
1907 (read_and_display_attr_value): Likewise.
1908 (display_debug_section): Likewise.
1910 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1912 * NEWS: Mention support for MMIX.
1914 2002-02-13 Matt Fredette <fredette@netbsd.org>
1916 * readelf.c (get_machine_flags): Recognize EF_M68000.
1918 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1920 * MAINTAINERS: Added self as MN10300 co-maintainer.
1922 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1924 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1927 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1929 * MAINTAINERS: List myself as branch maintainer.
1931 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1933 * configure: Regenerate.
1934 * objcopy.c: Update copyright date.
1935 * doc/Makefile.in: Regenerate.
1937 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1939 * nlmconv.c: Back out localtime PARAMS change.
1941 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1943 * objcopy.c (MKDIR): Define.
1944 (copy_archive): Make name_list.name const. Use MKDIR.
1945 Handle duplicate files in archives by making more temp dirs.
1947 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1949 * coffdump.c: Include "getopt.h" after "bucomm.h"
1950 so that macros are defined correctly.
1951 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1952 prototype. Prototype main.
1953 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1955 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1957 * MAINTAINERS: Added self as SH co-maintainer.
1959 2002-02-05 Nick Clifton <nickc@redhat.com>
1961 * po/tr.po: Updated translation.
1963 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1965 * Makefile.am: Run "make dep-am"
1966 * Makefile.in: Regenerate.
1968 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1970 * nm.c (print_value): Mark abfd unused.
1972 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1974 * unwind-ia64.c (unw_decoder): Change second argument
1975 to unsigned int, to match function prototypes.
1977 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1979 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1980 __GNU_LIBRARY__ will be defined.
1983 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1985 * configure: Regenerated.
1987 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1989 * doc/Makefile.am (install): Depend on install-info.
1990 * doc/Makefile.in: Regenerate.
1992 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1994 * objcopy.c (strip_usage): Document -d as an alias
1997 * size.c (usage): Document [-t | --totals] options.
1998 (long_options): Add --totals option.
1999 (main): If the [-t | --totals] option is specified and
2000 the output format is Berkeley-style, print the total
2001 text, data, and bss sizes of all objects listed.
2002 (print_berkeley_format): If the [-t | --totals] option
2003 is specified, track the total text, data, and bss
2005 * doc/binutils.texi (size): Document [-t | --totals] options.
2006 (strip): Document -d as an alias for --strip-debug.
2007 * NEWS: Mention new feature of size.
2009 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
2011 * po/fr.po: Updated version.
2012 * po/es.po: Updated version.
2014 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
2016 * addr2line.c (usage): Update text to provide verbose
2017 description of the command line options.
2018 * ar.c (usage): Update text to provide verbose
2019 description of the command line options.
2020 (main): Accept -h and -H when running as ranlib.
2021 * coffdump.c (show_usage): Update text to provide verbose
2022 description of the command line options.
2023 * dlltool.c (main): Accept -H as an alias for --help.
2024 * nlmconv.c (show_usage): Update text to provide verbose
2025 description of the command line options.
2026 * nm.c (usage): Replace OPTIONS with option(s).
2027 (main): Accept -H as an alias for --help.
2028 * objcopy.c (strip_main): Accept -H as an alias for --help.
2029 * objdump.c (main): Accept -v as an alias for --verbose.
2030 * readelf.c (usage): Adjust format to match style used in
2032 * size.c (usage): Update text to provide verbose description
2033 of the command line options.
2034 (main): Accept -v, -h and -H as command line options.
2035 * srconv.c (show_usage): Update text to provide verbose
2036 description of the command line options.
2037 * strings.c (main): Accept -H and -v as command line options.
2038 (usage): Update text to provide verbose description of the
2039 command line options.
2040 * sysdump.c (show_usage): Update text to provide verbose
2041 description of the command line options.
2042 * windres.c (usage): Adjust format to match style used in
2045 * coffdump.c: Fix formatting.
2046 * nlmconv.c: Fix formatting.
2047 * srconv.c: Fix formatting.
2048 * sysdump.c: Fix formatting.
2050 2002-01-22 Alan Modra <amodra@bigpond.net.au>
2052 * Makefile.am: Run "make dep-am".
2053 * Makefile.in: Regenerate.
2055 2002-01-18 Andreas Jaeger <aj@suse.de>
2057 * version.c (print_version): Update year.
2059 2002-01-17 Alan Modra <amodra@bigpond.net.au>
2061 * readelf.c (get_machine_name): Handle EM_PPC64.
2062 (guess_is_rela): Here too.
2064 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2066 * po/binutils.pot: Regenerate.
2067 * po/fr.po: Regenerate.
2068 * po/tr.po: Regenerate.
2070 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
2072 * po/tr.po: Import new version.
2074 2002-01-16 Alan Modra <amodra@bigpond.net.au>
2076 * readelf.c (get_ppc64_dynamic_type): New.
2077 (get_dynamic_type): Call it.
2079 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
2081 * objcopy.c (copy_usage): Use "options" instead of "switches".
2082 (strip_usage): Use "options" instead of "switches".
2083 * doc/binutils.texi (dlltool): Refer to "options" instead of
2086 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
2088 * MAINTAINERS: Add self as co-maintainer for the ARM code.
2090 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2092 * po/es.po: Import from translation project.
2093 * configure.in (ALL_LINGUAS): Add es.
2094 * configure: Regenerate.
2096 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2098 * readelf.c (get_netbsd_elfcore_note_type): Use
2099 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2101 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2103 * readelf.c: Update copyright years.
2104 (get_note_type): Return a const char *.
2105 (get_netbsd_elfcore_note_type): New function.
2106 (process_note): Use get_netbsd_elfcore_note_type to get
2107 the note type string for NetBSD ELF core files.
2109 2002-01-06 Steve Ellcey <sje@cup.hp.com>
2111 * readelf.c (get_ia64_segment_type): Add support for macros.
2112 (get_segment_type): Add support for IA64 specific macros.
2114 2001-12-20 Julian v. Bock <julian@wongr.net>
2116 * readelf.c (print_symbol): New function: Print a formatted symbol
2117 name. If --wide is specified do not truncate it.
2118 (dump_relocations): Use print_symbol() to print symbol names.
2119 (process_symbol_table): Likewise.
2120 (process_syminfo): Likewise.
2121 (process_mips_specific): Likewise.
2122 (usage): Document new feature of --wide switch.
2123 * doc/binutils.texi (objdump): Document additional behaviour of
2126 2001-12-18 Michael Snyder <msnyder@redhat.com>
2128 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2129 (copy_object): Don't set the start address or flags of a core file.
2130 (copy_section): Don't relocate a core file. Don't copy contents
2131 if the input section has the contents flag set, but the output
2132 section does not (which happens with the fake 'note' pseudo-
2133 sections that BFD creates for corefiles).
2135 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2137 * readelf.c (get_machine_flags): Recognize header flags for ABI and
2138 ASE extensions. More robust code for ISA checking. Ignore empty fields
2139 in header flags for GNU extensions.
2141 2001-12-18 Alan Modra <amodra@bigpond.net.au>
2143 * objcopy.c (copy_archive): Set output bfd format outside the loop.
2145 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2147 * po/ja.po: Import from translation project.
2148 * configure.in (ALL_LINGUAS): Add ja.
2149 * configure: Regenerate.
2151 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2153 * addr2line.c (main): Protoype.
2154 * ar.c (main): Protoype.
2155 * nm.c (main): Protoype.
2156 * objcopy.c (main): Protoype.
2157 * objdump.c (main): Protoype.
2158 * size.c (main): Protoype.
2159 * strings.c (main): Protoype.
2161 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2163 * readelf.c (symtab_shndx_hdr): New global.
2164 (SECTION_HEADER_INDEX): Define.
2165 (SECTION_HEADER_NUM): Define.
2166 (SECTION_HEADER): Define.
2167 (GET_ELF_SYMBOLS): Pass two params rather than three.
2168 (get_32bit_elf_symbols): Take file and section args. Read and
2169 use SHT_SYMTAB_SHNDX.
2170 (get_64bit_elf_symbols): Likewise.
2171 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2172 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2173 Remember symtab_shdx_hdr.
2174 (process_program_headers): Scan from index 1 for segment map.
2175 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2177 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2178 (process_unwind): Likewise.
2179 (process_version_sections): Likewise.
2180 (process_symbol_table): Likewise.
2181 (display_debug_info): Likewise.
2182 (process_dynamic_segment): Fake up a symtab section for changed
2184 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2185 (process_program_headers): Kill signed/unsigned warning.
2186 (load_debug_str): Likewise.
2187 (display_debug_info): Likewise.
2189 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2191 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2193 2001-12-11 Alan Modra <amodra@bigpond.net.au>
2195 * readelf.c (process_file_header): Print extended e_shnum and
2196 e_shdtrndx values. Set elf_header values for same.
2197 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2198 (get_64bit_section_headers): Likewise.
2199 (process_section_headers): Update calls.
2200 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2202 2001-12-10 Jakub Jelinek <jakub@redhat.com>
2204 * objcopy.c (setup_section): Copy entsize.
2206 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2208 * readelf.c (guess_is_rela): Add support for stormy16.
2209 (dump_relocations): Likewise.
2210 (get_machine_name): Likewise.
2212 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2214 * dllwrap.c (main) Replace multiple strings describing a
2215 single error with a single, newline escaped sentence to permit
2216 better translation into foreign languages.
2218 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2221 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2223 * strings.c (get_char): Initialize value.
2225 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2227 * arlex.l: Silence compile warnings.
2228 * arsup.h: Likewise. Fix formatting.
2230 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2232 * strings.c: Include config.h before bfd.h.
2233 (file_off): New type.
2234 (file_open): Define.
2235 (print_strings): Use file_off instead of file_ptr. Print addresses
2236 which don't fit into long correctly.
2237 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2239 (strings_file): Use file_off instead of file_ptr. Use file_open.
2240 * configure.in: Check for getc_unlocked.
2241 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2243 * configure: Rebuilt.
2244 * config.h.in: Rebuilt.
2246 2001-11-29 H.J. Lu <hjl@gnu.org>
2248 * bucomm.c (make_tempname): Revert the changes made on
2249 2001-11-14 and 2001-11-12. They won't work with directories.
2251 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2253 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2254 CFLAGS_FOR_TARGET to runtest in environment.
2255 * Makefile.in: Rebuild.
2256 * doc/Makefile.in: Rebuild.
2258 2001-11-28 Mike Stump <mrs@wrs.com>
2260 * objcopy.c (setup_section): Preserve SEC_RELOC when
2261 --set-section-flags is used.
2263 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2265 * readelf.c (do_debug_str): New variable.
2266 (display_debug_str): New function: Display the contents of a
2268 (load_debug_str): New function: Load in the contents of a
2270 (free_debug_str): New function: Free the memory used by
2272 (fetch_indirect_string): Retrieve a string from the .debug_str
2275 (parse_args): Accept -ws.
2276 (process_section_headers): Allow the display of the .debug_str
2278 (read_and_display_attr_value): Use fetch_indirect_string. Show
2279 offset into .debug_str section.
2280 (display_debug_info): Use load_debug_str and free_debug_str.
2281 (debug_displays): Add .debug_str.
2282 * doc/binutils.texi: Document -ws.
2284 2001-11-19 Andreas Jaeger <aj@suse.de>
2286 * testsuite/binutils-all/objdump.exp: Add x86-64.
2288 2001-11-15 Andreas Schwab <schwab@suse.de>
2290 * readelf.c: Fix warnings without terminating newline.
2292 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2294 * doc/binutils.texi (objdump): Document ppc -M options.
2296 2001-11-14 Andreas Jaeger <aj@suse.de>
2298 * doc/binutils.texi (objdump): Fix description to use x86-64.
2300 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2302 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2303 not all systems provide mkstemp.
2305 2001-11-14 Alan Modra <amodra@bigpond.net.au>
2307 * doc/binutils.texi (objdump): Document x86 -M options.
2309 2001-11-13 Keith Walker <keith.walker@arm.com>
2311 * readelf.c (read_and_display_attr_value): New function to
2312 handle DW_FORM_indirect.
2313 (read_and_display_attr): Use it.
2315 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
2317 * readelf.c (display_debug_lines): Deal with unknown standard
2318 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2321 2001-11-13 Timothy Wall <twall@alum.mit.edu>
2323 * MAINTAINERS: Add self as tic54x maintainer. This target
2324 includes the IBM C54XDSP clone.
2326 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2328 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2330 2001-11-09 Jeffrey A Law (law@cygnus.com)
2332 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2333 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2334 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2335 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2336 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2337 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2338 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2340 * readelf.c (get_elf_class): Fix ISO portability glitch.
2341 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2343 2001-11-07 Jakub Jelinek <jakub@redhat.com>
2345 * readelf.c (debug_str, debug_str_size): New.
2346 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2348 (read_and_display_addr): Handle DW_FORM_strp.
2349 (display_debug_info): Read .debug_str section if present,
2350 so that DW_FORM_strp can be handled.
2351 Fix test for non-existant .debug_abbrev section.
2353 2001-11-05 Jakub Jelinek <jakub@redhat.com>
2355 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2357 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2359 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2361 * MAINTAINERS: Add self as s390/s390x maintainer.
2363 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
2365 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2367 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2369 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2370 * configure: Regernate.
2371 * po/fr.po: New file.
2372 * po/tr.po: New file.
2374 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2376 * MAINTAINERS: Add self as MMIX port maintainer.
2377 * readelf.c: Include elf/mmix.h.
2378 (guess_is_rela): MMIX is RELA.
2379 (dump_relocations): Handle MMIX relocations.
2380 * Makefile.am: Regenerate dependencies.
2381 * Makefile.in: Regenerate.
2383 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2385 * readelf.c (parse_args): Handle multiple options to the -w
2388 2001-10-12 Jakub Jelinek <jakub@redhat.com>
2390 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2391 LOPROC, LOOS and LOUSER.
2393 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
2395 * MAINTAINERS: Update my email address.
2397 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2399 * doc/Makefile.in: Regenerate.
2400 * configure: Regenerate.
2402 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2404 * readelf.c (display_debug_line, display_debug_pubnames,
2405 display_debug_info, display_debug_frames): Detect and warn
2406 about 64-bit format entries.
2407 (display_debug_aranges): Reword 64-bit warning.
2408 (debug_displays): Add .debug_pubtypes as a known, but not yet
2409 supported, debug section.
2411 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2413 * coffdump.c (PROGRAM_VERSION): Delete.
2414 (main <'V'>): Call print_version.
2415 * srconv.c: Likewise.
2416 * sysdump.c: Likewise.
2417 * version.c (program_version): Remove.
2418 (print_version): Use BFD_VERSION_STRING. Just print the current
2419 year in copyright message.
2420 * addr2line.c (program_version): Remove unused declaration.
2421 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2422 place of BFD_VERSION.
2423 * Makefile.am (Makefile): Depend on bfd/configure.in.
2424 (cplus-dem.o): Depend on Makefile.
2426 * Makefile.in: Regenerate.
2428 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2430 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2431 format .debug_arange sections.
2432 (main): Add missing prototype.
2434 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2436 * Makefile.am: Update dependencies with "make dep-am".
2437 * Makefile.in: Regenerate.
2439 2001-09-28 Richard Henderson <rth@redhat.com>
2441 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2443 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2445 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2447 (non_fatal): Likewise.
2448 * objdump.c (objdump_sprintf): Likewise.
2449 * readelf.c (error): Likewise.
2452 2001-09-25 Jakub Jelinek <jakub@redhat.com>
2454 * readelf.c (do_wide): New.
2455 (options): Add --wide.
2456 (usage, parse_args): Likewise.
2457 (process_program_headers): Put each segment on a single line if
2459 (process_section_headers): Put each section on a single line if
2461 * doc/binutils.texi: Document it.
2464 2001-09-25 Alan Modra <amodra@bigpond.net.au>
2466 * readelf.c (print_vma): Print 8 digits of low hex value.
2468 2001-09-24 Andreas Jaeger <aj@suse.de>
2470 * nlmconv.c: Fix warnings about unused attributes and function
2473 * strings.c: Add prototype for get_char.
2475 2000-09-19 H.J. Lu <hjl@gnu.org>
2477 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2478 $(srcdir)/cxxfilt.man.
2479 * doc/Makefile.in: Rebuild.
2481 2001-09-19 Alan Modra <amodra@bigpond.net.au>
2483 * objcopy.c (copy_main): Correct rename-section string parsing.
2484 Consolidate new_name parsing, and error messages.
2486 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2488 * addr2line.c: Don't include <ctype.h>.
2489 (main): For gettext, also set the LC_CTYPE locate facet.
2490 * ar.c (main): Likewise.
2491 * coffdump.c (main): Likewise.
2492 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2493 (main): For gettext, also set the LC_CTYPE locate facet.
2494 Use ISALNUM instead of isalpha/isdigit.
2495 * dllwrap.c: Don't include <ctype.h>.
2496 (main): For gettext, also set the LC_CTYPE locate facet.
2497 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2498 (main): For gettext, also set the LC_CTYPE locate facet.
2499 Use TOUPPER instead of islower/toupper.
2500 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2501 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2502 Use TOUPPER instead of islower/toupper.
2503 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2504 * objcopy.c (main): Likewise.
2505 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2506 (disassemble_bytes): Use ISPRINT instead of isprint.
2507 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2508 (dump_data): Use ISPRINT instead of isprint.
2509 (main): For gettext, also set the LC_CTYPE locate facet.
2510 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2511 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2512 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2513 Use TOUPPER instead of islower/toupper.
2514 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2515 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2516 (write_rc_accelerators): Use ISPRINT instead of isprint.
2517 (write_rc_rcdata): Likewise.
2518 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2519 * srconv.c (main): Likewise.
2520 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2521 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2522 isdigit/isupper/islower.
2523 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2524 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2525 stab_demangle_prefix, stab_demangle_qualified,
2526 stab_demangle_template, stab_demangle_type,
2527 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2528 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2529 (isgraphic): Use ISPRINT instead of isascii/isprint.
2530 (main): Remove HAVE_LC_MESSAGES dependency.
2531 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2532 (pbarray): Use ISPRINT instead of isprint.
2533 (main): For gettext, also set the LC_CTYPE locate facet.
2534 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2535 (format_from_filename): Use ISPRINT instead of isprint.
2536 (main): For gettext, also set the LC_CTYPE locate facet.
2537 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2538 (unicode_print): Use ISPRINT instead of isprint.
2539 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2540 (stab_variable): Use ISDIGIT instead of isdigit.
2542 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2544 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2545 Replace bfd_read call with call to bfd_bread.
2546 (extract_file): Likewise.
2548 * objdump.c (dump_section_header): Cast section->filepos to
2549 unsigned long to suit printf format string.
2550 * readelf.c (process_section_headers): Similarly for sh_offset.
2551 (process_unwind): Likewise.
2553 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2555 * strings.c (encoding, encoding_bytes): New variables.
2556 (long_options): Add --encoding.
2557 (main): Accept -e and --encoding.
2558 (get_char): New function. Read a, possibly wide, character from
2560 (print_strings): Use get_char().
2561 (usage): Document new command line option.
2562 * doc/binutils.texi: Document new command line option.
2563 * NEWS: Announce new command line option.
2565 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2567 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2568 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2569 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2570 Removed EM_CYGNUS_ARC.
2572 2001-09-04 Jeffrey A Law (law@cygnus.com)
2574 * readelf.c: Include elf/h8 for H8 series definitions.
2575 (guess_is_rela): H8 series if RELA.
2576 (dump_relocations): Handle H8 series relocations.
2578 2001-08-31 Eric Christopher <echristo@redhat.com>
2580 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2582 2001-08-29 Peter Targett <peter.targett@arccores.com>
2584 * MAINTAINERS: Include ARC Maintainer.
2586 2001-08-29 Ben Elliston <bje@redhat.com>
2588 * stabs.c (stab_demangle_template): Initialise s4.
2590 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2592 * readelf.c (dump_relocations): Recognise EM_PPC64.
2594 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2596 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2598 2001-08-25 H.J. Lu <hjl@gnu.org>
2600 * nm.c (print_width): New.
2601 (display_rel_file): Set `print_width' according to
2603 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2605 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2607 * objcopy.c (use_alt_mach_code): New variable.
2608 (OPTION_ALT_MACH_CODE): Define.
2609 (copy_options): Added --alt-machine-code.
2610 (copy_main): Handle it.
2611 (copy_object): Switch to alternate machine code if requested.
2612 * doc/binutils.texi: Document new option.
2615 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2617 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2619 2001-08-21 H.J. Lu <hjl@gnu.org>
2621 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2622 (display_debug_info): Cast for 64bit hosts.
2623 (display_debug_frames): Likewise.
2624 (process_mips_specific): Likewise.
2626 2001-08-21 Andreas Jaeger <aj@suse.de>
2628 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2630 * sysdump.c: Add missing prototypes.
2631 * srconv.c: Likewise.
2632 * unwind-ia64.c: Likewise.
2633 * coffdump.c: Likewise.
2635 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2637 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2638 of declaring xcalloc.
2640 2001-08-10 H.J. Lu <hjl@gnu.org>
2642 * nm.c (print_value): Add one arg, bfd *.
2643 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2644 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2645 (print_symbol_info_sysv): Likewise.
2646 (print_symbol_info_posix): Likewise.
2648 * objdump.c (dump_section_header): Replace printf_vma with
2650 (print_section_stabs): Likewise.
2651 (dump_bfd_header): Likewise.
2652 (objdump_print_value): Replace sprintf_vma with
2654 (disassemble_bytes): Likewise.
2655 (dump_reloc_set): Likewise.
2657 2001-08-10 Andreas Jaeger <aj@suse.de>
2659 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2661 * configure: Regenerate.
2663 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2665 * readelf.c: Add missing prototypes.
2666 * objdump.c: Likewise. Format existing prototypes.
2668 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2670 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2671 of any RELA relocation for the abbrev_offset memory location that
2672 refers to the .debug_abbrev section symbol.
2674 2001-08-07 H.J. Lu <hjl@gnu.org>
2676 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2677 (main): Return process_file ().
2679 2001-08-05 Philip Blundell <philb@gnu.org>
2681 * doc/binutils.texi: Use "Thumb" not "THUMB".
2683 2001-08-03 John Healy <jhealy@redhat.com>
2685 Patch suggested by Frank Eigler <fche@redhat.com>.
2686 * objdump.c (disassemble_data): Fill in section member of the
2687 disasm_info structure.
2689 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2691 * configure.in: Added --with-windres option.
2692 * configure: Regenerated.
2694 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2696 * doc/binutils.texi: Use @command{name} for commands;
2697 use @option{-opt} for options; use @table @env for list of options;
2698 remove spaces arround [ | ] in synopsis.
2700 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2703 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2705 * objcopy.c: Fix formatting.
2706 (section_rename): New structure.
2707 (OPTION_RENAME_SECTION): New switch.
2708 (copy_usage): Document new switch.
2709 (add_section_rename): New function: Add a node to the section
2711 (find_section_rename): New function: Find the new name and
2712 flags for a section.
2713 (setup_section): Call find_section_name to determine the name
2714 of the output section.
2715 (copy_main): Handle OPTION_RENAME_SECTION.
2716 * binutils.texi: Document new switch.
2717 * NEWS: Mention new switch.
2719 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2721 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2722 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2723 bug-binutils@gcc.org.
2725 2001-07-28 Matthias Kramm <kramm@quiss.org>
2727 * bucomm.c (list_supported_architectures): New function.
2728 * bucomm.h (list_supported_architectures): Declare.
2729 * objdump.c (usage): Call the above.
2731 2001-07-25 Dave Brolley <brolley@redhat.com>
2733 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2734 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2736 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2738 * README: Update for 2.11. Change bug reporting email address.
2739 * MAINTAINERS: Tidy up. Change bug reporting email address.
2741 2001-07-16 DJ Delorie <dj@redhat.com>
2743 * resres.c (write_res_header): Align header size.
2744 (res_align_file): Calculate alignment correctly.
2746 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2748 * resrc.c (write_rc_resource): Likewise.
2749 * windres.h (SUBLANG_SHIFT): Define - as 10.
2751 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2753 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2755 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2757 * MAINTAINERS: Add notes about branch checkins.
2759 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2761 * readelf.c (display_debug_macinfo): New function, display
2762 .debug_macinfo section.
2763 (do_debug_macinfo): New variable.
2764 (parse_args): Handle "-w[mM]" to mean display macro info.
2765 (process_section_headers): Handle debug_macinfo.
2766 (debug_displays): Replace unsupported function with macinfo
2767 function for .debug_macinfo display.
2768 * doc/binutils.texi: Document new command line switch.
2769 * NEWS: Document new feature of readelf.
2771 2001-07-05 H.J. Lu <hjl@gnu.org>
2773 * objcopy.c (filter_symbols): Don't turn undefined symbols
2776 2001-07-03 H.J. Lu <hjl@gnu.org>
2778 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2781 (dlltool.1): Likewise.
2782 (nlmconv.1): Likewise.
2784 (objcopy.1): Likewise.
2785 (objdump.1): Likewise.
2786 (ranlib.1): Likewise.
2787 (readelf.1): Likewise.
2789 (strings.1): Likewise.
2790 (strip.1): Likewise.
2791 (windres.1): Likewise.
2792 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2793 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2796 * doc/Makefile.in: Regenerated.
2798 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2800 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2802 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2804 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2806 2001-06-29 James Cownie <jcownie@etnus.com>
2808 * readelf.c: Support DWARF 2.1 attributes.
2810 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2812 * readelf.c (GET_DATA_ALLOC): Remove.
2814 (get_data): New function combining above macros, with an extra
2816 (slurp_rela_relocs): Use get_data, and catch error return.
2817 (slurp_rel_relocs): Likewise.
2818 (get_32bit_program_headers): Likewise.
2819 (get_64bit_program_headers): Likewise.
2820 (get_32bit_section_headers): Likewise.
2821 (get_64bit_section_headers): Likewise.
2822 (get_32bit_elf_symbols): Likewise.
2823 (get_64bit_elf_symbols): Likewise.
2824 (process_section_headers): Likewise.
2825 (process_relocs): Likewise.
2826 (slurp_ia64_unwind_table): Likewise.
2827 (process_unwind): Likewise.
2828 (get_32bit_dynamic_segment): Likewise.
2829 (get_64bit_dynamic_segment): Likewise.
2830 (process_dynamic_segment): Likewise.
2831 (process_version_sections): Likewise.
2832 (process_symbol_table): Likewise.
2833 (dump_section): Likewise.
2834 (display_debug_info): Likewise.
2835 (display_debug_section): Likewise.
2836 (process_section_contents): Likewise.
2837 (process_corefile_note_segment): Likewise.
2838 (process_mips_specific): Likewise. Also free econf32, econf64.
2840 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2842 * readelf.c (dump_relocations): Print "bad symbol index" if
2843 symtab == NULL with non-zero symtab_index.
2844 (process_relocs): Don't bomb if reloc section has no symsec.
2846 2001-06-24 H.J. Lu <hjl@gnu.org>
2848 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2850 (copy_main): Apply the the change made to strip_main on
2851 2001-05-30 by accident.
2853 2001-06-23 Andreas Jaeger <aj@suse.de>
2855 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2857 (unw_decode_x2): Likewise.
2858 (unw_decode_x3): Likewise.
2859 (unw_decode_x4): Likewise.
2861 2001-06-23 Ben Elliston <bje@redhat.com>
2863 * MAINTAINERS: Add myself as M88k maintainer.
2865 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2867 * objcopy.c (strip_main): Support -o or --output-file command lien
2870 2001-06-19 H.J. Lu <hjl@gnu.org>
2872 * doc/Makefile.in: Regenerated.
2874 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2876 * readelf.c: Restore formatting.
2878 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2880 * Makefile.am: Move documentation into doc subdirectory.
2881 * Makefile.in: Regenerated.
2882 * binutils.texi: Move into doc subdirectory.
2883 * addr2line.1: Removed.
2885 * dlltool.1: Likewise.
2886 * nlmconv.1: Likewise.
2888 * objcopy.1: Likewise.
2889 * objdump.1: Likewise.
2890 * ranlib.1: Likewise.
2891 * readelf.1: Likewise.
2893 * strings.1: Likewise.
2894 * strip.1: Likewise.
2895 * windres.1: Likewise.
2896 * cxxfilt.man: Likewise.
2897 * doc: New Directory.
2898 * doc/Makefile.am: New file.
2899 * doc/Makefile.in: Generate.
2901 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2903 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2905 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2907 * MAINTAINERS: Update my email address.
2909 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2911 * objcopy.c: Add new switches: --keep-global-symbol,
2912 --keep-symbols, --localize-symbols, --keep-global-symbols and
2914 * binutils.texi: Document new switches.
2915 * objcopy.1: Regenerate.
2916 * NEWS: Announce new feature.
2918 2001-05-28 Andreas Jaeger <aj@suse.de>
2920 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2921 variables, fix format strings.
2923 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2925 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2926 when computing the address of the line to show.
2928 2001-05-16 Richard Henderson <rth@redhat.com>
2930 * readelf.c (do_debug_frames_interp): New.
2931 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2932 (byte_get_big_endian): Likewise.
2933 (parse_args) ['F']: Set do_debug_frames_interp.
2934 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2935 (frame_display_row): Don't trunc pc_begin to int.
2936 (size_of_encoded_value): New.
2937 (display_debug_frames): Handle 64-bit targets. Print raw data
2938 unless do_debug_frames_interp.
2939 (debug_displays): Remove duplicate .debug_frame.
2941 2001-05-15 Ralf Baechle <ralf@gnu.org>
2943 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2944 The former constant was never in active use and is used otherwise
2947 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2949 * readelf.c (process_unwind): Print all unwind sections, not just
2952 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2954 * readelf.c (process_unwind): Remove const specifier.
2956 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2958 * strings.c (isgraphic): Do not use isascii() unless it is needed
2959 for isprint() to work.
2960 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2962 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2964 * NEWS: Announce support for OpenRISC.
2966 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2968 * dlltool.c (do_default_excludes): Initialise to true.
2970 2001-04-10 Alan Modra <amodra@one.net.au>
2972 * MAINTAINERS: Update my email address
2973 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2975 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2977 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2979 2001-03-30 H.J. Lu <hjl@gnu.org>
2981 * readelf.c (process_unwind): Just return if do_unwind is 0.
2983 2001-03-28 Roger Sayle <roger@metaphorics.com>
2985 * dlltool.c (make_one_lib_file): Fix section flags for
2986 .text, .data and .bss in stub ds*.o files to match those
2989 2001-03-29 H.J. Lu <hjl@gnu.org>
2991 * readelf.c (process_unwind): Only do unwind sections for
2994 2001-03-28 H.J. Lu <hjl@gnu.org>
2996 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2997 * Makefile.in: Regenerate.
2999 2001-03-26 Andreas Jaeger <aj@suse.de>
3001 * binutils.texi (nm): Fix texi syntax.
3003 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3005 * binutils.texi: Put @c man begin and @c man end indications
3006 to generate man pages using texi2pod and pod2man. Put @c man title
3007 to identify each man. Add SEEALSO entries.
3008 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
3009 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
3011 (*.1): Build the man pages from binutils.texi.
3012 * Makefile.in: Regenerate.
3014 2001-03-13 Eric Kohl <ekohl@rz-online.de>
3016 * defparse.y (opt_equal_name): allow "." in name.
3017 * dlltool.c (def_exports): Added ability to generate forwarded exports.
3018 (gen_exp_file): Likewise.
3020 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
3022 * NEWS: Document addition of -B switch to objcopy.
3023 * binutils.texi: Document addition of -B switch to objcopy.
3024 * objcopy.c: (copy_options): Add --binary-architecture.
3025 (copy_usage): Document -B/--binary-architecture.
3026 (copy_main): Support -B/--binary-architecture. Set
3027 bfd_external_binary_architecture.
3029 2001-03-11 Andreas Jaeger <aj@suse.de>
3031 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
3032 (dump_relocations): Likewise.
3033 (get_machine_name): Likewise.
3035 2001-02-28 Nick Clifton <nickc@redhat.com>
3037 * readelf.c: (struct unw_aux_info): Remove const modifier for
3039 (process_unwind): Remove non-K&R compliant LHS type cast in call
3040 to GET_DATA_ALLOC macro.
3042 2001-02-28 Philip Blundell <pb@futuretv.com>
3044 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
3045 ABI is in use; remove ambiguity between the "unknown" EABI and
3046 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
3047 renamed EF_xx constants.
3049 2001-02-27 Alan Modra <alan@linuxcare.com.au>
3051 * configure.in (BFD_VERSION): New.
3052 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3053 * configure: Regenerate.
3054 * Makefile.am: Run "make dep-am"
3055 * Makefile.in: Regenerate.
3057 2001-02-14 Nick Clifton <nickc@redhat.com>
3059 * MAINTAINERS: Add "Obvious Fix" rule.
3061 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3063 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
3064 literal concatenation.
3066 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3068 * readelf.c (struct unw_aux_info): Remove const from the info member.
3069 (process_unwind): Don't type-cast the third argument to the
3070 GET_DATA_ALLOC macro.
3072 2001-02-11 Nick Clifton <nickc@redhat.com>
3074 * readelf.c (dump_relocations): Free corrected allocated
3076 (process_unwind): Fix compile time warning.
3078 2001-02-10 Nick Clifton <nickc@redhat.com>
3080 * binutils.texi: Document new --unwind option to readelf.
3082 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3084 * readelf.c: Add linux target for S/390.
3086 2001-02-10 Alan Modra <alan@linuxcare.com.au>
3088 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
3091 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
3093 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3094 * aclocal.m4: Regenerate.
3095 * configure: Regenerate.
3097 2001-02-07 Todd Vierling <tv@wasabisystems.com>
3099 * bucomm.c (bfd_target_vector): Change extern array to pointer.
3100 * objdump.c (bfd_target_vector): Likewise.
3102 2001-02-07 David Mosberger <davidm@hpl.hp.com>
3104 * readelf.c (process_unwind): New function.
3105 (slurp_ia64_unwind_table): Ditto.
3106 (dump_ia64_unwind): Ditto.
3107 (find_symbol_for_address): Ditto.
3108 (slurp_rela_relocs): New function (split off from dump_relocations()).
3109 (slurp_rel_relocs): Ditto.
3110 (parse_args): Handle '-u' option.
3112 * unwind-ia64.c: New file.
3113 * unwind-ia64.h: New file.
3114 * Makefile.am: Include unwind-ia64.c in readelf build.
3115 * Makefile.in: Regenerate.
3116 * po/binutils.pot: Regenerate.
3118 2001-02-04 Philip Blundell <philb@gnu.org>
3120 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3121 * configure: Regenerate.
3123 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
3125 * ieee.c (ieee_add_bb11): Don't check for backslashes
3126 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3128 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
3130 * ieee.c: Update copyright.
3131 (ieee_start_compilation_unit): Don't check for backslashes
3132 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3134 * stabs.c: Update copyright. Include "filenames.h".
3135 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3137 2001-01-23 Jakub Jelinek <jakub@redhat.com>
3139 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3140 sections are present before using them. Remove code duplication.
3141 (process_symbol_table): Check if VERDEF or VERNEED sections are
3142 present before using them.
3144 2001-01-17 Nick Clifton <nickc@redhat.com>
3146 * objcopy.c (copy_object): Fail if attempting to convert the
3147 endianness of the input object file.
3149 * binutils.texi: Explain that objcopy cannot convert endianness.
3151 2001-01-16 Nick Clifton <nickc@redhat.com>
3153 * readelf.c (string_table_length): New variable.
3154 (SECTION_NAME): Catch out of range indices and missing section
3156 (process_section_headers): Delete useless local variable
3157 string_table_offset. Set the value of string_table_length
3158 after loading the string table.
3159 (process_mips_specific): Use SECTION_NAME macro.
3160 (process_file): Set string_table_length to 0 when it is freed.
3162 2001-01-12 Nick Clifton <nickc@redhat.com>
3164 * version.c (print_version): Update copyright date.
3166 2001-01-11 Peter Targett <peter.targett@arccores.com>
3168 * readelf.c (dump_relocations): Include selection with EM_ARC.
3169 (get_machine_name) Update name to "ARC".
3171 2001-01-09 Nick Clifton <nickc@redhat.com>
3173 * Makefile.am: Add rule to build objdump.o from objdump.c and
3175 * Makefile.in: Regenerate.
3177 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3178 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3179 -DDISASSEMBLER_NEEDS_RELOCS.
3180 * configure: Regenerate.
3182 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3183 is defined read in the relocs even if dump_reloc_info is
3186 2001-01-07 Philip Blundell <philb@gnu.org>
3188 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3192 2000-12-19 Nick Clifton <nickc@redhat.com>
3194 * dlltool.c: Add missing support for arm-epoc-pe.
3195 * configure.in: Add missing support for arm-epoc-pe.
3196 * configure: Regenerate.
3198 2000-12-15 Nick Clifton <nickc@redhat.com>
3200 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3201 Mode parts of the x86 port.
3203 2000-12-04 Andreas Jaeger <aj@suse.de>
3205 * readelf.c (guess_is_rela): Add EM_X86_64.
3206 (dump_relocations): Add EM_X86_64.
3207 (get_machine_name): Add EM_X86_64.
3208 Include "elf/x86-64.h".
3210 2000-12-12 Nick Clifton <nickc@redhat.com>
3212 * readelf.c: Fix formatting.
3214 2000-12-11 Jan Hubicka <jh@suse.cz>
3216 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3218 2000-12-07 Andrew Haley <aph@redhat.com>
3220 * readelf.c (display_debug_frames): Only display columns that are
3221 referenced by the frame debug info.
3223 2000-12-05 Nick Clifton <nickc@redhat.com>
3225 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3227 2000-12-04 Jason Merrill <jason@redhat.com>
3229 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3230 (display_debug_section): Likewise.
3231 (display_debug_info): Display CU header before bailing.
3233 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3235 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3236 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3237 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3239 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3242 * readelf.c (get_machine_flags): Add case for
3245 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
3247 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3249 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3251 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
3252 Change sourceware.cygnus.com to sources.redhat.com.
3253 Fix typo for "amongst".
3255 2000-11-28 Nick Clifton <nickc@redhat.com>
3257 * strip.1 (COPYING): Mention that the GNU Free Documentation
3258 License is present in the sources, but not the output, and
3259 also available from the GNU website.
3260 (GNU Free Documentation License): Comment out this section.
3269 * addr2line.1: Ditto.
3271 2000-11-27 DJ Delorie <dj@redhat.com>
3273 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3274 (parse_args): Support -wf option.
3275 (process_section_headers): Ditto.
3276 (debug_displays): Ditto.
3277 (display_debug_frames): New, dump *_frame sections.
3278 (frame_need_space): Support for above.
3279 (frame_display_row): Ditto.
3280 * binutils.texi: Document it.
3282 2000-11-24 Nick Clifton <nickc@redhat.com>
3284 * NEWS: Announce support for v5t, v5te and XScale.
3286 2000-11-22 Nick Clifton <nickc@redhat.com>
3288 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3289 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3290 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3291 (get_elf_section_flags: Add SHF_GROUP.
3292 (process_section_headers): Adjust output for 32-bit binaries
3293 to look nice on an 80 column terminal.
3295 2000-11-20 H.J. Lu <hjl@gnu.org>
3297 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3300 2000-11-17 Richard Henderson <rth@redhat.com>
3302 * readelf.c (display_debug_lines): Adjust last change to
3303 use sizeof (external->li_length).
3305 2000-11-17 Richard Henderson <rth@redhat.com>
3307 * readelf.c (display_debug_lines): Fix section length check
3308 and end_of_sequence computation.
3310 2000-11-06 Nick Clifton <nickc@redhat.com>
3312 * binutils.texi: Add GNU Free Documentation License.
3313 * objcopy.1: Add GNU Free Documentation License.
3314 * objdump.1: Add GNU Free Documentation License.
3315 * addr2line.1: Add GNU Free Documentation License.
3316 * ar.1: Add GNU Free Documentation License.
3317 * nlmconv.1: Add GNU Free Documentation License.
3318 * nm.1: Add GNU Free Documentation License.
3319 * ranlib.1: Add GNU Free Documentation License.
3320 * size.1: Add GNU Free Documentation License.
3321 * strings.1: Add GNU Free Documentation License.
3322 * strip.1: Add GNU Free Documentation License.
3324 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
3326 * objcopy.c (--srec-len=nn): New parameter to set the
3327 maximum length of generated Srecords.
3328 (--srec-forceS3): New parameter that restricts the generation of
3329 Srecords to type S3 only.
3330 * binutils.texi: Document new command line switches.
3331 * objcopy.1: Docuemnt the new command line switches.
3332 * NEWS: Announce the existence of the new command line switches.
3334 2000-10-31 Nick Clifton <nickc@redhat.com>
3336 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3337 code. Add Eric Chrisopher as maintainer of MN10300 port.
3339 2000-10-12 Roger Sayle <roger@metaphorics.com>
3341 * Make comma after string after icon/control optional.
3343 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3345 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3347 * NEWS: Mention support for MIPS32.
3349 2000-09-08 Nick Clifton <nickc@redhat.com>
3351 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3353 2000-09-07 H.J. Lu <hjl@gnu.org>
3355 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3356 * configure: Rebuild.
3358 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3360 * configure: Rebuilt with new libtool.m4.
3362 2000-09-05 Nick Clifton <nickc@redhat.com>
3364 * aclocal.m4: Regenerate.
3365 * config.in: Regenerate.
3366 * configure: Regenerate.
3368 2000-09-04 Todd Vierling <tv@wasabisystems.com>
3370 * strip.1: Fix stray '\' in -o formatting.
3372 2000-09-02 Nick Clifton <nickc@redhat.com>
3374 * configure.in: Increase version number to 2.10.91.
3375 * configure: Regenerate.
3376 * aclocal.m4: Regenerate.
3377 * config.in: Regenerate.
3378 * po/binutils.pot: Regenerate.
3380 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3382 * acinclude.m4: Include libtool and gettext macros from the
3384 * aclocal.m4, configure: Rebuilt.
3386 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
3388 * resrc.c (close_input_stream): Delete extraneous logic
3390 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3392 * NEWS: Mention support for CRIS.
3394 2000-08-21 Nick Clifton <nickc@redhat.com>
3396 * addr2line.c: Changed email address for Ulrich Lauther.
3398 2000-08-17 Christopher C. Chimelis <chris@debian.org>
3400 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3402 2000-08-17 Nick Clifton <nickc@redhat.com>
3404 * readelf.c (display_debug_pubnames): Only issue warning
3405 message once. Terminate message with a new line.
3406 (display_debug_aranges): Only display version 2 debug info.
3408 2000-08-14 Todd Vierling <tv@wasabisystems.com>
3410 * objcopy.c (strip_main): Silently accept -d as an alias for -g
3411 for compatibility with old BSD systems.
3413 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3415 * NEWS: Mention i860 support.
3417 2000-08-11 Carlo Wood <carlo@alinoe.com>
3419 * addr2line.c (main): Add const to char *.
3421 2000-08-11 Geoff Keating <geoffk@cygnus.com>
3423 * ar.c (main): Don't crash if called with no arguments
3424 or only '-X32_64' as an argument.
3426 2000-08-08 DJ Delorie <dj@redhat.com>
3428 * resrc.c: use "gcc -xc" instead of -xc-header
3430 2000-08-05 Jason Eckhardt <jle@cygnus.com>
3432 * readelf.c (elf/i860.h): Include.
3433 (dump_relocations): Add recognition of i860 architecture.
3434 (guess_is_rela): Add recognition of i860 architecture.
3436 2000-08-03 Nick Clifton <nickc@cygnus.com>
3438 * MAINTAINERS: Add information about CGEN maintainers.
3440 2000-07-26 Geoff Keating <geoffk@cygnus.com>
3442 * nm.c (main): Ignore '-X32_64' as an option.
3443 * ar.c (main): Likewise.
3444 * binutils.texi (nm): Document new option.
3447 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3449 * rdcoff.c (external_coff_symbol_p): K&R-ise.
3451 2000-07-20 H.J. Lu <hjl@gnu.org>
3453 * binutils.texi: Put back "@end table" deleted by
3456 2000-07-05 Kenneth Block <krblock@computer.org>
3458 * nm.c: Add optional style to demangle switch.
3459 * objdump.c: Add optional style to demangle switch.
3460 * addr2line.c: Add optional style to demangle switch.
3461 * binutils.texi: Document optional style to demangle
3464 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3466 * MAINTAINERS: Add self as CRIS port maintainer.
3467 * readelf.c: Include elf/cris.h.
3468 (guess_is_rela): Handle EM_CRIS.
3469 (dump_relocations): Ditto.
3470 (get_machine_name): Ditto.
3471 * Makefile.am: Rebuild dependencies.
3472 * Makefile.in: Regenerate.
3473 * po/binutils.pot: Regenerate.
3475 2000-07-19 H.J. Lu <hjl@gnu.org>
3477 * readelf.c (get_dynamic_type): Change "AUXILARY" to
3479 (process_dynamic_segment): Print out strings for DT_CONFIG,
3480 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3482 2000-07-19 Mark Kettenis <kettenis@gnu.org>
3484 * nm.c (usage): Change output of `nm --help' to include a
3485 description of the purpose of the program and a detailed
3486 description of the accepted options.
3488 2000-07-19 H.J. Lu <hjl@gnu.org>
3490 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3493 2000-07-19 H.J. Lu <hjl@gnu.org>
3495 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3497 2000-07-19 H.J. Lu <hjl@gnu.org>
3499 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3501 (process_dynamic_segment): Likewise.
3503 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3504 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3505 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3506 DF_1_NODUMP and DF_1_CONLFAT.
3508 2000-07-18 Nick Clifton <nickc@cygnus.com>
3510 * binutils.texi (readelf): Fix spelling typo.
3512 2000-07-11 Mark Kettenis <kettenis@gnu.org>
3514 * objdump.c (usage): Make output of `objdump --help' more
3515 consistent with the rest of the GNU world. Add a line describing
3516 the purpose of the program.
3518 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
3520 * stabs.c (parse_stab_range_type): Cast to proper type to fix
3523 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3525 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3527 (process_symbol_table): Ditto.
3528 (procesS_extended_line_op): Ditto.
3529 (display_debug_lines): Ditto.
3530 (display_debug_pubnames): Ditto.
3531 (read_and_display_attr): Ditto.
3533 2000-07-09 Nick Clifton <nickc@cygnus.com>
3535 * MAINTAINERS: Add several more port specific maintainers.
3537 2000-07-05 Nick Clifton <nickc@cygnus.com>
3539 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3541 2000-06-05 DJ Delorie <dj@redhat.com>
3545 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3547 * dllwrap.c: Changed mistaken dyn_string_append() calls
3548 to dyn_string_append_cstr().
3550 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3552 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3553 struct debug_type stores size in bytes.
3555 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3557 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3558 (CLEANFILES): Add DEPA.
3559 * Makefile.in: Regenerate.
3561 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3563 * ar.c: Revert incorrect 2000-06-25 patch.
3564 * bucomm.c: Likewise.
3566 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3568 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3569 (external_coff_symbol_p): New function.
3570 (parse_coff): Use it.
3572 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3574 * ar.c (normalize): Advance past both characters in a DOS based
3575 <letter>: filepath prefix.
3577 * bucomm.c (make_tempname): Likewise.
3579 2000-06-24 Nick Clifton <nickc@cygnus.com>
3581 * objdump.c (usage): Fix description of --stabs switch.
3583 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3585 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3587 * Makefile.in: Regenerate.
3589 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3591 * ar.c (normalize): Correct pointer comparison when checking for
3594 * bucomm.c (make_tempname): Likewise.
3596 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3597 and search for backslashes in the original pathname.
3598 (ieee_add_bb11): Likewise.
3600 2000-06-18 Nick Clifton <nickc@redhat.com>
3602 * ar.c (print_contents): Improve verbose message.
3604 2000-06-15 H.J. Lu <hjl@gnu.org>
3606 * dyn-string.c: Removed. Not needed with dyn-string.c in
3608 * dyn-string.h: Likewise.
3610 * Makefile.am: Remove references to dyn-string.c and
3611 dyn-string.h. Rebuild dependency.
3612 * Makefile.in: Rebuild.
3614 2000-06-15 H.J. Lu <hjl@gnu.org>
3616 * binutils.texi: Put a warning on copying relocatable object
3617 files between two different formats.
3619 2000-06-13 DJ Delorie <dj@cygnus.com>
3621 * rcparse.y (control): ICON controls take an id as the first
3622 parameter, not an optional string. Also, call new convenience
3623 function that takes res_id's.
3624 * resrc.c (define_control): missing text means zero-length string,
3626 (define_icon_control): New.
3627 * windres.h: declare define_icon_control.
3629 2000-06-13 H.J. Lu <hjl@gnu.org>
3631 * configure: Regenerate.
3633 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3635 * configure.in (VERSION): Update to show this is the CVS mainline.
3637 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3639 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3640 analogous to <SPACE>.
3642 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3644 * objdump.c (display_target_list): Use bfd_close_all_done, not
3645 bfd_close to fix crash caused by 2000-05-24 change.
3647 2000-05-25 DJ Delorie <dj@cygnus.com>
3649 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3651 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3653 * Makefile.am: Update dependencies with "make dep-am"
3654 * Makefile.in: Regenerate.
3656 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3658 * ar.c: Include filenames.h.
3659 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3660 and drive letters in file names.
3661 (main): Support backslashes and drive letters in argv[0]. Drop
3662 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3663 FILENAME_CMP instead of strcmp to compare file names.
3664 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3666 (do_quick_append) [__GO32__]: Ditto.
3667 (get_pos_bfd, delete_members, move_members, replace_members):
3668 Compare file names with FILENAME_CMP.
3670 * bucomm.c: Include filenames.h.
3671 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3672 forward/backward slashes and drive letters in file names.
3674 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3675 mixed forward/backward slashes and drive letters in file names.
3677 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3678 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3681 * objcopy.c: Include filenames.h.
3682 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3683 before comparing to "strip".
3684 Use FILENAME_CMP to compare file names.
3686 * arsup.c: Include filenames.h.
3687 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3688 FILENAME_CMP to compare file names.
3689 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3690 the temporary file name.
3692 * configure.in: Check for setmode.
3693 * configure: Regenerate.
3695 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3697 * objdump.c (display_target_list): Close the bfd.
3698 (display_info_table): Likewise.
3700 2000-05-14 H.J. Lu (hjl@gnu.org)
3702 * objcopy.c (filter_symbols): Don't strip global symbols in
3703 relocatable object files.
3705 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3707 * size.c (usage): Associate short options with corresponding long
3708 option to give a clue as to their function.
3710 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3712 * size.c (main): Accept and ignore `-f' option.
3714 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3716 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3717 bindtextdomain): Replace defines with those from intl/libgettext.h
3718 to quieten gcc warnings.
3720 2000-05-12 H.J. Lu <hjl@gnu.org>
3722 * nlmconv.c (temp_filename): Removed.
3724 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3725 choose_temp_base ().
3726 * objdump.c (display_target_list): Likewise.
3727 (display_info_table): Likewise.
3729 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3731 * objcopy.c (setup_section): Add const and gettext calls for err.
3733 2000-05-02 H.J. Lu <hjl@gnu.org>
3735 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3736 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3737 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3738 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3739 and ELFOSABI_OPENBSD.
3741 2000-05-02 Kazu Hirata <kazu@hxi.com>
3743 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3744 * srconv.c: Likewise.
3745 * sysdump.c: Likewise.
3747 2000-04-23 Denis Chertykov <denisc@overta.ru>
3749 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3750 (get_machine_name): machine name for EM_AVR added.
3752 2000-04-21 Richard Henderson <rth@cygnus.com>
3753 David Mosberger <davidm@hpl.hp.com>
3755 * Makefile.am (readelf.o): Add elf/ia64.h.
3756 * Makefile.in: Rebuild.
3757 * readelf.c: Include elf/ia64.h.
3758 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3760 2000-04-17 Timothy Wall <twall@cygnus.com>
3762 * objdump.c (disassemble_data): Set octets per byte *after*
3763 resolving arch/mach for binary files.
3765 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3767 * arlex.l: Add directives to increase lex buffer size.
3769 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3770 already included by bucomm.h.
3772 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3774 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3775 `strftime' since strftime is not available on all systems.
3776 (process_mips_specific): Ditto.
3778 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3780 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3781 --enable-build-warnings option.
3782 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3783 * Makefile.in, configure: Re-generate.
3785 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3787 * addr2line.c: Update copyright.
3788 * objcopy.1: Likewise, and title.
3789 * strings.1: Likewise.
3791 * version.c (print_version): Add 2000.
3793 * rddbg.c (read_section_stabs_debugging_info): Don't use
3794 bfd_size_type for strx to avoid printf problems if BFD64.
3796 * bucomm.c: (report): Remove `static'.
3797 Move inclusion of stdarg.h/vararg.h from here.
3798 * bucomm.h: To here.
3799 (CONST): Change all occurences to const.
3800 (report): Declare it.
3801 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3802 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3803 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3805 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3806 Correct a typo in an error message.
3807 (do_quick_append): Use non_fatal instead of fprintf.
3808 (move_members): Use fatal instead of fprintf, exit.
3809 * coffdump.c (main): Same here.
3811 * dlltool.c (display): Delete.
3813 (inform): Use `report' instead of `display'.
3814 (rvaafter): Remove trailing \n from fatal error msg.
3816 (asm_prefix): Ditto.
3817 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3818 (def_name): Likewise.
3820 (scan_all_symbols): Likewise.
3821 (gen_lib_file): Likewise.
3822 (def_library): Likewise. Remove extra program_name too.
3823 (run): Remove \n from inform strings.
3824 (scan_drectve_symbols): Likewise.
3825 (add_excludes): Likewise.
3826 (scan_open_obj_file): Likewise.
3827 (gen_exp_file): Likewise.
3828 (gen_lib_file): Likewise.
3829 (process_duplicates): Likewise.
3831 * Makefile.am (dllwrap_SOURCES): Add version.c.
3832 * dllwrap.c (program_version): Delete.
3833 (print_version): Delete.
3834 (display): Always print trailing \n.
3836 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3839 (usage): gettext'ify.
3840 (long_options): Add missing initialisers.
3842 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3843 (select_output_format): Likewise.
3844 (powerpc_mangle_relocs): Likewise.
3845 (link_inputs): Likewise.
3847 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3848 (set_output_format): Likewise.
3849 (main): Use non_fatal instead of fprintf.
3850 (display_rel_file): Likewise.
3852 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3853 (slurp_dynamic_symtab): Same here.
3854 (disassemble_data): And here.
3855 (read_section_stabs): And here.
3856 (read_section_stabs): And here.
3857 (dump_bfd): And here.
3859 (objdump_sprintf): Use fatal instead of fprintf, exit.
3860 (disassemble_data): Same here.
3862 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3863 (parse_coff_struct_type): Same here.
3864 (parse_coff_enum_type): And here.
3865 (parse_coff): And here.
3866 * rddbg.c (read_debugging_info): And here.
3867 * size.c (main): And here.
3868 * windres.c (format_from_name): And here.
3869 * wrstabs.c (stab_write_symbol): Here too.
3870 (write_stabs_in_sections_debugging_info): And here.
3871 (stab_int_type): And here.
3872 (stab_struct_field): And here.
3873 (stab_typdef): And here.
3875 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3876 * srconv.c (main): Same here.
3877 * strings.c (main): And here.
3878 (integer_arg): And here.
3879 * sysdump.c (main): And here.
3881 2000-04-06 Timothy Wall <twall@cygnus.com>
3883 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3885 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3887 * readelf.c (decode_location_expression): Loop through multiple
3889 (read_and_display_attr): Pass in length.
3891 * readelf.c (read_and_display_attr): Add CU offset to references.
3892 (display_debug_info): Pass it in.
3894 2000-04-06 Nick Clifton <nickc@cygnus.com>
3896 * readelf.c (decode_ARM_machine_flags): New function.
3897 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3900 (get_machine_name): Catch EM_AVR
3902 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3904 * binutils.texi: Remove optional `=' from long options that have
3905 an `=' in the argument.
3906 * objcopy.1: Here too. Remove extra space on discard-all.
3908 * binutils.texi (objcopy): Mention --redefine-sym.
3909 * objcopy.1: Here too.
3912 * objcopy.c (parse_flags): Split off flag names from error message
3913 gettext as they are not translated.
3914 (copy_main): Similarly split off option name for --add-section,
3915 --set-section-flags, --change-section-vma, --change-section-lma
3917 Some white space changes.
3919 from Matthew Benjamin <matt@linuxbox.nu>
3920 * objcopy.c (struct redefine_node): New.
3921 (redefine_sym_list): New.
3922 (redefine_list_append): New.
3923 (lookup_sym_redefinition): New.
3924 (OPTION_REDEFINE_SYM): New.
3925 (copy_options): Add --redefine-sym option.
3926 (copy_usage): Mention it.
3927 (filter_symbols): Rename symbols on redefine_sym_list.
3928 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3929 (copy_main): Handle OPTION_REDEFINE_SYM.
3931 2000-04-04 H.J. Lu <hjl@gnu.org>
3933 * readelf.c (process_symbol_table): Correctly read in symbol
3934 versioning information.
3936 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3938 * po/binutils.pot: Regenerate.
3940 * addr2line.c (usage): Restore translated part of bug string.
3941 * ar.c (usage): Likewise.
3942 * nlmconv.c (show_usage): Likewise.
3943 * nm.c (usage): Likewise.
3944 * objcopy.c (copy_usage): Likewise.
3945 (strip_usage): Likewise.
3946 * objdump.c (usage): Likewise.
3947 * readelf.c (usage): Likewise.
3948 * size.c (usage): Likewise.
3949 * strings.c (usage): Likewise.
3950 * windres.c (usage): Likewise.
3952 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3953 (DEP): Quote when passing vars to sub-make. Add warning
3955 (DEP1): Rewrite for "gcc -MM".
3956 (CLEANFILES): Add DEP2.
3957 Update dependencies.
3958 * Makefile.in: Regenerate.
3960 2000-04-04 H.J. Lu <hjl@gnu.org>
3962 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3963 (arparse.h): Depend on arparse.c
3964 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3966 2000-04-03 H.J. Lu (hjl@gnu.org)
3968 * size.c (usage): Use REPORT_BUGS_TO.
3970 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3972 * bucomm.h: #include "bin-bugs.h"
3973 * addr2line.c (usage): Use REPORT_BUGS_TO.
3974 * ar.c (usage): Likewise.
3975 * nlmconv.c (show_usage): Likewise.
3976 * nm.c (usage): Likewise.
3977 (OPTION_TARGET): Define.
3978 (long_options): Use OPTION_TARGET rather than 200.
3981 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3982 (strip_usage): Likewise.
3983 * objdump.c (usage): Likewise.
3984 * readelf.c (usage): Likewise.
3985 * strings.c (usage): Likewise.
3986 * windres.c (usage): Likewise.
3988 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3990 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3992 2000-03-27 Nick Clifton <nickc@cygnus.com>
3994 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3995 string offsets in corrupt stabs entries.
3997 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3999 * readelf.c: Include elf/avr.h
4000 (dump_relocations): Add EM_AVR case.
4002 2000-03-09 Tim Waugh <twaugh@redhat.com>
4004 * strings.1: Correct '-bytes' to '--bytes'.
4006 2000-03-08 H.J. Lu <hjl@gnu.org>
4008 * Makefile.am (install-exec-local): Depend on
4009 install-binPROGRAMS for parallel make.
4010 * Makefile.in: Regenerated.
4012 2000-02-27 Ian Lance Taylor <ian@zembu.com>
4014 From Brad Lucier <lucier@math.purdue.edu>:
4015 * readelf.c (process_dynamic_segment): Add cast to make sure
4016 argument to %* is int.
4018 2000-02-25 H.J. Lu <hjl@gnu.org>
4020 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
4022 2000-02-24 Nick Clifton <nickc@cygnus.com>
4024 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
4025 * configure: Regenerate.
4027 * dlltool.c: Add support for sh-pe and mips-pe targets.
4028 * rescoff.c: Add support for sh-pe and mips-pe targets.
4030 2000-02-23 H.J. Lu <hjl@gnu.org>
4032 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
4034 2000-02-22 Nick Clifton <nickc@cygnus.com>
4036 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
4038 2000-02-22 Ian Lance Taylor <ian@zembu.com>
4040 From Brad Lucier <lucier@math.purdue.edu>:
4041 * readelf.c (process_version_sections): Add casts to make sure
4042 argument to %* is an int.
4043 (process_mips_specific): Add casts to make printf arguments match
4046 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4048 * objdump.c (dump_section_header): Change `opb' to unsigned.
4049 (find_symbol_for_address): Same here.
4050 (disassemble_data): And here. Change `addr_offset',
4051 `stop_offset', `nextstop_offset' to unsigned long.
4052 (dump_data): Change opb to unsigned.
4054 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
4056 * resrc.c: Remove unmatched #if for cygwin.
4058 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
4060 * binutils.texi: Document the change of flavor name from atpcs-special
4061 to special-atpcs to prevent name conflict in gdb.
4063 2000-02-08 Timothy Wall <twall@redhat.com>
4065 * objdump.c (show_line): Fix bug preventing printing of the very
4066 first line (line zero) of a file when interlisting source and
4067 assembly. Added option to print entire context from start of file
4068 when the first line from that file is encountered.
4070 2000-02-03 Timothy Wall <twall@redhat.com>
4072 * objdump.c (dump_section_header, find_symbol_for_address,
4073 show_line, disassemble_bytes, disassemble_data, dump_data):
4074 distinguish between octets and bytes.
4076 2000-01-27 Thomas de Lellis <tdel@windriver.com>
4078 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
4079 check to unresolved symbols.
4080 (print_symbol_info_sysv): Ditto.
4081 (print_symbol_info_posix): Ditto.
4083 * binutils.texi: Document new 'V' symclass flag for nm.
4085 2000-01-27 Nick Clifton <nickc@redhat.com>
4087 * binutils.texi (objdump): Document new ARM specific
4088 disassembler options.
4090 * objdump.c (usage): Call disassembler_usage().
4092 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4094 * readelf.c (get_dynamic_flags): Return buff.
4095 (process_dynamic_segment): Don't pass error strings to printf
4097 (read_and_display_attr): Use lx and ld to print longs.
4098 (process_corefile_note_segment): Cast bfd_vma to unsigned long
4102 2000-01-17 Nick Clifton <nickc@cygnus.com>
4104 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4106 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4108 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4110 (debug_tag_type): Here too.
4111 * ieee.c (ieee_builtin_type): And here.
4112 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4114 2000-01-13 Nick Clifton <nickc@cygnus.com>
4116 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4119 2000-01-11 Nick Clifton <nickc@cygnus.com>
4121 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4123 2000-01-10 Nick Clifton <nickc@cygnus.com>
4125 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4127 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
4129 * windres.c (long_options): Add --use-temp-file and
4130 --no-use-temp-file options.
4134 * windres.h: Update read_rc_file prototype.
4136 * resrc.c (cpp_temp_file): New static variable.
4137 (istream_type): New static variable.
4138 (close_pipe): Delete function.
4139 (run_cmd): New static function.
4140 (open_input_stream): New static function.
4141 (close_input_stream): New static function.
4142 (look_for_default): Handle DOS directory separator. Use
4143 open_input_stream instead of popen.
4144 (read_rc_file): Likewise.
4146 * binutils.texi: Document --use-temp-file, --no-use-temp-file
4149 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4151 * dlltool.c (create_compat_implib): New variable.
4152 (gen_exp_file): Use.
4153 (make_one_lib_file): Use.
4154 (long_options): Add --compat-implib option.
4158 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4159 (main): Use. Don't look for "32" in cygwin and mingw target names.
4161 2000-01-03 Nick Clifton <nickc@cygnus.com>
4163 * binutils.texi: Document new, ARM specific disassembler
4164 command line switch "-M force-thumb".
4166 For older changes see ChangeLog-9899
4172 version-control: never