1 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
2 Nick Clifton <nickc@redhat.com>
4 * windres.c (long_options): Move close to main, where it is used.
5 Add 'input' and 'output' long options.
6 (main): Accept "-fo" as an alias for "-o". This is for rc
8 * doc/binutils.texi: Mention that -fo is accepted as an alias for
9 -o, but discourage its use.
11 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
13 * windres.c (format_from_name): Make the exit on error
15 (main): Rename the -I option to -J. Introduce -I as a synonym
16 for --include-dir. For backwards compatibility also support the
17 old -I behaviour, but issue a deprecation warning.
18 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
21 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
23 * readelf.c: Replace references to Mitsubishi M32R with
24 references to Renesas M32R.
26 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
28 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
30 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
32 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
33 for debugging information types not supported by objdump.
35 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
37 * configure.in: Recognize canonical form of i[3-6]86-pe*.
38 * configure: Regenerate.
40 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
42 * readelf.c (display_debug_info): Apply RELA relocations on the
44 (byte_put_little_endian, byte_put_big_endian): New functions.
45 (byte_put): New variable.
46 (get_file_header): Initialize it.
48 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
50 * windres.c: Add -l for compatibility with wrc, and rc.
51 Use the short option as a key for long options that have
52 a synonymous short option.
53 * doc/binutils.texi: Added -l to the list of options.
55 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
57 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
58 (main): Just pass the -U option down to the preprocessor.
59 * doc/binutils.texi: Added -U to the list of options.
61 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
63 * windres.c (usage): Report -r option.
64 (main): Ignore the -r option.
65 * doc/binutils.texi: Add -r to the list of options.
67 2003-04-01 Bob Wilson <bob.wilson@acm.org>
69 * MAINTAINERS: Add myself as Xtensa maintainer.
71 2003-04-01 Bob Wilson <bob.wilson@acm.org>
73 * readelf.c: Include "elf/xtensa.h".
74 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
75 targets that use RELA relocations.
76 (dump_relocations): Call elf_xtensa_reloc_type for
77 EM_XTENSA and EM_XTENSA_OLD.
78 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
80 2003-04-01 Nick Clifton <nickc@redhat.com>
82 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
83 thumb-pe*, mcore-pe and mcore-*elf.
84 * configure: Regenerate.
86 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
88 * objdump.c (dump_data): Don't truncate the address to long; make
89 the width large enough, and uniform for all entries in a section.
91 2003-03-31 H.J. Lu <hjl@gnu.org>
93 * readelf.c: Include "libiberty.h".
94 (dynamic_relocations): New.
95 (process_relocs): Properly handle dynamic relocation.
96 (process_dynamic_segment): Fill relocation elements in
99 2003-03-31 Kevin Buettner <kevinb@redhat.com>
101 * readelf.c (read_and_display_attr, read_and_display_attr_value):
102 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
104 (display_debug_lines, display_debug_pubnames, display_debug_info)
105 (display_debug_aranges, display_debug_frames, read_and_display_attr)
106 (read_and_display_attr_value): Add 64-bit DWARF support.
108 2003-03-31 Ian Lance Taylor <ian@airs.com>
110 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
111 (optresid): Handle a resource id that can be a string or a number.
112 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
114 (define_icon_control): Pass a struct res_id to define_control.
115 * windres.h (define_control): Change prototype.
117 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
119 * objcopy (OPTION_FORMATS_INFO): Define.
120 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
121 (copy_options): Likewise.
122 (strip_usage): Add "--info" to usage.
123 (copy_usage): Likewise.
124 (strip_main): Declare formats_info. Iniatilize it to FALSE.
126 (copy_main). Likewise.
127 * doc/binutils.texi. Document the "--info" option for
129 * NEWS: Mention the new command line switch.
131 * objdump.c (endian_string): Move to bucomm.c.
132 (display_info): Likewise.
133 (display_target_list): Likewise.
134 (display_info_table): Likewise.
135 (display_target_tables): Likewise.
136 (main): Assign the return value of display_info to exit_status.
137 * bucomm.c: Include bfdver.h and libbfd.h
138 (display_target_list): Call bfd_nonfatal instead of nonfatal and
139 return 0 on a non-fatal error, 1 on success.
140 (display_info_table): Likewise.
141 * bucomm.h (display_info): Provide a prototype.
142 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
144 * Makefile.in: Regenerate.
146 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
148 * dlltool.c (gen_def_file): Put demangled name comments on
149 own line preceding export name.
151 2003-03-17 Nick Clifton <nickc@redhat.com>
153 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
154 printf for emitting new lines.
156 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
158 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
159 the symbol's value when --size-sort is used, unless -S is used.
160 doc/binutils.texi (--size-sort): For non-bsd formats both the
161 value and size of the symbols are displayed.
163 2003-03-13 Nick Clifton <nickc@redhat.com>
167 2003-03-12 Nick Clifton <nickc@redhat.com>
169 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
171 2003-03-10 Ben Elliston <bje@wasabisystems.com>
173 * MAINTAINERS: Update my mail address.
175 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
177 * stabs.c (BYTES_IN_WORD): Remove definition.
178 * wrstabs.c (BYTES_IN_WORD): Likewise.
180 2003-03-04 Nick Clifton <nickc@redhat.com>
182 * nm.c (main): Print a warning message if --size-sort and
183 --undefined-only are used together.
185 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
187 * nm.c (print_symbol): Remove check for undefined_only.
189 2003-03-03 Nick Clifton <nickc@redhat.com>
191 * po/da.po: Installed latest translation.
193 2003-02-24 Nick Clifton <nickc@redhat.com>
195 * README: Update binutils references to 2.13.
196 Add paragraph about using --disable-nls.
198 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
200 * doc/binutils.texi (nm --size-sort): Update.
202 2003-02-21 James E Wilson <wilson@tuliptree.org>
204 * MAINTAINERS: Update email address.
206 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
208 * readelf.c (get_ia64_dynamic_type): New function.
209 (dynamic_segment_ia64_val): New function.
210 (get_dynamic_type): If machine type is EM_IA_64 call
211 get_ia64_dynamic_val.
212 (get_ia64_section_type_name): Handle sections with types in the
213 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
214 (get_dynamic_flags): If machine type is EM_IA_64 call
215 dynamic_segment_ia64_val.
217 2003-02-21 Bob Wilson <bob.wilson@acm.org>
219 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
220 section title capitalization more consistent. Update descriptions
221 of various options to be consistent with the code. Fix errors and
222 incomplete list in the description of c++filt format options. Remove
223 information about the linker. Change to be more polite about poor
224 bug reports. Replace FDL appendix with include of fdl.texi.
225 * doc/fdl.texi: New file.
227 2003-02-21 Roger Sayle <roger@eyesopen.com>
229 * objcopy.c (filter_symbols): Fix compilation problems with
232 2003-02-19 Christopher Faylor <cgf@redhat.com>
234 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
237 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
239 * rclex.l (handle_quotes): Handle strings spanning more than one line.
241 2003-02-12 Bob Wilson <bob.wilson@acm.org>
243 * nm.c (usage): Add `java' and `gnat' demangle styles and make
245 * objdump.c (usage): Ditto. Also fix some typos.
247 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
249 * debug.c (debug_record_variable): Handle global register variables.
251 * stabs.c (parse_stab): For N_SLINE only include
252 function_start_offset if the symbol is within a function;
253 otherwise, the value is absolute.
255 2003-02-10 Nick Clifton <nickc@redhat.com>
257 * readelf.c (decode_ARM_machine_flags): Handle the
258 EF_ARM_MAVERICK_FLOAT flag.
260 2003-02-04 Andreas Schwab <schwab@suse.de>
262 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
263 long and use %ld in printf format.
265 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
267 * readelf.c (dump_relocations): Reorder the r_info field for
268 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
270 2003-01-21 Daniel Berlin <dan@dberlin.org>
272 * readelf.c (display_debug_loc): Skip address base changes.
274 2003-01-17 Fabio Alemagna <falemagn@aros.org>
276 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
279 2003-01-16 Alan Modra <amodra@bigpond.net.au>
281 * readelf.c: Include elf/ppc64.h.
282 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
283 * Makefile.am: Run "make dep-am".
284 * Makefile.in: Regenerate.
286 2003-01-02 Ben Elliston <bje@redhat.com>
288 * readelf.c (guess_is_rela): Handle EM_IQ2000.
289 (get_machine_name): Likewise.
290 (dump_relocations): Likewise.
291 * NEWS: Mention IQ2000 support.
293 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
295 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
297 2002-12-30 Chris Demetriou <cgd@broadcom.com>
299 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
300 changes in MIPS -M options.
302 2002-12-30 Dmitry Diky <diwil@mail.ru>
304 * Makefile.am: Add msp430 target.
305 * Makefile.in: Regenerate.
306 * readelf.c: Add support for msp430 target.
308 2002-12-27 Chris Demetriou <cgd@broadcom.com>
310 * doc/binutils.texi (objdump): Document MIPS -M options.
312 2002-12-23 Andreas Schwab <schwab@suse.de>
314 * readelf.c (main): Reset dump request after each file.
316 2002-12-23 Nick Clifton <nickc@redhat.com>
318 * nlmconv.c (main): Pass TRUE as third argument to
319 bfd_arch_get_compatible.
321 2002-12-23 Nick Clifton <nickc@redhat.com>
323 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
324 macro. Handle 'S' encoding, accepting 8-bit characters.
325 (main): Parse 'S' encoding.
326 (get_char): Accept 'S' encoding.
327 (print_strings): Use STRING_ISGRAPHIC.
328 (usage): Document support of 'S' encoding.
329 * doc/binutils.texi: Document support of 'S' encoding/
330 * NEWS: Mention new feature.
332 2002-12-20 Alan Modra <amodra@bigpond.net.au>
334 * README <building ar>: Don't use libibery's needed_list or
335 required_list, instead link libiberty/*.o.
337 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
339 * doc/binutils.texi: Fix typos.
341 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
343 * doc/binutils.texi: Add missing parenthesis.
345 2002-12-15 Nick Kelsey <nickk@ubicom.com>
347 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
348 symbols by adding the given prefix to the begining of the symbol
349 name. This is useful to provide name space seperation regardless
350 of how the object file was created. Added --prefix-sections=
351 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
352 sections (or all sections with the alloc flag set) by adding the given
353 prefix to the begining of the symbol name.
354 * NEWS: Mention this new feature.
355 * doc/binutils.texi: Document this new feature.
357 2002-12-13 Alan Modra <amodra@bigpond.net.au>
359 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
360 dyn_string_append with dyn_string_append_cstr.
362 * emul_aix.c (ar_emul_aix_create): Remove unused function.
364 2002-12-10 James Cownie <jcownie@etnus.com>
366 * readelf.h (get_TAG_name, get_AT_name,
367 read_and_display_attr_value): Add support for UPC extensions to
369 * NEWS: Mention this new support.
371 2002-12-08 Alan Modra <amodra@bigpond.net.au>
373 * NEWS: Mention that bfd no longer declares a "boolean" type.
375 2002-12-07 Alan Modra <amodra@bigpond.net.au>
377 * readelf.c (process_program_headers): When setting loadaddr, don't
378 assume segment size is 4k. Use p_align instead.
379 (loadaddr): Change from int to long.
380 (dynamic_addr, dynamic_info, version_info): Likewise.
381 (process_dynamic_segment <syminsz>): Likewise.
382 (process_dynamic_segment): Adjust print format string.
383 (rela_addr, rela_size): Delete.
384 (process_relocs): Formatting.
386 2002-12-05 Jim Wilson <wilson@redhat.com>
388 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
389 * configure: Regenerate.
391 2002-12-04 Ian Lance Taylor <ian@airs.com>
393 * MAINTAINERS: Change e-mail address back to airs.com.
395 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
397 * MAINTAINERS: Add self.
399 2002-11-30 Alan Modra <amodra@bigpond.net.au>
401 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
402 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
403 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
404 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
405 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
406 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
407 with TRUE/FALSE. Formatting.
409 2002-11-29 Jakub Jelinek <jakub@redhat.com>
411 * readelf.c Replace occurrences of Elf32_Internal_* and
412 Elf64_Internal_* with Elf_Internal_*.
413 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
414 Zero r_addend fields.
415 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
418 2002-11-23 Nick Clifton <nickc@redhat.com>
420 * size.c (usage): Fix typo describing switch for hex format.
422 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
424 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
425 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
428 2002-11-14 Nick Clifton <nickc@redhat.com>
430 * readelf.c (process_program_headers): Add comment about return
431 value. Ensure that 0 is returned if the headers are not loaded.
432 (process_file): If process_section_headers failed to load the
433 headers disable any tests that rely upon them. Similarly for
434 process_program_headers.
436 2002-11-12 Nick Clifton <nickc@redhat.com>
438 * po/da.po: Updated Danish translation.
440 2002-11-12 Klee Dienes <kdienes@apple.com>
442 * rddbg.c (read_section_stabs_debugging_info): Also recognize
443 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
445 2002-11-11 Christopher Faylor <cgf@redhat.com>
447 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
450 2002-11-11 Christopher Faylor <cgf@redhat.com>
452 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
454 2002-11-07 Nick Clifton <nickc@redhat.com>
456 * configure.in (ALL_LINGUAS): Add 'da'.
457 * configure: Regenerate.
458 * po/da.po: New Danish translation.
460 * readelf.c (get_symbol_index_type): Revert part of previous
461 patch: Display unknown symbol types in decimal, not hex.
463 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
465 * dlltool.c (add_excludes): Don't prefix excluded fastcall
466 symbols with underscore.
467 (xlate): Ignore add_underscore for decorated fastcall symbols.
469 2002-11-07 Eric Kohl <ekohl@rz-online.de>
471 * deflex.l: Accept '@' as first character of an ID.
472 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
473 ASM_PREFIX for fastcall symbols.
474 (scan_drectve_symbols): Handle fastcall symbols when generating
475 undecorated aliases for symbols in drectve section.
476 (scan_filtered_symbols): Likewise, with export-all.
477 (xlate): Likewise, with --kill-at.
478 (make_imp_label): New function to handle fastcall symbols
480 (make_one_lib_file): Use make_imp_label instead of make_label
483 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
485 * MAINTAINERS: Add self as TIC4X maintainer.
487 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
489 * readelf.c (get_symbol_index_type): Add hex number to
490 PROCESSOR-specific, OS-specific, reserved and unknown symbol
493 2002-11-04 Alan Modra <amodra@bigpond.net.au>
495 * readelf.c (byte_get_little_endian): Comment typo fix.
496 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
497 as the format string.
498 (dump_relocations): Correct section sym names.
499 (process_section_headers): Clear symtab_shndx_hdr.
500 (read_and_display_attr_value): Don't pass indirect string to printf
501 as the format string.
502 (display_debug_frames): Indicate when zero terminator found. Decode
503 DW_EH_PE_pcrel addresses.
505 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
507 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
508 order to ensure proper disassembly of the valid 0-value opcode.
509 * configure: Regenerate.
510 * aclocal.m4: Regenerate.
511 * config.in: Regenerate.
512 * configure.in: Regenerate.
513 * doc/Makefile.in: Regenerate.
514 * po/binutils.pot: Regenerate.
516 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
518 * MAINTAINERS: Add self as SH maintainer.
520 2002-10-23 Ben Elliston <bje@redhat.com>
522 * doc/binutils.texi (objdump): Document -z and move the entry for
523 --disassemble-zeroes to the end of the options section (for `z').
525 2002-10-21 Nick Clifton <nickc@redhat.com>
527 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
529 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
531 * objdump.c (dump_data): Correct addr_offset for opb != 1.
533 2002-10-15 Alan Modra <amodra@bigpond.net.au>
535 * bucomm.c (list_supported_targets): Use bfd_target_list.
537 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
538 other object errors in preference to bfd_core errors.
540 2002-10-14 Alan Modra <amodra@bigpond.net.au>
542 * Makefile.am: Run "make dep-am".
543 * objdump.c: #include "bfdver.h".
544 * version.c: Likewise.
545 * Makefile.in: Regenerate.
546 * config.in: Regenerate.
547 * configure: Regenerate.
548 * po/POTFILES.in: Regenerate.
550 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
552 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
553 sections. Allow relocations against the absolute symbol. Don't
554 use the value in compunit.cu_abbrev_offset if we found a RELA
557 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
559 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
560 ordinary ones are available.
562 2002-09-30 H.J. Lu <hjl@gnu.org>
564 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
565 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
567 2002-09-17 Zack Weinberg <zack@codesourcery.com>
569 * Makefile.am (CFILES): Add cxxfilt.c.
570 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
571 (cxxfilt_LDADD): Delete.
572 Remove all references to underscore.c.
574 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
575 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
576 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
577 adjustments to fit into binutils framework.
578 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
580 2002-09-12 Roland McGrath <roland@redhat.com>
582 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
583 Handle DW_OP_GNU_push_tls_address.
585 2002-09-11 Nick Clifton <nickc@redhat.com>
587 * po/tr.po: Updated Turkish translation.
589 2002-09-10 Nick Clifton <nickc@redhat.com>
591 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
592 testsuite changes. Add paragraphs about testsuite and config
595 2002-08-29 Nick Clifton <nickc@redhat.com>
597 * readelf.c (get_machine_flags): Remove redundant reference to
600 2002-08-28 Alan Modra <amodra@bigpond.net.au>
602 * objdump.c (dump_bfd): Restore lines accidentally deleted in
605 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
607 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
608 (dump_bfd_header): Likewise.
610 2002-08-27 Alan Modra <amodra@bigpond.net.au>
612 * nm.c: Revert last change.
614 2002-08-26 Alan Modra <amodra@bigpond.net.au>
616 * nm.c (display_rel_file): Don't report "no symbols" as an error.
617 * objdump.c (slurp_symtab): Likewise.
618 (slurp_dynamic_symtab): Likewise.
619 (dump_symbols): Likewise. Do print "no symbols" to stdout.
621 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
623 * MAINTAINERS: Change my mailing address.
625 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
627 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
629 2002-08-22 Nick Clifton <nickc@redhat.com>
631 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
634 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
636 * readelf.c (parse_args): Change debug_dump_opt to static.
638 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
640 * stabs.c (parse_stab_argtype): Pass length of physname to
641 stab_demangle_argtypes.
642 (stab_demangle_argtypes): Add new parameter - length of physname.
643 Pass length of physname on to stab_demangle_prefix.
644 (stab_demangle_prefix): Add new parameter - length of physname.
645 Use length of physname (if supplied) to compute end of function
648 2002-08-15 Alan Modra <amodra@bigpond.net.au>
650 * readelf.c: Include elf/i370.h.
651 (dump_relocations): Handle EM_S370.
652 (dynamic_segment_parisc_val): Print \n.
653 (process_dynamic_segment <DT_BIND_NOW>): Here too.
655 2002-08-14 Nick Clifton <nickc@redhat.com>
657 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
658 * objdump.c (usage): Likewise.
659 * doc/binutils.texi: Likewise.
661 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
663 * rcparse.y (acc_entry): Don't warn about ALT use with
666 2002-08-13 H.J. Lu <hjl@gnu.org>
668 * objcopy.c (copy_object): Don't warn about the unsupported
669 architecture unless the input target is defaulted or the
670 output architecture is different from the input.
672 2002-08-09 Nick Clifton <nickc@redhat.com>
674 * po/sv.po: Updated Swedish translation.
676 2002-08-05 Alan Modra <amodra@bigpond.net.au>
678 * prdbg.c (pr_fix_visibility): Remove assert.
680 2002-07-31 Nick Clifton <nickc@redhat.com>
682 * addr2line.c (process_file): Rename parameter 'filename' to
683 'file_name' in order to avoid shadowing global symbol of the
687 2002-07-30 Jakub Jelinek <jakub@redhat.com>
689 * readelf.c (OPTION_DEBUG_DUMP): Define.
691 (usage): Update help.
692 (parse_args): Handle --debug-dump separately from -w.
693 * doc/binutils.texi (readelf): Update documentation.
695 2002-07-25 Nick Clifton <nickc@redhat.com>
697 * po/es.po: Updated Spanish translation.
698 * po/fr.po: Updated French translation.
700 2002-07-24 Nick Clifton <nickc@redhat.com>
702 * po/es.po: Updated Spanish translation.
704 2002-07-23 Alan Modra <amodra@bigpond.net.au>
706 * Makefile.am: Run "make dep-am".
707 * Makefile.in: Regenerate.
709 2002-07-23 Nick Clifton <nickc@redhat.com>
711 * po/fr.po: Updated French translation.
713 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
715 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
717 2002-07-20 Alan Modra <amodra@bigpond.net.au>
719 * budemang.c: Include config.h and string.h/strings.h.
721 2002-07-18 Denis Chertykov <denisc@overta.ru>
722 Frank Ch. Eigler <fche@redhat.com>
724 * readelf.c: Include "elf/ip2k.h".
725 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
726 (dump_relocations): Likewise.
727 (get_machine_name): Likewise.
728 * NEWS: Mention IP2K support.
730 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
732 * NEWS: Add 'Changes in 2.13'.
734 2002-07-10 Jakub Jelinek <jakub@redhat.com>
736 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
737 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
738 (get_section_type_name): Handle SHT_GNU_LIBLIST.
739 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
740 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
741 (process_gnu_liblist): New.
742 (process_file): Call it.
744 2002-07-03 Alan Modra <amodra@bigpond.net.au>
746 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
747 * Makefile.in: Regenerate.
749 2002-07-02 Alan Modra <amodra@bigpond.net.au>
751 * budemang.c: New file, "demangle" function.
752 * budemang.h: New file.
753 * addr2line.c (translate_addresses): Use "demangle".
754 * nm.c (print_symname): Likewise.
755 * objdump.c (objdump_print_symname): Likewise.
756 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
757 here since that obfuscates.
758 * rdcoff.c: Don't #include demangle.h.
759 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
760 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
761 (HFILES): Add budemang.h. Sort.
762 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
764 * Makefile.in: Regenerate.
766 2002-07-01 Matt Thomas <matt@3am-software.com>
768 * readelf.c: Include "elf/vax.h".
769 (guess_is_rela): Move EM_VAX from unknown to RELA case.
770 (dump_relocations): Handle VAX relocations.
771 (get_machine_flags): Handle VAX machine flags.
773 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
775 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
777 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
779 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
781 2002-06-26 Alan Modra <amodra@bigpond.net.au>
783 * nm.c (print_symname): When demangling, strip leading dots from
784 symbol names to avoid confusing the demangler.
786 2002-06-25 H.J. Lu <hjl@gnu.org>
788 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
789 * Makefile.in: Regenerated.
791 2002-06-21 Igor Schein <igor@txc.com>
793 * configure.in: Quote bu_cv_have_fopen64.
794 * configure: Regenerate.
796 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
798 * configure.in: Check for strcoll.
799 * configure: Regenerate.
800 * config.in: Regenerate.
801 * nm.c (main): Set locale for LC_COLLATE category.
802 (non_numeric_forward): Use strcoll if available.
804 2002-06-20 Dave Brolley <brolley@redhat.com>
806 * MAINTAINERS: Add self as fr30 and frv maintainer.
808 2002-06-18 H.J. Lu (hjl@gnu.org)
810 * nm.c: Include "elf/common.h".
811 (extended_symbol_info): Add elfinfo, a pointer to
813 (SYM_SIZE): Use elfinfo if it is not NULL.
814 (get_symbol_type): New function.
815 (display_archive): Set print_width for each archive member.
816 (display_file): Likewise.
817 (display_rel_file): Don't set print_width here.
818 (print_object_filename_sysv): Handle print_width.
819 (print_archive_member_sysv): Likewise.
820 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
821 (print_symbol): Set the elfinfo field in extended_symbol_info
823 (print_object_filename_sysv): Fix the output format.
824 (print_symbol_info_sysv): Print type and section for ELF.
826 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
828 * nm.c (print_size_symbols): Remove assignment, which makes
829 the symbol's size equal to its value when --size-sort is
832 2002-06-18 Dave Brolley <brolley@redhat.com>
834 From Catherine Moore:
835 * readelf.c (elf/frv.h): #include it.
836 (guess_is_rela): Support EM_CYGNUS_FRV.
837 (dump_relocations): Ditto.
838 (get_machine_name): Ditto.
839 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
841 2002-06-18 Jakub Jelinek <jakub@redhat.com>
843 * readelf.c (get_file_header): Only read the first section header if
846 2002-06-15 H.J. Lu (hjl@gnu.org)
848 * nm.c (print_size): New variable. Initialize to 0.
849 (long_options): Add 'S'/"print-size".
851 (print_symbol_info_bsd): Print size only if print_size is not
854 * doc/binutils.texi: Document -S/--print-size.
856 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
858 * nm.c (struct extended_symbol_info): New strcuture: Add the size
859 of the symbols to the information provided by the symbol_info
861 (print_symbols): Pass the symbol size to print_symbol.
862 (print_size_symbols): Pass the symbol size to print_symbol.
863 (print_symbol): Extra argument: The size of the symbol. Store
864 this in the extended_symbol_info structure.
865 (print_symbol_info): Change type of info parameter to
866 extended_symbol_info. Display the size, if known.
867 (print_symbol_info_posix): Likewise.
868 (print_symbol_info_sysv): Likewise.
870 2002-06-08 Alan Modra <amodra@bigpond.net.au>
872 * Makefile.am: Run "make dep-am".
873 * Makefile.in: Regenerate.
874 * doc/Makefile.in: Regnerate.
876 * bucomm.c: Replace CONST with const.
878 * objdump.c: Likewise.
880 2002-06-07 H.J. Lu <hjl@gnu.org>
882 * readelf.c (DW_CFA_GNU_args_size): Don't define.
883 (DW_CFA_GNU_negative_offset_extended): Likewise.
884 (DW_CFA_GNU_window_save): Likewise.
885 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
886 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
888 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
890 * nm.c: When computing size of symbols for an ELF target use the
893 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
895 * testsuite/binutils-all/objcopy.exp: clear xfail for
897 * testsuite/binutils-all/hppa/objdump.exp: Return if
900 2002-06-05 Alan Modra <amodra@bigpond.net.au>
902 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
904 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
906 * objdump.c: Fix formatting.
908 2002-05-29 Ben Elliston <bje@redhat.com>
910 * MAINTAINERS: Add self as M68k maintainer.
912 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
914 * readelf.c: Modified/Added DLX elf support.
916 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
918 * arsup.c: Fix formatting.
919 * debug.c (debug_record_label): Add missing colon to error
921 * ieee.c (parse_ieee_ty): Fix spelling typo.
922 * readelf.c (process_program_headers): Remove English assumption
923 about making a plural word.
924 (process_section_headers): Likewise.
925 (process_relocs): Allow quotes to be translated.
926 (process_unwind): Likewise,
927 (process_mips_specific): Improve error message.
928 (get_note_type): Fix spelling typo.
930 * configure.in (ALL_LINGUAS): Add sv
931 * po/sv.po: New file.
933 2002-05-27 Alan Modra <amodra@bigpond.net.au>
935 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
936 (unw_print_grmask): Likewise.
937 (unw_print_frmask): Likewise.
939 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
941 * arsup.c: Remove ARGSUSED.
944 * nlmconv.c: Likewise.
947 * wrstabs.c: Likewise.
949 2002-05-25 Alan Modra <amodra@bigpond.net.au>
951 * arlex.l: Use #include "" instead of <> for local header files.
952 * coffdump.c: Likewise.
953 * coffgrok.c: Likewise.
954 * nlmconv.c: Likewise.
955 * nlmheader.y: Likewise.
956 * srconv.c: Likewise.
957 * strings.c: Likewise.
958 * sysdump.c: Likewise.
959 * unwind-ia64.h: Likewise.
960 * windres.h: Likewise.
961 * winduni.h: Likewise.
963 2002-05-24 Tom Rix <trix@redhat.com>
965 * MAINTAINERS: Add self as the d10v maintainer.
967 2002-05-24 TAMURA Kent <kent@netbsd.org>
969 * configure.in: Builds dlltool for i386-netbsdpe.
970 * configure: Regenerate.
972 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
974 * size.c: Fix formatting.
975 * srconv.c: Likewise.
977 * sysdump.c: Likewise.
978 * unwind-ia64.c: Likewise.
979 * wrstabs.c: Likewise.
981 2002-05-23 Jakub Jelinek <jakub@redhat.com>
983 * readelf.c (get_segment_type): Add PT_TLS.
984 (get_elf_section_flags): Add SHF_TLS.
985 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
986 (process_dynamic_segment): Use puts instead of printf.
987 (get_symbol_type): Support STT_TLS.
988 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
989 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
990 Add SEC_THREAD_LOCAL.
992 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
994 * rdcoff.c: Fix formatting.
996 * readelf.c: Likewise.
997 * rename.c: Likewise.
998 * resbin.c: Likewise.
1000 * resres.c: Likewise.
1002 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1004 * filemode.c: Fix formatting.
1006 * is-ranlib.c: Likewise.
1007 * is-strip.c: Likewise.
1008 * maybe-ranlib.c: Likewise.
1009 * maybe-strip.c: Likewise.
1010 * nlmconv.c: Likewise.
1012 * not-ranlib.c: Likewise.
1013 * not-strip.c: Likewise.
1014 * objcopy.c: Likewise.
1015 * objdump.c: Likewise.
1017 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1019 * objdump.c (dump_headers): Fix output formatting for ELF32
1020 architectures in a BFD64 enabled toolchain.
1022 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1024 * debug.c: Fix formatting.
1025 * debug.h: Likewise.
1026 * dlltool.c: Likewise.
1027 * dllwrap.c: Likewise.
1028 * emul_aix.c: Likewise.
1029 * emul_vanilla.c: Likewise.
1031 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1033 * addr2line.c: Fix formatting.
1035 * arsup.c: Likewise.
1036 * arsup.h: Likewise.
1037 * binemul.c: Likewise.
1038 * binemul.h: Likewise.
1039 * bucomm.c: Likewise.
1040 * coffdump.c: Likewise.
1041 * coffgrok.c: Likewise.
1042 * coffgrok.h: Likewise.
1044 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1046 * MAINTAINERS: Add myself as the second AVR port maintainer.
1048 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1050 * MAINTAINERS: Update my email address.
1052 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1054 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1056 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1058 * configure.in: Replace `*pe' with `pe' throughout.
1059 * configure: Regenerate.
1061 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1063 * Makefile.am: Honour DESTDIR.
1064 * Makefile.in: Regenerate.
1066 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1068 * dlltool.c (process_def_file): Add missing prototype.
1069 (new_directive, assemble_file, main): Likewise.
1070 (process_def_file, new_directive): Make static.
1071 (inform): Rewrite using VA_FIXEDARG.
1072 * dllwrap.c (mybasename): Add missing prototype.
1073 (strhash, main): Likewise.
1074 (inform): Rewrite using VA_FIXEDARG.
1076 (cleanup_and_exit): Use old style function definition.
1077 (strhash): Likewise.
1078 * windres.c (define_resource): Use one memset to clear all of
1079 struct res_resource.
1081 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1082 call to rules that need no lookahead. Check for no lookahead.
1084 2002-05-06 Borut Razem <borut.razem@siol.net>
1086 * rclex.l (get_string): Correct "strings" list handling.
1087 * resrc.c (read_rc_file): Discard strings.
1089 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1091 * ar.c (replace_members): Remove unused var. Formatting fix.
1092 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1094 * MAINTAINERS: Sort port maintainers by CPU.
1096 2002-05-04 Bob Byrnes <byrnes@curl.com>
1098 * size.c (display_archive): Add last_arfile and code to close archives.
1100 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1102 * nm.c (print_symbol): Check returned filename from
1103 bfd_find_nearest_line is non-NULL.
1105 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1107 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1109 2002-04-24 Christian Groessler <chris@groessler.org>
1111 * MAINTAINERS: Changed my email address.
1113 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1115 * arparse.y: Fix syntax warning.
1117 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1119 * readelf.c (fetch_location_list): Remove unused function.
1121 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1122 and display a warning message, then exit the loop.
1124 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1126 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1128 * resrc.c (write_rc_dialog): If charset is non-default value
1129 display all of the DIALOGEX parameters.
1131 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1133 * rcparse.y: Allow two to five parameter in FONT statement of
1135 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1137 (res_to_bin_dialog): Likewise.
1138 * windres.h: Added misssing charset variable to dialog_ex
1141 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1143 * rcparse.y: Set MEMFLAG_PURE by default.
1145 2002-04-09 Bernd Herd <info@herdsoft.com>
1147 * rcparse.y: CLASS definitions in DIALOG resources
1149 Fix typo in BEDIT warning.
1150 Don't add default dialog style when explicit style specified.
1151 Add WS_CAPTION dialog style if CAPTION is specified.
1153 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1154 (handle_quotes) "\a" escape (used for right justified key
1155 definitions in menus) is encodes as binary 8.
1157 * resrc.c (write_rc_dialog): Print style even if it is 0.
1158 (write_rc_directory): Fix overlooked sublang shift bug.
1159 (bin_to_res_dialog): Don't print empty dialog caption.
1161 * resbin.c (bin_to_res_dialog): Use signature to identify
1164 * windres.c (main): Set default LANGUAGE to english/us.
1166 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1168 * resrc.c: print CLASS names in quotes
1170 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1172 * MAINTAINERS: Update my email address.
1174 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1176 * dep-in.sed: Cope with absolute paths.
1177 * Makefile.am (dep.sed): Subst TOPDIR.
1179 * Makefile.in: Regenerate.
1181 2002-03-27 Peter Targett <peter.targett@arc.com>
1183 * MAINTAINERS: Update my email address.
1185 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1187 * Makefile.am: Run "make dep-am".
1188 * Makefile.in: Regenerate.
1189 * doc/Makefile.in: Regenerate.
1190 * po/POTFILES.in: Regenerate.
1191 * aclocal.m4: Regenerate.
1192 * config.in: Regenerate.
1193 * configure: Regenerate.
1195 2002-03-20 Daniel Berlin <dan@dberlin.org>
1197 * readelf.c: Add support for displaying dwarf2 location lists.
1198 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1199 (parse_args): Use 'O' as shorthand for displaying location list
1201 (process_section_headers): Handle debug_loc as well.
1202 (load_debug_loc): New.
1203 (free_debug_loc): New.
1204 (fetch_location_list): New.
1205 (display_debug_loc): New.
1206 (display_debug_info): Call load_debug_loc and free_debug_loc.
1207 (debug_displays): We can display .debug_loc now, too.
1208 (usage): Update usage string.
1209 (read_and_display_attr_value): Note location lists, but don't
1210 display them inline.
1212 2002-03-18 Tom Rix <trix@redhat.com>
1214 * Makefile.am: Add binutils emulation support.
1215 * configure.in: Same.
1216 * configure.tgt: New file. Same.
1217 * ar.c (main): Use ar_emul_parse_arg.
1218 (usage): Use ar_emul_usage.
1219 (replace_members): Use ar_emul_replace, ar_emul_append.
1220 * binemul.c: New file. Define the binutils emulation
1221 layer. Define default methods.
1222 * binemul.h: New file. Binutils emulation layer header file.
1223 * emul_aix.c: New file. AIX binutils emulation.
1224 * emul_vanilla.c: New file. Default binutils emulation.
1225 * Makefile.in: Regenerate.
1228 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1230 * po/fr.po: Updated version.
1232 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1234 * po/fr.po: Updated version.
1236 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1238 * README: Update some version numbers.
1240 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1242 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1243 (Architecture Selection): Likewise.
1245 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1247 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1248 generating .exp file.
1250 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1252 * readelf.c (dump_relocations): Fix typo.
1254 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1256 * NEWS: Mark 2.12 branch.
1258 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1260 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1261 types for 64-bit MIPS. Narrow some fields for 80-char
1263 (dump_relocations): Change spelling from 'unrecognised'
1265 (decode_ARM_machine_flags): Likewise.
1266 (parse_args): Likewise.
1267 (read_and_display_attr_value): Likewise.
1268 (display_debug_section): Likewise.
1270 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1272 * NEWS: Mention support for MMIX.
1274 2002-02-13 Matt Fredette <fredette@netbsd.org>
1276 * readelf.c (get_machine_flags): Recognize EF_M68000.
1278 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1280 * MAINTAINERS: Added self as MN10300 co-maintainer.
1282 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1284 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1287 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1289 * MAINTAINERS: List myself as branch maintainer.
1291 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1293 * configure: Regenerate.
1294 * objcopy.c: Update copyright date.
1295 * doc/Makefile.in: Regenerate.
1297 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1299 * nlmconv.c: Back out localtime PARAMS change.
1301 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1303 * objcopy.c (MKDIR): Define.
1304 (copy_archive): Make name_list.name const. Use MKDIR.
1305 Handle duplicate files in archives by making more temp dirs.
1307 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1309 * coffdump.c: Include "getopt.h" after "bucomm.h"
1310 so that macros are defined correctly.
1311 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1312 prototype. Prototype main.
1313 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1315 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1317 * MAINTAINERS: Added self as SH co-maintainer.
1319 2002-02-05 Nick Clifton <nickc@redhat.com>
1321 * po/tr.po: Updated translation.
1323 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1325 * Makefile.am: Run "make dep-am"
1326 * Makefile.in: Regenerate.
1328 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1330 * nm.c (print_value): Mark abfd unused.
1332 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1334 * unwind-ia64.c (unw_decoder): Change second argument
1335 to unsigned int, to match function prototypes.
1337 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1339 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1340 __GNU_LIBRARY__ will be defined.
1343 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1345 * configure: Regenerated.
1347 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1349 * doc/Makefile.am (install): Depend on install-info.
1350 * doc/Makefile.in: Regenerate.
1352 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1354 * objcopy.c (strip_usage): Document -d as an alias
1357 * size.c (usage): Document [-t | --totals] options.
1358 (long_options): Add --totals option.
1359 (main): If the [-t | --totals] option is specified and
1360 the output format is Berkeley-style, print the total
1361 text, data, and bss sizes of all objects listed.
1362 (print_berkeley_format): If the [-t | --totals] option
1363 is specified, track the total text, data, and bss
1365 * doc/binutils.texi (size): Document [-t | --totals] options.
1366 (strip): Document -d as an alias for --strip-debug.
1367 * NEWS: Mention new feature of size.
1369 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1371 * po/fr.po: Updated version.
1372 * po/es.po: Updated version.
1374 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1376 * addr2line.c (usage): Update text to provide verbose
1377 description of the command line options.
1378 * ar.c (usage): Update text to provide verbose
1379 description of the command line options.
1380 (main): Accept -h and -H when running as ranlib.
1381 * coffdump.c (show_usage): Update text to provide verbose
1382 description of the command line options.
1383 * dlltool.c (main): Accept -H as an alias for --help.
1384 * nlmconv.c (show_usage): Update text to provide verbose
1385 description of the command line options.
1386 * nm.c (usage): Replace OPTIONS with option(s).
1387 (main): Accept -H as an alias for --help.
1388 * objcopy.c (strip_main): Accept -H as an alias for --help.
1389 * objdump.c (main): Accept -v as an alias for --verbose.
1390 * readelf.c (usage): Adjust format to match style used in
1392 * size.c (usage): Update text to provide verbose description
1393 of the command line options.
1394 (main): Accept -v, -h and -H as command line options.
1395 * srconv.c (show_usage): Update text to provide verbose
1396 description of the command line options.
1397 * strings.c (main): Accept -H and -v as command line options.
1398 (usage): Update text to provide verbose description of the
1399 command line options.
1400 * sysdump.c (show_usage): Update text to provide verbose
1401 description of the command line options.
1402 * windres.c (usage): Adjust format to match style used in
1405 * coffdump.c: Fix formatting.
1406 * nlmconv.c: Fix formatting.
1407 * srconv.c: Fix formatting.
1408 * sysdump.c: Fix formatting.
1410 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1412 * Makefile.am: Run "make dep-am".
1413 * Makefile.in: Regenerate.
1415 2002-01-18 Andreas Jaeger <aj@suse.de>
1417 * version.c (print_version): Update year.
1419 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1421 * readelf.c (get_machine_name): Handle EM_PPC64.
1422 (guess_is_rela): Here too.
1424 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1426 * po/binutils.pot: Regenerate.
1427 * po/fr.po: Regenerate.
1428 * po/tr.po: Regenerate.
1430 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1432 * po/tr.po: Import new version.
1434 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1436 * readelf.c (get_ppc64_dynamic_type): New.
1437 (get_dynamic_type): Call it.
1439 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1441 * objcopy.c (copy_usage): Use "options" instead of "switches".
1442 (strip_usage): Use "options" instead of "switches".
1443 * doc/binutils.texi (dlltool): Refer to "options" instead of
1446 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1448 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1450 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1452 * po/es.po: Import from translation project.
1453 * configure.in (ALL_LINGUAS): Add es.
1454 * configure: Regenerate.
1456 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1458 * readelf.c (get_netbsd_elfcore_note_type): Use
1459 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1461 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1463 * readelf.c: Update copyright years.
1464 (get_note_type): Return a const char *.
1465 (get_netbsd_elfcore_note_type): New function.
1466 (process_note): Use get_netbsd_elfcore_note_type to get
1467 the note type string for NetBSD ELF core files.
1469 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1471 * readelf.c (get_ia64_segment_type): Add support for macros.
1472 (get_segment_type): Add support for IA64 specific macros.
1474 2001-12-20 Julian v. Bock <julian@wongr.net>
1476 * readelf.c (print_symbol): New function: Print a formatted symbol
1477 name. If --wide is specified do not truncate it.
1478 (dump_relocations): Use print_symbol() to print symbol names.
1479 (process_symbol_table): Likewise.
1480 (process_syminfo): Likewise.
1481 (process_mips_specific): Likewise.
1482 (usage): Document new feature of --wide switch.
1483 * doc/binutils.texi (objdump): Document additional behaviour of
1486 2001-12-18 Michael Snyder <msnyder@redhat.com>
1488 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1489 (copy_object): Don't set the start address or flags of a core file.
1490 (copy_section): Don't relocate a core file. Don't copy contents
1491 if the input section has the contents flag set, but the output
1492 section does not (which happens with the fake 'note' pseudo-
1493 sections that BFD creates for corefiles).
1495 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1497 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1498 ASE extensions. More robust code for ISA checking. Ignore empty fields
1499 in header flags for GNU extensions.
1501 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1503 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1505 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1507 * po/ja.po: Import from translation project.
1508 * configure.in (ALL_LINGUAS): Add ja.
1509 * configure: Regenerate.
1511 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1513 * addr2line.c (main): Protoype.
1514 * ar.c (main): Protoype.
1515 * nm.c (main): Protoype.
1516 * objcopy.c (main): Protoype.
1517 * objdump.c (main): Protoype.
1518 * size.c (main): Protoype.
1519 * strings.c (main): Protoype.
1521 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1523 * readelf.c (symtab_shndx_hdr): New global.
1524 (SECTION_HEADER_INDEX): Define.
1525 (SECTION_HEADER_NUM): Define.
1526 (SECTION_HEADER): Define.
1527 (GET_ELF_SYMBOLS): Pass two params rather than three.
1528 (get_32bit_elf_symbols): Take file and section args. Read and
1529 use SHT_SYMTAB_SHNDX.
1530 (get_64bit_elf_symbols): Likewise.
1531 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1532 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1533 Remember symtab_shdx_hdr.
1534 (process_program_headers): Scan from index 1 for segment map.
1535 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1537 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1538 (process_unwind): Likewise.
1539 (process_version_sections): Likewise.
1540 (process_symbol_table): Likewise.
1541 (display_debug_info): Likewise.
1542 (process_dynamic_segment): Fake up a symtab section for changed
1544 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1545 (process_program_headers): Kill signed/unsigned warning.
1546 (load_debug_str): Likewise.
1547 (display_debug_info): Likewise.
1549 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1551 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1553 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1555 * readelf.c (process_file_header): Print extended e_shnum and
1556 e_shdtrndx values. Set elf_header values for same.
1557 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1558 (get_64bit_section_headers): Likewise.
1559 (process_section_headers): Update calls.
1560 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1562 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1564 * objcopy.c (setup_section): Copy entsize.
1566 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1568 * readelf.c (guess_is_rela): Add support for stormy16.
1569 (dump_relocations): Likewise.
1570 (get_machine_name): Likewise.
1572 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1574 * dllwrap.c (main) Replace multiple strings describing a
1575 single error with a single, newline escaped sentence to permit
1576 better translation into foreign languages.
1578 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1581 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1583 * strings.c (get_char): Initialize value.
1585 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1587 * arlex.l: Silence compile warnings.
1588 * arsup.h: Likewise. Fix formatting.
1590 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1592 * strings.c: Include config.h before bfd.h.
1593 (file_off): New type.
1594 (file_open): Define.
1595 (print_strings): Use file_off instead of file_ptr. Print addresses
1596 which don't fit into long correctly.
1597 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1599 (strings_file): Use file_off instead of file_ptr. Use file_open.
1600 * configure.in: Check for getc_unlocked.
1601 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1603 * configure: Rebuilt.
1604 * config.h.in: Rebuilt.
1606 2001-11-29 H.J. Lu <hjl@gnu.org>
1608 * bucomm.c (make_tempname): Revert the changes made on
1609 2001-11-14 and 2001-11-12. They won't work with directories.
1611 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1613 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1614 CFLAGS_FOR_TARGET to runtest in environment.
1615 * Makefile.in: Rebuild.
1616 * doc/Makefile.in: Rebuild.
1618 2001-11-28 Mike Stump <mrs@wrs.com>
1620 * objcopy.c (setup_section): Preserve SEC_RELOC when
1621 --set-section-flags is used.
1623 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1625 * readelf.c (do_debug_str): New variable.
1626 (display_debug_str): New function: Display the contents of a
1628 (load_debug_str): New function: Load in the contents of a
1630 (free_debug_str): New function: Free the memory used by
1632 (fetch_indirect_string): Retrieve a string from the .debug_str
1635 (parse_args): Accept -ws.
1636 (process_section_headers): Allow the display of the .debug_str
1638 (read_and_display_attr_value): Use fetch_indirect_string. Show
1639 offset into .debug_str section.
1640 (display_debug_info): Use load_debug_str and free_debug_str.
1641 (debug_displays): Add .debug_str.
1642 * doc/binutils.texi: Document -ws.
1644 2001-11-19 Andreas Jaeger <aj@suse.de>
1646 * testsuite/binutils-all/objdump.exp: Add x86-64.
1648 2001-11-15 Andreas Schwab <schwab@suse.de>
1650 * readelf.c: Fix warnings without terminating newline.
1652 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1654 * doc/binutils.texi (objdump): Document ppc -M options.
1656 2001-11-14 Andreas Jaeger <aj@suse.de>
1658 * doc/binutils.texi (objdump): Fix description to use x86-64.
1660 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1662 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1663 not all systems provide mkstemp.
1665 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1667 * doc/binutils.texi (objdump): Document x86 -M options.
1669 2001-11-13 Keith Walker <keith.walker@arm.com>
1671 * readelf.c (read_and_display_attr_value): New function to
1672 handle DW_FORM_indirect.
1673 (read_and_display_attr): Use it.
1675 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1677 * readelf.c (display_debug_lines): Deal with unknown standard
1678 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1681 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1683 * MAINTAINERS: Add self as tic54x maintainer. This target
1684 includes the IBM C54XDSP clone.
1686 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1688 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1690 2001-11-09 Jeffrey A Law (law@cygnus.com)
1692 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1693 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1694 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1695 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1696 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1697 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1698 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1700 * readelf.c (get_elf_class): Fix ISO portability glitch.
1701 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1703 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1705 * readelf.c (debug_str, debug_str_size): New.
1706 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1708 (read_and_display_addr): Handle DW_FORM_strp.
1709 (display_debug_info): Read .debug_str section if present,
1710 so that DW_FORM_strp can be handled.
1711 Fix test for non-existant .debug_abbrev section.
1713 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1715 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1717 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1719 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1721 * MAINTAINERS: Add self as s390/s390x maintainer.
1723 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1725 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1727 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1729 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1730 * configure: Regernate.
1731 * po/fr.po: New file.
1732 * po/tr.po: New file.
1734 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1736 * MAINTAINERS: Add self as MMIX port maintainer.
1737 * readelf.c: Include elf/mmix.h.
1738 (guess_is_rela): MMIX is RELA.
1739 (dump_relocations): Handle MMIX relocations.
1740 * Makefile.am: Regenerate dependencies.
1741 * Makefile.in: Regenerate.
1743 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1745 * readelf.c (parse_args): Handle multiple options to the -w
1748 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1750 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1751 LOPROC, LOOS and LOUSER.
1753 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1755 * MAINTAINERS: Update my email address.
1757 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1759 * doc/Makefile.in: Regenerate.
1760 * configure: Regenerate.
1762 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1764 * readelf.c (display_debug_line, display_debug_pubnames,
1765 display_debug_info, display_debug_frames): Detect and warn
1766 about 64-bit format entries.
1767 (display_debug_aranges): Reword 64-bit warning.
1768 (debug_displays): Add .debug_pubtypes as a known, but not yet
1769 supported, debug section.
1771 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1773 * coffdump.c (PROGRAM_VERSION): Delete.
1774 (main <'V'>): Call print_version.
1775 * srconv.c: Likewise.
1776 * sysdump.c: Likewise.
1777 * version.c (program_version): Remove.
1778 (print_version): Use BFD_VERSION_STRING. Just print the current
1779 year in copyright message.
1780 * addr2line.c (program_version): Remove unused declaration.
1781 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1782 place of BFD_VERSION.
1783 * Makefile.am (Makefile): Depend on bfd/configure.in.
1784 (cplus-dem.o): Depend on Makefile.
1786 * Makefile.in: Regenerate.
1788 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1790 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1791 format .debug_arange sections.
1792 (main): Add missing prototype.
1794 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1796 * Makefile.am: Update dependencies with "make dep-am".
1797 * Makefile.in: Regenerate.
1799 2001-09-28 Richard Henderson <rth@redhat.com>
1801 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1803 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1805 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1807 (non_fatal): Likewise.
1808 * objdump.c (objdump_sprintf): Likewise.
1809 * readelf.c (error): Likewise.
1812 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1814 * readelf.c (do_wide): New.
1815 (options): Add --wide.
1816 (usage, parse_args): Likewise.
1817 (process_program_headers): Put each segment on a single line if
1819 (process_section_headers): Put each section on a single line if
1821 * doc/binutils.texi: Document it.
1824 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1826 * readelf.c (print_vma): Print 8 digits of low hex value.
1828 2001-09-24 Andreas Jaeger <aj@suse.de>
1830 * nlmconv.c: Fix warnings about unused attributes and function
1833 * strings.c: Add prototype for get_char.
1835 2000-09-19 H.J. Lu <hjl@gnu.org>
1837 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1838 $(srcdir)/cxxfilt.man.
1839 * doc/Makefile.in: Rebuild.
1841 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1843 * objcopy.c (copy_main): Correct rename-section string parsing.
1844 Consolidate new_name parsing, and error messages.
1846 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1848 * addr2line.c: Don't include <ctype.h>.
1849 (main): For gettext, also set the LC_CTYPE locate facet.
1850 * ar.c (main): Likewise.
1851 * coffdump.c (main): Likewise.
1852 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1853 (main): For gettext, also set the LC_CTYPE locate facet.
1854 Use ISALNUM instead of isalpha/isdigit.
1855 * dllwrap.c: Don't include <ctype.h>.
1856 (main): For gettext, also set the LC_CTYPE locate facet.
1857 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1858 (main): For gettext, also set the LC_CTYPE locate facet.
1859 Use TOUPPER instead of islower/toupper.
1860 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1861 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1862 Use TOUPPER instead of islower/toupper.
1863 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1864 * objcopy.c (main): Likewise.
1865 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1866 (disassemble_bytes): Use ISPRINT instead of isprint.
1867 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1868 (dump_data): Use ISPRINT instead of isprint.
1869 (main): For gettext, also set the LC_CTYPE locate facet.
1870 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1871 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1872 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1873 Use TOUPPER instead of islower/toupper.
1874 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1875 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1876 (write_rc_accelerators): Use ISPRINT instead of isprint.
1877 (write_rc_rcdata): Likewise.
1878 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1879 * srconv.c (main): Likewise.
1880 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1881 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1882 isdigit/isupper/islower.
1883 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1884 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1885 stab_demangle_prefix, stab_demangle_qualified,
1886 stab_demangle_template, stab_demangle_type,
1887 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1888 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1889 (isgraphic): Use ISPRINT instead of isascii/isprint.
1890 (main): Remove HAVE_LC_MESSAGES dependency.
1891 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1892 (pbarray): Use ISPRINT instead of isprint.
1893 (main): For gettext, also set the LC_CTYPE locate facet.
1894 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1895 (format_from_filename): Use ISPRINT instead of isprint.
1896 (main): For gettext, also set the LC_CTYPE locate facet.
1897 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1898 (unicode_print): Use ISPRINT instead of isprint.
1899 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1900 (stab_variable): Use ISDIGIT instead of isdigit.
1902 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1904 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1905 Replace bfd_read call with call to bfd_bread.
1906 (extract_file): Likewise.
1908 * objdump.c (dump_section_header): Cast section->filepos to
1909 unsigned long to suit printf format string.
1910 * readelf.c (process_section_headers): Similarly for sh_offset.
1911 (process_unwind): Likewise.
1913 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1915 * strings.c (encoding, encoding_bytes): New variables.
1916 (long_options): Add --encoding.
1917 (main): Accept -e and --encoding.
1918 (get_char): New function. Read a, possibly wide, character from
1920 (print_strings): Use get_char().
1921 (usage): Document new command line option.
1922 * doc/binutils.texi: Document new command line option.
1923 * NEWS: Announce new command line option.
1925 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1927 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1928 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1929 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1930 Removed EM_CYGNUS_ARC.
1932 2001-09-04 Jeffrey A Law (law@cygnus.com)
1934 * readelf.c: Include elf/h8 for H8 series definitions.
1935 (guess_is_rela): H8 series if RELA.
1936 (dump_relocations): Handle H8 series relocations.
1938 2001-08-31 Eric Christopher <echristo@redhat.com>
1940 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1942 2001-08-29 Peter Targett <peter.targett@arccores.com>
1944 * MAINTAINERS: Include ARC Maintainer.
1946 2001-08-29 Ben Elliston <bje@redhat.com>
1948 * stabs.c (stab_demangle_template): Initialise s4.
1950 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1952 * readelf.c (dump_relocations): Recognise EM_PPC64.
1954 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1956 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1958 2001-08-25 H.J. Lu <hjl@gnu.org>
1960 * nm.c (print_width): New.
1961 (display_rel_file): Set `print_width' according to
1963 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1965 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1967 * objcopy.c (use_alt_mach_code): New variable.
1968 (OPTION_ALT_MACH_CODE): Define.
1969 (copy_options): Added --alt-machine-code.
1970 (copy_main): Handle it.
1971 (copy_object): Switch to alternate machine code if requested.
1972 * doc/binutils.texi: Document new option.
1975 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1977 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1979 2001-08-21 H.J. Lu <hjl@gnu.org>
1981 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1982 (display_debug_info): Cast for 64bit hosts.
1983 (display_debug_frames): Likewise.
1984 (process_mips_specific): Likewise.
1986 2001-08-21 Andreas Jaeger <aj@suse.de>
1988 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1990 * sysdump.c: Add missing prototypes.
1991 * srconv.c: Likewise.
1992 * unwind-ia64.c: Likewise.
1993 * coffdump.c: Likewise.
1995 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1997 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1998 of declaring xcalloc.
2000 2001-08-10 H.J. Lu <hjl@gnu.org>
2002 * nm.c (print_value): Add one arg, bfd *.
2003 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2004 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2005 (print_symbol_info_sysv): Likewise.
2006 (print_symbol_info_posix): Likewise.
2008 * objdump.c (dump_section_header): Replace printf_vma with
2010 (print_section_stabs): Likewise.
2011 (dump_bfd_header): Likewise.
2012 (objdump_print_value): Replace sprintf_vma with
2014 (disassemble_bytes): Likewise.
2015 (dump_reloc_set): Likewise.
2017 2001-08-10 Andreas Jaeger <aj@suse.de>
2019 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2021 * configure: Regenerate.
2023 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2025 * readelf.c: Add missing prototypes.
2026 * objdump.c: Likewise. Format existing prototypes.
2028 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2030 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2031 of any RELA relocation for the abbrev_offset memory location that
2032 refers to the .debug_abbrev section symbol.
2034 2001-08-07 H.J. Lu <hjl@gnu.org>
2036 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2037 (main): Return process_file ().
2039 2001-08-05 Philip Blundell <philb@gnu.org>
2041 * doc/binutils.texi: Use "Thumb" not "THUMB".
2043 2001-08-03 John Healy <jhealy@redhat.com>
2045 Patch suggested by Frank Eigler <fche@redhat.com>.
2046 * objdump.c (disassemble_data): Fill in section member of the
2047 disasm_info structure.
2049 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2051 * configure.in: Added --with-windres option.
2052 * configure: Regenerated.
2054 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2056 * doc/binutils.texi: Use @command{name} for commands;
2057 use @option{-opt} for options; use @table @env for list of options;
2058 remove spaces arround [ | ] in synopsis.
2060 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2063 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2065 * objcopy.c: Fix formatting.
2066 (section_rename): New structure.
2067 (OPTION_RENAME_SECTION): New switch.
2068 (copy_usage): Document new switch.
2069 (add_section_rename): New function: Add a node to the section
2071 (find_section_rename): New function: Find the new name and
2072 flags for a section.
2073 (setup_section): Call find_section_name to determine the name
2074 of the output section.
2075 (copy_main): Handle OPTION_RENAME_SECTION.
2076 * binutils.texi: Document new switch.
2077 * NEWS: Mention new switch.
2079 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2081 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2082 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2083 bug-binutils@gcc.org.
2085 2001-07-28 Matthias Kramm <kramm@quiss.org>
2087 * bucomm.c (list_supported_architectures): New function.
2088 * bucomm.h (list_supported_architectures): Declare.
2089 * objdump.c (usage): Call the above.
2091 2001-07-25 Dave Brolley <brolley@redhat.com>
2093 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2094 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2096 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2098 * README: Update for 2.11. Change bug reporting email address.
2099 * MAINTAINERS: Tidy up. Change bug reporting email address.
2101 2001-07-16 DJ Delorie <dj@redhat.com>
2103 * resres.c (write_res_header): Align header size.
2104 (res_align_file): Calculate alignment correctly.
2106 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2108 * resrc.c (write_rc_resource): Likewise.
2109 * windres.h (SUBLANG_SHIFT): Define - as 10.
2111 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2113 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2115 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2117 * MAINTAINERS: Add notes about branch checkins.
2119 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2121 * readelf.c (display_debug_macinfo): New function, display
2122 .debug_macinfo section.
2123 (do_debug_macinfo): New variable.
2124 (parse_args): Handle "-w[mM]" to mean display macro info.
2125 (process_section_headers): Handle debug_macinfo.
2126 (debug_displays): Replace unsupported function with macinfo
2127 function for .debug_macinfo display.
2128 * doc/binutils.texi: Document new command line switch.
2129 * NEWS: Document new feature of readelf.
2131 2001-07-05 H.J. Lu <hjl@gnu.org>
2133 * objcopy.c (filter_symbols): Don't turn undefined symbols
2136 2001-07-03 H.J. Lu <hjl@gnu.org>
2138 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2141 (dlltool.1): Likewise.
2142 (nlmconv.1): Likewise.
2144 (objcopy.1): Likewise.
2145 (objdump.1): Likewise.
2146 (ranlib.1): Likewise.
2147 (readelf.1): Likewise.
2149 (strings.1): Likewise.
2150 (strip.1): Likewise.
2151 (windres.1): Likewise.
2152 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2153 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2156 * doc/Makefile.in: Regenerated.
2158 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2160 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2162 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2164 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2166 2001-06-29 James Cownie <jcownie@etnus.com>
2168 * readelf.c: Support DWARF 2.1 attributes.
2170 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2172 * readelf.c (GET_DATA_ALLOC): Remove.
2174 (get_data): New function combining above macros, with an extra
2176 (slurp_rela_relocs): Use get_data, and catch error return.
2177 (slurp_rel_relocs): Likewise.
2178 (get_32bit_program_headers): Likewise.
2179 (get_64bit_program_headers): Likewise.
2180 (get_32bit_section_headers): Likewise.
2181 (get_64bit_section_headers): Likewise.
2182 (get_32bit_elf_symbols): Likewise.
2183 (get_64bit_elf_symbols): Likewise.
2184 (process_section_headers): Likewise.
2185 (process_relocs): Likewise.
2186 (slurp_ia64_unwind_table): Likewise.
2187 (process_unwind): Likewise.
2188 (get_32bit_dynamic_segment): Likewise.
2189 (get_64bit_dynamic_segment): Likewise.
2190 (process_dynamic_segment): Likewise.
2191 (process_version_sections): Likewise.
2192 (process_symbol_table): Likewise.
2193 (dump_section): Likewise.
2194 (display_debug_info): Likewise.
2195 (display_debug_section): Likewise.
2196 (process_section_contents): Likewise.
2197 (process_corefile_note_segment): Likewise.
2198 (process_mips_specific): Likewise. Also free econf32, econf64.
2200 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2202 * readelf.c (dump_relocations): Print "bad symbol index" if
2203 symtab == NULL with non-zero symtab_index.
2204 (process_relocs): Don't bomb if reloc section has no symsec.
2206 2001-06-24 H.J. Lu <hjl@gnu.org>
2208 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2210 (copy_main): Apply the the change made to strip_main on
2211 2001-05-30 by accident.
2213 2001-06-23 Andreas Jaeger <aj@suse.de>
2215 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2217 (unw_decode_x2): Likewise.
2218 (unw_decode_x3): Likewise.
2219 (unw_decode_x4): Likewise.
2221 2001-06-23 Ben Elliston <bje@redhat.com>
2223 * MAINTAINERS: Add myself as M88k maintainer.
2225 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2227 * objcopy.c (strip_main): Support -o or --output-file command lien
2230 2001-06-19 H.J. Lu <hjl@gnu.org>
2232 * doc/Makefile.in: Regenerated.
2234 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2236 * readelf.c: Restore formatting.
2238 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2240 * Makefile.am: Move documentation into doc subdirectory.
2241 * Makefile.in: Regenerated.
2242 * binutils.texi: Move into doc subdirectory.
2243 * addr2line.1: Removed.
2245 * dlltool.1: Likewise.
2246 * nlmconv.1: Likewise.
2248 * objcopy.1: Likewise.
2249 * objdump.1: Likewise.
2250 * ranlib.1: Likewise.
2251 * readelf.1: Likewise.
2253 * strings.1: Likewise.
2254 * strip.1: Likewise.
2255 * windres.1: Likewise.
2256 * cxxfilt.man: Likewise.
2257 * doc: New Directory.
2258 * doc/Makefile.am: New file.
2259 * doc/Makefile.in: Generate.
2261 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2263 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2265 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2267 * MAINTAINERS: Update my email address.
2269 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2271 * objcopy.c: Add new switches: --keep-global-symbol,
2272 --keep-symbols, --localize-symbols, --keep-global-symbols and
2274 * binutils.texi: Document new switches.
2275 * objcopy.1: Regenerate.
2276 * NEWS: Announce new feature.
2278 2001-05-28 Andreas Jaeger <aj@suse.de>
2280 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2281 variables, fix format strings.
2283 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2285 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2286 when computing the address of the line to show.
2288 2001-05-16 Richard Henderson <rth@redhat.com>
2290 * readelf.c (do_debug_frames_interp): New.
2291 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2292 (byte_get_big_endian): Likewise.
2293 (parse_args) ['F']: Set do_debug_frames_interp.
2294 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2295 (frame_display_row): Don't trunc pc_begin to int.
2296 (size_of_encoded_value): New.
2297 (display_debug_frames): Handle 64-bit targets. Print raw data
2298 unless do_debug_frames_interp.
2299 (debug_displays): Remove duplicate .debug_frame.
2301 2001-05-15 Ralf Baechle <ralf@gnu.org>
2303 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2304 The former constant was never in active use and is used otherwise
2307 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2309 * readelf.c (process_unwind): Print all unwind sections, not just
2312 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2314 * readelf.c (process_unwind): Remove const specifier.
2316 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2318 * strings.c (isgraphic): Do not use isascii() unless it is needed
2319 for isprint() to work.
2320 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2322 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2324 * NEWS: Announce support for OpenRISC.
2326 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2328 * dlltool.c (do_default_excludes): Initialise to true.
2330 2001-04-10 Alan Modra <amodra@one.net.au>
2332 * MAINTAINERS: Update my email address
2333 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2335 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2337 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2339 2001-03-30 H.J. Lu <hjl@gnu.org>
2341 * readelf.c (process_unwind): Just return if do_unwind is 0.
2343 2001-03-28 Roger Sayle <roger@metaphorics.com>
2345 * dlltool.c (make_one_lib_file): Fix section flags for
2346 .text, .data and .bss in stub ds*.o files to match those
2349 2001-03-29 H.J. Lu <hjl@gnu.org>
2351 * readelf.c (process_unwind): Only do unwind sections for
2354 2001-03-28 H.J. Lu <hjl@gnu.org>
2356 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2357 * Makefile.in: Regenerate.
2359 2001-03-26 Andreas Jaeger <aj@suse.de>
2361 * binutils.texi (nm): Fix texi syntax.
2363 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2365 * binutils.texi: Put @c man begin and @c man end indications
2366 to generate man pages using texi2pod and pod2man. Put @c man title
2367 to identify each man. Add SEEALSO entries.
2368 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2369 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2371 (*.1): Build the man pages from binutils.texi.
2372 * Makefile.in: Regenerate.
2374 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2376 * defparse.y (opt_equal_name): allow "." in name.
2377 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2378 (gen_exp_file): Likewise.
2380 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2382 * NEWS: Document addition of -B switch to objcopy.
2383 * binutils.texi: Document addition of -B switch to objcopy.
2384 * objcopy.c: (copy_options): Add --binary-architecture.
2385 (copy_usage): Document -B/--binary-architecture.
2386 (copy_main): Support -B/--binary-architecture. Set
2387 bfd_external_binary_architecture.
2389 2001-03-11 Andreas Jaeger <aj@suse.de>
2391 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2392 (dump_relocations): Likewise.
2393 (get_machine_name): Likewise.
2395 2001-02-28 Nick Clifton <nickc@redhat.com>
2397 * readelf.c: (struct unw_aux_info): Remove const modifier for
2399 (process_unwind): Remove non-K&R compliant LHS type cast in call
2400 to GET_DATA_ALLOC macro.
2402 2001-02-28 Philip Blundell <pb@futuretv.com>
2404 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2405 ABI is in use; remove ambiguity between the "unknown" EABI and
2406 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2407 renamed EF_xx constants.
2409 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2411 * configure.in (BFD_VERSION): New.
2412 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2413 * configure: Regenerate.
2414 * Makefile.am: Run "make dep-am"
2415 * Makefile.in: Regenerate.
2417 2001-02-14 Nick Clifton <nickc@redhat.com>
2419 * MAINTAINERS: Add "Obvious Fix" rule.
2421 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2423 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2424 literal concatenation.
2426 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2428 * readelf.c (struct unw_aux_info): Remove const from the info member.
2429 (process_unwind): Don't type-cast the third argument to the
2430 GET_DATA_ALLOC macro.
2432 2001-02-11 Nick Clifton <nickc@redhat.com>
2434 * readelf.c (dump_relocations): Free corrected allocated
2436 (process_unwind): Fix compile time warning.
2438 2001-02-10 Nick Clifton <nickc@redhat.com>
2440 * binutils.texi: Document new --unwind option to readelf.
2442 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2444 * readelf.c: Add linux target for S/390.
2446 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2448 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2451 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2453 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2454 * aclocal.m4: Regenerate.
2455 * configure: Regenerate.
2457 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2459 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2460 * objdump.c (bfd_target_vector): Likewise.
2462 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2464 * readelf.c (process_unwind): New function.
2465 (slurp_ia64_unwind_table): Ditto.
2466 (dump_ia64_unwind): Ditto.
2467 (find_symbol_for_address): Ditto.
2468 (slurp_rela_relocs): New function (split off from dump_relocations()).
2469 (slurp_rel_relocs): Ditto.
2470 (parse_args): Handle '-u' option.
2472 * unwind-ia64.c: New file.
2473 * unwind-ia64.h: New file.
2474 * Makefile.am: Include unwind-ia64.c in readelf build.
2475 * Makefile.in: Regenerate.
2476 * po/binutils.pot: Regenerate.
2478 2001-02-04 Philip Blundell <philb@gnu.org>
2480 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2481 * configure: Regenerate.
2483 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2485 * ieee.c (ieee_add_bb11): Don't check for backslashes
2486 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2488 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2490 * ieee.c: Update copyright.
2491 (ieee_start_compilation_unit): Don't check for backslashes
2492 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2494 * stabs.c: Update copyright. Include "filenames.h".
2495 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2497 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2499 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2500 sections are present before using them. Remove code duplication.
2501 (process_symbol_table): Check if VERDEF or VERNEED sections are
2502 present before using them.
2504 2001-01-17 Nick Clifton <nickc@redhat.com>
2506 * objcopy.c (copy_object): Fail if attempting to convert the
2507 endianness of the input object file.
2509 * binutils.texi: Explain that objcopy cannot convert endianness.
2511 2001-01-16 Nick Clifton <nickc@redhat.com>
2513 * readelf.c (string_table_length): New variable.
2514 (SECTION_NAME): Catch out of range indices and missing section
2516 (process_section_headers): Delete useless local variable
2517 string_table_offset. Set the value of string_table_length
2518 after loading the string table.
2519 (process_mips_specific): Use SECTION_NAME macro.
2520 (process_file): Set string_table_length to 0 when it is freed.
2522 2001-01-12 Nick Clifton <nickc@redhat.com>
2524 * version.c (print_version): Update copyright date.
2526 2001-01-11 Peter Targett <peter.targett@arccores.com>
2528 * readelf.c (dump_relocations): Include selection with EM_ARC.
2529 (get_machine_name) Update name to "ARC".
2531 2001-01-09 Nick Clifton <nickc@redhat.com>
2533 * Makefile.am: Add rule to build objdump.o from objdump.c and
2535 * Makefile.in: Regenerate.
2537 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2538 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2539 -DDISASSEMBLER_NEEDS_RELOCS.
2540 * configure: Regenerate.
2542 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2543 is defined read in the relocs even if dump_reloc_info is
2546 2001-01-07 Philip Blundell <philb@gnu.org>
2548 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2552 2000-12-19 Nick Clifton <nickc@redhat.com>
2554 * dlltool.c: Add missing support for arm-epoc-pe.
2555 * configure.in: Add missing support for arm-epoc-pe.
2556 * configure: Regenerate.
2558 2000-12-15 Nick Clifton <nickc@redhat.com>
2560 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2561 Mode parts of the x86 port.
2563 2000-12-04 Andreas Jaeger <aj@suse.de>
2565 * readelf.c (guess_is_rela): Add EM_X86_64.
2566 (dump_relocations): Add EM_X86_64.
2567 (get_machine_name): Add EM_X86_64.
2568 Include "elf/x86-64.h".
2570 2000-12-12 Nick Clifton <nickc@redhat.com>
2572 * readelf.c: Fix formatting.
2574 2000-12-11 Jan Hubicka <jh@suse.cz>
2576 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2578 2000-12-07 Andrew Haley <aph@redhat.com>
2580 * readelf.c (display_debug_frames): Only display columns that are
2581 referenced by the frame debug info.
2583 2000-12-05 Nick Clifton <nickc@redhat.com>
2585 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2587 2000-12-04 Jason Merrill <jason@redhat.com>
2589 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2590 (display_debug_section): Likewise.
2591 (display_debug_info): Display CU header before bailing.
2593 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2595 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2596 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2597 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2599 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2602 * readelf.c (get_machine_flags): Add case for
2605 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2607 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2609 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2611 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
2612 Change sourceware.cygnus.com to sources.redhat.com.
2613 Fix typo for "amongst".
2615 2000-11-28 Nick Clifton <nickc@redhat.com>
2617 * strip.1 (COPYING): Mention that the GNU Free Documentation
2618 License is present in the sources, but not the output, and
2619 also available from the GNU website.
2620 (GNU Free Documentation License): Comment out this section.
2629 * addr2line.1: Ditto.
2631 2000-11-27 DJ Delorie <dj@redhat.com>
2633 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2634 (parse_args): Support -wf option.
2635 (process_section_headers): Ditto.
2636 (debug_displays): Ditto.
2637 (display_debug_frames): New, dump *_frame sections.
2638 (frame_need_space): Support for above.
2639 (frame_display_row): Ditto.
2640 * binutils.texi: Document it.
2642 2000-11-24 Nick Clifton <nickc@redhat.com>
2644 * NEWS: Announce support for v5t, v5te and XScale.
2646 2000-11-22 Nick Clifton <nickc@redhat.com>
2648 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2649 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2650 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2651 (get_elf_section_flags: Add SHF_GROUP.
2652 (process_section_headers): Adjust output for 32-bit binaries
2653 to look nice on an 80 column terminal.
2655 2000-11-20 H.J. Lu <hjl@gnu.org>
2657 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2660 2000-11-17 Richard Henderson <rth@redhat.com>
2662 * readelf.c (display_debug_lines): Adjust last change to
2663 use sizeof (external->li_length).
2665 2000-11-17 Richard Henderson <rth@redhat.com>
2667 * readelf.c (display_debug_lines): Fix section length check
2668 and end_of_sequence computation.
2670 2000-11-06 Nick Clifton <nickc@redhat.com>
2672 * binutils.texi: Add GNU Free Documentation License.
2673 * objcopy.1: Add GNU Free Documentation License.
2674 * objdump.1: Add GNU Free Documentation License.
2675 * addr2line.1: Add GNU Free Documentation License.
2676 * ar.1: Add GNU Free Documentation License.
2677 * nlmconv.1: Add GNU Free Documentation License.
2678 * nm.1: Add GNU Free Documentation License.
2679 * ranlib.1: Add GNU Free Documentation License.
2680 * size.1: Add GNU Free Documentation License.
2681 * strings.1: Add GNU Free Documentation License.
2682 * strip.1: Add GNU Free Documentation License.
2684 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2686 * objcopy.c (--srec-len=nn): New parameter to set the
2687 maximum length of generated Srecords.
2688 (--srec-forceS3): New parameter that restricts the generation of
2689 Srecords to type S3 only.
2690 * binutils.texi: Document new command line switches.
2691 * objcopy.1: Docuemnt the new command line switches.
2692 * NEWS: Announce the existence of the new command line switches.
2694 2000-10-31 Nick Clifton <nickc@redhat.com>
2696 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2697 code. Add Eric Chrisopher as maintainer of MN10300 port.
2699 2000-10-12 Roger Sayle <roger@metaphorics.com>
2701 * Make comma after string after icon/control optional.
2703 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2705 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2707 * NEWS: Mention support for MIPS32.
2709 2000-09-08 Nick Clifton <nickc@redhat.com>
2711 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2713 2000-09-07 H.J. Lu <hjl@gnu.org>
2715 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2716 * configure: Rebuild.
2718 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2720 * configure: Rebuilt with new libtool.m4.
2722 2000-09-05 Nick Clifton <nickc@redhat.com>
2724 * aclocal.m4: Regenerate.
2725 * config.in: Regenerate.
2726 * configure: Regenerate.
2728 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2730 * strip.1: Fix stray '\' in -o formatting.
2732 2000-09-02 Nick Clifton <nickc@redhat.com>
2734 * configure.in: Increase version number to 2.10.91.
2735 * configure: Regenerate.
2736 * aclocal.m4: Regenerate.
2737 * config.in: Regenerate.
2738 * po/binutils.pot: Regenerate.
2740 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2742 * acinclude.m4: Include libtool and gettext macros from the
2744 * aclocal.m4, configure: Rebuilt.
2746 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2748 * resrc.c (close_input_stream): Delete extraneous logic
2750 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2752 * NEWS: Mention support for CRIS.
2754 2000-08-21 Nick Clifton <nickc@redhat.com>
2756 * addr2line.c: Changed email address for Ulrich Lauther.
2758 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2760 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2762 2000-08-17 Nick Clifton <nickc@redhat.com>
2764 * readelf.c (display_debug_pubnames): Only issue warning
2765 message once. Terminate message with a new line.
2766 (display_debug_aranges): Only display version 2 debug info.
2768 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2770 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2771 for compatability with old BSD systems.
2773 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2775 * NEWS: Mention i860 support.
2777 2000-08-11 Carlo Wood <carlo@alinoe.com>
2779 * addr2line.c (main): Add const to char *.
2781 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2783 * ar.c (main): Don't crash if called with no arguments
2784 or only '-X32_64' as an argument.
2786 2000-08-08 DJ Delorie <dj@redhat.com>
2788 * resrc.c: use "gcc -xc" instead of -xc-header
2790 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2792 * readelf.c (elf/i860.h): Include.
2793 (dump_relocations): Add recognition of i860 architecture.
2794 (guess_is_rela): Add recognition of i860 architecture.
2796 2000-08-03 Nick Clifton <nickc@cygnus.com>
2798 * MAINTAINERS: Add information about CGEN maintainers.
2800 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2802 * nm.c (main): Ignore '-X32_64' as an option.
2803 * ar.c (main): Likewise.
2804 * binutils.texi (nm): Document new option.
2807 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2809 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2811 2000-07-20 H.J. Lu <hjl@gnu.org>
2813 * binutils.texi: Put back "@end table" deleted by
2816 2000-07-05 Kenneth Block <krblock@computer.org>
2818 * nm.c: Add optional style to demangle switch.
2819 * objdump.c: Add optional style to demangle switch.
2820 * addr2line.c: Add optional style to demangle switch.
2821 * binutils.texi: Document optional style to demangle
2824 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2826 * MAINTAINERS: Add self as CRIS port maintainer.
2827 * readelf.c: Include elf/cris.h.
2828 (guess_is_rela): Handle EM_CRIS.
2829 (dump_relocations): Ditto.
2830 (get_machine_name): Ditto.
2831 * Makefile.am: Rebuild dependencies.
2832 * Makefile.in: Regenerate.
2833 * po/binutils.pot: Regenerate.
2835 2000-07-19 H.J. Lu <hjl@gnu.org>
2837 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2839 (process_dynamic_segment): Print out strings for DT_CONFIG,
2840 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2842 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2844 * nm.c (usage): Change output of `nm --help' to include a
2845 description of the purpose of the program and a detailed
2846 description of the accepted options.
2848 2000-07-19 H.J. Lu <hjl@gnu.org>
2850 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2853 2000-07-19 H.J. Lu <hjl@gnu.org>
2855 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2857 2000-07-19 H.J. Lu <hjl@gnu.org>
2859 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2861 (process_dynamic_segment): Likewise.
2863 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2864 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2865 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2866 DF_1_NODUMP and DF_1_CONLFAT.
2868 2000-07-18 Nick Clifton <nickc@cygnus.com>
2870 * binutils.texi (readelf): Fix spelling typo.
2872 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2874 * objdump.c (usage): Make output of `objdump --help' more
2875 consistent with the rest of the GNU world. Add a line describing
2876 the purpose of the program.
2878 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2880 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2883 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2885 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2887 (process_symbol_table): Ditto.
2888 (procesS_extended_line_op): Ditto.
2889 (display_debug_lines): Ditto.
2890 (display_debug_pubnames): Ditto.
2891 (read_and_display_attr): Ditto.
2893 2000-07-09 Nick Clifton <nickc@cygnus.com>
2895 * MAINTAINERS: Add several more port specific maintainers.
2897 2000-07-05 Nick Clifton <nickc@cygnus.com>
2899 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2901 2000-06-05 DJ Delorie <dj@redhat.com>
2905 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2907 * dllwrap.c: Changed mistaken dyn_string_append() calls
2908 to dyn_string_append_cstr().
2910 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2912 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2913 struct debug_type stores size in bytes.
2915 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2917 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2918 (CLEANFILES): Add DEPA.
2919 * Makefile.in: Regenerate.
2921 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2923 * ar.c: Revert incorrect 2000-06-25 patch.
2924 * bucomm.c: Likewise.
2926 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2928 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2929 (external_coff_symbol_p): New function.
2930 (parse_coff): Use it.
2932 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2934 * ar.c (normalize): Advance past both characters in a DOS based
2935 <letter>: filepath prefix.
2937 * bucomm.c (make_tempname): Likewise.
2939 2000-06-24 Nick Clifton <nickc@cygnus.com>
2941 * objdump.c (usage): Fix description of --stabs switch.
2943 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2945 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2947 * Makefile.in: Regenerate.
2949 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2951 * ar.c (normalize): Correct pointer comparison when checking for
2954 * bucomm.c (make_tempname): Likewise.
2956 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2957 and search for backslashes in the original pathname.
2958 (ieee_add_bb11): Likewise.
2960 2000-06-18 Nick Clifton <nickc@redhat.com>
2962 * ar.c (print_contents): Improve verbose message.
2964 2000-06-15 H.J. Lu <hjl@gnu.org>
2966 * dyn-string.c: Removed. Not needed with dyn-string.c in
2968 * dyn-string.h: Likewise.
2970 * Makefile.am: Remove references to dyn-string.c and
2971 dyn-string.h. Rebuild dependency.
2972 * Makefile.in: Rebuild.
2974 2000-06-15 H.J. Lu <hjl@gnu.org>
2976 * binutils.texi: Put a warning on copying relocatable object
2977 files between two different formats.
2979 2000-06-13 DJ Delorie <dj@cygnus.com>
2981 * rcparse.y (control): ICON controls take an id as the first
2982 parameter, not an optional string. Also, call new convenience
2983 function that takes res_id's.
2984 * resrc.c (define_control): missing text means zero-length string,
2986 (define_icon_control): New.
2987 * windres.h: declare define_icon_control.
2989 2000-06-13 H.J. Lu <hjl@gnu.org>
2991 * configure: Regenerate.
2993 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2995 * configure.in (VERSION): Update to show this is the CVS mainline.
2997 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2999 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3000 analogous to <SPACE>.
3002 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3004 * objdump.c (display_target_list): Use bfd_close_all_done, not
3005 bfd_close to fix crash caused by 2000-05-24 change.
3007 2000-05-25 DJ Delorie <dj@cygnus.com>
3009 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3011 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3013 * Makefile.am: Update dependencies with "make dep-am"
3014 * Makefile.in: Regenerate.
3016 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3018 * ar.c: Include filenames.h.
3019 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3020 and drive letters in file names.
3021 (main): Support backslashes and drive letters in argv[0]. Drop
3022 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3023 FILENAME_CMP instead of strcmp to compare file names.
3024 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3026 (do_quick_append) [__GO32__]: Ditto.
3027 (get_pos_bfd, delete_members, move_members, replace_members):
3028 Compare file names with FILENAME_CMP.
3030 * bucomm.c: Include filenames.h.
3031 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3032 forward/backward slashes and drive letters in file names.
3034 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3035 mixed forward/backward slashes and drive letters in file names.
3037 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3038 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3041 * objcopy.c: Include filenames.h.
3042 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3043 before comparing to "strip".
3044 Use FILENAME_CMP to compare file names.
3046 * arsup.c: Include filenames.h.
3047 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3048 FILENAME_CMP to compare file names.
3049 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3050 the temporary file name.
3052 * configure.in: Check for setmode.
3053 * configure: Regenerate.
3055 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3057 * objdump.c (display_target_list): Close the bfd.
3058 (display_info_table): Likewise.
3060 2000-05-14 H.J. Lu (hjl@gnu.org)
3062 * objcopy.c (filter_symbols): Don't strip global symbols in
3063 relocatable object files.
3065 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3067 * size.c (usage): Associate short options with corresponding long
3068 option to give a clue as to their function.
3070 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3072 * size.c (main): Accept and ignore `-f' option.
3074 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3076 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3077 bindtextdomain): Replace defines with those from intl/libgettext.h
3078 to quieten gcc warnings.
3080 2000-05-12 H.J. Lu <hjl@gnu.org>
3082 * nlmconv.c (temp_filename): Removed.
3084 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3085 choose_temp_base ().
3086 * objdump.c (display_target_list): Likewise.
3087 (display_info_table): Likewise.
3089 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3091 * objcopy.c (setup_section): Add const and gettext calls for err.
3093 2000-05-02 H.J. Lu <hjl@gnu.org>
3095 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3096 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3097 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3098 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3099 and ELFOSABI_OPENBSD.
3101 2000-05-02 Kazu Hirata <kazu@hxi.com>
3103 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3104 * srconv.c: Likewise.
3105 * sysdump.c: Likewise.
3107 2000-04-23 Denis Chertykov <denisc@overta.ru>
3109 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3110 (get_machine_name): machine name for EM_AVR added.
3112 2000-04-21 Richard Henderson <rth@cygnus.com>
3113 David Mosberger <davidm@hpl.hp.com>
3115 * Makefile.am (readelf.o): Add elf/ia64.h.
3116 * Makefile.in: Rebuild.
3117 * readelf.c: Include elf/ia64.h.
3118 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3120 2000-04-17 Timothy Wall <twall@cygnus.com>
3122 * objdump.c (disassemble_data): Set octets per byte *after*
3123 resolving arch/mach for binary files.
3125 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3127 * arlex.l: Add directives to increase lex buffer size.
3129 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3130 already included by bucomm.h.
3132 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3134 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3135 `strftime' since strftime is not available on all systems.
3136 (process_mips_specific): Ditto.
3138 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3140 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3141 --enable-build-warnings option.
3142 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3143 * Makefile.in, configure: Re-generate.
3145 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3147 * addr2line.c: Update copyright.
3148 * objcopy.1: Likewise, and title.
3149 * strings.1: Likewise.
3151 * version.c (print_version): Add 2000.
3153 * rddbg.c (read_section_stabs_debugging_info): Don't use
3154 bfd_size_type for strx to avoid printf problems if BFD64.
3156 * bucomm.c: (report): Remove `static'.
3157 Move inclusion of stdarg.h/vararg.h from here.
3158 * bucomm.h: To here.
3159 (CONST): Change all occurences to const.
3160 (report): Declare it.
3161 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3162 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3163 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3165 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3166 Correct a typo in an error message.
3167 (do_quick_append): Use non_fatal instead of fprintf.
3168 (move_members): Use fatal instead of fprintf, exit.
3169 * coffdump.c (main): Same here.
3171 * dlltool.c (display): Delete.
3173 (inform): Use `report' instead of `display'.
3174 (rvaafter): Remove trailing \n from fatal error msg.
3176 (asm_prefix): Ditto.
3177 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3178 (def_name): Likewise.
3180 (scan_all_symbols): Likewise.
3181 (gen_lib_file): Likewise.
3182 (def_library): Likewise. Remove extra program_name too.
3183 (run): Remove \n from inform strings.
3184 (scan_drectve_symbols): Likewise.
3185 (add_excludes): Likewise.
3186 (scan_open_obj_file): Likewise.
3187 (gen_exp_file): Likewise.
3188 (gen_lib_file): Likewise.
3189 (process_duplicates): Likewise.
3191 * Makefile.am (dllwrap_SOURCES): Add version.c.
3192 * dllwrap.c (program_version): Delete.
3193 (print_version): Delete.
3194 (display): Always print trailing \n.
3196 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3199 (usage): gettext'ify.
3200 (long_options): Add missing initialisers.
3202 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3203 (select_output_format): Likewise.
3204 (powerpc_mangle_relocs): Likewise.
3205 (link_inputs): Likewise.
3207 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3208 (set_output_format): Likewise.
3209 (main): Use non_fatal instead of fprintf.
3210 (display_rel_file): Likewise.
3212 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3213 (slurp_dynamic_symtab): Same here.
3214 (disassemble_data): And here.
3215 (read_section_stabs): And here.
3216 (read_section_stabs): And here.
3217 (dump_bfd): And here.
3219 (objdump_sprintf): Use fatal instead of fprintf, exit.
3220 (disassemble_data): Same here.
3222 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3223 (parse_coff_struct_type): Same here.
3224 (parse_coff_enum_type): And here.
3225 (parse_coff): And here.
3226 * rddbg.c (read_debugging_info): And here.
3227 * size.c (main): And here.
3228 * windres.c (format_from_name): And here.
3229 * wrstabs.c (stab_write_symbol): Here too.
3230 (write_stabs_in_sections_debugging_info): And here.
3231 (stab_int_type): And here.
3232 (stab_struct_field): And here.
3233 (stab_typdef): And here.
3235 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3236 * srconv.c (main): Same here.
3237 * strings.c (main): And here.
3238 (integer_arg): And here.
3239 * sysdump.c (main): And here.
3241 2000-04-06 Timothy Wall <twall@cygnus.com>
3243 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3245 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3247 * readelf.c (decode_location_expression): Loop through multiple
3249 (read_and_display_attr): Pass in length.
3251 * readelf.c (read_and_display_attr): Add CU offset to references.
3252 (display_debug_info): Pass it in.
3254 2000-04-06 Nick Clifton <nickc@cygnus.com>
3256 * readelf.c (decode_ARM_machine_flags): New function.
3257 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3260 (get_machine_name): Catch EM_AVR
3262 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3264 * binutils.texi: Remove optional `=' from long options that have
3265 an `=' in the argument.
3266 * objcopy.1: Here too. Remove extra space on discard-all.
3268 * binutils.texi (objcopy): Mention --redefine-sym.
3269 * objcopy.1: Here too.
3272 * objcopy.c (parse_flags): Split off flag names from error message
3273 gettext as they are not translated.
3274 (copy_main): Similarly split off option name for --add-section,
3275 --set-section-flags, --change-section-vma, --change-section-lma
3277 Some white space changes.
3279 from Matthew Benjamin <matt@linuxbox.nu>
3280 * objcopy.c (struct redefine_node): New.
3281 (redefine_sym_list): New.
3282 (redefine_list_append): New.
3283 (lookup_sym_redefinition): New.
3284 (OPTION_REDEFINE_SYM): New.
3285 (copy_options): Add --redefine-sym option.
3286 (copy_usage): Mention it.
3287 (filter_symbols): Rename symbols on redefine_sym_list.
3288 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3289 (copy_main): Handle OPTION_REDEFINE_SYM.
3291 2000-04-04 H.J. Lu <hjl@gnu.org>
3293 * readelf.c (process_symbol_table): Correctly read in symbol
3294 versioning information.
3296 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3298 * po/binutils.pot: Regenerate.
3300 * addr2line.c (usage): Restore translated part of bug string.
3301 * ar.c (usage): Likewise.
3302 * nlmconv.c (show_usage): Likewise.
3303 * nm.c (usage): Likewise.
3304 * objcopy.c (copy_usage): Likewise.
3305 (strip_usage): Likewise.
3306 * objdump.c (usage): Likewise.
3307 * readelf.c (usage): Likewise.
3308 * size.c (usage): Likewise.
3309 * strings.c (usage): Likewise.
3310 * windres.c (usage): Likewise.
3312 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3313 (DEP): Quote when passing vars to sub-make. Add warning
3315 (DEP1): Rewrite for "gcc -MM".
3316 (CLEANFILES): Add DEP2.
3317 Update dependencies.
3318 * Makefile.in: Regenerate.
3320 2000-04-04 H.J. Lu <hjl@gnu.org>
3322 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3323 (arparse.h): Depend on arparse.c
3324 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3326 2000-04-03 H.J. Lu (hjl@gnu.org)
3328 * size.c (usage): Use REPORT_BUGS_TO.
3330 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3332 * bucomm.h: #include "bin-bugs.h"
3333 * addr2line.c (usage): Use REPORT_BUGS_TO.
3334 * ar.c (usage): Likewise.
3335 * nlmconv.c (show_usage): Likewise.
3336 * nm.c (usage): Likewise.
3337 (OPTION_TARGET): Define.
3338 (long_options): Use OPTION_TARGET rather than 200.
3341 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3342 (strip_usage): Likewise.
3343 * objdump.c (usage): Likewise.
3344 * readelf.c (usage): Likewise.
3345 * strings.c (usage): Likewise.
3346 * windres.c (usage): Likewise.
3348 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3350 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3352 2000-03-27 Nick Clifton <nickc@cygnus.com>
3354 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3355 string offsets in corrupt stabs entries.
3357 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3359 * readelf.c: Include elf/avr.h
3360 (dump_relocations): Add EM_AVR case.
3362 2000-03-09 Tim Waugh <twaugh@redhat.com>
3364 * strings.1: Correct '-bytes' to '--bytes'.
3366 2000-03-08 H.J. Lu <hjl@gnu.org>
3368 * Makefile.am (install-exec-local): Depend on
3369 install-binPROGRAMS for parallel make.
3370 * Makefile.in: Regenerated.
3372 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3374 From Brad Lucier <lucier@math.purdue.edu>:
3375 * readelf.c (process_dynamic_segment): Add cast to make sure
3376 argument to %* is int.
3378 2000-02-25 H.J. Lu <hjl@gnu.org>
3380 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3382 2000-02-24 Nick Clifton <nickc@cygnus.com>
3384 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3385 * configure: Regenerate.
3387 * dlltool.c: Add support for sh-pe and mips-pe targets.
3388 * rescoff.c: Add support for sh-pe and mips-pe targets.
3390 2000-02-23 H.J. Lu <hjl@gnu.org>
3392 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3394 2000-02-22 Nick Clifton <nickc@cygnus.com>
3396 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3398 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3400 From Brad Lucier <lucier@math.purdue.edu>:
3401 * readelf.c (process_version_sections): Add casts to make sure
3402 argument to %* is an int.
3403 (process_mips_specific): Add casts to make printf arguments match
3406 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3408 * objdump.c (dump_section_header): Change `opb' to unsigned.
3409 (find_symbol_for_address): Same here.
3410 (disassemble_data): And here. Change `addr_offset',
3411 `stop_offset', `nextstop_offset' to unsigned long.
3412 (dump_data): Change opb to unsigned.
3414 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3416 * resrc.c: Remove unmatched #if for cygwin.
3418 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3420 * binutils.texi: Document the change of flavor name from atpcs-special
3421 to special-atpcs to prevent name conflict in gdb.
3423 2000-02-08 Timothy Wall <twall@redhat.com>
3425 * objdump.c (show_line): Fix bug preventing printing of the very
3426 first line (line zero) of a file when interlisting source and
3427 assembly. Added option to print entire context from start of file
3428 when the first line from that file is encountered.
3430 2000-02-03 Timothy Wall <twall@redhat.com>
3432 * objdump.c (dump_section_header, find_symbol_for_address,
3433 show_line, disassemble_bytes, disassemble_data, dump_data):
3434 distinguish between octets and bytes.
3436 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3438 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3439 check to unresolved symbols.
3440 (print_symbol_info_sysv): Ditto.
3441 (print_symbol_info_posix): Ditto.
3443 * binutils.texi: Document new 'V' symclass flag for nm.
3445 2000-01-27 Nick Clifton <nickc@redhat.com>
3447 * binutils.texi (objdump): Document new ARM specific
3448 disassembler options.
3450 * objdump.c (usage): Call disassembler_usage().
3452 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3454 * readelf.c (get_dynamic_flags): Return buff.
3455 (process_dynamic_segment): Don't pass error strings to printf
3457 (read_and_display_attr): Use lx and ld to print longs.
3458 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3462 2000-01-17 Nick Clifton <nickc@cygnus.com>
3464 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3466 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3468 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3470 (debug_tag_type): Here too.
3471 * ieee.c (ieee_builtin_type): And here.
3472 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3474 2000-01-13 Nick Clifton <nickc@cygnus.com>
3476 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3479 2000-01-11 Nick Clifton <nickc@cygnus.com>
3481 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3483 2000-01-10 Nick Clifton <nickc@cygnus.com>
3485 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3487 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3489 * windres.c (long_options): Add --use-temp-file and
3490 --no-use-temp-file options.
3494 * windres.h: Update read_rc_file prototype.
3496 * resrc.c (cpp_temp_file): New static variable.
3497 (istream_type): New static variable.
3498 (close_pipe): Delete function.
3499 (run_cmd): New static function.
3500 (open_input_stream): New static function.
3501 (close_input_stream): New static function.
3502 (look_for_default): Handle DOS directory separator. Use
3503 open_input_stream instead of popen.
3504 (read_rc_file): Likewise.
3506 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3509 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3511 * dlltool.c (create_compat_implib): New variable.
3512 (gen_exp_file): Use.
3513 (make_one_lib_file): Use.
3514 (long_options): Add --compat-implib option.
3518 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3519 (main): Use. Don't look for "32" in cygwin and mingw target names.
3521 2000-01-03 Nick Clifton <nickc@cygnus.com>
3523 * binutils.texi: Document new, ARM specific disassembler
3524 command line switch "-M force-thumb".
3526 For older changes see ChangeLog-9899
3532 version-control: never