1 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
3 * po/Make-in (DESTDIR): New.
4 (install-data-yes): Support $(DESTDIR).
7 2003-06-11 Alan Modra <amodra@bigpond.net.au>
9 * Makefile.in: Regenerate.
11 2003-05-23 Jakub Jelinek <jakub@redhat.com>
13 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
15 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
17 * NEWS: Document the new BSD/POSIX single-character mapping for
18 .comment/.note sections.
20 2003-06-02 Chris Demetriou <cgd@broadcom.com>
21 Jason Thorpe <thorpej@wasabisystems.com>
23 * objcopy.c (redefine_list_append): Add an argument that
24 indicates the context from which this function is being
25 called. Change all callers.
26 (copy_options): Add a new option, --redefine-syms.
27 (copy_usage): Document new option.
28 (copy_main): Handle the --redefine-syms option.
29 * doc/binutils.text (objcopy): Document new option.
31 2003-05-31 Richard Henderson <rth@redhat.com>
33 * readelf.c (byte_get_signed): New.
34 (get_encoded_value): New.
35 (display_debug_frames): Use it. Always pre-process opcodes.
37 2003-05-20 Michal Ludvig <mludvig@suse.cz>
39 * readelf.c (display_debug_frames): Print both registers
42 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
44 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
46 * configure.in: Regenerate.
48 2003-05-13 Michael Eager <eager@mvista.com>
50 * objcopy.c: Treat identical src/dst file names as if only one
51 entered. One Windows creating an output file of the same name as
52 the input file will delete the input file before it is read.
54 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
56 * debug.c (debug_get_real_type): Extend test for circular debug
59 2003-05-12 Nick Clifton <nickc@redhat.com>
61 * configure.in (ALL_LINGUAS): Add zh_CN.
62 * configure: Regenerate.
63 * po/zh_CN.po: New file: Chinese (simplified) translation.
65 2003-05-11 Jason Eckhardt <jle@rice.edu>
67 * MAINTAINERS: Update my mail address.
69 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
71 * readelf.c (dump_relocations): Enlarge the type field in wide
72 mode by one character.
74 2003-05-03 Richard Henderson <rth@redhat.com>
76 * readelf.c (struct Frame_Chunk): Add cfa_exp.
77 (frame_display_row): Just print "exp" for cfa or register
78 defined by a location expression.
79 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
80 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
82 2003-04-30 H.J. Lu <hjl@gnu.org>
84 * objdump.c (only): Change it to char **.
87 (disassemble_data): Check only as an array.
88 (dump_data): Likewise.
89 (dump_relocs): Likewise.
90 (main): Treat only as an array.
92 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
94 * doc/binutils.texi: Fix the documentation for the -fo option.
96 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
98 * readelf.c (get_machine_name) <EM_SH>: Amend return value
101 * readelf.c (decode_location_expression): Don't add a trailing ';'.
103 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
104 Nick Clifton <nickc@redhat.com>
106 * windres.c (long_options): Move close to main, where it is used.
107 Add 'input' and 'output' long options.
108 (main): Accept "-fo" as an alias for "-o". This is for rc
110 * doc/binutils.texi: Mention that -fo is accepted as an alias for
111 -o, but discourage its use.
113 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
115 * windres.c (format_from_name): Make the exit on error
117 (main): Rename the -I option to -J. Introduce -I as a synonym
118 for --include-dir. For backwards compatibility also support the
119 old -I behaviour, but issue a deprecation warning.
120 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
123 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
125 * readelf.c: Replace references to Mitsubishi M32R with
126 references to Renesas M32R.
128 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
130 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
132 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
134 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
135 for debugging information types not supported by objdump.
137 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
139 * configure.in: Recognize canonical form of i[3-6]86-pe*.
140 * configure: Regenerate.
142 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
144 * readelf.c (display_debug_info): Apply RELA relocations on the
146 (byte_put_little_endian, byte_put_big_endian): New functions.
147 (byte_put): New variable.
148 (get_file_header): Initialize it.
150 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
152 * windres.c: Add -l for compatibility with wrc, and rc.
153 Use the short option as a key for long options that have
154 a synonymous short option.
155 * doc/binutils.texi: Added -l to the list of options.
157 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
159 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
160 (main): Just pass the -U option down to the preprocessor.
161 * doc/binutils.texi: Added -U to the list of options.
163 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
165 * windres.c (usage): Report -r option.
166 (main): Ignore the -r option.
167 * doc/binutils.texi: Add -r to the list of options.
169 2003-04-01 Bob Wilson <bob.wilson@acm.org>
171 * MAINTAINERS: Add myself as Xtensa maintainer.
173 2003-04-01 Bob Wilson <bob.wilson@acm.org>
175 * readelf.c: Include "elf/xtensa.h".
176 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
177 targets that use RELA relocations.
178 (dump_relocations): Call elf_xtensa_reloc_type for
179 EM_XTENSA and EM_XTENSA_OLD.
180 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
182 2003-04-01 Nick Clifton <nickc@redhat.com>
184 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
185 thumb-pe*, mcore-pe and mcore-*elf.
186 * configure: Regenerate.
188 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
190 * objdump.c (dump_data): Don't truncate the address to long; make
191 the width large enough, and uniform for all entries in a section.
193 2003-03-31 H.J. Lu <hjl@gnu.org>
195 * readelf.c: Include "libiberty.h".
196 (dynamic_relocations): New.
197 (process_relocs): Properly handle dynamic relocation.
198 (process_dynamic_segment): Fill relocation elements in
201 2003-03-31 Kevin Buettner <kevinb@redhat.com>
203 * readelf.c (read_and_display_attr, read_and_display_attr_value):
204 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
206 (display_debug_lines, display_debug_pubnames, display_debug_info)
207 (display_debug_aranges, display_debug_frames, read_and_display_attr)
208 (read_and_display_attr_value): Add 64-bit DWARF support.
210 2003-03-31 Ian Lance Taylor <ian@airs.com>
212 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
213 (optresid): Handle a resource id that can be a string or a number.
214 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
216 (define_icon_control): Pass a struct res_id to define_control.
217 * windres.h (define_control): Change prototype.
219 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
221 * objcopy (OPTION_FORMATS_INFO): Define.
222 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
223 (copy_options): Likewise.
224 (strip_usage): Add "--info" to usage.
225 (copy_usage): Likewise.
226 (strip_main): Declare formats_info. Iniatilize it to FALSE.
228 (copy_main). Likewise.
229 * doc/binutils.texi. Document the "--info" option for
231 * NEWS: Mention the new command line switch.
233 * objdump.c (endian_string): Move to bucomm.c.
234 (display_info): Likewise.
235 (display_target_list): Likewise.
236 (display_info_table): Likewise.
237 (display_target_tables): Likewise.
238 (main): Assign the return value of display_info to exit_status.
239 * bucomm.c: Include bfdver.h and libbfd.h
240 (display_target_list): Call bfd_nonfatal instead of nonfatal and
241 return 0 on a non-fatal error, 1 on success.
242 (display_info_table): Likewise.
243 * bucomm.h (display_info): Provide a prototype.
244 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
246 * Makefile.in: Regenerate.
248 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
250 * dlltool.c (gen_def_file): Put demangled name comments on
251 own line preceding export name.
253 2003-03-17 Nick Clifton <nickc@redhat.com>
255 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
256 printf for emitting new lines.
258 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
260 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
261 the symbol's value when --size-sort is used, unless -S is used.
262 doc/binutils.texi (--size-sort): For non-bsd formats both the
263 value and size of the symbols are displayed.
265 2003-03-13 Nick Clifton <nickc@redhat.com>
269 2003-03-12 Nick Clifton <nickc@redhat.com>
271 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
273 2003-03-10 Ben Elliston <bje@wasabisystems.com>
275 * MAINTAINERS: Update my mail address.
277 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
279 * stabs.c (BYTES_IN_WORD): Remove definition.
280 * wrstabs.c (BYTES_IN_WORD): Likewise.
282 2003-03-04 Nick Clifton <nickc@redhat.com>
284 * nm.c (main): Print a warning message if --size-sort and
285 --undefined-only are used together.
287 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
289 * nm.c (print_symbol): Remove check for undefined_only.
291 2003-03-03 Nick Clifton <nickc@redhat.com>
293 * po/da.po: Installed latest translation.
295 2003-02-24 Nick Clifton <nickc@redhat.com>
297 * README: Update binutils references to 2.13.
298 Add paragraph about using --disable-nls.
300 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
302 * doc/binutils.texi (nm --size-sort): Update.
304 2003-02-21 James E Wilson <wilson@tuliptree.org>
306 * MAINTAINERS: Update email address.
308 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
310 * readelf.c (get_ia64_dynamic_type): New function.
311 (dynamic_segment_ia64_val): New function.
312 (get_dynamic_type): If machine type is EM_IA_64 call
313 get_ia64_dynamic_val.
314 (get_ia64_section_type_name): Handle sections with types in the
315 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
316 (get_dynamic_flags): If machine type is EM_IA_64 call
317 dynamic_segment_ia64_val.
319 2003-02-21 Bob Wilson <bob.wilson@acm.org>
321 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
322 section title capitalization more consistent. Update descriptions
323 of various options to be consistent with the code. Fix errors and
324 incomplete list in the description of c++filt format options. Remove
325 information about the linker. Change to be more polite about poor
326 bug reports. Replace FDL appendix with include of fdl.texi.
327 * doc/fdl.texi: New file.
329 2003-02-21 Roger Sayle <roger@eyesopen.com>
331 * objcopy.c (filter_symbols): Fix compilation problems with
334 2003-02-19 Christopher Faylor <cgf@redhat.com>
336 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
339 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
341 * rclex.l (handle_quotes): Handle strings spanning more than one line.
343 2003-02-12 Bob Wilson <bob.wilson@acm.org>
345 * nm.c (usage): Add `java' and `gnat' demangle styles and make
347 * objdump.c (usage): Ditto. Also fix some typos.
349 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
351 * debug.c (debug_record_variable): Handle global register variables.
353 * stabs.c (parse_stab): For N_SLINE only include
354 function_start_offset if the symbol is within a function;
355 otherwise, the value is absolute.
357 2003-02-10 Nick Clifton <nickc@redhat.com>
359 * readelf.c (decode_ARM_machine_flags): Handle the
360 EF_ARM_MAVERICK_FLOAT flag.
362 2003-02-04 Andreas Schwab <schwab@suse.de>
364 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
365 long and use %ld in printf format.
367 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
369 * readelf.c (dump_relocations): Reorder the r_info field for
370 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
372 2003-01-21 Daniel Berlin <dan@dberlin.org>
374 * readelf.c (display_debug_loc): Skip address base changes.
376 2003-01-17 Fabio Alemagna <falemagn@aros.org>
378 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
381 2003-01-16 Alan Modra <amodra@bigpond.net.au>
383 * readelf.c: Include elf/ppc64.h.
384 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
385 * Makefile.am: Run "make dep-am".
386 * Makefile.in: Regenerate.
388 2003-01-02 Ben Elliston <bje@redhat.com>
390 * readelf.c (guess_is_rela): Handle EM_IQ2000.
391 (get_machine_name): Likewise.
392 (dump_relocations): Likewise.
393 * NEWS: Mention IQ2000 support.
395 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
397 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
399 2002-12-30 Chris Demetriou <cgd@broadcom.com>
401 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
402 changes in MIPS -M options.
404 2002-12-30 Dmitry Diky <diwil@mail.ru>
406 * Makefile.am: Add msp430 target.
407 * Makefile.in: Regenerate.
408 * readelf.c: Add support for msp430 target.
410 2002-12-27 Chris Demetriou <cgd@broadcom.com>
412 * doc/binutils.texi (objdump): Document MIPS -M options.
414 2002-12-23 Andreas Schwab <schwab@suse.de>
416 * readelf.c (main): Reset dump request after each file.
418 2002-12-23 Nick Clifton <nickc@redhat.com>
420 * nlmconv.c (main): Pass TRUE as third argument to
421 bfd_arch_get_compatible.
423 2002-12-23 Nick Clifton <nickc@redhat.com>
425 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
426 macro. Handle 'S' encoding, accepting 8-bit characters.
427 (main): Parse 'S' encoding.
428 (get_char): Accept 'S' encoding.
429 (print_strings): Use STRING_ISGRAPHIC.
430 (usage): Document support of 'S' encoding.
431 * doc/binutils.texi: Document support of 'S' encoding/
432 * NEWS: Mention new feature.
434 2002-12-20 Alan Modra <amodra@bigpond.net.au>
436 * README <building ar>: Don't use libibery's needed_list or
437 required_list, instead link libiberty/*.o.
439 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
441 * doc/binutils.texi: Fix typos.
443 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
445 * doc/binutils.texi: Add missing parenthesis.
447 2002-12-15 Nick Kelsey <nickk@ubicom.com>
449 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
450 symbols by adding the given prefix to the begining of the symbol
451 name. This is useful to provide name space seperation regardless
452 of how the object file was created. Added --prefix-sections=
453 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
454 sections (or all sections with the alloc flag set) by adding the given
455 prefix to the begining of the symbol name.
456 * NEWS: Mention this new feature.
457 * doc/binutils.texi: Document this new feature.
459 2002-12-13 Alan Modra <amodra@bigpond.net.au>
461 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
462 dyn_string_append with dyn_string_append_cstr.
464 * emul_aix.c (ar_emul_aix_create): Remove unused function.
466 2002-12-10 James Cownie <jcownie@etnus.com>
468 * readelf.h (get_TAG_name, get_AT_name,
469 read_and_display_attr_value): Add support for UPC extensions to
471 * NEWS: Mention this new support.
473 2002-12-08 Alan Modra <amodra@bigpond.net.au>
475 * NEWS: Mention that bfd no longer declares a "boolean" type.
477 2002-12-07 Alan Modra <amodra@bigpond.net.au>
479 * readelf.c (process_program_headers): When setting loadaddr, don't
480 assume segment size is 4k. Use p_align instead.
481 (loadaddr): Change from int to long.
482 (dynamic_addr, dynamic_info, version_info): Likewise.
483 (process_dynamic_segment <syminsz>): Likewise.
484 (process_dynamic_segment): Adjust print format string.
485 (rela_addr, rela_size): Delete.
486 (process_relocs): Formatting.
488 2002-12-05 Jim Wilson <wilson@redhat.com>
490 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
491 * configure: Regenerate.
493 2002-12-04 Ian Lance Taylor <ian@airs.com>
495 * MAINTAINERS: Change e-mail address back to airs.com.
497 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
499 * MAINTAINERS: Add self.
501 2002-11-30 Alan Modra <amodra@bigpond.net.au>
503 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
504 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
505 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
506 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
507 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
508 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
509 with TRUE/FALSE. Formatting.
511 2002-11-29 Jakub Jelinek <jakub@redhat.com>
513 * readelf.c Replace occurrences of Elf32_Internal_* and
514 Elf64_Internal_* with Elf_Internal_*.
515 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
516 Zero r_addend fields.
517 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
520 2002-11-23 Nick Clifton <nickc@redhat.com>
522 * size.c (usage): Fix typo describing switch for hex format.
524 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
526 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
527 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
530 2002-11-14 Nick Clifton <nickc@redhat.com>
532 * readelf.c (process_program_headers): Add comment about return
533 value. Ensure that 0 is returned if the headers are not loaded.
534 (process_file): If process_section_headers failed to load the
535 headers disable any tests that rely upon them. Similarly for
536 process_program_headers.
538 2002-11-12 Nick Clifton <nickc@redhat.com>
540 * po/da.po: Updated Danish translation.
542 2002-11-12 Klee Dienes <kdienes@apple.com>
544 * rddbg.c (read_section_stabs_debugging_info): Also recognize
545 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
547 2002-11-11 Christopher Faylor <cgf@redhat.com>
549 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
552 2002-11-11 Christopher Faylor <cgf@redhat.com>
554 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
556 2002-11-07 Nick Clifton <nickc@redhat.com>
558 * configure.in (ALL_LINGUAS): Add 'da'.
559 * configure: Regenerate.
560 * po/da.po: New Danish translation.
562 * readelf.c (get_symbol_index_type): Revert part of previous
563 patch: Display unknown symbol types in decimal, not hex.
565 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
567 * dlltool.c (add_excludes): Don't prefix excluded fastcall
568 symbols with underscore.
569 (xlate): Ignore add_underscore for decorated fastcall symbols.
571 2002-11-07 Eric Kohl <ekohl@rz-online.de>
573 * deflex.l: Accept '@' as first character of an ID.
574 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
575 ASM_PREFIX for fastcall symbols.
576 (scan_drectve_symbols): Handle fastcall symbols when generating
577 undecorated aliases for symbols in drectve section.
578 (scan_filtered_symbols): Likewise, with export-all.
579 (xlate): Likewise, with --kill-at.
580 (make_imp_label): New function to handle fastcall symbols
582 (make_one_lib_file): Use make_imp_label instead of make_label
585 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
587 * MAINTAINERS: Add self as TIC4X maintainer.
589 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
591 * readelf.c (get_symbol_index_type): Add hex number to
592 PROCESSOR-specific, OS-specific, reserved and unknown symbol
595 2002-11-04 Alan Modra <amodra@bigpond.net.au>
597 * readelf.c (byte_get_little_endian): Comment typo fix.
598 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
599 as the format string.
600 (dump_relocations): Correct section sym names.
601 (process_section_headers): Clear symtab_shndx_hdr.
602 (read_and_display_attr_value): Don't pass indirect string to printf
603 as the format string.
604 (display_debug_frames): Indicate when zero terminator found. Decode
605 DW_EH_PE_pcrel addresses.
607 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
609 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
610 order to ensure proper disassembly of the valid 0-value opcode.
611 * configure: Regenerate.
612 * aclocal.m4: Regenerate.
613 * config.in: Regenerate.
614 * configure.in: Regenerate.
615 * doc/Makefile.in: Regenerate.
616 * po/binutils.pot: Regenerate.
618 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
620 * MAINTAINERS: Add self as SH maintainer.
622 2002-10-23 Ben Elliston <bje@redhat.com>
624 * doc/binutils.texi (objdump): Document -z and move the entry for
625 --disassemble-zeroes to the end of the options section (for `z').
627 2002-10-21 Nick Clifton <nickc@redhat.com>
629 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
631 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
633 * objdump.c (dump_data): Correct addr_offset for opb != 1.
635 2002-10-15 Alan Modra <amodra@bigpond.net.au>
637 * bucomm.c (list_supported_targets): Use bfd_target_list.
639 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
640 other object errors in preference to bfd_core errors.
642 2002-10-14 Alan Modra <amodra@bigpond.net.au>
644 * Makefile.am: Run "make dep-am".
645 * objdump.c: #include "bfdver.h".
646 * version.c: Likewise.
647 * Makefile.in: Regenerate.
648 * config.in: Regenerate.
649 * configure: Regenerate.
650 * po/POTFILES.in: Regenerate.
652 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
654 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
655 sections. Allow relocations against the absolute symbol. Don't
656 use the value in compunit.cu_abbrev_offset if we found a RELA
659 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
661 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
662 ordinary ones are available.
664 2002-09-30 H.J. Lu <hjl@gnu.org>
666 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
667 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
669 2002-09-17 Zack Weinberg <zack@codesourcery.com>
671 * Makefile.am (CFILES): Add cxxfilt.c.
672 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
673 (cxxfilt_LDADD): Delete.
674 Remove all references to underscore.c.
676 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
677 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
678 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
679 adjustments to fit into binutils framework.
680 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
682 2002-09-12 Roland McGrath <roland@redhat.com>
684 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
685 Handle DW_OP_GNU_push_tls_address.
687 2002-09-11 Nick Clifton <nickc@redhat.com>
689 * po/tr.po: Updated Turkish translation.
691 2002-09-10 Nick Clifton <nickc@redhat.com>
693 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
694 testsuite changes. Add paragraphs about testsuite and config
697 2002-08-29 Nick Clifton <nickc@redhat.com>
699 * readelf.c (get_machine_flags): Remove redundant reference to
702 2002-08-28 Alan Modra <amodra@bigpond.net.au>
704 * objdump.c (dump_bfd): Restore lines accidentally deleted in
707 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
709 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
710 (dump_bfd_header): Likewise.
712 2002-08-27 Alan Modra <amodra@bigpond.net.au>
714 * nm.c: Revert last change.
716 2002-08-26 Alan Modra <amodra@bigpond.net.au>
718 * nm.c (display_rel_file): Don't report "no symbols" as an error.
719 * objdump.c (slurp_symtab): Likewise.
720 (slurp_dynamic_symtab): Likewise.
721 (dump_symbols): Likewise. Do print "no symbols" to stdout.
723 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
725 * MAINTAINERS: Change my mailing address.
727 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
729 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
731 2002-08-22 Nick Clifton <nickc@redhat.com>
733 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
736 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
738 * readelf.c (parse_args): Change debug_dump_opt to static.
740 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
742 * stabs.c (parse_stab_argtype): Pass length of physname to
743 stab_demangle_argtypes.
744 (stab_demangle_argtypes): Add new parameter - length of physname.
745 Pass length of physname on to stab_demangle_prefix.
746 (stab_demangle_prefix): Add new parameter - length of physname.
747 Use length of physname (if supplied) to compute end of function
750 2002-08-15 Alan Modra <amodra@bigpond.net.au>
752 * readelf.c: Include elf/i370.h.
753 (dump_relocations): Handle EM_S370.
754 (dynamic_segment_parisc_val): Print \n.
755 (process_dynamic_segment <DT_BIND_NOW>): Here too.
757 2002-08-14 Nick Clifton <nickc@redhat.com>
759 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
760 * objdump.c (usage): Likewise.
761 * doc/binutils.texi: Likewise.
763 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
765 * rcparse.y (acc_entry): Don't warn about ALT use with
768 2002-08-13 H.J. Lu <hjl@gnu.org>
770 * objcopy.c (copy_object): Don't warn about the unsupported
771 architecture unless the input target is defaulted or the
772 output architecture is different from the input.
774 2002-08-09 Nick Clifton <nickc@redhat.com>
776 * po/sv.po: Updated Swedish translation.
778 2002-08-05 Alan Modra <amodra@bigpond.net.au>
780 * prdbg.c (pr_fix_visibility): Remove assert.
782 2002-07-31 Nick Clifton <nickc@redhat.com>
784 * addr2line.c (process_file): Rename parameter 'filename' to
785 'file_name' in order to avoid shadowing global symbol of the
789 2002-07-30 Jakub Jelinek <jakub@redhat.com>
791 * readelf.c (OPTION_DEBUG_DUMP): Define.
793 (usage): Update help.
794 (parse_args): Handle --debug-dump separately from -w.
795 * doc/binutils.texi (readelf): Update documentation.
797 2002-07-25 Nick Clifton <nickc@redhat.com>
799 * po/es.po: Updated Spanish translation.
800 * po/fr.po: Updated French translation.
802 2002-07-24 Nick Clifton <nickc@redhat.com>
804 * po/es.po: Updated Spanish translation.
806 2002-07-23 Alan Modra <amodra@bigpond.net.au>
808 * Makefile.am: Run "make dep-am".
809 * Makefile.in: Regenerate.
811 2002-07-23 Nick Clifton <nickc@redhat.com>
813 * po/fr.po: Updated French translation.
815 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
817 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
819 2002-07-20 Alan Modra <amodra@bigpond.net.au>
821 * budemang.c: Include config.h and string.h/strings.h.
823 2002-07-18 Denis Chertykov <denisc@overta.ru>
824 Frank Ch. Eigler <fche@redhat.com>
826 * readelf.c: Include "elf/ip2k.h".
827 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
828 (dump_relocations): Likewise.
829 (get_machine_name): Likewise.
830 * NEWS: Mention IP2K support.
832 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
834 * NEWS: Add 'Changes in 2.13'.
836 2002-07-10 Jakub Jelinek <jakub@redhat.com>
838 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
839 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
840 (get_section_type_name): Handle SHT_GNU_LIBLIST.
841 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
842 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
843 (process_gnu_liblist): New.
844 (process_file): Call it.
846 2002-07-03 Alan Modra <amodra@bigpond.net.au>
848 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
849 * Makefile.in: Regenerate.
851 2002-07-02 Alan Modra <amodra@bigpond.net.au>
853 * budemang.c: New file, "demangle" function.
854 * budemang.h: New file.
855 * addr2line.c (translate_addresses): Use "demangle".
856 * nm.c (print_symname): Likewise.
857 * objdump.c (objdump_print_symname): Likewise.
858 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
859 here since that obfuscates.
860 * rdcoff.c: Don't #include demangle.h.
861 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
862 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
863 (HFILES): Add budemang.h. Sort.
864 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
866 * Makefile.in: Regenerate.
868 2002-07-01 Matt Thomas <matt@3am-software.com>
870 * readelf.c: Include "elf/vax.h".
871 (guess_is_rela): Move EM_VAX from unknown to RELA case.
872 (dump_relocations): Handle VAX relocations.
873 (get_machine_flags): Handle VAX machine flags.
875 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
877 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
879 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
881 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
883 2002-06-26 Alan Modra <amodra@bigpond.net.au>
885 * nm.c (print_symname): When demangling, strip leading dots from
886 symbol names to avoid confusing the demangler.
888 2002-06-25 H.J. Lu <hjl@gnu.org>
890 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
891 * Makefile.in: Regenerated.
893 2002-06-21 Igor Schein <igor@txc.com>
895 * configure.in: Quote bu_cv_have_fopen64.
896 * configure: Regenerate.
898 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
900 * configure.in: Check for strcoll.
901 * configure: Regenerate.
902 * config.in: Regenerate.
903 * nm.c (main): Set locale for LC_COLLATE category.
904 (non_numeric_forward): Use strcoll if available.
906 2002-06-20 Dave Brolley <brolley@redhat.com>
908 * MAINTAINERS: Add self as fr30 and frv maintainer.
910 2002-06-18 H.J. Lu (hjl@gnu.org)
912 * nm.c: Include "elf/common.h".
913 (extended_symbol_info): Add elfinfo, a pointer to
915 (SYM_SIZE): Use elfinfo if it is not NULL.
916 (get_symbol_type): New function.
917 (display_archive): Set print_width for each archive member.
918 (display_file): Likewise.
919 (display_rel_file): Don't set print_width here.
920 (print_object_filename_sysv): Handle print_width.
921 (print_archive_member_sysv): Likewise.
922 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
923 (print_symbol): Set the elfinfo field in extended_symbol_info
925 (print_object_filename_sysv): Fix the output format.
926 (print_symbol_info_sysv): Print type and section for ELF.
928 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
930 * nm.c (print_size_symbols): Remove assignment, which makes
931 the symbol's size equal to its value when --size-sort is
934 2002-06-18 Dave Brolley <brolley@redhat.com>
936 From Catherine Moore:
937 * readelf.c (elf/frv.h): #include it.
938 (guess_is_rela): Support EM_CYGNUS_FRV.
939 (dump_relocations): Ditto.
940 (get_machine_name): Ditto.
941 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
943 2002-06-18 Jakub Jelinek <jakub@redhat.com>
945 * readelf.c (get_file_header): Only read the first section header if
948 2002-06-15 H.J. Lu (hjl@gnu.org)
950 * nm.c (print_size): New variable. Initialize to 0.
951 (long_options): Add 'S'/"print-size".
953 (print_symbol_info_bsd): Print size only if print_size is not
956 * doc/binutils.texi: Document -S/--print-size.
958 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
960 * nm.c (struct extended_symbol_info): New strcuture: Add the size
961 of the symbols to the information provided by the symbol_info
963 (print_symbols): Pass the symbol size to print_symbol.
964 (print_size_symbols): Pass the symbol size to print_symbol.
965 (print_symbol): Extra argument: The size of the symbol. Store
966 this in the extended_symbol_info structure.
967 (print_symbol_info): Change type of info parameter to
968 extended_symbol_info. Display the size, if known.
969 (print_symbol_info_posix): Likewise.
970 (print_symbol_info_sysv): Likewise.
972 2002-06-08 Alan Modra <amodra@bigpond.net.au>
974 * Makefile.am: Run "make dep-am".
975 * Makefile.in: Regenerate.
976 * doc/Makefile.in: Regnerate.
978 * bucomm.c: Replace CONST with const.
980 * objdump.c: Likewise.
982 2002-06-07 H.J. Lu <hjl@gnu.org>
984 * readelf.c (DW_CFA_GNU_args_size): Don't define.
985 (DW_CFA_GNU_negative_offset_extended): Likewise.
986 (DW_CFA_GNU_window_save): Likewise.
987 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
988 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
990 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
992 * nm.c: When computing size of symbols for an ELF target use the
995 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
997 * testsuite/binutils-all/objcopy.exp: clear xfail for
999 * testsuite/binutils-all/hppa/objdump.exp: Return if
1002 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1004 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1006 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1008 * objdump.c: Fix formatting.
1010 2002-05-29 Ben Elliston <bje@redhat.com>
1012 * MAINTAINERS: Add self as M68k maintainer.
1014 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1016 * readelf.c: Modified/Added DLX elf support.
1018 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1020 * arsup.c: Fix formatting.
1021 * debug.c (debug_record_label): Add missing colon to error
1023 * ieee.c (parse_ieee_ty): Fix spelling typo.
1024 * readelf.c (process_program_headers): Remove English assumption
1025 about making a plural word.
1026 (process_section_headers): Likewise.
1027 (process_relocs): Allow quotes to be translated.
1028 (process_unwind): Likewise,
1029 (process_mips_specific): Improve error message.
1030 (get_note_type): Fix spelling typo.
1032 * configure.in (ALL_LINGUAS): Add sv
1033 * po/sv.po: New file.
1035 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1037 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1038 (unw_print_grmask): Likewise.
1039 (unw_print_frmask): Likewise.
1041 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1043 * arsup.c: Remove ARGSUSED.
1044 * debug.c: Likewise.
1046 * nlmconv.c: Likewise.
1047 * prdbg.c: Likewise.
1048 * stabs.c: Likewise.
1049 * wrstabs.c: Likewise.
1051 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1053 * arlex.l: Use #include "" instead of <> for local header files.
1054 * coffdump.c: Likewise.
1055 * coffgrok.c: Likewise.
1056 * nlmconv.c: Likewise.
1057 * nlmheader.y: Likewise.
1058 * srconv.c: Likewise.
1059 * strings.c: Likewise.
1060 * sysdump.c: Likewise.
1061 * unwind-ia64.h: Likewise.
1062 * windres.h: Likewise.
1063 * winduni.h: Likewise.
1065 2002-05-24 Tom Rix <trix@redhat.com>
1067 * MAINTAINERS: Add self as the d10v maintainer.
1069 2002-05-24 TAMURA Kent <kent@netbsd.org>
1071 * configure.in: Builds dlltool for i386-netbsdpe.
1072 * configure: Regenerate.
1074 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1076 * size.c: Fix formatting.
1077 * srconv.c: Likewise.
1078 * stabs.c: Likewise.
1079 * sysdump.c: Likewise.
1080 * unwind-ia64.c: Likewise.
1081 * wrstabs.c: Likewise.
1083 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1085 * readelf.c (get_segment_type): Add PT_TLS.
1086 (get_elf_section_flags): Add SHF_TLS.
1087 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1088 (process_dynamic_segment): Use puts instead of printf.
1089 (get_symbol_type): Support STT_TLS.
1090 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1091 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1092 Add SEC_THREAD_LOCAL.
1094 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1096 * rdcoff.c: Fix formatting.
1097 * rddbg.c: Likewise.
1098 * readelf.c: Likewise.
1099 * rename.c: Likewise.
1100 * resbin.c: Likewise.
1101 * resrc.c: Likewise.
1102 * resres.c: Likewise.
1104 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1106 * filemode.c: Fix formatting.
1108 * is-ranlib.c: Likewise.
1109 * is-strip.c: Likewise.
1110 * maybe-ranlib.c: Likewise.
1111 * maybe-strip.c: Likewise.
1112 * nlmconv.c: Likewise.
1114 * not-ranlib.c: Likewise.
1115 * not-strip.c: Likewise.
1116 * objcopy.c: Likewise.
1117 * objdump.c: Likewise.
1119 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1121 * objdump.c (dump_headers): Fix output formatting for ELF32
1122 architectures in a BFD64 enabled toolchain.
1124 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1126 * debug.c: Fix formatting.
1127 * debug.h: Likewise.
1128 * dlltool.c: Likewise.
1129 * dllwrap.c: Likewise.
1130 * emul_aix.c: Likewise.
1131 * emul_vanilla.c: Likewise.
1133 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1135 * addr2line.c: Fix formatting.
1137 * arsup.c: Likewise.
1138 * arsup.h: Likewise.
1139 * binemul.c: Likewise.
1140 * binemul.h: Likewise.
1141 * bucomm.c: Likewise.
1142 * coffdump.c: Likewise.
1143 * coffgrok.c: Likewise.
1144 * coffgrok.h: Likewise.
1146 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1148 * MAINTAINERS: Add myself as the second AVR port maintainer.
1150 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1152 * MAINTAINERS: Update my email address.
1154 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1156 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1158 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1160 * configure.in: Replace `*pe' with `pe' throughout.
1161 * configure: Regenerate.
1163 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1165 * Makefile.am: Honour DESTDIR.
1166 * Makefile.in: Regenerate.
1168 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1170 * dlltool.c (process_def_file): Add missing prototype.
1171 (new_directive, assemble_file, main): Likewise.
1172 (process_def_file, new_directive): Make static.
1173 (inform): Rewrite using VA_FIXEDARG.
1174 * dllwrap.c (mybasename): Add missing prototype.
1175 (strhash, main): Likewise.
1176 (inform): Rewrite using VA_FIXEDARG.
1178 (cleanup_and_exit): Use old style function definition.
1179 (strhash): Likewise.
1180 * windres.c (define_resource): Use one memset to clear all of
1181 struct res_resource.
1183 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1184 call to rules that need no lookahead. Check for no lookahead.
1186 2002-05-06 Borut Razem <borut.razem@siol.net>
1188 * rclex.l (get_string): Correct "strings" list handling.
1189 * resrc.c (read_rc_file): Discard strings.
1191 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1193 * ar.c (replace_members): Remove unused var. Formatting fix.
1194 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1196 * MAINTAINERS: Sort port maintainers by CPU.
1198 2002-05-04 Bob Byrnes <byrnes@curl.com>
1200 * size.c (display_archive): Add last_arfile and code to close archives.
1202 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1204 * nm.c (print_symbol): Check returned filename from
1205 bfd_find_nearest_line is non-NULL.
1207 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1209 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1211 2002-04-24 Christian Groessler <chris@groessler.org>
1213 * MAINTAINERS: Changed my email address.
1215 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1217 * arparse.y: Fix syntax warning.
1219 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1221 * readelf.c (fetch_location_list): Remove unused function.
1223 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1224 and display a warning message, then exit the loop.
1226 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1228 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1230 * resrc.c (write_rc_dialog): If charset is non-default value
1231 display all of the DIALOGEX parameters.
1233 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1235 * rcparse.y: Allow two to five parameter in FONT statement of
1237 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1239 (res_to_bin_dialog): Likewise.
1240 * windres.h: Added misssing charset variable to dialog_ex
1243 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1245 * rcparse.y: Set MEMFLAG_PURE by default.
1247 2002-04-09 Bernd Herd <info@herdsoft.com>
1249 * rcparse.y: CLASS definitions in DIALOG resources
1251 Fix typo in BEDIT warning.
1252 Don't add default dialog style when explicit style specified.
1253 Add WS_CAPTION dialog style if CAPTION is specified.
1255 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1256 (handle_quotes) "\a" escape (used for right justified key
1257 definitions in menus) is encodes as binary 8.
1259 * resrc.c (write_rc_dialog): Print style even if it is 0.
1260 (write_rc_directory): Fix overlooked sublang shift bug.
1261 (bin_to_res_dialog): Don't print empty dialog caption.
1263 * resbin.c (bin_to_res_dialog): Use signature to identify
1266 * windres.c (main): Set default LANGUAGE to english/us.
1268 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1270 * resrc.c: print CLASS names in quotes
1272 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1274 * MAINTAINERS: Update my email address.
1276 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1278 * dep-in.sed: Cope with absolute paths.
1279 * Makefile.am (dep.sed): Subst TOPDIR.
1281 * Makefile.in: Regenerate.
1283 2002-03-27 Peter Targett <peter.targett@arc.com>
1285 * MAINTAINERS: Update my email address.
1287 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1289 * Makefile.am: Run "make dep-am".
1290 * Makefile.in: Regenerate.
1291 * doc/Makefile.in: Regenerate.
1292 * po/POTFILES.in: Regenerate.
1293 * aclocal.m4: Regenerate.
1294 * config.in: Regenerate.
1295 * configure: Regenerate.
1297 2002-03-20 Daniel Berlin <dan@dberlin.org>
1299 * readelf.c: Add support for displaying dwarf2 location lists.
1300 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1301 (parse_args): Use 'O' as shorthand for displaying location list
1303 (process_section_headers): Handle debug_loc as well.
1304 (load_debug_loc): New.
1305 (free_debug_loc): New.
1306 (fetch_location_list): New.
1307 (display_debug_loc): New.
1308 (display_debug_info): Call load_debug_loc and free_debug_loc.
1309 (debug_displays): We can display .debug_loc now, too.
1310 (usage): Update usage string.
1311 (read_and_display_attr_value): Note location lists, but don't
1312 display them inline.
1314 2002-03-18 Tom Rix <trix@redhat.com>
1316 * Makefile.am: Add binutils emulation support.
1317 * configure.in: Same.
1318 * configure.tgt: New file. Same.
1319 * ar.c (main): Use ar_emul_parse_arg.
1320 (usage): Use ar_emul_usage.
1321 (replace_members): Use ar_emul_replace, ar_emul_append.
1322 * binemul.c: New file. Define the binutils emulation
1323 layer. Define default methods.
1324 * binemul.h: New file. Binutils emulation layer header file.
1325 * emul_aix.c: New file. AIX binutils emulation.
1326 * emul_vanilla.c: New file. Default binutils emulation.
1327 * Makefile.in: Regenerate.
1330 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1332 * po/fr.po: Updated version.
1334 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1336 * po/fr.po: Updated version.
1338 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1340 * README: Update some version numbers.
1342 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1344 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1345 (Architecture Selection): Likewise.
1347 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1349 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1350 generating .exp file.
1352 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1354 * readelf.c (dump_relocations): Fix typo.
1356 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1358 * NEWS: Mark 2.12 branch.
1360 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1362 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1363 types for 64-bit MIPS. Narrow some fields for 80-char
1365 (dump_relocations): Change spelling from 'unrecognised'
1367 (decode_ARM_machine_flags): Likewise.
1368 (parse_args): Likewise.
1369 (read_and_display_attr_value): Likewise.
1370 (display_debug_section): Likewise.
1372 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1374 * NEWS: Mention support for MMIX.
1376 2002-02-13 Matt Fredette <fredette@netbsd.org>
1378 * readelf.c (get_machine_flags): Recognize EF_M68000.
1380 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1382 * MAINTAINERS: Added self as MN10300 co-maintainer.
1384 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1386 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1389 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1391 * MAINTAINERS: List myself as branch maintainer.
1393 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1395 * configure: Regenerate.
1396 * objcopy.c: Update copyright date.
1397 * doc/Makefile.in: Regenerate.
1399 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1401 * nlmconv.c: Back out localtime PARAMS change.
1403 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1405 * objcopy.c (MKDIR): Define.
1406 (copy_archive): Make name_list.name const. Use MKDIR.
1407 Handle duplicate files in archives by making more temp dirs.
1409 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1411 * coffdump.c: Include "getopt.h" after "bucomm.h"
1412 so that macros are defined correctly.
1413 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1414 prototype. Prototype main.
1415 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1417 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1419 * MAINTAINERS: Added self as SH co-maintainer.
1421 2002-02-05 Nick Clifton <nickc@redhat.com>
1423 * po/tr.po: Updated translation.
1425 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1427 * Makefile.am: Run "make dep-am"
1428 * Makefile.in: Regenerate.
1430 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1432 * nm.c (print_value): Mark abfd unused.
1434 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1436 * unwind-ia64.c (unw_decoder): Change second argument
1437 to unsigned int, to match function prototypes.
1439 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1441 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1442 __GNU_LIBRARY__ will be defined.
1445 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1447 * configure: Regenerated.
1449 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1451 * doc/Makefile.am (install): Depend on install-info.
1452 * doc/Makefile.in: Regenerate.
1454 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1456 * objcopy.c (strip_usage): Document -d as an alias
1459 * size.c (usage): Document [-t | --totals] options.
1460 (long_options): Add --totals option.
1461 (main): If the [-t | --totals] option is specified and
1462 the output format is Berkeley-style, print the total
1463 text, data, and bss sizes of all objects listed.
1464 (print_berkeley_format): If the [-t | --totals] option
1465 is specified, track the total text, data, and bss
1467 * doc/binutils.texi (size): Document [-t | --totals] options.
1468 (strip): Document -d as an alias for --strip-debug.
1469 * NEWS: Mention new feature of size.
1471 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1473 * po/fr.po: Updated version.
1474 * po/es.po: Updated version.
1476 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1478 * addr2line.c (usage): Update text to provide verbose
1479 description of the command line options.
1480 * ar.c (usage): Update text to provide verbose
1481 description of the command line options.
1482 (main): Accept -h and -H when running as ranlib.
1483 * coffdump.c (show_usage): Update text to provide verbose
1484 description of the command line options.
1485 * dlltool.c (main): Accept -H as an alias for --help.
1486 * nlmconv.c (show_usage): Update text to provide verbose
1487 description of the command line options.
1488 * nm.c (usage): Replace OPTIONS with option(s).
1489 (main): Accept -H as an alias for --help.
1490 * objcopy.c (strip_main): Accept -H as an alias for --help.
1491 * objdump.c (main): Accept -v as an alias for --verbose.
1492 * readelf.c (usage): Adjust format to match style used in
1494 * size.c (usage): Update text to provide verbose description
1495 of the command line options.
1496 (main): Accept -v, -h and -H as command line options.
1497 * srconv.c (show_usage): Update text to provide verbose
1498 description of the command line options.
1499 * strings.c (main): Accept -H and -v as command line options.
1500 (usage): Update text to provide verbose description of the
1501 command line options.
1502 * sysdump.c (show_usage): Update text to provide verbose
1503 description of the command line options.
1504 * windres.c (usage): Adjust format to match style used in
1507 * coffdump.c: Fix formatting.
1508 * nlmconv.c: Fix formatting.
1509 * srconv.c: Fix formatting.
1510 * sysdump.c: Fix formatting.
1512 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1514 * Makefile.am: Run "make dep-am".
1515 * Makefile.in: Regenerate.
1517 2002-01-18 Andreas Jaeger <aj@suse.de>
1519 * version.c (print_version): Update year.
1521 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1523 * readelf.c (get_machine_name): Handle EM_PPC64.
1524 (guess_is_rela): Here too.
1526 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1528 * po/binutils.pot: Regenerate.
1529 * po/fr.po: Regenerate.
1530 * po/tr.po: Regenerate.
1532 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1534 * po/tr.po: Import new version.
1536 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1538 * readelf.c (get_ppc64_dynamic_type): New.
1539 (get_dynamic_type): Call it.
1541 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1543 * objcopy.c (copy_usage): Use "options" instead of "switches".
1544 (strip_usage): Use "options" instead of "switches".
1545 * doc/binutils.texi (dlltool): Refer to "options" instead of
1548 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1550 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1552 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1554 * po/es.po: Import from translation project.
1555 * configure.in (ALL_LINGUAS): Add es.
1556 * configure: Regenerate.
1558 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1560 * readelf.c (get_netbsd_elfcore_note_type): Use
1561 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1563 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1565 * readelf.c: Update copyright years.
1566 (get_note_type): Return a const char *.
1567 (get_netbsd_elfcore_note_type): New function.
1568 (process_note): Use get_netbsd_elfcore_note_type to get
1569 the note type string for NetBSD ELF core files.
1571 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1573 * readelf.c (get_ia64_segment_type): Add support for macros.
1574 (get_segment_type): Add support for IA64 specific macros.
1576 2001-12-20 Julian v. Bock <julian@wongr.net>
1578 * readelf.c (print_symbol): New function: Print a formatted symbol
1579 name. If --wide is specified do not truncate it.
1580 (dump_relocations): Use print_symbol() to print symbol names.
1581 (process_symbol_table): Likewise.
1582 (process_syminfo): Likewise.
1583 (process_mips_specific): Likewise.
1584 (usage): Document new feature of --wide switch.
1585 * doc/binutils.texi (objdump): Document additional behaviour of
1588 2001-12-18 Michael Snyder <msnyder@redhat.com>
1590 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1591 (copy_object): Don't set the start address or flags of a core file.
1592 (copy_section): Don't relocate a core file. Don't copy contents
1593 if the input section has the contents flag set, but the output
1594 section does not (which happens with the fake 'note' pseudo-
1595 sections that BFD creates for corefiles).
1597 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1599 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1600 ASE extensions. More robust code for ISA checking. Ignore empty fields
1601 in header flags for GNU extensions.
1603 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1605 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1607 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1609 * po/ja.po: Import from translation project.
1610 * configure.in (ALL_LINGUAS): Add ja.
1611 * configure: Regenerate.
1613 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1615 * addr2line.c (main): Protoype.
1616 * ar.c (main): Protoype.
1617 * nm.c (main): Protoype.
1618 * objcopy.c (main): Protoype.
1619 * objdump.c (main): Protoype.
1620 * size.c (main): Protoype.
1621 * strings.c (main): Protoype.
1623 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1625 * readelf.c (symtab_shndx_hdr): New global.
1626 (SECTION_HEADER_INDEX): Define.
1627 (SECTION_HEADER_NUM): Define.
1628 (SECTION_HEADER): Define.
1629 (GET_ELF_SYMBOLS): Pass two params rather than three.
1630 (get_32bit_elf_symbols): Take file and section args. Read and
1631 use SHT_SYMTAB_SHNDX.
1632 (get_64bit_elf_symbols): Likewise.
1633 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1634 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1635 Remember symtab_shdx_hdr.
1636 (process_program_headers): Scan from index 1 for segment map.
1637 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1639 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1640 (process_unwind): Likewise.
1641 (process_version_sections): Likewise.
1642 (process_symbol_table): Likewise.
1643 (display_debug_info): Likewise.
1644 (process_dynamic_segment): Fake up a symtab section for changed
1646 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1647 (process_program_headers): Kill signed/unsigned warning.
1648 (load_debug_str): Likewise.
1649 (display_debug_info): Likewise.
1651 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1653 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1655 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1657 * readelf.c (process_file_header): Print extended e_shnum and
1658 e_shdtrndx values. Set elf_header values for same.
1659 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1660 (get_64bit_section_headers): Likewise.
1661 (process_section_headers): Update calls.
1662 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1664 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1666 * objcopy.c (setup_section): Copy entsize.
1668 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1670 * readelf.c (guess_is_rela): Add support for stormy16.
1671 (dump_relocations): Likewise.
1672 (get_machine_name): Likewise.
1674 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1676 * dllwrap.c (main) Replace multiple strings describing a
1677 single error with a single, newline escaped sentence to permit
1678 better translation into foreign languages.
1680 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1683 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1685 * strings.c (get_char): Initialize value.
1687 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1689 * arlex.l: Silence compile warnings.
1690 * arsup.h: Likewise. Fix formatting.
1692 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1694 * strings.c: Include config.h before bfd.h.
1695 (file_off): New type.
1696 (file_open): Define.
1697 (print_strings): Use file_off instead of file_ptr. Print addresses
1698 which don't fit into long correctly.
1699 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1701 (strings_file): Use file_off instead of file_ptr. Use file_open.
1702 * configure.in: Check for getc_unlocked.
1703 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1705 * configure: Rebuilt.
1706 * config.h.in: Rebuilt.
1708 2001-11-29 H.J. Lu <hjl@gnu.org>
1710 * bucomm.c (make_tempname): Revert the changes made on
1711 2001-11-14 and 2001-11-12. They won't work with directories.
1713 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1715 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1716 CFLAGS_FOR_TARGET to runtest in environment.
1717 * Makefile.in: Rebuild.
1718 * doc/Makefile.in: Rebuild.
1720 2001-11-28 Mike Stump <mrs@wrs.com>
1722 * objcopy.c (setup_section): Preserve SEC_RELOC when
1723 --set-section-flags is used.
1725 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1727 * readelf.c (do_debug_str): New variable.
1728 (display_debug_str): New function: Display the contents of a
1730 (load_debug_str): New function: Load in the contents of a
1732 (free_debug_str): New function: Free the memory used by
1734 (fetch_indirect_string): Retrieve a string from the .debug_str
1737 (parse_args): Accept -ws.
1738 (process_section_headers): Allow the display of the .debug_str
1740 (read_and_display_attr_value): Use fetch_indirect_string. Show
1741 offset into .debug_str section.
1742 (display_debug_info): Use load_debug_str and free_debug_str.
1743 (debug_displays): Add .debug_str.
1744 * doc/binutils.texi: Document -ws.
1746 2001-11-19 Andreas Jaeger <aj@suse.de>
1748 * testsuite/binutils-all/objdump.exp: Add x86-64.
1750 2001-11-15 Andreas Schwab <schwab@suse.de>
1752 * readelf.c: Fix warnings without terminating newline.
1754 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1756 * doc/binutils.texi (objdump): Document ppc -M options.
1758 2001-11-14 Andreas Jaeger <aj@suse.de>
1760 * doc/binutils.texi (objdump): Fix description to use x86-64.
1762 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1764 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1765 not all systems provide mkstemp.
1767 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1769 * doc/binutils.texi (objdump): Document x86 -M options.
1771 2001-11-13 Keith Walker <keith.walker@arm.com>
1773 * readelf.c (read_and_display_attr_value): New function to
1774 handle DW_FORM_indirect.
1775 (read_and_display_attr): Use it.
1777 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1779 * readelf.c (display_debug_lines): Deal with unknown standard
1780 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1783 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1785 * MAINTAINERS: Add self as tic54x maintainer. This target
1786 includes the IBM C54XDSP clone.
1788 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1790 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1792 2001-11-09 Jeffrey A Law (law@cygnus.com)
1794 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1795 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1796 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1797 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1798 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1799 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1800 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1802 * readelf.c (get_elf_class): Fix ISO portability glitch.
1803 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1805 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1807 * readelf.c (debug_str, debug_str_size): New.
1808 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1810 (read_and_display_addr): Handle DW_FORM_strp.
1811 (display_debug_info): Read .debug_str section if present,
1812 so that DW_FORM_strp can be handled.
1813 Fix test for non-existant .debug_abbrev section.
1815 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1817 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1819 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1821 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1823 * MAINTAINERS: Add self as s390/s390x maintainer.
1825 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1827 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1829 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1831 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1832 * configure: Regernate.
1833 * po/fr.po: New file.
1834 * po/tr.po: New file.
1836 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1838 * MAINTAINERS: Add self as MMIX port maintainer.
1839 * readelf.c: Include elf/mmix.h.
1840 (guess_is_rela): MMIX is RELA.
1841 (dump_relocations): Handle MMIX relocations.
1842 * Makefile.am: Regenerate dependencies.
1843 * Makefile.in: Regenerate.
1845 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1847 * readelf.c (parse_args): Handle multiple options to the -w
1850 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1852 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1853 LOPROC, LOOS and LOUSER.
1855 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1857 * MAINTAINERS: Update my email address.
1859 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1861 * doc/Makefile.in: Regenerate.
1862 * configure: Regenerate.
1864 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1866 * readelf.c (display_debug_line, display_debug_pubnames,
1867 display_debug_info, display_debug_frames): Detect and warn
1868 about 64-bit format entries.
1869 (display_debug_aranges): Reword 64-bit warning.
1870 (debug_displays): Add .debug_pubtypes as a known, but not yet
1871 supported, debug section.
1873 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1875 * coffdump.c (PROGRAM_VERSION): Delete.
1876 (main <'V'>): Call print_version.
1877 * srconv.c: Likewise.
1878 * sysdump.c: Likewise.
1879 * version.c (program_version): Remove.
1880 (print_version): Use BFD_VERSION_STRING. Just print the current
1881 year in copyright message.
1882 * addr2line.c (program_version): Remove unused declaration.
1883 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1884 place of BFD_VERSION.
1885 * Makefile.am (Makefile): Depend on bfd/configure.in.
1886 (cplus-dem.o): Depend on Makefile.
1888 * Makefile.in: Regenerate.
1890 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1892 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1893 format .debug_arange sections.
1894 (main): Add missing prototype.
1896 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1898 * Makefile.am: Update dependencies with "make dep-am".
1899 * Makefile.in: Regenerate.
1901 2001-09-28 Richard Henderson <rth@redhat.com>
1903 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1905 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1907 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1909 (non_fatal): Likewise.
1910 * objdump.c (objdump_sprintf): Likewise.
1911 * readelf.c (error): Likewise.
1914 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1916 * readelf.c (do_wide): New.
1917 (options): Add --wide.
1918 (usage, parse_args): Likewise.
1919 (process_program_headers): Put each segment on a single line if
1921 (process_section_headers): Put each section on a single line if
1923 * doc/binutils.texi: Document it.
1926 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1928 * readelf.c (print_vma): Print 8 digits of low hex value.
1930 2001-09-24 Andreas Jaeger <aj@suse.de>
1932 * nlmconv.c: Fix warnings about unused attributes and function
1935 * strings.c: Add prototype for get_char.
1937 2000-09-19 H.J. Lu <hjl@gnu.org>
1939 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1940 $(srcdir)/cxxfilt.man.
1941 * doc/Makefile.in: Rebuild.
1943 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1945 * objcopy.c (copy_main): Correct rename-section string parsing.
1946 Consolidate new_name parsing, and error messages.
1948 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1950 * addr2line.c: Don't include <ctype.h>.
1951 (main): For gettext, also set the LC_CTYPE locate facet.
1952 * ar.c (main): Likewise.
1953 * coffdump.c (main): Likewise.
1954 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1955 (main): For gettext, also set the LC_CTYPE locate facet.
1956 Use ISALNUM instead of isalpha/isdigit.
1957 * dllwrap.c: Don't include <ctype.h>.
1958 (main): For gettext, also set the LC_CTYPE locate facet.
1959 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1960 (main): For gettext, also set the LC_CTYPE locate facet.
1961 Use TOUPPER instead of islower/toupper.
1962 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1963 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1964 Use TOUPPER instead of islower/toupper.
1965 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1966 * objcopy.c (main): Likewise.
1967 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1968 (disassemble_bytes): Use ISPRINT instead of isprint.
1969 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1970 (dump_data): Use ISPRINT instead of isprint.
1971 (main): For gettext, also set the LC_CTYPE locate facet.
1972 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1973 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1974 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1975 Use TOUPPER instead of islower/toupper.
1976 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1977 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1978 (write_rc_accelerators): Use ISPRINT instead of isprint.
1979 (write_rc_rcdata): Likewise.
1980 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1981 * srconv.c (main): Likewise.
1982 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1983 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1984 isdigit/isupper/islower.
1985 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1986 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1987 stab_demangle_prefix, stab_demangle_qualified,
1988 stab_demangle_template, stab_demangle_type,
1989 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1990 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1991 (isgraphic): Use ISPRINT instead of isascii/isprint.
1992 (main): Remove HAVE_LC_MESSAGES dependency.
1993 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1994 (pbarray): Use ISPRINT instead of isprint.
1995 (main): For gettext, also set the LC_CTYPE locate facet.
1996 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1997 (format_from_filename): Use ISPRINT instead of isprint.
1998 (main): For gettext, also set the LC_CTYPE locate facet.
1999 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2000 (unicode_print): Use ISPRINT instead of isprint.
2001 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2002 (stab_variable): Use ISDIGIT instead of isdigit.
2004 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2006 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2007 Replace bfd_read call with call to bfd_bread.
2008 (extract_file): Likewise.
2010 * objdump.c (dump_section_header): Cast section->filepos to
2011 unsigned long to suit printf format string.
2012 * readelf.c (process_section_headers): Similarly for sh_offset.
2013 (process_unwind): Likewise.
2015 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2017 * strings.c (encoding, encoding_bytes): New variables.
2018 (long_options): Add --encoding.
2019 (main): Accept -e and --encoding.
2020 (get_char): New function. Read a, possibly wide, character from
2022 (print_strings): Use get_char().
2023 (usage): Document new command line option.
2024 * doc/binutils.texi: Document new command line option.
2025 * NEWS: Announce new command line option.
2027 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2029 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2030 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2031 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2032 Removed EM_CYGNUS_ARC.
2034 2001-09-04 Jeffrey A Law (law@cygnus.com)
2036 * readelf.c: Include elf/h8 for H8 series definitions.
2037 (guess_is_rela): H8 series if RELA.
2038 (dump_relocations): Handle H8 series relocations.
2040 2001-08-31 Eric Christopher <echristo@redhat.com>
2042 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2044 2001-08-29 Peter Targett <peter.targett@arccores.com>
2046 * MAINTAINERS: Include ARC Maintainer.
2048 2001-08-29 Ben Elliston <bje@redhat.com>
2050 * stabs.c (stab_demangle_template): Initialise s4.
2052 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2054 * readelf.c (dump_relocations): Recognise EM_PPC64.
2056 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2058 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2060 2001-08-25 H.J. Lu <hjl@gnu.org>
2062 * nm.c (print_width): New.
2063 (display_rel_file): Set `print_width' according to
2065 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2067 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2069 * objcopy.c (use_alt_mach_code): New variable.
2070 (OPTION_ALT_MACH_CODE): Define.
2071 (copy_options): Added --alt-machine-code.
2072 (copy_main): Handle it.
2073 (copy_object): Switch to alternate machine code if requested.
2074 * doc/binutils.texi: Document new option.
2077 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2079 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2081 2001-08-21 H.J. Lu <hjl@gnu.org>
2083 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2084 (display_debug_info): Cast for 64bit hosts.
2085 (display_debug_frames): Likewise.
2086 (process_mips_specific): Likewise.
2088 2001-08-21 Andreas Jaeger <aj@suse.de>
2090 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2092 * sysdump.c: Add missing prototypes.
2093 * srconv.c: Likewise.
2094 * unwind-ia64.c: Likewise.
2095 * coffdump.c: Likewise.
2097 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2099 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2100 of declaring xcalloc.
2102 2001-08-10 H.J. Lu <hjl@gnu.org>
2104 * nm.c (print_value): Add one arg, bfd *.
2105 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2106 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2107 (print_symbol_info_sysv): Likewise.
2108 (print_symbol_info_posix): Likewise.
2110 * objdump.c (dump_section_header): Replace printf_vma with
2112 (print_section_stabs): Likewise.
2113 (dump_bfd_header): Likewise.
2114 (objdump_print_value): Replace sprintf_vma with
2116 (disassemble_bytes): Likewise.
2117 (dump_reloc_set): Likewise.
2119 2001-08-10 Andreas Jaeger <aj@suse.de>
2121 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2123 * configure: Regenerate.
2125 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2127 * readelf.c: Add missing prototypes.
2128 * objdump.c: Likewise. Format existing prototypes.
2130 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2132 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2133 of any RELA relocation for the abbrev_offset memory location that
2134 refers to the .debug_abbrev section symbol.
2136 2001-08-07 H.J. Lu <hjl@gnu.org>
2138 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2139 (main): Return process_file ().
2141 2001-08-05 Philip Blundell <philb@gnu.org>
2143 * doc/binutils.texi: Use "Thumb" not "THUMB".
2145 2001-08-03 John Healy <jhealy@redhat.com>
2147 Patch suggested by Frank Eigler <fche@redhat.com>.
2148 * objdump.c (disassemble_data): Fill in section member of the
2149 disasm_info structure.
2151 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2153 * configure.in: Added --with-windres option.
2154 * configure: Regenerated.
2156 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2158 * doc/binutils.texi: Use @command{name} for commands;
2159 use @option{-opt} for options; use @table @env for list of options;
2160 remove spaces arround [ | ] in synopsis.
2162 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2165 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2167 * objcopy.c: Fix formatting.
2168 (section_rename): New structure.
2169 (OPTION_RENAME_SECTION): New switch.
2170 (copy_usage): Document new switch.
2171 (add_section_rename): New function: Add a node to the section
2173 (find_section_rename): New function: Find the new name and
2174 flags for a section.
2175 (setup_section): Call find_section_name to determine the name
2176 of the output section.
2177 (copy_main): Handle OPTION_RENAME_SECTION.
2178 * binutils.texi: Document new switch.
2179 * NEWS: Mention new switch.
2181 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2183 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2184 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2185 bug-binutils@gcc.org.
2187 2001-07-28 Matthias Kramm <kramm@quiss.org>
2189 * bucomm.c (list_supported_architectures): New function.
2190 * bucomm.h (list_supported_architectures): Declare.
2191 * objdump.c (usage): Call the above.
2193 2001-07-25 Dave Brolley <brolley@redhat.com>
2195 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2196 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2198 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2200 * README: Update for 2.11. Change bug reporting email address.
2201 * MAINTAINERS: Tidy up. Change bug reporting email address.
2203 2001-07-16 DJ Delorie <dj@redhat.com>
2205 * resres.c (write_res_header): Align header size.
2206 (res_align_file): Calculate alignment correctly.
2208 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2210 * resrc.c (write_rc_resource): Likewise.
2211 * windres.h (SUBLANG_SHIFT): Define - as 10.
2213 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2215 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2217 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2219 * MAINTAINERS: Add notes about branch checkins.
2221 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2223 * readelf.c (display_debug_macinfo): New function, display
2224 .debug_macinfo section.
2225 (do_debug_macinfo): New variable.
2226 (parse_args): Handle "-w[mM]" to mean display macro info.
2227 (process_section_headers): Handle debug_macinfo.
2228 (debug_displays): Replace unsupported function with macinfo
2229 function for .debug_macinfo display.
2230 * doc/binutils.texi: Document new command line switch.
2231 * NEWS: Document new feature of readelf.
2233 2001-07-05 H.J. Lu <hjl@gnu.org>
2235 * objcopy.c (filter_symbols): Don't turn undefined symbols
2238 2001-07-03 H.J. Lu <hjl@gnu.org>
2240 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2243 (dlltool.1): Likewise.
2244 (nlmconv.1): Likewise.
2246 (objcopy.1): Likewise.
2247 (objdump.1): Likewise.
2248 (ranlib.1): Likewise.
2249 (readelf.1): Likewise.
2251 (strings.1): Likewise.
2252 (strip.1): Likewise.
2253 (windres.1): Likewise.
2254 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2255 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2258 * doc/Makefile.in: Regenerated.
2260 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2262 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2264 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2266 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2268 2001-06-29 James Cownie <jcownie@etnus.com>
2270 * readelf.c: Support DWARF 2.1 attributes.
2272 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2274 * readelf.c (GET_DATA_ALLOC): Remove.
2276 (get_data): New function combining above macros, with an extra
2278 (slurp_rela_relocs): Use get_data, and catch error return.
2279 (slurp_rel_relocs): Likewise.
2280 (get_32bit_program_headers): Likewise.
2281 (get_64bit_program_headers): Likewise.
2282 (get_32bit_section_headers): Likewise.
2283 (get_64bit_section_headers): Likewise.
2284 (get_32bit_elf_symbols): Likewise.
2285 (get_64bit_elf_symbols): Likewise.
2286 (process_section_headers): Likewise.
2287 (process_relocs): Likewise.
2288 (slurp_ia64_unwind_table): Likewise.
2289 (process_unwind): Likewise.
2290 (get_32bit_dynamic_segment): Likewise.
2291 (get_64bit_dynamic_segment): Likewise.
2292 (process_dynamic_segment): Likewise.
2293 (process_version_sections): Likewise.
2294 (process_symbol_table): Likewise.
2295 (dump_section): Likewise.
2296 (display_debug_info): Likewise.
2297 (display_debug_section): Likewise.
2298 (process_section_contents): Likewise.
2299 (process_corefile_note_segment): Likewise.
2300 (process_mips_specific): Likewise. Also free econf32, econf64.
2302 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2304 * readelf.c (dump_relocations): Print "bad symbol index" if
2305 symtab == NULL with non-zero symtab_index.
2306 (process_relocs): Don't bomb if reloc section has no symsec.
2308 2001-06-24 H.J. Lu <hjl@gnu.org>
2310 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2312 (copy_main): Apply the the change made to strip_main on
2313 2001-05-30 by accident.
2315 2001-06-23 Andreas Jaeger <aj@suse.de>
2317 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2319 (unw_decode_x2): Likewise.
2320 (unw_decode_x3): Likewise.
2321 (unw_decode_x4): Likewise.
2323 2001-06-23 Ben Elliston <bje@redhat.com>
2325 * MAINTAINERS: Add myself as M88k maintainer.
2327 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2329 * objcopy.c (strip_main): Support -o or --output-file command lien
2332 2001-06-19 H.J. Lu <hjl@gnu.org>
2334 * doc/Makefile.in: Regenerated.
2336 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2338 * readelf.c: Restore formatting.
2340 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2342 * Makefile.am: Move documentation into doc subdirectory.
2343 * Makefile.in: Regenerated.
2344 * binutils.texi: Move into doc subdirectory.
2345 * addr2line.1: Removed.
2347 * dlltool.1: Likewise.
2348 * nlmconv.1: Likewise.
2350 * objcopy.1: Likewise.
2351 * objdump.1: Likewise.
2352 * ranlib.1: Likewise.
2353 * readelf.1: Likewise.
2355 * strings.1: Likewise.
2356 * strip.1: Likewise.
2357 * windres.1: Likewise.
2358 * cxxfilt.man: Likewise.
2359 * doc: New Directory.
2360 * doc/Makefile.am: New file.
2361 * doc/Makefile.in: Generate.
2363 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2365 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2367 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2369 * MAINTAINERS: Update my email address.
2371 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2373 * objcopy.c: Add new switches: --keep-global-symbol,
2374 --keep-symbols, --localize-symbols, --keep-global-symbols and
2376 * binutils.texi: Document new switches.
2377 * objcopy.1: Regenerate.
2378 * NEWS: Announce new feature.
2380 2001-05-28 Andreas Jaeger <aj@suse.de>
2382 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2383 variables, fix format strings.
2385 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2387 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2388 when computing the address of the line to show.
2390 2001-05-16 Richard Henderson <rth@redhat.com>
2392 * readelf.c (do_debug_frames_interp): New.
2393 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2394 (byte_get_big_endian): Likewise.
2395 (parse_args) ['F']: Set do_debug_frames_interp.
2396 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2397 (frame_display_row): Don't trunc pc_begin to int.
2398 (size_of_encoded_value): New.
2399 (display_debug_frames): Handle 64-bit targets. Print raw data
2400 unless do_debug_frames_interp.
2401 (debug_displays): Remove duplicate .debug_frame.
2403 2001-05-15 Ralf Baechle <ralf@gnu.org>
2405 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2406 The former constant was never in active use and is used otherwise
2409 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2411 * readelf.c (process_unwind): Print all unwind sections, not just
2414 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2416 * readelf.c (process_unwind): Remove const specifier.
2418 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2420 * strings.c (isgraphic): Do not use isascii() unless it is needed
2421 for isprint() to work.
2422 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2424 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2426 * NEWS: Announce support for OpenRISC.
2428 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2430 * dlltool.c (do_default_excludes): Initialise to true.
2432 2001-04-10 Alan Modra <amodra@one.net.au>
2434 * MAINTAINERS: Update my email address
2435 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2437 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2439 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2441 2001-03-30 H.J. Lu <hjl@gnu.org>
2443 * readelf.c (process_unwind): Just return if do_unwind is 0.
2445 2001-03-28 Roger Sayle <roger@metaphorics.com>
2447 * dlltool.c (make_one_lib_file): Fix section flags for
2448 .text, .data and .bss in stub ds*.o files to match those
2451 2001-03-29 H.J. Lu <hjl@gnu.org>
2453 * readelf.c (process_unwind): Only do unwind sections for
2456 2001-03-28 H.J. Lu <hjl@gnu.org>
2458 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2459 * Makefile.in: Regenerate.
2461 2001-03-26 Andreas Jaeger <aj@suse.de>
2463 * binutils.texi (nm): Fix texi syntax.
2465 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2467 * binutils.texi: Put @c man begin and @c man end indications
2468 to generate man pages using texi2pod and pod2man. Put @c man title
2469 to identify each man. Add SEEALSO entries.
2470 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2471 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2473 (*.1): Build the man pages from binutils.texi.
2474 * Makefile.in: Regenerate.
2476 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2478 * defparse.y (opt_equal_name): allow "." in name.
2479 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2480 (gen_exp_file): Likewise.
2482 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2484 * NEWS: Document addition of -B switch to objcopy.
2485 * binutils.texi: Document addition of -B switch to objcopy.
2486 * objcopy.c: (copy_options): Add --binary-architecture.
2487 (copy_usage): Document -B/--binary-architecture.
2488 (copy_main): Support -B/--binary-architecture. Set
2489 bfd_external_binary_architecture.
2491 2001-03-11 Andreas Jaeger <aj@suse.de>
2493 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2494 (dump_relocations): Likewise.
2495 (get_machine_name): Likewise.
2497 2001-02-28 Nick Clifton <nickc@redhat.com>
2499 * readelf.c: (struct unw_aux_info): Remove const modifier for
2501 (process_unwind): Remove non-K&R compliant LHS type cast in call
2502 to GET_DATA_ALLOC macro.
2504 2001-02-28 Philip Blundell <pb@futuretv.com>
2506 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2507 ABI is in use; remove ambiguity between the "unknown" EABI and
2508 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2509 renamed EF_xx constants.
2511 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2513 * configure.in (BFD_VERSION): New.
2514 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2515 * configure: Regenerate.
2516 * Makefile.am: Run "make dep-am"
2517 * Makefile.in: Regenerate.
2519 2001-02-14 Nick Clifton <nickc@redhat.com>
2521 * MAINTAINERS: Add "Obvious Fix" rule.
2523 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2525 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2526 literal concatenation.
2528 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2530 * readelf.c (struct unw_aux_info): Remove const from the info member.
2531 (process_unwind): Don't type-cast the third argument to the
2532 GET_DATA_ALLOC macro.
2534 2001-02-11 Nick Clifton <nickc@redhat.com>
2536 * readelf.c (dump_relocations): Free corrected allocated
2538 (process_unwind): Fix compile time warning.
2540 2001-02-10 Nick Clifton <nickc@redhat.com>
2542 * binutils.texi: Document new --unwind option to readelf.
2544 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2546 * readelf.c: Add linux target for S/390.
2548 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2550 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2553 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2555 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2556 * aclocal.m4: Regenerate.
2557 * configure: Regenerate.
2559 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2561 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2562 * objdump.c (bfd_target_vector): Likewise.
2564 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2566 * readelf.c (process_unwind): New function.
2567 (slurp_ia64_unwind_table): Ditto.
2568 (dump_ia64_unwind): Ditto.
2569 (find_symbol_for_address): Ditto.
2570 (slurp_rela_relocs): New function (split off from dump_relocations()).
2571 (slurp_rel_relocs): Ditto.
2572 (parse_args): Handle '-u' option.
2574 * unwind-ia64.c: New file.
2575 * unwind-ia64.h: New file.
2576 * Makefile.am: Include unwind-ia64.c in readelf build.
2577 * Makefile.in: Regenerate.
2578 * po/binutils.pot: Regenerate.
2580 2001-02-04 Philip Blundell <philb@gnu.org>
2582 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2583 * configure: Regenerate.
2585 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2587 * ieee.c (ieee_add_bb11): Don't check for backslashes
2588 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2590 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2592 * ieee.c: Update copyright.
2593 (ieee_start_compilation_unit): Don't check for backslashes
2594 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2596 * stabs.c: Update copyright. Include "filenames.h".
2597 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2599 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2601 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2602 sections are present before using them. Remove code duplication.
2603 (process_symbol_table): Check if VERDEF or VERNEED sections are
2604 present before using them.
2606 2001-01-17 Nick Clifton <nickc@redhat.com>
2608 * objcopy.c (copy_object): Fail if attempting to convert the
2609 endianness of the input object file.
2611 * binutils.texi: Explain that objcopy cannot convert endianness.
2613 2001-01-16 Nick Clifton <nickc@redhat.com>
2615 * readelf.c (string_table_length): New variable.
2616 (SECTION_NAME): Catch out of range indices and missing section
2618 (process_section_headers): Delete useless local variable
2619 string_table_offset. Set the value of string_table_length
2620 after loading the string table.
2621 (process_mips_specific): Use SECTION_NAME macro.
2622 (process_file): Set string_table_length to 0 when it is freed.
2624 2001-01-12 Nick Clifton <nickc@redhat.com>
2626 * version.c (print_version): Update copyright date.
2628 2001-01-11 Peter Targett <peter.targett@arccores.com>
2630 * readelf.c (dump_relocations): Include selection with EM_ARC.
2631 (get_machine_name) Update name to "ARC".
2633 2001-01-09 Nick Clifton <nickc@redhat.com>
2635 * Makefile.am: Add rule to build objdump.o from objdump.c and
2637 * Makefile.in: Regenerate.
2639 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2640 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2641 -DDISASSEMBLER_NEEDS_RELOCS.
2642 * configure: Regenerate.
2644 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2645 is defined read in the relocs even if dump_reloc_info is
2648 2001-01-07 Philip Blundell <philb@gnu.org>
2650 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2654 2000-12-19 Nick Clifton <nickc@redhat.com>
2656 * dlltool.c: Add missing support for arm-epoc-pe.
2657 * configure.in: Add missing support for arm-epoc-pe.
2658 * configure: Regenerate.
2660 2000-12-15 Nick Clifton <nickc@redhat.com>
2662 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2663 Mode parts of the x86 port.
2665 2000-12-04 Andreas Jaeger <aj@suse.de>
2667 * readelf.c (guess_is_rela): Add EM_X86_64.
2668 (dump_relocations): Add EM_X86_64.
2669 (get_machine_name): Add EM_X86_64.
2670 Include "elf/x86-64.h".
2672 2000-12-12 Nick Clifton <nickc@redhat.com>
2674 * readelf.c: Fix formatting.
2676 2000-12-11 Jan Hubicka <jh@suse.cz>
2678 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2680 2000-12-07 Andrew Haley <aph@redhat.com>
2682 * readelf.c (display_debug_frames): Only display columns that are
2683 referenced by the frame debug info.
2685 2000-12-05 Nick Clifton <nickc@redhat.com>
2687 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2689 2000-12-04 Jason Merrill <jason@redhat.com>
2691 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2692 (display_debug_section): Likewise.
2693 (display_debug_info): Display CU header before bailing.
2695 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2697 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2698 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2699 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2701 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2704 * readelf.c (get_machine_flags): Add case for
2707 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2709 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2711 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2713 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
2714 Change sourceware.cygnus.com to sources.redhat.com.
2715 Fix typo for "amongst".
2717 2000-11-28 Nick Clifton <nickc@redhat.com>
2719 * strip.1 (COPYING): Mention that the GNU Free Documentation
2720 License is present in the sources, but not the output, and
2721 also available from the GNU website.
2722 (GNU Free Documentation License): Comment out this section.
2731 * addr2line.1: Ditto.
2733 2000-11-27 DJ Delorie <dj@redhat.com>
2735 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2736 (parse_args): Support -wf option.
2737 (process_section_headers): Ditto.
2738 (debug_displays): Ditto.
2739 (display_debug_frames): New, dump *_frame sections.
2740 (frame_need_space): Support for above.
2741 (frame_display_row): Ditto.
2742 * binutils.texi: Document it.
2744 2000-11-24 Nick Clifton <nickc@redhat.com>
2746 * NEWS: Announce support for v5t, v5te and XScale.
2748 2000-11-22 Nick Clifton <nickc@redhat.com>
2750 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2751 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2752 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2753 (get_elf_section_flags: Add SHF_GROUP.
2754 (process_section_headers): Adjust output for 32-bit binaries
2755 to look nice on an 80 column terminal.
2757 2000-11-20 H.J. Lu <hjl@gnu.org>
2759 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2762 2000-11-17 Richard Henderson <rth@redhat.com>
2764 * readelf.c (display_debug_lines): Adjust last change to
2765 use sizeof (external->li_length).
2767 2000-11-17 Richard Henderson <rth@redhat.com>
2769 * readelf.c (display_debug_lines): Fix section length check
2770 and end_of_sequence computation.
2772 2000-11-06 Nick Clifton <nickc@redhat.com>
2774 * binutils.texi: Add GNU Free Documentation License.
2775 * objcopy.1: Add GNU Free Documentation License.
2776 * objdump.1: Add GNU Free Documentation License.
2777 * addr2line.1: Add GNU Free Documentation License.
2778 * ar.1: Add GNU Free Documentation License.
2779 * nlmconv.1: Add GNU Free Documentation License.
2780 * nm.1: Add GNU Free Documentation License.
2781 * ranlib.1: Add GNU Free Documentation License.
2782 * size.1: Add GNU Free Documentation License.
2783 * strings.1: Add GNU Free Documentation License.
2784 * strip.1: Add GNU Free Documentation License.
2786 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2788 * objcopy.c (--srec-len=nn): New parameter to set the
2789 maximum length of generated Srecords.
2790 (--srec-forceS3): New parameter that restricts the generation of
2791 Srecords to type S3 only.
2792 * binutils.texi: Document new command line switches.
2793 * objcopy.1: Docuemnt the new command line switches.
2794 * NEWS: Announce the existence of the new command line switches.
2796 2000-10-31 Nick Clifton <nickc@redhat.com>
2798 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2799 code. Add Eric Chrisopher as maintainer of MN10300 port.
2801 2000-10-12 Roger Sayle <roger@metaphorics.com>
2803 * Make comma after string after icon/control optional.
2805 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2807 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2809 * NEWS: Mention support for MIPS32.
2811 2000-09-08 Nick Clifton <nickc@redhat.com>
2813 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2815 2000-09-07 H.J. Lu <hjl@gnu.org>
2817 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2818 * configure: Rebuild.
2820 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2822 * configure: Rebuilt with new libtool.m4.
2824 2000-09-05 Nick Clifton <nickc@redhat.com>
2826 * aclocal.m4: Regenerate.
2827 * config.in: Regenerate.
2828 * configure: Regenerate.
2830 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2832 * strip.1: Fix stray '\' in -o formatting.
2834 2000-09-02 Nick Clifton <nickc@redhat.com>
2836 * configure.in: Increase version number to 2.10.91.
2837 * configure: Regenerate.
2838 * aclocal.m4: Regenerate.
2839 * config.in: Regenerate.
2840 * po/binutils.pot: Regenerate.
2842 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2844 * acinclude.m4: Include libtool and gettext macros from the
2846 * aclocal.m4, configure: Rebuilt.
2848 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2850 * resrc.c (close_input_stream): Delete extraneous logic
2852 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2854 * NEWS: Mention support for CRIS.
2856 2000-08-21 Nick Clifton <nickc@redhat.com>
2858 * addr2line.c: Changed email address for Ulrich Lauther.
2860 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2862 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2864 2000-08-17 Nick Clifton <nickc@redhat.com>
2866 * readelf.c (display_debug_pubnames): Only issue warning
2867 message once. Terminate message with a new line.
2868 (display_debug_aranges): Only display version 2 debug info.
2870 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2872 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2873 for compatability with old BSD systems.
2875 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2877 * NEWS: Mention i860 support.
2879 2000-08-11 Carlo Wood <carlo@alinoe.com>
2881 * addr2line.c (main): Add const to char *.
2883 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2885 * ar.c (main): Don't crash if called with no arguments
2886 or only '-X32_64' as an argument.
2888 2000-08-08 DJ Delorie <dj@redhat.com>
2890 * resrc.c: use "gcc -xc" instead of -xc-header
2892 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2894 * readelf.c (elf/i860.h): Include.
2895 (dump_relocations): Add recognition of i860 architecture.
2896 (guess_is_rela): Add recognition of i860 architecture.
2898 2000-08-03 Nick Clifton <nickc@cygnus.com>
2900 * MAINTAINERS: Add information about CGEN maintainers.
2902 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2904 * nm.c (main): Ignore '-X32_64' as an option.
2905 * ar.c (main): Likewise.
2906 * binutils.texi (nm): Document new option.
2909 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2911 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2913 2000-07-20 H.J. Lu <hjl@gnu.org>
2915 * binutils.texi: Put back "@end table" deleted by
2918 2000-07-05 Kenneth Block <krblock@computer.org>
2920 * nm.c: Add optional style to demangle switch.
2921 * objdump.c: Add optional style to demangle switch.
2922 * addr2line.c: Add optional style to demangle switch.
2923 * binutils.texi: Document optional style to demangle
2926 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2928 * MAINTAINERS: Add self as CRIS port maintainer.
2929 * readelf.c: Include elf/cris.h.
2930 (guess_is_rela): Handle EM_CRIS.
2931 (dump_relocations): Ditto.
2932 (get_machine_name): Ditto.
2933 * Makefile.am: Rebuild dependencies.
2934 * Makefile.in: Regenerate.
2935 * po/binutils.pot: Regenerate.
2937 2000-07-19 H.J. Lu <hjl@gnu.org>
2939 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2941 (process_dynamic_segment): Print out strings for DT_CONFIG,
2942 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2944 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2946 * nm.c (usage): Change output of `nm --help' to include a
2947 description of the purpose of the program and a detailed
2948 description of the accepted options.
2950 2000-07-19 H.J. Lu <hjl@gnu.org>
2952 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2955 2000-07-19 H.J. Lu <hjl@gnu.org>
2957 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2959 2000-07-19 H.J. Lu <hjl@gnu.org>
2961 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2963 (process_dynamic_segment): Likewise.
2965 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2966 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2967 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2968 DF_1_NODUMP and DF_1_CONLFAT.
2970 2000-07-18 Nick Clifton <nickc@cygnus.com>
2972 * binutils.texi (readelf): Fix spelling typo.
2974 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2976 * objdump.c (usage): Make output of `objdump --help' more
2977 consistent with the rest of the GNU world. Add a line describing
2978 the purpose of the program.
2980 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2982 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2985 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2987 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2989 (process_symbol_table): Ditto.
2990 (procesS_extended_line_op): Ditto.
2991 (display_debug_lines): Ditto.
2992 (display_debug_pubnames): Ditto.
2993 (read_and_display_attr): Ditto.
2995 2000-07-09 Nick Clifton <nickc@cygnus.com>
2997 * MAINTAINERS: Add several more port specific maintainers.
2999 2000-07-05 Nick Clifton <nickc@cygnus.com>
3001 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3003 2000-06-05 DJ Delorie <dj@redhat.com>
3007 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3009 * dllwrap.c: Changed mistaken dyn_string_append() calls
3010 to dyn_string_append_cstr().
3012 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3014 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3015 struct debug_type stores size in bytes.
3017 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3019 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3020 (CLEANFILES): Add DEPA.
3021 * Makefile.in: Regenerate.
3023 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3025 * ar.c: Revert incorrect 2000-06-25 patch.
3026 * bucomm.c: Likewise.
3028 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3030 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3031 (external_coff_symbol_p): New function.
3032 (parse_coff): Use it.
3034 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3036 * ar.c (normalize): Advance past both characters in a DOS based
3037 <letter>: filepath prefix.
3039 * bucomm.c (make_tempname): Likewise.
3041 2000-06-24 Nick Clifton <nickc@cygnus.com>
3043 * objdump.c (usage): Fix description of --stabs switch.
3045 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3047 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3049 * Makefile.in: Regenerate.
3051 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3053 * ar.c (normalize): Correct pointer comparison when checking for
3056 * bucomm.c (make_tempname): Likewise.
3058 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3059 and search for backslashes in the original pathname.
3060 (ieee_add_bb11): Likewise.
3062 2000-06-18 Nick Clifton <nickc@redhat.com>
3064 * ar.c (print_contents): Improve verbose message.
3066 2000-06-15 H.J. Lu <hjl@gnu.org>
3068 * dyn-string.c: Removed. Not needed with dyn-string.c in
3070 * dyn-string.h: Likewise.
3072 * Makefile.am: Remove references to dyn-string.c and
3073 dyn-string.h. Rebuild dependency.
3074 * Makefile.in: Rebuild.
3076 2000-06-15 H.J. Lu <hjl@gnu.org>
3078 * binutils.texi: Put a warning on copying relocatable object
3079 files between two different formats.
3081 2000-06-13 DJ Delorie <dj@cygnus.com>
3083 * rcparse.y (control): ICON controls take an id as the first
3084 parameter, not an optional string. Also, call new convenience
3085 function that takes res_id's.
3086 * resrc.c (define_control): missing text means zero-length string,
3088 (define_icon_control): New.
3089 * windres.h: declare define_icon_control.
3091 2000-06-13 H.J. Lu <hjl@gnu.org>
3093 * configure: Regenerate.
3095 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3097 * configure.in (VERSION): Update to show this is the CVS mainline.
3099 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3101 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3102 analogous to <SPACE>.
3104 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3106 * objdump.c (display_target_list): Use bfd_close_all_done, not
3107 bfd_close to fix crash caused by 2000-05-24 change.
3109 2000-05-25 DJ Delorie <dj@cygnus.com>
3111 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3113 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3115 * Makefile.am: Update dependencies with "make dep-am"
3116 * Makefile.in: Regenerate.
3118 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3120 * ar.c: Include filenames.h.
3121 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3122 and drive letters in file names.
3123 (main): Support backslashes and drive letters in argv[0]. Drop
3124 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3125 FILENAME_CMP instead of strcmp to compare file names.
3126 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3128 (do_quick_append) [__GO32__]: Ditto.
3129 (get_pos_bfd, delete_members, move_members, replace_members):
3130 Compare file names with FILENAME_CMP.
3132 * bucomm.c: Include filenames.h.
3133 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3134 forward/backward slashes and drive letters in file names.
3136 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3137 mixed forward/backward slashes and drive letters in file names.
3139 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3140 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3143 * objcopy.c: Include filenames.h.
3144 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3145 before comparing to "strip".
3146 Use FILENAME_CMP to compare file names.
3148 * arsup.c: Include filenames.h.
3149 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3150 FILENAME_CMP to compare file names.
3151 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3152 the temporary file name.
3154 * configure.in: Check for setmode.
3155 * configure: Regenerate.
3157 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3159 * objdump.c (display_target_list): Close the bfd.
3160 (display_info_table): Likewise.
3162 2000-05-14 H.J. Lu (hjl@gnu.org)
3164 * objcopy.c (filter_symbols): Don't strip global symbols in
3165 relocatable object files.
3167 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3169 * size.c (usage): Associate short options with corresponding long
3170 option to give a clue as to their function.
3172 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3174 * size.c (main): Accept and ignore `-f' option.
3176 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3178 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3179 bindtextdomain): Replace defines with those from intl/libgettext.h
3180 to quieten gcc warnings.
3182 2000-05-12 H.J. Lu <hjl@gnu.org>
3184 * nlmconv.c (temp_filename): Removed.
3186 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3187 choose_temp_base ().
3188 * objdump.c (display_target_list): Likewise.
3189 (display_info_table): Likewise.
3191 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3193 * objcopy.c (setup_section): Add const and gettext calls for err.
3195 2000-05-02 H.J. Lu <hjl@gnu.org>
3197 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3198 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3199 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3200 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3201 and ELFOSABI_OPENBSD.
3203 2000-05-02 Kazu Hirata <kazu@hxi.com>
3205 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3206 * srconv.c: Likewise.
3207 * sysdump.c: Likewise.
3209 2000-04-23 Denis Chertykov <denisc@overta.ru>
3211 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3212 (get_machine_name): machine name for EM_AVR added.
3214 2000-04-21 Richard Henderson <rth@cygnus.com>
3215 David Mosberger <davidm@hpl.hp.com>
3217 * Makefile.am (readelf.o): Add elf/ia64.h.
3218 * Makefile.in: Rebuild.
3219 * readelf.c: Include elf/ia64.h.
3220 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3222 2000-04-17 Timothy Wall <twall@cygnus.com>
3224 * objdump.c (disassemble_data): Set octets per byte *after*
3225 resolving arch/mach for binary files.
3227 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3229 * arlex.l: Add directives to increase lex buffer size.
3231 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3232 already included by bucomm.h.
3234 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3236 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3237 `strftime' since strftime is not available on all systems.
3238 (process_mips_specific): Ditto.
3240 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3242 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3243 --enable-build-warnings option.
3244 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3245 * Makefile.in, configure: Re-generate.
3247 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3249 * addr2line.c: Update copyright.
3250 * objcopy.1: Likewise, and title.
3251 * strings.1: Likewise.
3253 * version.c (print_version): Add 2000.
3255 * rddbg.c (read_section_stabs_debugging_info): Don't use
3256 bfd_size_type for strx to avoid printf problems if BFD64.
3258 * bucomm.c: (report): Remove `static'.
3259 Move inclusion of stdarg.h/vararg.h from here.
3260 * bucomm.h: To here.
3261 (CONST): Change all occurences to const.
3262 (report): Declare it.
3263 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3264 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3265 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3267 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3268 Correct a typo in an error message.
3269 (do_quick_append): Use non_fatal instead of fprintf.
3270 (move_members): Use fatal instead of fprintf, exit.
3271 * coffdump.c (main): Same here.
3273 * dlltool.c (display): Delete.
3275 (inform): Use `report' instead of `display'.
3276 (rvaafter): Remove trailing \n from fatal error msg.
3278 (asm_prefix): Ditto.
3279 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3280 (def_name): Likewise.
3282 (scan_all_symbols): Likewise.
3283 (gen_lib_file): Likewise.
3284 (def_library): Likewise. Remove extra program_name too.
3285 (run): Remove \n from inform strings.
3286 (scan_drectve_symbols): Likewise.
3287 (add_excludes): Likewise.
3288 (scan_open_obj_file): Likewise.
3289 (gen_exp_file): Likewise.
3290 (gen_lib_file): Likewise.
3291 (process_duplicates): Likewise.
3293 * Makefile.am (dllwrap_SOURCES): Add version.c.
3294 * dllwrap.c (program_version): Delete.
3295 (print_version): Delete.
3296 (display): Always print trailing \n.
3298 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3301 (usage): gettext'ify.
3302 (long_options): Add missing initialisers.
3304 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3305 (select_output_format): Likewise.
3306 (powerpc_mangle_relocs): Likewise.
3307 (link_inputs): Likewise.
3309 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3310 (set_output_format): Likewise.
3311 (main): Use non_fatal instead of fprintf.
3312 (display_rel_file): Likewise.
3314 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3315 (slurp_dynamic_symtab): Same here.
3316 (disassemble_data): And here.
3317 (read_section_stabs): And here.
3318 (read_section_stabs): And here.
3319 (dump_bfd): And here.
3321 (objdump_sprintf): Use fatal instead of fprintf, exit.
3322 (disassemble_data): Same here.
3324 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3325 (parse_coff_struct_type): Same here.
3326 (parse_coff_enum_type): And here.
3327 (parse_coff): And here.
3328 * rddbg.c (read_debugging_info): And here.
3329 * size.c (main): And here.
3330 * windres.c (format_from_name): And here.
3331 * wrstabs.c (stab_write_symbol): Here too.
3332 (write_stabs_in_sections_debugging_info): And here.
3333 (stab_int_type): And here.
3334 (stab_struct_field): And here.
3335 (stab_typdef): And here.
3337 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3338 * srconv.c (main): Same here.
3339 * strings.c (main): And here.
3340 (integer_arg): And here.
3341 * sysdump.c (main): And here.
3343 2000-04-06 Timothy Wall <twall@cygnus.com>
3345 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3347 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3349 * readelf.c (decode_location_expression): Loop through multiple
3351 (read_and_display_attr): Pass in length.
3353 * readelf.c (read_and_display_attr): Add CU offset to references.
3354 (display_debug_info): Pass it in.
3356 2000-04-06 Nick Clifton <nickc@cygnus.com>
3358 * readelf.c (decode_ARM_machine_flags): New function.
3359 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3362 (get_machine_name): Catch EM_AVR
3364 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3366 * binutils.texi: Remove optional `=' from long options that have
3367 an `=' in the argument.
3368 * objcopy.1: Here too. Remove extra space on discard-all.
3370 * binutils.texi (objcopy): Mention --redefine-sym.
3371 * objcopy.1: Here too.
3374 * objcopy.c (parse_flags): Split off flag names from error message
3375 gettext as they are not translated.
3376 (copy_main): Similarly split off option name for --add-section,
3377 --set-section-flags, --change-section-vma, --change-section-lma
3379 Some white space changes.
3381 from Matthew Benjamin <matt@linuxbox.nu>
3382 * objcopy.c (struct redefine_node): New.
3383 (redefine_sym_list): New.
3384 (redefine_list_append): New.
3385 (lookup_sym_redefinition): New.
3386 (OPTION_REDEFINE_SYM): New.
3387 (copy_options): Add --redefine-sym option.
3388 (copy_usage): Mention it.
3389 (filter_symbols): Rename symbols on redefine_sym_list.
3390 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3391 (copy_main): Handle OPTION_REDEFINE_SYM.
3393 2000-04-04 H.J. Lu <hjl@gnu.org>
3395 * readelf.c (process_symbol_table): Correctly read in symbol
3396 versioning information.
3398 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3400 * po/binutils.pot: Regenerate.
3402 * addr2line.c (usage): Restore translated part of bug string.
3403 * ar.c (usage): Likewise.
3404 * nlmconv.c (show_usage): Likewise.
3405 * nm.c (usage): Likewise.
3406 * objcopy.c (copy_usage): Likewise.
3407 (strip_usage): Likewise.
3408 * objdump.c (usage): Likewise.
3409 * readelf.c (usage): Likewise.
3410 * size.c (usage): Likewise.
3411 * strings.c (usage): Likewise.
3412 * windres.c (usage): Likewise.
3414 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3415 (DEP): Quote when passing vars to sub-make. Add warning
3417 (DEP1): Rewrite for "gcc -MM".
3418 (CLEANFILES): Add DEP2.
3419 Update dependencies.
3420 * Makefile.in: Regenerate.
3422 2000-04-04 H.J. Lu <hjl@gnu.org>
3424 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3425 (arparse.h): Depend on arparse.c
3426 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3428 2000-04-03 H.J. Lu (hjl@gnu.org)
3430 * size.c (usage): Use REPORT_BUGS_TO.
3432 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3434 * bucomm.h: #include "bin-bugs.h"
3435 * addr2line.c (usage): Use REPORT_BUGS_TO.
3436 * ar.c (usage): Likewise.
3437 * nlmconv.c (show_usage): Likewise.
3438 * nm.c (usage): Likewise.
3439 (OPTION_TARGET): Define.
3440 (long_options): Use OPTION_TARGET rather than 200.
3443 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3444 (strip_usage): Likewise.
3445 * objdump.c (usage): Likewise.
3446 * readelf.c (usage): Likewise.
3447 * strings.c (usage): Likewise.
3448 * windres.c (usage): Likewise.
3450 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3452 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3454 2000-03-27 Nick Clifton <nickc@cygnus.com>
3456 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3457 string offsets in corrupt stabs entries.
3459 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3461 * readelf.c: Include elf/avr.h
3462 (dump_relocations): Add EM_AVR case.
3464 2000-03-09 Tim Waugh <twaugh@redhat.com>
3466 * strings.1: Correct '-bytes' to '--bytes'.
3468 2000-03-08 H.J. Lu <hjl@gnu.org>
3470 * Makefile.am (install-exec-local): Depend on
3471 install-binPROGRAMS for parallel make.
3472 * Makefile.in: Regenerated.
3474 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3476 From Brad Lucier <lucier@math.purdue.edu>:
3477 * readelf.c (process_dynamic_segment): Add cast to make sure
3478 argument to %* is int.
3480 2000-02-25 H.J. Lu <hjl@gnu.org>
3482 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3484 2000-02-24 Nick Clifton <nickc@cygnus.com>
3486 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3487 * configure: Regenerate.
3489 * dlltool.c: Add support for sh-pe and mips-pe targets.
3490 * rescoff.c: Add support for sh-pe and mips-pe targets.
3492 2000-02-23 H.J. Lu <hjl@gnu.org>
3494 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3496 2000-02-22 Nick Clifton <nickc@cygnus.com>
3498 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3500 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3502 From Brad Lucier <lucier@math.purdue.edu>:
3503 * readelf.c (process_version_sections): Add casts to make sure
3504 argument to %* is an int.
3505 (process_mips_specific): Add casts to make printf arguments match
3508 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3510 * objdump.c (dump_section_header): Change `opb' to unsigned.
3511 (find_symbol_for_address): Same here.
3512 (disassemble_data): And here. Change `addr_offset',
3513 `stop_offset', `nextstop_offset' to unsigned long.
3514 (dump_data): Change opb to unsigned.
3516 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3518 * resrc.c: Remove unmatched #if for cygwin.
3520 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3522 * binutils.texi: Document the change of flavor name from atpcs-special
3523 to special-atpcs to prevent name conflict in gdb.
3525 2000-02-08 Timothy Wall <twall@redhat.com>
3527 * objdump.c (show_line): Fix bug preventing printing of the very
3528 first line (line zero) of a file when interlisting source and
3529 assembly. Added option to print entire context from start of file
3530 when the first line from that file is encountered.
3532 2000-02-03 Timothy Wall <twall@redhat.com>
3534 * objdump.c (dump_section_header, find_symbol_for_address,
3535 show_line, disassemble_bytes, disassemble_data, dump_data):
3536 distinguish between octets and bytes.
3538 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3540 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3541 check to unresolved symbols.
3542 (print_symbol_info_sysv): Ditto.
3543 (print_symbol_info_posix): Ditto.
3545 * binutils.texi: Document new 'V' symclass flag for nm.
3547 2000-01-27 Nick Clifton <nickc@redhat.com>
3549 * binutils.texi (objdump): Document new ARM specific
3550 disassembler options.
3552 * objdump.c (usage): Call disassembler_usage().
3554 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3556 * readelf.c (get_dynamic_flags): Return buff.
3557 (process_dynamic_segment): Don't pass error strings to printf
3559 (read_and_display_attr): Use lx and ld to print longs.
3560 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3564 2000-01-17 Nick Clifton <nickc@cygnus.com>
3566 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3568 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3570 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3572 (debug_tag_type): Here too.
3573 * ieee.c (ieee_builtin_type): And here.
3574 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3576 2000-01-13 Nick Clifton <nickc@cygnus.com>
3578 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3581 2000-01-11 Nick Clifton <nickc@cygnus.com>
3583 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3585 2000-01-10 Nick Clifton <nickc@cygnus.com>
3587 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3589 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3591 * windres.c (long_options): Add --use-temp-file and
3592 --no-use-temp-file options.
3596 * windres.h: Update read_rc_file prototype.
3598 * resrc.c (cpp_temp_file): New static variable.
3599 (istream_type): New static variable.
3600 (close_pipe): Delete function.
3601 (run_cmd): New static function.
3602 (open_input_stream): New static function.
3603 (close_input_stream): New static function.
3604 (look_for_default): Handle DOS directory separator. Use
3605 open_input_stream instead of popen.
3606 (read_rc_file): Likewise.
3608 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3611 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3613 * dlltool.c (create_compat_implib): New variable.
3614 (gen_exp_file): Use.
3615 (make_one_lib_file): Use.
3616 (long_options): Add --compat-implib option.
3620 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3621 (main): Use. Don't look for "32" in cygwin and mingw target names.
3623 2000-01-03 Nick Clifton <nickc@cygnus.com>
3625 * binutils.texi: Document new, ARM specific disassembler
3626 command line switch "-M force-thumb".
3628 For older changes see ChangeLog-9899
3634 version-control: never