1 2003-11-14 Nick Clifton <nickc@redhat.com>
3 * objdump.c (find_symbol_for_address): Change parameters so
4 that the entire disassemble_info structure is passed, not just
5 a few fields. Use the symbol_is_valid field to check the
6 validity of located symbols and continue searching if they are
8 (objdump_print_addr): Alter parameters passed to
9 find_symbol_for_address.
10 (objdump_symbol_at_address): Likewise.
11 (disassemble_address): Likewise. Also use symbol_is_valid
12 function to check the validity of located symbols.
14 2003-11-13 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
16 * ar.c (open_inarch): Emit a warning when an archive is created
17 (only shown with -v) in order to confrom to POSIX specification.
19 2003-11-11 Wang Li <charles@linux.net.cn>
21 * objcopy.c (wildcard): New variable. True if wildcard pattern
22 matching is allowed in symbol names.
23 (strip_options): Add -w option to enable wildcard pattern
25 (copy_options): Likewise.
26 (copy_usage): Mention new switch.
27 (strip_usage): Likewise.
28 (is_specified_symbol): If performing wildcard matches use fnmatch
29 to compare symbol names with entries on the symbol list.
30 (strip_main): Accept -w switch.
31 (copy_main): Likewise.
32 * Makefile.am: Add dependency on fnmatch.h for objcopy.c
33 * Makefile.in: Regenerate.
34 * doc/binutils.texi: Document new switch.
35 * NEWS: Mention new switch.
37 2003-11-11 Alan Modra <amodra@bigpond.net.au>
39 * objdump.c: Revert rev 1.81 commit.
41 2003-11-10 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
43 * ar.c (print_contents): Remove "member" from verbose output in
44 order to conform to POSIX specification.
46 2003-11-10 Alan Modra <amodra@bigpond.net.au>
48 * README: Expand bug reporting information.
50 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
52 * bucomm,c (get_file_size): New function. Returns the size of a
54 * bucomm.h: Add prototype for get_file_size.
55 * addr2line.c (process_file): Use new function.
56 * ar.c (main, ranlib_only, ranlib_touch): Likewise.
57 * nm.c (display_file): Likewise.
58 * objcopy.c (add_specific_symbols, copy_file, strip_main,
60 * objdump.c (display_file): Likewise.
61 * size.c (display_file): Likewise.
62 * strings.c (strings_file): Likewise.
63 * readelf.c (process_file): Use similar code to get_file_size.
65 2003-11-06 Bruno Rohee <bruno@rohee.com>
67 * ieee.c: Fix "the the" typo.
70 2003-10-30 Marshall T. Vandegrift <llasram@wuli.nu>
72 * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
73 sections - they have no file space assigned to their contents.
75 2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
77 * readelf.c (dump_section): Don't display DEL characters.
79 2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
81 * ChangeLog: Fix typos.
82 * ChangeLog-9197: Likewise.
83 * ChangeLog-9899: Likewise.
85 * ar.c: Fix comment typos.
87 * coffgrok.c: Likewise.
90 * dlltool.c: Likewise.
93 * objdump.c: Likewise.
95 * readelf.c: Likewise.
97 * sysinfo.y: Likewise.
98 * windres.c: Likewise.
100 2003-10-27 Nick Clifton <nickc@redhat.com>
102 * objcopy.c (copy_section): Do not complain when a target does not
104 (mark_symbols_used_in_relocations): Likewise.
106 2003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
108 * objcopy.c (copy_main): Reads machine flags from arch_info
111 2003-10-20 Andrew Cagney <cagney@redhat.com>
113 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
116 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
118 * objdump.c (read_section_stabs): Just read one section, return
119 pointer to it. Add size parameter.
120 (print_section_stabs): Add string offset parameter. Adjust.
121 (struct stab_section_names): Add string offset member.
122 (find_stabs_sections): Correct check for split section suffix,
123 adjust read_section_stabs and print_section_stabs calls.
124 (dump_stabs_section): Clear string_offset, free string table.
126 2003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
128 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
129 'bit count' in icon groups.
131 2003-09-30 Chris Demetriou <cgd@broadcom.com>
133 * NEWS: Add an indication of the cutoff for 2.14.
135 2003-09-30 Chris Demetriou <cgd@broadcom.com>
137 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
139 2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
141 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
142 (get_symbol_index_type): Likewise.
144 2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
146 * readelf.c (process_version_sections): Indent version names.
148 2003-09-15 Anthony Green <green@redhat.com>
150 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
154 2003-09-14 Andreas Jaeger <aj@suse.de>
156 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
157 unneeded (void *) casts.
160 * arparse.y: Likewise.
162 * binemul.c: Likewise.
163 * binemul.h: Likewise.
164 * bucomm.c: Likewise.
165 * bucomm.h: Likewise.
167 * budemang.c: Likewise.
168 * budemang.h: Likewise.
169 * coffdump.c: Likewise.
170 * coffgrok.c: Likewise.
171 * cxxfilt.c: Likewise.
174 * deflex.l: Likewise.
175 * dlltool.c: Likewise.
176 * dlltool.h: Likewise.
177 * dllwrap.c: Likewise.
178 * emul_aix.c: Likewise.
179 * filemode.c: Likewise.
181 * nlmconv.c: Likewise.
182 * nlmconv.h: Likewise.
183 * nlmheader.y: Likewise.
187 * rcparse.y: Likewise.
188 * rdcoff.c: Likewise.
190 * rename.c: Likewise.
191 * resbin.c: Likewise.
192 * rescoff.c: Likewise.
195 * srconv.c: Likewise.
197 * strings.c: Likewise.
198 * sysdump.c: Likewise.
199 * sysinfo.y: Likewise.
200 * syslex.l: Likewise.
201 * unwind-ia64.c: Likewise.
202 * unwind-ia64.h: Likewise.
203 * version.c: Likewise.
204 * windres.c: Likewise.
205 * windres.h: Likewise.
206 * winduni.c: Likewise.
207 * wrstabs.c: Likewise.
209 2003-09-10 James E Wilson <wilson@specifixinc.com>
211 * MAINTAINERS: Update my e-mail address.
213 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
215 * MAINTAINERS: Update my e-mail address.
217 2003-09-04 Nick Clifton <nickc@redhat.com>
219 * MAINTAINERS: Make it clear what should be done with patches to
220 the top level configure files (other than config.guess and
221 config.sub). Add binutils@sources.redhat.com as an address to
222 which patches can be sent.
224 2003-09-04 Nick Clifton <nickc@redhat.com>
226 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
228 2003-09-03 Andrew Cagney <cagney@redhat.com>
230 * objdump.c: Refer to init_disassemble_info in comments.
231 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
232 init_disassemble_info.
234 2003-09-03 Nick Clifton <nickc@redhat.com>
236 * objdump.c (struct objdump_disasm_info): Add new fields
237 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
238 (process_section_p): New function: Returns TRUE if a section
240 (disassemble_section): New function: Contains the body of
241 disassemble_data(), but just for one section.
242 (disassemble_data): Use bfd_map_over_sections to walk section
244 (find_stabs_section): New function: Find a stabs containing
245 section and then dump it.
246 (dump_stabs_section): New function: Use bfd_map_over_sections
247 to find the section to dump.
248 (dump_stabs): Use dump_stabs_section.
249 (dump_section): New function: Display the contents of a
251 (dump_data): Use bfd_map_over_sections to display section
253 (dump_relocs_in_section): Display the relocs in a given section.
254 (dump_relocs): Use bfd_map_over_sections to display relocs.
255 (adjust_addresses): New function: Adjust the vma and lma of
257 (dump_bfd): Use bfd_map_over_sections.
258 * doc/binutils.texi: Document the "objdump -s" (no longer)
259 dumps empty sections.
261 2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
263 * objdump.c: Improve comments/documentation.
264 dump_data: Eliminate duplicate function calls to bfd_section_size.
266 2003-09-02 Alan Modra <amodra@bigpond.net.au>
268 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
270 2003-08-21 Nick Clifton <nickc@redhat.com>
272 * po/tr.po: Updated Turkish translation.
274 2003-08-14 Alan Modra <amodra@bigpond.net.au>
276 * dep-in.sed: Remove libintl.h.
277 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
279 * Makefile.in: Regenerate.
281 2003-08-11 Ian Lance Taylor <ian@airs.com>
283 * readelf.c (process_archive): Fix error handling. Remove memory
286 * readelf.c: Add ability to read archives.
287 (archive_file_offset): New variable.
288 (archive_file_size): New variable.
289 (get_data): Include archive_file_offset in file offset
290 calculation when fseeking.
291 (process_program_headers): Likewise.
292 (process_symbol_table): Likewise.
293 (process_dynamic_segment): Handle computation of end of file
294 position when the file is in an archive.
295 (process_object): New function. Contains the body of
297 (process_archive): New function. Call process_object on each
298 member of an archive.
299 (process_file): Detect archives and handle appropriately.
300 * Makefile.am: Add dependency on aout/ar.h for readelf.c
301 * Makefile.in: Regenerate.
302 * NEWS: Document readelf's new ability.
303 * doc/binutils: Alter text to say that readelf supports archives
304 and 64-bit ELF files.
306 2003-08-08 Nick Clifton <nickc@redhat.com>
308 * po/fr.po: Updated French translation.
310 2003-08-05 Alan Modra <amodra@bigpond.net.au>
312 * objcopy.c: Remove unnecessary prototypes and casts.
313 * objdump.c: Remove unnecessary casts.
314 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
315 (get_osabi_name): Move so we don't need a forward declaration.
317 2003-08-04 Bradley Harrington <bharring@us.ibm.com>
318 Alan Modra <amodra@bigpond.net.au>
320 * objdump.c (include_paths, include_path_count): New vars.
321 (usage): Describe --include.
322 (long_options): Add "include".
323 (add_include_path): New function.
324 (struct print_file_list): Make filename const. Add modname.
325 (try_print_file_open, update_source_path): New functions.
326 (show_line): Use them.
327 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
329 2003-07-30 Alan Modra <amodra@bigpond.net.au>
331 * objdump.c: Remove unnecessary prototypes.
332 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
333 code, and print relocs when dump_dynamic_reloc_info.
334 (disassemble_data): Read and handle dynamic relocs. Correct reloc
335 skip code. Formatting.
336 (dump_bfd): Don't dump dynamic relocs when disassembling.
338 2003-07-29 Ben Elliston <bje@wasabisystems.com>
340 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
341 maintenance defaults to the blanket write privilege maintainers.
343 2003-07-29 Michael Meissner <gnu@the-meissners.org>
345 * MAINTAINERS: Updated my email address.
347 2003-07-29 Nick Clifton <nickc@redhat.com>
349 * objdump.c: Update to ISO C.
351 2003-07-24 Nick Clifton <nickc@redhat.com>
353 * objdump.c (disassemble_data): Do not ignore sections without the
354 LOAD flag when disassemble_all is true. Only print a message
355 about disassembling a section if it contains some data.
357 * po/fr.po: Updated French translation.
359 2003-07-23 Nick Clifton <nickc@redhat.com>
361 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
362 left in. Some formatting tidy ups.
364 2003-07-22 Salvador Eduardo Tropea <set@computer.org>
366 * objdump.c: New command line option --debugging-tags.
367 * doc/binutils.texi: Document new command line option.
368 * prdbg.c: Code to print the debug info as tags compatible
370 * budbg.h: Adjust prototype.
371 * NEWS: Mention new switch
373 2003-07-18 Nick Clifton <nickc@redhat.com>
375 * objdump.c (main) :Accept multiple -M switch.
376 * doc/binutils.texi: Document that multiple -M switches are
377 accepted and that a single -M switch can contain comma
380 2003-07-17 Nick Clifton <nickc@redhat.com>
382 * objdump.c (main): Issue a warning message if multiple -M
385 * doc/binutils.texi (objdump): Update documentation about -M
388 2003-07-17 Nick Clifton <nickc@redhat.com>
390 * po/es.po: New Spanish translation.
392 2003-07-11 Alan Modra <amodra@bigpond.net.au>
394 * po/binutils.pot: Regenerate.
396 2003-07-05 Christopher Faylor <cgf@redhat.com>
398 * dlltool.c (prefix_encode): Use a fixed length for alpha.
400 2003-07-04 Christopher Faylor <cgf@redhat.com>
402 * dlltool.c (prefix_encode): New function. Encode temp file prefix
404 (dlltmp): Pass address of pointer being alloced or suffer neverending
406 (make_one_lib_file): Allocate enough space for new longer stub names.
407 (gen_lib_file): Ditto.
408 (main): Generate the temp file prefix from the pid if prefix was not
409 specified on the command line.
411 2003-07-04 Nick Clifton <nickc@redhat.com>
413 * readelf.c (get_data): Print (unsigned) hex values for size and
414 offset in error messages.
415 (process_section_headers): If the string table could not be
416 allocated, do not continue.
418 2003-07-01 Jakub Jelinek <jakub@redhat.com>
420 * readelf.c (dynamic_segment_ia64_val): Print address and newline
421 for sections by default. Comment fix.
423 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
425 * rcparse.y (res_text_field): New res_id variable.
426 (res_null_text): New static const struct res_id object,
427 with empty unicode name field.
428 (control): Pop parsing of optresidc up one level. Set
429 res_text_field to $2 except for controls which do not accept
430 a text field. Set res_text_field to res_null_text for the
431 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
432 (control_params): Adjust to use res_text_field rather
434 (COMBOBOX): Add comment about discrepency between documented
435 vs. observed default style.
436 * resrc.c (define_control): Make first param const.
437 * windres.h (define_control): Adjust prototype.
439 2003-06-27 Nick Clifton <nickc@redhat.com>
441 * objcopy.c (copy_object): Replace call to
442 bfd_create_gnu_debuglink_section with separate calls to
443 bfd_add_gnu_debuglink_section and
444 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
447 2003-06-26 Roland McGrath <roland@redhat.com>
449 * readelf.c (loadaddr): Variable removed.
450 (dynamic_info, version_info): Fix type long -> bfd_vma.
451 (program_headers): New variable.
452 (get_program_headers): New function, broken out of
453 process_program_headers.
454 (process_program_headers): Call it. Don't set `loadaddr'.
455 (slurp_ia64_unwind_table): Use get_program_headers.
456 (process_corefile_note_segments): Likewise.
457 (offset_from_vma): New function.
458 (process_relocs, process_dynamic_segment): Call that instead of
459 subtracting `loadaddr'.
460 (process_version_sections, process_symbol_table): Likewise.
461 (process_mips_specific): Likewise.
463 2003-06-26 Nick Clifton <nickc@redhat.com>
465 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
466 (OPTION_ONLY_KEEP_DEBUG): New.
467 (strip_options): Add --only-keep-debug.
468 (copy_options): Likewise.
469 (is_strip_section): Invert return value if STRIP_NONDEBUG is
471 (copy_object): Do not copy private data when STRIP_NONDEBUG is
473 (setup_section): Likewise.
474 (strip_main): Handle --only-keep-debug.
475 (copy_main): Likewise.
476 * NEWS: Mention new switch
477 * doc/binutils.texi: Document new switch.
479 2003-06-25 Alan Modra <amodra@bigpond.net.au>
481 * NEWS: Correct spelling of "relocatable".
482 * objdump.c: Likewise.
483 * sysroff.info: Likewise.
485 2003-06-19 Nick Clifton <nickc@redhat.com>
487 * readelf.c (print_vma): When printing DEC_5 values, if the
488 number is bigger than 99999 switch to using hexadecimal
491 2003-06-11 Nick Clifton <nickc@redhat.com>
493 * objcopy.c (gnu_debuglink_filename): New variable.
494 (OPTION_ADD_GNU_DEBUGLINK): New switch
495 (copy_options): Describe --add-gnu-debuglink switch.
496 Mention that --strip-debug removes sections as well.
497 (is_strip_section): Process the sections removed and kept
498 lists before checking for debugging sections.
499 (add_redefine_syms_file): Make function static.
500 (copy_object): Use is_strip_section.
501 Check to see if a .gnu_debuglink section should be added. If
502 so, call bfd_add_gnu_debuglink.
503 (setup_section): Use is_strip_section.
504 (copy_section): Use is_strip_section.
505 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
506 * NEWS: Mention new objcopy switch.
507 * doc/binutils.texi: Document new switch.
509 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
511 * po/Make-in (DESTDIR): New.
512 (install-data-yes): Support $(DESTDIR).
513 (uninstall): Likewise.
515 2003-06-11 Alan Modra <amodra@bigpond.net.au>
517 * Makefile.in: Regenerate.
519 2003-05-23 Jakub Jelinek <jakub@redhat.com>
521 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
523 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
525 * NEWS: Document the new BSD/POSIX single-character mapping for
526 .comment/.note sections.
528 2003-06-02 Chris Demetriou <cgd@broadcom.com>
529 Jason Thorpe <thorpej@wasabisystems.com>
531 * objcopy.c (redefine_list_append): Add an argument that
532 indicates the context from which this function is being
533 called. Change all callers.
534 (copy_options): Add a new option, --redefine-syms.
535 (copy_usage): Document new option.
536 (copy_main): Handle the --redefine-syms option.
537 * doc/binutils.text (objcopy): Document new option.
539 2003-05-31 Richard Henderson <rth@redhat.com>
541 * readelf.c (byte_get_signed): New.
542 (get_encoded_value): New.
543 (display_debug_frames): Use it. Always pre-process opcodes.
545 2003-05-20 Michal Ludvig <mludvig@suse.cz>
547 * readelf.c (display_debug_frames): Print both registers
550 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
552 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
554 * configure.in: Regenerate.
556 2003-05-13 Michael Eager <eager@mvista.com>
558 * objcopy.c: Treat identical src/dst file names as if only one
559 entered. One Windows creating an output file of the same name as
560 the input file will delete the input file before it is read.
562 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
564 * debug.c (debug_get_real_type): Extend test for circular debug
567 2003-05-12 Nick Clifton <nickc@redhat.com>
569 * configure.in (ALL_LINGUAS): Add zh_CN.
570 * configure: Regenerate.
571 * po/zh_CN.po: New file: Chinese (simplified) translation.
573 2003-05-11 Jason Eckhardt <jle@rice.edu>
575 * MAINTAINERS: Update my mail address.
577 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
579 * readelf.c (dump_relocations): Enlarge the type field in wide
580 mode by one character.
582 2003-05-03 Richard Henderson <rth@redhat.com>
584 * readelf.c (struct Frame_Chunk): Add cfa_exp.
585 (frame_display_row): Just print "exp" for cfa or register
586 defined by a location expression.
587 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
588 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
590 2003-04-30 H.J. Lu <hjl@gnu.org>
592 * objdump.c (only): Change it to char **.
595 (disassemble_data): Check only as an array.
596 (dump_data): Likewise.
597 (dump_relocs): Likewise.
598 (main): Treat only as an array.
600 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
602 * doc/binutils.texi: Fix the documentation for the -fo option.
604 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
606 * readelf.c (get_machine_name) <EM_SH>: Amend return value
609 * readelf.c (decode_location_expression): Don't add a trailing ';'.
611 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
612 Nick Clifton <nickc@redhat.com>
614 * windres.c (long_options): Move close to main, where it is used.
615 Add 'input' and 'output' long options.
616 (main): Accept "-fo" as an alias for "-o". This is for rc
618 * doc/binutils.texi: Mention that -fo is accepted as an alias for
619 -o, but discourage its use.
621 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
623 * windres.c (format_from_name): Make the exit on error
625 (main): Rename the -I option to -J. Introduce -I as a synonym
626 for --include-dir. For backwards compatibility also support the
627 old -I behaviour, but issue a deprecation warning.
628 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
631 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
633 * readelf.c: Replace references to Mitsubishi M32R with
634 references to Renesas M32R.
636 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
638 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
640 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
642 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
643 for debugging information types not supported by objdump.
645 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
647 * configure.in: Recognize canonical form of i[3-6]86-pe*.
648 * configure: Regenerate.
650 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
652 * readelf.c (display_debug_info): Apply RELA relocations on the
654 (byte_put_little_endian, byte_put_big_endian): New functions.
655 (byte_put): New variable.
656 (get_file_header): Initialize it.
658 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
660 * windres.c: Add -l for compatibility with wrc, and rc.
661 Use the short option as a key for long options that have
662 a synonymous short option.
663 * doc/binutils.texi: Added -l to the list of options.
665 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
667 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
668 (main): Just pass the -U option down to the preprocessor.
669 * doc/binutils.texi: Added -U to the list of options.
671 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
673 * windres.c (usage): Report -r option.
674 (main): Ignore the -r option.
675 * doc/binutils.texi: Add -r to the list of options.
677 2003-04-01 Bob Wilson <bob.wilson@acm.org>
679 * MAINTAINERS: Add myself as Xtensa maintainer.
681 2003-04-01 Bob Wilson <bob.wilson@acm.org>
683 * readelf.c: Include "elf/xtensa.h".
684 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
685 targets that use RELA relocations.
686 (dump_relocations): Call elf_xtensa_reloc_type for
687 EM_XTENSA and EM_XTENSA_OLD.
688 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
690 2003-04-01 Nick Clifton <nickc@redhat.com>
692 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
693 thumb-pe*, mcore-pe and mcore-*elf.
694 * configure: Regenerate.
696 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
698 * objdump.c (dump_data): Don't truncate the address to long; make
699 the width large enough, and uniform for all entries in a section.
701 2003-03-31 H.J. Lu <hjl@gnu.org>
703 * readelf.c: Include "libiberty.h".
704 (dynamic_relocations): New.
705 (process_relocs): Properly handle dynamic relocation.
706 (process_dynamic_segment): Fill relocation elements in
709 2003-03-31 Kevin Buettner <kevinb@redhat.com>
711 * readelf.c (read_and_display_attr, read_and_display_attr_value):
712 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
714 (display_debug_lines, display_debug_pubnames, display_debug_info)
715 (display_debug_aranges, display_debug_frames, read_and_display_attr)
716 (read_and_display_attr_value): Add 64-bit DWARF support.
718 2003-03-31 Ian Lance Taylor <ian@airs.com>
720 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
721 (optresid): Handle a resource id that can be a string or a number.
722 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
724 (define_icon_control): Pass a struct res_id to define_control.
725 * windres.h (define_control): Change prototype.
727 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
729 * objcopy (OPTION_FORMATS_INFO): Define.
730 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
731 (copy_options): Likewise.
732 (strip_usage): Add "--info" to usage.
733 (copy_usage): Likewise.
734 (strip_main): Declare formats_info. Iniatilize it to FALSE.
736 (copy_main). Likewise.
737 * doc/binutils.texi. Document the "--info" option for
739 * NEWS: Mention the new command line switch.
741 * objdump.c (endian_string): Move to bucomm.c.
742 (display_info): Likewise.
743 (display_target_list): Likewise.
744 (display_info_table): Likewise.
745 (display_target_tables): Likewise.
746 (main): Assign the return value of display_info to exit_status.
747 * bucomm.c: Include bfdver.h and libbfd.h
748 (display_target_list): Call bfd_nonfatal instead of nonfatal and
749 return 0 on a non-fatal error, 1 on success.
750 (display_info_table): Likewise.
751 * bucomm.h (display_info): Provide a prototype.
752 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
754 * Makefile.in: Regenerate.
756 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
758 * dlltool.c (gen_def_file): Put demangled name comments on
759 own line preceding export name.
761 2003-03-17 Nick Clifton <nickc@redhat.com>
763 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
764 printf for emitting new lines.
766 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
768 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
769 the symbol's value when --size-sort is used, unless -S is used.
770 doc/binutils.texi (--size-sort): For non-bsd formats both the
771 value and size of the symbols are displayed.
773 2003-03-13 Nick Clifton <nickc@redhat.com>
777 2003-03-12 Nick Clifton <nickc@redhat.com>
779 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
781 2003-03-10 Ben Elliston <bje@wasabisystems.com>
783 * MAINTAINERS: Update my mail address.
785 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
787 * stabs.c (BYTES_IN_WORD): Remove definition.
788 * wrstabs.c (BYTES_IN_WORD): Likewise.
790 2003-03-04 Nick Clifton <nickc@redhat.com>
792 * nm.c (main): Print a warning message if --size-sort and
793 --undefined-only are used together.
795 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
797 * nm.c (print_symbol): Remove check for undefined_only.
799 2003-03-03 Nick Clifton <nickc@redhat.com>
801 * po/da.po: Installed latest translation.
803 2003-02-24 Nick Clifton <nickc@redhat.com>
805 * README: Update binutils references to 2.13.
806 Add paragraph about using --disable-nls.
808 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
810 * doc/binutils.texi (nm --size-sort): Update.
812 2003-02-21 James E Wilson <wilson@tuliptree.org>
814 * MAINTAINERS: Update email address.
816 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
818 * readelf.c (get_ia64_dynamic_type): New function.
819 (dynamic_segment_ia64_val): New function.
820 (get_dynamic_type): If machine type is EM_IA_64 call
821 get_ia64_dynamic_val.
822 (get_ia64_section_type_name): Handle sections with types in the
823 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
824 (get_dynamic_flags): If machine type is EM_IA_64 call
825 dynamic_segment_ia64_val.
827 2003-02-21 Bob Wilson <bob.wilson@acm.org>
829 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
830 section title capitalization more consistent. Update descriptions
831 of various options to be consistent with the code. Fix errors and
832 incomplete list in the description of c++filt format options. Remove
833 information about the linker. Change to be more polite about poor
834 bug reports. Replace FDL appendix with include of fdl.texi.
835 * doc/fdl.texi: New file.
837 2003-02-21 Roger Sayle <roger@eyesopen.com>
839 * objcopy.c (filter_symbols): Fix compilation problems with
842 2003-02-19 Christopher Faylor <cgf@redhat.com>
844 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
847 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
849 * rclex.l (handle_quotes): Handle strings spanning more than one line.
851 2003-02-12 Bob Wilson <bob.wilson@acm.org>
853 * nm.c (usage): Add `java' and `gnat' demangle styles and make
855 * objdump.c (usage): Ditto. Also fix some typos.
857 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
859 * debug.c (debug_record_variable): Handle global register variables.
861 * stabs.c (parse_stab): For N_SLINE only include
862 function_start_offset if the symbol is within a function;
863 otherwise, the value is absolute.
865 2003-02-10 Nick Clifton <nickc@redhat.com>
867 * readelf.c (decode_ARM_machine_flags): Handle the
868 EF_ARM_MAVERICK_FLOAT flag.
870 2003-02-04 Andreas Schwab <schwab@suse.de>
872 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
873 long and use %ld in printf format.
875 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
877 * readelf.c (dump_relocations): Reorder the r_info field for
878 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
880 2003-01-21 Daniel Berlin <dan@dberlin.org>
882 * readelf.c (display_debug_loc): Skip address base changes.
884 2003-01-17 Fabio Alemagna <falemagn@aros.org>
886 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
889 2003-01-16 Alan Modra <amodra@bigpond.net.au>
891 * readelf.c: Include elf/ppc64.h.
892 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
893 * Makefile.am: Run "make dep-am".
894 * Makefile.in: Regenerate.
896 2003-01-02 Ben Elliston <bje@redhat.com>
898 * readelf.c (guess_is_rela): Handle EM_IQ2000.
899 (get_machine_name): Likewise.
900 (dump_relocations): Likewise.
901 * NEWS: Mention IQ2000 support.
903 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
905 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
907 2002-12-30 Chris Demetriou <cgd@broadcom.com>
909 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
910 changes in MIPS -M options.
912 2002-12-30 Dmitry Diky <diwil@mail.ru>
914 * Makefile.am: Add msp430 target.
915 * Makefile.in: Regenerate.
916 * readelf.c: Add support for msp430 target.
918 2002-12-27 Chris Demetriou <cgd@broadcom.com>
920 * doc/binutils.texi (objdump): Document MIPS -M options.
922 2002-12-23 Andreas Schwab <schwab@suse.de>
924 * readelf.c (main): Reset dump request after each file.
926 2002-12-23 Nick Clifton <nickc@redhat.com>
928 * nlmconv.c (main): Pass TRUE as third argument to
929 bfd_arch_get_compatible.
931 2002-12-23 Nick Clifton <nickc@redhat.com>
933 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
934 macro. Handle 'S' encoding, accepting 8-bit characters.
935 (main): Parse 'S' encoding.
936 (get_char): Accept 'S' encoding.
937 (print_strings): Use STRING_ISGRAPHIC.
938 (usage): Document support of 'S' encoding.
939 * doc/binutils.texi: Document support of 'S' encoding/
940 * NEWS: Mention new feature.
942 2002-12-20 Alan Modra <amodra@bigpond.net.au>
944 * README <building ar>: Don't use libibery's needed_list or
945 required_list, instead link libiberty/*.o.
947 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
949 * doc/binutils.texi: Fix typos.
951 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
953 * doc/binutils.texi: Add missing parenthesis.
955 2002-12-15 Nick Kelsey <nickk@ubicom.com>
957 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
958 symbols by adding the given prefix to the begining of the symbol
959 name. This is useful to provide name space separation regardless
960 of how the object file was created. Added --prefix-sections=
961 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
962 sections (or all sections with the alloc flag set) by adding the given
963 prefix to the begining of the symbol name.
964 * NEWS: Mention this new feature.
965 * doc/binutils.texi: Document this new feature.
967 2002-12-13 Alan Modra <amodra@bigpond.net.au>
969 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
970 dyn_string_append with dyn_string_append_cstr.
972 * emul_aix.c (ar_emul_aix_create): Remove unused function.
974 2002-12-10 James Cownie <jcownie@etnus.com>
976 * readelf.h (get_TAG_name, get_AT_name,
977 read_and_display_attr_value): Add support for UPC extensions to
979 * NEWS: Mention this new support.
981 2002-12-08 Alan Modra <amodra@bigpond.net.au>
983 * NEWS: Mention that bfd no longer declares a "boolean" type.
985 2002-12-07 Alan Modra <amodra@bigpond.net.au>
987 * readelf.c (process_program_headers): When setting loadaddr, don't
988 assume segment size is 4k. Use p_align instead.
989 (loadaddr): Change from int to long.
990 (dynamic_addr, dynamic_info, version_info): Likewise.
991 (process_dynamic_segment <syminsz>): Likewise.
992 (process_dynamic_segment): Adjust print format string.
993 (rela_addr, rela_size): Delete.
994 (process_relocs): Formatting.
996 2002-12-05 Jim Wilson <wilson@redhat.com>
998 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
999 * configure: Regenerate.
1001 2002-12-04 Ian Lance Taylor <ian@airs.com>
1003 * MAINTAINERS: Change e-mail address back to airs.com.
1005 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
1007 * MAINTAINERS: Add self.
1009 2002-11-30 Alan Modra <amodra@bigpond.net.au>
1011 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
1012 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
1013 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
1014 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
1015 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
1016 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
1017 with TRUE/FALSE. Formatting.
1019 2002-11-29 Jakub Jelinek <jakub@redhat.com>
1021 * readelf.c Replace occurrences of Elf32_Internal_* and
1022 Elf64_Internal_* with Elf_Internal_*.
1023 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1024 Zero r_addend fields.
1025 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1028 2002-11-23 Nick Clifton <nickc@redhat.com>
1030 * size.c (usage): Fix typo describing switch for hex format.
1032 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
1034 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1035 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1038 2002-11-14 Nick Clifton <nickc@redhat.com>
1040 * readelf.c (process_program_headers): Add comment about return
1041 value. Ensure that 0 is returned if the headers are not loaded.
1042 (process_file): If process_section_headers failed to load the
1043 headers disable any tests that rely upon them. Similarly for
1044 process_program_headers.
1046 2002-11-12 Nick Clifton <nickc@redhat.com>
1048 * po/da.po: Updated Danish translation.
1050 2002-11-12 Klee Dienes <kdienes@apple.com>
1052 * rddbg.c (read_section_stabs_debugging_info): Also recognize
1053 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1055 2002-11-11 Christopher Faylor <cgf@redhat.com>
1057 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
1060 2002-11-11 Christopher Faylor <cgf@redhat.com>
1062 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1064 2002-11-07 Nick Clifton <nickc@redhat.com>
1066 * configure.in (ALL_LINGUAS): Add 'da'.
1067 * configure: Regenerate.
1068 * po/da.po: New Danish translation.
1070 * readelf.c (get_symbol_index_type): Revert part of previous
1071 patch: Display unknown symbol types in decimal, not hex.
1073 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1075 * dlltool.c (add_excludes): Don't prefix excluded fastcall
1076 symbols with underscore.
1077 (xlate): Ignore add_underscore for decorated fastcall symbols.
1079 2002-11-07 Eric Kohl <ekohl@rz-online.de>
1081 * deflex.l: Accept '@' as first character of an ID.
1082 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1083 ASM_PREFIX for fastcall symbols.
1084 (scan_drectve_symbols): Handle fastcall symbols when generating
1085 undecorated aliases for symbols in drectve section.
1086 (scan_filtered_symbols): Likewise, with export-all.
1087 (xlate): Likewise, with --kill-at.
1088 (make_imp_label): New function to handle fastcall symbols
1090 (make_one_lib_file): Use make_imp_label instead of make_label
1093 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
1095 * MAINTAINERS: Add self as TIC4X maintainer.
1097 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
1099 * readelf.c (get_symbol_index_type): Add hex number to
1100 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1103 2002-11-04 Alan Modra <amodra@bigpond.net.au>
1105 * readelf.c (byte_get_little_endian): Comment typo fix.
1106 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1107 as the format string.
1108 (dump_relocations): Correct section sym names.
1109 (process_section_headers): Clear symtab_shndx_hdr.
1110 (read_and_display_attr_value): Don't pass indirect string to printf
1111 as the format string.
1112 (display_debug_frames): Indicate when zero terminator found. Decode
1113 DW_EH_PE_pcrel addresses.
1115 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1117 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1118 order to ensure proper disassembly of the valid 0-value opcode.
1119 * configure: Regenerate.
1120 * aclocal.m4: Regenerate.
1121 * config.in: Regenerate.
1122 * configure.in: Regenerate.
1123 * doc/Makefile.in: Regenerate.
1124 * po/binutils.pot: Regenerate.
1126 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1128 * MAINTAINERS: Add self as SH maintainer.
1130 2002-10-23 Ben Elliston <bje@redhat.com>
1132 * doc/binutils.texi (objdump): Document -z and move the entry for
1133 --disassemble-zeroes to the end of the options section (for `z').
1135 2002-10-21 Nick Clifton <nickc@redhat.com>
1137 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1139 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1141 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1143 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1145 * bucomm.c (list_supported_targets): Use bfd_target_list.
1147 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1148 other object errors in preference to bfd_core errors.
1150 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1152 * Makefile.am: Run "make dep-am".
1153 * objdump.c: #include "bfdver.h".
1154 * version.c: Likewise.
1155 * Makefile.in: Regenerate.
1156 * config.in: Regenerate.
1157 * configure: Regenerate.
1158 * po/POTFILES.in: Regenerate.
1160 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
1162 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1163 sections. Allow relocations against the absolute symbol. Don't
1164 use the value in compunit.cu_abbrev_offset if we found a RELA
1167 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1169 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1170 ordinary ones are available.
1172 2002-09-30 H.J. Lu <hjl@gnu.org>
1174 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1175 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1177 2002-09-17 Zack Weinberg <zack@codesourcery.com>
1179 * Makefile.am (CFILES): Add cxxfilt.c.
1180 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1181 (cxxfilt_LDADD): Delete.
1182 Remove all references to underscore.c.
1184 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1185 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1186 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1187 adjustments to fit into binutils framework.
1188 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1190 2002-09-12 Roland McGrath <roland@redhat.com>
1192 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1193 Handle DW_OP_GNU_push_tls_address.
1195 2002-09-11 Nick Clifton <nickc@redhat.com>
1197 * po/tr.po: Updated Turkish translation.
1199 2002-09-10 Nick Clifton <nickc@redhat.com>
1201 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1202 testsuite changes. Add paragraphs about testsuite and config
1205 2002-08-29 Nick Clifton <nickc@redhat.com>
1207 * readelf.c (get_machine_flags): Remove redundant reference to
1210 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1212 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1215 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1217 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1218 (dump_bfd_header): Likewise.
1220 2002-08-27 Alan Modra <amodra@bigpond.net.au>
1222 * nm.c: Revert last change.
1224 2002-08-26 Alan Modra <amodra@bigpond.net.au>
1226 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1227 * objdump.c (slurp_symtab): Likewise.
1228 (slurp_dynamic_symtab): Likewise.
1229 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1231 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
1233 * MAINTAINERS: Change my mailing address.
1235 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1237 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1239 2002-08-22 Nick Clifton <nickc@redhat.com>
1241 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1244 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1246 * readelf.c (parse_args): Change debug_dump_opt to static.
1248 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1250 * stabs.c (parse_stab_argtype): Pass length of physname to
1251 stab_demangle_argtypes.
1252 (stab_demangle_argtypes): Add new parameter - length of physname.
1253 Pass length of physname on to stab_demangle_prefix.
1254 (stab_demangle_prefix): Add new parameter - length of physname.
1255 Use length of physname (if supplied) to compute end of function
1258 2002-08-15 Alan Modra <amodra@bigpond.net.au>
1260 * readelf.c: Include elf/i370.h.
1261 (dump_relocations): Handle EM_S370.
1262 (dynamic_segment_parisc_val): Print \n.
1263 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1265 2002-08-14 Nick Clifton <nickc@redhat.com>
1267 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1268 * objdump.c (usage): Likewise.
1269 * doc/binutils.texi: Likewise.
1271 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1273 * rcparse.y (acc_entry): Don't warn about ALT use with
1276 2002-08-13 H.J. Lu <hjl@gnu.org>
1278 * objcopy.c (copy_object): Don't warn about the unsupported
1279 architecture unless the input target is defaulted or the
1280 output architecture is different from the input.
1282 2002-08-09 Nick Clifton <nickc@redhat.com>
1284 * po/sv.po: Updated Swedish translation.
1286 2002-08-05 Alan Modra <amodra@bigpond.net.au>
1288 * prdbg.c (pr_fix_visibility): Remove assert.
1290 2002-07-31 Nick Clifton <nickc@redhat.com>
1292 * addr2line.c (process_file): Rename parameter 'filename' to
1293 'file_name' in order to avoid shadowing global symbol of the
1297 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1299 * readelf.c (OPTION_DEBUG_DUMP): Define.
1301 (usage): Update help.
1302 (parse_args): Handle --debug-dump separately from -w.
1303 * doc/binutils.texi (readelf): Update documentation.
1305 2002-07-25 Nick Clifton <nickc@redhat.com>
1307 * po/es.po: Updated Spanish translation.
1308 * po/fr.po: Updated French translation.
1310 2002-07-24 Nick Clifton <nickc@redhat.com>
1312 * po/es.po: Updated Spanish translation.
1314 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1316 * Makefile.am: Run "make dep-am".
1317 * Makefile.in: Regenerate.
1319 2002-07-23 Nick Clifton <nickc@redhat.com>
1321 * po/fr.po: Updated French translation.
1323 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1325 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1327 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1329 * budemang.c: Include config.h and string.h/strings.h.
1331 2002-07-18 Denis Chertykov <denisc@overta.ru>
1332 Frank Ch. Eigler <fche@redhat.com>
1334 * readelf.c: Include "elf/ip2k.h".
1335 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1336 (dump_relocations): Likewise.
1337 (get_machine_name): Likewise.
1338 * NEWS: Mention IP2K support.
1340 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1342 * NEWS: Add 'Changes in 2.13'.
1344 2002-07-10 Jakub Jelinek <jakub@redhat.com>
1346 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1347 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1348 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1349 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1350 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1351 (process_gnu_liblist): New.
1352 (process_file): Call it.
1354 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1356 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1357 * Makefile.in: Regenerate.
1359 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1361 * budemang.c: New file, "demangle" function.
1362 * budemang.h: New file.
1363 * addr2line.c (translate_addresses): Use "demangle".
1364 * nm.c (print_symname): Likewise.
1365 * objdump.c (objdump_print_symname): Likewise.
1366 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1367 here since that obfuscates.
1368 * rdcoff.c: Don't #include demangle.h.
1369 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1370 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1371 (HFILES): Add budemang.h. Sort.
1372 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1374 * Makefile.in: Regenerate.
1376 2002-07-01 Matt Thomas <matt@3am-software.com>
1378 * readelf.c: Include "elf/vax.h".
1379 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1380 (dump_relocations): Handle VAX relocations.
1381 (get_machine_flags): Handle VAX machine flags.
1383 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1385 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1387 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1389 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1391 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1393 * nm.c (print_symname): When demangling, strip leading dots from
1394 symbol names to avoid confusing the demangler.
1396 2002-06-25 H.J. Lu <hjl@gnu.org>
1398 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1399 * Makefile.in: Regenerated.
1401 2002-06-21 Igor Schein <igor@txc.com>
1403 * configure.in: Quote bu_cv_have_fopen64.
1404 * configure: Regenerate.
1406 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1408 * configure.in: Check for strcoll.
1409 * configure: Regenerate.
1410 * config.in: Regenerate.
1411 * nm.c (main): Set locale for LC_COLLATE category.
1412 (non_numeric_forward): Use strcoll if available.
1414 2002-06-20 Dave Brolley <brolley@redhat.com>
1416 * MAINTAINERS: Add self as fr30 and frv maintainer.
1418 2002-06-18 H.J. Lu (hjl@gnu.org)
1420 * nm.c: Include "elf/common.h".
1421 (extended_symbol_info): Add elfinfo, a pointer to
1423 (SYM_SIZE): Use elfinfo if it is not NULL.
1424 (get_symbol_type): New function.
1425 (display_archive): Set print_width for each archive member.
1426 (display_file): Likewise.
1427 (display_rel_file): Don't set print_width here.
1428 (print_object_filename_sysv): Handle print_width.
1429 (print_archive_member_sysv): Likewise.
1430 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1431 (print_symbol): Set the elfinfo field in extended_symbol_info
1433 (print_object_filename_sysv): Fix the output format.
1434 (print_symbol_info_sysv): Print type and section for ELF.
1436 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1438 * nm.c (print_size_symbols): Remove assignment, which makes
1439 the symbol's size equal to its value when --size-sort is
1442 2002-06-18 Dave Brolley <brolley@redhat.com>
1444 From Catherine Moore:
1445 * readelf.c (elf/frv.h): #include it.
1446 (guess_is_rela): Support EM_CYGNUS_FRV.
1447 (dump_relocations): Ditto.
1448 (get_machine_name): Ditto.
1449 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1451 2002-06-18 Jakub Jelinek <jakub@redhat.com>
1453 * readelf.c (get_file_header): Only read the first section header if
1454 e_shoff is non-zero.
1456 2002-06-15 H.J. Lu (hjl@gnu.org)
1458 * nm.c (print_size): New variable. Initialize to 0.
1459 (long_options): Add 'S'/"print-size".
1461 (print_symbol_info_bsd): Print size only if print_size is not
1464 * doc/binutils.texi: Document -S/--print-size.
1466 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1468 * nm.c (struct extended_symbol_info): New structure: Add the size
1469 of the symbols to the information provided by the symbol_info
1471 (print_symbols): Pass the symbol size to print_symbol.
1472 (print_size_symbols): Pass the symbol size to print_symbol.
1473 (print_symbol): Extra argument: The size of the symbol. Store
1474 this in the extended_symbol_info structure.
1475 (print_symbol_info): Change type of info parameter to
1476 extended_symbol_info. Display the size, if known.
1477 (print_symbol_info_posix): Likewise.
1478 (print_symbol_info_sysv): Likewise.
1480 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1482 * Makefile.am: Run "make dep-am".
1483 * Makefile.in: Regenerate.
1484 * doc/Makefile.in: Regnerate.
1486 * bucomm.c: Replace CONST with const.
1488 * objdump.c: Likewise.
1490 2002-06-07 H.J. Lu <hjl@gnu.org>
1492 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1493 (DW_CFA_GNU_negative_offset_extended): Likewise.
1494 (DW_CFA_GNU_window_save): Likewise.
1495 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1496 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1498 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
1500 * nm.c: When computing size of symbols for an ELF target use the
1501 internal size field.
1503 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1505 * testsuite/binutils-all/objcopy.exp: clear xfail for
1507 * testsuite/binutils-all/hppa/objdump.exp: Return if
1510 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1512 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1514 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1516 * objdump.c: Fix formatting.
1518 2002-05-29 Ben Elliston <bje@redhat.com>
1520 * MAINTAINERS: Add self as M68k maintainer.
1522 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1524 * readelf.c: Modified/Added DLX elf support.
1526 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1528 * arsup.c: Fix formatting.
1529 * debug.c (debug_record_label): Add missing colon to error
1531 * ieee.c (parse_ieee_ty): Fix spelling typo.
1532 * readelf.c (process_program_headers): Remove English assumption
1533 about making a plural word.
1534 (process_section_headers): Likewise.
1535 (process_relocs): Allow quotes to be translated.
1536 (process_unwind): Likewise,
1537 (process_mips_specific): Improve error message.
1538 (get_note_type): Fix spelling typo.
1540 * configure.in (ALL_LINGUAS): Add sv
1541 * po/sv.po: New file.
1543 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1545 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1546 (unw_print_grmask): Likewise.
1547 (unw_print_frmask): Likewise.
1549 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1551 * arsup.c: Remove ARGSUSED.
1552 * debug.c: Likewise.
1554 * nlmconv.c: Likewise.
1555 * prdbg.c: Likewise.
1556 * stabs.c: Likewise.
1557 * wrstabs.c: Likewise.
1559 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1561 * arlex.l: Use #include "" instead of <> for local header files.
1562 * coffdump.c: Likewise.
1563 * coffgrok.c: Likewise.
1564 * nlmconv.c: Likewise.
1565 * nlmheader.y: Likewise.
1566 * srconv.c: Likewise.
1567 * strings.c: Likewise.
1568 * sysdump.c: Likewise.
1569 * unwind-ia64.h: Likewise.
1570 * windres.h: Likewise.
1571 * winduni.h: Likewise.
1573 2002-05-24 Tom Rix <trix@redhat.com>
1575 * MAINTAINERS: Add self as the d10v maintainer.
1577 2002-05-24 TAMURA Kent <kent@netbsd.org>
1579 * configure.in: Builds dlltool for i386-netbsdpe.
1580 * configure: Regenerate.
1582 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1584 * size.c: Fix formatting.
1585 * srconv.c: Likewise.
1586 * stabs.c: Likewise.
1587 * sysdump.c: Likewise.
1588 * unwind-ia64.c: Likewise.
1589 * wrstabs.c: Likewise.
1591 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1593 * readelf.c (get_segment_type): Add PT_TLS.
1594 (get_elf_section_flags): Add SHF_TLS.
1595 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1596 (process_dynamic_segment): Use puts instead of printf.
1597 (get_symbol_type): Support STT_TLS.
1598 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1599 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1600 Add SEC_THREAD_LOCAL.
1602 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1604 * rdcoff.c: Fix formatting.
1605 * rddbg.c: Likewise.
1606 * readelf.c: Likewise.
1607 * rename.c: Likewise.
1608 * resbin.c: Likewise.
1609 * resrc.c: Likewise.
1610 * resres.c: Likewise.
1612 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1614 * filemode.c: Fix formatting.
1616 * is-ranlib.c: Likewise.
1617 * is-strip.c: Likewise.
1618 * maybe-ranlib.c: Likewise.
1619 * maybe-strip.c: Likewise.
1620 * nlmconv.c: Likewise.
1622 * not-ranlib.c: Likewise.
1623 * not-strip.c: Likewise.
1624 * objcopy.c: Likewise.
1625 * objdump.c: Likewise.
1627 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1629 * objdump.c (dump_headers): Fix output formatting for ELF32
1630 architectures in a BFD64 enabled toolchain.
1632 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1634 * debug.c: Fix formatting.
1635 * debug.h: Likewise.
1636 * dlltool.c: Likewise.
1637 * dllwrap.c: Likewise.
1638 * emul_aix.c: Likewise.
1639 * emul_vanilla.c: Likewise.
1641 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1643 * addr2line.c: Fix formatting.
1645 * arsup.c: Likewise.
1646 * arsup.h: Likewise.
1647 * binemul.c: Likewise.
1648 * binemul.h: Likewise.
1649 * bucomm.c: Likewise.
1650 * coffdump.c: Likewise.
1651 * coffgrok.c: Likewise.
1652 * coffgrok.h: Likewise.
1654 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1656 * MAINTAINERS: Add myself as the second AVR port maintainer.
1658 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1660 * MAINTAINERS: Update my email address.
1662 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1664 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1666 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1668 * configure.in: Replace `*pe' with `pe' throughout.
1669 * configure: Regenerate.
1671 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1673 * Makefile.am: Honour DESTDIR.
1674 * Makefile.in: Regenerate.
1676 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1678 * dlltool.c (process_def_file): Add missing prototype.
1679 (new_directive, assemble_file, main): Likewise.
1680 (process_def_file, new_directive): Make static.
1681 (inform): Rewrite using VA_FIXEDARG.
1682 * dllwrap.c (mybasename): Add missing prototype.
1683 (strhash, main): Likewise.
1684 (inform): Rewrite using VA_FIXEDARG.
1686 (cleanup_and_exit): Use old style function definition.
1687 (strhash): Likewise.
1688 * windres.c (define_resource): Use one memset to clear all of
1689 struct res_resource.
1691 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1692 call to rules that need no lookahead. Check for no lookahead.
1694 2002-05-06 Borut Razem <borut.razem@siol.net>
1696 * rclex.l (get_string): Correct "strings" list handling.
1697 * resrc.c (read_rc_file): Discard strings.
1699 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1701 * ar.c (replace_members): Remove unused var. Formatting fix.
1702 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1704 * MAINTAINERS: Sort port maintainers by CPU.
1706 2002-05-04 Bob Byrnes <byrnes@curl.com>
1708 * size.c (display_archive): Add last_arfile and code to close archives.
1710 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1712 * nm.c (print_symbol): Check returned filename from
1713 bfd_find_nearest_line is non-NULL.
1715 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1717 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1719 2002-04-24 Christian Groessler <chris@groessler.org>
1721 * MAINTAINERS: Changed my email address.
1723 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1725 * arparse.y: Fix syntax warning.
1727 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1729 * readelf.c (fetch_location_list): Remove unused function.
1731 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1732 and display a warning message, then exit the loop.
1734 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1736 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1738 * resrc.c (write_rc_dialog): If charset is non-default value
1739 display all of the DIALOGEX parameters.
1741 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1743 * rcparse.y: Allow two to five parameter in FONT statement of
1745 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1747 (res_to_bin_dialog): Likewise.
1748 * windres.h: Added misssing charset variable to dialog_ex
1751 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1753 * rcparse.y: Set MEMFLAG_PURE by default.
1755 2002-04-09 Bernd Herd <info@herdsoft.com>
1757 * rcparse.y: CLASS definitions in DIALOG resources
1759 Fix typo in BEDIT warning.
1760 Don't add default dialog style when explicit style specified.
1761 Add WS_CAPTION dialog style if CAPTION is specified.
1763 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1764 (handle_quotes) "\a" escape (used for right justified key
1765 definitions in menus) is encodes as binary 8.
1767 * resrc.c (write_rc_dialog): Print style even if it is 0.
1768 (write_rc_directory): Fix overlooked sublang shift bug.
1769 (bin_to_res_dialog): Don't print empty dialog caption.
1771 * resbin.c (bin_to_res_dialog): Use signature to identify
1774 * windres.c (main): Set default LANGUAGE to english/us.
1776 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1778 * resrc.c: print CLASS names in quotes
1780 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1782 * MAINTAINERS: Update my email address.
1784 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1786 * dep-in.sed: Cope with absolute paths.
1787 * Makefile.am (dep.sed): Subst TOPDIR.
1789 * Makefile.in: Regenerate.
1791 2002-03-27 Peter Targett <peter.targett@arc.com>
1793 * MAINTAINERS: Update my email address.
1795 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1797 * Makefile.am: Run "make dep-am".
1798 * Makefile.in: Regenerate.
1799 * doc/Makefile.in: Regenerate.
1800 * po/POTFILES.in: Regenerate.
1801 * aclocal.m4: Regenerate.
1802 * config.in: Regenerate.
1803 * configure: Regenerate.
1805 2002-03-20 Daniel Berlin <dan@dberlin.org>
1807 * readelf.c: Add support for displaying dwarf2 location lists.
1808 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1809 (parse_args): Use 'O' as shorthand for displaying location list
1811 (process_section_headers): Handle debug_loc as well.
1812 (load_debug_loc): New.
1813 (free_debug_loc): New.
1814 (fetch_location_list): New.
1815 (display_debug_loc): New.
1816 (display_debug_info): Call load_debug_loc and free_debug_loc.
1817 (debug_displays): We can display .debug_loc now, too.
1818 (usage): Update usage string.
1819 (read_and_display_attr_value): Note location lists, but don't
1820 display them inline.
1822 2002-03-18 Tom Rix <trix@redhat.com>
1824 * Makefile.am: Add binutils emulation support.
1825 * configure.in: Same.
1826 * configure.tgt: New file. Same.
1827 * ar.c (main): Use ar_emul_parse_arg.
1828 (usage): Use ar_emul_usage.
1829 (replace_members): Use ar_emul_replace, ar_emul_append.
1830 * binemul.c: New file. Define the binutils emulation
1831 layer. Define default methods.
1832 * binemul.h: New file. Binutils emulation layer header file.
1833 * emul_aix.c: New file. AIX binutils emulation.
1834 * emul_vanilla.c: New file. Default binutils emulation.
1835 * Makefile.in: Regenerate.
1838 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1840 * po/fr.po: Updated version.
1842 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1844 * po/fr.po: Updated version.
1846 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1848 * README: Update some version numbers.
1850 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1852 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1853 (Architecture Selection): Likewise.
1855 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1857 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1858 generating .exp file.
1860 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1862 * readelf.c (dump_relocations): Fix typo.
1864 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1866 * NEWS: Mark 2.12 branch.
1868 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1870 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1871 types for 64-bit MIPS. Narrow some fields for 80-char
1873 (dump_relocations): Change spelling from 'unrecognised'
1875 (decode_ARM_machine_flags): Likewise.
1876 (parse_args): Likewise.
1877 (read_and_display_attr_value): Likewise.
1878 (display_debug_section): Likewise.
1880 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1882 * NEWS: Mention support for MMIX.
1884 2002-02-13 Matt Fredette <fredette@netbsd.org>
1886 * readelf.c (get_machine_flags): Recognize EF_M68000.
1888 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1890 * MAINTAINERS: Added self as MN10300 co-maintainer.
1892 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1894 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1897 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1899 * MAINTAINERS: List myself as branch maintainer.
1901 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1903 * configure: Regenerate.
1904 * objcopy.c: Update copyright date.
1905 * doc/Makefile.in: Regenerate.
1907 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1909 * nlmconv.c: Back out localtime PARAMS change.
1911 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1913 * objcopy.c (MKDIR): Define.
1914 (copy_archive): Make name_list.name const. Use MKDIR.
1915 Handle duplicate files in archives by making more temp dirs.
1917 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1919 * coffdump.c: Include "getopt.h" after "bucomm.h"
1920 so that macros are defined correctly.
1921 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1922 prototype. Prototype main.
1923 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1925 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1927 * MAINTAINERS: Added self as SH co-maintainer.
1929 2002-02-05 Nick Clifton <nickc@redhat.com>
1931 * po/tr.po: Updated translation.
1933 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1935 * Makefile.am: Run "make dep-am"
1936 * Makefile.in: Regenerate.
1938 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1940 * nm.c (print_value): Mark abfd unused.
1942 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1944 * unwind-ia64.c (unw_decoder): Change second argument
1945 to unsigned int, to match function prototypes.
1947 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1949 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1950 __GNU_LIBRARY__ will be defined.
1953 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1955 * configure: Regenerated.
1957 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1959 * doc/Makefile.am (install): Depend on install-info.
1960 * doc/Makefile.in: Regenerate.
1962 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1964 * objcopy.c (strip_usage): Document -d as an alias
1967 * size.c (usage): Document [-t | --totals] options.
1968 (long_options): Add --totals option.
1969 (main): If the [-t | --totals] option is specified and
1970 the output format is Berkeley-style, print the total
1971 text, data, and bss sizes of all objects listed.
1972 (print_berkeley_format): If the [-t | --totals] option
1973 is specified, track the total text, data, and bss
1975 * doc/binutils.texi (size): Document [-t | --totals] options.
1976 (strip): Document -d as an alias for --strip-debug.
1977 * NEWS: Mention new feature of size.
1979 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1981 * po/fr.po: Updated version.
1982 * po/es.po: Updated version.
1984 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1986 * addr2line.c (usage): Update text to provide verbose
1987 description of the command line options.
1988 * ar.c (usage): Update text to provide verbose
1989 description of the command line options.
1990 (main): Accept -h and -H when running as ranlib.
1991 * coffdump.c (show_usage): Update text to provide verbose
1992 description of the command line options.
1993 * dlltool.c (main): Accept -H as an alias for --help.
1994 * nlmconv.c (show_usage): Update text to provide verbose
1995 description of the command line options.
1996 * nm.c (usage): Replace OPTIONS with option(s).
1997 (main): Accept -H as an alias for --help.
1998 * objcopy.c (strip_main): Accept -H as an alias for --help.
1999 * objdump.c (main): Accept -v as an alias for --verbose.
2000 * readelf.c (usage): Adjust format to match style used in
2002 * size.c (usage): Update text to provide verbose description
2003 of the command line options.
2004 (main): Accept -v, -h and -H as command line options.
2005 * srconv.c (show_usage): Update text to provide verbose
2006 description of the command line options.
2007 * strings.c (main): Accept -H and -v as command line options.
2008 (usage): Update text to provide verbose description of the
2009 command line options.
2010 * sysdump.c (show_usage): Update text to provide verbose
2011 description of the command line options.
2012 * windres.c (usage): Adjust format to match style used in
2015 * coffdump.c: Fix formatting.
2016 * nlmconv.c: Fix formatting.
2017 * srconv.c: Fix formatting.
2018 * sysdump.c: Fix formatting.
2020 2002-01-22 Alan Modra <amodra@bigpond.net.au>
2022 * Makefile.am: Run "make dep-am".
2023 * Makefile.in: Regenerate.
2025 2002-01-18 Andreas Jaeger <aj@suse.de>
2027 * version.c (print_version): Update year.
2029 2002-01-17 Alan Modra <amodra@bigpond.net.au>
2031 * readelf.c (get_machine_name): Handle EM_PPC64.
2032 (guess_is_rela): Here too.
2034 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2036 * po/binutils.pot: Regenerate.
2037 * po/fr.po: Regenerate.
2038 * po/tr.po: Regenerate.
2040 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
2042 * po/tr.po: Import new version.
2044 2002-01-16 Alan Modra <amodra@bigpond.net.au>
2046 * readelf.c (get_ppc64_dynamic_type): New.
2047 (get_dynamic_type): Call it.
2049 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
2051 * objcopy.c (copy_usage): Use "options" instead of "switches".
2052 (strip_usage): Use "options" instead of "switches".
2053 * doc/binutils.texi (dlltool): Refer to "options" instead of
2056 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
2058 * MAINTAINERS: Add self as co-maintainer for the ARM code.
2060 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2062 * po/es.po: Import from translation project.
2063 * configure.in (ALL_LINGUAS): Add es.
2064 * configure: Regenerate.
2066 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2068 * readelf.c (get_netbsd_elfcore_note_type): Use
2069 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2071 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
2073 * readelf.c: Update copyright years.
2074 (get_note_type): Return a const char *.
2075 (get_netbsd_elfcore_note_type): New function.
2076 (process_note): Use get_netbsd_elfcore_note_type to get
2077 the note type string for NetBSD ELF core files.
2079 2002-01-06 Steve Ellcey <sje@cup.hp.com>
2081 * readelf.c (get_ia64_segment_type): Add support for macros.
2082 (get_segment_type): Add support for IA64 specific macros.
2084 2001-12-20 Julian v. Bock <julian@wongr.net>
2086 * readelf.c (print_symbol): New function: Print a formatted symbol
2087 name. If --wide is specified do not truncate it.
2088 (dump_relocations): Use print_symbol() to print symbol names.
2089 (process_symbol_table): Likewise.
2090 (process_syminfo): Likewise.
2091 (process_mips_specific): Likewise.
2092 (usage): Document new feature of --wide switch.
2093 * doc/binutils.texi (objdump): Document additional behaviour of
2096 2001-12-18 Michael Snyder <msnyder@redhat.com>
2098 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2099 (copy_object): Don't set the start address or flags of a core file.
2100 (copy_section): Don't relocate a core file. Don't copy contents
2101 if the input section has the contents flag set, but the output
2102 section does not (which happens with the fake 'note' pseudo-
2103 sections that BFD creates for corefiles).
2105 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2107 * readelf.c (get_machine_flags): Recognize header flags for ABI and
2108 ASE extensions. More robust code for ISA checking. Ignore empty fields
2109 in header flags for GNU extensions.
2111 2001-12-18 Alan Modra <amodra@bigpond.net.au>
2113 * objcopy.c (copy_archive): Set output bfd format outside the loop.
2115 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2117 * po/ja.po: Import from translation project.
2118 * configure.in (ALL_LINGUAS): Add ja.
2119 * configure: Regenerate.
2121 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2123 * addr2line.c (main): Protoype.
2124 * ar.c (main): Protoype.
2125 * nm.c (main): Protoype.
2126 * objcopy.c (main): Protoype.
2127 * objdump.c (main): Protoype.
2128 * size.c (main): Protoype.
2129 * strings.c (main): Protoype.
2131 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2133 * readelf.c (symtab_shndx_hdr): New global.
2134 (SECTION_HEADER_INDEX): Define.
2135 (SECTION_HEADER_NUM): Define.
2136 (SECTION_HEADER): Define.
2137 (GET_ELF_SYMBOLS): Pass two params rather than three.
2138 (get_32bit_elf_symbols): Take file and section args. Read and
2139 use SHT_SYMTAB_SHNDX.
2140 (get_64bit_elf_symbols): Likewise.
2141 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2142 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2143 Remember symtab_shdx_hdr.
2144 (process_program_headers): Scan from index 1 for segment map.
2145 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2147 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2148 (process_unwind): Likewise.
2149 (process_version_sections): Likewise.
2150 (process_symbol_table): Likewise.
2151 (display_debug_info): Likewise.
2152 (process_dynamic_segment): Fake up a symtab section for changed
2154 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2155 (process_program_headers): Kill signed/unsigned warning.
2156 (load_debug_str): Likewise.
2157 (display_debug_info): Likewise.
2159 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2161 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2163 2001-12-11 Alan Modra <amodra@bigpond.net.au>
2165 * readelf.c (process_file_header): Print extended e_shnum and
2166 e_shdtrndx values. Set elf_header values for same.
2167 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2168 (get_64bit_section_headers): Likewise.
2169 (process_section_headers): Update calls.
2170 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2172 2001-12-10 Jakub Jelinek <jakub@redhat.com>
2174 * objcopy.c (setup_section): Copy entsize.
2176 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2178 * readelf.c (guess_is_rela): Add support for stormy16.
2179 (dump_relocations): Likewise.
2180 (get_machine_name): Likewise.
2182 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2184 * dllwrap.c (main) Replace multiple strings describing a
2185 single error with a single, newline escaped sentence to permit
2186 better translation into foreign languages.
2188 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2191 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2193 * strings.c (get_char): Initialize value.
2195 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2197 * arlex.l: Silence compile warnings.
2198 * arsup.h: Likewise. Fix formatting.
2200 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2202 * strings.c: Include config.h before bfd.h.
2203 (file_off): New type.
2204 (file_open): Define.
2205 (print_strings): Use file_off instead of file_ptr. Print addresses
2206 which don't fit into long correctly.
2207 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2209 (strings_file): Use file_off instead of file_ptr. Use file_open.
2210 * configure.in: Check for getc_unlocked.
2211 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2213 * configure: Rebuilt.
2214 * config.h.in: Rebuilt.
2216 2001-11-29 H.J. Lu <hjl@gnu.org>
2218 * bucomm.c (make_tempname): Revert the changes made on
2219 2001-11-14 and 2001-11-12. They won't work with directories.
2221 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2223 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2224 CFLAGS_FOR_TARGET to runtest in environment.
2225 * Makefile.in: Rebuild.
2226 * doc/Makefile.in: Rebuild.
2228 2001-11-28 Mike Stump <mrs@wrs.com>
2230 * objcopy.c (setup_section): Preserve SEC_RELOC when
2231 --set-section-flags is used.
2233 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2235 * readelf.c (do_debug_str): New variable.
2236 (display_debug_str): New function: Display the contents of a
2238 (load_debug_str): New function: Load in the contents of a
2240 (free_debug_str): New function: Free the memory used by
2242 (fetch_indirect_string): Retrieve a string from the .debug_str
2245 (parse_args): Accept -ws.
2246 (process_section_headers): Allow the display of the .debug_str
2248 (read_and_display_attr_value): Use fetch_indirect_string. Show
2249 offset into .debug_str section.
2250 (display_debug_info): Use load_debug_str and free_debug_str.
2251 (debug_displays): Add .debug_str.
2252 * doc/binutils.texi: Document -ws.
2254 2001-11-19 Andreas Jaeger <aj@suse.de>
2256 * testsuite/binutils-all/objdump.exp: Add x86-64.
2258 2001-11-15 Andreas Schwab <schwab@suse.de>
2260 * readelf.c: Fix warnings without terminating newline.
2262 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2264 * doc/binutils.texi (objdump): Document ppc -M options.
2266 2001-11-14 Andreas Jaeger <aj@suse.de>
2268 * doc/binutils.texi (objdump): Fix description to use x86-64.
2270 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2272 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2273 not all systems provide mkstemp.
2275 2001-11-14 Alan Modra <amodra@bigpond.net.au>
2277 * doc/binutils.texi (objdump): Document x86 -M options.
2279 2001-11-13 Keith Walker <keith.walker@arm.com>
2281 * readelf.c (read_and_display_attr_value): New function to
2282 handle DW_FORM_indirect.
2283 (read_and_display_attr): Use it.
2285 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
2287 * readelf.c (display_debug_lines): Deal with unknown standard
2288 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2291 2001-11-13 Timothy Wall <twall@alum.mit.edu>
2293 * MAINTAINERS: Add self as tic54x maintainer. This target
2294 includes the IBM C54XDSP clone.
2296 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2298 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2300 2001-11-09 Jeffrey A Law (law@cygnus.com)
2302 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2303 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2304 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2305 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2306 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2307 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2308 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2310 * readelf.c (get_elf_class): Fix ISO portability glitch.
2311 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2313 2001-11-07 Jakub Jelinek <jakub@redhat.com>
2315 * readelf.c (debug_str, debug_str_size): New.
2316 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2318 (read_and_display_addr): Handle DW_FORM_strp.
2319 (display_debug_info): Read .debug_str section if present,
2320 so that DW_FORM_strp can be handled.
2321 Fix test for non-existant .debug_abbrev section.
2323 2001-11-05 Jakub Jelinek <jakub@redhat.com>
2325 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2327 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2329 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2331 * MAINTAINERS: Add self as s390/s390x maintainer.
2333 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
2335 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2337 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2339 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2340 * configure: Regernate.
2341 * po/fr.po: New file.
2342 * po/tr.po: New file.
2344 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2346 * MAINTAINERS: Add self as MMIX port maintainer.
2347 * readelf.c: Include elf/mmix.h.
2348 (guess_is_rela): MMIX is RELA.
2349 (dump_relocations): Handle MMIX relocations.
2350 * Makefile.am: Regenerate dependencies.
2351 * Makefile.in: Regenerate.
2353 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2355 * readelf.c (parse_args): Handle multiple options to the -w
2358 2001-10-12 Jakub Jelinek <jakub@redhat.com>
2360 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2361 LOPROC, LOOS and LOUSER.
2363 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
2365 * MAINTAINERS: Update my email address.
2367 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2369 * doc/Makefile.in: Regenerate.
2370 * configure: Regenerate.
2372 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2374 * readelf.c (display_debug_line, display_debug_pubnames,
2375 display_debug_info, display_debug_frames): Detect and warn
2376 about 64-bit format entries.
2377 (display_debug_aranges): Reword 64-bit warning.
2378 (debug_displays): Add .debug_pubtypes as a known, but not yet
2379 supported, debug section.
2381 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2383 * coffdump.c (PROGRAM_VERSION): Delete.
2384 (main <'V'>): Call print_version.
2385 * srconv.c: Likewise.
2386 * sysdump.c: Likewise.
2387 * version.c (program_version): Remove.
2388 (print_version): Use BFD_VERSION_STRING. Just print the current
2389 year in copyright message.
2390 * addr2line.c (program_version): Remove unused declaration.
2391 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2392 place of BFD_VERSION.
2393 * Makefile.am (Makefile): Depend on bfd/configure.in.
2394 (cplus-dem.o): Depend on Makefile.
2396 * Makefile.in: Regenerate.
2398 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2400 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2401 format .debug_arange sections.
2402 (main): Add missing prototype.
2404 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2406 * Makefile.am: Update dependencies with "make dep-am".
2407 * Makefile.in: Regenerate.
2409 2001-09-28 Richard Henderson <rth@redhat.com>
2411 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2413 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2415 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2417 (non_fatal): Likewise.
2418 * objdump.c (objdump_sprintf): Likewise.
2419 * readelf.c (error): Likewise.
2422 2001-09-25 Jakub Jelinek <jakub@redhat.com>
2424 * readelf.c (do_wide): New.
2425 (options): Add --wide.
2426 (usage, parse_args): Likewise.
2427 (process_program_headers): Put each segment on a single line if
2429 (process_section_headers): Put each section on a single line if
2431 * doc/binutils.texi: Document it.
2434 2001-09-25 Alan Modra <amodra@bigpond.net.au>
2436 * readelf.c (print_vma): Print 8 digits of low hex value.
2438 2001-09-24 Andreas Jaeger <aj@suse.de>
2440 * nlmconv.c: Fix warnings about unused attributes and function
2443 * strings.c: Add prototype for get_char.
2445 2000-09-19 H.J. Lu <hjl@gnu.org>
2447 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2448 $(srcdir)/cxxfilt.man.
2449 * doc/Makefile.in: Rebuild.
2451 2001-09-19 Alan Modra <amodra@bigpond.net.au>
2453 * objcopy.c (copy_main): Correct rename-section string parsing.
2454 Consolidate new_name parsing, and error messages.
2456 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2458 * addr2line.c: Don't include <ctype.h>.
2459 (main): For gettext, also set the LC_CTYPE locate facet.
2460 * ar.c (main): Likewise.
2461 * coffdump.c (main): Likewise.
2462 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2463 (main): For gettext, also set the LC_CTYPE locate facet.
2464 Use ISALNUM instead of isalpha/isdigit.
2465 * dllwrap.c: Don't include <ctype.h>.
2466 (main): For gettext, also set the LC_CTYPE locate facet.
2467 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2468 (main): For gettext, also set the LC_CTYPE locate facet.
2469 Use TOUPPER instead of islower/toupper.
2470 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2471 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2472 Use TOUPPER instead of islower/toupper.
2473 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2474 * objcopy.c (main): Likewise.
2475 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2476 (disassemble_bytes): Use ISPRINT instead of isprint.
2477 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2478 (dump_data): Use ISPRINT instead of isprint.
2479 (main): For gettext, also set the LC_CTYPE locate facet.
2480 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2481 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2482 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2483 Use TOUPPER instead of islower/toupper.
2484 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2485 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2486 (write_rc_accelerators): Use ISPRINT instead of isprint.
2487 (write_rc_rcdata): Likewise.
2488 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2489 * srconv.c (main): Likewise.
2490 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2491 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2492 isdigit/isupper/islower.
2493 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2494 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2495 stab_demangle_prefix, stab_demangle_qualified,
2496 stab_demangle_template, stab_demangle_type,
2497 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2498 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2499 (isgraphic): Use ISPRINT instead of isascii/isprint.
2500 (main): Remove HAVE_LC_MESSAGES dependency.
2501 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2502 (pbarray): Use ISPRINT instead of isprint.
2503 (main): For gettext, also set the LC_CTYPE locate facet.
2504 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2505 (format_from_filename): Use ISPRINT instead of isprint.
2506 (main): For gettext, also set the LC_CTYPE locate facet.
2507 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2508 (unicode_print): Use ISPRINT instead of isprint.
2509 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2510 (stab_variable): Use ISDIGIT instead of isdigit.
2512 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2514 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2515 Replace bfd_read call with call to bfd_bread.
2516 (extract_file): Likewise.
2518 * objdump.c (dump_section_header): Cast section->filepos to
2519 unsigned long to suit printf format string.
2520 * readelf.c (process_section_headers): Similarly for sh_offset.
2521 (process_unwind): Likewise.
2523 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2525 * strings.c (encoding, encoding_bytes): New variables.
2526 (long_options): Add --encoding.
2527 (main): Accept -e and --encoding.
2528 (get_char): New function. Read a, possibly wide, character from
2530 (print_strings): Use get_char().
2531 (usage): Document new command line option.
2532 * doc/binutils.texi: Document new command line option.
2533 * NEWS: Announce new command line option.
2535 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2537 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2538 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2539 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2540 Removed EM_CYGNUS_ARC.
2542 2001-09-04 Jeffrey A Law (law@cygnus.com)
2544 * readelf.c: Include elf/h8 for H8 series definitions.
2545 (guess_is_rela): H8 series if RELA.
2546 (dump_relocations): Handle H8 series relocations.
2548 2001-08-31 Eric Christopher <echristo@redhat.com>
2550 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2552 2001-08-29 Peter Targett <peter.targett@arccores.com>
2554 * MAINTAINERS: Include ARC Maintainer.
2556 2001-08-29 Ben Elliston <bje@redhat.com>
2558 * stabs.c (stab_demangle_template): Initialise s4.
2560 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2562 * readelf.c (dump_relocations): Recognise EM_PPC64.
2564 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2566 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2568 2001-08-25 H.J. Lu <hjl@gnu.org>
2570 * nm.c (print_width): New.
2571 (display_rel_file): Set `print_width' according to
2573 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2575 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2577 * objcopy.c (use_alt_mach_code): New variable.
2578 (OPTION_ALT_MACH_CODE): Define.
2579 (copy_options): Added --alt-machine-code.
2580 (copy_main): Handle it.
2581 (copy_object): Switch to alternate machine code if requested.
2582 * doc/binutils.texi: Document new option.
2585 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2587 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2589 2001-08-21 H.J. Lu <hjl@gnu.org>
2591 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2592 (display_debug_info): Cast for 64bit hosts.
2593 (display_debug_frames): Likewise.
2594 (process_mips_specific): Likewise.
2596 2001-08-21 Andreas Jaeger <aj@suse.de>
2598 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2600 * sysdump.c: Add missing prototypes.
2601 * srconv.c: Likewise.
2602 * unwind-ia64.c: Likewise.
2603 * coffdump.c: Likewise.
2605 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2607 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2608 of declaring xcalloc.
2610 2001-08-10 H.J. Lu <hjl@gnu.org>
2612 * nm.c (print_value): Add one arg, bfd *.
2613 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2614 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2615 (print_symbol_info_sysv): Likewise.
2616 (print_symbol_info_posix): Likewise.
2618 * objdump.c (dump_section_header): Replace printf_vma with
2620 (print_section_stabs): Likewise.
2621 (dump_bfd_header): Likewise.
2622 (objdump_print_value): Replace sprintf_vma with
2624 (disassemble_bytes): Likewise.
2625 (dump_reloc_set): Likewise.
2627 2001-08-10 Andreas Jaeger <aj@suse.de>
2629 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2631 * configure: Regenerate.
2633 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2635 * readelf.c: Add missing prototypes.
2636 * objdump.c: Likewise. Format existing prototypes.
2638 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2640 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2641 of any RELA relocation for the abbrev_offset memory location that
2642 refers to the .debug_abbrev section symbol.
2644 2001-08-07 H.J. Lu <hjl@gnu.org>
2646 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2647 (main): Return process_file ().
2649 2001-08-05 Philip Blundell <philb@gnu.org>
2651 * doc/binutils.texi: Use "Thumb" not "THUMB".
2653 2001-08-03 John Healy <jhealy@redhat.com>
2655 Patch suggested by Frank Eigler <fche@redhat.com>.
2656 * objdump.c (disassemble_data): Fill in section member of the
2657 disasm_info structure.
2659 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2661 * configure.in: Added --with-windres option.
2662 * configure: Regenerated.
2664 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2666 * doc/binutils.texi: Use @command{name} for commands;
2667 use @option{-opt} for options; use @table @env for list of options;
2668 remove spaces arround [ | ] in synopsis.
2670 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2673 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2675 * objcopy.c: Fix formatting.
2676 (section_rename): New structure.
2677 (OPTION_RENAME_SECTION): New switch.
2678 (copy_usage): Document new switch.
2679 (add_section_rename): New function: Add a node to the section
2681 (find_section_rename): New function: Find the new name and
2682 flags for a section.
2683 (setup_section): Call find_section_name to determine the name
2684 of the output section.
2685 (copy_main): Handle OPTION_RENAME_SECTION.
2686 * binutils.texi: Document new switch.
2687 * NEWS: Mention new switch.
2689 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2691 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2692 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2693 bug-binutils@gcc.org.
2695 2001-07-28 Matthias Kramm <kramm@quiss.org>
2697 * bucomm.c (list_supported_architectures): New function.
2698 * bucomm.h (list_supported_architectures): Declare.
2699 * objdump.c (usage): Call the above.
2701 2001-07-25 Dave Brolley <brolley@redhat.com>
2703 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2704 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2706 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2708 * README: Update for 2.11. Change bug reporting email address.
2709 * MAINTAINERS: Tidy up. Change bug reporting email address.
2711 2001-07-16 DJ Delorie <dj@redhat.com>
2713 * resres.c (write_res_header): Align header size.
2714 (res_align_file): Calculate alignment correctly.
2716 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2718 * resrc.c (write_rc_resource): Likewise.
2719 * windres.h (SUBLANG_SHIFT): Define - as 10.
2721 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2723 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2725 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2727 * MAINTAINERS: Add notes about branch checkins.
2729 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2731 * readelf.c (display_debug_macinfo): New function, display
2732 .debug_macinfo section.
2733 (do_debug_macinfo): New variable.
2734 (parse_args): Handle "-w[mM]" to mean display macro info.
2735 (process_section_headers): Handle debug_macinfo.
2736 (debug_displays): Replace unsupported function with macinfo
2737 function for .debug_macinfo display.
2738 * doc/binutils.texi: Document new command line switch.
2739 * NEWS: Document new feature of readelf.
2741 2001-07-05 H.J. Lu <hjl@gnu.org>
2743 * objcopy.c (filter_symbols): Don't turn undefined symbols
2746 2001-07-03 H.J. Lu <hjl@gnu.org>
2748 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2751 (dlltool.1): Likewise.
2752 (nlmconv.1): Likewise.
2754 (objcopy.1): Likewise.
2755 (objdump.1): Likewise.
2756 (ranlib.1): Likewise.
2757 (readelf.1): Likewise.
2759 (strings.1): Likewise.
2760 (strip.1): Likewise.
2761 (windres.1): Likewise.
2762 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2763 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2766 * doc/Makefile.in: Regenerated.
2768 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2770 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2772 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2774 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2776 2001-06-29 James Cownie <jcownie@etnus.com>
2778 * readelf.c: Support DWARF 2.1 attributes.
2780 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2782 * readelf.c (GET_DATA_ALLOC): Remove.
2784 (get_data): New function combining above macros, with an extra
2786 (slurp_rela_relocs): Use get_data, and catch error return.
2787 (slurp_rel_relocs): Likewise.
2788 (get_32bit_program_headers): Likewise.
2789 (get_64bit_program_headers): Likewise.
2790 (get_32bit_section_headers): Likewise.
2791 (get_64bit_section_headers): Likewise.
2792 (get_32bit_elf_symbols): Likewise.
2793 (get_64bit_elf_symbols): Likewise.
2794 (process_section_headers): Likewise.
2795 (process_relocs): Likewise.
2796 (slurp_ia64_unwind_table): Likewise.
2797 (process_unwind): Likewise.
2798 (get_32bit_dynamic_segment): Likewise.
2799 (get_64bit_dynamic_segment): Likewise.
2800 (process_dynamic_segment): Likewise.
2801 (process_version_sections): Likewise.
2802 (process_symbol_table): Likewise.
2803 (dump_section): Likewise.
2804 (display_debug_info): Likewise.
2805 (display_debug_section): Likewise.
2806 (process_section_contents): Likewise.
2807 (process_corefile_note_segment): Likewise.
2808 (process_mips_specific): Likewise. Also free econf32, econf64.
2810 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2812 * readelf.c (dump_relocations): Print "bad symbol index" if
2813 symtab == NULL with non-zero symtab_index.
2814 (process_relocs): Don't bomb if reloc section has no symsec.
2816 2001-06-24 H.J. Lu <hjl@gnu.org>
2818 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2820 (copy_main): Apply the the change made to strip_main on
2821 2001-05-30 by accident.
2823 2001-06-23 Andreas Jaeger <aj@suse.de>
2825 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2827 (unw_decode_x2): Likewise.
2828 (unw_decode_x3): Likewise.
2829 (unw_decode_x4): Likewise.
2831 2001-06-23 Ben Elliston <bje@redhat.com>
2833 * MAINTAINERS: Add myself as M88k maintainer.
2835 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2837 * objcopy.c (strip_main): Support -o or --output-file command lien
2840 2001-06-19 H.J. Lu <hjl@gnu.org>
2842 * doc/Makefile.in: Regenerated.
2844 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2846 * readelf.c: Restore formatting.
2848 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2850 * Makefile.am: Move documentation into doc subdirectory.
2851 * Makefile.in: Regenerated.
2852 * binutils.texi: Move into doc subdirectory.
2853 * addr2line.1: Removed.
2855 * dlltool.1: Likewise.
2856 * nlmconv.1: Likewise.
2858 * objcopy.1: Likewise.
2859 * objdump.1: Likewise.
2860 * ranlib.1: Likewise.
2861 * readelf.1: Likewise.
2863 * strings.1: Likewise.
2864 * strip.1: Likewise.
2865 * windres.1: Likewise.
2866 * cxxfilt.man: Likewise.
2867 * doc: New Directory.
2868 * doc/Makefile.am: New file.
2869 * doc/Makefile.in: Generate.
2871 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2873 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2875 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2877 * MAINTAINERS: Update my email address.
2879 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2881 * objcopy.c: Add new switches: --keep-global-symbol,
2882 --keep-symbols, --localize-symbols, --keep-global-symbols and
2884 * binutils.texi: Document new switches.
2885 * objcopy.1: Regenerate.
2886 * NEWS: Announce new feature.
2888 2001-05-28 Andreas Jaeger <aj@suse.de>
2890 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2891 variables, fix format strings.
2893 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2895 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2896 when computing the address of the line to show.
2898 2001-05-16 Richard Henderson <rth@redhat.com>
2900 * readelf.c (do_debug_frames_interp): New.
2901 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2902 (byte_get_big_endian): Likewise.
2903 (parse_args) ['F']: Set do_debug_frames_interp.
2904 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2905 (frame_display_row): Don't trunc pc_begin to int.
2906 (size_of_encoded_value): New.
2907 (display_debug_frames): Handle 64-bit targets. Print raw data
2908 unless do_debug_frames_interp.
2909 (debug_displays): Remove duplicate .debug_frame.
2911 2001-05-15 Ralf Baechle <ralf@gnu.org>
2913 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2914 The former constant was never in active use and is used otherwise
2917 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2919 * readelf.c (process_unwind): Print all unwind sections, not just
2922 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2924 * readelf.c (process_unwind): Remove const specifier.
2926 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2928 * strings.c (isgraphic): Do not use isascii() unless it is needed
2929 for isprint() to work.
2930 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2932 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2934 * NEWS: Announce support for OpenRISC.
2936 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2938 * dlltool.c (do_default_excludes): Initialise to true.
2940 2001-04-10 Alan Modra <amodra@one.net.au>
2942 * MAINTAINERS: Update my email address
2943 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2945 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2947 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2949 2001-03-30 H.J. Lu <hjl@gnu.org>
2951 * readelf.c (process_unwind): Just return if do_unwind is 0.
2953 2001-03-28 Roger Sayle <roger@metaphorics.com>
2955 * dlltool.c (make_one_lib_file): Fix section flags for
2956 .text, .data and .bss in stub ds*.o files to match those
2959 2001-03-29 H.J. Lu <hjl@gnu.org>
2961 * readelf.c (process_unwind): Only do unwind sections for
2964 2001-03-28 H.J. Lu <hjl@gnu.org>
2966 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2967 * Makefile.in: Regenerate.
2969 2001-03-26 Andreas Jaeger <aj@suse.de>
2971 * binutils.texi (nm): Fix texi syntax.
2973 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2975 * binutils.texi: Put @c man begin and @c man end indications
2976 to generate man pages using texi2pod and pod2man. Put @c man title
2977 to identify each man. Add SEEALSO entries.
2978 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2979 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2981 (*.1): Build the man pages from binutils.texi.
2982 * Makefile.in: Regenerate.
2984 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2986 * defparse.y (opt_equal_name): allow "." in name.
2987 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2988 (gen_exp_file): Likewise.
2990 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2992 * NEWS: Document addition of -B switch to objcopy.
2993 * binutils.texi: Document addition of -B switch to objcopy.
2994 * objcopy.c: (copy_options): Add --binary-architecture.
2995 (copy_usage): Document -B/--binary-architecture.
2996 (copy_main): Support -B/--binary-architecture. Set
2997 bfd_external_binary_architecture.
2999 2001-03-11 Andreas Jaeger <aj@suse.de>
3001 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
3002 (dump_relocations): Likewise.
3003 (get_machine_name): Likewise.
3005 2001-02-28 Nick Clifton <nickc@redhat.com>
3007 * readelf.c: (struct unw_aux_info): Remove const modifier for
3009 (process_unwind): Remove non-K&R compliant LHS type cast in call
3010 to GET_DATA_ALLOC macro.
3012 2001-02-28 Philip Blundell <pb@futuretv.com>
3014 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
3015 ABI is in use; remove ambiguity between the "unknown" EABI and
3016 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
3017 renamed EF_xx constants.
3019 2001-02-27 Alan Modra <alan@linuxcare.com.au>
3021 * configure.in (BFD_VERSION): New.
3022 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3023 * configure: Regenerate.
3024 * Makefile.am: Run "make dep-am"
3025 * Makefile.in: Regenerate.
3027 2001-02-14 Nick Clifton <nickc@redhat.com>
3029 * MAINTAINERS: Add "Obvious Fix" rule.
3031 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3033 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
3034 literal concatenation.
3036 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3038 * readelf.c (struct unw_aux_info): Remove const from the info member.
3039 (process_unwind): Don't type-cast the third argument to the
3040 GET_DATA_ALLOC macro.
3042 2001-02-11 Nick Clifton <nickc@redhat.com>
3044 * readelf.c (dump_relocations): Free corrected allocated
3046 (process_unwind): Fix compile time warning.
3048 2001-02-10 Nick Clifton <nickc@redhat.com>
3050 * binutils.texi: Document new --unwind option to readelf.
3052 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3054 * readelf.c: Add linux target for S/390.
3056 2001-02-10 Alan Modra <alan@linuxcare.com.au>
3058 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
3061 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
3063 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3064 * aclocal.m4: Regenerate.
3065 * configure: Regenerate.
3067 2001-02-07 Todd Vierling <tv@wasabisystems.com>
3069 * bucomm.c (bfd_target_vector): Change extern array to pointer.
3070 * objdump.c (bfd_target_vector): Likewise.
3072 2001-02-07 David Mosberger <davidm@hpl.hp.com>
3074 * readelf.c (process_unwind): New function.
3075 (slurp_ia64_unwind_table): Ditto.
3076 (dump_ia64_unwind): Ditto.
3077 (find_symbol_for_address): Ditto.
3078 (slurp_rela_relocs): New function (split off from dump_relocations()).
3079 (slurp_rel_relocs): Ditto.
3080 (parse_args): Handle '-u' option.
3082 * unwind-ia64.c: New file.
3083 * unwind-ia64.h: New file.
3084 * Makefile.am: Include unwind-ia64.c in readelf build.
3085 * Makefile.in: Regenerate.
3086 * po/binutils.pot: Regenerate.
3088 2001-02-04 Philip Blundell <philb@gnu.org>
3090 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3091 * configure: Regenerate.
3093 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
3095 * ieee.c (ieee_add_bb11): Don't check for backslashes
3096 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3098 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
3100 * ieee.c: Update copyright.
3101 (ieee_start_compilation_unit): Don't check for backslashes
3102 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3104 * stabs.c: Update copyright. Include "filenames.h".
3105 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3107 2001-01-23 Jakub Jelinek <jakub@redhat.com>
3109 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3110 sections are present before using them. Remove code duplication.
3111 (process_symbol_table): Check if VERDEF or VERNEED sections are
3112 present before using them.
3114 2001-01-17 Nick Clifton <nickc@redhat.com>
3116 * objcopy.c (copy_object): Fail if attempting to convert the
3117 endianness of the input object file.
3119 * binutils.texi: Explain that objcopy cannot convert endianness.
3121 2001-01-16 Nick Clifton <nickc@redhat.com>
3123 * readelf.c (string_table_length): New variable.
3124 (SECTION_NAME): Catch out of range indices and missing section
3126 (process_section_headers): Delete useless local variable
3127 string_table_offset. Set the value of string_table_length
3128 after loading the string table.
3129 (process_mips_specific): Use SECTION_NAME macro.
3130 (process_file): Set string_table_length to 0 when it is freed.
3132 2001-01-12 Nick Clifton <nickc@redhat.com>
3134 * version.c (print_version): Update copyright date.
3136 2001-01-11 Peter Targett <peter.targett@arccores.com>
3138 * readelf.c (dump_relocations): Include selection with EM_ARC.
3139 (get_machine_name) Update name to "ARC".
3141 2001-01-09 Nick Clifton <nickc@redhat.com>
3143 * Makefile.am: Add rule to build objdump.o from objdump.c and
3145 * Makefile.in: Regenerate.
3147 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3148 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3149 -DDISASSEMBLER_NEEDS_RELOCS.
3150 * configure: Regenerate.
3152 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3153 is defined read in the relocs even if dump_reloc_info is
3156 2001-01-07 Philip Blundell <philb@gnu.org>
3158 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3162 2000-12-19 Nick Clifton <nickc@redhat.com>
3164 * dlltool.c: Add missing support for arm-epoc-pe.
3165 * configure.in: Add missing support for arm-epoc-pe.
3166 * configure: Regenerate.
3168 2000-12-15 Nick Clifton <nickc@redhat.com>
3170 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3171 Mode parts of the x86 port.
3173 2000-12-04 Andreas Jaeger <aj@suse.de>
3175 * readelf.c (guess_is_rela): Add EM_X86_64.
3176 (dump_relocations): Add EM_X86_64.
3177 (get_machine_name): Add EM_X86_64.
3178 Include "elf/x86-64.h".
3180 2000-12-12 Nick Clifton <nickc@redhat.com>
3182 * readelf.c: Fix formatting.
3184 2000-12-11 Jan Hubicka <jh@suse.cz>
3186 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3188 2000-12-07 Andrew Haley <aph@redhat.com>
3190 * readelf.c (display_debug_frames): Only display columns that are
3191 referenced by the frame debug info.
3193 2000-12-05 Nick Clifton <nickc@redhat.com>
3195 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3197 2000-12-04 Jason Merrill <jason@redhat.com>
3199 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3200 (display_debug_section): Likewise.
3201 (display_debug_info): Display CU header before bailing.
3203 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3205 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3206 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3207 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3209 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3212 * readelf.c (get_machine_flags): Add case for
3215 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
3217 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3219 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3221 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
3222 Change sourceware.cygnus.com to sources.redhat.com.
3223 Fix typo for "amongst".
3225 2000-11-28 Nick Clifton <nickc@redhat.com>
3227 * strip.1 (COPYING): Mention that the GNU Free Documentation
3228 License is present in the sources, but not the output, and
3229 also available from the GNU website.
3230 (GNU Free Documentation License): Comment out this section.
3239 * addr2line.1: Ditto.
3241 2000-11-27 DJ Delorie <dj@redhat.com>
3243 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3244 (parse_args): Support -wf option.
3245 (process_section_headers): Ditto.
3246 (debug_displays): Ditto.
3247 (display_debug_frames): New, dump *_frame sections.
3248 (frame_need_space): Support for above.
3249 (frame_display_row): Ditto.
3250 * binutils.texi: Document it.
3252 2000-11-24 Nick Clifton <nickc@redhat.com>
3254 * NEWS: Announce support for v5t, v5te and XScale.
3256 2000-11-22 Nick Clifton <nickc@redhat.com>
3258 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3259 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3260 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3261 (get_elf_section_flags: Add SHF_GROUP.
3262 (process_section_headers): Adjust output for 32-bit binaries
3263 to look nice on an 80 column terminal.
3265 2000-11-20 H.J. Lu <hjl@gnu.org>
3267 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3270 2000-11-17 Richard Henderson <rth@redhat.com>
3272 * readelf.c (display_debug_lines): Adjust last change to
3273 use sizeof (external->li_length).
3275 2000-11-17 Richard Henderson <rth@redhat.com>
3277 * readelf.c (display_debug_lines): Fix section length check
3278 and end_of_sequence computation.
3280 2000-11-06 Nick Clifton <nickc@redhat.com>
3282 * binutils.texi: Add GNU Free Documentation License.
3283 * objcopy.1: Add GNU Free Documentation License.
3284 * objdump.1: Add GNU Free Documentation License.
3285 * addr2line.1: Add GNU Free Documentation License.
3286 * ar.1: Add GNU Free Documentation License.
3287 * nlmconv.1: Add GNU Free Documentation License.
3288 * nm.1: Add GNU Free Documentation License.
3289 * ranlib.1: Add GNU Free Documentation License.
3290 * size.1: Add GNU Free Documentation License.
3291 * strings.1: Add GNU Free Documentation License.
3292 * strip.1: Add GNU Free Documentation License.
3294 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
3296 * objcopy.c (--srec-len=nn): New parameter to set the
3297 maximum length of generated Srecords.
3298 (--srec-forceS3): New parameter that restricts the generation of
3299 Srecords to type S3 only.
3300 * binutils.texi: Document new command line switches.
3301 * objcopy.1: Docuemnt the new command line switches.
3302 * NEWS: Announce the existence of the new command line switches.
3304 2000-10-31 Nick Clifton <nickc@redhat.com>
3306 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3307 code. Add Eric Chrisopher as maintainer of MN10300 port.
3309 2000-10-12 Roger Sayle <roger@metaphorics.com>
3311 * Make comma after string after icon/control optional.
3313 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3315 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3317 * NEWS: Mention support for MIPS32.
3319 2000-09-08 Nick Clifton <nickc@redhat.com>
3321 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3323 2000-09-07 H.J. Lu <hjl@gnu.org>
3325 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3326 * configure: Rebuild.
3328 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3330 * configure: Rebuilt with new libtool.m4.
3332 2000-09-05 Nick Clifton <nickc@redhat.com>
3334 * aclocal.m4: Regenerate.
3335 * config.in: Regenerate.
3336 * configure: Regenerate.
3338 2000-09-04 Todd Vierling <tv@wasabisystems.com>
3340 * strip.1: Fix stray '\' in -o formatting.
3342 2000-09-02 Nick Clifton <nickc@redhat.com>
3344 * configure.in: Increase version number to 2.10.91.
3345 * configure: Regenerate.
3346 * aclocal.m4: Regenerate.
3347 * config.in: Regenerate.
3348 * po/binutils.pot: Regenerate.
3350 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3352 * acinclude.m4: Include libtool and gettext macros from the
3354 * aclocal.m4, configure: Rebuilt.
3356 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
3358 * resrc.c (close_input_stream): Delete extraneous logic
3360 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3362 * NEWS: Mention support for CRIS.
3364 2000-08-21 Nick Clifton <nickc@redhat.com>
3366 * addr2line.c: Changed email address for Ulrich Lauther.
3368 2000-08-17 Christopher C. Chimelis <chris@debian.org>
3370 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3372 2000-08-17 Nick Clifton <nickc@redhat.com>
3374 * readelf.c (display_debug_pubnames): Only issue warning
3375 message once. Terminate message with a new line.
3376 (display_debug_aranges): Only display version 2 debug info.
3378 2000-08-14 Todd Vierling <tv@wasabisystems.com>
3380 * objcopy.c (strip_main): Silently accept -d as an alias for -g
3381 for compatibility with old BSD systems.
3383 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3385 * NEWS: Mention i860 support.
3387 2000-08-11 Carlo Wood <carlo@alinoe.com>
3389 * addr2line.c (main): Add const to char *.
3391 2000-08-11 Geoff Keating <geoffk@cygnus.com>
3393 * ar.c (main): Don't crash if called with no arguments
3394 or only '-X32_64' as an argument.
3396 2000-08-08 DJ Delorie <dj@redhat.com>
3398 * resrc.c: use "gcc -xc" instead of -xc-header
3400 2000-08-05 Jason Eckhardt <jle@cygnus.com>
3402 * readelf.c (elf/i860.h): Include.
3403 (dump_relocations): Add recognition of i860 architecture.
3404 (guess_is_rela): Add recognition of i860 architecture.
3406 2000-08-03 Nick Clifton <nickc@cygnus.com>
3408 * MAINTAINERS: Add information about CGEN maintainers.
3410 2000-07-26 Geoff Keating <geoffk@cygnus.com>
3412 * nm.c (main): Ignore '-X32_64' as an option.
3413 * ar.c (main): Likewise.
3414 * binutils.texi (nm): Document new option.
3417 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3419 * rdcoff.c (external_coff_symbol_p): K&R-ise.
3421 2000-07-20 H.J. Lu <hjl@gnu.org>
3423 * binutils.texi: Put back "@end table" deleted by
3426 2000-07-05 Kenneth Block <krblock@computer.org>
3428 * nm.c: Add optional style to demangle switch.
3429 * objdump.c: Add optional style to demangle switch.
3430 * addr2line.c: Add optional style to demangle switch.
3431 * binutils.texi: Document optional style to demangle
3434 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3436 * MAINTAINERS: Add self as CRIS port maintainer.
3437 * readelf.c: Include elf/cris.h.
3438 (guess_is_rela): Handle EM_CRIS.
3439 (dump_relocations): Ditto.
3440 (get_machine_name): Ditto.
3441 * Makefile.am: Rebuild dependencies.
3442 * Makefile.in: Regenerate.
3443 * po/binutils.pot: Regenerate.
3445 2000-07-19 H.J. Lu <hjl@gnu.org>
3447 * readelf.c (get_dynamic_type): Change "AUXILARY" to
3449 (process_dynamic_segment): Print out strings for DT_CONFIG,
3450 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3452 2000-07-19 Mark Kettenis <kettenis@gnu.org>
3454 * nm.c (usage): Change output of `nm --help' to include a
3455 description of the purpose of the program and a detailed
3456 description of the accepted options.
3458 2000-07-19 H.J. Lu <hjl@gnu.org>
3460 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3463 2000-07-19 H.J. Lu <hjl@gnu.org>
3465 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3467 2000-07-19 H.J. Lu <hjl@gnu.org>
3469 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3471 (process_dynamic_segment): Likewise.
3473 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3474 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3475 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3476 DF_1_NODUMP and DF_1_CONLFAT.
3478 2000-07-18 Nick Clifton <nickc@cygnus.com>
3480 * binutils.texi (readelf): Fix spelling typo.
3482 2000-07-11 Mark Kettenis <kettenis@gnu.org>
3484 * objdump.c (usage): Make output of `objdump --help' more
3485 consistent with the rest of the GNU world. Add a line describing
3486 the purpose of the program.
3488 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
3490 * stabs.c (parse_stab_range_type): Cast to proper type to fix
3493 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3495 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3497 (process_symbol_table): Ditto.
3498 (procesS_extended_line_op): Ditto.
3499 (display_debug_lines): Ditto.
3500 (display_debug_pubnames): Ditto.
3501 (read_and_display_attr): Ditto.
3503 2000-07-09 Nick Clifton <nickc@cygnus.com>
3505 * MAINTAINERS: Add several more port specific maintainers.
3507 2000-07-05 Nick Clifton <nickc@cygnus.com>
3509 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3511 2000-06-05 DJ Delorie <dj@redhat.com>
3515 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3517 * dllwrap.c: Changed mistaken dyn_string_append() calls
3518 to dyn_string_append_cstr().
3520 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3522 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3523 struct debug_type stores size in bytes.
3525 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3527 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3528 (CLEANFILES): Add DEPA.
3529 * Makefile.in: Regenerate.
3531 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3533 * ar.c: Revert incorrect 2000-06-25 patch.
3534 * bucomm.c: Likewise.
3536 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3538 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3539 (external_coff_symbol_p): New function.
3540 (parse_coff): Use it.
3542 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3544 * ar.c (normalize): Advance past both characters in a DOS based
3545 <letter>: filepath prefix.
3547 * bucomm.c (make_tempname): Likewise.
3549 2000-06-24 Nick Clifton <nickc@cygnus.com>
3551 * objdump.c (usage): Fix description of --stabs switch.
3553 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3555 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3557 * Makefile.in: Regenerate.
3559 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3561 * ar.c (normalize): Correct pointer comparison when checking for
3564 * bucomm.c (make_tempname): Likewise.
3566 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3567 and search for backslashes in the original pathname.
3568 (ieee_add_bb11): Likewise.
3570 2000-06-18 Nick Clifton <nickc@redhat.com>
3572 * ar.c (print_contents): Improve verbose message.
3574 2000-06-15 H.J. Lu <hjl@gnu.org>
3576 * dyn-string.c: Removed. Not needed with dyn-string.c in
3578 * dyn-string.h: Likewise.
3580 * Makefile.am: Remove references to dyn-string.c and
3581 dyn-string.h. Rebuild dependency.
3582 * Makefile.in: Rebuild.
3584 2000-06-15 H.J. Lu <hjl@gnu.org>
3586 * binutils.texi: Put a warning on copying relocatable object
3587 files between two different formats.
3589 2000-06-13 DJ Delorie <dj@cygnus.com>
3591 * rcparse.y (control): ICON controls take an id as the first
3592 parameter, not an optional string. Also, call new convenience
3593 function that takes res_id's.
3594 * resrc.c (define_control): missing text means zero-length string,
3596 (define_icon_control): New.
3597 * windres.h: declare define_icon_control.
3599 2000-06-13 H.J. Lu <hjl@gnu.org>
3601 * configure: Regenerate.
3603 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3605 * configure.in (VERSION): Update to show this is the CVS mainline.
3607 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3609 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3610 analogous to <SPACE>.
3612 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3614 * objdump.c (display_target_list): Use bfd_close_all_done, not
3615 bfd_close to fix crash caused by 2000-05-24 change.
3617 2000-05-25 DJ Delorie <dj@cygnus.com>
3619 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3621 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3623 * Makefile.am: Update dependencies with "make dep-am"
3624 * Makefile.in: Regenerate.
3626 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3628 * ar.c: Include filenames.h.
3629 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3630 and drive letters in file names.
3631 (main): Support backslashes and drive letters in argv[0]. Drop
3632 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3633 FILENAME_CMP instead of strcmp to compare file names.
3634 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3636 (do_quick_append) [__GO32__]: Ditto.
3637 (get_pos_bfd, delete_members, move_members, replace_members):
3638 Compare file names with FILENAME_CMP.
3640 * bucomm.c: Include filenames.h.
3641 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3642 forward/backward slashes and drive letters in file names.
3644 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3645 mixed forward/backward slashes and drive letters in file names.
3647 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3648 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3651 * objcopy.c: Include filenames.h.
3652 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3653 before comparing to "strip".
3654 Use FILENAME_CMP to compare file names.
3656 * arsup.c: Include filenames.h.
3657 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3658 FILENAME_CMP to compare file names.
3659 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3660 the temporary file name.
3662 * configure.in: Check for setmode.
3663 * configure: Regenerate.
3665 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3667 * objdump.c (display_target_list): Close the bfd.
3668 (display_info_table): Likewise.
3670 2000-05-14 H.J. Lu (hjl@gnu.org)
3672 * objcopy.c (filter_symbols): Don't strip global symbols in
3673 relocatable object files.
3675 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3677 * size.c (usage): Associate short options with corresponding long
3678 option to give a clue as to their function.
3680 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3682 * size.c (main): Accept and ignore `-f' option.
3684 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3686 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3687 bindtextdomain): Replace defines with those from intl/libgettext.h
3688 to quieten gcc warnings.
3690 2000-05-12 H.J. Lu <hjl@gnu.org>
3692 * nlmconv.c (temp_filename): Removed.
3694 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3695 choose_temp_base ().
3696 * objdump.c (display_target_list): Likewise.
3697 (display_info_table): Likewise.
3699 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3701 * objcopy.c (setup_section): Add const and gettext calls for err.
3703 2000-05-02 H.J. Lu <hjl@gnu.org>
3705 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3706 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3707 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3708 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3709 and ELFOSABI_OPENBSD.
3711 2000-05-02 Kazu Hirata <kazu@hxi.com>
3713 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3714 * srconv.c: Likewise.
3715 * sysdump.c: Likewise.
3717 2000-04-23 Denis Chertykov <denisc@overta.ru>
3719 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3720 (get_machine_name): machine name for EM_AVR added.
3722 2000-04-21 Richard Henderson <rth@cygnus.com>
3723 David Mosberger <davidm@hpl.hp.com>
3725 * Makefile.am (readelf.o): Add elf/ia64.h.
3726 * Makefile.in: Rebuild.
3727 * readelf.c: Include elf/ia64.h.
3728 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3730 2000-04-17 Timothy Wall <twall@cygnus.com>
3732 * objdump.c (disassemble_data): Set octets per byte *after*
3733 resolving arch/mach for binary files.
3735 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3737 * arlex.l: Add directives to increase lex buffer size.
3739 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3740 already included by bucomm.h.
3742 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3744 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3745 `strftime' since strftime is not available on all systems.
3746 (process_mips_specific): Ditto.
3748 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3750 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3751 --enable-build-warnings option.
3752 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3753 * Makefile.in, configure: Re-generate.
3755 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3757 * addr2line.c: Update copyright.
3758 * objcopy.1: Likewise, and title.
3759 * strings.1: Likewise.
3761 * version.c (print_version): Add 2000.
3763 * rddbg.c (read_section_stabs_debugging_info): Don't use
3764 bfd_size_type for strx to avoid printf problems if BFD64.
3766 * bucomm.c: (report): Remove `static'.
3767 Move inclusion of stdarg.h/vararg.h from here.
3768 * bucomm.h: To here.
3769 (CONST): Change all occurences to const.
3770 (report): Declare it.
3771 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3772 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3773 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3775 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3776 Correct a typo in an error message.
3777 (do_quick_append): Use non_fatal instead of fprintf.
3778 (move_members): Use fatal instead of fprintf, exit.
3779 * coffdump.c (main): Same here.
3781 * dlltool.c (display): Delete.
3783 (inform): Use `report' instead of `display'.
3784 (rvaafter): Remove trailing \n from fatal error msg.
3786 (asm_prefix): Ditto.
3787 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3788 (def_name): Likewise.
3790 (scan_all_symbols): Likewise.
3791 (gen_lib_file): Likewise.
3792 (def_library): Likewise. Remove extra program_name too.
3793 (run): Remove \n from inform strings.
3794 (scan_drectve_symbols): Likewise.
3795 (add_excludes): Likewise.
3796 (scan_open_obj_file): Likewise.
3797 (gen_exp_file): Likewise.
3798 (gen_lib_file): Likewise.
3799 (process_duplicates): Likewise.
3801 * Makefile.am (dllwrap_SOURCES): Add version.c.
3802 * dllwrap.c (program_version): Delete.
3803 (print_version): Delete.
3804 (display): Always print trailing \n.
3806 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3809 (usage): gettext'ify.
3810 (long_options): Add missing initialisers.
3812 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3813 (select_output_format): Likewise.
3814 (powerpc_mangle_relocs): Likewise.
3815 (link_inputs): Likewise.
3817 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3818 (set_output_format): Likewise.
3819 (main): Use non_fatal instead of fprintf.
3820 (display_rel_file): Likewise.
3822 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3823 (slurp_dynamic_symtab): Same here.
3824 (disassemble_data): And here.
3825 (read_section_stabs): And here.
3826 (read_section_stabs): And here.
3827 (dump_bfd): And here.
3829 (objdump_sprintf): Use fatal instead of fprintf, exit.
3830 (disassemble_data): Same here.
3832 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3833 (parse_coff_struct_type): Same here.
3834 (parse_coff_enum_type): And here.
3835 (parse_coff): And here.
3836 * rddbg.c (read_debugging_info): And here.
3837 * size.c (main): And here.
3838 * windres.c (format_from_name): And here.
3839 * wrstabs.c (stab_write_symbol): Here too.
3840 (write_stabs_in_sections_debugging_info): And here.
3841 (stab_int_type): And here.
3842 (stab_struct_field): And here.
3843 (stab_typdef): And here.
3845 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3846 * srconv.c (main): Same here.
3847 * strings.c (main): And here.
3848 (integer_arg): And here.
3849 * sysdump.c (main): And here.
3851 2000-04-06 Timothy Wall <twall@cygnus.com>
3853 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3855 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3857 * readelf.c (decode_location_expression): Loop through multiple
3859 (read_and_display_attr): Pass in length.
3861 * readelf.c (read_and_display_attr): Add CU offset to references.
3862 (display_debug_info): Pass it in.
3864 2000-04-06 Nick Clifton <nickc@cygnus.com>
3866 * readelf.c (decode_ARM_machine_flags): New function.
3867 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3870 (get_machine_name): Catch EM_AVR
3872 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3874 * binutils.texi: Remove optional `=' from long options that have
3875 an `=' in the argument.
3876 * objcopy.1: Here too. Remove extra space on discard-all.
3878 * binutils.texi (objcopy): Mention --redefine-sym.
3879 * objcopy.1: Here too.
3882 * objcopy.c (parse_flags): Split off flag names from error message
3883 gettext as they are not translated.
3884 (copy_main): Similarly split off option name for --add-section,
3885 --set-section-flags, --change-section-vma, --change-section-lma
3887 Some white space changes.
3889 from Matthew Benjamin <matt@linuxbox.nu>
3890 * objcopy.c (struct redefine_node): New.
3891 (redefine_sym_list): New.
3892 (redefine_list_append): New.
3893 (lookup_sym_redefinition): New.
3894 (OPTION_REDEFINE_SYM): New.
3895 (copy_options): Add --redefine-sym option.
3896 (copy_usage): Mention it.
3897 (filter_symbols): Rename symbols on redefine_sym_list.
3898 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3899 (copy_main): Handle OPTION_REDEFINE_SYM.
3901 2000-04-04 H.J. Lu <hjl@gnu.org>
3903 * readelf.c (process_symbol_table): Correctly read in symbol
3904 versioning information.
3906 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3908 * po/binutils.pot: Regenerate.
3910 * addr2line.c (usage): Restore translated part of bug string.
3911 * ar.c (usage): Likewise.
3912 * nlmconv.c (show_usage): Likewise.
3913 * nm.c (usage): Likewise.
3914 * objcopy.c (copy_usage): Likewise.
3915 (strip_usage): Likewise.
3916 * objdump.c (usage): Likewise.
3917 * readelf.c (usage): Likewise.
3918 * size.c (usage): Likewise.
3919 * strings.c (usage): Likewise.
3920 * windres.c (usage): Likewise.
3922 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3923 (DEP): Quote when passing vars to sub-make. Add warning
3925 (DEP1): Rewrite for "gcc -MM".
3926 (CLEANFILES): Add DEP2.
3927 Update dependencies.
3928 * Makefile.in: Regenerate.
3930 2000-04-04 H.J. Lu <hjl@gnu.org>
3932 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3933 (arparse.h): Depend on arparse.c
3934 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3936 2000-04-03 H.J. Lu (hjl@gnu.org)
3938 * size.c (usage): Use REPORT_BUGS_TO.
3940 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3942 * bucomm.h: #include "bin-bugs.h"
3943 * addr2line.c (usage): Use REPORT_BUGS_TO.
3944 * ar.c (usage): Likewise.
3945 * nlmconv.c (show_usage): Likewise.
3946 * nm.c (usage): Likewise.
3947 (OPTION_TARGET): Define.
3948 (long_options): Use OPTION_TARGET rather than 200.
3951 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3952 (strip_usage): Likewise.
3953 * objdump.c (usage): Likewise.
3954 * readelf.c (usage): Likewise.
3955 * strings.c (usage): Likewise.
3956 * windres.c (usage): Likewise.
3958 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3960 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3962 2000-03-27 Nick Clifton <nickc@cygnus.com>
3964 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3965 string offsets in corrupt stabs entries.
3967 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3969 * readelf.c: Include elf/avr.h
3970 (dump_relocations): Add EM_AVR case.
3972 2000-03-09 Tim Waugh <twaugh@redhat.com>
3974 * strings.1: Correct '-bytes' to '--bytes'.
3976 2000-03-08 H.J. Lu <hjl@gnu.org>
3978 * Makefile.am (install-exec-local): Depend on
3979 install-binPROGRAMS for parallel make.
3980 * Makefile.in: Regenerated.
3982 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3984 From Brad Lucier <lucier@math.purdue.edu>:
3985 * readelf.c (process_dynamic_segment): Add cast to make sure
3986 argument to %* is int.
3988 2000-02-25 H.J. Lu <hjl@gnu.org>
3990 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3992 2000-02-24 Nick Clifton <nickc@cygnus.com>
3994 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3995 * configure: Regenerate.
3997 * dlltool.c: Add support for sh-pe and mips-pe targets.
3998 * rescoff.c: Add support for sh-pe and mips-pe targets.
4000 2000-02-23 H.J. Lu <hjl@gnu.org>
4002 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
4004 2000-02-22 Nick Clifton <nickc@cygnus.com>
4006 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
4008 2000-02-22 Ian Lance Taylor <ian@zembu.com>
4010 From Brad Lucier <lucier@math.purdue.edu>:
4011 * readelf.c (process_version_sections): Add casts to make sure
4012 argument to %* is an int.
4013 (process_mips_specific): Add casts to make printf arguments match
4016 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4018 * objdump.c (dump_section_header): Change `opb' to unsigned.
4019 (find_symbol_for_address): Same here.
4020 (disassemble_data): And here. Change `addr_offset',
4021 `stop_offset', `nextstop_offset' to unsigned long.
4022 (dump_data): Change opb to unsigned.
4024 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
4026 * resrc.c: Remove unmatched #if for cygwin.
4028 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
4030 * binutils.texi: Document the change of flavor name from atpcs-special
4031 to special-atpcs to prevent name conflict in gdb.
4033 2000-02-08 Timothy Wall <twall@redhat.com>
4035 * objdump.c (show_line): Fix bug preventing printing of the very
4036 first line (line zero) of a file when interlisting source and
4037 assembly. Added option to print entire context from start of file
4038 when the first line from that file is encountered.
4040 2000-02-03 Timothy Wall <twall@redhat.com>
4042 * objdump.c (dump_section_header, find_symbol_for_address,
4043 show_line, disassemble_bytes, disassemble_data, dump_data):
4044 distinguish between octets and bytes.
4046 2000-01-27 Thomas de Lellis <tdel@windriver.com>
4048 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
4049 check to unresolved symbols.
4050 (print_symbol_info_sysv): Ditto.
4051 (print_symbol_info_posix): Ditto.
4053 * binutils.texi: Document new 'V' symclass flag for nm.
4055 2000-01-27 Nick Clifton <nickc@redhat.com>
4057 * binutils.texi (objdump): Document new ARM specific
4058 disassembler options.
4060 * objdump.c (usage): Call disassembler_usage().
4062 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4064 * readelf.c (get_dynamic_flags): Return buff.
4065 (process_dynamic_segment): Don't pass error strings to printf
4067 (read_and_display_attr): Use lx and ld to print longs.
4068 (process_corefile_note_segment): Cast bfd_vma to unsigned long
4072 2000-01-17 Nick Clifton <nickc@cygnus.com>
4074 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4076 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4078 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4080 (debug_tag_type): Here too.
4081 * ieee.c (ieee_builtin_type): And here.
4082 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4084 2000-01-13 Nick Clifton <nickc@cygnus.com>
4086 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4089 2000-01-11 Nick Clifton <nickc@cygnus.com>
4091 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4093 2000-01-10 Nick Clifton <nickc@cygnus.com>
4095 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4097 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
4099 * windres.c (long_options): Add --use-temp-file and
4100 --no-use-temp-file options.
4104 * windres.h: Update read_rc_file prototype.
4106 * resrc.c (cpp_temp_file): New static variable.
4107 (istream_type): New static variable.
4108 (close_pipe): Delete function.
4109 (run_cmd): New static function.
4110 (open_input_stream): New static function.
4111 (close_input_stream): New static function.
4112 (look_for_default): Handle DOS directory separator. Use
4113 open_input_stream instead of popen.
4114 (read_rc_file): Likewise.
4116 * binutils.texi: Document --use-temp-file, --no-use-temp-file
4119 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4121 * dlltool.c (create_compat_implib): New variable.
4122 (gen_exp_file): Use.
4123 (make_one_lib_file): Use.
4124 (long_options): Add --compat-implib option.
4128 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4129 (main): Use. Don't look for "32" in cygwin and mingw target names.
4131 2000-01-03 Nick Clifton <nickc@cygnus.com>
4133 * binutils.texi: Document new, ARM specific disassembler
4134 command line switch "-M force-thumb".
4136 For older changes see ChangeLog-9899
4142 version-control: never