1 2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
3 * readelf.c (dump_section): Don't display DEL characters.
5 2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
7 * ChangeLog: Fix typos.
8 * ChangeLog-9197: Likewise.
9 * ChangeLog-9899: Likewise.
11 * ar.c: Fix comment typos.
13 * coffgrok.c: Likewise.
16 * dlltool.c: Likewise.
19 * objdump.c: Likewise.
21 * readelf.c: Likewise.
23 * sysinfo.y: Likewise.
24 * windres.c: Likewise.
26 2003-10-27 Nick Clifton <nickc@redhat.com>
28 * objcopy.c (copy_section): Do not complain when a target does not
30 (mark_symbols_used_in_relocations): Likewise.
32 2003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
34 * objcopy.c (copy_main): Reads machine flags from arch_info
37 2003-10-20 Andrew Cagney <cagney@redhat.com>
39 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
42 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
44 * objdump.c (read_section_stabs): Just read one section, return
45 pointer to it. Add size parameter.
46 (print_section_stabs): Add string offset parameter. Adjust.
47 (struct stab_section_names): Add string offset member.
48 (find_stabs_sections): Correct check for split section suffix,
49 adjust read_section_stabs and print_section_stabs calls.
50 (dump_stabs_section): Clear string_offset, free string table.
52 2003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
54 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
55 'bit count' in icon groups.
57 2003-09-30 Chris Demetriou <cgd@broadcom.com>
59 * NEWS: Add an indication of the cutoff for 2.14.
61 2003-09-30 Chris Demetriou <cgd@broadcom.com>
63 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
65 2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
67 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
68 (get_symbol_index_type): Likewise.
70 2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
72 * readelf.c (process_version_sections): Indent version names.
74 2003-09-15 Anthony Green <green@redhat.com>
76 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
80 2003-09-14 Andreas Jaeger <aj@suse.de>
82 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
83 unneeded (void *) casts.
86 * arparse.y: Likewise.
88 * binemul.c: Likewise.
89 * binemul.h: Likewise.
93 * budemang.c: Likewise.
94 * budemang.h: Likewise.
95 * coffdump.c: Likewise.
96 * coffgrok.c: Likewise.
97 * cxxfilt.c: Likewise.
100 * deflex.l: Likewise.
101 * dlltool.c: Likewise.
102 * dlltool.h: Likewise.
103 * dllwrap.c: Likewise.
104 * emul_aix.c: Likewise.
105 * filemode.c: Likewise.
107 * nlmconv.c: Likewise.
108 * nlmconv.h: Likewise.
109 * nlmheader.y: Likewise.
113 * rcparse.y: Likewise.
114 * rdcoff.c: Likewise.
116 * rename.c: Likewise.
117 * resbin.c: Likewise.
118 * rescoff.c: Likewise.
121 * srconv.c: Likewise.
123 * strings.c: Likewise.
124 * sysdump.c: Likewise.
125 * sysinfo.y: Likewise.
126 * syslex.l: Likewise.
127 * unwind-ia64.c: Likewise.
128 * unwind-ia64.h: Likewise.
129 * version.c: Likewise.
130 * windres.c: Likewise.
131 * windres.h: Likewise.
132 * winduni.c: Likewise.
133 * wrstabs.c: Likewise.
135 2003-09-10 James E Wilson <wilson@specifixinc.com>
137 * MAINTAINERS: Update my e-mail address.
139 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
141 * MAINTAINERS: Update my e-mail address.
143 2003-09-04 Nick Clifton <nickc@redhat.com>
145 * MAINTAINERS: Make it clear what should be done with patches to
146 the top level configure files (other than config.guess and
147 config.sub). Add binutils@sources.redhat.com as an address to
148 which patches can be sent.
150 2003-09-04 Nick Clifton <nickc@redhat.com>
152 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
154 2003-09-03 Andrew Cagney <cagney@redhat.com>
156 * objdump.c: Refer to init_disassemble_info in comments.
157 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
158 init_disassemble_info.
160 2003-09-03 Nick Clifton <nickc@redhat.com>
162 * objdump.c (struct objdump_disasm_info): Add new fields
163 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
164 (process_section_p): New function: Returns TRUE if a section
166 (disassemble_section): New function: Contains the body of
167 disassemble_data(), but just for one section.
168 (disassemble_data): Use bfd_map_over_sections to walk section
170 (find_stabs_section): New function: Find a stabs containing
171 section and then dump it.
172 (dump_stabs_section): New function: Use bfd_map_over_sections
173 to find the section to dump.
174 (dump_stabs): Use dump_stabs_section.
175 (dump_section): New function: Display the contents of a
177 (dump_data): Use bfd_map_over_sections to display section
179 (dump_relocs_in_section): Display the relocs in a given section.
180 (dump_relocs): Use bfd_map_over_sections to display relocs.
181 (adjust_addresses): New function: Adjust the vma and lma of
183 (dump_bfd): Use bfd_map_over_sections.
184 * doc/binutils.texi: Document the "objdump -s" (no longer)
185 dumps empty sections.
187 2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
189 * objdump.c: Improve comments/documentation.
190 dump_data: Eliminate duplicate function calls to bfd_section_size.
192 2003-09-02 Alan Modra <amodra@bigpond.net.au>
194 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
196 2003-08-21 Nick Clifton <nickc@redhat.com>
198 * po/tr.po: Updated Turkish translation.
200 2003-08-14 Alan Modra <amodra@bigpond.net.au>
202 * dep-in.sed: Remove libintl.h.
203 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
205 * Makefile.in: Regenerate.
207 2003-08-11 Ian Lance Taylor <ian@airs.com>
209 * readelf.c (process_archive): Fix error handling. Remove memory
212 * readelf.c: Add ability to read archives.
213 (archive_file_offset): New variable.
214 (archive_file_size): New variable.
215 (get_data): Include archive_file_offset in file offset
216 calculation when fseeking.
217 (process_program_headers): Likewise.
218 (process_symbol_table): Likewise.
219 (process_dynamic_segment): Handle computation of end of file
220 position when the file is in an archive.
221 (process_object): New function. Contains the body of
223 (process_archive): New function. Call process_object on each
224 member of an archive.
225 (process_file): Detect archives and handle appropriately.
226 * Makefile.am: Add dependency on aout/ar.h for readelf.c
227 * Makefile.in: Regenerate.
228 * NEWS: Document readelf's new ability.
229 * doc/binutils: Alter text to say that readelf supports archives
230 and 64-bit ELF files.
232 2003-08-08 Nick Clifton <nickc@redhat.com>
234 * po/fr.po: Updated French translation.
236 2003-08-05 Alan Modra <amodra@bigpond.net.au>
238 * objcopy.c: Remove unnecessary prototypes and casts.
239 * objdump.c: Remove unnecessary casts.
240 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
241 (get_osabi_name): Move so we don't need a forward declaration.
243 2003-08-04 Bradley Harrington <bharring@us.ibm.com>
244 Alan Modra <amodra@bigpond.net.au>
246 * objdump.c (include_paths, include_path_count): New vars.
247 (usage): Describe --include.
248 (long_options): Add "include".
249 (add_include_path): New function.
250 (struct print_file_list): Make filename const. Add modname.
251 (try_print_file_open, update_source_path): New functions.
252 (show_line): Use them.
253 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
255 2003-07-30 Alan Modra <amodra@bigpond.net.au>
257 * objdump.c: Remove unnecessary prototypes.
258 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
259 code, and print relocs when dump_dynamic_reloc_info.
260 (disassemble_data): Read and handle dynamic relocs. Correct reloc
261 skip code. Formatting.
262 (dump_bfd): Don't dump dynamic relocs when disassembling.
264 2003-07-29 Ben Elliston <bje@wasabisystems.com>
266 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
267 maintenance defaults to the blanket write privilege maintainers.
269 2003-07-29 Michael Meissner <gnu@the-meissners.org>
271 * MAINTAINERS: Updated my email address.
273 2003-07-29 Nick Clifton <nickc@redhat.com>
275 * objdump.c: Update to ISO C.
277 2003-07-24 Nick Clifton <nickc@redhat.com>
279 * objdump.c (disassemble_data): Do not ignore sections without the
280 LOAD flag when disassemble_all is true. Only print a message
281 about disassembling a section if it contains some data.
283 * po/fr.po: Updated French translation.
285 2003-07-23 Nick Clifton <nickc@redhat.com>
287 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
288 left in. Some formatting tidy ups.
290 2003-07-22 Salvador Eduardo Tropea <set@computer.org>
292 * objdump.c: New command line option --debugging-tags.
293 * doc/binutils.texi: Document new command line option.
294 * prdbg.c: Code to print the debug info as tags compatible
296 * budbg.h: Adjust prototype.
297 * NEWS: Mention new switch
299 2003-07-18 Nick Clifton <nickc@redhat.com>
301 * objdump.c (main) :Accept multiple -M switch.
302 * doc/binutils.texi: Document that multiple -M switches are
303 accepted and that a single -M switch can contain comma
306 2003-07-17 Nick Clifton <nickc@redhat.com>
308 * objdump.c (main): Issue a warning message if multiple -M
311 * doc/binutils.texi (objdump): Update documentation about -M
314 2003-07-17 Nick Clifton <nickc@redhat.com>
316 * po/es.po: New Spanish translation.
318 2003-07-11 Alan Modra <amodra@bigpond.net.au>
320 * po/binutils.pot: Regenerate.
322 2003-07-05 Christopher Faylor <cgf@redhat.com>
324 * dlltool.c (prefix_encode): Use a fixed length for alpha.
326 2003-07-04 Christopher Faylor <cgf@redhat.com>
328 * dlltool.c (prefix_encode): New function. Encode temp file prefix
330 (dlltmp): Pass address of pointer being alloced or suffer neverending
332 (make_one_lib_file): Allocate enough space for new longer stub names.
333 (gen_lib_file): Ditto.
334 (main): Generate the temp file prefix from the pid if prefix was not
335 specified on the command line.
337 2003-07-04 Nick Clifton <nickc@redhat.com>
339 * readelf.c (get_data): Print (unsigned) hex values for size and
340 offset in error messages.
341 (process_section_headers): If the string table could not be
342 allocated, do not continue.
344 2003-07-01 Jakub Jelinek <jakub@redhat.com>
346 * readelf.c (dynamic_segment_ia64_val): Print address and newline
347 for sections by default. Comment fix.
349 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
351 * rcparse.y (res_text_field): New res_id variable.
352 (res_null_text): New static const struct res_id object,
353 with empty unicode name field.
354 (control): Pop parsing of optresidc up one level. Set
355 res_text_field to $2 except for controls which do not accept
356 a text field. Set res_text_field to res_null_text for the
357 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
358 (control_params): Adjust to use res_text_field rather
360 (COMBOBOX): Add comment about discrepency between documented
361 vs. observed default style.
362 * resrc.c (define_control): Make first param const.
363 * windres.h (define_control): Adjust prototype.
365 2003-06-27 Nick Clifton <nickc@redhat.com>
367 * objcopy.c (copy_object): Replace call to
368 bfd_create_gnu_debuglink_section with separate calls to
369 bfd_add_gnu_debuglink_section and
370 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
373 2003-06-26 Roland McGrath <roland@redhat.com>
375 * readelf.c (loadaddr): Variable removed.
376 (dynamic_info, version_info): Fix type long -> bfd_vma.
377 (program_headers): New variable.
378 (get_program_headers): New function, broken out of
379 process_program_headers.
380 (process_program_headers): Call it. Don't set `loadaddr'.
381 (slurp_ia64_unwind_table): Use get_program_headers.
382 (process_corefile_note_segments): Likewise.
383 (offset_from_vma): New function.
384 (process_relocs, process_dynamic_segment): Call that instead of
385 subtracting `loadaddr'.
386 (process_version_sections, process_symbol_table): Likewise.
387 (process_mips_specific): Likewise.
389 2003-06-26 Nick Clifton <nickc@redhat.com>
391 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
392 (OPTION_ONLY_KEEP_DEBUG): New.
393 (strip_options): Add --only-keep-debug.
394 (copy_options): Likewise.
395 (is_strip_section): Invert return value if STRIP_NONDEBUG is
397 (copy_object): Do not copy private data when STRIP_NONDEBUG is
399 (setup_section): Likewise.
400 (strip_main): Handle --only-keep-debug.
401 (copy_main): Likewise.
402 * NEWS: Mention new switch
403 * doc/binutils.texi: Document new switch.
405 2003-06-25 Alan Modra <amodra@bigpond.net.au>
407 * NEWS: Correct spelling of "relocatable".
408 * objdump.c: Likewise.
409 * sysroff.info: Likewise.
411 2003-06-19 Nick Clifton <nickc@redhat.com>
413 * readelf.c (print_vma): When printing DEC_5 values, if the
414 number is bigger than 99999 switch to using hexadecimal
417 2003-06-11 Nick Clifton <nickc@redhat.com>
419 * objcopy.c (gnu_debuglink_filename): New variable.
420 (OPTION_ADD_GNU_DEBUGLINK): New switch
421 (copy_options): Describe --add-gnu-debuglink switch.
422 Mention that --strip-debug removes sections as well.
423 (is_strip_section): Process the sections removed and kept
424 lists before checking for debugging sections.
425 (add_redefine_syms_file): Make function static.
426 (copy_object): Use is_strip_section.
427 Check to see if a .gnu_debuglink section should be added. If
428 so, call bfd_add_gnu_debuglink.
429 (setup_section): Use is_strip_section.
430 (copy_section): Use is_strip_section.
431 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
432 * NEWS: Mention new objcopy switch.
433 * doc/binutils.texi: Document new switch.
435 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
437 * po/Make-in (DESTDIR): New.
438 (install-data-yes): Support $(DESTDIR).
439 (uninstall): Likewise.
441 2003-06-11 Alan Modra <amodra@bigpond.net.au>
443 * Makefile.in: Regenerate.
445 2003-05-23 Jakub Jelinek <jakub@redhat.com>
447 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
449 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
451 * NEWS: Document the new BSD/POSIX single-character mapping for
452 .comment/.note sections.
454 2003-06-02 Chris Demetriou <cgd@broadcom.com>
455 Jason Thorpe <thorpej@wasabisystems.com>
457 * objcopy.c (redefine_list_append): Add an argument that
458 indicates the context from which this function is being
459 called. Change all callers.
460 (copy_options): Add a new option, --redefine-syms.
461 (copy_usage): Document new option.
462 (copy_main): Handle the --redefine-syms option.
463 * doc/binutils.text (objcopy): Document new option.
465 2003-05-31 Richard Henderson <rth@redhat.com>
467 * readelf.c (byte_get_signed): New.
468 (get_encoded_value): New.
469 (display_debug_frames): Use it. Always pre-process opcodes.
471 2003-05-20 Michal Ludvig <mludvig@suse.cz>
473 * readelf.c (display_debug_frames): Print both registers
476 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
478 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
480 * configure.in: Regenerate.
482 2003-05-13 Michael Eager <eager@mvista.com>
484 * objcopy.c: Treat identical src/dst file names as if only one
485 entered. One Windows creating an output file of the same name as
486 the input file will delete the input file before it is read.
488 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
490 * debug.c (debug_get_real_type): Extend test for circular debug
493 2003-05-12 Nick Clifton <nickc@redhat.com>
495 * configure.in (ALL_LINGUAS): Add zh_CN.
496 * configure: Regenerate.
497 * po/zh_CN.po: New file: Chinese (simplified) translation.
499 2003-05-11 Jason Eckhardt <jle@rice.edu>
501 * MAINTAINERS: Update my mail address.
503 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
505 * readelf.c (dump_relocations): Enlarge the type field in wide
506 mode by one character.
508 2003-05-03 Richard Henderson <rth@redhat.com>
510 * readelf.c (struct Frame_Chunk): Add cfa_exp.
511 (frame_display_row): Just print "exp" for cfa or register
512 defined by a location expression.
513 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
514 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
516 2003-04-30 H.J. Lu <hjl@gnu.org>
518 * objdump.c (only): Change it to char **.
521 (disassemble_data): Check only as an array.
522 (dump_data): Likewise.
523 (dump_relocs): Likewise.
524 (main): Treat only as an array.
526 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
528 * doc/binutils.texi: Fix the documentation for the -fo option.
530 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
532 * readelf.c (get_machine_name) <EM_SH>: Amend return value
535 * readelf.c (decode_location_expression): Don't add a trailing ';'.
537 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
538 Nick Clifton <nickc@redhat.com>
540 * windres.c (long_options): Move close to main, where it is used.
541 Add 'input' and 'output' long options.
542 (main): Accept "-fo" as an alias for "-o". This is for rc
544 * doc/binutils.texi: Mention that -fo is accepted as an alias for
545 -o, but discourage its use.
547 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
549 * windres.c (format_from_name): Make the exit on error
551 (main): Rename the -I option to -J. Introduce -I as a synonym
552 for --include-dir. For backwards compatibility also support the
553 old -I behaviour, but issue a deprecation warning.
554 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
557 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
559 * readelf.c: Replace references to Mitsubishi M32R with
560 references to Renesas M32R.
562 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
564 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
566 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
568 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
569 for debugging information types not supported by objdump.
571 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
573 * configure.in: Recognize canonical form of i[3-6]86-pe*.
574 * configure: Regenerate.
576 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
578 * readelf.c (display_debug_info): Apply RELA relocations on the
580 (byte_put_little_endian, byte_put_big_endian): New functions.
581 (byte_put): New variable.
582 (get_file_header): Initialize it.
584 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
586 * windres.c: Add -l for compatibility with wrc, and rc.
587 Use the short option as a key for long options that have
588 a synonymous short option.
589 * doc/binutils.texi: Added -l to the list of options.
591 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
593 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
594 (main): Just pass the -U option down to the preprocessor.
595 * doc/binutils.texi: Added -U to the list of options.
597 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
599 * windres.c (usage): Report -r option.
600 (main): Ignore the -r option.
601 * doc/binutils.texi: Add -r to the list of options.
603 2003-04-01 Bob Wilson <bob.wilson@acm.org>
605 * MAINTAINERS: Add myself as Xtensa maintainer.
607 2003-04-01 Bob Wilson <bob.wilson@acm.org>
609 * readelf.c: Include "elf/xtensa.h".
610 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
611 targets that use RELA relocations.
612 (dump_relocations): Call elf_xtensa_reloc_type for
613 EM_XTENSA and EM_XTENSA_OLD.
614 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
616 2003-04-01 Nick Clifton <nickc@redhat.com>
618 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
619 thumb-pe*, mcore-pe and mcore-*elf.
620 * configure: Regenerate.
622 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
624 * objdump.c (dump_data): Don't truncate the address to long; make
625 the width large enough, and uniform for all entries in a section.
627 2003-03-31 H.J. Lu <hjl@gnu.org>
629 * readelf.c: Include "libiberty.h".
630 (dynamic_relocations): New.
631 (process_relocs): Properly handle dynamic relocation.
632 (process_dynamic_segment): Fill relocation elements in
635 2003-03-31 Kevin Buettner <kevinb@redhat.com>
637 * readelf.c (read_and_display_attr, read_and_display_attr_value):
638 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
640 (display_debug_lines, display_debug_pubnames, display_debug_info)
641 (display_debug_aranges, display_debug_frames, read_and_display_attr)
642 (read_and_display_attr_value): Add 64-bit DWARF support.
644 2003-03-31 Ian Lance Taylor <ian@airs.com>
646 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
647 (optresid): Handle a resource id that can be a string or a number.
648 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
650 (define_icon_control): Pass a struct res_id to define_control.
651 * windres.h (define_control): Change prototype.
653 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
655 * objcopy (OPTION_FORMATS_INFO): Define.
656 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
657 (copy_options): Likewise.
658 (strip_usage): Add "--info" to usage.
659 (copy_usage): Likewise.
660 (strip_main): Declare formats_info. Iniatilize it to FALSE.
662 (copy_main). Likewise.
663 * doc/binutils.texi. Document the "--info" option for
665 * NEWS: Mention the new command line switch.
667 * objdump.c (endian_string): Move to bucomm.c.
668 (display_info): Likewise.
669 (display_target_list): Likewise.
670 (display_info_table): Likewise.
671 (display_target_tables): Likewise.
672 (main): Assign the return value of display_info to exit_status.
673 * bucomm.c: Include bfdver.h and libbfd.h
674 (display_target_list): Call bfd_nonfatal instead of nonfatal and
675 return 0 on a non-fatal error, 1 on success.
676 (display_info_table): Likewise.
677 * bucomm.h (display_info): Provide a prototype.
678 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
680 * Makefile.in: Regenerate.
682 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
684 * dlltool.c (gen_def_file): Put demangled name comments on
685 own line preceding export name.
687 2003-03-17 Nick Clifton <nickc@redhat.com>
689 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
690 printf for emitting new lines.
692 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
694 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
695 the symbol's value when --size-sort is used, unless -S is used.
696 doc/binutils.texi (--size-sort): For non-bsd formats both the
697 value and size of the symbols are displayed.
699 2003-03-13 Nick Clifton <nickc@redhat.com>
703 2003-03-12 Nick Clifton <nickc@redhat.com>
705 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
707 2003-03-10 Ben Elliston <bje@wasabisystems.com>
709 * MAINTAINERS: Update my mail address.
711 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
713 * stabs.c (BYTES_IN_WORD): Remove definition.
714 * wrstabs.c (BYTES_IN_WORD): Likewise.
716 2003-03-04 Nick Clifton <nickc@redhat.com>
718 * nm.c (main): Print a warning message if --size-sort and
719 --undefined-only are used together.
721 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
723 * nm.c (print_symbol): Remove check for undefined_only.
725 2003-03-03 Nick Clifton <nickc@redhat.com>
727 * po/da.po: Installed latest translation.
729 2003-02-24 Nick Clifton <nickc@redhat.com>
731 * README: Update binutils references to 2.13.
732 Add paragraph about using --disable-nls.
734 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
736 * doc/binutils.texi (nm --size-sort): Update.
738 2003-02-21 James E Wilson <wilson@tuliptree.org>
740 * MAINTAINERS: Update email address.
742 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
744 * readelf.c (get_ia64_dynamic_type): New function.
745 (dynamic_segment_ia64_val): New function.
746 (get_dynamic_type): If machine type is EM_IA_64 call
747 get_ia64_dynamic_val.
748 (get_ia64_section_type_name): Handle sections with types in the
749 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
750 (get_dynamic_flags): If machine type is EM_IA_64 call
751 dynamic_segment_ia64_val.
753 2003-02-21 Bob Wilson <bob.wilson@acm.org>
755 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
756 section title capitalization more consistent. Update descriptions
757 of various options to be consistent with the code. Fix errors and
758 incomplete list in the description of c++filt format options. Remove
759 information about the linker. Change to be more polite about poor
760 bug reports. Replace FDL appendix with include of fdl.texi.
761 * doc/fdl.texi: New file.
763 2003-02-21 Roger Sayle <roger@eyesopen.com>
765 * objcopy.c (filter_symbols): Fix compilation problems with
768 2003-02-19 Christopher Faylor <cgf@redhat.com>
770 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
773 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
775 * rclex.l (handle_quotes): Handle strings spanning more than one line.
777 2003-02-12 Bob Wilson <bob.wilson@acm.org>
779 * nm.c (usage): Add `java' and `gnat' demangle styles and make
781 * objdump.c (usage): Ditto. Also fix some typos.
783 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
785 * debug.c (debug_record_variable): Handle global register variables.
787 * stabs.c (parse_stab): For N_SLINE only include
788 function_start_offset if the symbol is within a function;
789 otherwise, the value is absolute.
791 2003-02-10 Nick Clifton <nickc@redhat.com>
793 * readelf.c (decode_ARM_machine_flags): Handle the
794 EF_ARM_MAVERICK_FLOAT flag.
796 2003-02-04 Andreas Schwab <schwab@suse.de>
798 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
799 long and use %ld in printf format.
801 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
803 * readelf.c (dump_relocations): Reorder the r_info field for
804 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
806 2003-01-21 Daniel Berlin <dan@dberlin.org>
808 * readelf.c (display_debug_loc): Skip address base changes.
810 2003-01-17 Fabio Alemagna <falemagn@aros.org>
812 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
815 2003-01-16 Alan Modra <amodra@bigpond.net.au>
817 * readelf.c: Include elf/ppc64.h.
818 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
819 * Makefile.am: Run "make dep-am".
820 * Makefile.in: Regenerate.
822 2003-01-02 Ben Elliston <bje@redhat.com>
824 * readelf.c (guess_is_rela): Handle EM_IQ2000.
825 (get_machine_name): Likewise.
826 (dump_relocations): Likewise.
827 * NEWS: Mention IQ2000 support.
829 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
831 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
833 2002-12-30 Chris Demetriou <cgd@broadcom.com>
835 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
836 changes in MIPS -M options.
838 2002-12-30 Dmitry Diky <diwil@mail.ru>
840 * Makefile.am: Add msp430 target.
841 * Makefile.in: Regenerate.
842 * readelf.c: Add support for msp430 target.
844 2002-12-27 Chris Demetriou <cgd@broadcom.com>
846 * doc/binutils.texi (objdump): Document MIPS -M options.
848 2002-12-23 Andreas Schwab <schwab@suse.de>
850 * readelf.c (main): Reset dump request after each file.
852 2002-12-23 Nick Clifton <nickc@redhat.com>
854 * nlmconv.c (main): Pass TRUE as third argument to
855 bfd_arch_get_compatible.
857 2002-12-23 Nick Clifton <nickc@redhat.com>
859 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
860 macro. Handle 'S' encoding, accepting 8-bit characters.
861 (main): Parse 'S' encoding.
862 (get_char): Accept 'S' encoding.
863 (print_strings): Use STRING_ISGRAPHIC.
864 (usage): Document support of 'S' encoding.
865 * doc/binutils.texi: Document support of 'S' encoding/
866 * NEWS: Mention new feature.
868 2002-12-20 Alan Modra <amodra@bigpond.net.au>
870 * README <building ar>: Don't use libibery's needed_list or
871 required_list, instead link libiberty/*.o.
873 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
875 * doc/binutils.texi: Fix typos.
877 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
879 * doc/binutils.texi: Add missing parenthesis.
881 2002-12-15 Nick Kelsey <nickk@ubicom.com>
883 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
884 symbols by adding the given prefix to the begining of the symbol
885 name. This is useful to provide name space separation regardless
886 of how the object file was created. Added --prefix-sections=
887 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
888 sections (or all sections with the alloc flag set) by adding the given
889 prefix to the begining of the symbol name.
890 * NEWS: Mention this new feature.
891 * doc/binutils.texi: Document this new feature.
893 2002-12-13 Alan Modra <amodra@bigpond.net.au>
895 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
896 dyn_string_append with dyn_string_append_cstr.
898 * emul_aix.c (ar_emul_aix_create): Remove unused function.
900 2002-12-10 James Cownie <jcownie@etnus.com>
902 * readelf.h (get_TAG_name, get_AT_name,
903 read_and_display_attr_value): Add support for UPC extensions to
905 * NEWS: Mention this new support.
907 2002-12-08 Alan Modra <amodra@bigpond.net.au>
909 * NEWS: Mention that bfd no longer declares a "boolean" type.
911 2002-12-07 Alan Modra <amodra@bigpond.net.au>
913 * readelf.c (process_program_headers): When setting loadaddr, don't
914 assume segment size is 4k. Use p_align instead.
915 (loadaddr): Change from int to long.
916 (dynamic_addr, dynamic_info, version_info): Likewise.
917 (process_dynamic_segment <syminsz>): Likewise.
918 (process_dynamic_segment): Adjust print format string.
919 (rela_addr, rela_size): Delete.
920 (process_relocs): Formatting.
922 2002-12-05 Jim Wilson <wilson@redhat.com>
924 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
925 * configure: Regenerate.
927 2002-12-04 Ian Lance Taylor <ian@airs.com>
929 * MAINTAINERS: Change e-mail address back to airs.com.
931 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
933 * MAINTAINERS: Add self.
935 2002-11-30 Alan Modra <amodra@bigpond.net.au>
937 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
938 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
939 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
940 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
941 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
942 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
943 with TRUE/FALSE. Formatting.
945 2002-11-29 Jakub Jelinek <jakub@redhat.com>
947 * readelf.c Replace occurrences of Elf32_Internal_* and
948 Elf64_Internal_* with Elf_Internal_*.
949 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
950 Zero r_addend fields.
951 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
954 2002-11-23 Nick Clifton <nickc@redhat.com>
956 * size.c (usage): Fix typo describing switch for hex format.
958 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
960 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
961 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
964 2002-11-14 Nick Clifton <nickc@redhat.com>
966 * readelf.c (process_program_headers): Add comment about return
967 value. Ensure that 0 is returned if the headers are not loaded.
968 (process_file): If process_section_headers failed to load the
969 headers disable any tests that rely upon them. Similarly for
970 process_program_headers.
972 2002-11-12 Nick Clifton <nickc@redhat.com>
974 * po/da.po: Updated Danish translation.
976 2002-11-12 Klee Dienes <kdienes@apple.com>
978 * rddbg.c (read_section_stabs_debugging_info): Also recognize
979 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
981 2002-11-11 Christopher Faylor <cgf@redhat.com>
983 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
986 2002-11-11 Christopher Faylor <cgf@redhat.com>
988 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
990 2002-11-07 Nick Clifton <nickc@redhat.com>
992 * configure.in (ALL_LINGUAS): Add 'da'.
993 * configure: Regenerate.
994 * po/da.po: New Danish translation.
996 * readelf.c (get_symbol_index_type): Revert part of previous
997 patch: Display unknown symbol types in decimal, not hex.
999 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1001 * dlltool.c (add_excludes): Don't prefix excluded fastcall
1002 symbols with underscore.
1003 (xlate): Ignore add_underscore for decorated fastcall symbols.
1005 2002-11-07 Eric Kohl <ekohl@rz-online.de>
1007 * deflex.l: Accept '@' as first character of an ID.
1008 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1009 ASM_PREFIX for fastcall symbols.
1010 (scan_drectve_symbols): Handle fastcall symbols when generating
1011 undecorated aliases for symbols in drectve section.
1012 (scan_filtered_symbols): Likewise, with export-all.
1013 (xlate): Likewise, with --kill-at.
1014 (make_imp_label): New function to handle fastcall symbols
1016 (make_one_lib_file): Use make_imp_label instead of make_label
1019 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
1021 * MAINTAINERS: Add self as TIC4X maintainer.
1023 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
1025 * readelf.c (get_symbol_index_type): Add hex number to
1026 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1029 2002-11-04 Alan Modra <amodra@bigpond.net.au>
1031 * readelf.c (byte_get_little_endian): Comment typo fix.
1032 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1033 as the format string.
1034 (dump_relocations): Correct section sym names.
1035 (process_section_headers): Clear symtab_shndx_hdr.
1036 (read_and_display_attr_value): Don't pass indirect string to printf
1037 as the format string.
1038 (display_debug_frames): Indicate when zero terminator found. Decode
1039 DW_EH_PE_pcrel addresses.
1041 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1043 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1044 order to ensure proper disassembly of the valid 0-value opcode.
1045 * configure: Regenerate.
1046 * aclocal.m4: Regenerate.
1047 * config.in: Regenerate.
1048 * configure.in: Regenerate.
1049 * doc/Makefile.in: Regenerate.
1050 * po/binutils.pot: Regenerate.
1052 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1054 * MAINTAINERS: Add self as SH maintainer.
1056 2002-10-23 Ben Elliston <bje@redhat.com>
1058 * doc/binutils.texi (objdump): Document -z and move the entry for
1059 --disassemble-zeroes to the end of the options section (for `z').
1061 2002-10-21 Nick Clifton <nickc@redhat.com>
1063 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1065 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1067 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1069 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1071 * bucomm.c (list_supported_targets): Use bfd_target_list.
1073 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1074 other object errors in preference to bfd_core errors.
1076 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1078 * Makefile.am: Run "make dep-am".
1079 * objdump.c: #include "bfdver.h".
1080 * version.c: Likewise.
1081 * Makefile.in: Regenerate.
1082 * config.in: Regenerate.
1083 * configure: Regenerate.
1084 * po/POTFILES.in: Regenerate.
1086 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
1088 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1089 sections. Allow relocations against the absolute symbol. Don't
1090 use the value in compunit.cu_abbrev_offset if we found a RELA
1093 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1095 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1096 ordinary ones are available.
1098 2002-09-30 H.J. Lu <hjl@gnu.org>
1100 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1101 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1103 2002-09-17 Zack Weinberg <zack@codesourcery.com>
1105 * Makefile.am (CFILES): Add cxxfilt.c.
1106 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1107 (cxxfilt_LDADD): Delete.
1108 Remove all references to underscore.c.
1110 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1111 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1112 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1113 adjustments to fit into binutils framework.
1114 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1116 2002-09-12 Roland McGrath <roland@redhat.com>
1118 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1119 Handle DW_OP_GNU_push_tls_address.
1121 2002-09-11 Nick Clifton <nickc@redhat.com>
1123 * po/tr.po: Updated Turkish translation.
1125 2002-09-10 Nick Clifton <nickc@redhat.com>
1127 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1128 testsuite changes. Add paragraphs about testsuite and config
1131 2002-08-29 Nick Clifton <nickc@redhat.com>
1133 * readelf.c (get_machine_flags): Remove redundant reference to
1136 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1138 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1141 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1143 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1144 (dump_bfd_header): Likewise.
1146 2002-08-27 Alan Modra <amodra@bigpond.net.au>
1148 * nm.c: Revert last change.
1150 2002-08-26 Alan Modra <amodra@bigpond.net.au>
1152 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1153 * objdump.c (slurp_symtab): Likewise.
1154 (slurp_dynamic_symtab): Likewise.
1155 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1157 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
1159 * MAINTAINERS: Change my mailing address.
1161 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1163 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1165 2002-08-22 Nick Clifton <nickc@redhat.com>
1167 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1170 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1172 * readelf.c (parse_args): Change debug_dump_opt to static.
1174 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1176 * stabs.c (parse_stab_argtype): Pass length of physname to
1177 stab_demangle_argtypes.
1178 (stab_demangle_argtypes): Add new parameter - length of physname.
1179 Pass length of physname on to stab_demangle_prefix.
1180 (stab_demangle_prefix): Add new parameter - length of physname.
1181 Use length of physname (if supplied) to compute end of function
1184 2002-08-15 Alan Modra <amodra@bigpond.net.au>
1186 * readelf.c: Include elf/i370.h.
1187 (dump_relocations): Handle EM_S370.
1188 (dynamic_segment_parisc_val): Print \n.
1189 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1191 2002-08-14 Nick Clifton <nickc@redhat.com>
1193 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1194 * objdump.c (usage): Likewise.
1195 * doc/binutils.texi: Likewise.
1197 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1199 * rcparse.y (acc_entry): Don't warn about ALT use with
1202 2002-08-13 H.J. Lu <hjl@gnu.org>
1204 * objcopy.c (copy_object): Don't warn about the unsupported
1205 architecture unless the input target is defaulted or the
1206 output architecture is different from the input.
1208 2002-08-09 Nick Clifton <nickc@redhat.com>
1210 * po/sv.po: Updated Swedish translation.
1212 2002-08-05 Alan Modra <amodra@bigpond.net.au>
1214 * prdbg.c (pr_fix_visibility): Remove assert.
1216 2002-07-31 Nick Clifton <nickc@redhat.com>
1218 * addr2line.c (process_file): Rename parameter 'filename' to
1219 'file_name' in order to avoid shadowing global symbol of the
1223 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1225 * readelf.c (OPTION_DEBUG_DUMP): Define.
1227 (usage): Update help.
1228 (parse_args): Handle --debug-dump separately from -w.
1229 * doc/binutils.texi (readelf): Update documentation.
1231 2002-07-25 Nick Clifton <nickc@redhat.com>
1233 * po/es.po: Updated Spanish translation.
1234 * po/fr.po: Updated French translation.
1236 2002-07-24 Nick Clifton <nickc@redhat.com>
1238 * po/es.po: Updated Spanish translation.
1240 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1242 * Makefile.am: Run "make dep-am".
1243 * Makefile.in: Regenerate.
1245 2002-07-23 Nick Clifton <nickc@redhat.com>
1247 * po/fr.po: Updated French translation.
1249 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1251 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1253 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1255 * budemang.c: Include config.h and string.h/strings.h.
1257 2002-07-18 Denis Chertykov <denisc@overta.ru>
1258 Frank Ch. Eigler <fche@redhat.com>
1260 * readelf.c: Include "elf/ip2k.h".
1261 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1262 (dump_relocations): Likewise.
1263 (get_machine_name): Likewise.
1264 * NEWS: Mention IP2K support.
1266 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1268 * NEWS: Add 'Changes in 2.13'.
1270 2002-07-10 Jakub Jelinek <jakub@redhat.com>
1272 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1273 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1274 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1275 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1276 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1277 (process_gnu_liblist): New.
1278 (process_file): Call it.
1280 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1282 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1283 * Makefile.in: Regenerate.
1285 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1287 * budemang.c: New file, "demangle" function.
1288 * budemang.h: New file.
1289 * addr2line.c (translate_addresses): Use "demangle".
1290 * nm.c (print_symname): Likewise.
1291 * objdump.c (objdump_print_symname): Likewise.
1292 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1293 here since that obfuscates.
1294 * rdcoff.c: Don't #include demangle.h.
1295 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1296 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1297 (HFILES): Add budemang.h. Sort.
1298 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1300 * Makefile.in: Regenerate.
1302 2002-07-01 Matt Thomas <matt@3am-software.com>
1304 * readelf.c: Include "elf/vax.h".
1305 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1306 (dump_relocations): Handle VAX relocations.
1307 (get_machine_flags): Handle VAX machine flags.
1309 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1311 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1313 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1315 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1317 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1319 * nm.c (print_symname): When demangling, strip leading dots from
1320 symbol names to avoid confusing the demangler.
1322 2002-06-25 H.J. Lu <hjl@gnu.org>
1324 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1325 * Makefile.in: Regenerated.
1327 2002-06-21 Igor Schein <igor@txc.com>
1329 * configure.in: Quote bu_cv_have_fopen64.
1330 * configure: Regenerate.
1332 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1334 * configure.in: Check for strcoll.
1335 * configure: Regenerate.
1336 * config.in: Regenerate.
1337 * nm.c (main): Set locale for LC_COLLATE category.
1338 (non_numeric_forward): Use strcoll if available.
1340 2002-06-20 Dave Brolley <brolley@redhat.com>
1342 * MAINTAINERS: Add self as fr30 and frv maintainer.
1344 2002-06-18 H.J. Lu (hjl@gnu.org)
1346 * nm.c: Include "elf/common.h".
1347 (extended_symbol_info): Add elfinfo, a pointer to
1349 (SYM_SIZE): Use elfinfo if it is not NULL.
1350 (get_symbol_type): New function.
1351 (display_archive): Set print_width for each archive member.
1352 (display_file): Likewise.
1353 (display_rel_file): Don't set print_width here.
1354 (print_object_filename_sysv): Handle print_width.
1355 (print_archive_member_sysv): Likewise.
1356 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1357 (print_symbol): Set the elfinfo field in extended_symbol_info
1359 (print_object_filename_sysv): Fix the output format.
1360 (print_symbol_info_sysv): Print type and section for ELF.
1362 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1364 * nm.c (print_size_symbols): Remove assignment, which makes
1365 the symbol's size equal to its value when --size-sort is
1368 2002-06-18 Dave Brolley <brolley@redhat.com>
1370 From Catherine Moore:
1371 * readelf.c (elf/frv.h): #include it.
1372 (guess_is_rela): Support EM_CYGNUS_FRV.
1373 (dump_relocations): Ditto.
1374 (get_machine_name): Ditto.
1375 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1377 2002-06-18 Jakub Jelinek <jakub@redhat.com>
1379 * readelf.c (get_file_header): Only read the first section header if
1380 e_shoff is non-zero.
1382 2002-06-15 H.J. Lu (hjl@gnu.org)
1384 * nm.c (print_size): New variable. Initialize to 0.
1385 (long_options): Add 'S'/"print-size".
1387 (print_symbol_info_bsd): Print size only if print_size is not
1390 * doc/binutils.texi: Document -S/--print-size.
1392 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1394 * nm.c (struct extended_symbol_info): New structure: Add the size
1395 of the symbols to the information provided by the symbol_info
1397 (print_symbols): Pass the symbol size to print_symbol.
1398 (print_size_symbols): Pass the symbol size to print_symbol.
1399 (print_symbol): Extra argument: The size of the symbol. Store
1400 this in the extended_symbol_info structure.
1401 (print_symbol_info): Change type of info parameter to
1402 extended_symbol_info. Display the size, if known.
1403 (print_symbol_info_posix): Likewise.
1404 (print_symbol_info_sysv): Likewise.
1406 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1408 * Makefile.am: Run "make dep-am".
1409 * Makefile.in: Regenerate.
1410 * doc/Makefile.in: Regnerate.
1412 * bucomm.c: Replace CONST with const.
1414 * objdump.c: Likewise.
1416 2002-06-07 H.J. Lu <hjl@gnu.org>
1418 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1419 (DW_CFA_GNU_negative_offset_extended): Likewise.
1420 (DW_CFA_GNU_window_save): Likewise.
1421 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1422 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1424 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
1426 * nm.c: When computing size of symbols for an ELF target use the
1427 internal size field.
1429 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1431 * testsuite/binutils-all/objcopy.exp: clear xfail for
1433 * testsuite/binutils-all/hppa/objdump.exp: Return if
1436 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1438 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1440 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1442 * objdump.c: Fix formatting.
1444 2002-05-29 Ben Elliston <bje@redhat.com>
1446 * MAINTAINERS: Add self as M68k maintainer.
1448 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1450 * readelf.c: Modified/Added DLX elf support.
1452 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1454 * arsup.c: Fix formatting.
1455 * debug.c (debug_record_label): Add missing colon to error
1457 * ieee.c (parse_ieee_ty): Fix spelling typo.
1458 * readelf.c (process_program_headers): Remove English assumption
1459 about making a plural word.
1460 (process_section_headers): Likewise.
1461 (process_relocs): Allow quotes to be translated.
1462 (process_unwind): Likewise,
1463 (process_mips_specific): Improve error message.
1464 (get_note_type): Fix spelling typo.
1466 * configure.in (ALL_LINGUAS): Add sv
1467 * po/sv.po: New file.
1469 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1471 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1472 (unw_print_grmask): Likewise.
1473 (unw_print_frmask): Likewise.
1475 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1477 * arsup.c: Remove ARGSUSED.
1478 * debug.c: Likewise.
1480 * nlmconv.c: Likewise.
1481 * prdbg.c: Likewise.
1482 * stabs.c: Likewise.
1483 * wrstabs.c: Likewise.
1485 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1487 * arlex.l: Use #include "" instead of <> for local header files.
1488 * coffdump.c: Likewise.
1489 * coffgrok.c: Likewise.
1490 * nlmconv.c: Likewise.
1491 * nlmheader.y: Likewise.
1492 * srconv.c: Likewise.
1493 * strings.c: Likewise.
1494 * sysdump.c: Likewise.
1495 * unwind-ia64.h: Likewise.
1496 * windres.h: Likewise.
1497 * winduni.h: Likewise.
1499 2002-05-24 Tom Rix <trix@redhat.com>
1501 * MAINTAINERS: Add self as the d10v maintainer.
1503 2002-05-24 TAMURA Kent <kent@netbsd.org>
1505 * configure.in: Builds dlltool for i386-netbsdpe.
1506 * configure: Regenerate.
1508 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1510 * size.c: Fix formatting.
1511 * srconv.c: Likewise.
1512 * stabs.c: Likewise.
1513 * sysdump.c: Likewise.
1514 * unwind-ia64.c: Likewise.
1515 * wrstabs.c: Likewise.
1517 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1519 * readelf.c (get_segment_type): Add PT_TLS.
1520 (get_elf_section_flags): Add SHF_TLS.
1521 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1522 (process_dynamic_segment): Use puts instead of printf.
1523 (get_symbol_type): Support STT_TLS.
1524 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1525 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1526 Add SEC_THREAD_LOCAL.
1528 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1530 * rdcoff.c: Fix formatting.
1531 * rddbg.c: Likewise.
1532 * readelf.c: Likewise.
1533 * rename.c: Likewise.
1534 * resbin.c: Likewise.
1535 * resrc.c: Likewise.
1536 * resres.c: Likewise.
1538 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1540 * filemode.c: Fix formatting.
1542 * is-ranlib.c: Likewise.
1543 * is-strip.c: Likewise.
1544 * maybe-ranlib.c: Likewise.
1545 * maybe-strip.c: Likewise.
1546 * nlmconv.c: Likewise.
1548 * not-ranlib.c: Likewise.
1549 * not-strip.c: Likewise.
1550 * objcopy.c: Likewise.
1551 * objdump.c: Likewise.
1553 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1555 * objdump.c (dump_headers): Fix output formatting for ELF32
1556 architectures in a BFD64 enabled toolchain.
1558 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1560 * debug.c: Fix formatting.
1561 * debug.h: Likewise.
1562 * dlltool.c: Likewise.
1563 * dllwrap.c: Likewise.
1564 * emul_aix.c: Likewise.
1565 * emul_vanilla.c: Likewise.
1567 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1569 * addr2line.c: Fix formatting.
1571 * arsup.c: Likewise.
1572 * arsup.h: Likewise.
1573 * binemul.c: Likewise.
1574 * binemul.h: Likewise.
1575 * bucomm.c: Likewise.
1576 * coffdump.c: Likewise.
1577 * coffgrok.c: Likewise.
1578 * coffgrok.h: Likewise.
1580 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1582 * MAINTAINERS: Add myself as the second AVR port maintainer.
1584 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1586 * MAINTAINERS: Update my email address.
1588 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1590 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1592 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1594 * configure.in: Replace `*pe' with `pe' throughout.
1595 * configure: Regenerate.
1597 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1599 * Makefile.am: Honour DESTDIR.
1600 * Makefile.in: Regenerate.
1602 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1604 * dlltool.c (process_def_file): Add missing prototype.
1605 (new_directive, assemble_file, main): Likewise.
1606 (process_def_file, new_directive): Make static.
1607 (inform): Rewrite using VA_FIXEDARG.
1608 * dllwrap.c (mybasename): Add missing prototype.
1609 (strhash, main): Likewise.
1610 (inform): Rewrite using VA_FIXEDARG.
1612 (cleanup_and_exit): Use old style function definition.
1613 (strhash): Likewise.
1614 * windres.c (define_resource): Use one memset to clear all of
1615 struct res_resource.
1617 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1618 call to rules that need no lookahead. Check for no lookahead.
1620 2002-05-06 Borut Razem <borut.razem@siol.net>
1622 * rclex.l (get_string): Correct "strings" list handling.
1623 * resrc.c (read_rc_file): Discard strings.
1625 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1627 * ar.c (replace_members): Remove unused var. Formatting fix.
1628 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1630 * MAINTAINERS: Sort port maintainers by CPU.
1632 2002-05-04 Bob Byrnes <byrnes@curl.com>
1634 * size.c (display_archive): Add last_arfile and code to close archives.
1636 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1638 * nm.c (print_symbol): Check returned filename from
1639 bfd_find_nearest_line is non-NULL.
1641 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1643 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1645 2002-04-24 Christian Groessler <chris@groessler.org>
1647 * MAINTAINERS: Changed my email address.
1649 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1651 * arparse.y: Fix syntax warning.
1653 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1655 * readelf.c (fetch_location_list): Remove unused function.
1657 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1658 and display a warning message, then exit the loop.
1660 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1662 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1664 * resrc.c (write_rc_dialog): If charset is non-default value
1665 display all of the DIALOGEX parameters.
1667 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1669 * rcparse.y: Allow two to five parameter in FONT statement of
1671 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1673 (res_to_bin_dialog): Likewise.
1674 * windres.h: Added misssing charset variable to dialog_ex
1677 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1679 * rcparse.y: Set MEMFLAG_PURE by default.
1681 2002-04-09 Bernd Herd <info@herdsoft.com>
1683 * rcparse.y: CLASS definitions in DIALOG resources
1685 Fix typo in BEDIT warning.
1686 Don't add default dialog style when explicit style specified.
1687 Add WS_CAPTION dialog style if CAPTION is specified.
1689 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1690 (handle_quotes) "\a" escape (used for right justified key
1691 definitions in menus) is encodes as binary 8.
1693 * resrc.c (write_rc_dialog): Print style even if it is 0.
1694 (write_rc_directory): Fix overlooked sublang shift bug.
1695 (bin_to_res_dialog): Don't print empty dialog caption.
1697 * resbin.c (bin_to_res_dialog): Use signature to identify
1700 * windres.c (main): Set default LANGUAGE to english/us.
1702 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1704 * resrc.c: print CLASS names in quotes
1706 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1708 * MAINTAINERS: Update my email address.
1710 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1712 * dep-in.sed: Cope with absolute paths.
1713 * Makefile.am (dep.sed): Subst TOPDIR.
1715 * Makefile.in: Regenerate.
1717 2002-03-27 Peter Targett <peter.targett@arc.com>
1719 * MAINTAINERS: Update my email address.
1721 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1723 * Makefile.am: Run "make dep-am".
1724 * Makefile.in: Regenerate.
1725 * doc/Makefile.in: Regenerate.
1726 * po/POTFILES.in: Regenerate.
1727 * aclocal.m4: Regenerate.
1728 * config.in: Regenerate.
1729 * configure: Regenerate.
1731 2002-03-20 Daniel Berlin <dan@dberlin.org>
1733 * readelf.c: Add support for displaying dwarf2 location lists.
1734 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1735 (parse_args): Use 'O' as shorthand for displaying location list
1737 (process_section_headers): Handle debug_loc as well.
1738 (load_debug_loc): New.
1739 (free_debug_loc): New.
1740 (fetch_location_list): New.
1741 (display_debug_loc): New.
1742 (display_debug_info): Call load_debug_loc and free_debug_loc.
1743 (debug_displays): We can display .debug_loc now, too.
1744 (usage): Update usage string.
1745 (read_and_display_attr_value): Note location lists, but don't
1746 display them inline.
1748 2002-03-18 Tom Rix <trix@redhat.com>
1750 * Makefile.am: Add binutils emulation support.
1751 * configure.in: Same.
1752 * configure.tgt: New file. Same.
1753 * ar.c (main): Use ar_emul_parse_arg.
1754 (usage): Use ar_emul_usage.
1755 (replace_members): Use ar_emul_replace, ar_emul_append.
1756 * binemul.c: New file. Define the binutils emulation
1757 layer. Define default methods.
1758 * binemul.h: New file. Binutils emulation layer header file.
1759 * emul_aix.c: New file. AIX binutils emulation.
1760 * emul_vanilla.c: New file. Default binutils emulation.
1761 * Makefile.in: Regenerate.
1764 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1766 * po/fr.po: Updated version.
1768 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1770 * po/fr.po: Updated version.
1772 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1774 * README: Update some version numbers.
1776 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1778 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1779 (Architecture Selection): Likewise.
1781 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1783 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1784 generating .exp file.
1786 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1788 * readelf.c (dump_relocations): Fix typo.
1790 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1792 * NEWS: Mark 2.12 branch.
1794 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1796 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1797 types for 64-bit MIPS. Narrow some fields for 80-char
1799 (dump_relocations): Change spelling from 'unrecognised'
1801 (decode_ARM_machine_flags): Likewise.
1802 (parse_args): Likewise.
1803 (read_and_display_attr_value): Likewise.
1804 (display_debug_section): Likewise.
1806 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1808 * NEWS: Mention support for MMIX.
1810 2002-02-13 Matt Fredette <fredette@netbsd.org>
1812 * readelf.c (get_machine_flags): Recognize EF_M68000.
1814 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1816 * MAINTAINERS: Added self as MN10300 co-maintainer.
1818 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1820 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1823 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1825 * MAINTAINERS: List myself as branch maintainer.
1827 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1829 * configure: Regenerate.
1830 * objcopy.c: Update copyright date.
1831 * doc/Makefile.in: Regenerate.
1833 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1835 * nlmconv.c: Back out localtime PARAMS change.
1837 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1839 * objcopy.c (MKDIR): Define.
1840 (copy_archive): Make name_list.name const. Use MKDIR.
1841 Handle duplicate files in archives by making more temp dirs.
1843 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1845 * coffdump.c: Include "getopt.h" after "bucomm.h"
1846 so that macros are defined correctly.
1847 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1848 prototype. Prototype main.
1849 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1851 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1853 * MAINTAINERS: Added self as SH co-maintainer.
1855 2002-02-05 Nick Clifton <nickc@redhat.com>
1857 * po/tr.po: Updated translation.
1859 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1861 * Makefile.am: Run "make dep-am"
1862 * Makefile.in: Regenerate.
1864 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1866 * nm.c (print_value): Mark abfd unused.
1868 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1870 * unwind-ia64.c (unw_decoder): Change second argument
1871 to unsigned int, to match function prototypes.
1873 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1875 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1876 __GNU_LIBRARY__ will be defined.
1879 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1881 * configure: Regenerated.
1883 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1885 * doc/Makefile.am (install): Depend on install-info.
1886 * doc/Makefile.in: Regenerate.
1888 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1890 * objcopy.c (strip_usage): Document -d as an alias
1893 * size.c (usage): Document [-t | --totals] options.
1894 (long_options): Add --totals option.
1895 (main): If the [-t | --totals] option is specified and
1896 the output format is Berkeley-style, print the total
1897 text, data, and bss sizes of all objects listed.
1898 (print_berkeley_format): If the [-t | --totals] option
1899 is specified, track the total text, data, and bss
1901 * doc/binutils.texi (size): Document [-t | --totals] options.
1902 (strip): Document -d as an alias for --strip-debug.
1903 * NEWS: Mention new feature of size.
1905 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1907 * po/fr.po: Updated version.
1908 * po/es.po: Updated version.
1910 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1912 * addr2line.c (usage): Update text to provide verbose
1913 description of the command line options.
1914 * ar.c (usage): Update text to provide verbose
1915 description of the command line options.
1916 (main): Accept -h and -H when running as ranlib.
1917 * coffdump.c (show_usage): Update text to provide verbose
1918 description of the command line options.
1919 * dlltool.c (main): Accept -H as an alias for --help.
1920 * nlmconv.c (show_usage): Update text to provide verbose
1921 description of the command line options.
1922 * nm.c (usage): Replace OPTIONS with option(s).
1923 (main): Accept -H as an alias for --help.
1924 * objcopy.c (strip_main): Accept -H as an alias for --help.
1925 * objdump.c (main): Accept -v as an alias for --verbose.
1926 * readelf.c (usage): Adjust format to match style used in
1928 * size.c (usage): Update text to provide verbose description
1929 of the command line options.
1930 (main): Accept -v, -h and -H as command line options.
1931 * srconv.c (show_usage): Update text to provide verbose
1932 description of the command line options.
1933 * strings.c (main): Accept -H and -v as command line options.
1934 (usage): Update text to provide verbose description of the
1935 command line options.
1936 * sysdump.c (show_usage): Update text to provide verbose
1937 description of the command line options.
1938 * windres.c (usage): Adjust format to match style used in
1941 * coffdump.c: Fix formatting.
1942 * nlmconv.c: Fix formatting.
1943 * srconv.c: Fix formatting.
1944 * sysdump.c: Fix formatting.
1946 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1948 * Makefile.am: Run "make dep-am".
1949 * Makefile.in: Regenerate.
1951 2002-01-18 Andreas Jaeger <aj@suse.de>
1953 * version.c (print_version): Update year.
1955 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1957 * readelf.c (get_machine_name): Handle EM_PPC64.
1958 (guess_is_rela): Here too.
1960 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1962 * po/binutils.pot: Regenerate.
1963 * po/fr.po: Regenerate.
1964 * po/tr.po: Regenerate.
1966 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1968 * po/tr.po: Import new version.
1970 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1972 * readelf.c (get_ppc64_dynamic_type): New.
1973 (get_dynamic_type): Call it.
1975 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1977 * objcopy.c (copy_usage): Use "options" instead of "switches".
1978 (strip_usage): Use "options" instead of "switches".
1979 * doc/binutils.texi (dlltool): Refer to "options" instead of
1982 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1984 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1986 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1988 * po/es.po: Import from translation project.
1989 * configure.in (ALL_LINGUAS): Add es.
1990 * configure: Regenerate.
1992 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1994 * readelf.c (get_netbsd_elfcore_note_type): Use
1995 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1997 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1999 * readelf.c: Update copyright years.
2000 (get_note_type): Return a const char *.
2001 (get_netbsd_elfcore_note_type): New function.
2002 (process_note): Use get_netbsd_elfcore_note_type to get
2003 the note type string for NetBSD ELF core files.
2005 2002-01-06 Steve Ellcey <sje@cup.hp.com>
2007 * readelf.c (get_ia64_segment_type): Add support for macros.
2008 (get_segment_type): Add support for IA64 specific macros.
2010 2001-12-20 Julian v. Bock <julian@wongr.net>
2012 * readelf.c (print_symbol): New function: Print a formatted symbol
2013 name. If --wide is specified do not truncate it.
2014 (dump_relocations): Use print_symbol() to print symbol names.
2015 (process_symbol_table): Likewise.
2016 (process_syminfo): Likewise.
2017 (process_mips_specific): Likewise.
2018 (usage): Document new feature of --wide switch.
2019 * doc/binutils.texi (objdump): Document additional behaviour of
2022 2001-12-18 Michael Snyder <msnyder@redhat.com>
2024 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2025 (copy_object): Don't set the start address or flags of a core file.
2026 (copy_section): Don't relocate a core file. Don't copy contents
2027 if the input section has the contents flag set, but the output
2028 section does not (which happens with the fake 'note' pseudo-
2029 sections that BFD creates for corefiles).
2031 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2033 * readelf.c (get_machine_flags): Recognize header flags for ABI and
2034 ASE extensions. More robust code for ISA checking. Ignore empty fields
2035 in header flags for GNU extensions.
2037 2001-12-18 Alan Modra <amodra@bigpond.net.au>
2039 * objcopy.c (copy_archive): Set output bfd format outside the loop.
2041 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2043 * po/ja.po: Import from translation project.
2044 * configure.in (ALL_LINGUAS): Add ja.
2045 * configure: Regenerate.
2047 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2049 * addr2line.c (main): Protoype.
2050 * ar.c (main): Protoype.
2051 * nm.c (main): Protoype.
2052 * objcopy.c (main): Protoype.
2053 * objdump.c (main): Protoype.
2054 * size.c (main): Protoype.
2055 * strings.c (main): Protoype.
2057 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2059 * readelf.c (symtab_shndx_hdr): New global.
2060 (SECTION_HEADER_INDEX): Define.
2061 (SECTION_HEADER_NUM): Define.
2062 (SECTION_HEADER): Define.
2063 (GET_ELF_SYMBOLS): Pass two params rather than three.
2064 (get_32bit_elf_symbols): Take file and section args. Read and
2065 use SHT_SYMTAB_SHNDX.
2066 (get_64bit_elf_symbols): Likewise.
2067 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2068 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2069 Remember symtab_shdx_hdr.
2070 (process_program_headers): Scan from index 1 for segment map.
2071 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2073 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2074 (process_unwind): Likewise.
2075 (process_version_sections): Likewise.
2076 (process_symbol_table): Likewise.
2077 (display_debug_info): Likewise.
2078 (process_dynamic_segment): Fake up a symtab section for changed
2080 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2081 (process_program_headers): Kill signed/unsigned warning.
2082 (load_debug_str): Likewise.
2083 (display_debug_info): Likewise.
2085 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2087 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2089 2001-12-11 Alan Modra <amodra@bigpond.net.au>
2091 * readelf.c (process_file_header): Print extended e_shnum and
2092 e_shdtrndx values. Set elf_header values for same.
2093 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2094 (get_64bit_section_headers): Likewise.
2095 (process_section_headers): Update calls.
2096 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2098 2001-12-10 Jakub Jelinek <jakub@redhat.com>
2100 * objcopy.c (setup_section): Copy entsize.
2102 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2104 * readelf.c (guess_is_rela): Add support for stormy16.
2105 (dump_relocations): Likewise.
2106 (get_machine_name): Likewise.
2108 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2110 * dllwrap.c (main) Replace multiple strings describing a
2111 single error with a single, newline escaped sentence to permit
2112 better translation into foreign languages.
2114 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2117 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2119 * strings.c (get_char): Initialize value.
2121 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2123 * arlex.l: Silence compile warnings.
2124 * arsup.h: Likewise. Fix formatting.
2126 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2128 * strings.c: Include config.h before bfd.h.
2129 (file_off): New type.
2130 (file_open): Define.
2131 (print_strings): Use file_off instead of file_ptr. Print addresses
2132 which don't fit into long correctly.
2133 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2135 (strings_file): Use file_off instead of file_ptr. Use file_open.
2136 * configure.in: Check for getc_unlocked.
2137 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2139 * configure: Rebuilt.
2140 * config.h.in: Rebuilt.
2142 2001-11-29 H.J. Lu <hjl@gnu.org>
2144 * bucomm.c (make_tempname): Revert the changes made on
2145 2001-11-14 and 2001-11-12. They won't work with directories.
2147 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2149 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2150 CFLAGS_FOR_TARGET to runtest in environment.
2151 * Makefile.in: Rebuild.
2152 * doc/Makefile.in: Rebuild.
2154 2001-11-28 Mike Stump <mrs@wrs.com>
2156 * objcopy.c (setup_section): Preserve SEC_RELOC when
2157 --set-section-flags is used.
2159 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2161 * readelf.c (do_debug_str): New variable.
2162 (display_debug_str): New function: Display the contents of a
2164 (load_debug_str): New function: Load in the contents of a
2166 (free_debug_str): New function: Free the memory used by
2168 (fetch_indirect_string): Retrieve a string from the .debug_str
2171 (parse_args): Accept -ws.
2172 (process_section_headers): Allow the display of the .debug_str
2174 (read_and_display_attr_value): Use fetch_indirect_string. Show
2175 offset into .debug_str section.
2176 (display_debug_info): Use load_debug_str and free_debug_str.
2177 (debug_displays): Add .debug_str.
2178 * doc/binutils.texi: Document -ws.
2180 2001-11-19 Andreas Jaeger <aj@suse.de>
2182 * testsuite/binutils-all/objdump.exp: Add x86-64.
2184 2001-11-15 Andreas Schwab <schwab@suse.de>
2186 * readelf.c: Fix warnings without terminating newline.
2188 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2190 * doc/binutils.texi (objdump): Document ppc -M options.
2192 2001-11-14 Andreas Jaeger <aj@suse.de>
2194 * doc/binutils.texi (objdump): Fix description to use x86-64.
2196 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2198 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2199 not all systems provide mkstemp.
2201 2001-11-14 Alan Modra <amodra@bigpond.net.au>
2203 * doc/binutils.texi (objdump): Document x86 -M options.
2205 2001-11-13 Keith Walker <keith.walker@arm.com>
2207 * readelf.c (read_and_display_attr_value): New function to
2208 handle DW_FORM_indirect.
2209 (read_and_display_attr): Use it.
2211 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
2213 * readelf.c (display_debug_lines): Deal with unknown standard
2214 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2217 2001-11-13 Timothy Wall <twall@alum.mit.edu>
2219 * MAINTAINERS: Add self as tic54x maintainer. This target
2220 includes the IBM C54XDSP clone.
2222 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2224 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2226 2001-11-09 Jeffrey A Law (law@cygnus.com)
2228 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2229 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2230 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2231 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2232 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2233 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2234 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2236 * readelf.c (get_elf_class): Fix ISO portability glitch.
2237 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2239 2001-11-07 Jakub Jelinek <jakub@redhat.com>
2241 * readelf.c (debug_str, debug_str_size): New.
2242 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2244 (read_and_display_addr): Handle DW_FORM_strp.
2245 (display_debug_info): Read .debug_str section if present,
2246 so that DW_FORM_strp can be handled.
2247 Fix test for non-existant .debug_abbrev section.
2249 2001-11-05 Jakub Jelinek <jakub@redhat.com>
2251 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2253 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2255 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2257 * MAINTAINERS: Add self as s390/s390x maintainer.
2259 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
2261 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2263 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2265 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2266 * configure: Regernate.
2267 * po/fr.po: New file.
2268 * po/tr.po: New file.
2270 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2272 * MAINTAINERS: Add self as MMIX port maintainer.
2273 * readelf.c: Include elf/mmix.h.
2274 (guess_is_rela): MMIX is RELA.
2275 (dump_relocations): Handle MMIX relocations.
2276 * Makefile.am: Regenerate dependencies.
2277 * Makefile.in: Regenerate.
2279 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2281 * readelf.c (parse_args): Handle multiple options to the -w
2284 2001-10-12 Jakub Jelinek <jakub@redhat.com>
2286 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2287 LOPROC, LOOS and LOUSER.
2289 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
2291 * MAINTAINERS: Update my email address.
2293 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2295 * doc/Makefile.in: Regenerate.
2296 * configure: Regenerate.
2298 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2300 * readelf.c (display_debug_line, display_debug_pubnames,
2301 display_debug_info, display_debug_frames): Detect and warn
2302 about 64-bit format entries.
2303 (display_debug_aranges): Reword 64-bit warning.
2304 (debug_displays): Add .debug_pubtypes as a known, but not yet
2305 supported, debug section.
2307 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2309 * coffdump.c (PROGRAM_VERSION): Delete.
2310 (main <'V'>): Call print_version.
2311 * srconv.c: Likewise.
2312 * sysdump.c: Likewise.
2313 * version.c (program_version): Remove.
2314 (print_version): Use BFD_VERSION_STRING. Just print the current
2315 year in copyright message.
2316 * addr2line.c (program_version): Remove unused declaration.
2317 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2318 place of BFD_VERSION.
2319 * Makefile.am (Makefile): Depend on bfd/configure.in.
2320 (cplus-dem.o): Depend on Makefile.
2322 * Makefile.in: Regenerate.
2324 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2326 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2327 format .debug_arange sections.
2328 (main): Add missing prototype.
2330 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2332 * Makefile.am: Update dependencies with "make dep-am".
2333 * Makefile.in: Regenerate.
2335 2001-09-28 Richard Henderson <rth@redhat.com>
2337 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2339 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2341 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2343 (non_fatal): Likewise.
2344 * objdump.c (objdump_sprintf): Likewise.
2345 * readelf.c (error): Likewise.
2348 2001-09-25 Jakub Jelinek <jakub@redhat.com>
2350 * readelf.c (do_wide): New.
2351 (options): Add --wide.
2352 (usage, parse_args): Likewise.
2353 (process_program_headers): Put each segment on a single line if
2355 (process_section_headers): Put each section on a single line if
2357 * doc/binutils.texi: Document it.
2360 2001-09-25 Alan Modra <amodra@bigpond.net.au>
2362 * readelf.c (print_vma): Print 8 digits of low hex value.
2364 2001-09-24 Andreas Jaeger <aj@suse.de>
2366 * nlmconv.c: Fix warnings about unused attributes and function
2369 * strings.c: Add prototype for get_char.
2371 2000-09-19 H.J. Lu <hjl@gnu.org>
2373 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2374 $(srcdir)/cxxfilt.man.
2375 * doc/Makefile.in: Rebuild.
2377 2001-09-19 Alan Modra <amodra@bigpond.net.au>
2379 * objcopy.c (copy_main): Correct rename-section string parsing.
2380 Consolidate new_name parsing, and error messages.
2382 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2384 * addr2line.c: Don't include <ctype.h>.
2385 (main): For gettext, also set the LC_CTYPE locate facet.
2386 * ar.c (main): Likewise.
2387 * coffdump.c (main): Likewise.
2388 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2389 (main): For gettext, also set the LC_CTYPE locate facet.
2390 Use ISALNUM instead of isalpha/isdigit.
2391 * dllwrap.c: Don't include <ctype.h>.
2392 (main): For gettext, also set the LC_CTYPE locate facet.
2393 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2394 (main): For gettext, also set the LC_CTYPE locate facet.
2395 Use TOUPPER instead of islower/toupper.
2396 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2397 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2398 Use TOUPPER instead of islower/toupper.
2399 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2400 * objcopy.c (main): Likewise.
2401 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2402 (disassemble_bytes): Use ISPRINT instead of isprint.
2403 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2404 (dump_data): Use ISPRINT instead of isprint.
2405 (main): For gettext, also set the LC_CTYPE locate facet.
2406 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2407 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2408 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2409 Use TOUPPER instead of islower/toupper.
2410 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2411 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2412 (write_rc_accelerators): Use ISPRINT instead of isprint.
2413 (write_rc_rcdata): Likewise.
2414 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2415 * srconv.c (main): Likewise.
2416 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2417 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2418 isdigit/isupper/islower.
2419 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2420 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2421 stab_demangle_prefix, stab_demangle_qualified,
2422 stab_demangle_template, stab_demangle_type,
2423 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2424 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2425 (isgraphic): Use ISPRINT instead of isascii/isprint.
2426 (main): Remove HAVE_LC_MESSAGES dependency.
2427 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2428 (pbarray): Use ISPRINT instead of isprint.
2429 (main): For gettext, also set the LC_CTYPE locate facet.
2430 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2431 (format_from_filename): Use ISPRINT instead of isprint.
2432 (main): For gettext, also set the LC_CTYPE locate facet.
2433 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2434 (unicode_print): Use ISPRINT instead of isprint.
2435 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2436 (stab_variable): Use ISDIGIT instead of isdigit.
2438 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2440 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2441 Replace bfd_read call with call to bfd_bread.
2442 (extract_file): Likewise.
2444 * objdump.c (dump_section_header): Cast section->filepos to
2445 unsigned long to suit printf format string.
2446 * readelf.c (process_section_headers): Similarly for sh_offset.
2447 (process_unwind): Likewise.
2449 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2451 * strings.c (encoding, encoding_bytes): New variables.
2452 (long_options): Add --encoding.
2453 (main): Accept -e and --encoding.
2454 (get_char): New function. Read a, possibly wide, character from
2456 (print_strings): Use get_char().
2457 (usage): Document new command line option.
2458 * doc/binutils.texi: Document new command line option.
2459 * NEWS: Announce new command line option.
2461 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2463 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2464 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2465 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2466 Removed EM_CYGNUS_ARC.
2468 2001-09-04 Jeffrey A Law (law@cygnus.com)
2470 * readelf.c: Include elf/h8 for H8 series definitions.
2471 (guess_is_rela): H8 series if RELA.
2472 (dump_relocations): Handle H8 series relocations.
2474 2001-08-31 Eric Christopher <echristo@redhat.com>
2476 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2478 2001-08-29 Peter Targett <peter.targett@arccores.com>
2480 * MAINTAINERS: Include ARC Maintainer.
2482 2001-08-29 Ben Elliston <bje@redhat.com>
2484 * stabs.c (stab_demangle_template): Initialise s4.
2486 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2488 * readelf.c (dump_relocations): Recognise EM_PPC64.
2490 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2492 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2494 2001-08-25 H.J. Lu <hjl@gnu.org>
2496 * nm.c (print_width): New.
2497 (display_rel_file): Set `print_width' according to
2499 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2501 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2503 * objcopy.c (use_alt_mach_code): New variable.
2504 (OPTION_ALT_MACH_CODE): Define.
2505 (copy_options): Added --alt-machine-code.
2506 (copy_main): Handle it.
2507 (copy_object): Switch to alternate machine code if requested.
2508 * doc/binutils.texi: Document new option.
2511 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2513 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2515 2001-08-21 H.J. Lu <hjl@gnu.org>
2517 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2518 (display_debug_info): Cast for 64bit hosts.
2519 (display_debug_frames): Likewise.
2520 (process_mips_specific): Likewise.
2522 2001-08-21 Andreas Jaeger <aj@suse.de>
2524 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2526 * sysdump.c: Add missing prototypes.
2527 * srconv.c: Likewise.
2528 * unwind-ia64.c: Likewise.
2529 * coffdump.c: Likewise.
2531 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2533 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2534 of declaring xcalloc.
2536 2001-08-10 H.J. Lu <hjl@gnu.org>
2538 * nm.c (print_value): Add one arg, bfd *.
2539 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2540 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2541 (print_symbol_info_sysv): Likewise.
2542 (print_symbol_info_posix): Likewise.
2544 * objdump.c (dump_section_header): Replace printf_vma with
2546 (print_section_stabs): Likewise.
2547 (dump_bfd_header): Likewise.
2548 (objdump_print_value): Replace sprintf_vma with
2550 (disassemble_bytes): Likewise.
2551 (dump_reloc_set): Likewise.
2553 2001-08-10 Andreas Jaeger <aj@suse.de>
2555 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2557 * configure: Regenerate.
2559 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2561 * readelf.c: Add missing prototypes.
2562 * objdump.c: Likewise. Format existing prototypes.
2564 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2566 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2567 of any RELA relocation for the abbrev_offset memory location that
2568 refers to the .debug_abbrev section symbol.
2570 2001-08-07 H.J. Lu <hjl@gnu.org>
2572 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2573 (main): Return process_file ().
2575 2001-08-05 Philip Blundell <philb@gnu.org>
2577 * doc/binutils.texi: Use "Thumb" not "THUMB".
2579 2001-08-03 John Healy <jhealy@redhat.com>
2581 Patch suggested by Frank Eigler <fche@redhat.com>.
2582 * objdump.c (disassemble_data): Fill in section member of the
2583 disasm_info structure.
2585 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2587 * configure.in: Added --with-windres option.
2588 * configure: Regenerated.
2590 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2592 * doc/binutils.texi: Use @command{name} for commands;
2593 use @option{-opt} for options; use @table @env for list of options;
2594 remove spaces arround [ | ] in synopsis.
2596 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2599 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2601 * objcopy.c: Fix formatting.
2602 (section_rename): New structure.
2603 (OPTION_RENAME_SECTION): New switch.
2604 (copy_usage): Document new switch.
2605 (add_section_rename): New function: Add a node to the section
2607 (find_section_rename): New function: Find the new name and
2608 flags for a section.
2609 (setup_section): Call find_section_name to determine the name
2610 of the output section.
2611 (copy_main): Handle OPTION_RENAME_SECTION.
2612 * binutils.texi: Document new switch.
2613 * NEWS: Mention new switch.
2615 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2617 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2618 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2619 bug-binutils@gcc.org.
2621 2001-07-28 Matthias Kramm <kramm@quiss.org>
2623 * bucomm.c (list_supported_architectures): New function.
2624 * bucomm.h (list_supported_architectures): Declare.
2625 * objdump.c (usage): Call the above.
2627 2001-07-25 Dave Brolley <brolley@redhat.com>
2629 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2630 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2632 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2634 * README: Update for 2.11. Change bug reporting email address.
2635 * MAINTAINERS: Tidy up. Change bug reporting email address.
2637 2001-07-16 DJ Delorie <dj@redhat.com>
2639 * resres.c (write_res_header): Align header size.
2640 (res_align_file): Calculate alignment correctly.
2642 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2644 * resrc.c (write_rc_resource): Likewise.
2645 * windres.h (SUBLANG_SHIFT): Define - as 10.
2647 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2649 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2651 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2653 * MAINTAINERS: Add notes about branch checkins.
2655 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2657 * readelf.c (display_debug_macinfo): New function, display
2658 .debug_macinfo section.
2659 (do_debug_macinfo): New variable.
2660 (parse_args): Handle "-w[mM]" to mean display macro info.
2661 (process_section_headers): Handle debug_macinfo.
2662 (debug_displays): Replace unsupported function with macinfo
2663 function for .debug_macinfo display.
2664 * doc/binutils.texi: Document new command line switch.
2665 * NEWS: Document new feature of readelf.
2667 2001-07-05 H.J. Lu <hjl@gnu.org>
2669 * objcopy.c (filter_symbols): Don't turn undefined symbols
2672 2001-07-03 H.J. Lu <hjl@gnu.org>
2674 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2677 (dlltool.1): Likewise.
2678 (nlmconv.1): Likewise.
2680 (objcopy.1): Likewise.
2681 (objdump.1): Likewise.
2682 (ranlib.1): Likewise.
2683 (readelf.1): Likewise.
2685 (strings.1): Likewise.
2686 (strip.1): Likewise.
2687 (windres.1): Likewise.
2688 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2689 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2692 * doc/Makefile.in: Regenerated.
2694 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2696 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2698 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2700 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2702 2001-06-29 James Cownie <jcownie@etnus.com>
2704 * readelf.c: Support DWARF 2.1 attributes.
2706 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2708 * readelf.c (GET_DATA_ALLOC): Remove.
2710 (get_data): New function combining above macros, with an extra
2712 (slurp_rela_relocs): Use get_data, and catch error return.
2713 (slurp_rel_relocs): Likewise.
2714 (get_32bit_program_headers): Likewise.
2715 (get_64bit_program_headers): Likewise.
2716 (get_32bit_section_headers): Likewise.
2717 (get_64bit_section_headers): Likewise.
2718 (get_32bit_elf_symbols): Likewise.
2719 (get_64bit_elf_symbols): Likewise.
2720 (process_section_headers): Likewise.
2721 (process_relocs): Likewise.
2722 (slurp_ia64_unwind_table): Likewise.
2723 (process_unwind): Likewise.
2724 (get_32bit_dynamic_segment): Likewise.
2725 (get_64bit_dynamic_segment): Likewise.
2726 (process_dynamic_segment): Likewise.
2727 (process_version_sections): Likewise.
2728 (process_symbol_table): Likewise.
2729 (dump_section): Likewise.
2730 (display_debug_info): Likewise.
2731 (display_debug_section): Likewise.
2732 (process_section_contents): Likewise.
2733 (process_corefile_note_segment): Likewise.
2734 (process_mips_specific): Likewise. Also free econf32, econf64.
2736 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2738 * readelf.c (dump_relocations): Print "bad symbol index" if
2739 symtab == NULL with non-zero symtab_index.
2740 (process_relocs): Don't bomb if reloc section has no symsec.
2742 2001-06-24 H.J. Lu <hjl@gnu.org>
2744 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2746 (copy_main): Apply the the change made to strip_main on
2747 2001-05-30 by accident.
2749 2001-06-23 Andreas Jaeger <aj@suse.de>
2751 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2753 (unw_decode_x2): Likewise.
2754 (unw_decode_x3): Likewise.
2755 (unw_decode_x4): Likewise.
2757 2001-06-23 Ben Elliston <bje@redhat.com>
2759 * MAINTAINERS: Add myself as M88k maintainer.
2761 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2763 * objcopy.c (strip_main): Support -o or --output-file command lien
2766 2001-06-19 H.J. Lu <hjl@gnu.org>
2768 * doc/Makefile.in: Regenerated.
2770 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2772 * readelf.c: Restore formatting.
2774 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2776 * Makefile.am: Move documentation into doc subdirectory.
2777 * Makefile.in: Regenerated.
2778 * binutils.texi: Move into doc subdirectory.
2779 * addr2line.1: Removed.
2781 * dlltool.1: Likewise.
2782 * nlmconv.1: Likewise.
2784 * objcopy.1: Likewise.
2785 * objdump.1: Likewise.
2786 * ranlib.1: Likewise.
2787 * readelf.1: Likewise.
2789 * strings.1: Likewise.
2790 * strip.1: Likewise.
2791 * windres.1: Likewise.
2792 * cxxfilt.man: Likewise.
2793 * doc: New Directory.
2794 * doc/Makefile.am: New file.
2795 * doc/Makefile.in: Generate.
2797 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2799 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2801 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2803 * MAINTAINERS: Update my email address.
2805 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2807 * objcopy.c: Add new switches: --keep-global-symbol,
2808 --keep-symbols, --localize-symbols, --keep-global-symbols and
2810 * binutils.texi: Document new switches.
2811 * objcopy.1: Regenerate.
2812 * NEWS: Announce new feature.
2814 2001-05-28 Andreas Jaeger <aj@suse.de>
2816 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2817 variables, fix format strings.
2819 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2821 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2822 when computing the address of the line to show.
2824 2001-05-16 Richard Henderson <rth@redhat.com>
2826 * readelf.c (do_debug_frames_interp): New.
2827 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2828 (byte_get_big_endian): Likewise.
2829 (parse_args) ['F']: Set do_debug_frames_interp.
2830 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2831 (frame_display_row): Don't trunc pc_begin to int.
2832 (size_of_encoded_value): New.
2833 (display_debug_frames): Handle 64-bit targets. Print raw data
2834 unless do_debug_frames_interp.
2835 (debug_displays): Remove duplicate .debug_frame.
2837 2001-05-15 Ralf Baechle <ralf@gnu.org>
2839 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2840 The former constant was never in active use and is used otherwise
2843 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2845 * readelf.c (process_unwind): Print all unwind sections, not just
2848 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2850 * readelf.c (process_unwind): Remove const specifier.
2852 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2854 * strings.c (isgraphic): Do not use isascii() unless it is needed
2855 for isprint() to work.
2856 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2858 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2860 * NEWS: Announce support for OpenRISC.
2862 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2864 * dlltool.c (do_default_excludes): Initialise to true.
2866 2001-04-10 Alan Modra <amodra@one.net.au>
2868 * MAINTAINERS: Update my email address
2869 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2871 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2873 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2875 2001-03-30 H.J. Lu <hjl@gnu.org>
2877 * readelf.c (process_unwind): Just return if do_unwind is 0.
2879 2001-03-28 Roger Sayle <roger@metaphorics.com>
2881 * dlltool.c (make_one_lib_file): Fix section flags for
2882 .text, .data and .bss in stub ds*.o files to match those
2885 2001-03-29 H.J. Lu <hjl@gnu.org>
2887 * readelf.c (process_unwind): Only do unwind sections for
2890 2001-03-28 H.J. Lu <hjl@gnu.org>
2892 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2893 * Makefile.in: Regenerate.
2895 2001-03-26 Andreas Jaeger <aj@suse.de>
2897 * binutils.texi (nm): Fix texi syntax.
2899 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2901 * binutils.texi: Put @c man begin and @c man end indications
2902 to generate man pages using texi2pod and pod2man. Put @c man title
2903 to identify each man. Add SEEALSO entries.
2904 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2905 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2907 (*.1): Build the man pages from binutils.texi.
2908 * Makefile.in: Regenerate.
2910 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2912 * defparse.y (opt_equal_name): allow "." in name.
2913 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2914 (gen_exp_file): Likewise.
2916 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2918 * NEWS: Document addition of -B switch to objcopy.
2919 * binutils.texi: Document addition of -B switch to objcopy.
2920 * objcopy.c: (copy_options): Add --binary-architecture.
2921 (copy_usage): Document -B/--binary-architecture.
2922 (copy_main): Support -B/--binary-architecture. Set
2923 bfd_external_binary_architecture.
2925 2001-03-11 Andreas Jaeger <aj@suse.de>
2927 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2928 (dump_relocations): Likewise.
2929 (get_machine_name): Likewise.
2931 2001-02-28 Nick Clifton <nickc@redhat.com>
2933 * readelf.c: (struct unw_aux_info): Remove const modifier for
2935 (process_unwind): Remove non-K&R compliant LHS type cast in call
2936 to GET_DATA_ALLOC macro.
2938 2001-02-28 Philip Blundell <pb@futuretv.com>
2940 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2941 ABI is in use; remove ambiguity between the "unknown" EABI and
2942 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2943 renamed EF_xx constants.
2945 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2947 * configure.in (BFD_VERSION): New.
2948 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2949 * configure: Regenerate.
2950 * Makefile.am: Run "make dep-am"
2951 * Makefile.in: Regenerate.
2953 2001-02-14 Nick Clifton <nickc@redhat.com>
2955 * MAINTAINERS: Add "Obvious Fix" rule.
2957 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2959 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2960 literal concatenation.
2962 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2964 * readelf.c (struct unw_aux_info): Remove const from the info member.
2965 (process_unwind): Don't type-cast the third argument to the
2966 GET_DATA_ALLOC macro.
2968 2001-02-11 Nick Clifton <nickc@redhat.com>
2970 * readelf.c (dump_relocations): Free corrected allocated
2972 (process_unwind): Fix compile time warning.
2974 2001-02-10 Nick Clifton <nickc@redhat.com>
2976 * binutils.texi: Document new --unwind option to readelf.
2978 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2980 * readelf.c: Add linux target for S/390.
2982 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2984 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2987 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2989 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2990 * aclocal.m4: Regenerate.
2991 * configure: Regenerate.
2993 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2995 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2996 * objdump.c (bfd_target_vector): Likewise.
2998 2001-02-07 David Mosberger <davidm@hpl.hp.com>
3000 * readelf.c (process_unwind): New function.
3001 (slurp_ia64_unwind_table): Ditto.
3002 (dump_ia64_unwind): Ditto.
3003 (find_symbol_for_address): Ditto.
3004 (slurp_rela_relocs): New function (split off from dump_relocations()).
3005 (slurp_rel_relocs): Ditto.
3006 (parse_args): Handle '-u' option.
3008 * unwind-ia64.c: New file.
3009 * unwind-ia64.h: New file.
3010 * Makefile.am: Include unwind-ia64.c in readelf build.
3011 * Makefile.in: Regenerate.
3012 * po/binutils.pot: Regenerate.
3014 2001-02-04 Philip Blundell <philb@gnu.org>
3016 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3017 * configure: Regenerate.
3019 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
3021 * ieee.c (ieee_add_bb11): Don't check for backslashes
3022 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3024 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
3026 * ieee.c: Update copyright.
3027 (ieee_start_compilation_unit): Don't check for backslashes
3028 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3030 * stabs.c: Update copyright. Include "filenames.h".
3031 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3033 2001-01-23 Jakub Jelinek <jakub@redhat.com>
3035 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3036 sections are present before using them. Remove code duplication.
3037 (process_symbol_table): Check if VERDEF or VERNEED sections are
3038 present before using them.
3040 2001-01-17 Nick Clifton <nickc@redhat.com>
3042 * objcopy.c (copy_object): Fail if attempting to convert the
3043 endianness of the input object file.
3045 * binutils.texi: Explain that objcopy cannot convert endianness.
3047 2001-01-16 Nick Clifton <nickc@redhat.com>
3049 * readelf.c (string_table_length): New variable.
3050 (SECTION_NAME): Catch out of range indices and missing section
3052 (process_section_headers): Delete useless local variable
3053 string_table_offset. Set the value of string_table_length
3054 after loading the string table.
3055 (process_mips_specific): Use SECTION_NAME macro.
3056 (process_file): Set string_table_length to 0 when it is freed.
3058 2001-01-12 Nick Clifton <nickc@redhat.com>
3060 * version.c (print_version): Update copyright date.
3062 2001-01-11 Peter Targett <peter.targett@arccores.com>
3064 * readelf.c (dump_relocations): Include selection with EM_ARC.
3065 (get_machine_name) Update name to "ARC".
3067 2001-01-09 Nick Clifton <nickc@redhat.com>
3069 * Makefile.am: Add rule to build objdump.o from objdump.c and
3071 * Makefile.in: Regenerate.
3073 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3074 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3075 -DDISASSEMBLER_NEEDS_RELOCS.
3076 * configure: Regenerate.
3078 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3079 is defined read in the relocs even if dump_reloc_info is
3082 2001-01-07 Philip Blundell <philb@gnu.org>
3084 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3088 2000-12-19 Nick Clifton <nickc@redhat.com>
3090 * dlltool.c: Add missing support for arm-epoc-pe.
3091 * configure.in: Add missing support for arm-epoc-pe.
3092 * configure: Regenerate.
3094 2000-12-15 Nick Clifton <nickc@redhat.com>
3096 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3097 Mode parts of the x86 port.
3099 2000-12-04 Andreas Jaeger <aj@suse.de>
3101 * readelf.c (guess_is_rela): Add EM_X86_64.
3102 (dump_relocations): Add EM_X86_64.
3103 (get_machine_name): Add EM_X86_64.
3104 Include "elf/x86-64.h".
3106 2000-12-12 Nick Clifton <nickc@redhat.com>
3108 * readelf.c: Fix formatting.
3110 2000-12-11 Jan Hubicka <jh@suse.cz>
3112 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3114 2000-12-07 Andrew Haley <aph@redhat.com>
3116 * readelf.c (display_debug_frames): Only display columns that are
3117 referenced by the frame debug info.
3119 2000-12-05 Nick Clifton <nickc@redhat.com>
3121 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3123 2000-12-04 Jason Merrill <jason@redhat.com>
3125 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3126 (display_debug_section): Likewise.
3127 (display_debug_info): Display CU header before bailing.
3129 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3131 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3132 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3133 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3135 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3138 * readelf.c (get_machine_flags): Add case for
3141 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
3143 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3145 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3147 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
3148 Change sourceware.cygnus.com to sources.redhat.com.
3149 Fix typo for "amongst".
3151 2000-11-28 Nick Clifton <nickc@redhat.com>
3153 * strip.1 (COPYING): Mention that the GNU Free Documentation
3154 License is present in the sources, but not the output, and
3155 also available from the GNU website.
3156 (GNU Free Documentation License): Comment out this section.
3165 * addr2line.1: Ditto.
3167 2000-11-27 DJ Delorie <dj@redhat.com>
3169 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3170 (parse_args): Support -wf option.
3171 (process_section_headers): Ditto.
3172 (debug_displays): Ditto.
3173 (display_debug_frames): New, dump *_frame sections.
3174 (frame_need_space): Support for above.
3175 (frame_display_row): Ditto.
3176 * binutils.texi: Document it.
3178 2000-11-24 Nick Clifton <nickc@redhat.com>
3180 * NEWS: Announce support for v5t, v5te and XScale.
3182 2000-11-22 Nick Clifton <nickc@redhat.com>
3184 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3185 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3186 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3187 (get_elf_section_flags: Add SHF_GROUP.
3188 (process_section_headers): Adjust output for 32-bit binaries
3189 to look nice on an 80 column terminal.
3191 2000-11-20 H.J. Lu <hjl@gnu.org>
3193 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3196 2000-11-17 Richard Henderson <rth@redhat.com>
3198 * readelf.c (display_debug_lines): Adjust last change to
3199 use sizeof (external->li_length).
3201 2000-11-17 Richard Henderson <rth@redhat.com>
3203 * readelf.c (display_debug_lines): Fix section length check
3204 and end_of_sequence computation.
3206 2000-11-06 Nick Clifton <nickc@redhat.com>
3208 * binutils.texi: Add GNU Free Documentation License.
3209 * objcopy.1: Add GNU Free Documentation License.
3210 * objdump.1: Add GNU Free Documentation License.
3211 * addr2line.1: Add GNU Free Documentation License.
3212 * ar.1: Add GNU Free Documentation License.
3213 * nlmconv.1: Add GNU Free Documentation License.
3214 * nm.1: Add GNU Free Documentation License.
3215 * ranlib.1: Add GNU Free Documentation License.
3216 * size.1: Add GNU Free Documentation License.
3217 * strings.1: Add GNU Free Documentation License.
3218 * strip.1: Add GNU Free Documentation License.
3220 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
3222 * objcopy.c (--srec-len=nn): New parameter to set the
3223 maximum length of generated Srecords.
3224 (--srec-forceS3): New parameter that restricts the generation of
3225 Srecords to type S3 only.
3226 * binutils.texi: Document new command line switches.
3227 * objcopy.1: Docuemnt the new command line switches.
3228 * NEWS: Announce the existence of the new command line switches.
3230 2000-10-31 Nick Clifton <nickc@redhat.com>
3232 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3233 code. Add Eric Chrisopher as maintainer of MN10300 port.
3235 2000-10-12 Roger Sayle <roger@metaphorics.com>
3237 * Make comma after string after icon/control optional.
3239 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3241 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3243 * NEWS: Mention support for MIPS32.
3245 2000-09-08 Nick Clifton <nickc@redhat.com>
3247 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3249 2000-09-07 H.J. Lu <hjl@gnu.org>
3251 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3252 * configure: Rebuild.
3254 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3256 * configure: Rebuilt with new libtool.m4.
3258 2000-09-05 Nick Clifton <nickc@redhat.com>
3260 * aclocal.m4: Regenerate.
3261 * config.in: Regenerate.
3262 * configure: Regenerate.
3264 2000-09-04 Todd Vierling <tv@wasabisystems.com>
3266 * strip.1: Fix stray '\' in -o formatting.
3268 2000-09-02 Nick Clifton <nickc@redhat.com>
3270 * configure.in: Increase version number to 2.10.91.
3271 * configure: Regenerate.
3272 * aclocal.m4: Regenerate.
3273 * config.in: Regenerate.
3274 * po/binutils.pot: Regenerate.
3276 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3278 * acinclude.m4: Include libtool and gettext macros from the
3280 * aclocal.m4, configure: Rebuilt.
3282 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
3284 * resrc.c (close_input_stream): Delete extraneous logic
3286 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3288 * NEWS: Mention support for CRIS.
3290 2000-08-21 Nick Clifton <nickc@redhat.com>
3292 * addr2line.c: Changed email address for Ulrich Lauther.
3294 2000-08-17 Christopher C. Chimelis <chris@debian.org>
3296 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3298 2000-08-17 Nick Clifton <nickc@redhat.com>
3300 * readelf.c (display_debug_pubnames): Only issue warning
3301 message once. Terminate message with a new line.
3302 (display_debug_aranges): Only display version 2 debug info.
3304 2000-08-14 Todd Vierling <tv@wasabisystems.com>
3306 * objcopy.c (strip_main): Silently accept -d as an alias for -g
3307 for compatibility with old BSD systems.
3309 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3311 * NEWS: Mention i860 support.
3313 2000-08-11 Carlo Wood <carlo@alinoe.com>
3315 * addr2line.c (main): Add const to char *.
3317 2000-08-11 Geoff Keating <geoffk@cygnus.com>
3319 * ar.c (main): Don't crash if called with no arguments
3320 or only '-X32_64' as an argument.
3322 2000-08-08 DJ Delorie <dj@redhat.com>
3324 * resrc.c: use "gcc -xc" instead of -xc-header
3326 2000-08-05 Jason Eckhardt <jle@cygnus.com>
3328 * readelf.c (elf/i860.h): Include.
3329 (dump_relocations): Add recognition of i860 architecture.
3330 (guess_is_rela): Add recognition of i860 architecture.
3332 2000-08-03 Nick Clifton <nickc@cygnus.com>
3334 * MAINTAINERS: Add information about CGEN maintainers.
3336 2000-07-26 Geoff Keating <geoffk@cygnus.com>
3338 * nm.c (main): Ignore '-X32_64' as an option.
3339 * ar.c (main): Likewise.
3340 * binutils.texi (nm): Document new option.
3343 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3345 * rdcoff.c (external_coff_symbol_p): K&R-ise.
3347 2000-07-20 H.J. Lu <hjl@gnu.org>
3349 * binutils.texi: Put back "@end table" deleted by
3352 2000-07-05 Kenneth Block <krblock@computer.org>
3354 * nm.c: Add optional style to demangle switch.
3355 * objdump.c: Add optional style to demangle switch.
3356 * addr2line.c: Add optional style to demangle switch.
3357 * binutils.texi: Document optional style to demangle
3360 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3362 * MAINTAINERS: Add self as CRIS port maintainer.
3363 * readelf.c: Include elf/cris.h.
3364 (guess_is_rela): Handle EM_CRIS.
3365 (dump_relocations): Ditto.
3366 (get_machine_name): Ditto.
3367 * Makefile.am: Rebuild dependencies.
3368 * Makefile.in: Regenerate.
3369 * po/binutils.pot: Regenerate.
3371 2000-07-19 H.J. Lu <hjl@gnu.org>
3373 * readelf.c (get_dynamic_type): Change "AUXILARY" to
3375 (process_dynamic_segment): Print out strings for DT_CONFIG,
3376 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3378 2000-07-19 Mark Kettenis <kettenis@gnu.org>
3380 * nm.c (usage): Change output of `nm --help' to include a
3381 description of the purpose of the program and a detailed
3382 description of the accepted options.
3384 2000-07-19 H.J. Lu <hjl@gnu.org>
3386 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3389 2000-07-19 H.J. Lu <hjl@gnu.org>
3391 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3393 2000-07-19 H.J. Lu <hjl@gnu.org>
3395 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3397 (process_dynamic_segment): Likewise.
3399 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3400 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3401 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3402 DF_1_NODUMP and DF_1_CONLFAT.
3404 2000-07-18 Nick Clifton <nickc@cygnus.com>
3406 * binutils.texi (readelf): Fix spelling typo.
3408 2000-07-11 Mark Kettenis <kettenis@gnu.org>
3410 * objdump.c (usage): Make output of `objdump --help' more
3411 consistent with the rest of the GNU world. Add a line describing
3412 the purpose of the program.
3414 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
3416 * stabs.c (parse_stab_range_type): Cast to proper type to fix
3419 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3421 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3423 (process_symbol_table): Ditto.
3424 (procesS_extended_line_op): Ditto.
3425 (display_debug_lines): Ditto.
3426 (display_debug_pubnames): Ditto.
3427 (read_and_display_attr): Ditto.
3429 2000-07-09 Nick Clifton <nickc@cygnus.com>
3431 * MAINTAINERS: Add several more port specific maintainers.
3433 2000-07-05 Nick Clifton <nickc@cygnus.com>
3435 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3437 2000-06-05 DJ Delorie <dj@redhat.com>
3441 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3443 * dllwrap.c: Changed mistaken dyn_string_append() calls
3444 to dyn_string_append_cstr().
3446 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3448 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3449 struct debug_type stores size in bytes.
3451 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3453 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3454 (CLEANFILES): Add DEPA.
3455 * Makefile.in: Regenerate.
3457 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3459 * ar.c: Revert incorrect 2000-06-25 patch.
3460 * bucomm.c: Likewise.
3462 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3464 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3465 (external_coff_symbol_p): New function.
3466 (parse_coff): Use it.
3468 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3470 * ar.c (normalize): Advance past both characters in a DOS based
3471 <letter>: filepath prefix.
3473 * bucomm.c (make_tempname): Likewise.
3475 2000-06-24 Nick Clifton <nickc@cygnus.com>
3477 * objdump.c (usage): Fix description of --stabs switch.
3479 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3481 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3483 * Makefile.in: Regenerate.
3485 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3487 * ar.c (normalize): Correct pointer comparison when checking for
3490 * bucomm.c (make_tempname): Likewise.
3492 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3493 and search for backslashes in the original pathname.
3494 (ieee_add_bb11): Likewise.
3496 2000-06-18 Nick Clifton <nickc@redhat.com>
3498 * ar.c (print_contents): Improve verbose message.
3500 2000-06-15 H.J. Lu <hjl@gnu.org>
3502 * dyn-string.c: Removed. Not needed with dyn-string.c in
3504 * dyn-string.h: Likewise.
3506 * Makefile.am: Remove references to dyn-string.c and
3507 dyn-string.h. Rebuild dependency.
3508 * Makefile.in: Rebuild.
3510 2000-06-15 H.J. Lu <hjl@gnu.org>
3512 * binutils.texi: Put a warning on copying relocatable object
3513 files between two different formats.
3515 2000-06-13 DJ Delorie <dj@cygnus.com>
3517 * rcparse.y (control): ICON controls take an id as the first
3518 parameter, not an optional string. Also, call new convenience
3519 function that takes res_id's.
3520 * resrc.c (define_control): missing text means zero-length string,
3522 (define_icon_control): New.
3523 * windres.h: declare define_icon_control.
3525 2000-06-13 H.J. Lu <hjl@gnu.org>
3527 * configure: Regenerate.
3529 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3531 * configure.in (VERSION): Update to show this is the CVS mainline.
3533 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3535 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3536 analogous to <SPACE>.
3538 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3540 * objdump.c (display_target_list): Use bfd_close_all_done, not
3541 bfd_close to fix crash caused by 2000-05-24 change.
3543 2000-05-25 DJ Delorie <dj@cygnus.com>
3545 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3547 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3549 * Makefile.am: Update dependencies with "make dep-am"
3550 * Makefile.in: Regenerate.
3552 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3554 * ar.c: Include filenames.h.
3555 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3556 and drive letters in file names.
3557 (main): Support backslashes and drive letters in argv[0]. Drop
3558 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3559 FILENAME_CMP instead of strcmp to compare file names.
3560 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3562 (do_quick_append) [__GO32__]: Ditto.
3563 (get_pos_bfd, delete_members, move_members, replace_members):
3564 Compare file names with FILENAME_CMP.
3566 * bucomm.c: Include filenames.h.
3567 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3568 forward/backward slashes and drive letters in file names.
3570 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3571 mixed forward/backward slashes and drive letters in file names.
3573 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3574 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3577 * objcopy.c: Include filenames.h.
3578 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3579 before comparing to "strip".
3580 Use FILENAME_CMP to compare file names.
3582 * arsup.c: Include filenames.h.
3583 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3584 FILENAME_CMP to compare file names.
3585 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3586 the temporary file name.
3588 * configure.in: Check for setmode.
3589 * configure: Regenerate.
3591 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3593 * objdump.c (display_target_list): Close the bfd.
3594 (display_info_table): Likewise.
3596 2000-05-14 H.J. Lu (hjl@gnu.org)
3598 * objcopy.c (filter_symbols): Don't strip global symbols in
3599 relocatable object files.
3601 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3603 * size.c (usage): Associate short options with corresponding long
3604 option to give a clue as to their function.
3606 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3608 * size.c (main): Accept and ignore `-f' option.
3610 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3612 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3613 bindtextdomain): Replace defines with those from intl/libgettext.h
3614 to quieten gcc warnings.
3616 2000-05-12 H.J. Lu <hjl@gnu.org>
3618 * nlmconv.c (temp_filename): Removed.
3620 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3621 choose_temp_base ().
3622 * objdump.c (display_target_list): Likewise.
3623 (display_info_table): Likewise.
3625 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3627 * objcopy.c (setup_section): Add const and gettext calls for err.
3629 2000-05-02 H.J. Lu <hjl@gnu.org>
3631 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3632 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3633 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3634 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3635 and ELFOSABI_OPENBSD.
3637 2000-05-02 Kazu Hirata <kazu@hxi.com>
3639 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3640 * srconv.c: Likewise.
3641 * sysdump.c: Likewise.
3643 2000-04-23 Denis Chertykov <denisc@overta.ru>
3645 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3646 (get_machine_name): machine name for EM_AVR added.
3648 2000-04-21 Richard Henderson <rth@cygnus.com>
3649 David Mosberger <davidm@hpl.hp.com>
3651 * Makefile.am (readelf.o): Add elf/ia64.h.
3652 * Makefile.in: Rebuild.
3653 * readelf.c: Include elf/ia64.h.
3654 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3656 2000-04-17 Timothy Wall <twall@cygnus.com>
3658 * objdump.c (disassemble_data): Set octets per byte *after*
3659 resolving arch/mach for binary files.
3661 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3663 * arlex.l: Add directives to increase lex buffer size.
3665 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3666 already included by bucomm.h.
3668 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3670 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3671 `strftime' since strftime is not available on all systems.
3672 (process_mips_specific): Ditto.
3674 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3676 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3677 --enable-build-warnings option.
3678 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3679 * Makefile.in, configure: Re-generate.
3681 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3683 * addr2line.c: Update copyright.
3684 * objcopy.1: Likewise, and title.
3685 * strings.1: Likewise.
3687 * version.c (print_version): Add 2000.
3689 * rddbg.c (read_section_stabs_debugging_info): Don't use
3690 bfd_size_type for strx to avoid printf problems if BFD64.
3692 * bucomm.c: (report): Remove `static'.
3693 Move inclusion of stdarg.h/vararg.h from here.
3694 * bucomm.h: To here.
3695 (CONST): Change all occurences to const.
3696 (report): Declare it.
3697 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3698 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3699 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3701 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3702 Correct a typo in an error message.
3703 (do_quick_append): Use non_fatal instead of fprintf.
3704 (move_members): Use fatal instead of fprintf, exit.
3705 * coffdump.c (main): Same here.
3707 * dlltool.c (display): Delete.
3709 (inform): Use `report' instead of `display'.
3710 (rvaafter): Remove trailing \n from fatal error msg.
3712 (asm_prefix): Ditto.
3713 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3714 (def_name): Likewise.
3716 (scan_all_symbols): Likewise.
3717 (gen_lib_file): Likewise.
3718 (def_library): Likewise. Remove extra program_name too.
3719 (run): Remove \n from inform strings.
3720 (scan_drectve_symbols): Likewise.
3721 (add_excludes): Likewise.
3722 (scan_open_obj_file): Likewise.
3723 (gen_exp_file): Likewise.
3724 (gen_lib_file): Likewise.
3725 (process_duplicates): Likewise.
3727 * Makefile.am (dllwrap_SOURCES): Add version.c.
3728 * dllwrap.c (program_version): Delete.
3729 (print_version): Delete.
3730 (display): Always print trailing \n.
3732 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3735 (usage): gettext'ify.
3736 (long_options): Add missing initialisers.
3738 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3739 (select_output_format): Likewise.
3740 (powerpc_mangle_relocs): Likewise.
3741 (link_inputs): Likewise.
3743 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3744 (set_output_format): Likewise.
3745 (main): Use non_fatal instead of fprintf.
3746 (display_rel_file): Likewise.
3748 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3749 (slurp_dynamic_symtab): Same here.
3750 (disassemble_data): And here.
3751 (read_section_stabs): And here.
3752 (read_section_stabs): And here.
3753 (dump_bfd): And here.
3755 (objdump_sprintf): Use fatal instead of fprintf, exit.
3756 (disassemble_data): Same here.
3758 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3759 (parse_coff_struct_type): Same here.
3760 (parse_coff_enum_type): And here.
3761 (parse_coff): And here.
3762 * rddbg.c (read_debugging_info): And here.
3763 * size.c (main): And here.
3764 * windres.c (format_from_name): And here.
3765 * wrstabs.c (stab_write_symbol): Here too.
3766 (write_stabs_in_sections_debugging_info): And here.
3767 (stab_int_type): And here.
3768 (stab_struct_field): And here.
3769 (stab_typdef): And here.
3771 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3772 * srconv.c (main): Same here.
3773 * strings.c (main): And here.
3774 (integer_arg): And here.
3775 * sysdump.c (main): And here.
3777 2000-04-06 Timothy Wall <twall@cygnus.com>
3779 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3781 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3783 * readelf.c (decode_location_expression): Loop through multiple
3785 (read_and_display_attr): Pass in length.
3787 * readelf.c (read_and_display_attr): Add CU offset to references.
3788 (display_debug_info): Pass it in.
3790 2000-04-06 Nick Clifton <nickc@cygnus.com>
3792 * readelf.c (decode_ARM_machine_flags): New function.
3793 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3796 (get_machine_name): Catch EM_AVR
3798 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3800 * binutils.texi: Remove optional `=' from long options that have
3801 an `=' in the argument.
3802 * objcopy.1: Here too. Remove extra space on discard-all.
3804 * binutils.texi (objcopy): Mention --redefine-sym.
3805 * objcopy.1: Here too.
3808 * objcopy.c (parse_flags): Split off flag names from error message
3809 gettext as they are not translated.
3810 (copy_main): Similarly split off option name for --add-section,
3811 --set-section-flags, --change-section-vma, --change-section-lma
3813 Some white space changes.
3815 from Matthew Benjamin <matt@linuxbox.nu>
3816 * objcopy.c (struct redefine_node): New.
3817 (redefine_sym_list): New.
3818 (redefine_list_append): New.
3819 (lookup_sym_redefinition): New.
3820 (OPTION_REDEFINE_SYM): New.
3821 (copy_options): Add --redefine-sym option.
3822 (copy_usage): Mention it.
3823 (filter_symbols): Rename symbols on redefine_sym_list.
3824 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3825 (copy_main): Handle OPTION_REDEFINE_SYM.
3827 2000-04-04 H.J. Lu <hjl@gnu.org>
3829 * readelf.c (process_symbol_table): Correctly read in symbol
3830 versioning information.
3832 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3834 * po/binutils.pot: Regenerate.
3836 * addr2line.c (usage): Restore translated part of bug string.
3837 * ar.c (usage): Likewise.
3838 * nlmconv.c (show_usage): Likewise.
3839 * nm.c (usage): Likewise.
3840 * objcopy.c (copy_usage): Likewise.
3841 (strip_usage): Likewise.
3842 * objdump.c (usage): Likewise.
3843 * readelf.c (usage): Likewise.
3844 * size.c (usage): Likewise.
3845 * strings.c (usage): Likewise.
3846 * windres.c (usage): Likewise.
3848 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3849 (DEP): Quote when passing vars to sub-make. Add warning
3851 (DEP1): Rewrite for "gcc -MM".
3852 (CLEANFILES): Add DEP2.
3853 Update dependencies.
3854 * Makefile.in: Regenerate.
3856 2000-04-04 H.J. Lu <hjl@gnu.org>
3858 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3859 (arparse.h): Depend on arparse.c
3860 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3862 2000-04-03 H.J. Lu (hjl@gnu.org)
3864 * size.c (usage): Use REPORT_BUGS_TO.
3866 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3868 * bucomm.h: #include "bin-bugs.h"
3869 * addr2line.c (usage): Use REPORT_BUGS_TO.
3870 * ar.c (usage): Likewise.
3871 * nlmconv.c (show_usage): Likewise.
3872 * nm.c (usage): Likewise.
3873 (OPTION_TARGET): Define.
3874 (long_options): Use OPTION_TARGET rather than 200.
3877 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3878 (strip_usage): Likewise.
3879 * objdump.c (usage): Likewise.
3880 * readelf.c (usage): Likewise.
3881 * strings.c (usage): Likewise.
3882 * windres.c (usage): Likewise.
3884 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3886 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3888 2000-03-27 Nick Clifton <nickc@cygnus.com>
3890 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3891 string offsets in corrupt stabs entries.
3893 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3895 * readelf.c: Include elf/avr.h
3896 (dump_relocations): Add EM_AVR case.
3898 2000-03-09 Tim Waugh <twaugh@redhat.com>
3900 * strings.1: Correct '-bytes' to '--bytes'.
3902 2000-03-08 H.J. Lu <hjl@gnu.org>
3904 * Makefile.am (install-exec-local): Depend on
3905 install-binPROGRAMS for parallel make.
3906 * Makefile.in: Regenerated.
3908 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3910 From Brad Lucier <lucier@math.purdue.edu>:
3911 * readelf.c (process_dynamic_segment): Add cast to make sure
3912 argument to %* is int.
3914 2000-02-25 H.J. Lu <hjl@gnu.org>
3916 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3918 2000-02-24 Nick Clifton <nickc@cygnus.com>
3920 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3921 * configure: Regenerate.
3923 * dlltool.c: Add support for sh-pe and mips-pe targets.
3924 * rescoff.c: Add support for sh-pe and mips-pe targets.
3926 2000-02-23 H.J. Lu <hjl@gnu.org>
3928 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3930 2000-02-22 Nick Clifton <nickc@cygnus.com>
3932 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3934 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3936 From Brad Lucier <lucier@math.purdue.edu>:
3937 * readelf.c (process_version_sections): Add casts to make sure
3938 argument to %* is an int.
3939 (process_mips_specific): Add casts to make printf arguments match
3942 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3944 * objdump.c (dump_section_header): Change `opb' to unsigned.
3945 (find_symbol_for_address): Same here.
3946 (disassemble_data): And here. Change `addr_offset',
3947 `stop_offset', `nextstop_offset' to unsigned long.
3948 (dump_data): Change opb to unsigned.
3950 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3952 * resrc.c: Remove unmatched #if for cygwin.
3954 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3956 * binutils.texi: Document the change of flavor name from atpcs-special
3957 to special-atpcs to prevent name conflict in gdb.
3959 2000-02-08 Timothy Wall <twall@redhat.com>
3961 * objdump.c (show_line): Fix bug preventing printing of the very
3962 first line (line zero) of a file when interlisting source and
3963 assembly. Added option to print entire context from start of file
3964 when the first line from that file is encountered.
3966 2000-02-03 Timothy Wall <twall@redhat.com>
3968 * objdump.c (dump_section_header, find_symbol_for_address,
3969 show_line, disassemble_bytes, disassemble_data, dump_data):
3970 distinguish between octets and bytes.
3972 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3974 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3975 check to unresolved symbols.
3976 (print_symbol_info_sysv): Ditto.
3977 (print_symbol_info_posix): Ditto.
3979 * binutils.texi: Document new 'V' symclass flag for nm.
3981 2000-01-27 Nick Clifton <nickc@redhat.com>
3983 * binutils.texi (objdump): Document new ARM specific
3984 disassembler options.
3986 * objdump.c (usage): Call disassembler_usage().
3988 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3990 * readelf.c (get_dynamic_flags): Return buff.
3991 (process_dynamic_segment): Don't pass error strings to printf
3993 (read_and_display_attr): Use lx and ld to print longs.
3994 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3998 2000-01-17 Nick Clifton <nickc@cygnus.com>
4000 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4002 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4004 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4006 (debug_tag_type): Here too.
4007 * ieee.c (ieee_builtin_type): And here.
4008 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4010 2000-01-13 Nick Clifton <nickc@cygnus.com>
4012 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4015 2000-01-11 Nick Clifton <nickc@cygnus.com>
4017 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4019 2000-01-10 Nick Clifton <nickc@cygnus.com>
4021 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4023 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
4025 * windres.c (long_options): Add --use-temp-file and
4026 --no-use-temp-file options.
4030 * windres.h: Update read_rc_file prototype.
4032 * resrc.c (cpp_temp_file): New static variable.
4033 (istream_type): New static variable.
4034 (close_pipe): Delete function.
4035 (run_cmd): New static function.
4036 (open_input_stream): New static function.
4037 (close_input_stream): New static function.
4038 (look_for_default): Handle DOS directory separator. Use
4039 open_input_stream instead of popen.
4040 (read_rc_file): Likewise.
4042 * binutils.texi: Document --use-temp-file, --no-use-temp-file
4045 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4047 * dlltool.c (create_compat_implib): New variable.
4048 (gen_exp_file): Use.
4049 (make_one_lib_file): Use.
4050 (long_options): Add --compat-implib option.
4054 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4055 (main): Use. Don't look for "32" in cygwin and mingw target names.
4057 2000-01-03 Nick Clifton <nickc@cygnus.com>
4059 * binutils.texi: Document new, ARM specific disassembler
4060 command line switch "-M force-thumb".
4062 For older changes see ChangeLog-9899
4068 version-control: never