1 2003-11-11 Wang Li <charles@linux.net.cn>
3 * objcopy.c (wildcard): New variable. True if wildcard pattern
4 matching is allowed in symbol names.
5 (strip_options): Add -w option to enable wildcard pattern
7 (copy_options): Likewise.
8 (copy_usage): Mention new switch.
9 (strip_usage): Likewise.
10 (is_specified_symbol): If performing wildcard matches use fnmatch
11 to compare symbol names with entries on the symbol list.
12 (strip_main): Accept -w switch.
13 (copy_main): Likewise.
14 * Makefile.am: Add dependency on fnmatch.h for objcopy.c
15 * Makefile.in: Regenerate.
16 * doc/binutils.texi: Document new switch.
17 * NEWS: Mention new switch.
19 2003-11-11 Alan Modra <amodra@bigpond.net.au>
21 * objdump.c: Revert rev 1.81 commit.
23 2003-11-10 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
25 * ar.c (print_contents): Remove "member" from verbose output in
26 order to conform to POSIX specification.
28 2003-11-10 Alan Modra <amodra@bigpond.net.au>
30 * README: Expand bug reporting information.
32 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
34 * bucomm,c (get_file_size): New function. Returns the size of a
36 * bucomm.h: Add prototype for get_file_size.
37 * addr2line.c (process_file): Use new function.
38 * ar.c (main, ranlib_only, ranlib_touch): Likewise.
39 * nm.c (display_file): Likewise.
40 * objcopy.c (add_specific_symbols, copy_file, strip_main,
42 * objdump.c (display_file): Likewise.
43 * size.c (display_file): Likewise.
44 * strings.c (strings_file): Likewise.
45 * readelf.c (process_file): Use similar code to get_file_size.
47 2003-11-06 Bruno Rohee <bruno@rohee.com>
49 * ieee.c: Fix "the the" typo.
52 2003-10-30 Marshall T. Vandegrift <llasram@wuli.nu>
54 * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
55 sections - they have no file space assigned to their contents.
57 2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
59 * readelf.c (dump_section): Don't display DEL characters.
61 2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
63 * ChangeLog: Fix typos.
64 * ChangeLog-9197: Likewise.
65 * ChangeLog-9899: Likewise.
67 * ar.c: Fix comment typos.
69 * coffgrok.c: Likewise.
72 * dlltool.c: Likewise.
75 * objdump.c: Likewise.
77 * readelf.c: Likewise.
79 * sysinfo.y: Likewise.
80 * windres.c: Likewise.
82 2003-10-27 Nick Clifton <nickc@redhat.com>
84 * objcopy.c (copy_section): Do not complain when a target does not
86 (mark_symbols_used_in_relocations): Likewise.
88 2003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
90 * objcopy.c (copy_main): Reads machine flags from arch_info
93 2003-10-20 Andrew Cagney <cagney@redhat.com>
95 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
98 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
100 * objdump.c (read_section_stabs): Just read one section, return
101 pointer to it. Add size parameter.
102 (print_section_stabs): Add string offset parameter. Adjust.
103 (struct stab_section_names): Add string offset member.
104 (find_stabs_sections): Correct check for split section suffix,
105 adjust read_section_stabs and print_section_stabs calls.
106 (dump_stabs_section): Clear string_offset, free string table.
108 2003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
110 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
111 'bit count' in icon groups.
113 2003-09-30 Chris Demetriou <cgd@broadcom.com>
115 * NEWS: Add an indication of the cutoff for 2.14.
117 2003-09-30 Chris Demetriou <cgd@broadcom.com>
119 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
121 2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
123 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
124 (get_symbol_index_type): Likewise.
126 2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
128 * readelf.c (process_version_sections): Indent version names.
130 2003-09-15 Anthony Green <green@redhat.com>
132 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
136 2003-09-14 Andreas Jaeger <aj@suse.de>
138 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
139 unneeded (void *) casts.
142 * arparse.y: Likewise.
144 * binemul.c: Likewise.
145 * binemul.h: Likewise.
146 * bucomm.c: Likewise.
147 * bucomm.h: Likewise.
149 * budemang.c: Likewise.
150 * budemang.h: Likewise.
151 * coffdump.c: Likewise.
152 * coffgrok.c: Likewise.
153 * cxxfilt.c: Likewise.
156 * deflex.l: Likewise.
157 * dlltool.c: Likewise.
158 * dlltool.h: Likewise.
159 * dllwrap.c: Likewise.
160 * emul_aix.c: Likewise.
161 * filemode.c: Likewise.
163 * nlmconv.c: Likewise.
164 * nlmconv.h: Likewise.
165 * nlmheader.y: Likewise.
169 * rcparse.y: Likewise.
170 * rdcoff.c: Likewise.
172 * rename.c: Likewise.
173 * resbin.c: Likewise.
174 * rescoff.c: Likewise.
177 * srconv.c: Likewise.
179 * strings.c: Likewise.
180 * sysdump.c: Likewise.
181 * sysinfo.y: Likewise.
182 * syslex.l: Likewise.
183 * unwind-ia64.c: Likewise.
184 * unwind-ia64.h: Likewise.
185 * version.c: Likewise.
186 * windres.c: Likewise.
187 * windres.h: Likewise.
188 * winduni.c: Likewise.
189 * wrstabs.c: Likewise.
191 2003-09-10 James E Wilson <wilson@specifixinc.com>
193 * MAINTAINERS: Update my e-mail address.
195 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
197 * MAINTAINERS: Update my e-mail address.
199 2003-09-04 Nick Clifton <nickc@redhat.com>
201 * MAINTAINERS: Make it clear what should be done with patches to
202 the top level configure files (other than config.guess and
203 config.sub). Add binutils@sources.redhat.com as an address to
204 which patches can be sent.
206 2003-09-04 Nick Clifton <nickc@redhat.com>
208 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
210 2003-09-03 Andrew Cagney <cagney@redhat.com>
212 * objdump.c: Refer to init_disassemble_info in comments.
213 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
214 init_disassemble_info.
216 2003-09-03 Nick Clifton <nickc@redhat.com>
218 * objdump.c (struct objdump_disasm_info): Add new fields
219 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
220 (process_section_p): New function: Returns TRUE if a section
222 (disassemble_section): New function: Contains the body of
223 disassemble_data(), but just for one section.
224 (disassemble_data): Use bfd_map_over_sections to walk section
226 (find_stabs_section): New function: Find a stabs containing
227 section and then dump it.
228 (dump_stabs_section): New function: Use bfd_map_over_sections
229 to find the section to dump.
230 (dump_stabs): Use dump_stabs_section.
231 (dump_section): New function: Display the contents of a
233 (dump_data): Use bfd_map_over_sections to display section
235 (dump_relocs_in_section): Display the relocs in a given section.
236 (dump_relocs): Use bfd_map_over_sections to display relocs.
237 (adjust_addresses): New function: Adjust the vma and lma of
239 (dump_bfd): Use bfd_map_over_sections.
240 * doc/binutils.texi: Document the "objdump -s" (no longer)
241 dumps empty sections.
243 2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
245 * objdump.c: Improve comments/documentation.
246 dump_data: Eliminate duplicate function calls to bfd_section_size.
248 2003-09-02 Alan Modra <amodra@bigpond.net.au>
250 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
252 2003-08-21 Nick Clifton <nickc@redhat.com>
254 * po/tr.po: Updated Turkish translation.
256 2003-08-14 Alan Modra <amodra@bigpond.net.au>
258 * dep-in.sed: Remove libintl.h.
259 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
261 * Makefile.in: Regenerate.
263 2003-08-11 Ian Lance Taylor <ian@airs.com>
265 * readelf.c (process_archive): Fix error handling. Remove memory
268 * readelf.c: Add ability to read archives.
269 (archive_file_offset): New variable.
270 (archive_file_size): New variable.
271 (get_data): Include archive_file_offset in file offset
272 calculation when fseeking.
273 (process_program_headers): Likewise.
274 (process_symbol_table): Likewise.
275 (process_dynamic_segment): Handle computation of end of file
276 position when the file is in an archive.
277 (process_object): New function. Contains the body of
279 (process_archive): New function. Call process_object on each
280 member of an archive.
281 (process_file): Detect archives and handle appropriately.
282 * Makefile.am: Add dependency on aout/ar.h for readelf.c
283 * Makefile.in: Regenerate.
284 * NEWS: Document readelf's new ability.
285 * doc/binutils: Alter text to say that readelf supports archives
286 and 64-bit ELF files.
288 2003-08-08 Nick Clifton <nickc@redhat.com>
290 * po/fr.po: Updated French translation.
292 2003-08-05 Alan Modra <amodra@bigpond.net.au>
294 * objcopy.c: Remove unnecessary prototypes and casts.
295 * objdump.c: Remove unnecessary casts.
296 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
297 (get_osabi_name): Move so we don't need a forward declaration.
299 2003-08-04 Bradley Harrington <bharring@us.ibm.com>
300 Alan Modra <amodra@bigpond.net.au>
302 * objdump.c (include_paths, include_path_count): New vars.
303 (usage): Describe --include.
304 (long_options): Add "include".
305 (add_include_path): New function.
306 (struct print_file_list): Make filename const. Add modname.
307 (try_print_file_open, update_source_path): New functions.
308 (show_line): Use them.
309 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
311 2003-07-30 Alan Modra <amodra@bigpond.net.au>
313 * objdump.c: Remove unnecessary prototypes.
314 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
315 code, and print relocs when dump_dynamic_reloc_info.
316 (disassemble_data): Read and handle dynamic relocs. Correct reloc
317 skip code. Formatting.
318 (dump_bfd): Don't dump dynamic relocs when disassembling.
320 2003-07-29 Ben Elliston <bje@wasabisystems.com>
322 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
323 maintenance defaults to the blanket write privilege maintainers.
325 2003-07-29 Michael Meissner <gnu@the-meissners.org>
327 * MAINTAINERS: Updated my email address.
329 2003-07-29 Nick Clifton <nickc@redhat.com>
331 * objdump.c: Update to ISO C.
333 2003-07-24 Nick Clifton <nickc@redhat.com>
335 * objdump.c (disassemble_data): Do not ignore sections without the
336 LOAD flag when disassemble_all is true. Only print a message
337 about disassembling a section if it contains some data.
339 * po/fr.po: Updated French translation.
341 2003-07-23 Nick Clifton <nickc@redhat.com>
343 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
344 left in. Some formatting tidy ups.
346 2003-07-22 Salvador Eduardo Tropea <set@computer.org>
348 * objdump.c: New command line option --debugging-tags.
349 * doc/binutils.texi: Document new command line option.
350 * prdbg.c: Code to print the debug info as tags compatible
352 * budbg.h: Adjust prototype.
353 * NEWS: Mention new switch
355 2003-07-18 Nick Clifton <nickc@redhat.com>
357 * objdump.c (main) :Accept multiple -M switch.
358 * doc/binutils.texi: Document that multiple -M switches are
359 accepted and that a single -M switch can contain comma
362 2003-07-17 Nick Clifton <nickc@redhat.com>
364 * objdump.c (main): Issue a warning message if multiple -M
367 * doc/binutils.texi (objdump): Update documentation about -M
370 2003-07-17 Nick Clifton <nickc@redhat.com>
372 * po/es.po: New Spanish translation.
374 2003-07-11 Alan Modra <amodra@bigpond.net.au>
376 * po/binutils.pot: Regenerate.
378 2003-07-05 Christopher Faylor <cgf@redhat.com>
380 * dlltool.c (prefix_encode): Use a fixed length for alpha.
382 2003-07-04 Christopher Faylor <cgf@redhat.com>
384 * dlltool.c (prefix_encode): New function. Encode temp file prefix
386 (dlltmp): Pass address of pointer being alloced or suffer neverending
388 (make_one_lib_file): Allocate enough space for new longer stub names.
389 (gen_lib_file): Ditto.
390 (main): Generate the temp file prefix from the pid if prefix was not
391 specified on the command line.
393 2003-07-04 Nick Clifton <nickc@redhat.com>
395 * readelf.c (get_data): Print (unsigned) hex values for size and
396 offset in error messages.
397 (process_section_headers): If the string table could not be
398 allocated, do not continue.
400 2003-07-01 Jakub Jelinek <jakub@redhat.com>
402 * readelf.c (dynamic_segment_ia64_val): Print address and newline
403 for sections by default. Comment fix.
405 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
407 * rcparse.y (res_text_field): New res_id variable.
408 (res_null_text): New static const struct res_id object,
409 with empty unicode name field.
410 (control): Pop parsing of optresidc up one level. Set
411 res_text_field to $2 except for controls which do not accept
412 a text field. Set res_text_field to res_null_text for the
413 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
414 (control_params): Adjust to use res_text_field rather
416 (COMBOBOX): Add comment about discrepency between documented
417 vs. observed default style.
418 * resrc.c (define_control): Make first param const.
419 * windres.h (define_control): Adjust prototype.
421 2003-06-27 Nick Clifton <nickc@redhat.com>
423 * objcopy.c (copy_object): Replace call to
424 bfd_create_gnu_debuglink_section with separate calls to
425 bfd_add_gnu_debuglink_section and
426 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
429 2003-06-26 Roland McGrath <roland@redhat.com>
431 * readelf.c (loadaddr): Variable removed.
432 (dynamic_info, version_info): Fix type long -> bfd_vma.
433 (program_headers): New variable.
434 (get_program_headers): New function, broken out of
435 process_program_headers.
436 (process_program_headers): Call it. Don't set `loadaddr'.
437 (slurp_ia64_unwind_table): Use get_program_headers.
438 (process_corefile_note_segments): Likewise.
439 (offset_from_vma): New function.
440 (process_relocs, process_dynamic_segment): Call that instead of
441 subtracting `loadaddr'.
442 (process_version_sections, process_symbol_table): Likewise.
443 (process_mips_specific): Likewise.
445 2003-06-26 Nick Clifton <nickc@redhat.com>
447 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
448 (OPTION_ONLY_KEEP_DEBUG): New.
449 (strip_options): Add --only-keep-debug.
450 (copy_options): Likewise.
451 (is_strip_section): Invert return value if STRIP_NONDEBUG is
453 (copy_object): Do not copy private data when STRIP_NONDEBUG is
455 (setup_section): Likewise.
456 (strip_main): Handle --only-keep-debug.
457 (copy_main): Likewise.
458 * NEWS: Mention new switch
459 * doc/binutils.texi: Document new switch.
461 2003-06-25 Alan Modra <amodra@bigpond.net.au>
463 * NEWS: Correct spelling of "relocatable".
464 * objdump.c: Likewise.
465 * sysroff.info: Likewise.
467 2003-06-19 Nick Clifton <nickc@redhat.com>
469 * readelf.c (print_vma): When printing DEC_5 values, if the
470 number is bigger than 99999 switch to using hexadecimal
473 2003-06-11 Nick Clifton <nickc@redhat.com>
475 * objcopy.c (gnu_debuglink_filename): New variable.
476 (OPTION_ADD_GNU_DEBUGLINK): New switch
477 (copy_options): Describe --add-gnu-debuglink switch.
478 Mention that --strip-debug removes sections as well.
479 (is_strip_section): Process the sections removed and kept
480 lists before checking for debugging sections.
481 (add_redefine_syms_file): Make function static.
482 (copy_object): Use is_strip_section.
483 Check to see if a .gnu_debuglink section should be added. If
484 so, call bfd_add_gnu_debuglink.
485 (setup_section): Use is_strip_section.
486 (copy_section): Use is_strip_section.
487 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
488 * NEWS: Mention new objcopy switch.
489 * doc/binutils.texi: Document new switch.
491 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
493 * po/Make-in (DESTDIR): New.
494 (install-data-yes): Support $(DESTDIR).
495 (uninstall): Likewise.
497 2003-06-11 Alan Modra <amodra@bigpond.net.au>
499 * Makefile.in: Regenerate.
501 2003-05-23 Jakub Jelinek <jakub@redhat.com>
503 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
505 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
507 * NEWS: Document the new BSD/POSIX single-character mapping for
508 .comment/.note sections.
510 2003-06-02 Chris Demetriou <cgd@broadcom.com>
511 Jason Thorpe <thorpej@wasabisystems.com>
513 * objcopy.c (redefine_list_append): Add an argument that
514 indicates the context from which this function is being
515 called. Change all callers.
516 (copy_options): Add a new option, --redefine-syms.
517 (copy_usage): Document new option.
518 (copy_main): Handle the --redefine-syms option.
519 * doc/binutils.text (objcopy): Document new option.
521 2003-05-31 Richard Henderson <rth@redhat.com>
523 * readelf.c (byte_get_signed): New.
524 (get_encoded_value): New.
525 (display_debug_frames): Use it. Always pre-process opcodes.
527 2003-05-20 Michal Ludvig <mludvig@suse.cz>
529 * readelf.c (display_debug_frames): Print both registers
532 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
534 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
536 * configure.in: Regenerate.
538 2003-05-13 Michael Eager <eager@mvista.com>
540 * objcopy.c: Treat identical src/dst file names as if only one
541 entered. One Windows creating an output file of the same name as
542 the input file will delete the input file before it is read.
544 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
546 * debug.c (debug_get_real_type): Extend test for circular debug
549 2003-05-12 Nick Clifton <nickc@redhat.com>
551 * configure.in (ALL_LINGUAS): Add zh_CN.
552 * configure: Regenerate.
553 * po/zh_CN.po: New file: Chinese (simplified) translation.
555 2003-05-11 Jason Eckhardt <jle@rice.edu>
557 * MAINTAINERS: Update my mail address.
559 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
561 * readelf.c (dump_relocations): Enlarge the type field in wide
562 mode by one character.
564 2003-05-03 Richard Henderson <rth@redhat.com>
566 * readelf.c (struct Frame_Chunk): Add cfa_exp.
567 (frame_display_row): Just print "exp" for cfa or register
568 defined by a location expression.
569 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
570 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
572 2003-04-30 H.J. Lu <hjl@gnu.org>
574 * objdump.c (only): Change it to char **.
577 (disassemble_data): Check only as an array.
578 (dump_data): Likewise.
579 (dump_relocs): Likewise.
580 (main): Treat only as an array.
582 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
584 * doc/binutils.texi: Fix the documentation for the -fo option.
586 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
588 * readelf.c (get_machine_name) <EM_SH>: Amend return value
591 * readelf.c (decode_location_expression): Don't add a trailing ';'.
593 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
594 Nick Clifton <nickc@redhat.com>
596 * windres.c (long_options): Move close to main, where it is used.
597 Add 'input' and 'output' long options.
598 (main): Accept "-fo" as an alias for "-o". This is for rc
600 * doc/binutils.texi: Mention that -fo is accepted as an alias for
601 -o, but discourage its use.
603 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
605 * windres.c (format_from_name): Make the exit on error
607 (main): Rename the -I option to -J. Introduce -I as a synonym
608 for --include-dir. For backwards compatibility also support the
609 old -I behaviour, but issue a deprecation warning.
610 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
613 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
615 * readelf.c: Replace references to Mitsubishi M32R with
616 references to Renesas M32R.
618 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
620 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
622 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
624 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
625 for debugging information types not supported by objdump.
627 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
629 * configure.in: Recognize canonical form of i[3-6]86-pe*.
630 * configure: Regenerate.
632 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
634 * readelf.c (display_debug_info): Apply RELA relocations on the
636 (byte_put_little_endian, byte_put_big_endian): New functions.
637 (byte_put): New variable.
638 (get_file_header): Initialize it.
640 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
642 * windres.c: Add -l for compatibility with wrc, and rc.
643 Use the short option as a key for long options that have
644 a synonymous short option.
645 * doc/binutils.texi: Added -l to the list of options.
647 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
649 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
650 (main): Just pass the -U option down to the preprocessor.
651 * doc/binutils.texi: Added -U to the list of options.
653 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
655 * windres.c (usage): Report -r option.
656 (main): Ignore the -r option.
657 * doc/binutils.texi: Add -r to the list of options.
659 2003-04-01 Bob Wilson <bob.wilson@acm.org>
661 * MAINTAINERS: Add myself as Xtensa maintainer.
663 2003-04-01 Bob Wilson <bob.wilson@acm.org>
665 * readelf.c: Include "elf/xtensa.h".
666 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
667 targets that use RELA relocations.
668 (dump_relocations): Call elf_xtensa_reloc_type for
669 EM_XTENSA and EM_XTENSA_OLD.
670 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
672 2003-04-01 Nick Clifton <nickc@redhat.com>
674 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
675 thumb-pe*, mcore-pe and mcore-*elf.
676 * configure: Regenerate.
678 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
680 * objdump.c (dump_data): Don't truncate the address to long; make
681 the width large enough, and uniform for all entries in a section.
683 2003-03-31 H.J. Lu <hjl@gnu.org>
685 * readelf.c: Include "libiberty.h".
686 (dynamic_relocations): New.
687 (process_relocs): Properly handle dynamic relocation.
688 (process_dynamic_segment): Fill relocation elements in
691 2003-03-31 Kevin Buettner <kevinb@redhat.com>
693 * readelf.c (read_and_display_attr, read_and_display_attr_value):
694 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
696 (display_debug_lines, display_debug_pubnames, display_debug_info)
697 (display_debug_aranges, display_debug_frames, read_and_display_attr)
698 (read_and_display_attr_value): Add 64-bit DWARF support.
700 2003-03-31 Ian Lance Taylor <ian@airs.com>
702 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
703 (optresid): Handle a resource id that can be a string or a number.
704 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
706 (define_icon_control): Pass a struct res_id to define_control.
707 * windres.h (define_control): Change prototype.
709 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
711 * objcopy (OPTION_FORMATS_INFO): Define.
712 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
713 (copy_options): Likewise.
714 (strip_usage): Add "--info" to usage.
715 (copy_usage): Likewise.
716 (strip_main): Declare formats_info. Iniatilize it to FALSE.
718 (copy_main). Likewise.
719 * doc/binutils.texi. Document the "--info" option for
721 * NEWS: Mention the new command line switch.
723 * objdump.c (endian_string): Move to bucomm.c.
724 (display_info): Likewise.
725 (display_target_list): Likewise.
726 (display_info_table): Likewise.
727 (display_target_tables): Likewise.
728 (main): Assign the return value of display_info to exit_status.
729 * bucomm.c: Include bfdver.h and libbfd.h
730 (display_target_list): Call bfd_nonfatal instead of nonfatal and
731 return 0 on a non-fatal error, 1 on success.
732 (display_info_table): Likewise.
733 * bucomm.h (display_info): Provide a prototype.
734 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
736 * Makefile.in: Regenerate.
738 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
740 * dlltool.c (gen_def_file): Put demangled name comments on
741 own line preceding export name.
743 2003-03-17 Nick Clifton <nickc@redhat.com>
745 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
746 printf for emitting new lines.
748 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
750 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
751 the symbol's value when --size-sort is used, unless -S is used.
752 doc/binutils.texi (--size-sort): For non-bsd formats both the
753 value and size of the symbols are displayed.
755 2003-03-13 Nick Clifton <nickc@redhat.com>
759 2003-03-12 Nick Clifton <nickc@redhat.com>
761 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
763 2003-03-10 Ben Elliston <bje@wasabisystems.com>
765 * MAINTAINERS: Update my mail address.
767 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
769 * stabs.c (BYTES_IN_WORD): Remove definition.
770 * wrstabs.c (BYTES_IN_WORD): Likewise.
772 2003-03-04 Nick Clifton <nickc@redhat.com>
774 * nm.c (main): Print a warning message if --size-sort and
775 --undefined-only are used together.
777 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
779 * nm.c (print_symbol): Remove check for undefined_only.
781 2003-03-03 Nick Clifton <nickc@redhat.com>
783 * po/da.po: Installed latest translation.
785 2003-02-24 Nick Clifton <nickc@redhat.com>
787 * README: Update binutils references to 2.13.
788 Add paragraph about using --disable-nls.
790 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
792 * doc/binutils.texi (nm --size-sort): Update.
794 2003-02-21 James E Wilson <wilson@tuliptree.org>
796 * MAINTAINERS: Update email address.
798 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
800 * readelf.c (get_ia64_dynamic_type): New function.
801 (dynamic_segment_ia64_val): New function.
802 (get_dynamic_type): If machine type is EM_IA_64 call
803 get_ia64_dynamic_val.
804 (get_ia64_section_type_name): Handle sections with types in the
805 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
806 (get_dynamic_flags): If machine type is EM_IA_64 call
807 dynamic_segment_ia64_val.
809 2003-02-21 Bob Wilson <bob.wilson@acm.org>
811 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
812 section title capitalization more consistent. Update descriptions
813 of various options to be consistent with the code. Fix errors and
814 incomplete list in the description of c++filt format options. Remove
815 information about the linker. Change to be more polite about poor
816 bug reports. Replace FDL appendix with include of fdl.texi.
817 * doc/fdl.texi: New file.
819 2003-02-21 Roger Sayle <roger@eyesopen.com>
821 * objcopy.c (filter_symbols): Fix compilation problems with
824 2003-02-19 Christopher Faylor <cgf@redhat.com>
826 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
829 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
831 * rclex.l (handle_quotes): Handle strings spanning more than one line.
833 2003-02-12 Bob Wilson <bob.wilson@acm.org>
835 * nm.c (usage): Add `java' and `gnat' demangle styles and make
837 * objdump.c (usage): Ditto. Also fix some typos.
839 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
841 * debug.c (debug_record_variable): Handle global register variables.
843 * stabs.c (parse_stab): For N_SLINE only include
844 function_start_offset if the symbol is within a function;
845 otherwise, the value is absolute.
847 2003-02-10 Nick Clifton <nickc@redhat.com>
849 * readelf.c (decode_ARM_machine_flags): Handle the
850 EF_ARM_MAVERICK_FLOAT flag.
852 2003-02-04 Andreas Schwab <schwab@suse.de>
854 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
855 long and use %ld in printf format.
857 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
859 * readelf.c (dump_relocations): Reorder the r_info field for
860 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
862 2003-01-21 Daniel Berlin <dan@dberlin.org>
864 * readelf.c (display_debug_loc): Skip address base changes.
866 2003-01-17 Fabio Alemagna <falemagn@aros.org>
868 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
871 2003-01-16 Alan Modra <amodra@bigpond.net.au>
873 * readelf.c: Include elf/ppc64.h.
874 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
875 * Makefile.am: Run "make dep-am".
876 * Makefile.in: Regenerate.
878 2003-01-02 Ben Elliston <bje@redhat.com>
880 * readelf.c (guess_is_rela): Handle EM_IQ2000.
881 (get_machine_name): Likewise.
882 (dump_relocations): Likewise.
883 * NEWS: Mention IQ2000 support.
885 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
887 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
889 2002-12-30 Chris Demetriou <cgd@broadcom.com>
891 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
892 changes in MIPS -M options.
894 2002-12-30 Dmitry Diky <diwil@mail.ru>
896 * Makefile.am: Add msp430 target.
897 * Makefile.in: Regenerate.
898 * readelf.c: Add support for msp430 target.
900 2002-12-27 Chris Demetriou <cgd@broadcom.com>
902 * doc/binutils.texi (objdump): Document MIPS -M options.
904 2002-12-23 Andreas Schwab <schwab@suse.de>
906 * readelf.c (main): Reset dump request after each file.
908 2002-12-23 Nick Clifton <nickc@redhat.com>
910 * nlmconv.c (main): Pass TRUE as third argument to
911 bfd_arch_get_compatible.
913 2002-12-23 Nick Clifton <nickc@redhat.com>
915 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
916 macro. Handle 'S' encoding, accepting 8-bit characters.
917 (main): Parse 'S' encoding.
918 (get_char): Accept 'S' encoding.
919 (print_strings): Use STRING_ISGRAPHIC.
920 (usage): Document support of 'S' encoding.
921 * doc/binutils.texi: Document support of 'S' encoding/
922 * NEWS: Mention new feature.
924 2002-12-20 Alan Modra <amodra@bigpond.net.au>
926 * README <building ar>: Don't use libibery's needed_list or
927 required_list, instead link libiberty/*.o.
929 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
931 * doc/binutils.texi: Fix typos.
933 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
935 * doc/binutils.texi: Add missing parenthesis.
937 2002-12-15 Nick Kelsey <nickk@ubicom.com>
939 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
940 symbols by adding the given prefix to the begining of the symbol
941 name. This is useful to provide name space separation regardless
942 of how the object file was created. Added --prefix-sections=
943 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
944 sections (or all sections with the alloc flag set) by adding the given
945 prefix to the begining of the symbol name.
946 * NEWS: Mention this new feature.
947 * doc/binutils.texi: Document this new feature.
949 2002-12-13 Alan Modra <amodra@bigpond.net.au>
951 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
952 dyn_string_append with dyn_string_append_cstr.
954 * emul_aix.c (ar_emul_aix_create): Remove unused function.
956 2002-12-10 James Cownie <jcownie@etnus.com>
958 * readelf.h (get_TAG_name, get_AT_name,
959 read_and_display_attr_value): Add support for UPC extensions to
961 * NEWS: Mention this new support.
963 2002-12-08 Alan Modra <amodra@bigpond.net.au>
965 * NEWS: Mention that bfd no longer declares a "boolean" type.
967 2002-12-07 Alan Modra <amodra@bigpond.net.au>
969 * readelf.c (process_program_headers): When setting loadaddr, don't
970 assume segment size is 4k. Use p_align instead.
971 (loadaddr): Change from int to long.
972 (dynamic_addr, dynamic_info, version_info): Likewise.
973 (process_dynamic_segment <syminsz>): Likewise.
974 (process_dynamic_segment): Adjust print format string.
975 (rela_addr, rela_size): Delete.
976 (process_relocs): Formatting.
978 2002-12-05 Jim Wilson <wilson@redhat.com>
980 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
981 * configure: Regenerate.
983 2002-12-04 Ian Lance Taylor <ian@airs.com>
985 * MAINTAINERS: Change e-mail address back to airs.com.
987 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
989 * MAINTAINERS: Add self.
991 2002-11-30 Alan Modra <amodra@bigpond.net.au>
993 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
994 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
995 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
996 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
997 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
998 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
999 with TRUE/FALSE. Formatting.
1001 2002-11-29 Jakub Jelinek <jakub@redhat.com>
1003 * readelf.c Replace occurrences of Elf32_Internal_* and
1004 Elf64_Internal_* with Elf_Internal_*.
1005 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1006 Zero r_addend fields.
1007 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1010 2002-11-23 Nick Clifton <nickc@redhat.com>
1012 * size.c (usage): Fix typo describing switch for hex format.
1014 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
1016 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1017 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1020 2002-11-14 Nick Clifton <nickc@redhat.com>
1022 * readelf.c (process_program_headers): Add comment about return
1023 value. Ensure that 0 is returned if the headers are not loaded.
1024 (process_file): If process_section_headers failed to load the
1025 headers disable any tests that rely upon them. Similarly for
1026 process_program_headers.
1028 2002-11-12 Nick Clifton <nickc@redhat.com>
1030 * po/da.po: Updated Danish translation.
1032 2002-11-12 Klee Dienes <kdienes@apple.com>
1034 * rddbg.c (read_section_stabs_debugging_info): Also recognize
1035 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1037 2002-11-11 Christopher Faylor <cgf@redhat.com>
1039 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
1042 2002-11-11 Christopher Faylor <cgf@redhat.com>
1044 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1046 2002-11-07 Nick Clifton <nickc@redhat.com>
1048 * configure.in (ALL_LINGUAS): Add 'da'.
1049 * configure: Regenerate.
1050 * po/da.po: New Danish translation.
1052 * readelf.c (get_symbol_index_type): Revert part of previous
1053 patch: Display unknown symbol types in decimal, not hex.
1055 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1057 * dlltool.c (add_excludes): Don't prefix excluded fastcall
1058 symbols with underscore.
1059 (xlate): Ignore add_underscore for decorated fastcall symbols.
1061 2002-11-07 Eric Kohl <ekohl@rz-online.de>
1063 * deflex.l: Accept '@' as first character of an ID.
1064 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1065 ASM_PREFIX for fastcall symbols.
1066 (scan_drectve_symbols): Handle fastcall symbols when generating
1067 undecorated aliases for symbols in drectve section.
1068 (scan_filtered_symbols): Likewise, with export-all.
1069 (xlate): Likewise, with --kill-at.
1070 (make_imp_label): New function to handle fastcall symbols
1072 (make_one_lib_file): Use make_imp_label instead of make_label
1075 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
1077 * MAINTAINERS: Add self as TIC4X maintainer.
1079 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
1081 * readelf.c (get_symbol_index_type): Add hex number to
1082 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1085 2002-11-04 Alan Modra <amodra@bigpond.net.au>
1087 * readelf.c (byte_get_little_endian): Comment typo fix.
1088 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1089 as the format string.
1090 (dump_relocations): Correct section sym names.
1091 (process_section_headers): Clear symtab_shndx_hdr.
1092 (read_and_display_attr_value): Don't pass indirect string to printf
1093 as the format string.
1094 (display_debug_frames): Indicate when zero terminator found. Decode
1095 DW_EH_PE_pcrel addresses.
1097 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1099 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1100 order to ensure proper disassembly of the valid 0-value opcode.
1101 * configure: Regenerate.
1102 * aclocal.m4: Regenerate.
1103 * config.in: Regenerate.
1104 * configure.in: Regenerate.
1105 * doc/Makefile.in: Regenerate.
1106 * po/binutils.pot: Regenerate.
1108 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1110 * MAINTAINERS: Add self as SH maintainer.
1112 2002-10-23 Ben Elliston <bje@redhat.com>
1114 * doc/binutils.texi (objdump): Document -z and move the entry for
1115 --disassemble-zeroes to the end of the options section (for `z').
1117 2002-10-21 Nick Clifton <nickc@redhat.com>
1119 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1121 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1123 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1125 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1127 * bucomm.c (list_supported_targets): Use bfd_target_list.
1129 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1130 other object errors in preference to bfd_core errors.
1132 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1134 * Makefile.am: Run "make dep-am".
1135 * objdump.c: #include "bfdver.h".
1136 * version.c: Likewise.
1137 * Makefile.in: Regenerate.
1138 * config.in: Regenerate.
1139 * configure: Regenerate.
1140 * po/POTFILES.in: Regenerate.
1142 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
1144 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1145 sections. Allow relocations against the absolute symbol. Don't
1146 use the value in compunit.cu_abbrev_offset if we found a RELA
1149 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1151 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1152 ordinary ones are available.
1154 2002-09-30 H.J. Lu <hjl@gnu.org>
1156 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1157 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1159 2002-09-17 Zack Weinberg <zack@codesourcery.com>
1161 * Makefile.am (CFILES): Add cxxfilt.c.
1162 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1163 (cxxfilt_LDADD): Delete.
1164 Remove all references to underscore.c.
1166 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1167 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1168 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1169 adjustments to fit into binutils framework.
1170 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1172 2002-09-12 Roland McGrath <roland@redhat.com>
1174 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1175 Handle DW_OP_GNU_push_tls_address.
1177 2002-09-11 Nick Clifton <nickc@redhat.com>
1179 * po/tr.po: Updated Turkish translation.
1181 2002-09-10 Nick Clifton <nickc@redhat.com>
1183 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1184 testsuite changes. Add paragraphs about testsuite and config
1187 2002-08-29 Nick Clifton <nickc@redhat.com>
1189 * readelf.c (get_machine_flags): Remove redundant reference to
1192 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1194 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1197 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1199 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1200 (dump_bfd_header): Likewise.
1202 2002-08-27 Alan Modra <amodra@bigpond.net.au>
1204 * nm.c: Revert last change.
1206 2002-08-26 Alan Modra <amodra@bigpond.net.au>
1208 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1209 * objdump.c (slurp_symtab): Likewise.
1210 (slurp_dynamic_symtab): Likewise.
1211 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1213 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
1215 * MAINTAINERS: Change my mailing address.
1217 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1219 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1221 2002-08-22 Nick Clifton <nickc@redhat.com>
1223 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1226 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1228 * readelf.c (parse_args): Change debug_dump_opt to static.
1230 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1232 * stabs.c (parse_stab_argtype): Pass length of physname to
1233 stab_demangle_argtypes.
1234 (stab_demangle_argtypes): Add new parameter - length of physname.
1235 Pass length of physname on to stab_demangle_prefix.
1236 (stab_demangle_prefix): Add new parameter - length of physname.
1237 Use length of physname (if supplied) to compute end of function
1240 2002-08-15 Alan Modra <amodra@bigpond.net.au>
1242 * readelf.c: Include elf/i370.h.
1243 (dump_relocations): Handle EM_S370.
1244 (dynamic_segment_parisc_val): Print \n.
1245 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1247 2002-08-14 Nick Clifton <nickc@redhat.com>
1249 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1250 * objdump.c (usage): Likewise.
1251 * doc/binutils.texi: Likewise.
1253 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1255 * rcparse.y (acc_entry): Don't warn about ALT use with
1258 2002-08-13 H.J. Lu <hjl@gnu.org>
1260 * objcopy.c (copy_object): Don't warn about the unsupported
1261 architecture unless the input target is defaulted or the
1262 output architecture is different from the input.
1264 2002-08-09 Nick Clifton <nickc@redhat.com>
1266 * po/sv.po: Updated Swedish translation.
1268 2002-08-05 Alan Modra <amodra@bigpond.net.au>
1270 * prdbg.c (pr_fix_visibility): Remove assert.
1272 2002-07-31 Nick Clifton <nickc@redhat.com>
1274 * addr2line.c (process_file): Rename parameter 'filename' to
1275 'file_name' in order to avoid shadowing global symbol of the
1279 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1281 * readelf.c (OPTION_DEBUG_DUMP): Define.
1283 (usage): Update help.
1284 (parse_args): Handle --debug-dump separately from -w.
1285 * doc/binutils.texi (readelf): Update documentation.
1287 2002-07-25 Nick Clifton <nickc@redhat.com>
1289 * po/es.po: Updated Spanish translation.
1290 * po/fr.po: Updated French translation.
1292 2002-07-24 Nick Clifton <nickc@redhat.com>
1294 * po/es.po: Updated Spanish translation.
1296 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1298 * Makefile.am: Run "make dep-am".
1299 * Makefile.in: Regenerate.
1301 2002-07-23 Nick Clifton <nickc@redhat.com>
1303 * po/fr.po: Updated French translation.
1305 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1307 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1309 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1311 * budemang.c: Include config.h and string.h/strings.h.
1313 2002-07-18 Denis Chertykov <denisc@overta.ru>
1314 Frank Ch. Eigler <fche@redhat.com>
1316 * readelf.c: Include "elf/ip2k.h".
1317 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1318 (dump_relocations): Likewise.
1319 (get_machine_name): Likewise.
1320 * NEWS: Mention IP2K support.
1322 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1324 * NEWS: Add 'Changes in 2.13'.
1326 2002-07-10 Jakub Jelinek <jakub@redhat.com>
1328 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1329 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1330 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1331 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1332 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1333 (process_gnu_liblist): New.
1334 (process_file): Call it.
1336 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1338 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1339 * Makefile.in: Regenerate.
1341 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1343 * budemang.c: New file, "demangle" function.
1344 * budemang.h: New file.
1345 * addr2line.c (translate_addresses): Use "demangle".
1346 * nm.c (print_symname): Likewise.
1347 * objdump.c (objdump_print_symname): Likewise.
1348 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1349 here since that obfuscates.
1350 * rdcoff.c: Don't #include demangle.h.
1351 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1352 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1353 (HFILES): Add budemang.h. Sort.
1354 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1356 * Makefile.in: Regenerate.
1358 2002-07-01 Matt Thomas <matt@3am-software.com>
1360 * readelf.c: Include "elf/vax.h".
1361 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1362 (dump_relocations): Handle VAX relocations.
1363 (get_machine_flags): Handle VAX machine flags.
1365 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1367 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1369 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1371 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1373 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1375 * nm.c (print_symname): When demangling, strip leading dots from
1376 symbol names to avoid confusing the demangler.
1378 2002-06-25 H.J. Lu <hjl@gnu.org>
1380 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1381 * Makefile.in: Regenerated.
1383 2002-06-21 Igor Schein <igor@txc.com>
1385 * configure.in: Quote bu_cv_have_fopen64.
1386 * configure: Regenerate.
1388 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1390 * configure.in: Check for strcoll.
1391 * configure: Regenerate.
1392 * config.in: Regenerate.
1393 * nm.c (main): Set locale for LC_COLLATE category.
1394 (non_numeric_forward): Use strcoll if available.
1396 2002-06-20 Dave Brolley <brolley@redhat.com>
1398 * MAINTAINERS: Add self as fr30 and frv maintainer.
1400 2002-06-18 H.J. Lu (hjl@gnu.org)
1402 * nm.c: Include "elf/common.h".
1403 (extended_symbol_info): Add elfinfo, a pointer to
1405 (SYM_SIZE): Use elfinfo if it is not NULL.
1406 (get_symbol_type): New function.
1407 (display_archive): Set print_width for each archive member.
1408 (display_file): Likewise.
1409 (display_rel_file): Don't set print_width here.
1410 (print_object_filename_sysv): Handle print_width.
1411 (print_archive_member_sysv): Likewise.
1412 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1413 (print_symbol): Set the elfinfo field in extended_symbol_info
1415 (print_object_filename_sysv): Fix the output format.
1416 (print_symbol_info_sysv): Print type and section for ELF.
1418 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1420 * nm.c (print_size_symbols): Remove assignment, which makes
1421 the symbol's size equal to its value when --size-sort is
1424 2002-06-18 Dave Brolley <brolley@redhat.com>
1426 From Catherine Moore:
1427 * readelf.c (elf/frv.h): #include it.
1428 (guess_is_rela): Support EM_CYGNUS_FRV.
1429 (dump_relocations): Ditto.
1430 (get_machine_name): Ditto.
1431 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1433 2002-06-18 Jakub Jelinek <jakub@redhat.com>
1435 * readelf.c (get_file_header): Only read the first section header if
1436 e_shoff is non-zero.
1438 2002-06-15 H.J. Lu (hjl@gnu.org)
1440 * nm.c (print_size): New variable. Initialize to 0.
1441 (long_options): Add 'S'/"print-size".
1443 (print_symbol_info_bsd): Print size only if print_size is not
1446 * doc/binutils.texi: Document -S/--print-size.
1448 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1450 * nm.c (struct extended_symbol_info): New structure: Add the size
1451 of the symbols to the information provided by the symbol_info
1453 (print_symbols): Pass the symbol size to print_symbol.
1454 (print_size_symbols): Pass the symbol size to print_symbol.
1455 (print_symbol): Extra argument: The size of the symbol. Store
1456 this in the extended_symbol_info structure.
1457 (print_symbol_info): Change type of info parameter to
1458 extended_symbol_info. Display the size, if known.
1459 (print_symbol_info_posix): Likewise.
1460 (print_symbol_info_sysv): Likewise.
1462 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1464 * Makefile.am: Run "make dep-am".
1465 * Makefile.in: Regenerate.
1466 * doc/Makefile.in: Regnerate.
1468 * bucomm.c: Replace CONST with const.
1470 * objdump.c: Likewise.
1472 2002-06-07 H.J. Lu <hjl@gnu.org>
1474 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1475 (DW_CFA_GNU_negative_offset_extended): Likewise.
1476 (DW_CFA_GNU_window_save): Likewise.
1477 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1478 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1480 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
1482 * nm.c: When computing size of symbols for an ELF target use the
1483 internal size field.
1485 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1487 * testsuite/binutils-all/objcopy.exp: clear xfail for
1489 * testsuite/binutils-all/hppa/objdump.exp: Return if
1492 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1494 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1496 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1498 * objdump.c: Fix formatting.
1500 2002-05-29 Ben Elliston <bje@redhat.com>
1502 * MAINTAINERS: Add self as M68k maintainer.
1504 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1506 * readelf.c: Modified/Added DLX elf support.
1508 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1510 * arsup.c: Fix formatting.
1511 * debug.c (debug_record_label): Add missing colon to error
1513 * ieee.c (parse_ieee_ty): Fix spelling typo.
1514 * readelf.c (process_program_headers): Remove English assumption
1515 about making a plural word.
1516 (process_section_headers): Likewise.
1517 (process_relocs): Allow quotes to be translated.
1518 (process_unwind): Likewise,
1519 (process_mips_specific): Improve error message.
1520 (get_note_type): Fix spelling typo.
1522 * configure.in (ALL_LINGUAS): Add sv
1523 * po/sv.po: New file.
1525 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1527 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1528 (unw_print_grmask): Likewise.
1529 (unw_print_frmask): Likewise.
1531 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1533 * arsup.c: Remove ARGSUSED.
1534 * debug.c: Likewise.
1536 * nlmconv.c: Likewise.
1537 * prdbg.c: Likewise.
1538 * stabs.c: Likewise.
1539 * wrstabs.c: Likewise.
1541 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1543 * arlex.l: Use #include "" instead of <> for local header files.
1544 * coffdump.c: Likewise.
1545 * coffgrok.c: Likewise.
1546 * nlmconv.c: Likewise.
1547 * nlmheader.y: Likewise.
1548 * srconv.c: Likewise.
1549 * strings.c: Likewise.
1550 * sysdump.c: Likewise.
1551 * unwind-ia64.h: Likewise.
1552 * windres.h: Likewise.
1553 * winduni.h: Likewise.
1555 2002-05-24 Tom Rix <trix@redhat.com>
1557 * MAINTAINERS: Add self as the d10v maintainer.
1559 2002-05-24 TAMURA Kent <kent@netbsd.org>
1561 * configure.in: Builds dlltool for i386-netbsdpe.
1562 * configure: Regenerate.
1564 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1566 * size.c: Fix formatting.
1567 * srconv.c: Likewise.
1568 * stabs.c: Likewise.
1569 * sysdump.c: Likewise.
1570 * unwind-ia64.c: Likewise.
1571 * wrstabs.c: Likewise.
1573 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1575 * readelf.c (get_segment_type): Add PT_TLS.
1576 (get_elf_section_flags): Add SHF_TLS.
1577 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1578 (process_dynamic_segment): Use puts instead of printf.
1579 (get_symbol_type): Support STT_TLS.
1580 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1581 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1582 Add SEC_THREAD_LOCAL.
1584 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1586 * rdcoff.c: Fix formatting.
1587 * rddbg.c: Likewise.
1588 * readelf.c: Likewise.
1589 * rename.c: Likewise.
1590 * resbin.c: Likewise.
1591 * resrc.c: Likewise.
1592 * resres.c: Likewise.
1594 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1596 * filemode.c: Fix formatting.
1598 * is-ranlib.c: Likewise.
1599 * is-strip.c: Likewise.
1600 * maybe-ranlib.c: Likewise.
1601 * maybe-strip.c: Likewise.
1602 * nlmconv.c: Likewise.
1604 * not-ranlib.c: Likewise.
1605 * not-strip.c: Likewise.
1606 * objcopy.c: Likewise.
1607 * objdump.c: Likewise.
1609 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1611 * objdump.c (dump_headers): Fix output formatting for ELF32
1612 architectures in a BFD64 enabled toolchain.
1614 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1616 * debug.c: Fix formatting.
1617 * debug.h: Likewise.
1618 * dlltool.c: Likewise.
1619 * dllwrap.c: Likewise.
1620 * emul_aix.c: Likewise.
1621 * emul_vanilla.c: Likewise.
1623 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1625 * addr2line.c: Fix formatting.
1627 * arsup.c: Likewise.
1628 * arsup.h: Likewise.
1629 * binemul.c: Likewise.
1630 * binemul.h: Likewise.
1631 * bucomm.c: Likewise.
1632 * coffdump.c: Likewise.
1633 * coffgrok.c: Likewise.
1634 * coffgrok.h: Likewise.
1636 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1638 * MAINTAINERS: Add myself as the second AVR port maintainer.
1640 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1642 * MAINTAINERS: Update my email address.
1644 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1646 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1648 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1650 * configure.in: Replace `*pe' with `pe' throughout.
1651 * configure: Regenerate.
1653 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1655 * Makefile.am: Honour DESTDIR.
1656 * Makefile.in: Regenerate.
1658 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1660 * dlltool.c (process_def_file): Add missing prototype.
1661 (new_directive, assemble_file, main): Likewise.
1662 (process_def_file, new_directive): Make static.
1663 (inform): Rewrite using VA_FIXEDARG.
1664 * dllwrap.c (mybasename): Add missing prototype.
1665 (strhash, main): Likewise.
1666 (inform): Rewrite using VA_FIXEDARG.
1668 (cleanup_and_exit): Use old style function definition.
1669 (strhash): Likewise.
1670 * windres.c (define_resource): Use one memset to clear all of
1671 struct res_resource.
1673 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1674 call to rules that need no lookahead. Check for no lookahead.
1676 2002-05-06 Borut Razem <borut.razem@siol.net>
1678 * rclex.l (get_string): Correct "strings" list handling.
1679 * resrc.c (read_rc_file): Discard strings.
1681 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1683 * ar.c (replace_members): Remove unused var. Formatting fix.
1684 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1686 * MAINTAINERS: Sort port maintainers by CPU.
1688 2002-05-04 Bob Byrnes <byrnes@curl.com>
1690 * size.c (display_archive): Add last_arfile and code to close archives.
1692 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1694 * nm.c (print_symbol): Check returned filename from
1695 bfd_find_nearest_line is non-NULL.
1697 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1699 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1701 2002-04-24 Christian Groessler <chris@groessler.org>
1703 * MAINTAINERS: Changed my email address.
1705 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1707 * arparse.y: Fix syntax warning.
1709 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1711 * readelf.c (fetch_location_list): Remove unused function.
1713 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1714 and display a warning message, then exit the loop.
1716 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1718 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1720 * resrc.c (write_rc_dialog): If charset is non-default value
1721 display all of the DIALOGEX parameters.
1723 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1725 * rcparse.y: Allow two to five parameter in FONT statement of
1727 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1729 (res_to_bin_dialog): Likewise.
1730 * windres.h: Added misssing charset variable to dialog_ex
1733 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1735 * rcparse.y: Set MEMFLAG_PURE by default.
1737 2002-04-09 Bernd Herd <info@herdsoft.com>
1739 * rcparse.y: CLASS definitions in DIALOG resources
1741 Fix typo in BEDIT warning.
1742 Don't add default dialog style when explicit style specified.
1743 Add WS_CAPTION dialog style if CAPTION is specified.
1745 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1746 (handle_quotes) "\a" escape (used for right justified key
1747 definitions in menus) is encodes as binary 8.
1749 * resrc.c (write_rc_dialog): Print style even if it is 0.
1750 (write_rc_directory): Fix overlooked sublang shift bug.
1751 (bin_to_res_dialog): Don't print empty dialog caption.
1753 * resbin.c (bin_to_res_dialog): Use signature to identify
1756 * windres.c (main): Set default LANGUAGE to english/us.
1758 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1760 * resrc.c: print CLASS names in quotes
1762 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1764 * MAINTAINERS: Update my email address.
1766 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1768 * dep-in.sed: Cope with absolute paths.
1769 * Makefile.am (dep.sed): Subst TOPDIR.
1771 * Makefile.in: Regenerate.
1773 2002-03-27 Peter Targett <peter.targett@arc.com>
1775 * MAINTAINERS: Update my email address.
1777 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1779 * Makefile.am: Run "make dep-am".
1780 * Makefile.in: Regenerate.
1781 * doc/Makefile.in: Regenerate.
1782 * po/POTFILES.in: Regenerate.
1783 * aclocal.m4: Regenerate.
1784 * config.in: Regenerate.
1785 * configure: Regenerate.
1787 2002-03-20 Daniel Berlin <dan@dberlin.org>
1789 * readelf.c: Add support for displaying dwarf2 location lists.
1790 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1791 (parse_args): Use 'O' as shorthand for displaying location list
1793 (process_section_headers): Handle debug_loc as well.
1794 (load_debug_loc): New.
1795 (free_debug_loc): New.
1796 (fetch_location_list): New.
1797 (display_debug_loc): New.
1798 (display_debug_info): Call load_debug_loc and free_debug_loc.
1799 (debug_displays): We can display .debug_loc now, too.
1800 (usage): Update usage string.
1801 (read_and_display_attr_value): Note location lists, but don't
1802 display them inline.
1804 2002-03-18 Tom Rix <trix@redhat.com>
1806 * Makefile.am: Add binutils emulation support.
1807 * configure.in: Same.
1808 * configure.tgt: New file. Same.
1809 * ar.c (main): Use ar_emul_parse_arg.
1810 (usage): Use ar_emul_usage.
1811 (replace_members): Use ar_emul_replace, ar_emul_append.
1812 * binemul.c: New file. Define the binutils emulation
1813 layer. Define default methods.
1814 * binemul.h: New file. Binutils emulation layer header file.
1815 * emul_aix.c: New file. AIX binutils emulation.
1816 * emul_vanilla.c: New file. Default binutils emulation.
1817 * Makefile.in: Regenerate.
1820 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1822 * po/fr.po: Updated version.
1824 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1826 * po/fr.po: Updated version.
1828 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1830 * README: Update some version numbers.
1832 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1834 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1835 (Architecture Selection): Likewise.
1837 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1839 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1840 generating .exp file.
1842 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1844 * readelf.c (dump_relocations): Fix typo.
1846 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1848 * NEWS: Mark 2.12 branch.
1850 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1852 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1853 types for 64-bit MIPS. Narrow some fields for 80-char
1855 (dump_relocations): Change spelling from 'unrecognised'
1857 (decode_ARM_machine_flags): Likewise.
1858 (parse_args): Likewise.
1859 (read_and_display_attr_value): Likewise.
1860 (display_debug_section): Likewise.
1862 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1864 * NEWS: Mention support for MMIX.
1866 2002-02-13 Matt Fredette <fredette@netbsd.org>
1868 * readelf.c (get_machine_flags): Recognize EF_M68000.
1870 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1872 * MAINTAINERS: Added self as MN10300 co-maintainer.
1874 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1876 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1879 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1881 * MAINTAINERS: List myself as branch maintainer.
1883 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1885 * configure: Regenerate.
1886 * objcopy.c: Update copyright date.
1887 * doc/Makefile.in: Regenerate.
1889 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1891 * nlmconv.c: Back out localtime PARAMS change.
1893 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1895 * objcopy.c (MKDIR): Define.
1896 (copy_archive): Make name_list.name const. Use MKDIR.
1897 Handle duplicate files in archives by making more temp dirs.
1899 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1901 * coffdump.c: Include "getopt.h" after "bucomm.h"
1902 so that macros are defined correctly.
1903 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1904 prototype. Prototype main.
1905 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1907 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1909 * MAINTAINERS: Added self as SH co-maintainer.
1911 2002-02-05 Nick Clifton <nickc@redhat.com>
1913 * po/tr.po: Updated translation.
1915 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1917 * Makefile.am: Run "make dep-am"
1918 * Makefile.in: Regenerate.
1920 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1922 * nm.c (print_value): Mark abfd unused.
1924 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1926 * unwind-ia64.c (unw_decoder): Change second argument
1927 to unsigned int, to match function prototypes.
1929 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1931 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1932 __GNU_LIBRARY__ will be defined.
1935 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1937 * configure: Regenerated.
1939 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1941 * doc/Makefile.am (install): Depend on install-info.
1942 * doc/Makefile.in: Regenerate.
1944 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1946 * objcopy.c (strip_usage): Document -d as an alias
1949 * size.c (usage): Document [-t | --totals] options.
1950 (long_options): Add --totals option.
1951 (main): If the [-t | --totals] option is specified and
1952 the output format is Berkeley-style, print the total
1953 text, data, and bss sizes of all objects listed.
1954 (print_berkeley_format): If the [-t | --totals] option
1955 is specified, track the total text, data, and bss
1957 * doc/binutils.texi (size): Document [-t | --totals] options.
1958 (strip): Document -d as an alias for --strip-debug.
1959 * NEWS: Mention new feature of size.
1961 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1963 * po/fr.po: Updated version.
1964 * po/es.po: Updated version.
1966 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1968 * addr2line.c (usage): Update text to provide verbose
1969 description of the command line options.
1970 * ar.c (usage): Update text to provide verbose
1971 description of the command line options.
1972 (main): Accept -h and -H when running as ranlib.
1973 * coffdump.c (show_usage): Update text to provide verbose
1974 description of the command line options.
1975 * dlltool.c (main): Accept -H as an alias for --help.
1976 * nlmconv.c (show_usage): Update text to provide verbose
1977 description of the command line options.
1978 * nm.c (usage): Replace OPTIONS with option(s).
1979 (main): Accept -H as an alias for --help.
1980 * objcopy.c (strip_main): Accept -H as an alias for --help.
1981 * objdump.c (main): Accept -v as an alias for --verbose.
1982 * readelf.c (usage): Adjust format to match style used in
1984 * size.c (usage): Update text to provide verbose description
1985 of the command line options.
1986 (main): Accept -v, -h and -H as command line options.
1987 * srconv.c (show_usage): Update text to provide verbose
1988 description of the command line options.
1989 * strings.c (main): Accept -H and -v as command line options.
1990 (usage): Update text to provide verbose description of the
1991 command line options.
1992 * sysdump.c (show_usage): Update text to provide verbose
1993 description of the command line options.
1994 * windres.c (usage): Adjust format to match style used in
1997 * coffdump.c: Fix formatting.
1998 * nlmconv.c: Fix formatting.
1999 * srconv.c: Fix formatting.
2000 * sysdump.c: Fix formatting.
2002 2002-01-22 Alan Modra <amodra@bigpond.net.au>
2004 * Makefile.am: Run "make dep-am".
2005 * Makefile.in: Regenerate.
2007 2002-01-18 Andreas Jaeger <aj@suse.de>
2009 * version.c (print_version): Update year.
2011 2002-01-17 Alan Modra <amodra@bigpond.net.au>
2013 * readelf.c (get_machine_name): Handle EM_PPC64.
2014 (guess_is_rela): Here too.
2016 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2018 * po/binutils.pot: Regenerate.
2019 * po/fr.po: Regenerate.
2020 * po/tr.po: Regenerate.
2022 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
2024 * po/tr.po: Import new version.
2026 2002-01-16 Alan Modra <amodra@bigpond.net.au>
2028 * readelf.c (get_ppc64_dynamic_type): New.
2029 (get_dynamic_type): Call it.
2031 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
2033 * objcopy.c (copy_usage): Use "options" instead of "switches".
2034 (strip_usage): Use "options" instead of "switches".
2035 * doc/binutils.texi (dlltool): Refer to "options" instead of
2038 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
2040 * MAINTAINERS: Add self as co-maintainer for the ARM code.
2042 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2044 * po/es.po: Import from translation project.
2045 * configure.in (ALL_LINGUAS): Add es.
2046 * configure: Regenerate.
2048 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2050 * readelf.c (get_netbsd_elfcore_note_type): Use
2051 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2053 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2055 * readelf.c: Update copyright years.
2056 (get_note_type): Return a const char *.
2057 (get_netbsd_elfcore_note_type): New function.
2058 (process_note): Use get_netbsd_elfcore_note_type to get
2059 the note type string for NetBSD ELF core files.
2061 2002-01-06 Steve Ellcey <sje@cup.hp.com>
2063 * readelf.c (get_ia64_segment_type): Add support for macros.
2064 (get_segment_type): Add support for IA64 specific macros.
2066 2001-12-20 Julian v. Bock <julian@wongr.net>
2068 * readelf.c (print_symbol): New function: Print a formatted symbol
2069 name. If --wide is specified do not truncate it.
2070 (dump_relocations): Use print_symbol() to print symbol names.
2071 (process_symbol_table): Likewise.
2072 (process_syminfo): Likewise.
2073 (process_mips_specific): Likewise.
2074 (usage): Document new feature of --wide switch.
2075 * doc/binutils.texi (objdump): Document additional behaviour of
2078 2001-12-18 Michael Snyder <msnyder@redhat.com>
2080 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2081 (copy_object): Don't set the start address or flags of a core file.
2082 (copy_section): Don't relocate a core file. Don't copy contents
2083 if the input section has the contents flag set, but the output
2084 section does not (which happens with the fake 'note' pseudo-
2085 sections that BFD creates for corefiles).
2087 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2089 * readelf.c (get_machine_flags): Recognize header flags for ABI and
2090 ASE extensions. More robust code for ISA checking. Ignore empty fields
2091 in header flags for GNU extensions.
2093 2001-12-18 Alan Modra <amodra@bigpond.net.au>
2095 * objcopy.c (copy_archive): Set output bfd format outside the loop.
2097 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2099 * po/ja.po: Import from translation project.
2100 * configure.in (ALL_LINGUAS): Add ja.
2101 * configure: Regenerate.
2103 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2105 * addr2line.c (main): Protoype.
2106 * ar.c (main): Protoype.
2107 * nm.c (main): Protoype.
2108 * objcopy.c (main): Protoype.
2109 * objdump.c (main): Protoype.
2110 * size.c (main): Protoype.
2111 * strings.c (main): Protoype.
2113 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2115 * readelf.c (symtab_shndx_hdr): New global.
2116 (SECTION_HEADER_INDEX): Define.
2117 (SECTION_HEADER_NUM): Define.
2118 (SECTION_HEADER): Define.
2119 (GET_ELF_SYMBOLS): Pass two params rather than three.
2120 (get_32bit_elf_symbols): Take file and section args. Read and
2121 use SHT_SYMTAB_SHNDX.
2122 (get_64bit_elf_symbols): Likewise.
2123 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2124 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2125 Remember symtab_shdx_hdr.
2126 (process_program_headers): Scan from index 1 for segment map.
2127 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2129 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2130 (process_unwind): Likewise.
2131 (process_version_sections): Likewise.
2132 (process_symbol_table): Likewise.
2133 (display_debug_info): Likewise.
2134 (process_dynamic_segment): Fake up a symtab section for changed
2136 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2137 (process_program_headers): Kill signed/unsigned warning.
2138 (load_debug_str): Likewise.
2139 (display_debug_info): Likewise.
2141 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2143 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2145 2001-12-11 Alan Modra <amodra@bigpond.net.au>
2147 * readelf.c (process_file_header): Print extended e_shnum and
2148 e_shdtrndx values. Set elf_header values for same.
2149 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2150 (get_64bit_section_headers): Likewise.
2151 (process_section_headers): Update calls.
2152 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2154 2001-12-10 Jakub Jelinek <jakub@redhat.com>
2156 * objcopy.c (setup_section): Copy entsize.
2158 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2160 * readelf.c (guess_is_rela): Add support for stormy16.
2161 (dump_relocations): Likewise.
2162 (get_machine_name): Likewise.
2164 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2166 * dllwrap.c (main) Replace multiple strings describing a
2167 single error with a single, newline escaped sentence to permit
2168 better translation into foreign languages.
2170 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2173 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2175 * strings.c (get_char): Initialize value.
2177 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2179 * arlex.l: Silence compile warnings.
2180 * arsup.h: Likewise. Fix formatting.
2182 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2184 * strings.c: Include config.h before bfd.h.
2185 (file_off): New type.
2186 (file_open): Define.
2187 (print_strings): Use file_off instead of file_ptr. Print addresses
2188 which don't fit into long correctly.
2189 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2191 (strings_file): Use file_off instead of file_ptr. Use file_open.
2192 * configure.in: Check for getc_unlocked.
2193 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2195 * configure: Rebuilt.
2196 * config.h.in: Rebuilt.
2198 2001-11-29 H.J. Lu <hjl@gnu.org>
2200 * bucomm.c (make_tempname): Revert the changes made on
2201 2001-11-14 and 2001-11-12. They won't work with directories.
2203 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2205 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2206 CFLAGS_FOR_TARGET to runtest in environment.
2207 * Makefile.in: Rebuild.
2208 * doc/Makefile.in: Rebuild.
2210 2001-11-28 Mike Stump <mrs@wrs.com>
2212 * objcopy.c (setup_section): Preserve SEC_RELOC when
2213 --set-section-flags is used.
2215 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2217 * readelf.c (do_debug_str): New variable.
2218 (display_debug_str): New function: Display the contents of a
2220 (load_debug_str): New function: Load in the contents of a
2222 (free_debug_str): New function: Free the memory used by
2224 (fetch_indirect_string): Retrieve a string from the .debug_str
2227 (parse_args): Accept -ws.
2228 (process_section_headers): Allow the display of the .debug_str
2230 (read_and_display_attr_value): Use fetch_indirect_string. Show
2231 offset into .debug_str section.
2232 (display_debug_info): Use load_debug_str and free_debug_str.
2233 (debug_displays): Add .debug_str.
2234 * doc/binutils.texi: Document -ws.
2236 2001-11-19 Andreas Jaeger <aj@suse.de>
2238 * testsuite/binutils-all/objdump.exp: Add x86-64.
2240 2001-11-15 Andreas Schwab <schwab@suse.de>
2242 * readelf.c: Fix warnings without terminating newline.
2244 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2246 * doc/binutils.texi (objdump): Document ppc -M options.
2248 2001-11-14 Andreas Jaeger <aj@suse.de>
2250 * doc/binutils.texi (objdump): Fix description to use x86-64.
2252 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2254 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2255 not all systems provide mkstemp.
2257 2001-11-14 Alan Modra <amodra@bigpond.net.au>
2259 * doc/binutils.texi (objdump): Document x86 -M options.
2261 2001-11-13 Keith Walker <keith.walker@arm.com>
2263 * readelf.c (read_and_display_attr_value): New function to
2264 handle DW_FORM_indirect.
2265 (read_and_display_attr): Use it.
2267 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
2269 * readelf.c (display_debug_lines): Deal with unknown standard
2270 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2273 2001-11-13 Timothy Wall <twall@alum.mit.edu>
2275 * MAINTAINERS: Add self as tic54x maintainer. This target
2276 includes the IBM C54XDSP clone.
2278 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2280 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2282 2001-11-09 Jeffrey A Law (law@cygnus.com)
2284 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2285 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2286 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2287 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2288 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2289 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2290 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2292 * readelf.c (get_elf_class): Fix ISO portability glitch.
2293 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2295 2001-11-07 Jakub Jelinek <jakub@redhat.com>
2297 * readelf.c (debug_str, debug_str_size): New.
2298 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2300 (read_and_display_addr): Handle DW_FORM_strp.
2301 (display_debug_info): Read .debug_str section if present,
2302 so that DW_FORM_strp can be handled.
2303 Fix test for non-existant .debug_abbrev section.
2305 2001-11-05 Jakub Jelinek <jakub@redhat.com>
2307 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2309 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2311 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2313 * MAINTAINERS: Add self as s390/s390x maintainer.
2315 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
2317 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2319 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2321 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2322 * configure: Regernate.
2323 * po/fr.po: New file.
2324 * po/tr.po: New file.
2326 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2328 * MAINTAINERS: Add self as MMIX port maintainer.
2329 * readelf.c: Include elf/mmix.h.
2330 (guess_is_rela): MMIX is RELA.
2331 (dump_relocations): Handle MMIX relocations.
2332 * Makefile.am: Regenerate dependencies.
2333 * Makefile.in: Regenerate.
2335 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2337 * readelf.c (parse_args): Handle multiple options to the -w
2340 2001-10-12 Jakub Jelinek <jakub@redhat.com>
2342 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2343 LOPROC, LOOS and LOUSER.
2345 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
2347 * MAINTAINERS: Update my email address.
2349 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2351 * doc/Makefile.in: Regenerate.
2352 * configure: Regenerate.
2354 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2356 * readelf.c (display_debug_line, display_debug_pubnames,
2357 display_debug_info, display_debug_frames): Detect and warn
2358 about 64-bit format entries.
2359 (display_debug_aranges): Reword 64-bit warning.
2360 (debug_displays): Add .debug_pubtypes as a known, but not yet
2361 supported, debug section.
2363 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2365 * coffdump.c (PROGRAM_VERSION): Delete.
2366 (main <'V'>): Call print_version.
2367 * srconv.c: Likewise.
2368 * sysdump.c: Likewise.
2369 * version.c (program_version): Remove.
2370 (print_version): Use BFD_VERSION_STRING. Just print the current
2371 year in copyright message.
2372 * addr2line.c (program_version): Remove unused declaration.
2373 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2374 place of BFD_VERSION.
2375 * Makefile.am (Makefile): Depend on bfd/configure.in.
2376 (cplus-dem.o): Depend on Makefile.
2378 * Makefile.in: Regenerate.
2380 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2382 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2383 format .debug_arange sections.
2384 (main): Add missing prototype.
2386 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2388 * Makefile.am: Update dependencies with "make dep-am".
2389 * Makefile.in: Regenerate.
2391 2001-09-28 Richard Henderson <rth@redhat.com>
2393 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2395 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2397 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2399 (non_fatal): Likewise.
2400 * objdump.c (objdump_sprintf): Likewise.
2401 * readelf.c (error): Likewise.
2404 2001-09-25 Jakub Jelinek <jakub@redhat.com>
2406 * readelf.c (do_wide): New.
2407 (options): Add --wide.
2408 (usage, parse_args): Likewise.
2409 (process_program_headers): Put each segment on a single line if
2411 (process_section_headers): Put each section on a single line if
2413 * doc/binutils.texi: Document it.
2416 2001-09-25 Alan Modra <amodra@bigpond.net.au>
2418 * readelf.c (print_vma): Print 8 digits of low hex value.
2420 2001-09-24 Andreas Jaeger <aj@suse.de>
2422 * nlmconv.c: Fix warnings about unused attributes and function
2425 * strings.c: Add prototype for get_char.
2427 2000-09-19 H.J. Lu <hjl@gnu.org>
2429 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2430 $(srcdir)/cxxfilt.man.
2431 * doc/Makefile.in: Rebuild.
2433 2001-09-19 Alan Modra <amodra@bigpond.net.au>
2435 * objcopy.c (copy_main): Correct rename-section string parsing.
2436 Consolidate new_name parsing, and error messages.
2438 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2440 * addr2line.c: Don't include <ctype.h>.
2441 (main): For gettext, also set the LC_CTYPE locate facet.
2442 * ar.c (main): Likewise.
2443 * coffdump.c (main): Likewise.
2444 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2445 (main): For gettext, also set the LC_CTYPE locate facet.
2446 Use ISALNUM instead of isalpha/isdigit.
2447 * dllwrap.c: Don't include <ctype.h>.
2448 (main): For gettext, also set the LC_CTYPE locate facet.
2449 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2450 (main): For gettext, also set the LC_CTYPE locate facet.
2451 Use TOUPPER instead of islower/toupper.
2452 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2453 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2454 Use TOUPPER instead of islower/toupper.
2455 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2456 * objcopy.c (main): Likewise.
2457 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2458 (disassemble_bytes): Use ISPRINT instead of isprint.
2459 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2460 (dump_data): Use ISPRINT instead of isprint.
2461 (main): For gettext, also set the LC_CTYPE locate facet.
2462 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2463 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2464 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2465 Use TOUPPER instead of islower/toupper.
2466 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2467 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2468 (write_rc_accelerators): Use ISPRINT instead of isprint.
2469 (write_rc_rcdata): Likewise.
2470 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2471 * srconv.c (main): Likewise.
2472 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2473 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2474 isdigit/isupper/islower.
2475 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2476 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2477 stab_demangle_prefix, stab_demangle_qualified,
2478 stab_demangle_template, stab_demangle_type,
2479 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2480 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2481 (isgraphic): Use ISPRINT instead of isascii/isprint.
2482 (main): Remove HAVE_LC_MESSAGES dependency.
2483 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2484 (pbarray): Use ISPRINT instead of isprint.
2485 (main): For gettext, also set the LC_CTYPE locate facet.
2486 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2487 (format_from_filename): Use ISPRINT instead of isprint.
2488 (main): For gettext, also set the LC_CTYPE locate facet.
2489 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2490 (unicode_print): Use ISPRINT instead of isprint.
2491 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2492 (stab_variable): Use ISDIGIT instead of isdigit.
2494 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2496 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2497 Replace bfd_read call with call to bfd_bread.
2498 (extract_file): Likewise.
2500 * objdump.c (dump_section_header): Cast section->filepos to
2501 unsigned long to suit printf format string.
2502 * readelf.c (process_section_headers): Similarly for sh_offset.
2503 (process_unwind): Likewise.
2505 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2507 * strings.c (encoding, encoding_bytes): New variables.
2508 (long_options): Add --encoding.
2509 (main): Accept -e and --encoding.
2510 (get_char): New function. Read a, possibly wide, character from
2512 (print_strings): Use get_char().
2513 (usage): Document new command line option.
2514 * doc/binutils.texi: Document new command line option.
2515 * NEWS: Announce new command line option.
2517 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2519 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2520 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2521 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2522 Removed EM_CYGNUS_ARC.
2524 2001-09-04 Jeffrey A Law (law@cygnus.com)
2526 * readelf.c: Include elf/h8 for H8 series definitions.
2527 (guess_is_rela): H8 series if RELA.
2528 (dump_relocations): Handle H8 series relocations.
2530 2001-08-31 Eric Christopher <echristo@redhat.com>
2532 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2534 2001-08-29 Peter Targett <peter.targett@arccores.com>
2536 * MAINTAINERS: Include ARC Maintainer.
2538 2001-08-29 Ben Elliston <bje@redhat.com>
2540 * stabs.c (stab_demangle_template): Initialise s4.
2542 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2544 * readelf.c (dump_relocations): Recognise EM_PPC64.
2546 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2548 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2550 2001-08-25 H.J. Lu <hjl@gnu.org>
2552 * nm.c (print_width): New.
2553 (display_rel_file): Set `print_width' according to
2555 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2557 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2559 * objcopy.c (use_alt_mach_code): New variable.
2560 (OPTION_ALT_MACH_CODE): Define.
2561 (copy_options): Added --alt-machine-code.
2562 (copy_main): Handle it.
2563 (copy_object): Switch to alternate machine code if requested.
2564 * doc/binutils.texi: Document new option.
2567 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2569 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2571 2001-08-21 H.J. Lu <hjl@gnu.org>
2573 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2574 (display_debug_info): Cast for 64bit hosts.
2575 (display_debug_frames): Likewise.
2576 (process_mips_specific): Likewise.
2578 2001-08-21 Andreas Jaeger <aj@suse.de>
2580 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2582 * sysdump.c: Add missing prototypes.
2583 * srconv.c: Likewise.
2584 * unwind-ia64.c: Likewise.
2585 * coffdump.c: Likewise.
2587 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2589 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2590 of declaring xcalloc.
2592 2001-08-10 H.J. Lu <hjl@gnu.org>
2594 * nm.c (print_value): Add one arg, bfd *.
2595 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2596 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2597 (print_symbol_info_sysv): Likewise.
2598 (print_symbol_info_posix): Likewise.
2600 * objdump.c (dump_section_header): Replace printf_vma with
2602 (print_section_stabs): Likewise.
2603 (dump_bfd_header): Likewise.
2604 (objdump_print_value): Replace sprintf_vma with
2606 (disassemble_bytes): Likewise.
2607 (dump_reloc_set): Likewise.
2609 2001-08-10 Andreas Jaeger <aj@suse.de>
2611 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2613 * configure: Regenerate.
2615 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2617 * readelf.c: Add missing prototypes.
2618 * objdump.c: Likewise. Format existing prototypes.
2620 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2622 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2623 of any RELA relocation for the abbrev_offset memory location that
2624 refers to the .debug_abbrev section symbol.
2626 2001-08-07 H.J. Lu <hjl@gnu.org>
2628 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2629 (main): Return process_file ().
2631 2001-08-05 Philip Blundell <philb@gnu.org>
2633 * doc/binutils.texi: Use "Thumb" not "THUMB".
2635 2001-08-03 John Healy <jhealy@redhat.com>
2637 Patch suggested by Frank Eigler <fche@redhat.com>.
2638 * objdump.c (disassemble_data): Fill in section member of the
2639 disasm_info structure.
2641 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2643 * configure.in: Added --with-windres option.
2644 * configure: Regenerated.
2646 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2648 * doc/binutils.texi: Use @command{name} for commands;
2649 use @option{-opt} for options; use @table @env for list of options;
2650 remove spaces arround [ | ] in synopsis.
2652 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2655 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2657 * objcopy.c: Fix formatting.
2658 (section_rename): New structure.
2659 (OPTION_RENAME_SECTION): New switch.
2660 (copy_usage): Document new switch.
2661 (add_section_rename): New function: Add a node to the section
2663 (find_section_rename): New function: Find the new name and
2664 flags for a section.
2665 (setup_section): Call find_section_name to determine the name
2666 of the output section.
2667 (copy_main): Handle OPTION_RENAME_SECTION.
2668 * binutils.texi: Document new switch.
2669 * NEWS: Mention new switch.
2671 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2673 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2674 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2675 bug-binutils@gcc.org.
2677 2001-07-28 Matthias Kramm <kramm@quiss.org>
2679 * bucomm.c (list_supported_architectures): New function.
2680 * bucomm.h (list_supported_architectures): Declare.
2681 * objdump.c (usage): Call the above.
2683 2001-07-25 Dave Brolley <brolley@redhat.com>
2685 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2686 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2688 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2690 * README: Update for 2.11. Change bug reporting email address.
2691 * MAINTAINERS: Tidy up. Change bug reporting email address.
2693 2001-07-16 DJ Delorie <dj@redhat.com>
2695 * resres.c (write_res_header): Align header size.
2696 (res_align_file): Calculate alignment correctly.
2698 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2700 * resrc.c (write_rc_resource): Likewise.
2701 * windres.h (SUBLANG_SHIFT): Define - as 10.
2703 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2705 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2707 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2709 * MAINTAINERS: Add notes about branch checkins.
2711 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2713 * readelf.c (display_debug_macinfo): New function, display
2714 .debug_macinfo section.
2715 (do_debug_macinfo): New variable.
2716 (parse_args): Handle "-w[mM]" to mean display macro info.
2717 (process_section_headers): Handle debug_macinfo.
2718 (debug_displays): Replace unsupported function with macinfo
2719 function for .debug_macinfo display.
2720 * doc/binutils.texi: Document new command line switch.
2721 * NEWS: Document new feature of readelf.
2723 2001-07-05 H.J. Lu <hjl@gnu.org>
2725 * objcopy.c (filter_symbols): Don't turn undefined symbols
2728 2001-07-03 H.J. Lu <hjl@gnu.org>
2730 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2733 (dlltool.1): Likewise.
2734 (nlmconv.1): Likewise.
2736 (objcopy.1): Likewise.
2737 (objdump.1): Likewise.
2738 (ranlib.1): Likewise.
2739 (readelf.1): Likewise.
2741 (strings.1): Likewise.
2742 (strip.1): Likewise.
2743 (windres.1): Likewise.
2744 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2745 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2748 * doc/Makefile.in: Regenerated.
2750 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2752 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2754 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2756 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2758 2001-06-29 James Cownie <jcownie@etnus.com>
2760 * readelf.c: Support DWARF 2.1 attributes.
2762 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2764 * readelf.c (GET_DATA_ALLOC): Remove.
2766 (get_data): New function combining above macros, with an extra
2768 (slurp_rela_relocs): Use get_data, and catch error return.
2769 (slurp_rel_relocs): Likewise.
2770 (get_32bit_program_headers): Likewise.
2771 (get_64bit_program_headers): Likewise.
2772 (get_32bit_section_headers): Likewise.
2773 (get_64bit_section_headers): Likewise.
2774 (get_32bit_elf_symbols): Likewise.
2775 (get_64bit_elf_symbols): Likewise.
2776 (process_section_headers): Likewise.
2777 (process_relocs): Likewise.
2778 (slurp_ia64_unwind_table): Likewise.
2779 (process_unwind): Likewise.
2780 (get_32bit_dynamic_segment): Likewise.
2781 (get_64bit_dynamic_segment): Likewise.
2782 (process_dynamic_segment): Likewise.
2783 (process_version_sections): Likewise.
2784 (process_symbol_table): Likewise.
2785 (dump_section): Likewise.
2786 (display_debug_info): Likewise.
2787 (display_debug_section): Likewise.
2788 (process_section_contents): Likewise.
2789 (process_corefile_note_segment): Likewise.
2790 (process_mips_specific): Likewise. Also free econf32, econf64.
2792 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2794 * readelf.c (dump_relocations): Print "bad symbol index" if
2795 symtab == NULL with non-zero symtab_index.
2796 (process_relocs): Don't bomb if reloc section has no symsec.
2798 2001-06-24 H.J. Lu <hjl@gnu.org>
2800 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2802 (copy_main): Apply the the change made to strip_main on
2803 2001-05-30 by accident.
2805 2001-06-23 Andreas Jaeger <aj@suse.de>
2807 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2809 (unw_decode_x2): Likewise.
2810 (unw_decode_x3): Likewise.
2811 (unw_decode_x4): Likewise.
2813 2001-06-23 Ben Elliston <bje@redhat.com>
2815 * MAINTAINERS: Add myself as M88k maintainer.
2817 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2819 * objcopy.c (strip_main): Support -o or --output-file command lien
2822 2001-06-19 H.J. Lu <hjl@gnu.org>
2824 * doc/Makefile.in: Regenerated.
2826 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2828 * readelf.c: Restore formatting.
2830 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2832 * Makefile.am: Move documentation into doc subdirectory.
2833 * Makefile.in: Regenerated.
2834 * binutils.texi: Move into doc subdirectory.
2835 * addr2line.1: Removed.
2837 * dlltool.1: Likewise.
2838 * nlmconv.1: Likewise.
2840 * objcopy.1: Likewise.
2841 * objdump.1: Likewise.
2842 * ranlib.1: Likewise.
2843 * readelf.1: Likewise.
2845 * strings.1: Likewise.
2846 * strip.1: Likewise.
2847 * windres.1: Likewise.
2848 * cxxfilt.man: Likewise.
2849 * doc: New Directory.
2850 * doc/Makefile.am: New file.
2851 * doc/Makefile.in: Generate.
2853 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2855 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2857 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2859 * MAINTAINERS: Update my email address.
2861 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2863 * objcopy.c: Add new switches: --keep-global-symbol,
2864 --keep-symbols, --localize-symbols, --keep-global-symbols and
2866 * binutils.texi: Document new switches.
2867 * objcopy.1: Regenerate.
2868 * NEWS: Announce new feature.
2870 2001-05-28 Andreas Jaeger <aj@suse.de>
2872 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2873 variables, fix format strings.
2875 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2877 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2878 when computing the address of the line to show.
2880 2001-05-16 Richard Henderson <rth@redhat.com>
2882 * readelf.c (do_debug_frames_interp): New.
2883 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2884 (byte_get_big_endian): Likewise.
2885 (parse_args) ['F']: Set do_debug_frames_interp.
2886 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2887 (frame_display_row): Don't trunc pc_begin to int.
2888 (size_of_encoded_value): New.
2889 (display_debug_frames): Handle 64-bit targets. Print raw data
2890 unless do_debug_frames_interp.
2891 (debug_displays): Remove duplicate .debug_frame.
2893 2001-05-15 Ralf Baechle <ralf@gnu.org>
2895 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2896 The former constant was never in active use and is used otherwise
2899 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2901 * readelf.c (process_unwind): Print all unwind sections, not just
2904 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2906 * readelf.c (process_unwind): Remove const specifier.
2908 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2910 * strings.c (isgraphic): Do not use isascii() unless it is needed
2911 for isprint() to work.
2912 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2914 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2916 * NEWS: Announce support for OpenRISC.
2918 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2920 * dlltool.c (do_default_excludes): Initialise to true.
2922 2001-04-10 Alan Modra <amodra@one.net.au>
2924 * MAINTAINERS: Update my email address
2925 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2927 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2929 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2931 2001-03-30 H.J. Lu <hjl@gnu.org>
2933 * readelf.c (process_unwind): Just return if do_unwind is 0.
2935 2001-03-28 Roger Sayle <roger@metaphorics.com>
2937 * dlltool.c (make_one_lib_file): Fix section flags for
2938 .text, .data and .bss in stub ds*.o files to match those
2941 2001-03-29 H.J. Lu <hjl@gnu.org>
2943 * readelf.c (process_unwind): Only do unwind sections for
2946 2001-03-28 H.J. Lu <hjl@gnu.org>
2948 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2949 * Makefile.in: Regenerate.
2951 2001-03-26 Andreas Jaeger <aj@suse.de>
2953 * binutils.texi (nm): Fix texi syntax.
2955 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2957 * binutils.texi: Put @c man begin and @c man end indications
2958 to generate man pages using texi2pod and pod2man. Put @c man title
2959 to identify each man. Add SEEALSO entries.
2960 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2961 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2963 (*.1): Build the man pages from binutils.texi.
2964 * Makefile.in: Regenerate.
2966 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2968 * defparse.y (opt_equal_name): allow "." in name.
2969 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2970 (gen_exp_file): Likewise.
2972 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2974 * NEWS: Document addition of -B switch to objcopy.
2975 * binutils.texi: Document addition of -B switch to objcopy.
2976 * objcopy.c: (copy_options): Add --binary-architecture.
2977 (copy_usage): Document -B/--binary-architecture.
2978 (copy_main): Support -B/--binary-architecture. Set
2979 bfd_external_binary_architecture.
2981 2001-03-11 Andreas Jaeger <aj@suse.de>
2983 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2984 (dump_relocations): Likewise.
2985 (get_machine_name): Likewise.
2987 2001-02-28 Nick Clifton <nickc@redhat.com>
2989 * readelf.c: (struct unw_aux_info): Remove const modifier for
2991 (process_unwind): Remove non-K&R compliant LHS type cast in call
2992 to GET_DATA_ALLOC macro.
2994 2001-02-28 Philip Blundell <pb@futuretv.com>
2996 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2997 ABI is in use; remove ambiguity between the "unknown" EABI and
2998 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2999 renamed EF_xx constants.
3001 2001-02-27 Alan Modra <alan@linuxcare.com.au>
3003 * configure.in (BFD_VERSION): New.
3004 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3005 * configure: Regenerate.
3006 * Makefile.am: Run "make dep-am"
3007 * Makefile.in: Regenerate.
3009 2001-02-14 Nick Clifton <nickc@redhat.com>
3011 * MAINTAINERS: Add "Obvious Fix" rule.
3013 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3015 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
3016 literal concatenation.
3018 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3020 * readelf.c (struct unw_aux_info): Remove const from the info member.
3021 (process_unwind): Don't type-cast the third argument to the
3022 GET_DATA_ALLOC macro.
3024 2001-02-11 Nick Clifton <nickc@redhat.com>
3026 * readelf.c (dump_relocations): Free corrected allocated
3028 (process_unwind): Fix compile time warning.
3030 2001-02-10 Nick Clifton <nickc@redhat.com>
3032 * binutils.texi: Document new --unwind option to readelf.
3034 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3036 * readelf.c: Add linux target for S/390.
3038 2001-02-10 Alan Modra <alan@linuxcare.com.au>
3040 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
3043 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
3045 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3046 * aclocal.m4: Regenerate.
3047 * configure: Regenerate.
3049 2001-02-07 Todd Vierling <tv@wasabisystems.com>
3051 * bucomm.c (bfd_target_vector): Change extern array to pointer.
3052 * objdump.c (bfd_target_vector): Likewise.
3054 2001-02-07 David Mosberger <davidm@hpl.hp.com>
3056 * readelf.c (process_unwind): New function.
3057 (slurp_ia64_unwind_table): Ditto.
3058 (dump_ia64_unwind): Ditto.
3059 (find_symbol_for_address): Ditto.
3060 (slurp_rela_relocs): New function (split off from dump_relocations()).
3061 (slurp_rel_relocs): Ditto.
3062 (parse_args): Handle '-u' option.
3064 * unwind-ia64.c: New file.
3065 * unwind-ia64.h: New file.
3066 * Makefile.am: Include unwind-ia64.c in readelf build.
3067 * Makefile.in: Regenerate.
3068 * po/binutils.pot: Regenerate.
3070 2001-02-04 Philip Blundell <philb@gnu.org>
3072 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3073 * configure: Regenerate.
3075 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
3077 * ieee.c (ieee_add_bb11): Don't check for backslashes
3078 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3080 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
3082 * ieee.c: Update copyright.
3083 (ieee_start_compilation_unit): Don't check for backslashes
3084 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3086 * stabs.c: Update copyright. Include "filenames.h".
3087 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3089 2001-01-23 Jakub Jelinek <jakub@redhat.com>
3091 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3092 sections are present before using them. Remove code duplication.
3093 (process_symbol_table): Check if VERDEF or VERNEED sections are
3094 present before using them.
3096 2001-01-17 Nick Clifton <nickc@redhat.com>
3098 * objcopy.c (copy_object): Fail if attempting to convert the
3099 endianness of the input object file.
3101 * binutils.texi: Explain that objcopy cannot convert endianness.
3103 2001-01-16 Nick Clifton <nickc@redhat.com>
3105 * readelf.c (string_table_length): New variable.
3106 (SECTION_NAME): Catch out of range indices and missing section
3108 (process_section_headers): Delete useless local variable
3109 string_table_offset. Set the value of string_table_length
3110 after loading the string table.
3111 (process_mips_specific): Use SECTION_NAME macro.
3112 (process_file): Set string_table_length to 0 when it is freed.
3114 2001-01-12 Nick Clifton <nickc@redhat.com>
3116 * version.c (print_version): Update copyright date.
3118 2001-01-11 Peter Targett <peter.targett@arccores.com>
3120 * readelf.c (dump_relocations): Include selection with EM_ARC.
3121 (get_machine_name) Update name to "ARC".
3123 2001-01-09 Nick Clifton <nickc@redhat.com>
3125 * Makefile.am: Add rule to build objdump.o from objdump.c and
3127 * Makefile.in: Regenerate.
3129 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3130 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3131 -DDISASSEMBLER_NEEDS_RELOCS.
3132 * configure: Regenerate.
3134 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3135 is defined read in the relocs even if dump_reloc_info is
3138 2001-01-07 Philip Blundell <philb@gnu.org>
3140 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3144 2000-12-19 Nick Clifton <nickc@redhat.com>
3146 * dlltool.c: Add missing support for arm-epoc-pe.
3147 * configure.in: Add missing support for arm-epoc-pe.
3148 * configure: Regenerate.
3150 2000-12-15 Nick Clifton <nickc@redhat.com>
3152 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3153 Mode parts of the x86 port.
3155 2000-12-04 Andreas Jaeger <aj@suse.de>
3157 * readelf.c (guess_is_rela): Add EM_X86_64.
3158 (dump_relocations): Add EM_X86_64.
3159 (get_machine_name): Add EM_X86_64.
3160 Include "elf/x86-64.h".
3162 2000-12-12 Nick Clifton <nickc@redhat.com>
3164 * readelf.c: Fix formatting.
3166 2000-12-11 Jan Hubicka <jh@suse.cz>
3168 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3170 2000-12-07 Andrew Haley <aph@redhat.com>
3172 * readelf.c (display_debug_frames): Only display columns that are
3173 referenced by the frame debug info.
3175 2000-12-05 Nick Clifton <nickc@redhat.com>
3177 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3179 2000-12-04 Jason Merrill <jason@redhat.com>
3181 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3182 (display_debug_section): Likewise.
3183 (display_debug_info): Display CU header before bailing.
3185 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3187 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3188 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3189 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3191 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3194 * readelf.c (get_machine_flags): Add case for
3197 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
3199 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3201 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3203 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
3204 Change sourceware.cygnus.com to sources.redhat.com.
3205 Fix typo for "amongst".
3207 2000-11-28 Nick Clifton <nickc@redhat.com>
3209 * strip.1 (COPYING): Mention that the GNU Free Documentation
3210 License is present in the sources, but not the output, and
3211 also available from the GNU website.
3212 (GNU Free Documentation License): Comment out this section.
3221 * addr2line.1: Ditto.
3223 2000-11-27 DJ Delorie <dj@redhat.com>
3225 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3226 (parse_args): Support -wf option.
3227 (process_section_headers): Ditto.
3228 (debug_displays): Ditto.
3229 (display_debug_frames): New, dump *_frame sections.
3230 (frame_need_space): Support for above.
3231 (frame_display_row): Ditto.
3232 * binutils.texi: Document it.
3234 2000-11-24 Nick Clifton <nickc@redhat.com>
3236 * NEWS: Announce support for v5t, v5te and XScale.
3238 2000-11-22 Nick Clifton <nickc@redhat.com>
3240 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3241 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3242 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3243 (get_elf_section_flags: Add SHF_GROUP.
3244 (process_section_headers): Adjust output for 32-bit binaries
3245 to look nice on an 80 column terminal.
3247 2000-11-20 H.J. Lu <hjl@gnu.org>
3249 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3252 2000-11-17 Richard Henderson <rth@redhat.com>
3254 * readelf.c (display_debug_lines): Adjust last change to
3255 use sizeof (external->li_length).
3257 2000-11-17 Richard Henderson <rth@redhat.com>
3259 * readelf.c (display_debug_lines): Fix section length check
3260 and end_of_sequence computation.
3262 2000-11-06 Nick Clifton <nickc@redhat.com>
3264 * binutils.texi: Add GNU Free Documentation License.
3265 * objcopy.1: Add GNU Free Documentation License.
3266 * objdump.1: Add GNU Free Documentation License.
3267 * addr2line.1: Add GNU Free Documentation License.
3268 * ar.1: Add GNU Free Documentation License.
3269 * nlmconv.1: Add GNU Free Documentation License.
3270 * nm.1: Add GNU Free Documentation License.
3271 * ranlib.1: Add GNU Free Documentation License.
3272 * size.1: Add GNU Free Documentation License.
3273 * strings.1: Add GNU Free Documentation License.
3274 * strip.1: Add GNU Free Documentation License.
3276 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
3278 * objcopy.c (--srec-len=nn): New parameter to set the
3279 maximum length of generated Srecords.
3280 (--srec-forceS3): New parameter that restricts the generation of
3281 Srecords to type S3 only.
3282 * binutils.texi: Document new command line switches.
3283 * objcopy.1: Docuemnt the new command line switches.
3284 * NEWS: Announce the existence of the new command line switches.
3286 2000-10-31 Nick Clifton <nickc@redhat.com>
3288 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3289 code. Add Eric Chrisopher as maintainer of MN10300 port.
3291 2000-10-12 Roger Sayle <roger@metaphorics.com>
3293 * Make comma after string after icon/control optional.
3295 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3297 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3299 * NEWS: Mention support for MIPS32.
3301 2000-09-08 Nick Clifton <nickc@redhat.com>
3303 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3305 2000-09-07 H.J. Lu <hjl@gnu.org>
3307 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3308 * configure: Rebuild.
3310 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3312 * configure: Rebuilt with new libtool.m4.
3314 2000-09-05 Nick Clifton <nickc@redhat.com>
3316 * aclocal.m4: Regenerate.
3317 * config.in: Regenerate.
3318 * configure: Regenerate.
3320 2000-09-04 Todd Vierling <tv@wasabisystems.com>
3322 * strip.1: Fix stray '\' in -o formatting.
3324 2000-09-02 Nick Clifton <nickc@redhat.com>
3326 * configure.in: Increase version number to 2.10.91.
3327 * configure: Regenerate.
3328 * aclocal.m4: Regenerate.
3329 * config.in: Regenerate.
3330 * po/binutils.pot: Regenerate.
3332 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3334 * acinclude.m4: Include libtool and gettext macros from the
3336 * aclocal.m4, configure: Rebuilt.
3338 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
3340 * resrc.c (close_input_stream): Delete extraneous logic
3342 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3344 * NEWS: Mention support for CRIS.
3346 2000-08-21 Nick Clifton <nickc@redhat.com>
3348 * addr2line.c: Changed email address for Ulrich Lauther.
3350 2000-08-17 Christopher C. Chimelis <chris@debian.org>
3352 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3354 2000-08-17 Nick Clifton <nickc@redhat.com>
3356 * readelf.c (display_debug_pubnames): Only issue warning
3357 message once. Terminate message with a new line.
3358 (display_debug_aranges): Only display version 2 debug info.
3360 2000-08-14 Todd Vierling <tv@wasabisystems.com>
3362 * objcopy.c (strip_main): Silently accept -d as an alias for -g
3363 for compatibility with old BSD systems.
3365 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3367 * NEWS: Mention i860 support.
3369 2000-08-11 Carlo Wood <carlo@alinoe.com>
3371 * addr2line.c (main): Add const to char *.
3373 2000-08-11 Geoff Keating <geoffk@cygnus.com>
3375 * ar.c (main): Don't crash if called with no arguments
3376 or only '-X32_64' as an argument.
3378 2000-08-08 DJ Delorie <dj@redhat.com>
3380 * resrc.c: use "gcc -xc" instead of -xc-header
3382 2000-08-05 Jason Eckhardt <jle@cygnus.com>
3384 * readelf.c (elf/i860.h): Include.
3385 (dump_relocations): Add recognition of i860 architecture.
3386 (guess_is_rela): Add recognition of i860 architecture.
3388 2000-08-03 Nick Clifton <nickc@cygnus.com>
3390 * MAINTAINERS: Add information about CGEN maintainers.
3392 2000-07-26 Geoff Keating <geoffk@cygnus.com>
3394 * nm.c (main): Ignore '-X32_64' as an option.
3395 * ar.c (main): Likewise.
3396 * binutils.texi (nm): Document new option.
3399 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3401 * rdcoff.c (external_coff_symbol_p): K&R-ise.
3403 2000-07-20 H.J. Lu <hjl@gnu.org>
3405 * binutils.texi: Put back "@end table" deleted by
3408 2000-07-05 Kenneth Block <krblock@computer.org>
3410 * nm.c: Add optional style to demangle switch.
3411 * objdump.c: Add optional style to demangle switch.
3412 * addr2line.c: Add optional style to demangle switch.
3413 * binutils.texi: Document optional style to demangle
3416 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3418 * MAINTAINERS: Add self as CRIS port maintainer.
3419 * readelf.c: Include elf/cris.h.
3420 (guess_is_rela): Handle EM_CRIS.
3421 (dump_relocations): Ditto.
3422 (get_machine_name): Ditto.
3423 * Makefile.am: Rebuild dependencies.
3424 * Makefile.in: Regenerate.
3425 * po/binutils.pot: Regenerate.
3427 2000-07-19 H.J. Lu <hjl@gnu.org>
3429 * readelf.c (get_dynamic_type): Change "AUXILARY" to
3431 (process_dynamic_segment): Print out strings for DT_CONFIG,
3432 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3434 2000-07-19 Mark Kettenis <kettenis@gnu.org>
3436 * nm.c (usage): Change output of `nm --help' to include a
3437 description of the purpose of the program and a detailed
3438 description of the accepted options.
3440 2000-07-19 H.J. Lu <hjl@gnu.org>
3442 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3445 2000-07-19 H.J. Lu <hjl@gnu.org>
3447 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3449 2000-07-19 H.J. Lu <hjl@gnu.org>
3451 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3453 (process_dynamic_segment): Likewise.
3455 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3456 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3457 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3458 DF_1_NODUMP and DF_1_CONLFAT.
3460 2000-07-18 Nick Clifton <nickc@cygnus.com>
3462 * binutils.texi (readelf): Fix spelling typo.
3464 2000-07-11 Mark Kettenis <kettenis@gnu.org>
3466 * objdump.c (usage): Make output of `objdump --help' more
3467 consistent with the rest of the GNU world. Add a line describing
3468 the purpose of the program.
3470 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
3472 * stabs.c (parse_stab_range_type): Cast to proper type to fix
3475 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3477 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3479 (process_symbol_table): Ditto.
3480 (procesS_extended_line_op): Ditto.
3481 (display_debug_lines): Ditto.
3482 (display_debug_pubnames): Ditto.
3483 (read_and_display_attr): Ditto.
3485 2000-07-09 Nick Clifton <nickc@cygnus.com>
3487 * MAINTAINERS: Add several more port specific maintainers.
3489 2000-07-05 Nick Clifton <nickc@cygnus.com>
3491 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3493 2000-06-05 DJ Delorie <dj@redhat.com>
3497 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3499 * dllwrap.c: Changed mistaken dyn_string_append() calls
3500 to dyn_string_append_cstr().
3502 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3504 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3505 struct debug_type stores size in bytes.
3507 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3509 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3510 (CLEANFILES): Add DEPA.
3511 * Makefile.in: Regenerate.
3513 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3515 * ar.c: Revert incorrect 2000-06-25 patch.
3516 * bucomm.c: Likewise.
3518 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3520 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3521 (external_coff_symbol_p): New function.
3522 (parse_coff): Use it.
3524 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3526 * ar.c (normalize): Advance past both characters in a DOS based
3527 <letter>: filepath prefix.
3529 * bucomm.c (make_tempname): Likewise.
3531 2000-06-24 Nick Clifton <nickc@cygnus.com>
3533 * objdump.c (usage): Fix description of --stabs switch.
3535 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3537 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3539 * Makefile.in: Regenerate.
3541 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3543 * ar.c (normalize): Correct pointer comparison when checking for
3546 * bucomm.c (make_tempname): Likewise.
3548 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3549 and search for backslashes in the original pathname.
3550 (ieee_add_bb11): Likewise.
3552 2000-06-18 Nick Clifton <nickc@redhat.com>
3554 * ar.c (print_contents): Improve verbose message.
3556 2000-06-15 H.J. Lu <hjl@gnu.org>
3558 * dyn-string.c: Removed. Not needed with dyn-string.c in
3560 * dyn-string.h: Likewise.
3562 * Makefile.am: Remove references to dyn-string.c and
3563 dyn-string.h. Rebuild dependency.
3564 * Makefile.in: Rebuild.
3566 2000-06-15 H.J. Lu <hjl@gnu.org>
3568 * binutils.texi: Put a warning on copying relocatable object
3569 files between two different formats.
3571 2000-06-13 DJ Delorie <dj@cygnus.com>
3573 * rcparse.y (control): ICON controls take an id as the first
3574 parameter, not an optional string. Also, call new convenience
3575 function that takes res_id's.
3576 * resrc.c (define_control): missing text means zero-length string,
3578 (define_icon_control): New.
3579 * windres.h: declare define_icon_control.
3581 2000-06-13 H.J. Lu <hjl@gnu.org>
3583 * configure: Regenerate.
3585 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3587 * configure.in (VERSION): Update to show this is the CVS mainline.
3589 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3591 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3592 analogous to <SPACE>.
3594 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3596 * objdump.c (display_target_list): Use bfd_close_all_done, not
3597 bfd_close to fix crash caused by 2000-05-24 change.
3599 2000-05-25 DJ Delorie <dj@cygnus.com>
3601 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3603 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3605 * Makefile.am: Update dependencies with "make dep-am"
3606 * Makefile.in: Regenerate.
3608 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3610 * ar.c: Include filenames.h.
3611 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3612 and drive letters in file names.
3613 (main): Support backslashes and drive letters in argv[0]. Drop
3614 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3615 FILENAME_CMP instead of strcmp to compare file names.
3616 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3618 (do_quick_append) [__GO32__]: Ditto.
3619 (get_pos_bfd, delete_members, move_members, replace_members):
3620 Compare file names with FILENAME_CMP.
3622 * bucomm.c: Include filenames.h.
3623 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3624 forward/backward slashes and drive letters in file names.
3626 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3627 mixed forward/backward slashes and drive letters in file names.
3629 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3630 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3633 * objcopy.c: Include filenames.h.
3634 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3635 before comparing to "strip".
3636 Use FILENAME_CMP to compare file names.
3638 * arsup.c: Include filenames.h.
3639 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3640 FILENAME_CMP to compare file names.
3641 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3642 the temporary file name.
3644 * configure.in: Check for setmode.
3645 * configure: Regenerate.
3647 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3649 * objdump.c (display_target_list): Close the bfd.
3650 (display_info_table): Likewise.
3652 2000-05-14 H.J. Lu (hjl@gnu.org)
3654 * objcopy.c (filter_symbols): Don't strip global symbols in
3655 relocatable object files.
3657 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3659 * size.c (usage): Associate short options with corresponding long
3660 option to give a clue as to their function.
3662 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3664 * size.c (main): Accept and ignore `-f' option.
3666 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3668 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3669 bindtextdomain): Replace defines with those from intl/libgettext.h
3670 to quieten gcc warnings.
3672 2000-05-12 H.J. Lu <hjl@gnu.org>
3674 * nlmconv.c (temp_filename): Removed.
3676 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3677 choose_temp_base ().
3678 * objdump.c (display_target_list): Likewise.
3679 (display_info_table): Likewise.
3681 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3683 * objcopy.c (setup_section): Add const and gettext calls for err.
3685 2000-05-02 H.J. Lu <hjl@gnu.org>
3687 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3688 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3689 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3690 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3691 and ELFOSABI_OPENBSD.
3693 2000-05-02 Kazu Hirata <kazu@hxi.com>
3695 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3696 * srconv.c: Likewise.
3697 * sysdump.c: Likewise.
3699 2000-04-23 Denis Chertykov <denisc@overta.ru>
3701 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3702 (get_machine_name): machine name for EM_AVR added.
3704 2000-04-21 Richard Henderson <rth@cygnus.com>
3705 David Mosberger <davidm@hpl.hp.com>
3707 * Makefile.am (readelf.o): Add elf/ia64.h.
3708 * Makefile.in: Rebuild.
3709 * readelf.c: Include elf/ia64.h.
3710 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3712 2000-04-17 Timothy Wall <twall@cygnus.com>
3714 * objdump.c (disassemble_data): Set octets per byte *after*
3715 resolving arch/mach for binary files.
3717 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3719 * arlex.l: Add directives to increase lex buffer size.
3721 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3722 already included by bucomm.h.
3724 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3726 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3727 `strftime' since strftime is not available on all systems.
3728 (process_mips_specific): Ditto.
3730 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3732 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3733 --enable-build-warnings option.
3734 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3735 * Makefile.in, configure: Re-generate.
3737 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3739 * addr2line.c: Update copyright.
3740 * objcopy.1: Likewise, and title.
3741 * strings.1: Likewise.
3743 * version.c (print_version): Add 2000.
3745 * rddbg.c (read_section_stabs_debugging_info): Don't use
3746 bfd_size_type for strx to avoid printf problems if BFD64.
3748 * bucomm.c: (report): Remove `static'.
3749 Move inclusion of stdarg.h/vararg.h from here.
3750 * bucomm.h: To here.
3751 (CONST): Change all occurences to const.
3752 (report): Declare it.
3753 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3754 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3755 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3757 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3758 Correct a typo in an error message.
3759 (do_quick_append): Use non_fatal instead of fprintf.
3760 (move_members): Use fatal instead of fprintf, exit.
3761 * coffdump.c (main): Same here.
3763 * dlltool.c (display): Delete.
3765 (inform): Use `report' instead of `display'.
3766 (rvaafter): Remove trailing \n from fatal error msg.
3768 (asm_prefix): Ditto.
3769 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3770 (def_name): Likewise.
3772 (scan_all_symbols): Likewise.
3773 (gen_lib_file): Likewise.
3774 (def_library): Likewise. Remove extra program_name too.
3775 (run): Remove \n from inform strings.
3776 (scan_drectve_symbols): Likewise.
3777 (add_excludes): Likewise.
3778 (scan_open_obj_file): Likewise.
3779 (gen_exp_file): Likewise.
3780 (gen_lib_file): Likewise.
3781 (process_duplicates): Likewise.
3783 * Makefile.am (dllwrap_SOURCES): Add version.c.
3784 * dllwrap.c (program_version): Delete.
3785 (print_version): Delete.
3786 (display): Always print trailing \n.
3788 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3791 (usage): gettext'ify.
3792 (long_options): Add missing initialisers.
3794 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3795 (select_output_format): Likewise.
3796 (powerpc_mangle_relocs): Likewise.
3797 (link_inputs): Likewise.
3799 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3800 (set_output_format): Likewise.
3801 (main): Use non_fatal instead of fprintf.
3802 (display_rel_file): Likewise.
3804 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3805 (slurp_dynamic_symtab): Same here.
3806 (disassemble_data): And here.
3807 (read_section_stabs): And here.
3808 (read_section_stabs): And here.
3809 (dump_bfd): And here.
3811 (objdump_sprintf): Use fatal instead of fprintf, exit.
3812 (disassemble_data): Same here.
3814 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3815 (parse_coff_struct_type): Same here.
3816 (parse_coff_enum_type): And here.
3817 (parse_coff): And here.
3818 * rddbg.c (read_debugging_info): And here.
3819 * size.c (main): And here.
3820 * windres.c (format_from_name): And here.
3821 * wrstabs.c (stab_write_symbol): Here too.
3822 (write_stabs_in_sections_debugging_info): And here.
3823 (stab_int_type): And here.
3824 (stab_struct_field): And here.
3825 (stab_typdef): And here.
3827 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3828 * srconv.c (main): Same here.
3829 * strings.c (main): And here.
3830 (integer_arg): And here.
3831 * sysdump.c (main): And here.
3833 2000-04-06 Timothy Wall <twall@cygnus.com>
3835 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3837 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3839 * readelf.c (decode_location_expression): Loop through multiple
3841 (read_and_display_attr): Pass in length.
3843 * readelf.c (read_and_display_attr): Add CU offset to references.
3844 (display_debug_info): Pass it in.
3846 2000-04-06 Nick Clifton <nickc@cygnus.com>
3848 * readelf.c (decode_ARM_machine_flags): New function.
3849 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3852 (get_machine_name): Catch EM_AVR
3854 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3856 * binutils.texi: Remove optional `=' from long options that have
3857 an `=' in the argument.
3858 * objcopy.1: Here too. Remove extra space on discard-all.
3860 * binutils.texi (objcopy): Mention --redefine-sym.
3861 * objcopy.1: Here too.
3864 * objcopy.c (parse_flags): Split off flag names from error message
3865 gettext as they are not translated.
3866 (copy_main): Similarly split off option name for --add-section,
3867 --set-section-flags, --change-section-vma, --change-section-lma
3869 Some white space changes.
3871 from Matthew Benjamin <matt@linuxbox.nu>
3872 * objcopy.c (struct redefine_node): New.
3873 (redefine_sym_list): New.
3874 (redefine_list_append): New.
3875 (lookup_sym_redefinition): New.
3876 (OPTION_REDEFINE_SYM): New.
3877 (copy_options): Add --redefine-sym option.
3878 (copy_usage): Mention it.
3879 (filter_symbols): Rename symbols on redefine_sym_list.
3880 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3881 (copy_main): Handle OPTION_REDEFINE_SYM.
3883 2000-04-04 H.J. Lu <hjl@gnu.org>
3885 * readelf.c (process_symbol_table): Correctly read in symbol
3886 versioning information.
3888 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3890 * po/binutils.pot: Regenerate.
3892 * addr2line.c (usage): Restore translated part of bug string.
3893 * ar.c (usage): Likewise.
3894 * nlmconv.c (show_usage): Likewise.
3895 * nm.c (usage): Likewise.
3896 * objcopy.c (copy_usage): Likewise.
3897 (strip_usage): Likewise.
3898 * objdump.c (usage): Likewise.
3899 * readelf.c (usage): Likewise.
3900 * size.c (usage): Likewise.
3901 * strings.c (usage): Likewise.
3902 * windres.c (usage): Likewise.
3904 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3905 (DEP): Quote when passing vars to sub-make. Add warning
3907 (DEP1): Rewrite for "gcc -MM".
3908 (CLEANFILES): Add DEP2.
3909 Update dependencies.
3910 * Makefile.in: Regenerate.
3912 2000-04-04 H.J. Lu <hjl@gnu.org>
3914 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3915 (arparse.h): Depend on arparse.c
3916 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3918 2000-04-03 H.J. Lu (hjl@gnu.org)
3920 * size.c (usage): Use REPORT_BUGS_TO.
3922 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3924 * bucomm.h: #include "bin-bugs.h"
3925 * addr2line.c (usage): Use REPORT_BUGS_TO.
3926 * ar.c (usage): Likewise.
3927 * nlmconv.c (show_usage): Likewise.
3928 * nm.c (usage): Likewise.
3929 (OPTION_TARGET): Define.
3930 (long_options): Use OPTION_TARGET rather than 200.
3933 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3934 (strip_usage): Likewise.
3935 * objdump.c (usage): Likewise.
3936 * readelf.c (usage): Likewise.
3937 * strings.c (usage): Likewise.
3938 * windres.c (usage): Likewise.
3940 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3942 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3944 2000-03-27 Nick Clifton <nickc@cygnus.com>
3946 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3947 string offsets in corrupt stabs entries.
3949 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3951 * readelf.c: Include elf/avr.h
3952 (dump_relocations): Add EM_AVR case.
3954 2000-03-09 Tim Waugh <twaugh@redhat.com>
3956 * strings.1: Correct '-bytes' to '--bytes'.
3958 2000-03-08 H.J. Lu <hjl@gnu.org>
3960 * Makefile.am (install-exec-local): Depend on
3961 install-binPROGRAMS for parallel make.
3962 * Makefile.in: Regenerated.
3964 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3966 From Brad Lucier <lucier@math.purdue.edu>:
3967 * readelf.c (process_dynamic_segment): Add cast to make sure
3968 argument to %* is int.
3970 2000-02-25 H.J. Lu <hjl@gnu.org>
3972 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3974 2000-02-24 Nick Clifton <nickc@cygnus.com>
3976 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3977 * configure: Regenerate.
3979 * dlltool.c: Add support for sh-pe and mips-pe targets.
3980 * rescoff.c: Add support for sh-pe and mips-pe targets.
3982 2000-02-23 H.J. Lu <hjl@gnu.org>
3984 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3986 2000-02-22 Nick Clifton <nickc@cygnus.com>
3988 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3990 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3992 From Brad Lucier <lucier@math.purdue.edu>:
3993 * readelf.c (process_version_sections): Add casts to make sure
3994 argument to %* is an int.
3995 (process_mips_specific): Add casts to make printf arguments match
3998 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4000 * objdump.c (dump_section_header): Change `opb' to unsigned.
4001 (find_symbol_for_address): Same here.
4002 (disassemble_data): And here. Change `addr_offset',
4003 `stop_offset', `nextstop_offset' to unsigned long.
4004 (dump_data): Change opb to unsigned.
4006 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
4008 * resrc.c: Remove unmatched #if for cygwin.
4010 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
4012 * binutils.texi: Document the change of flavor name from atpcs-special
4013 to special-atpcs to prevent name conflict in gdb.
4015 2000-02-08 Timothy Wall <twall@redhat.com>
4017 * objdump.c (show_line): Fix bug preventing printing of the very
4018 first line (line zero) of a file when interlisting source and
4019 assembly. Added option to print entire context from start of file
4020 when the first line from that file is encountered.
4022 2000-02-03 Timothy Wall <twall@redhat.com>
4024 * objdump.c (dump_section_header, find_symbol_for_address,
4025 show_line, disassemble_bytes, disassemble_data, dump_data):
4026 distinguish between octets and bytes.
4028 2000-01-27 Thomas de Lellis <tdel@windriver.com>
4030 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
4031 check to unresolved symbols.
4032 (print_symbol_info_sysv): Ditto.
4033 (print_symbol_info_posix): Ditto.
4035 * binutils.texi: Document new 'V' symclass flag for nm.
4037 2000-01-27 Nick Clifton <nickc@redhat.com>
4039 * binutils.texi (objdump): Document new ARM specific
4040 disassembler options.
4042 * objdump.c (usage): Call disassembler_usage().
4044 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4046 * readelf.c (get_dynamic_flags): Return buff.
4047 (process_dynamic_segment): Don't pass error strings to printf
4049 (read_and_display_attr): Use lx and ld to print longs.
4050 (process_corefile_note_segment): Cast bfd_vma to unsigned long
4054 2000-01-17 Nick Clifton <nickc@cygnus.com>
4056 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4058 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4060 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4062 (debug_tag_type): Here too.
4063 * ieee.c (ieee_builtin_type): And here.
4064 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4066 2000-01-13 Nick Clifton <nickc@cygnus.com>
4068 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4071 2000-01-11 Nick Clifton <nickc@cygnus.com>
4073 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4075 2000-01-10 Nick Clifton <nickc@cygnus.com>
4077 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4079 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
4081 * windres.c (long_options): Add --use-temp-file and
4082 --no-use-temp-file options.
4086 * windres.h: Update read_rc_file prototype.
4088 * resrc.c (cpp_temp_file): New static variable.
4089 (istream_type): New static variable.
4090 (close_pipe): Delete function.
4091 (run_cmd): New static function.
4092 (open_input_stream): New static function.
4093 (close_input_stream): New static function.
4094 (look_for_default): Handle DOS directory separator. Use
4095 open_input_stream instead of popen.
4096 (read_rc_file): Likewise.
4098 * binutils.texi: Document --use-temp-file, --no-use-temp-file
4101 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4103 * dlltool.c (create_compat_implib): New variable.
4104 (gen_exp_file): Use.
4105 (make_one_lib_file): Use.
4106 (long_options): Add --compat-implib option.
4110 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4111 (main): Use. Don't look for "32" in cygwin and mingw target names.
4113 2000-01-03 Nick Clifton <nickc@cygnus.com>
4115 * binutils.texi: Document new, ARM specific disassembler
4116 command line switch "-M force-thumb".
4118 For older changes see ChangeLog-9899
4124 version-control: never