1 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
3 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
4 (main): Just pass the -U option down to the preprocessor.
5 * doc/binutils.texi: Added -U to the list of options.
7 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
9 * windres.c (usage): Report -r option.
10 (main): Ignore the -r option.
11 * doc/binutils.texi: Add -r to the list of options.
13 2003-04-01 Bob Wilson <bob.wilson@acm.org>
15 * MAINTAINERS: Add myself as Xtensa maintainer.
17 2003-04-01 Bob Wilson <bob.wilson@acm.org>
19 * readelf.c: Include "elf/xtensa.h".
20 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
21 targets that use RELA relocations.
22 (dump_relocations): Call elf_xtensa_reloc_type for
23 EM_XTENSA and EM_XTENSA_OLD.
24 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
26 2003-04-01 Nick Clifton <nickc@redhat.com>
28 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
29 thumb-pe*, mcore-pe and mcore-*elf.
30 * configure: Regenerate.
32 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
34 * objdump.c (dump_data): Don't truncate the address to long; make
35 the width large enough, and uniform for all entries in a section.
37 2003-03-31 H.J. Lu <hjl@gnu.org>
39 * readelf.c: Include "libiberty.h".
40 (dynamic_relocations): New.
41 (process_relocs): Properly handle dynamic relocation.
42 (process_dynamic_segment): Fill relocation elements in
45 2003-03-31 Kevin Buettner <kevinb@redhat.com>
47 * readelf.c (read_and_display_attr, read_and_display_attr_value):
48 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
50 (display_debug_lines, display_debug_pubnames, display_debug_info)
51 (display_debug_aranges, display_debug_frames, read_and_display_attr)
52 (read_and_display_attr_value): Add 64-bit DWARF support.
54 2003-03-31 Ian Lance Taylor <ian@airs.com>
56 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
57 (optresid): Handle a resource id that can be a string or a number.
58 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
60 (define_icon_control): Pass a struct res_id to define_control.
61 * windres.h (define_control): Change prototype.
63 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
65 * objcopy (OPTION_FORMATS_INFO): Define.
66 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
67 (copy_options): Likewise.
68 (strip_usage): Add "--info" to usage.
69 (copy_usage): Likewise.
70 (strip_main): Declare formats_info. Iniatilize it to FALSE.
72 (copy_main). Likewise.
73 * doc/binutils.texi. Document the "--info" option for
75 * NEWS: Mention the new command line switch.
77 * objdump.c (endian_string): Move to bucomm.c.
78 (display_info): Likewise.
79 (display_target_list): Likewise.
80 (display_info_table): Likewise.
81 (display_target_tables): Likewise.
82 (main): Assign the return value of display_info to exit_status.
83 * bucomm.c: Include bfdver.h and libbfd.h
84 (display_target_list): Call bfd_nonfatal instead of nonfatal and
85 return 0 on a non-fatal error, 1 on success.
86 (display_info_table): Likewise.
87 * bucomm.h (display_info): Provide a prototype.
88 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
90 * Makefile.in: Regenerate.
92 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
94 * dlltool.c (gen_def_file): Put demangled name comments on
95 own line preceding export name.
97 2003-03-17 Nick Clifton <nickc@redhat.com>
99 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
100 printf for emitting new lines.
102 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
104 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
105 the symbol's value when --size-sort is used, unless -S is used.
106 doc/binutils.texi (--size-sort): For non-bsd formats both the
107 value and size of the symbols are displayed.
109 2003-03-13 Nick Clifton <nickc@redhat.com>
113 2003-03-12 Nick Clifton <nickc@redhat.com>
115 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
117 2003-03-10 Ben Elliston <bje@wasabisystems.com>
119 * MAINTAINERS: Update my mail address.
121 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
123 * stabs.c (BYTES_IN_WORD): Remove definition.
124 * wrstabs.c (BYTES_IN_WORD): Likewise.
126 2003-03-04 Nick Clifton <nickc@redhat.com>
128 * nm.c (main): Print a warning message if --size-sort and
129 --undefined-only are used together.
131 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
133 * nm.c (print_symbol): Remove check for undefined_only.
135 2003-03-03 Nick Clifton <nickc@redhat.com>
137 * po/da.po: Installed latest translation.
139 2003-02-24 Nick Clifton <nickc@redhat.com>
141 * README: Update binutils references to 2.13.
142 Add paragraph about using --disable-nls.
144 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
146 * doc/binutils.texi (nm --size-sort): Update.
148 2003-02-21 James E Wilson <wilson@tuliptree.org>
150 * MAINTAINERS: Update email address.
152 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
154 * readelf.c (get_ia64_dynamic_type): New function.
155 (dynamic_segment_ia64_val): New function.
156 (get_dynamic_type): If machine type is EM_IA_64 call
157 get_ia64_dynamic_val.
158 (get_ia64_section_type_name): Handle sections with types in the
159 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
160 (get_dynamic_flags): If machine type is EM_IA_64 call
161 dynamic_segment_ia64_val.
163 2003-02-21 Bob Wilson <bob.wilson@acm.org>
165 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
166 section title capitalization more consistent. Update descriptions
167 of various options to be consistent with the code. Fix errors and
168 incomplete list in the description of c++filt format options. Remove
169 information about the linker. Change to be more polite about poor
170 bug reports. Replace FDL appendix with include of fdl.texi.
171 * doc/fdl.texi: New file.
173 2003-02-21 Roger Sayle <roger@eyesopen.com>
175 * objcopy.c (filter_symbols): Fix compilation problems with
178 2003-02-19 Christopher Faylor <cgf@redhat.com>
180 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
183 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
185 * rclex.l (handle_quotes): Handle strings spanning more than one line.
187 2003-02-12 Bob Wilson <bob.wilson@acm.org>
189 * nm.c (usage): Add `java' and `gnat' demangle styles and make
191 * objdump.c (usage): Ditto. Also fix some typos.
193 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
195 * debug.c (debug_record_variable): Handle global register variables.
197 * stabs.c (parse_stab): For N_SLINE only include
198 function_start_offset if the symbol is within a function;
199 otherwise, the value is absolute.
201 2003-02-10 Nick Clifton <nickc@redhat.com>
203 * readelf.c (decode_ARM_machine_flags): Handle the
204 EF_ARM_MAVERICK_FLOAT flag.
206 2003-02-04 Andreas Schwab <schwab@suse.de>
208 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
209 long and use %ld in printf format.
211 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
213 * readelf.c (dump_relocations): Reorder the r_info field for
214 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
216 2003-01-21 Daniel Berlin <dan@dberlin.org>
218 * readelf.c (display_debug_loc): Skip address base changes.
220 2003-01-17 Fabio Alemagna <falemagn@aros.org>
222 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
225 2003-01-16 Alan Modra <amodra@bigpond.net.au>
227 * readelf.c: Include elf/ppc64.h.
228 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
229 * Makefile.am: Run "make dep-am".
230 * Makefile.in: Regenerate.
232 2003-01-02 Ben Elliston <bje@redhat.com>
234 * readelf.c (guess_is_rela): Handle EM_IQ2000.
235 (get_machine_name): Likewise.
236 (dump_relocations): Likewise.
237 * NEWS: Mention IQ2000 support.
239 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
241 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
243 2002-12-30 Chris Demetriou <cgd@broadcom.com>
245 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
246 changes in MIPS -M options.
248 2002-12-30 Dmitry Diky <diwil@mail.ru>
250 * Makefile.am: Add msp430 target.
251 * Makefile.in: Regenerate.
252 * readelf.c: Add support for msp430 target.
254 2002-12-27 Chris Demetriou <cgd@broadcom.com>
256 * doc/binutils.texi (objdump): Document MIPS -M options.
258 2002-12-23 Andreas Schwab <schwab@suse.de>
260 * readelf.c (main): Reset dump request after each file.
262 2002-12-23 Nick Clifton <nickc@redhat.com>
264 * nlmconv.c (main): Pass TRUE as third argument to
265 bfd_arch_get_compatible.
267 2002-12-23 Nick Clifton <nickc@redhat.com>
269 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
270 macro. Handle 'S' encoding, accepting 8-bit characters.
271 (main): Parse 'S' encoding.
272 (get_char): Accept 'S' encoding.
273 (print_strings): Use STRING_ISGRAPHIC.
274 (usage): Document support of 'S' encoding.
275 * doc/binutils.texi: Document support of 'S' encoding/
276 * NEWS: Mention new feature.
278 2002-12-20 Alan Modra <amodra@bigpond.net.au>
280 * README <building ar>: Don't use libibery's needed_list or
281 required_list, instead link libiberty/*.o.
283 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
285 * doc/binutils.texi: Fix typos.
287 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
289 * doc/binutils.texi: Add missing parenthesis.
291 2002-12-15 Nick Kelsey <nickk@ubicom.com>
293 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
294 symbols by adding the given prefix to the begining of the symbol
295 name. This is useful to provide name space seperation regardless
296 of how the object file was created. Added --prefix-sections=
297 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
298 sections (or all sections with the alloc flag set) by adding the given
299 prefix to the begining of the symbol name.
300 * NEWS: Mention this new feature.
301 * doc/binutils.texi: Document this new feature.
303 2002-12-13 Alan Modra <amodra@bigpond.net.au>
305 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
306 dyn_string_append with dyn_string_append_cstr.
308 * emul_aix.c (ar_emul_aix_create): Remove unused function.
310 2002-12-10 James Cownie <jcownie@etnus.com>
312 * readelf.h (get_TAG_name, get_AT_name,
313 read_and_display_attr_value): Add support for UPC extensions to
315 * NEWS: Mention this new support.
317 2002-12-08 Alan Modra <amodra@bigpond.net.au>
319 * NEWS: Mention that bfd no longer declares a "boolean" type.
321 2002-12-07 Alan Modra <amodra@bigpond.net.au>
323 * readelf.c (process_program_headers): When setting loadaddr, don't
324 assume segment size is 4k. Use p_align instead.
325 (loadaddr): Change from int to long.
326 (dynamic_addr, dynamic_info, version_info): Likewise.
327 (process_dynamic_segment <syminsz>): Likewise.
328 (process_dynamic_segment): Adjust print format string.
329 (rela_addr, rela_size): Delete.
330 (process_relocs): Formatting.
332 2002-12-05 Jim Wilson <wilson@redhat.com>
334 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
335 * configure: Regenerate.
337 2002-12-04 Ian Lance Taylor <ian@airs.com>
339 * MAINTAINERS: Change e-mail address back to airs.com.
341 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
343 * MAINTAINERS: Add self.
345 2002-11-30 Alan Modra <amodra@bigpond.net.au>
347 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
348 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
349 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
350 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
351 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
352 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
353 with TRUE/FALSE. Formatting.
355 2002-11-29 Jakub Jelinek <jakub@redhat.com>
357 * readelf.c Replace occurrences of Elf32_Internal_* and
358 Elf64_Internal_* with Elf_Internal_*.
359 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
360 Zero r_addend fields.
361 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
364 2002-11-23 Nick Clifton <nickc@redhat.com>
366 * size.c (usage): Fix typo describing switch for hex format.
368 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
370 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
371 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
374 2002-11-14 Nick Clifton <nickc@redhat.com>
376 * readelf.c (process_program_headers): Add comment about return
377 value. Ensure that 0 is returned if the headers are not loaded.
378 (process_file): If process_section_headers failed to load the
379 headers disable any tests that rely upon them. Similarly for
380 process_program_headers.
382 2002-11-12 Nick Clifton <nickc@redhat.com>
384 * po/da.po: Updated Danish translation.
386 2002-11-12 Klee Dienes <kdienes@apple.com>
388 * rddbg.c (read_section_stabs_debugging_info): Also recognize
389 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
391 2002-11-11 Christopher Faylor <cgf@redhat.com>
393 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
396 2002-11-11 Christopher Faylor <cgf@redhat.com>
398 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
400 2002-11-07 Nick Clifton <nickc@redhat.com>
402 * configure.in (ALL_LINGUAS): Add 'da'.
403 * configure: Regenerate.
404 * po/da.po: New Danish translation.
406 * readelf.c (get_symbol_index_type): Revert part of previous
407 patch: Display unknown symbol types in decimal, not hex.
409 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
411 * dlltool.c (add_excludes): Don't prefix excluded fastcall
412 symbols with underscore.
413 (xlate): Ignore add_underscore for decorated fastcall symbols.
415 2002-11-07 Eric Kohl <ekohl@rz-online.de>
417 * deflex.l: Accept '@' as first character of an ID.
418 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
419 ASM_PREFIX for fastcall symbols.
420 (scan_drectve_symbols): Handle fastcall symbols when generating
421 undecorated aliases for symbols in drectve section.
422 (scan_filtered_symbols): Likewise, with export-all.
423 (xlate): Likewise, with --kill-at.
424 (make_imp_label): New function to handle fastcall symbols
426 (make_one_lib_file): Use make_imp_label instead of make_label
429 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
431 * MAINTAINERS: Add self as TIC4X maintainer.
433 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
435 * readelf.c (get_symbol_index_type): Add hex number to
436 PROCESSOR-specific, OS-specific, reserved and unknown symbol
439 2002-11-04 Alan Modra <amodra@bigpond.net.au>
441 * readelf.c (byte_get_little_endian): Comment typo fix.
442 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
443 as the format string.
444 (dump_relocations): Correct section sym names.
445 (process_section_headers): Clear symtab_shndx_hdr.
446 (read_and_display_attr_value): Don't pass indirect string to printf
447 as the format string.
448 (display_debug_frames): Indicate when zero terminator found. Decode
449 DW_EH_PE_pcrel addresses.
451 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
453 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
454 order to ensure proper disassembly of the valid 0-value opcode.
455 * configure: Regenerate.
456 * aclocal.m4: Regenerate.
457 * config.in: Regenerate.
458 * configure.in: Regenerate.
459 * doc/Makefile.in: Regenerate.
460 * po/binutils.pot: Regenerate.
462 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
464 * MAINTAINERS: Add self as SH maintainer.
466 2002-10-23 Ben Elliston <bje@redhat.com>
468 * doc/binutils.texi (objdump): Document -z and move the entry for
469 --disassemble-zeroes to the end of the options section (for `z').
471 2002-10-21 Nick Clifton <nickc@redhat.com>
473 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
475 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
477 * objdump.c (dump_data): Correct addr_offset for opb != 1.
479 2002-10-15 Alan Modra <amodra@bigpond.net.au>
481 * bucomm.c (list_supported_targets): Use bfd_target_list.
483 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
484 other object errors in preference to bfd_core errors.
486 2002-10-14 Alan Modra <amodra@bigpond.net.au>
488 * Makefile.am: Run "make dep-am".
489 * objdump.c: #include "bfdver.h".
490 * version.c: Likewise.
491 * Makefile.in: Regenerate.
492 * config.in: Regenerate.
493 * configure: Regenerate.
494 * po/POTFILES.in: Regenerate.
496 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
498 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
499 sections. Allow relocations against the absolute symbol. Don't
500 use the value in compunit.cu_abbrev_offset if we found a RELA
503 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
505 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
506 ordinary ones are available.
508 2002-09-30 H.J. Lu <hjl@gnu.org>
510 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
511 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
513 2002-09-17 Zack Weinberg <zack@codesourcery.com>
515 * Makefile.am (CFILES): Add cxxfilt.c.
516 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
517 (cxxfilt_LDADD): Delete.
518 Remove all references to underscore.c.
520 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
521 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
522 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
523 adjustments to fit into binutils framework.
524 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
526 2002-09-12 Roland McGrath <roland@redhat.com>
528 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
529 Handle DW_OP_GNU_push_tls_address.
531 2002-09-11 Nick Clifton <nickc@redhat.com>
533 * po/tr.po: Updated Turkish translation.
535 2002-09-10 Nick Clifton <nickc@redhat.com>
537 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
538 testsuite changes. Add paragraphs about testsuite and config
541 2002-08-29 Nick Clifton <nickc@redhat.com>
543 * readelf.c (get_machine_flags): Remove redundant reference to
546 2002-08-28 Alan Modra <amodra@bigpond.net.au>
548 * objdump.c (dump_bfd): Restore lines accidentally deleted in
551 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
553 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
554 (dump_bfd_header): Likewise.
556 2002-08-27 Alan Modra <amodra@bigpond.net.au>
558 * nm.c: Revert last change.
560 2002-08-26 Alan Modra <amodra@bigpond.net.au>
562 * nm.c (display_rel_file): Don't report "no symbols" as an error.
563 * objdump.c (slurp_symtab): Likewise.
564 (slurp_dynamic_symtab): Likewise.
565 (dump_symbols): Likewise. Do print "no symbols" to stdout.
567 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
569 * MAINTAINERS: Change my mailing address.
571 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
573 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
575 2002-08-22 Nick Clifton <nickc@redhat.com>
577 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
580 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
582 * readelf.c (parse_args): Change debug_dump_opt to static.
584 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
586 * stabs.c (parse_stab_argtype): Pass length of physname to
587 stab_demangle_argtypes.
588 (stab_demangle_argtypes): Add new parameter - length of physname.
589 Pass length of physname on to stab_demangle_prefix.
590 (stab_demangle_prefix): Add new parameter - length of physname.
591 Use length of physname (if supplied) to compute end of function
594 2002-08-15 Alan Modra <amodra@bigpond.net.au>
596 * readelf.c: Include elf/i370.h.
597 (dump_relocations): Handle EM_S370.
598 (dynamic_segment_parisc_val): Print \n.
599 (process_dynamic_segment <DT_BIND_NOW>): Here too.
601 2002-08-14 Nick Clifton <nickc@redhat.com>
603 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
604 * objdump.c (usage): Likewise.
605 * doc/binutils.texi: Likewise.
607 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
609 * rcparse.y (acc_entry): Don't warn about ALT use with
612 2002-08-13 H.J. Lu <hjl@gnu.org>
614 * objcopy.c (copy_object): Don't warn about the unsupported
615 architecture unless the input target is defaulted or the
616 output architecture is different from the input.
618 2002-08-09 Nick Clifton <nickc@redhat.com>
620 * po/sv.po: Updated Swedish translation.
622 2002-08-05 Alan Modra <amodra@bigpond.net.au>
624 * prdbg.c (pr_fix_visibility): Remove assert.
626 2002-07-31 Nick Clifton <nickc@redhat.com>
628 * addr2line.c (process_file): Rename parameter 'filename' to
629 'file_name' in order to avoid shadowing global symbol of the
633 2002-07-30 Jakub Jelinek <jakub@redhat.com>
635 * readelf.c (OPTION_DEBUG_DUMP): Define.
637 (usage): Update help.
638 (parse_args): Handle --debug-dump separately from -w.
639 * doc/binutils.texi (readelf): Update documentation.
641 2002-07-25 Nick Clifton <nickc@redhat.com>
643 * po/es.po: Updated Spanish translation.
644 * po/fr.po: Updated French translation.
646 2002-07-24 Nick Clifton <nickc@redhat.com>
648 * po/es.po: Updated Spanish translation.
650 2002-07-23 Alan Modra <amodra@bigpond.net.au>
652 * Makefile.am: Run "make dep-am".
653 * Makefile.in: Regenerate.
655 2002-07-23 Nick Clifton <nickc@redhat.com>
657 * po/fr.po: Updated French translation.
659 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
661 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
663 2002-07-20 Alan Modra <amodra@bigpond.net.au>
665 * budemang.c: Include config.h and string.h/strings.h.
667 2002-07-18 Denis Chertykov <denisc@overta.ru>
668 Frank Ch. Eigler <fche@redhat.com>
670 * readelf.c: Include "elf/ip2k.h".
671 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
672 (dump_relocations): Likewise.
673 (get_machine_name): Likewise.
674 * NEWS: Mention IP2K support.
676 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
678 * NEWS: Add 'Changes in 2.13'.
680 2002-07-10 Jakub Jelinek <jakub@redhat.com>
682 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
683 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
684 (get_section_type_name): Handle SHT_GNU_LIBLIST.
685 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
686 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
687 (process_gnu_liblist): New.
688 (process_file): Call it.
690 2002-07-03 Alan Modra <amodra@bigpond.net.au>
692 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
693 * Makefile.in: Regenerate.
695 2002-07-02 Alan Modra <amodra@bigpond.net.au>
697 * budemang.c: New file, "demangle" function.
698 * budemang.h: New file.
699 * addr2line.c (translate_addresses): Use "demangle".
700 * nm.c (print_symname): Likewise.
701 * objdump.c (objdump_print_symname): Likewise.
702 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
703 here since that obfuscates.
704 * rdcoff.c: Don't #include demangle.h.
705 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
706 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
707 (HFILES): Add budemang.h. Sort.
708 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
710 * Makefile.in: Regenerate.
712 2002-07-01 Matt Thomas <matt@3am-software.com>
714 * readelf.c: Include "elf/vax.h".
715 (guess_is_rela): Move EM_VAX from unknown to RELA case.
716 (dump_relocations): Handle VAX relocations.
717 (get_machine_flags): Handle VAX machine flags.
719 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
721 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
723 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
725 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
727 2002-06-26 Alan Modra <amodra@bigpond.net.au>
729 * nm.c (print_symname): When demangling, strip leading dots from
730 symbol names to avoid confusing the demangler.
732 2002-06-25 H.J. Lu <hjl@gnu.org>
734 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
735 * Makefile.in: Regenerated.
737 2002-06-21 Igor Schein <igor@txc.com>
739 * configure.in: Quote bu_cv_have_fopen64.
740 * configure: Regenerate.
742 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
744 * configure.in: Check for strcoll.
745 * configure: Regenerate.
746 * config.in: Regenerate.
747 * nm.c (main): Set locale for LC_COLLATE category.
748 (non_numeric_forward): Use strcoll if available.
750 2002-06-20 Dave Brolley <brolley@redhat.com>
752 * MAINTAINERS: Add self as fr30 and frv maintainer.
754 2002-06-18 H.J. Lu (hjl@gnu.org)
756 * nm.c: Include "elf/common.h".
757 (extended_symbol_info): Add elfinfo, a pointer to
759 (SYM_SIZE): Use elfinfo if it is not NULL.
760 (get_symbol_type): New function.
761 (display_archive): Set print_width for each archive member.
762 (display_file): Likewise.
763 (display_rel_file): Don't set print_width here.
764 (print_object_filename_sysv): Handle print_width.
765 (print_archive_member_sysv): Likewise.
766 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
767 (print_symbol): Set the elfinfo field in extended_symbol_info
769 (print_object_filename_sysv): Fix the output format.
770 (print_symbol_info_sysv): Print type and section for ELF.
772 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
774 * nm.c (print_size_symbols): Remove assignment, which makes
775 the symbol's size equal to its value when --size-sort is
778 2002-06-18 Dave Brolley <brolley@redhat.com>
780 From Catherine Moore:
781 * readelf.c (elf/frv.h): #include it.
782 (guess_is_rela): Support EM_CYGNUS_FRV.
783 (dump_relocations): Ditto.
784 (get_machine_name): Ditto.
785 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
787 2002-06-18 Jakub Jelinek <jakub@redhat.com>
789 * readelf.c (get_file_header): Only read the first section header if
792 2002-06-15 H.J. Lu (hjl@gnu.org)
794 * nm.c (print_size): New variable. Initialize to 0.
795 (long_options): Add 'S'/"print-size".
797 (print_symbol_info_bsd): Print size only if print_size is not
800 * doc/binutils.texi: Document -S/--print-size.
802 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
804 * nm.c (struct extended_symbol_info): New strcuture: Add the size
805 of the symbols to the information provided by the symbol_info
807 (print_symbols): Pass the symbol size to print_symbol.
808 (print_size_symbols): Pass the symbol size to print_symbol.
809 (print_symbol): Extra argument: The size of the symbol. Store
810 this in the extended_symbol_info structure.
811 (print_symbol_info): Change type of info parameter to
812 extended_symbol_info. Display the size, if known.
813 (print_symbol_info_posix): Likewise.
814 (print_symbol_info_sysv): Likewise.
816 2002-06-08 Alan Modra <amodra@bigpond.net.au>
818 * Makefile.am: Run "make dep-am".
819 * Makefile.in: Regenerate.
820 * doc/Makefile.in: Regnerate.
822 * bucomm.c: Replace CONST with const.
824 * objdump.c: Likewise.
826 2002-06-07 H.J. Lu <hjl@gnu.org>
828 * readelf.c (DW_CFA_GNU_args_size): Don't define.
829 (DW_CFA_GNU_negative_offset_extended): Likewise.
830 (DW_CFA_GNU_window_save): Likewise.
831 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
832 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
834 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
836 * nm.c: When computing size of symbols for an ELF target use the
839 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
841 * testsuite/binutils-all/objcopy.exp: clear xfail for
843 * testsuite/binutils-all/hppa/objdump.exp: Return if
846 2002-06-05 Alan Modra <amodra@bigpond.net.au>
848 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
850 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
852 * objdump.c: Fix formatting.
854 2002-05-29 Ben Elliston <bje@redhat.com>
856 * MAINTAINERS: Add self as M68k maintainer.
858 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
860 * readelf.c: Modified/Added DLX elf support.
862 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
864 * arsup.c: Fix formatting.
865 * debug.c (debug_record_label): Add missing colon to error
867 * ieee.c (parse_ieee_ty): Fix spelling typo.
868 * readelf.c (process_program_headers): Remove English assumption
869 about making a plural word.
870 (process_section_headers): Likewise.
871 (process_relocs): Allow quotes to be translated.
872 (process_unwind): Likewise,
873 (process_mips_specific): Improve error message.
874 (get_note_type): Fix spelling typo.
876 * configure.in (ALL_LINGUAS): Add sv
877 * po/sv.po: New file.
879 2002-05-27 Alan Modra <amodra@bigpond.net.au>
881 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
882 (unw_print_grmask): Likewise.
883 (unw_print_frmask): Likewise.
885 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
887 * arsup.c: Remove ARGSUSED.
890 * nlmconv.c: Likewise.
893 * wrstabs.c: Likewise.
895 2002-05-25 Alan Modra <amodra@bigpond.net.au>
897 * arlex.l: Use #include "" instead of <> for local header files.
898 * coffdump.c: Likewise.
899 * coffgrok.c: Likewise.
900 * nlmconv.c: Likewise.
901 * nlmheader.y: Likewise.
902 * srconv.c: Likewise.
903 * strings.c: Likewise.
904 * sysdump.c: Likewise.
905 * unwind-ia64.h: Likewise.
906 * windres.h: Likewise.
907 * winduni.h: Likewise.
909 2002-05-24 Tom Rix <trix@redhat.com>
911 * MAINTAINERS: Add self as the d10v maintainer.
913 2002-05-24 TAMURA Kent <kent@netbsd.org>
915 * configure.in: Builds dlltool for i386-netbsdpe.
916 * configure: Regenerate.
918 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
920 * size.c: Fix formatting.
921 * srconv.c: Likewise.
923 * sysdump.c: Likewise.
924 * unwind-ia64.c: Likewise.
925 * wrstabs.c: Likewise.
927 2002-05-23 Jakub Jelinek <jakub@redhat.com>
929 * readelf.c (get_segment_type): Add PT_TLS.
930 (get_elf_section_flags): Add SHF_TLS.
931 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
932 (process_dynamic_segment): Use puts instead of printf.
933 (get_symbol_type): Support STT_TLS.
934 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
935 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
936 Add SEC_THREAD_LOCAL.
938 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
940 * rdcoff.c: Fix formatting.
942 * readelf.c: Likewise.
943 * rename.c: Likewise.
944 * resbin.c: Likewise.
946 * resres.c: Likewise.
948 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
950 * filemode.c: Fix formatting.
952 * is-ranlib.c: Likewise.
953 * is-strip.c: Likewise.
954 * maybe-ranlib.c: Likewise.
955 * maybe-strip.c: Likewise.
956 * nlmconv.c: Likewise.
958 * not-ranlib.c: Likewise.
959 * not-strip.c: Likewise.
960 * objcopy.c: Likewise.
961 * objdump.c: Likewise.
963 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
965 * objdump.c (dump_headers): Fix output formatting for ELF32
966 architectures in a BFD64 enabled toolchain.
968 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
970 * debug.c: Fix formatting.
972 * dlltool.c: Likewise.
973 * dllwrap.c: Likewise.
974 * emul_aix.c: Likewise.
975 * emul_vanilla.c: Likewise.
977 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
979 * addr2line.c: Fix formatting.
983 * binemul.c: Likewise.
984 * binemul.h: Likewise.
985 * bucomm.c: Likewise.
986 * coffdump.c: Likewise.
987 * coffgrok.c: Likewise.
988 * coffgrok.h: Likewise.
990 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
992 * MAINTAINERS: Add myself as the second AVR port maintainer.
994 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
996 * MAINTAINERS: Update my email address.
998 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1000 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1002 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1004 * configure.in: Replace `*pe' with `pe' throughout.
1005 * configure: Regenerate.
1007 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1009 * Makefile.am: Honour DESTDIR.
1010 * Makefile.in: Regenerate.
1012 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1014 * dlltool.c (process_def_file): Add missing prototype.
1015 (new_directive, assemble_file, main): Likewise.
1016 (process_def_file, new_directive): Make static.
1017 (inform): Rewrite using VA_FIXEDARG.
1018 * dllwrap.c (mybasename): Add missing prototype.
1019 (strhash, main): Likewise.
1020 (inform): Rewrite using VA_FIXEDARG.
1022 (cleanup_and_exit): Use old style function definition.
1023 (strhash): Likewise.
1024 * windres.c (define_resource): Use one memset to clear all of
1025 struct res_resource.
1027 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1028 call to rules that need no lookahead. Check for no lookahead.
1030 2002-05-06 Borut Razem <borut.razem@siol.net>
1032 * rclex.l (get_string): Correct "strings" list handling.
1033 * resrc.c (read_rc_file): Discard strings.
1035 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1037 * ar.c (replace_members): Remove unused var. Formatting fix.
1038 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1040 * MAINTAINERS: Sort port maintainers by CPU.
1042 2002-05-04 Bob Byrnes <byrnes@curl.com>
1044 * size.c (display_archive): Add last_arfile and code to close archives.
1046 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1048 * nm.c (print_symbol): Check returned filename from
1049 bfd_find_nearest_line is non-NULL.
1051 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1053 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1055 2002-04-24 Christian Groessler <chris@groessler.org>
1057 * MAINTAINERS: Changed my email address.
1059 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1061 * arparse.y: Fix syntax warning.
1063 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1065 * readelf.c (fetch_location_list): Remove unused function.
1067 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1068 and display a warning message, then exit the loop.
1070 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1072 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1074 * resrc.c (write_rc_dialog): If charset is non-default value
1075 display all of the DIALOGEX parameters.
1077 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1079 * rcparse.y: Allow two to five parameter in FONT statement of
1081 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1083 (res_to_bin_dialog): Likewise.
1084 * windres.h: Added misssing charset variable to dialog_ex
1087 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1089 * rcparse.y: Set MEMFLAG_PURE by default.
1091 2002-04-09 Bernd Herd <info@herdsoft.com>
1093 * rcparse.y: CLASS definitions in DIALOG resources
1095 Fix typo in BEDIT warning.
1096 Don't add default dialog style when explicit style specified.
1097 Add WS_CAPTION dialog style if CAPTION is specified.
1099 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1100 (handle_quotes) "\a" escape (used for right justified key
1101 definitions in menus) is encodes as binary 8.
1103 * resrc.c (write_rc_dialog): Print style even if it is 0.
1104 (write_rc_directory): Fix overlooked sublang shift bug.
1105 (bin_to_res_dialog): Don't print empty dialog caption.
1107 * resbin.c (bin_to_res_dialog): Use signature to identify
1110 * windres.c (main): Set default LANGUAGE to english/us.
1112 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1114 * resrc.c: print CLASS names in quotes
1116 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1118 * MAINTAINERS: Update my email address.
1120 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1122 * dep-in.sed: Cope with absolute paths.
1123 * Makefile.am (dep.sed): Subst TOPDIR.
1125 * Makefile.in: Regenerate.
1127 2002-03-27 Peter Targett <peter.targett@arc.com>
1129 * MAINTAINERS: Update my email address.
1131 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1133 * Makefile.am: Run "make dep-am".
1134 * Makefile.in: Regenerate.
1135 * doc/Makefile.in: Regenerate.
1136 * po/POTFILES.in: Regenerate.
1137 * aclocal.m4: Regenerate.
1138 * config.in: Regenerate.
1139 * configure: Regenerate.
1141 2002-03-20 Daniel Berlin <dan@dberlin.org>
1143 * readelf.c: Add support for displaying dwarf2 location lists.
1144 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1145 (parse_args): Use 'O' as shorthand for displaying location list
1147 (process_section_headers): Handle debug_loc as well.
1148 (load_debug_loc): New.
1149 (free_debug_loc): New.
1150 (fetch_location_list): New.
1151 (display_debug_loc): New.
1152 (display_debug_info): Call load_debug_loc and free_debug_loc.
1153 (debug_displays): We can display .debug_loc now, too.
1154 (usage): Update usage string.
1155 (read_and_display_attr_value): Note location lists, but don't
1156 display them inline.
1158 2002-03-18 Tom Rix <trix@redhat.com>
1160 * Makefile.am: Add binutils emulation support.
1161 * configure.in: Same.
1162 * configure.tgt: New file. Same.
1163 * ar.c (main): Use ar_emul_parse_arg.
1164 (usage): Use ar_emul_usage.
1165 (replace_members): Use ar_emul_replace, ar_emul_append.
1166 * binemul.c: New file. Define the binutils emulation
1167 layer. Define default methods.
1168 * binemul.h: New file. Binutils emulation layer header file.
1169 * emul_aix.c: New file. AIX binutils emulation.
1170 * emul_vanilla.c: New file. Default binutils emulation.
1171 * Makefile.in: Regenerate.
1174 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1176 * po/fr.po: Updated version.
1178 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1180 * po/fr.po: Updated version.
1182 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1184 * README: Update some version numbers.
1186 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1188 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1189 (Architecture Selection): Likewise.
1191 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1193 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1194 generating .exp file.
1196 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1198 * readelf.c (dump_relocations): Fix typo.
1200 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1202 * NEWS: Mark 2.12 branch.
1204 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1206 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1207 types for 64-bit MIPS. Narrow some fields for 80-char
1209 (dump_relocations): Change spelling from 'unrecognised'
1211 (decode_ARM_machine_flags): Likewise.
1212 (parse_args): Likewise.
1213 (read_and_display_attr_value): Likewise.
1214 (display_debug_section): Likewise.
1216 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1218 * NEWS: Mention support for MMIX.
1220 2002-02-13 Matt Fredette <fredette@netbsd.org>
1222 * readelf.c (get_machine_flags): Recognize EF_M68000.
1224 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1226 * MAINTAINERS: Added self as MN10300 co-maintainer.
1228 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1230 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1233 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1235 * MAINTAINERS: List myself as branch maintainer.
1237 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1239 * configure: Regenerate.
1240 * objcopy.c: Update copyright date.
1241 * doc/Makefile.in: Regenerate.
1243 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1245 * nlmconv.c: Back out localtime PARAMS change.
1247 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1249 * objcopy.c (MKDIR): Define.
1250 (copy_archive): Make name_list.name const. Use MKDIR.
1251 Handle duplicate files in archives by making more temp dirs.
1253 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1255 * coffdump.c: Include "getopt.h" after "bucomm.h"
1256 so that macros are defined correctly.
1257 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1258 prototype. Prototype main.
1259 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1261 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1263 * MAINTAINERS: Added self as SH co-maintainer.
1265 2002-02-05 Nick Clifton <nickc@redhat.com>
1267 * po/tr.po: Updated translation.
1269 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1271 * Makefile.am: Run "make dep-am"
1272 * Makefile.in: Regenerate.
1274 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1276 * nm.c (print_value): Mark abfd unused.
1278 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1280 * unwind-ia64.c (unw_decoder): Change second argument
1281 to unsigned int, to match function prototypes.
1283 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1285 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1286 __GNU_LIBRARY__ will be defined.
1289 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1291 * configure: Regenerated.
1293 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1295 * doc/Makefile.am (install): Depend on install-info.
1296 * doc/Makefile.in: Regenerate.
1298 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1300 * objcopy.c (strip_usage): Document -d as an alias
1303 * size.c (usage): Document [-t | --totals] options.
1304 (long_options): Add --totals option.
1305 (main): If the [-t | --totals] option is specified and
1306 the output format is Berkeley-style, print the total
1307 text, data, and bss sizes of all objects listed.
1308 (print_berkeley_format): If the [-t | --totals] option
1309 is specified, track the total text, data, and bss
1311 * doc/binutils.texi (size): Document [-t | --totals] options.
1312 (strip): Document -d as an alias for --strip-debug.
1313 * NEWS: Mention new feature of size.
1315 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1317 * po/fr.po: Updated version.
1318 * po/es.po: Updated version.
1320 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1322 * addr2line.c (usage): Update text to provide verbose
1323 description of the command line options.
1324 * ar.c (usage): Update text to provide verbose
1325 description of the command line options.
1326 (main): Accept -h and -H when running as ranlib.
1327 * coffdump.c (show_usage): Update text to provide verbose
1328 description of the command line options.
1329 * dlltool.c (main): Accept -H as an alias for --help.
1330 * nlmconv.c (show_usage): Update text to provide verbose
1331 description of the command line options.
1332 * nm.c (usage): Replace OPTIONS with option(s).
1333 (main): Accept -H as an alias for --help.
1334 * objcopy.c (strip_main): Accept -H as an alias for --help.
1335 * objdump.c (main): Accept -v as an alias for --verbose.
1336 * readelf.c (usage): Adjust format to match style used in
1338 * size.c (usage): Update text to provide verbose description
1339 of the command line options.
1340 (main): Accept -v, -h and -H as command line options.
1341 * srconv.c (show_usage): Update text to provide verbose
1342 description of the command line options.
1343 * strings.c (main): Accept -H and -v as command line options.
1344 (usage): Update text to provide verbose description of the
1345 command line options.
1346 * sysdump.c (show_usage): Update text to provide verbose
1347 description of the command line options.
1348 * windres.c (usage): Adjust format to match style used in
1351 * coffdump.c: Fix formatting.
1352 * nlmconv.c: Fix formatting.
1353 * srconv.c: Fix formatting.
1354 * sysdump.c: Fix formatting.
1356 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1358 * Makefile.am: Run "make dep-am".
1359 * Makefile.in: Regenerate.
1361 2002-01-18 Andreas Jaeger <aj@suse.de>
1363 * version.c (print_version): Update year.
1365 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1367 * readelf.c (get_machine_name): Handle EM_PPC64.
1368 (guess_is_rela): Here too.
1370 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1372 * po/binutils.pot: Regenerate.
1373 * po/fr.po: Regenerate.
1374 * po/tr.po: Regenerate.
1376 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1378 * po/tr.po: Import new version.
1380 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1382 * readelf.c (get_ppc64_dynamic_type): New.
1383 (get_dynamic_type): Call it.
1385 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1387 * objcopy.c (copy_usage): Use "options" instead of "switches".
1388 (strip_usage): Use "options" instead of "switches".
1389 * doc/binutils.texi (dlltool): Refer to "options" instead of
1392 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1394 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1396 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1398 * po/es.po: Import from translation project.
1399 * configure.in (ALL_LINGUAS): Add es.
1400 * configure: Regenerate.
1402 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1404 * readelf.c (get_netbsd_elfcore_note_type): Use
1405 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1407 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1409 * readelf.c: Update copyright years.
1410 (get_note_type): Return a const char *.
1411 (get_netbsd_elfcore_note_type): New function.
1412 (process_note): Use get_netbsd_elfcore_note_type to get
1413 the note type string for NetBSD ELF core files.
1415 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1417 * readelf.c (get_ia64_segment_type): Add support for macros.
1418 (get_segment_type): Add support for IA64 specific macros.
1420 2001-12-20 Julian v. Bock <julian@wongr.net>
1422 * readelf.c (print_symbol): New function: Print a formatted symbol
1423 name. If --wide is specified do not truncate it.
1424 (dump_relocations): Use print_symbol() to print symbol names.
1425 (process_symbol_table): Likewise.
1426 (process_syminfo): Likewise.
1427 (process_mips_specific): Likewise.
1428 (usage): Document new feature of --wide switch.
1429 * doc/binutils.texi (objdump): Document additional behaviour of
1432 2001-12-18 Michael Snyder <msnyder@redhat.com>
1434 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1435 (copy_object): Don't set the start address or flags of a core file.
1436 (copy_section): Don't relocate a core file. Don't copy contents
1437 if the input section has the contents flag set, but the output
1438 section does not (which happens with the fake 'note' pseudo-
1439 sections that BFD creates for corefiles).
1441 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1443 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1444 ASE extensions. More robust code for ISA checking. Ignore empty fields
1445 in header flags for GNU extensions.
1447 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1449 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1451 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1453 * po/ja.po: Import from translation project.
1454 * configure.in (ALL_LINGUAS): Add ja.
1455 * configure: Regenerate.
1457 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1459 * addr2line.c (main): Protoype.
1460 * ar.c (main): Protoype.
1461 * nm.c (main): Protoype.
1462 * objcopy.c (main): Protoype.
1463 * objdump.c (main): Protoype.
1464 * size.c (main): Protoype.
1465 * strings.c (main): Protoype.
1467 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1469 * readelf.c (symtab_shndx_hdr): New global.
1470 (SECTION_HEADER_INDEX): Define.
1471 (SECTION_HEADER_NUM): Define.
1472 (SECTION_HEADER): Define.
1473 (GET_ELF_SYMBOLS): Pass two params rather than three.
1474 (get_32bit_elf_symbols): Take file and section args. Read and
1475 use SHT_SYMTAB_SHNDX.
1476 (get_64bit_elf_symbols): Likewise.
1477 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1478 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1479 Remember symtab_shdx_hdr.
1480 (process_program_headers): Scan from index 1 for segment map.
1481 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1483 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1484 (process_unwind): Likewise.
1485 (process_version_sections): Likewise.
1486 (process_symbol_table): Likewise.
1487 (display_debug_info): Likewise.
1488 (process_dynamic_segment): Fake up a symtab section for changed
1490 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1491 (process_program_headers): Kill signed/unsigned warning.
1492 (load_debug_str): Likewise.
1493 (display_debug_info): Likewise.
1495 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1497 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1499 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1501 * readelf.c (process_file_header): Print extended e_shnum and
1502 e_shdtrndx values. Set elf_header values for same.
1503 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1504 (get_64bit_section_headers): Likewise.
1505 (process_section_headers): Update calls.
1506 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1508 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1510 * objcopy.c (setup_section): Copy entsize.
1512 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1514 * readelf.c (guess_is_rela): Add support for stormy16.
1515 (dump_relocations): Likewise.
1516 (get_machine_name): Likewise.
1518 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1520 * dllwrap.c (main) Replace multiple strings describing a
1521 single error with a single, newline escaped sentence to permit
1522 better translation into foreign languages.
1524 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1527 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1529 * strings.c (get_char): Initialize value.
1531 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1533 * arlex.l: Silence compile warnings.
1534 * arsup.h: Likewise. Fix formatting.
1536 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1538 * strings.c: Include config.h before bfd.h.
1539 (file_off): New type.
1540 (file_open): Define.
1541 (print_strings): Use file_off instead of file_ptr. Print addresses
1542 which don't fit into long correctly.
1543 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1545 (strings_file): Use file_off instead of file_ptr. Use file_open.
1546 * configure.in: Check for getc_unlocked.
1547 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1549 * configure: Rebuilt.
1550 * config.h.in: Rebuilt.
1552 2001-11-29 H.J. Lu <hjl@gnu.org>
1554 * bucomm.c (make_tempname): Revert the changes made on
1555 2001-11-14 and 2001-11-12. They won't work with directories.
1557 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1559 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1560 CFLAGS_FOR_TARGET to runtest in environment.
1561 * Makefile.in: Rebuild.
1562 * doc/Makefile.in: Rebuild.
1564 2001-11-28 Mike Stump <mrs@wrs.com>
1566 * objcopy.c (setup_section): Preserve SEC_RELOC when
1567 --set-section-flags is used.
1569 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1571 * readelf.c (do_debug_str): New variable.
1572 (display_debug_str): New function: Display the contents of a
1574 (load_debug_str): New function: Load in the contents of a
1576 (free_debug_str): New function: Free the memory used by
1578 (fetch_indirect_string): Retrieve a string from the .debug_str
1581 (parse_args): Accept -ws.
1582 (process_section_headers): Allow the display of the .debug_str
1584 (read_and_display_attr_value): Use fetch_indirect_string. Show
1585 offset into .debug_str section.
1586 (display_debug_info): Use load_debug_str and free_debug_str.
1587 (debug_displays): Add .debug_str.
1588 * doc/binutils.texi: Document -ws.
1590 2001-11-19 Andreas Jaeger <aj@suse.de>
1592 * testsuite/binutils-all/objdump.exp: Add x86-64.
1594 2001-11-15 Andreas Schwab <schwab@suse.de>
1596 * readelf.c: Fix warnings without terminating newline.
1598 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1600 * doc/binutils.texi (objdump): Document ppc -M options.
1602 2001-11-14 Andreas Jaeger <aj@suse.de>
1604 * doc/binutils.texi (objdump): Fix description to use x86-64.
1606 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1608 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1609 not all systems provide mkstemp.
1611 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1613 * doc/binutils.texi (objdump): Document x86 -M options.
1615 2001-11-13 Keith Walker <keith.walker@arm.com>
1617 * readelf.c (read_and_display_attr_value): New function to
1618 handle DW_FORM_indirect.
1619 (read_and_display_attr): Use it.
1621 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1623 * readelf.c (display_debug_lines): Deal with unknown standard
1624 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1627 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1629 * MAINTAINERS: Add self as tic54x maintainer. This target
1630 includes the IBM C54XDSP clone.
1632 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1634 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1636 2001-11-09 Jeffrey A Law (law@cygnus.com)
1638 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1639 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1640 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1641 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1642 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1643 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1644 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1646 * readelf.c (get_elf_class): Fix ISO portability glitch.
1647 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1649 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1651 * readelf.c (debug_str, debug_str_size): New.
1652 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1654 (read_and_display_addr): Handle DW_FORM_strp.
1655 (display_debug_info): Read .debug_str section if present,
1656 so that DW_FORM_strp can be handled.
1657 Fix test for non-existant .debug_abbrev section.
1659 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1661 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1663 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1665 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1667 * MAINTAINERS: Add self as s390/s390x maintainer.
1669 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1671 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1673 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1675 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1676 * configure: Regernate.
1677 * po/fr.po: New file.
1678 * po/tr.po: New file.
1680 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1682 * MAINTAINERS: Add self as MMIX port maintainer.
1683 * readelf.c: Include elf/mmix.h.
1684 (guess_is_rela): MMIX is RELA.
1685 (dump_relocations): Handle MMIX relocations.
1686 * Makefile.am: Regenerate dependencies.
1687 * Makefile.in: Regenerate.
1689 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1691 * readelf.c (parse_args): Handle multiple options to the -w
1694 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1696 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1697 LOPROC, LOOS and LOUSER.
1699 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1701 * MAINTAINERS: Update my email address.
1703 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1705 * doc/Makefile.in: Regenerate.
1706 * configure: Regenerate.
1708 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1710 * readelf.c (display_debug_line, display_debug_pubnames,
1711 display_debug_info, display_debug_frames): Detect and warn
1712 about 64-bit format entries.
1713 (display_debug_aranges): Reword 64-bit warning.
1714 (debug_displays): Add .debug_pubtypes as a known, but not yet
1715 supported, debug section.
1717 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1719 * coffdump.c (PROGRAM_VERSION): Delete.
1720 (main <'V'>): Call print_version.
1721 * srconv.c: Likewise.
1722 * sysdump.c: Likewise.
1723 * version.c (program_version): Remove.
1724 (print_version): Use BFD_VERSION_STRING. Just print the current
1725 year in copyright message.
1726 * addr2line.c (program_version): Remove unused declaration.
1727 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1728 place of BFD_VERSION.
1729 * Makefile.am (Makefile): Depend on bfd/configure.in.
1730 (cplus-dem.o): Depend on Makefile.
1732 * Makefile.in: Regenerate.
1734 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1736 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1737 format .debug_arange sections.
1738 (main): Add missing prototype.
1740 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1742 * Makefile.am: Update dependencies with "make dep-am".
1743 * Makefile.in: Regenerate.
1745 2001-09-28 Richard Henderson <rth@redhat.com>
1747 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1749 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1751 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1753 (non_fatal): Likewise.
1754 * objdump.c (objdump_sprintf): Likewise.
1755 * readelf.c (error): Likewise.
1758 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1760 * readelf.c (do_wide): New.
1761 (options): Add --wide.
1762 (usage, parse_args): Likewise.
1763 (process_program_headers): Put each segment on a single line if
1765 (process_section_headers): Put each section on a single line if
1767 * doc/binutils.texi: Document it.
1770 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1772 * readelf.c (print_vma): Print 8 digits of low hex value.
1774 2001-09-24 Andreas Jaeger <aj@suse.de>
1776 * nlmconv.c: Fix warnings about unused attributes and function
1779 * strings.c: Add prototype for get_char.
1781 2000-09-19 H.J. Lu <hjl@gnu.org>
1783 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1784 $(srcdir)/cxxfilt.man.
1785 * doc/Makefile.in: Rebuild.
1787 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1789 * objcopy.c (copy_main): Correct rename-section string parsing.
1790 Consolidate new_name parsing, and error messages.
1792 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1794 * addr2line.c: Don't include <ctype.h>.
1795 (main): For gettext, also set the LC_CTYPE locate facet.
1796 * ar.c (main): Likewise.
1797 * coffdump.c (main): Likewise.
1798 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1799 (main): For gettext, also set the LC_CTYPE locate facet.
1800 Use ISALNUM instead of isalpha/isdigit.
1801 * dllwrap.c: Don't include <ctype.h>.
1802 (main): For gettext, also set the LC_CTYPE locate facet.
1803 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1804 (main): For gettext, also set the LC_CTYPE locate facet.
1805 Use TOUPPER instead of islower/toupper.
1806 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1807 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1808 Use TOUPPER instead of islower/toupper.
1809 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1810 * objcopy.c (main): Likewise.
1811 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1812 (disassemble_bytes): Use ISPRINT instead of isprint.
1813 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1814 (dump_data): Use ISPRINT instead of isprint.
1815 (main): For gettext, also set the LC_CTYPE locate facet.
1816 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1817 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1818 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1819 Use TOUPPER instead of islower/toupper.
1820 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1821 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1822 (write_rc_accelerators): Use ISPRINT instead of isprint.
1823 (write_rc_rcdata): Likewise.
1824 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1825 * srconv.c (main): Likewise.
1826 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1827 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1828 isdigit/isupper/islower.
1829 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1830 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1831 stab_demangle_prefix, stab_demangle_qualified,
1832 stab_demangle_template, stab_demangle_type,
1833 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1834 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1835 (isgraphic): Use ISPRINT instead of isascii/isprint.
1836 (main): Remove HAVE_LC_MESSAGES dependency.
1837 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1838 (pbarray): Use ISPRINT instead of isprint.
1839 (main): For gettext, also set the LC_CTYPE locate facet.
1840 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1841 (format_from_filename): Use ISPRINT instead of isprint.
1842 (main): For gettext, also set the LC_CTYPE locate facet.
1843 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1844 (unicode_print): Use ISPRINT instead of isprint.
1845 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1846 (stab_variable): Use ISDIGIT instead of isdigit.
1848 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1850 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1851 Replace bfd_read call with call to bfd_bread.
1852 (extract_file): Likewise.
1854 * objdump.c (dump_section_header): Cast section->filepos to
1855 unsigned long to suit printf format string.
1856 * readelf.c (process_section_headers): Similarly for sh_offset.
1857 (process_unwind): Likewise.
1859 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1861 * strings.c (encoding, encoding_bytes): New variables.
1862 (long_options): Add --encoding.
1863 (main): Accept -e and --encoding.
1864 (get_char): New function. Read a, possibly wide, character from
1866 (print_strings): Use get_char().
1867 (usage): Document new command line option.
1868 * doc/binutils.texi: Document new command line option.
1869 * NEWS: Announce new command line option.
1871 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1873 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1874 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1875 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1876 Removed EM_CYGNUS_ARC.
1878 2001-09-04 Jeffrey A Law (law@cygnus.com)
1880 * readelf.c: Include elf/h8 for H8 series definitions.
1881 (guess_is_rela): H8 series if RELA.
1882 (dump_relocations): Handle H8 series relocations.
1884 2001-08-31 Eric Christopher <echristo@redhat.com>
1886 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1888 2001-08-29 Peter Targett <peter.targett@arccores.com>
1890 * MAINTAINERS: Include ARC Maintainer.
1892 2001-08-29 Ben Elliston <bje@redhat.com>
1894 * stabs.c (stab_demangle_template): Initialise s4.
1896 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1898 * readelf.c (dump_relocations): Recognise EM_PPC64.
1900 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1902 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1904 2001-08-25 H.J. Lu <hjl@gnu.org>
1906 * nm.c (print_width): New.
1907 (display_rel_file): Set `print_width' according to
1909 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1911 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1913 * objcopy.c (use_alt_mach_code): New variable.
1914 (OPTION_ALT_MACH_CODE): Define.
1915 (copy_options): Added --alt-machine-code.
1916 (copy_main): Handle it.
1917 (copy_object): Switch to alternate machine code if requested.
1918 * doc/binutils.texi: Document new option.
1921 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1923 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1925 2001-08-21 H.J. Lu <hjl@gnu.org>
1927 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1928 (display_debug_info): Cast for 64bit hosts.
1929 (display_debug_frames): Likewise.
1930 (process_mips_specific): Likewise.
1932 2001-08-21 Andreas Jaeger <aj@suse.de>
1934 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1936 * sysdump.c: Add missing prototypes.
1937 * srconv.c: Likewise.
1938 * unwind-ia64.c: Likewise.
1939 * coffdump.c: Likewise.
1941 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1943 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1944 of declaring xcalloc.
1946 2001-08-10 H.J. Lu <hjl@gnu.org>
1948 * nm.c (print_value): Add one arg, bfd *.
1949 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1950 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1951 (print_symbol_info_sysv): Likewise.
1952 (print_symbol_info_posix): Likewise.
1954 * objdump.c (dump_section_header): Replace printf_vma with
1956 (print_section_stabs): Likewise.
1957 (dump_bfd_header): Likewise.
1958 (objdump_print_value): Replace sprintf_vma with
1960 (disassemble_bytes): Likewise.
1961 (dump_reloc_set): Likewise.
1963 2001-08-10 Andreas Jaeger <aj@suse.de>
1965 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1967 * configure: Regenerate.
1969 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1971 * readelf.c: Add missing prototypes.
1972 * objdump.c: Likewise. Format existing prototypes.
1974 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1976 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1977 of any RELA relocation for the abbrev_offset memory location that
1978 refers to the .debug_abbrev section symbol.
1980 2001-08-07 H.J. Lu <hjl@gnu.org>
1982 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1983 (main): Return process_file ().
1985 2001-08-05 Philip Blundell <philb@gnu.org>
1987 * doc/binutils.texi: Use "Thumb" not "THUMB".
1989 2001-08-03 John Healy <jhealy@redhat.com>
1991 Patch suggested by Frank Eigler <fche@redhat.com>.
1992 * objdump.c (disassemble_data): Fill in section member of the
1993 disasm_info structure.
1995 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1997 * configure.in: Added --with-windres option.
1998 * configure: Regenerated.
2000 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2002 * doc/binutils.texi: Use @command{name} for commands;
2003 use @option{-opt} for options; use @table @env for list of options;
2004 remove spaces arround [ | ] in synopsis.
2006 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2009 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2011 * objcopy.c: Fix formatting.
2012 (section_rename): New structure.
2013 (OPTION_RENAME_SECTION): New switch.
2014 (copy_usage): Document new switch.
2015 (add_section_rename): New function: Add a node to the section
2017 (find_section_rename): New function: Find the new name and
2018 flags for a section.
2019 (setup_section): Call find_section_name to determine the name
2020 of the output section.
2021 (copy_main): Handle OPTION_RENAME_SECTION.
2022 * binutils.texi: Document new switch.
2023 * NEWS: Mention new switch.
2025 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2027 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2028 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2029 bug-binutils@gcc.org.
2031 2001-07-28 Matthias Kramm <kramm@quiss.org>
2033 * bucomm.c (list_supported_architectures): New function.
2034 * bucomm.h (list_supported_architectures): Declare.
2035 * objdump.c (usage): Call the above.
2037 2001-07-25 Dave Brolley <brolley@redhat.com>
2039 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2040 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2042 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2044 * README: Update for 2.11. Change bug reporting email address.
2045 * MAINTAINERS: Tidy up. Change bug reporting email address.
2047 2001-07-16 DJ Delorie <dj@redhat.com>
2049 * resres.c (write_res_header): Align header size.
2050 (res_align_file): Calculate alignment correctly.
2052 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2054 * resrc.c (write_rc_resource): Likewise.
2055 * windres.h (SUBLANG_SHIFT): Define - as 10.
2057 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2059 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2061 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2063 * MAINTAINERS: Add notes about branch checkins.
2065 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2067 * readelf.c (display_debug_macinfo): New function, display
2068 .debug_macinfo section.
2069 (do_debug_macinfo): New variable.
2070 (parse_args): Handle "-w[mM]" to mean display macro info.
2071 (process_section_headers): Handle debug_macinfo.
2072 (debug_displays): Replace unsupported function with macinfo
2073 function for .debug_macinfo display.
2074 * doc/binutils.texi: Document new command line switch.
2075 * NEWS: Document new feature of readelf.
2077 2001-07-05 H.J. Lu <hjl@gnu.org>
2079 * objcopy.c (filter_symbols): Don't turn undefined symbols
2082 2001-07-03 H.J. Lu <hjl@gnu.org>
2084 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2087 (dlltool.1): Likewise.
2088 (nlmconv.1): Likewise.
2090 (objcopy.1): Likewise.
2091 (objdump.1): Likewise.
2092 (ranlib.1): Likewise.
2093 (readelf.1): Likewise.
2095 (strings.1): Likewise.
2096 (strip.1): Likewise.
2097 (windres.1): Likewise.
2098 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2099 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2102 * doc/Makefile.in: Regenerated.
2104 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2106 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2108 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2110 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2112 2001-06-29 James Cownie <jcownie@etnus.com>
2114 * readelf.c: Support DWARF 2.1 attributes.
2116 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2118 * readelf.c (GET_DATA_ALLOC): Remove.
2120 (get_data): New function combining above macros, with an extra
2122 (slurp_rela_relocs): Use get_data, and catch error return.
2123 (slurp_rel_relocs): Likewise.
2124 (get_32bit_program_headers): Likewise.
2125 (get_64bit_program_headers): Likewise.
2126 (get_32bit_section_headers): Likewise.
2127 (get_64bit_section_headers): Likewise.
2128 (get_32bit_elf_symbols): Likewise.
2129 (get_64bit_elf_symbols): Likewise.
2130 (process_section_headers): Likewise.
2131 (process_relocs): Likewise.
2132 (slurp_ia64_unwind_table): Likewise.
2133 (process_unwind): Likewise.
2134 (get_32bit_dynamic_segment): Likewise.
2135 (get_64bit_dynamic_segment): Likewise.
2136 (process_dynamic_segment): Likewise.
2137 (process_version_sections): Likewise.
2138 (process_symbol_table): Likewise.
2139 (dump_section): Likewise.
2140 (display_debug_info): Likewise.
2141 (display_debug_section): Likewise.
2142 (process_section_contents): Likewise.
2143 (process_corefile_note_segment): Likewise.
2144 (process_mips_specific): Likewise. Also free econf32, econf64.
2146 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2148 * readelf.c (dump_relocations): Print "bad symbol index" if
2149 symtab == NULL with non-zero symtab_index.
2150 (process_relocs): Don't bomb if reloc section has no symsec.
2152 2001-06-24 H.J. Lu <hjl@gnu.org>
2154 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2156 (copy_main): Apply the the change made to strip_main on
2157 2001-05-30 by accident.
2159 2001-06-23 Andreas Jaeger <aj@suse.de>
2161 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2163 (unw_decode_x2): Likewise.
2164 (unw_decode_x3): Likewise.
2165 (unw_decode_x4): Likewise.
2167 2001-06-23 Ben Elliston <bje@redhat.com>
2169 * MAINTAINERS: Add myself as M88k maintainer.
2171 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2173 * objcopy.c (strip_main): Support -o or --output-file command lien
2176 2001-06-19 H.J. Lu <hjl@gnu.org>
2178 * doc/Makefile.in: Regenerated.
2180 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2182 * readelf.c: Restore formatting.
2184 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2186 * Makefile.am: Move documentation into doc subdirectory.
2187 * Makefile.in: Regenerated.
2188 * binutils.texi: Move into doc subdirectory.
2189 * addr2line.1: Removed.
2191 * dlltool.1: Likewise.
2192 * nlmconv.1: Likewise.
2194 * objcopy.1: Likewise.
2195 * objdump.1: Likewise.
2196 * ranlib.1: Likewise.
2197 * readelf.1: Likewise.
2199 * strings.1: Likewise.
2200 * strip.1: Likewise.
2201 * windres.1: Likewise.
2202 * cxxfilt.man: Likewise.
2203 * doc: New Directory.
2204 * doc/Makefile.am: New file.
2205 * doc/Makefile.in: Generate.
2207 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2209 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2211 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2213 * MAINTAINERS: Update my email address.
2215 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2217 * objcopy.c: Add new switches: --keep-global-symbol,
2218 --keep-symbols, --localize-symbols, --keep-global-symbols and
2220 * binutils.texi: Document new switches.
2221 * objcopy.1: Regenerate.
2222 * NEWS: Announce new feature.
2224 2001-05-28 Andreas Jaeger <aj@suse.de>
2226 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2227 variables, fix format strings.
2229 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2231 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2232 when computing the address of the line to show.
2234 2001-05-16 Richard Henderson <rth@redhat.com>
2236 * readelf.c (do_debug_frames_interp): New.
2237 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2238 (byte_get_big_endian): Likewise.
2239 (parse_args) ['F']: Set do_debug_frames_interp.
2240 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2241 (frame_display_row): Don't trunc pc_begin to int.
2242 (size_of_encoded_value): New.
2243 (display_debug_frames): Handle 64-bit targets. Print raw data
2244 unless do_debug_frames_interp.
2245 (debug_displays): Remove duplicate .debug_frame.
2247 2001-05-15 Ralf Baechle <ralf@gnu.org>
2249 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2250 The former constant was never in active use and is used otherwise
2253 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2255 * readelf.c (process_unwind): Print all unwind sections, not just
2258 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2260 * readelf.c (process_unwind): Remove const specifier.
2262 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2264 * strings.c (isgraphic): Do not use isascii() unless it is needed
2265 for isprint() to work.
2266 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2268 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2270 * NEWS: Announce support for OpenRISC.
2272 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2274 * dlltool.c (do_default_excludes): Initialise to true.
2276 2001-04-10 Alan Modra <amodra@one.net.au>
2278 * MAINTAINERS: Update my email address
2279 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2281 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2283 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2285 2001-03-30 H.J. Lu <hjl@gnu.org>
2287 * readelf.c (process_unwind): Just return if do_unwind is 0.
2289 2001-03-28 Roger Sayle <roger@metaphorics.com>
2291 * dlltool.c (make_one_lib_file): Fix section flags for
2292 .text, .data and .bss in stub ds*.o files to match those
2295 2001-03-29 H.J. Lu <hjl@gnu.org>
2297 * readelf.c (process_unwind): Only do unwind sections for
2300 2001-03-28 H.J. Lu <hjl@gnu.org>
2302 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2303 * Makefile.in: Regenerate.
2305 2001-03-26 Andreas Jaeger <aj@suse.de>
2307 * binutils.texi (nm): Fix texi syntax.
2309 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2311 * binutils.texi: Put @c man begin and @c man end indications
2312 to generate man pages using texi2pod and pod2man. Put @c man title
2313 to identify each man. Add SEEALSO entries.
2314 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2315 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2317 (*.1): Build the man pages from binutils.texi.
2318 * Makefile.in: Regenerate.
2320 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2322 * defparse.y (opt_equal_name): allow "." in name.
2323 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2324 (gen_exp_file): Likewise.
2326 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2328 * NEWS: Document addition of -B switch to objcopy.
2329 * binutils.texi: Document addition of -B switch to objcopy.
2330 * objcopy.c: (copy_options): Add --binary-architecture.
2331 (copy_usage): Document -B/--binary-architecture.
2332 (copy_main): Support -B/--binary-architecture. Set
2333 bfd_external_binary_architecture.
2335 2001-03-11 Andreas Jaeger <aj@suse.de>
2337 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2338 (dump_relocations): Likewise.
2339 (get_machine_name): Likewise.
2341 2001-02-28 Nick Clifton <nickc@redhat.com>
2343 * readelf.c: (struct unw_aux_info): Remove const modifier for
2345 (process_unwind): Remove non-K&R compliant LHS type cast in call
2346 to GET_DATA_ALLOC macro.
2348 2001-02-28 Philip Blundell <pb@futuretv.com>
2350 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2351 ABI is in use; remove ambiguity between the "unknown" EABI and
2352 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2353 renamed EF_xx constants.
2355 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2357 * configure.in (BFD_VERSION): New.
2358 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2359 * configure: Regenerate.
2360 * Makefile.am: Run "make dep-am"
2361 * Makefile.in: Regenerate.
2363 2001-02-14 Nick Clifton <nickc@redhat.com>
2365 * MAINTAINERS: Add "Obvious Fix" rule.
2367 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2369 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2370 literal concatenation.
2372 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2374 * readelf.c (struct unw_aux_info): Remove const from the info member.
2375 (process_unwind): Don't type-cast the third argument to the
2376 GET_DATA_ALLOC macro.
2378 2001-02-11 Nick Clifton <nickc@redhat.com>
2380 * readelf.c (dump_relocations): Free corrected allocated
2382 (process_unwind): Fix compile time warning.
2384 2001-02-10 Nick Clifton <nickc@redhat.com>
2386 * binutils.texi: Document new --unwind option to readelf.
2388 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2390 * readelf.c: Add linux target for S/390.
2392 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2394 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2397 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2399 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2400 * aclocal.m4: Regenerate.
2401 * configure: Regenerate.
2403 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2405 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2406 * objdump.c (bfd_target_vector): Likewise.
2408 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2410 * readelf.c (process_unwind): New function.
2411 (slurp_ia64_unwind_table): Ditto.
2412 (dump_ia64_unwind): Ditto.
2413 (find_symbol_for_address): Ditto.
2414 (slurp_rela_relocs): New function (split off from dump_relocations()).
2415 (slurp_rel_relocs): Ditto.
2416 (parse_args): Handle '-u' option.
2418 * unwind-ia64.c: New file.
2419 * unwind-ia64.h: New file.
2420 * Makefile.am: Include unwind-ia64.c in readelf build.
2421 * Makefile.in: Regenerate.
2422 * po/binutils.pot: Regenerate.
2424 2001-02-04 Philip Blundell <philb@gnu.org>
2426 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2427 * configure: Regenerate.
2429 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2431 * ieee.c (ieee_add_bb11): Don't check for backslashes
2432 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2434 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2436 * ieee.c: Update copyright.
2437 (ieee_start_compilation_unit): Don't check for backslashes
2438 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2440 * stabs.c: Update copyright. Include "filenames.h".
2441 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2443 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2445 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2446 sections are present before using them. Remove code duplication.
2447 (process_symbol_table): Check if VERDEF or VERNEED sections are
2448 present before using them.
2450 2001-01-17 Nick Clifton <nickc@redhat.com>
2452 * objcopy.c (copy_object): Fail if attempting to convert the
2453 endianness of the input object file.
2455 * binutils.texi: Explain that objcopy cannot convert endianness.
2457 2001-01-16 Nick Clifton <nickc@redhat.com>
2459 * readelf.c (string_table_length): New variable.
2460 (SECTION_NAME): Catch out of range indices and missing section
2462 (process_section_headers): Delete useless local variable
2463 string_table_offset. Set the value of string_table_length
2464 after loading the string table.
2465 (process_mips_specific): Use SECTION_NAME macro.
2466 (process_file): Set string_table_length to 0 when it is freed.
2468 2001-01-12 Nick Clifton <nickc@redhat.com>
2470 * version.c (print_version): Update copyright date.
2472 2001-01-11 Peter Targett <peter.targett@arccores.com>
2474 * readelf.c (dump_relocations): Include selection with EM_ARC.
2475 (get_machine_name) Update name to "ARC".
2477 2001-01-09 Nick Clifton <nickc@redhat.com>
2479 * Makefile.am: Add rule to build objdump.o from objdump.c and
2481 * Makefile.in: Regenerate.
2483 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2484 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2485 -DDISASSEMBLER_NEEDS_RELOCS.
2486 * configure: Regenerate.
2488 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2489 is defined read in the relocs even if dump_reloc_info is
2492 2001-01-07 Philip Blundell <philb@gnu.org>
2494 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2498 2000-12-19 Nick Clifton <nickc@redhat.com>
2500 * dlltool.c: Add missing support for arm-epoc-pe.
2501 * configure.in: Add missing support for arm-epoc-pe.
2502 * configure: Regenerate.
2504 2000-12-15 Nick Clifton <nickc@redhat.com>
2506 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2507 Mode parts of the x86 port.
2509 2000-12-04 Andreas Jaeger <aj@suse.de>
2511 * readelf.c (guess_is_rela): Add EM_X86_64.
2512 (dump_relocations): Add EM_X86_64.
2513 (get_machine_name): Add EM_X86_64.
2514 Include "elf/x86-64.h".
2516 2000-12-12 Nick Clifton <nickc@redhat.com>
2518 * readelf.c: Fix formatting.
2520 2000-12-11 Jan Hubicka <jh@suse.cz>
2522 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2524 2000-12-07 Andrew Haley <aph@redhat.com>
2526 * readelf.c (display_debug_frames): Only display columns that are
2527 referenced by the frame debug info.
2529 2000-12-05 Nick Clifton <nickc@redhat.com>
2531 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2533 2000-12-04 Jason Merrill <jason@redhat.com>
2535 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2536 (display_debug_section): Likewise.
2537 (display_debug_info): Display CU header before bailing.
2539 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2541 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2542 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2543 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2545 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2548 * readelf.c (get_machine_flags): Add case for
2551 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2553 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2555 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2557 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
2558 Change sourceware.cygnus.com to sources.redhat.com.
2559 Fix typo for "amongst".
2561 2000-11-28 Nick Clifton <nickc@redhat.com>
2563 * strip.1 (COPYING): Mention that the GNU Free Documentation
2564 License is present in the sources, but not the output, and
2565 also available from the GNU website.
2566 (GNU Free Documentation License): Comment out this section.
2575 * addr2line.1: Ditto.
2577 2000-11-27 DJ Delorie <dj@redhat.com>
2579 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2580 (parse_args): Support -wf option.
2581 (process_section_headers): Ditto.
2582 (debug_displays): Ditto.
2583 (display_debug_frames): New, dump *_frame sections.
2584 (frame_need_space): Support for above.
2585 (frame_display_row): Ditto.
2586 * binutils.texi: Document it.
2588 2000-11-24 Nick Clifton <nickc@redhat.com>
2590 * NEWS: Announce support for v5t, v5te and XScale.
2592 2000-11-22 Nick Clifton <nickc@redhat.com>
2594 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2595 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2596 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2597 (get_elf_section_flags: Add SHF_GROUP.
2598 (process_section_headers): Adjust output for 32-bit binaries
2599 to look nice on an 80 column terminal.
2601 2000-11-20 H.J. Lu <hjl@gnu.org>
2603 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2606 2000-11-17 Richard Henderson <rth@redhat.com>
2608 * readelf.c (display_debug_lines): Adjust last change to
2609 use sizeof (external->li_length).
2611 2000-11-17 Richard Henderson <rth@redhat.com>
2613 * readelf.c (display_debug_lines): Fix section length check
2614 and end_of_sequence computation.
2616 2000-11-06 Nick Clifton <nickc@redhat.com>
2618 * binutils.texi: Add GNU Free Documentation License.
2619 * objcopy.1: Add GNU Free Documentation License.
2620 * objdump.1: Add GNU Free Documentation License.
2621 * addr2line.1: Add GNU Free Documentation License.
2622 * ar.1: Add GNU Free Documentation License.
2623 * nlmconv.1: Add GNU Free Documentation License.
2624 * nm.1: Add GNU Free Documentation License.
2625 * ranlib.1: Add GNU Free Documentation License.
2626 * size.1: Add GNU Free Documentation License.
2627 * strings.1: Add GNU Free Documentation License.
2628 * strip.1: Add GNU Free Documentation License.
2630 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2632 * objcopy.c (--srec-len=nn): New parameter to set the
2633 maximum length of generated Srecords.
2634 (--srec-forceS3): New parameter that restricts the generation of
2635 Srecords to type S3 only.
2636 * binutils.texi: Document new command line switches.
2637 * objcopy.1: Docuemnt the new command line switches.
2638 * NEWS: Announce the existence of the new command line switches.
2640 2000-10-31 Nick Clifton <nickc@redhat.com>
2642 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2643 code. Add Eric Chrisopher as maintainer of MN10300 port.
2645 2000-10-12 Roger Sayle <roger@metaphorics.com>
2647 * Make comma after string after icon/control optional.
2649 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2651 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2653 * NEWS: Mention support for MIPS32.
2655 2000-09-08 Nick Clifton <nickc@redhat.com>
2657 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2659 2000-09-07 H.J. Lu <hjl@gnu.org>
2661 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2662 * configure: Rebuild.
2664 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2666 * configure: Rebuilt with new libtool.m4.
2668 2000-09-05 Nick Clifton <nickc@redhat.com>
2670 * aclocal.m4: Regenerate.
2671 * config.in: Regenerate.
2672 * configure: Regenerate.
2674 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2676 * strip.1: Fix stray '\' in -o formatting.
2678 2000-09-02 Nick Clifton <nickc@redhat.com>
2680 * configure.in: Increase version number to 2.10.91.
2681 * configure: Regenerate.
2682 * aclocal.m4: Regenerate.
2683 * config.in: Regenerate.
2684 * po/binutils.pot: Regenerate.
2686 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2688 * acinclude.m4: Include libtool and gettext macros from the
2690 * aclocal.m4, configure: Rebuilt.
2692 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2694 * resrc.c (close_input_stream): Delete extraneous logic
2696 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2698 * NEWS: Mention support for CRIS.
2700 2000-08-21 Nick Clifton <nickc@redhat.com>
2702 * addr2line.c: Changed email address for Ulrich Lauther.
2704 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2706 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2708 2000-08-17 Nick Clifton <nickc@redhat.com>
2710 * readelf.c (display_debug_pubnames): Only issue warning
2711 message once. Terminate message with a new line.
2712 (display_debug_aranges): Only display version 2 debug info.
2714 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2716 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2717 for compatability with old BSD systems.
2719 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2721 * NEWS: Mention i860 support.
2723 2000-08-11 Carlo Wood <carlo@alinoe.com>
2725 * addr2line.c (main): Add const to char *.
2727 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2729 * ar.c (main): Don't crash if called with no arguments
2730 or only '-X32_64' as an argument.
2732 2000-08-08 DJ Delorie <dj@redhat.com>
2734 * resrc.c: use "gcc -xc" instead of -xc-header
2736 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2738 * readelf.c (elf/i860.h): Include.
2739 (dump_relocations): Add recognition of i860 architecture.
2740 (guess_is_rela): Add recognition of i860 architecture.
2742 2000-08-03 Nick Clifton <nickc@cygnus.com>
2744 * MAINTAINERS: Add information about CGEN maintainers.
2746 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2748 * nm.c (main): Ignore '-X32_64' as an option.
2749 * ar.c (main): Likewise.
2750 * binutils.texi (nm): Document new option.
2753 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2755 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2757 2000-07-20 H.J. Lu <hjl@gnu.org>
2759 * binutils.texi: Put back "@end table" deleted by
2762 2000-07-05 Kenneth Block <krblock@computer.org>
2764 * nm.c: Add optional style to demangle switch.
2765 * objdump.c: Add optional style to demangle switch.
2766 * addr2line.c: Add optional style to demangle switch.
2767 * binutils.texi: Document optional style to demangle
2770 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2772 * MAINTAINERS: Add self as CRIS port maintainer.
2773 * readelf.c: Include elf/cris.h.
2774 (guess_is_rela): Handle EM_CRIS.
2775 (dump_relocations): Ditto.
2776 (get_machine_name): Ditto.
2777 * Makefile.am: Rebuild dependencies.
2778 * Makefile.in: Regenerate.
2779 * po/binutils.pot: Regenerate.
2781 2000-07-19 H.J. Lu <hjl@gnu.org>
2783 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2785 (process_dynamic_segment): Print out strings for DT_CONFIG,
2786 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2788 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2790 * nm.c (usage): Change output of `nm --help' to include a
2791 description of the purpose of the program and a detailed
2792 description of the accepted options.
2794 2000-07-19 H.J. Lu <hjl@gnu.org>
2796 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2799 2000-07-19 H.J. Lu <hjl@gnu.org>
2801 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2803 2000-07-19 H.J. Lu <hjl@gnu.org>
2805 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2807 (process_dynamic_segment): Likewise.
2809 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2810 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2811 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2812 DF_1_NODUMP and DF_1_CONLFAT.
2814 2000-07-18 Nick Clifton <nickc@cygnus.com>
2816 * binutils.texi (readelf): Fix spelling typo.
2818 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2820 * objdump.c (usage): Make output of `objdump --help' more
2821 consistent with the rest of the GNU world. Add a line describing
2822 the purpose of the program.
2824 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2826 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2829 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2831 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2833 (process_symbol_table): Ditto.
2834 (procesS_extended_line_op): Ditto.
2835 (display_debug_lines): Ditto.
2836 (display_debug_pubnames): Ditto.
2837 (read_and_display_attr): Ditto.
2839 2000-07-09 Nick Clifton <nickc@cygnus.com>
2841 * MAINTAINERS: Add several more port specific maintainers.
2843 2000-07-05 Nick Clifton <nickc@cygnus.com>
2845 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2847 2000-06-05 DJ Delorie <dj@redhat.com>
2851 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2853 * dllwrap.c: Changed mistaken dyn_string_append() calls
2854 to dyn_string_append_cstr().
2856 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2858 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2859 struct debug_type stores size in bytes.
2861 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2863 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2864 (CLEANFILES): Add DEPA.
2865 * Makefile.in: Regenerate.
2867 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2869 * ar.c: Revert incorrect 2000-06-25 patch.
2870 * bucomm.c: Likewise.
2872 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2874 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2875 (external_coff_symbol_p): New function.
2876 (parse_coff): Use it.
2878 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2880 * ar.c (normalize): Advance past both characters in a DOS based
2881 <letter>: filepath prefix.
2883 * bucomm.c (make_tempname): Likewise.
2885 2000-06-24 Nick Clifton <nickc@cygnus.com>
2887 * objdump.c (usage): Fix description of --stabs switch.
2889 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2891 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2893 * Makefile.in: Regenerate.
2895 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2897 * ar.c (normalize): Correct pointer comparison when checking for
2900 * bucomm.c (make_tempname): Likewise.
2902 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2903 and search for backslashes in the original pathname.
2904 (ieee_add_bb11): Likewise.
2906 2000-06-18 Nick Clifton <nickc@redhat.com>
2908 * ar.c (print_contents): Improve verbose message.
2910 2000-06-15 H.J. Lu <hjl@gnu.org>
2912 * dyn-string.c: Removed. Not needed with dyn-string.c in
2914 * dyn-string.h: Likewise.
2916 * Makefile.am: Remove references to dyn-string.c and
2917 dyn-string.h. Rebuild dependency.
2918 * Makefile.in: Rebuild.
2920 2000-06-15 H.J. Lu <hjl@gnu.org>
2922 * binutils.texi: Put a warning on copying relocatable object
2923 files between two different formats.
2925 2000-06-13 DJ Delorie <dj@cygnus.com>
2927 * rcparse.y (control): ICON controls take an id as the first
2928 parameter, not an optional string. Also, call new convenience
2929 function that takes res_id's.
2930 * resrc.c (define_control): missing text means zero-length string,
2932 (define_icon_control): New.
2933 * windres.h: declare define_icon_control.
2935 2000-06-13 H.J. Lu <hjl@gnu.org>
2937 * configure: Regenerate.
2939 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2941 * configure.in (VERSION): Update to show this is the CVS mainline.
2943 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2945 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2946 analogous to <SPACE>.
2948 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2950 * objdump.c (display_target_list): Use bfd_close_all_done, not
2951 bfd_close to fix crash caused by 2000-05-24 change.
2953 2000-05-25 DJ Delorie <dj@cygnus.com>
2955 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2957 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2959 * Makefile.am: Update dependencies with "make dep-am"
2960 * Makefile.in: Regenerate.
2962 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2964 * ar.c: Include filenames.h.
2965 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2966 and drive letters in file names.
2967 (main): Support backslashes and drive letters in argv[0]. Drop
2968 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2969 FILENAME_CMP instead of strcmp to compare file names.
2970 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2972 (do_quick_append) [__GO32__]: Ditto.
2973 (get_pos_bfd, delete_members, move_members, replace_members):
2974 Compare file names with FILENAME_CMP.
2976 * bucomm.c: Include filenames.h.
2977 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2978 forward/backward slashes and drive letters in file names.
2980 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2981 mixed forward/backward slashes and drive letters in file names.
2983 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2984 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2987 * objcopy.c: Include filenames.h.
2988 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2989 before comparing to "strip".
2990 Use FILENAME_CMP to compare file names.
2992 * arsup.c: Include filenames.h.
2993 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2994 FILENAME_CMP to compare file names.
2995 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2996 the temporary file name.
2998 * configure.in: Check for setmode.
2999 * configure: Regenerate.
3001 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3003 * objdump.c (display_target_list): Close the bfd.
3004 (display_info_table): Likewise.
3006 2000-05-14 H.J. Lu (hjl@gnu.org)
3008 * objcopy.c (filter_symbols): Don't strip global symbols in
3009 relocatable object files.
3011 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3013 * size.c (usage): Associate short options with corresponding long
3014 option to give a clue as to their function.
3016 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3018 * size.c (main): Accept and ignore `-f' option.
3020 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3022 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3023 bindtextdomain): Replace defines with those from intl/libgettext.h
3024 to quieten gcc warnings.
3026 2000-05-12 H.J. Lu <hjl@gnu.org>
3028 * nlmconv.c (temp_filename): Removed.
3030 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3031 choose_temp_base ().
3032 * objdump.c (display_target_list): Likewise.
3033 (display_info_table): Likewise.
3035 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3037 * objcopy.c (setup_section): Add const and gettext calls for err.
3039 2000-05-02 H.J. Lu <hjl@gnu.org>
3041 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3042 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3043 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3044 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3045 and ELFOSABI_OPENBSD.
3047 2000-05-02 Kazu Hirata <kazu@hxi.com>
3049 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3050 * srconv.c: Likewise.
3051 * sysdump.c: Likewise.
3053 2000-04-23 Denis Chertykov <denisc@overta.ru>
3055 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3056 (get_machine_name): machine name for EM_AVR added.
3058 2000-04-21 Richard Henderson <rth@cygnus.com>
3059 David Mosberger <davidm@hpl.hp.com>
3061 * Makefile.am (readelf.o): Add elf/ia64.h.
3062 * Makefile.in: Rebuild.
3063 * readelf.c: Include elf/ia64.h.
3064 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3066 2000-04-17 Timothy Wall <twall@cygnus.com>
3068 * objdump.c (disassemble_data): Set octets per byte *after*
3069 resolving arch/mach for binary files.
3071 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3073 * arlex.l: Add directives to increase lex buffer size.
3075 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3076 already included by bucomm.h.
3078 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3080 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3081 `strftime' since strftime is not available on all systems.
3082 (process_mips_specific): Ditto.
3084 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3086 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3087 --enable-build-warnings option.
3088 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3089 * Makefile.in, configure: Re-generate.
3091 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3093 * addr2line.c: Update copyright.
3094 * objcopy.1: Likewise, and title.
3095 * strings.1: Likewise.
3097 * version.c (print_version): Add 2000.
3099 * rddbg.c (read_section_stabs_debugging_info): Don't use
3100 bfd_size_type for strx to avoid printf problems if BFD64.
3102 * bucomm.c: (report): Remove `static'.
3103 Move inclusion of stdarg.h/vararg.h from here.
3104 * bucomm.h: To here.
3105 (CONST): Change all occurences to const.
3106 (report): Declare it.
3107 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3108 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3109 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3111 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3112 Correct a typo in an error message.
3113 (do_quick_append): Use non_fatal instead of fprintf.
3114 (move_members): Use fatal instead of fprintf, exit.
3115 * coffdump.c (main): Same here.
3117 * dlltool.c (display): Delete.
3119 (inform): Use `report' instead of `display'.
3120 (rvaafter): Remove trailing \n from fatal error msg.
3122 (asm_prefix): Ditto.
3123 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3124 (def_name): Likewise.
3126 (scan_all_symbols): Likewise.
3127 (gen_lib_file): Likewise.
3128 (def_library): Likewise. Remove extra program_name too.
3129 (run): Remove \n from inform strings.
3130 (scan_drectve_symbols): Likewise.
3131 (add_excludes): Likewise.
3132 (scan_open_obj_file): Likewise.
3133 (gen_exp_file): Likewise.
3134 (gen_lib_file): Likewise.
3135 (process_duplicates): Likewise.
3137 * Makefile.am (dllwrap_SOURCES): Add version.c.
3138 * dllwrap.c (program_version): Delete.
3139 (print_version): Delete.
3140 (display): Always print trailing \n.
3142 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3145 (usage): gettext'ify.
3146 (long_options): Add missing initialisers.
3148 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3149 (select_output_format): Likewise.
3150 (powerpc_mangle_relocs): Likewise.
3151 (link_inputs): Likewise.
3153 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3154 (set_output_format): Likewise.
3155 (main): Use non_fatal instead of fprintf.
3156 (display_rel_file): Likewise.
3158 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3159 (slurp_dynamic_symtab): Same here.
3160 (disassemble_data): And here.
3161 (read_section_stabs): And here.
3162 (read_section_stabs): And here.
3163 (dump_bfd): And here.
3165 (objdump_sprintf): Use fatal instead of fprintf, exit.
3166 (disassemble_data): Same here.
3168 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3169 (parse_coff_struct_type): Same here.
3170 (parse_coff_enum_type): And here.
3171 (parse_coff): And here.
3172 * rddbg.c (read_debugging_info): And here.
3173 * size.c (main): And here.
3174 * windres.c (format_from_name): And here.
3175 * wrstabs.c (stab_write_symbol): Here too.
3176 (write_stabs_in_sections_debugging_info): And here.
3177 (stab_int_type): And here.
3178 (stab_struct_field): And here.
3179 (stab_typdef): And here.
3181 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3182 * srconv.c (main): Same here.
3183 * strings.c (main): And here.
3184 (integer_arg): And here.
3185 * sysdump.c (main): And here.
3187 2000-04-06 Timothy Wall <twall@cygnus.com>
3189 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3191 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3193 * readelf.c (decode_location_expression): Loop through multiple
3195 (read_and_display_attr): Pass in length.
3197 * readelf.c (read_and_display_attr): Add CU offset to references.
3198 (display_debug_info): Pass it in.
3200 2000-04-06 Nick Clifton <nickc@cygnus.com>
3202 * readelf.c (decode_ARM_machine_flags): New function.
3203 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3206 (get_machine_name): Catch EM_AVR
3208 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3210 * binutils.texi: Remove optional `=' from long options that have
3211 an `=' in the argument.
3212 * objcopy.1: Here too. Remove extra space on discard-all.
3214 * binutils.texi (objcopy): Mention --redefine-sym.
3215 * objcopy.1: Here too.
3218 * objcopy.c (parse_flags): Split off flag names from error message
3219 gettext as they are not translated.
3220 (copy_main): Similarly split off option name for --add-section,
3221 --set-section-flags, --change-section-vma, --change-section-lma
3223 Some white space changes.
3225 from Matthew Benjamin <matt@linuxbox.nu>
3226 * objcopy.c (struct redefine_node): New.
3227 (redefine_sym_list): New.
3228 (redefine_list_append): New.
3229 (lookup_sym_redefinition): New.
3230 (OPTION_REDEFINE_SYM): New.
3231 (copy_options): Add --redefine-sym option.
3232 (copy_usage): Mention it.
3233 (filter_symbols): Rename symbols on redefine_sym_list.
3234 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3235 (copy_main): Handle OPTION_REDEFINE_SYM.
3237 2000-04-04 H.J. Lu <hjl@gnu.org>
3239 * readelf.c (process_symbol_table): Correctly read in symbol
3240 versioning information.
3242 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3244 * po/binutils.pot: Regenerate.
3246 * addr2line.c (usage): Restore translated part of bug string.
3247 * ar.c (usage): Likewise.
3248 * nlmconv.c (show_usage): Likewise.
3249 * nm.c (usage): Likewise.
3250 * objcopy.c (copy_usage): Likewise.
3251 (strip_usage): Likewise.
3252 * objdump.c (usage): Likewise.
3253 * readelf.c (usage): Likewise.
3254 * size.c (usage): Likewise.
3255 * strings.c (usage): Likewise.
3256 * windres.c (usage): Likewise.
3258 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3259 (DEP): Quote when passing vars to sub-make. Add warning
3261 (DEP1): Rewrite for "gcc -MM".
3262 (CLEANFILES): Add DEP2.
3263 Update dependencies.
3264 * Makefile.in: Regenerate.
3266 2000-04-04 H.J. Lu <hjl@gnu.org>
3268 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3269 (arparse.h): Depend on arparse.c
3270 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3272 2000-04-03 H.J. Lu (hjl@gnu.org)
3274 * size.c (usage): Use REPORT_BUGS_TO.
3276 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3278 * bucomm.h: #include "bin-bugs.h"
3279 * addr2line.c (usage): Use REPORT_BUGS_TO.
3280 * ar.c (usage): Likewise.
3281 * nlmconv.c (show_usage): Likewise.
3282 * nm.c (usage): Likewise.
3283 (OPTION_TARGET): Define.
3284 (long_options): Use OPTION_TARGET rather than 200.
3287 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3288 (strip_usage): Likewise.
3289 * objdump.c (usage): Likewise.
3290 * readelf.c (usage): Likewise.
3291 * strings.c (usage): Likewise.
3292 * windres.c (usage): Likewise.
3294 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3296 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3298 2000-03-27 Nick Clifton <nickc@cygnus.com>
3300 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3301 string offsets in corrupt stabs entries.
3303 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3305 * readelf.c: Include elf/avr.h
3306 (dump_relocations): Add EM_AVR case.
3308 2000-03-09 Tim Waugh <twaugh@redhat.com>
3310 * strings.1: Correct '-bytes' to '--bytes'.
3312 2000-03-08 H.J. Lu <hjl@gnu.org>
3314 * Makefile.am (install-exec-local): Depend on
3315 install-binPROGRAMS for parallel make.
3316 * Makefile.in: Regenerated.
3318 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3320 From Brad Lucier <lucier@math.purdue.edu>:
3321 * readelf.c (process_dynamic_segment): Add cast to make sure
3322 argument to %* is int.
3324 2000-02-25 H.J. Lu <hjl@gnu.org>
3326 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3328 2000-02-24 Nick Clifton <nickc@cygnus.com>
3330 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3331 * configure: Regenerate.
3333 * dlltool.c: Add support for sh-pe and mips-pe targets.
3334 * rescoff.c: Add support for sh-pe and mips-pe targets.
3336 2000-02-23 H.J. Lu <hjl@gnu.org>
3338 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3340 2000-02-22 Nick Clifton <nickc@cygnus.com>
3342 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3344 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3346 From Brad Lucier <lucier@math.purdue.edu>:
3347 * readelf.c (process_version_sections): Add casts to make sure
3348 argument to %* is an int.
3349 (process_mips_specific): Add casts to make printf arguments match
3352 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3354 * objdump.c (dump_section_header): Change `opb' to unsigned.
3355 (find_symbol_for_address): Same here.
3356 (disassemble_data): And here. Change `addr_offset',
3357 `stop_offset', `nextstop_offset' to unsigned long.
3358 (dump_data): Change opb to unsigned.
3360 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3362 * resrc.c: Remove unmatched #if for cygwin.
3364 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3366 * binutils.texi: Document the change of flavor name from atpcs-special
3367 to special-atpcs to prevent name conflict in gdb.
3369 2000-02-08 Timothy Wall <twall@redhat.com>
3371 * objdump.c (show_line): Fix bug preventing printing of the very
3372 first line (line zero) of a file when interlisting source and
3373 assembly. Added option to print entire context from start of file
3374 when the first line from that file is encountered.
3376 2000-02-03 Timothy Wall <twall@redhat.com>
3378 * objdump.c (dump_section_header, find_symbol_for_address,
3379 show_line, disassemble_bytes, disassemble_data, dump_data):
3380 distinguish between octets and bytes.
3382 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3384 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3385 check to unresolved symbols.
3386 (print_symbol_info_sysv): Ditto.
3387 (print_symbol_info_posix): Ditto.
3389 * binutils.texi: Document new 'V' symclass flag for nm.
3391 2000-01-27 Nick Clifton <nickc@redhat.com>
3393 * binutils.texi (objdump): Document new ARM specific
3394 disassembler options.
3396 * objdump.c (usage): Call disassembler_usage().
3398 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3400 * readelf.c (get_dynamic_flags): Return buff.
3401 (process_dynamic_segment): Don't pass error strings to printf
3403 (read_and_display_attr): Use lx and ld to print longs.
3404 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3408 2000-01-17 Nick Clifton <nickc@cygnus.com>
3410 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3412 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3414 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3416 (debug_tag_type): Here too.
3417 * ieee.c (ieee_builtin_type): And here.
3418 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3420 2000-01-13 Nick Clifton <nickc@cygnus.com>
3422 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3425 2000-01-11 Nick Clifton <nickc@cygnus.com>
3427 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3429 2000-01-10 Nick Clifton <nickc@cygnus.com>
3431 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3433 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3435 * windres.c (long_options): Add --use-temp-file and
3436 --no-use-temp-file options.
3440 * windres.h: Update read_rc_file prototype.
3442 * resrc.c (cpp_temp_file): New static variable.
3443 (istream_type): New static variable.
3444 (close_pipe): Delete function.
3445 (run_cmd): New static function.
3446 (open_input_stream): New static function.
3447 (close_input_stream): New static function.
3448 (look_for_default): Handle DOS directory separator. Use
3449 open_input_stream instead of popen.
3450 (read_rc_file): Likewise.
3452 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3455 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3457 * dlltool.c (create_compat_implib): New variable.
3458 (gen_exp_file): Use.
3459 (make_one_lib_file): Use.
3460 (long_options): Add --compat-implib option.
3464 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3465 (main): Use. Don't look for "32" in cygwin and mingw target names.
3467 2000-01-03 Nick Clifton <nickc@cygnus.com>
3469 * binutils.texi: Document new, ARM specific disassembler
3470 command line switch "-M force-thumb".
3472 For older changes see ChangeLog-9899
3478 version-control: never