1 2003-05-11 Jason Eckhardt <jle@rice.edu>
3 * MAINTAINERS: Update my mail address.
5 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
7 * readelf.c (dump_relocations): Enlarge the type field in wide
10 2003-05-03 Richard Henderson <rth@redhat.com>
12 * readelf.c (struct Frame_Chunk): Add cfa_exp.
13 (frame_display_row): Just print "exp" for cfa or register
14 defined by a location expression.
15 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
16 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
18 2003-04-30 H.J. Lu <hjl@gnu.org>
20 * objdump.c (only): Change it to char **.
23 (disassemble_data): Check only as an array.
24 (dump_data): Likewise.
25 (dump_relocs): Likewise.
26 (main): Treat only as an array.
28 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
30 * doc/binutils.texi: Fix the documentation for the -fo option.
32 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
34 * readelf.c (get_machine_name) <EM_SH>: Amend return value
37 * readelf.c (decode_location_expression): Don't add a trailing ';'.
39 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
40 Nick Clifton <nickc@redhat.com>
42 * windres.c (long_options): Move close to main, where it is used.
43 Add 'input' and 'output' long options.
44 (main): Accept "-fo" as an alias for "-o". This is for rc
46 * doc/binutils.texi: Mention that -fo is accepted as an alias for
47 -o, but discourage its use.
49 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
51 * windres.c (format_from_name): Make the exit on error
53 (main): Rename the -I option to -J. Introduce -I as a synonym
54 for --include-dir. For backwards compatibility also support the
55 old -I behaviour, but issue a deprecation warning.
56 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
59 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
61 * readelf.c: Replace references to Mitsubishi M32R with
62 references to Renesas M32R.
64 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
66 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
68 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
70 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
71 for debugging information types not supported by objdump.
73 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
75 * configure.in: Recognize canonical form of i[3-6]86-pe*.
76 * configure: Regenerate.
78 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
80 * readelf.c (display_debug_info): Apply RELA relocations on the
82 (byte_put_little_endian, byte_put_big_endian): New functions.
83 (byte_put): New variable.
84 (get_file_header): Initialize it.
86 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
88 * windres.c: Add -l for compatibility with wrc, and rc.
89 Use the short option as a key for long options that have
90 a synonymous short option.
91 * doc/binutils.texi: Added -l to the list of options.
93 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
95 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
96 (main): Just pass the -U option down to the preprocessor.
97 * doc/binutils.texi: Added -U to the list of options.
99 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
101 * windres.c (usage): Report -r option.
102 (main): Ignore the -r option.
103 * doc/binutils.texi: Add -r to the list of options.
105 2003-04-01 Bob Wilson <bob.wilson@acm.org>
107 * MAINTAINERS: Add myself as Xtensa maintainer.
109 2003-04-01 Bob Wilson <bob.wilson@acm.org>
111 * readelf.c: Include "elf/xtensa.h".
112 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
113 targets that use RELA relocations.
114 (dump_relocations): Call elf_xtensa_reloc_type for
115 EM_XTENSA and EM_XTENSA_OLD.
116 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
118 2003-04-01 Nick Clifton <nickc@redhat.com>
120 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
121 thumb-pe*, mcore-pe and mcore-*elf.
122 * configure: Regenerate.
124 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
126 * objdump.c (dump_data): Don't truncate the address to long; make
127 the width large enough, and uniform for all entries in a section.
129 2003-03-31 H.J. Lu <hjl@gnu.org>
131 * readelf.c: Include "libiberty.h".
132 (dynamic_relocations): New.
133 (process_relocs): Properly handle dynamic relocation.
134 (process_dynamic_segment): Fill relocation elements in
137 2003-03-31 Kevin Buettner <kevinb@redhat.com>
139 * readelf.c (read_and_display_attr, read_and_display_attr_value):
140 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
142 (display_debug_lines, display_debug_pubnames, display_debug_info)
143 (display_debug_aranges, display_debug_frames, read_and_display_attr)
144 (read_and_display_attr_value): Add 64-bit DWARF support.
146 2003-03-31 Ian Lance Taylor <ian@airs.com>
148 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
149 (optresid): Handle a resource id that can be a string or a number.
150 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
152 (define_icon_control): Pass a struct res_id to define_control.
153 * windres.h (define_control): Change prototype.
155 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
157 * objcopy (OPTION_FORMATS_INFO): Define.
158 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
159 (copy_options): Likewise.
160 (strip_usage): Add "--info" to usage.
161 (copy_usage): Likewise.
162 (strip_main): Declare formats_info. Iniatilize it to FALSE.
164 (copy_main). Likewise.
165 * doc/binutils.texi. Document the "--info" option for
167 * NEWS: Mention the new command line switch.
169 * objdump.c (endian_string): Move to bucomm.c.
170 (display_info): Likewise.
171 (display_target_list): Likewise.
172 (display_info_table): Likewise.
173 (display_target_tables): Likewise.
174 (main): Assign the return value of display_info to exit_status.
175 * bucomm.c: Include bfdver.h and libbfd.h
176 (display_target_list): Call bfd_nonfatal instead of nonfatal and
177 return 0 on a non-fatal error, 1 on success.
178 (display_info_table): Likewise.
179 * bucomm.h (display_info): Provide a prototype.
180 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
182 * Makefile.in: Regenerate.
184 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
186 * dlltool.c (gen_def_file): Put demangled name comments on
187 own line preceding export name.
189 2003-03-17 Nick Clifton <nickc@redhat.com>
191 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
192 printf for emitting new lines.
194 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
196 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
197 the symbol's value when --size-sort is used, unless -S is used.
198 doc/binutils.texi (--size-sort): For non-bsd formats both the
199 value and size of the symbols are displayed.
201 2003-03-13 Nick Clifton <nickc@redhat.com>
205 2003-03-12 Nick Clifton <nickc@redhat.com>
207 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
209 2003-03-10 Ben Elliston <bje@wasabisystems.com>
211 * MAINTAINERS: Update my mail address.
213 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
215 * stabs.c (BYTES_IN_WORD): Remove definition.
216 * wrstabs.c (BYTES_IN_WORD): Likewise.
218 2003-03-04 Nick Clifton <nickc@redhat.com>
220 * nm.c (main): Print a warning message if --size-sort and
221 --undefined-only are used together.
223 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
225 * nm.c (print_symbol): Remove check for undefined_only.
227 2003-03-03 Nick Clifton <nickc@redhat.com>
229 * po/da.po: Installed latest translation.
231 2003-02-24 Nick Clifton <nickc@redhat.com>
233 * README: Update binutils references to 2.13.
234 Add paragraph about using --disable-nls.
236 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
238 * doc/binutils.texi (nm --size-sort): Update.
240 2003-02-21 James E Wilson <wilson@tuliptree.org>
242 * MAINTAINERS: Update email address.
244 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
246 * readelf.c (get_ia64_dynamic_type): New function.
247 (dynamic_segment_ia64_val): New function.
248 (get_dynamic_type): If machine type is EM_IA_64 call
249 get_ia64_dynamic_val.
250 (get_ia64_section_type_name): Handle sections with types in the
251 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
252 (get_dynamic_flags): If machine type is EM_IA_64 call
253 dynamic_segment_ia64_val.
255 2003-02-21 Bob Wilson <bob.wilson@acm.org>
257 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
258 section title capitalization more consistent. Update descriptions
259 of various options to be consistent with the code. Fix errors and
260 incomplete list in the description of c++filt format options. Remove
261 information about the linker. Change to be more polite about poor
262 bug reports. Replace FDL appendix with include of fdl.texi.
263 * doc/fdl.texi: New file.
265 2003-02-21 Roger Sayle <roger@eyesopen.com>
267 * objcopy.c (filter_symbols): Fix compilation problems with
270 2003-02-19 Christopher Faylor <cgf@redhat.com>
272 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
275 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
277 * rclex.l (handle_quotes): Handle strings spanning more than one line.
279 2003-02-12 Bob Wilson <bob.wilson@acm.org>
281 * nm.c (usage): Add `java' and `gnat' demangle styles and make
283 * objdump.c (usage): Ditto. Also fix some typos.
285 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
287 * debug.c (debug_record_variable): Handle global register variables.
289 * stabs.c (parse_stab): For N_SLINE only include
290 function_start_offset if the symbol is within a function;
291 otherwise, the value is absolute.
293 2003-02-10 Nick Clifton <nickc@redhat.com>
295 * readelf.c (decode_ARM_machine_flags): Handle the
296 EF_ARM_MAVERICK_FLOAT flag.
298 2003-02-04 Andreas Schwab <schwab@suse.de>
300 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
301 long and use %ld in printf format.
303 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
305 * readelf.c (dump_relocations): Reorder the r_info field for
306 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
308 2003-01-21 Daniel Berlin <dan@dberlin.org>
310 * readelf.c (display_debug_loc): Skip address base changes.
312 2003-01-17 Fabio Alemagna <falemagn@aros.org>
314 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
317 2003-01-16 Alan Modra <amodra@bigpond.net.au>
319 * readelf.c: Include elf/ppc64.h.
320 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
321 * Makefile.am: Run "make dep-am".
322 * Makefile.in: Regenerate.
324 2003-01-02 Ben Elliston <bje@redhat.com>
326 * readelf.c (guess_is_rela): Handle EM_IQ2000.
327 (get_machine_name): Likewise.
328 (dump_relocations): Likewise.
329 * NEWS: Mention IQ2000 support.
331 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
333 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
335 2002-12-30 Chris Demetriou <cgd@broadcom.com>
337 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
338 changes in MIPS -M options.
340 2002-12-30 Dmitry Diky <diwil@mail.ru>
342 * Makefile.am: Add msp430 target.
343 * Makefile.in: Regenerate.
344 * readelf.c: Add support for msp430 target.
346 2002-12-27 Chris Demetriou <cgd@broadcom.com>
348 * doc/binutils.texi (objdump): Document MIPS -M options.
350 2002-12-23 Andreas Schwab <schwab@suse.de>
352 * readelf.c (main): Reset dump request after each file.
354 2002-12-23 Nick Clifton <nickc@redhat.com>
356 * nlmconv.c (main): Pass TRUE as third argument to
357 bfd_arch_get_compatible.
359 2002-12-23 Nick Clifton <nickc@redhat.com>
361 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
362 macro. Handle 'S' encoding, accepting 8-bit characters.
363 (main): Parse 'S' encoding.
364 (get_char): Accept 'S' encoding.
365 (print_strings): Use STRING_ISGRAPHIC.
366 (usage): Document support of 'S' encoding.
367 * doc/binutils.texi: Document support of 'S' encoding/
368 * NEWS: Mention new feature.
370 2002-12-20 Alan Modra <amodra@bigpond.net.au>
372 * README <building ar>: Don't use libibery's needed_list or
373 required_list, instead link libiberty/*.o.
375 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
377 * doc/binutils.texi: Fix typos.
379 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
381 * doc/binutils.texi: Add missing parenthesis.
383 2002-12-15 Nick Kelsey <nickk@ubicom.com>
385 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
386 symbols by adding the given prefix to the begining of the symbol
387 name. This is useful to provide name space seperation regardless
388 of how the object file was created. Added --prefix-sections=
389 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
390 sections (or all sections with the alloc flag set) by adding the given
391 prefix to the begining of the symbol name.
392 * NEWS: Mention this new feature.
393 * doc/binutils.texi: Document this new feature.
395 2002-12-13 Alan Modra <amodra@bigpond.net.au>
397 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
398 dyn_string_append with dyn_string_append_cstr.
400 * emul_aix.c (ar_emul_aix_create): Remove unused function.
402 2002-12-10 James Cownie <jcownie@etnus.com>
404 * readelf.h (get_TAG_name, get_AT_name,
405 read_and_display_attr_value): Add support for UPC extensions to
407 * NEWS: Mention this new support.
409 2002-12-08 Alan Modra <amodra@bigpond.net.au>
411 * NEWS: Mention that bfd no longer declares a "boolean" type.
413 2002-12-07 Alan Modra <amodra@bigpond.net.au>
415 * readelf.c (process_program_headers): When setting loadaddr, don't
416 assume segment size is 4k. Use p_align instead.
417 (loadaddr): Change from int to long.
418 (dynamic_addr, dynamic_info, version_info): Likewise.
419 (process_dynamic_segment <syminsz>): Likewise.
420 (process_dynamic_segment): Adjust print format string.
421 (rela_addr, rela_size): Delete.
422 (process_relocs): Formatting.
424 2002-12-05 Jim Wilson <wilson@redhat.com>
426 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
427 * configure: Regenerate.
429 2002-12-04 Ian Lance Taylor <ian@airs.com>
431 * MAINTAINERS: Change e-mail address back to airs.com.
433 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
435 * MAINTAINERS: Add self.
437 2002-11-30 Alan Modra <amodra@bigpond.net.au>
439 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
440 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
441 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
442 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
443 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
444 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
445 with TRUE/FALSE. Formatting.
447 2002-11-29 Jakub Jelinek <jakub@redhat.com>
449 * readelf.c Replace occurrences of Elf32_Internal_* and
450 Elf64_Internal_* with Elf_Internal_*.
451 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
452 Zero r_addend fields.
453 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
456 2002-11-23 Nick Clifton <nickc@redhat.com>
458 * size.c (usage): Fix typo describing switch for hex format.
460 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
462 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
463 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
466 2002-11-14 Nick Clifton <nickc@redhat.com>
468 * readelf.c (process_program_headers): Add comment about return
469 value. Ensure that 0 is returned if the headers are not loaded.
470 (process_file): If process_section_headers failed to load the
471 headers disable any tests that rely upon them. Similarly for
472 process_program_headers.
474 2002-11-12 Nick Clifton <nickc@redhat.com>
476 * po/da.po: Updated Danish translation.
478 2002-11-12 Klee Dienes <kdienes@apple.com>
480 * rddbg.c (read_section_stabs_debugging_info): Also recognize
481 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
483 2002-11-11 Christopher Faylor <cgf@redhat.com>
485 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
488 2002-11-11 Christopher Faylor <cgf@redhat.com>
490 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
492 2002-11-07 Nick Clifton <nickc@redhat.com>
494 * configure.in (ALL_LINGUAS): Add 'da'.
495 * configure: Regenerate.
496 * po/da.po: New Danish translation.
498 * readelf.c (get_symbol_index_type): Revert part of previous
499 patch: Display unknown symbol types in decimal, not hex.
501 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
503 * dlltool.c (add_excludes): Don't prefix excluded fastcall
504 symbols with underscore.
505 (xlate): Ignore add_underscore for decorated fastcall symbols.
507 2002-11-07 Eric Kohl <ekohl@rz-online.de>
509 * deflex.l: Accept '@' as first character of an ID.
510 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
511 ASM_PREFIX for fastcall symbols.
512 (scan_drectve_symbols): Handle fastcall symbols when generating
513 undecorated aliases for symbols in drectve section.
514 (scan_filtered_symbols): Likewise, with export-all.
515 (xlate): Likewise, with --kill-at.
516 (make_imp_label): New function to handle fastcall symbols
518 (make_one_lib_file): Use make_imp_label instead of make_label
521 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
523 * MAINTAINERS: Add self as TIC4X maintainer.
525 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
527 * readelf.c (get_symbol_index_type): Add hex number to
528 PROCESSOR-specific, OS-specific, reserved and unknown symbol
531 2002-11-04 Alan Modra <amodra@bigpond.net.au>
533 * readelf.c (byte_get_little_endian): Comment typo fix.
534 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
535 as the format string.
536 (dump_relocations): Correct section sym names.
537 (process_section_headers): Clear symtab_shndx_hdr.
538 (read_and_display_attr_value): Don't pass indirect string to printf
539 as the format string.
540 (display_debug_frames): Indicate when zero terminator found. Decode
541 DW_EH_PE_pcrel addresses.
543 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
545 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
546 order to ensure proper disassembly of the valid 0-value opcode.
547 * configure: Regenerate.
548 * aclocal.m4: Regenerate.
549 * config.in: Regenerate.
550 * configure.in: Regenerate.
551 * doc/Makefile.in: Regenerate.
552 * po/binutils.pot: Regenerate.
554 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
556 * MAINTAINERS: Add self as SH maintainer.
558 2002-10-23 Ben Elliston <bje@redhat.com>
560 * doc/binutils.texi (objdump): Document -z and move the entry for
561 --disassemble-zeroes to the end of the options section (for `z').
563 2002-10-21 Nick Clifton <nickc@redhat.com>
565 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
567 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
569 * objdump.c (dump_data): Correct addr_offset for opb != 1.
571 2002-10-15 Alan Modra <amodra@bigpond.net.au>
573 * bucomm.c (list_supported_targets): Use bfd_target_list.
575 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
576 other object errors in preference to bfd_core errors.
578 2002-10-14 Alan Modra <amodra@bigpond.net.au>
580 * Makefile.am: Run "make dep-am".
581 * objdump.c: #include "bfdver.h".
582 * version.c: Likewise.
583 * Makefile.in: Regenerate.
584 * config.in: Regenerate.
585 * configure: Regenerate.
586 * po/POTFILES.in: Regenerate.
588 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
590 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
591 sections. Allow relocations against the absolute symbol. Don't
592 use the value in compunit.cu_abbrev_offset if we found a RELA
595 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
597 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
598 ordinary ones are available.
600 2002-09-30 H.J. Lu <hjl@gnu.org>
602 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
603 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
605 2002-09-17 Zack Weinberg <zack@codesourcery.com>
607 * Makefile.am (CFILES): Add cxxfilt.c.
608 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
609 (cxxfilt_LDADD): Delete.
610 Remove all references to underscore.c.
612 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
613 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
614 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
615 adjustments to fit into binutils framework.
616 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
618 2002-09-12 Roland McGrath <roland@redhat.com>
620 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
621 Handle DW_OP_GNU_push_tls_address.
623 2002-09-11 Nick Clifton <nickc@redhat.com>
625 * po/tr.po: Updated Turkish translation.
627 2002-09-10 Nick Clifton <nickc@redhat.com>
629 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
630 testsuite changes. Add paragraphs about testsuite and config
633 2002-08-29 Nick Clifton <nickc@redhat.com>
635 * readelf.c (get_machine_flags): Remove redundant reference to
638 2002-08-28 Alan Modra <amodra@bigpond.net.au>
640 * objdump.c (dump_bfd): Restore lines accidentally deleted in
643 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
645 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
646 (dump_bfd_header): Likewise.
648 2002-08-27 Alan Modra <amodra@bigpond.net.au>
650 * nm.c: Revert last change.
652 2002-08-26 Alan Modra <amodra@bigpond.net.au>
654 * nm.c (display_rel_file): Don't report "no symbols" as an error.
655 * objdump.c (slurp_symtab): Likewise.
656 (slurp_dynamic_symtab): Likewise.
657 (dump_symbols): Likewise. Do print "no symbols" to stdout.
659 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
661 * MAINTAINERS: Change my mailing address.
663 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
665 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
667 2002-08-22 Nick Clifton <nickc@redhat.com>
669 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
672 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
674 * readelf.c (parse_args): Change debug_dump_opt to static.
676 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
678 * stabs.c (parse_stab_argtype): Pass length of physname to
679 stab_demangle_argtypes.
680 (stab_demangle_argtypes): Add new parameter - length of physname.
681 Pass length of physname on to stab_demangle_prefix.
682 (stab_demangle_prefix): Add new parameter - length of physname.
683 Use length of physname (if supplied) to compute end of function
686 2002-08-15 Alan Modra <amodra@bigpond.net.au>
688 * readelf.c: Include elf/i370.h.
689 (dump_relocations): Handle EM_S370.
690 (dynamic_segment_parisc_val): Print \n.
691 (process_dynamic_segment <DT_BIND_NOW>): Here too.
693 2002-08-14 Nick Clifton <nickc@redhat.com>
695 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
696 * objdump.c (usage): Likewise.
697 * doc/binutils.texi: Likewise.
699 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
701 * rcparse.y (acc_entry): Don't warn about ALT use with
704 2002-08-13 H.J. Lu <hjl@gnu.org>
706 * objcopy.c (copy_object): Don't warn about the unsupported
707 architecture unless the input target is defaulted or the
708 output architecture is different from the input.
710 2002-08-09 Nick Clifton <nickc@redhat.com>
712 * po/sv.po: Updated Swedish translation.
714 2002-08-05 Alan Modra <amodra@bigpond.net.au>
716 * prdbg.c (pr_fix_visibility): Remove assert.
718 2002-07-31 Nick Clifton <nickc@redhat.com>
720 * addr2line.c (process_file): Rename parameter 'filename' to
721 'file_name' in order to avoid shadowing global symbol of the
725 2002-07-30 Jakub Jelinek <jakub@redhat.com>
727 * readelf.c (OPTION_DEBUG_DUMP): Define.
729 (usage): Update help.
730 (parse_args): Handle --debug-dump separately from -w.
731 * doc/binutils.texi (readelf): Update documentation.
733 2002-07-25 Nick Clifton <nickc@redhat.com>
735 * po/es.po: Updated Spanish translation.
736 * po/fr.po: Updated French translation.
738 2002-07-24 Nick Clifton <nickc@redhat.com>
740 * po/es.po: Updated Spanish translation.
742 2002-07-23 Alan Modra <amodra@bigpond.net.au>
744 * Makefile.am: Run "make dep-am".
745 * Makefile.in: Regenerate.
747 2002-07-23 Nick Clifton <nickc@redhat.com>
749 * po/fr.po: Updated French translation.
751 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
753 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
755 2002-07-20 Alan Modra <amodra@bigpond.net.au>
757 * budemang.c: Include config.h and string.h/strings.h.
759 2002-07-18 Denis Chertykov <denisc@overta.ru>
760 Frank Ch. Eigler <fche@redhat.com>
762 * readelf.c: Include "elf/ip2k.h".
763 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
764 (dump_relocations): Likewise.
765 (get_machine_name): Likewise.
766 * NEWS: Mention IP2K support.
768 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
770 * NEWS: Add 'Changes in 2.13'.
772 2002-07-10 Jakub Jelinek <jakub@redhat.com>
774 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
775 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
776 (get_section_type_name): Handle SHT_GNU_LIBLIST.
777 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
778 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
779 (process_gnu_liblist): New.
780 (process_file): Call it.
782 2002-07-03 Alan Modra <amodra@bigpond.net.au>
784 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
785 * Makefile.in: Regenerate.
787 2002-07-02 Alan Modra <amodra@bigpond.net.au>
789 * budemang.c: New file, "demangle" function.
790 * budemang.h: New file.
791 * addr2line.c (translate_addresses): Use "demangle".
792 * nm.c (print_symname): Likewise.
793 * objdump.c (objdump_print_symname): Likewise.
794 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
795 here since that obfuscates.
796 * rdcoff.c: Don't #include demangle.h.
797 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
798 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
799 (HFILES): Add budemang.h. Sort.
800 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
802 * Makefile.in: Regenerate.
804 2002-07-01 Matt Thomas <matt@3am-software.com>
806 * readelf.c: Include "elf/vax.h".
807 (guess_is_rela): Move EM_VAX from unknown to RELA case.
808 (dump_relocations): Handle VAX relocations.
809 (get_machine_flags): Handle VAX machine flags.
811 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
813 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
815 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
817 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
819 2002-06-26 Alan Modra <amodra@bigpond.net.au>
821 * nm.c (print_symname): When demangling, strip leading dots from
822 symbol names to avoid confusing the demangler.
824 2002-06-25 H.J. Lu <hjl@gnu.org>
826 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
827 * Makefile.in: Regenerated.
829 2002-06-21 Igor Schein <igor@txc.com>
831 * configure.in: Quote bu_cv_have_fopen64.
832 * configure: Regenerate.
834 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
836 * configure.in: Check for strcoll.
837 * configure: Regenerate.
838 * config.in: Regenerate.
839 * nm.c (main): Set locale for LC_COLLATE category.
840 (non_numeric_forward): Use strcoll if available.
842 2002-06-20 Dave Brolley <brolley@redhat.com>
844 * MAINTAINERS: Add self as fr30 and frv maintainer.
846 2002-06-18 H.J. Lu (hjl@gnu.org)
848 * nm.c: Include "elf/common.h".
849 (extended_symbol_info): Add elfinfo, a pointer to
851 (SYM_SIZE): Use elfinfo if it is not NULL.
852 (get_symbol_type): New function.
853 (display_archive): Set print_width for each archive member.
854 (display_file): Likewise.
855 (display_rel_file): Don't set print_width here.
856 (print_object_filename_sysv): Handle print_width.
857 (print_archive_member_sysv): Likewise.
858 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
859 (print_symbol): Set the elfinfo field in extended_symbol_info
861 (print_object_filename_sysv): Fix the output format.
862 (print_symbol_info_sysv): Print type and section for ELF.
864 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
866 * nm.c (print_size_symbols): Remove assignment, which makes
867 the symbol's size equal to its value when --size-sort is
870 2002-06-18 Dave Brolley <brolley@redhat.com>
872 From Catherine Moore:
873 * readelf.c (elf/frv.h): #include it.
874 (guess_is_rela): Support EM_CYGNUS_FRV.
875 (dump_relocations): Ditto.
876 (get_machine_name): Ditto.
877 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
879 2002-06-18 Jakub Jelinek <jakub@redhat.com>
881 * readelf.c (get_file_header): Only read the first section header if
884 2002-06-15 H.J. Lu (hjl@gnu.org)
886 * nm.c (print_size): New variable. Initialize to 0.
887 (long_options): Add 'S'/"print-size".
889 (print_symbol_info_bsd): Print size only if print_size is not
892 * doc/binutils.texi: Document -S/--print-size.
894 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
896 * nm.c (struct extended_symbol_info): New strcuture: Add the size
897 of the symbols to the information provided by the symbol_info
899 (print_symbols): Pass the symbol size to print_symbol.
900 (print_size_symbols): Pass the symbol size to print_symbol.
901 (print_symbol): Extra argument: The size of the symbol. Store
902 this in the extended_symbol_info structure.
903 (print_symbol_info): Change type of info parameter to
904 extended_symbol_info. Display the size, if known.
905 (print_symbol_info_posix): Likewise.
906 (print_symbol_info_sysv): Likewise.
908 2002-06-08 Alan Modra <amodra@bigpond.net.au>
910 * Makefile.am: Run "make dep-am".
911 * Makefile.in: Regenerate.
912 * doc/Makefile.in: Regnerate.
914 * bucomm.c: Replace CONST with const.
916 * objdump.c: Likewise.
918 2002-06-07 H.J. Lu <hjl@gnu.org>
920 * readelf.c (DW_CFA_GNU_args_size): Don't define.
921 (DW_CFA_GNU_negative_offset_extended): Likewise.
922 (DW_CFA_GNU_window_save): Likewise.
923 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
924 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
926 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
928 * nm.c: When computing size of symbols for an ELF target use the
931 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
933 * testsuite/binutils-all/objcopy.exp: clear xfail for
935 * testsuite/binutils-all/hppa/objdump.exp: Return if
938 2002-06-05 Alan Modra <amodra@bigpond.net.au>
940 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
942 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
944 * objdump.c: Fix formatting.
946 2002-05-29 Ben Elliston <bje@redhat.com>
948 * MAINTAINERS: Add self as M68k maintainer.
950 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
952 * readelf.c: Modified/Added DLX elf support.
954 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
956 * arsup.c: Fix formatting.
957 * debug.c (debug_record_label): Add missing colon to error
959 * ieee.c (parse_ieee_ty): Fix spelling typo.
960 * readelf.c (process_program_headers): Remove English assumption
961 about making a plural word.
962 (process_section_headers): Likewise.
963 (process_relocs): Allow quotes to be translated.
964 (process_unwind): Likewise,
965 (process_mips_specific): Improve error message.
966 (get_note_type): Fix spelling typo.
968 * configure.in (ALL_LINGUAS): Add sv
969 * po/sv.po: New file.
971 2002-05-27 Alan Modra <amodra@bigpond.net.au>
973 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
974 (unw_print_grmask): Likewise.
975 (unw_print_frmask): Likewise.
977 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
979 * arsup.c: Remove ARGSUSED.
982 * nlmconv.c: Likewise.
985 * wrstabs.c: Likewise.
987 2002-05-25 Alan Modra <amodra@bigpond.net.au>
989 * arlex.l: Use #include "" instead of <> for local header files.
990 * coffdump.c: Likewise.
991 * coffgrok.c: Likewise.
992 * nlmconv.c: Likewise.
993 * nlmheader.y: Likewise.
994 * srconv.c: Likewise.
995 * strings.c: Likewise.
996 * sysdump.c: Likewise.
997 * unwind-ia64.h: Likewise.
998 * windres.h: Likewise.
999 * winduni.h: Likewise.
1001 2002-05-24 Tom Rix <trix@redhat.com>
1003 * MAINTAINERS: Add self as the d10v maintainer.
1005 2002-05-24 TAMURA Kent <kent@netbsd.org>
1007 * configure.in: Builds dlltool for i386-netbsdpe.
1008 * configure: Regenerate.
1010 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1012 * size.c: Fix formatting.
1013 * srconv.c: Likewise.
1014 * stabs.c: Likewise.
1015 * sysdump.c: Likewise.
1016 * unwind-ia64.c: Likewise.
1017 * wrstabs.c: Likewise.
1019 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1021 * readelf.c (get_segment_type): Add PT_TLS.
1022 (get_elf_section_flags): Add SHF_TLS.
1023 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1024 (process_dynamic_segment): Use puts instead of printf.
1025 (get_symbol_type): Support STT_TLS.
1026 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1027 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1028 Add SEC_THREAD_LOCAL.
1030 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1032 * rdcoff.c: Fix formatting.
1033 * rddbg.c: Likewise.
1034 * readelf.c: Likewise.
1035 * rename.c: Likewise.
1036 * resbin.c: Likewise.
1037 * resrc.c: Likewise.
1038 * resres.c: Likewise.
1040 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1042 * filemode.c: Fix formatting.
1044 * is-ranlib.c: Likewise.
1045 * is-strip.c: Likewise.
1046 * maybe-ranlib.c: Likewise.
1047 * maybe-strip.c: Likewise.
1048 * nlmconv.c: Likewise.
1050 * not-ranlib.c: Likewise.
1051 * not-strip.c: Likewise.
1052 * objcopy.c: Likewise.
1053 * objdump.c: Likewise.
1055 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1057 * objdump.c (dump_headers): Fix output formatting for ELF32
1058 architectures in a BFD64 enabled toolchain.
1060 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1062 * debug.c: Fix formatting.
1063 * debug.h: Likewise.
1064 * dlltool.c: Likewise.
1065 * dllwrap.c: Likewise.
1066 * emul_aix.c: Likewise.
1067 * emul_vanilla.c: Likewise.
1069 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1071 * addr2line.c: Fix formatting.
1073 * arsup.c: Likewise.
1074 * arsup.h: Likewise.
1075 * binemul.c: Likewise.
1076 * binemul.h: Likewise.
1077 * bucomm.c: Likewise.
1078 * coffdump.c: Likewise.
1079 * coffgrok.c: Likewise.
1080 * coffgrok.h: Likewise.
1082 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1084 * MAINTAINERS: Add myself as the second AVR port maintainer.
1086 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1088 * MAINTAINERS: Update my email address.
1090 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1092 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1094 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1096 * configure.in: Replace `*pe' with `pe' throughout.
1097 * configure: Regenerate.
1099 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1101 * Makefile.am: Honour DESTDIR.
1102 * Makefile.in: Regenerate.
1104 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1106 * dlltool.c (process_def_file): Add missing prototype.
1107 (new_directive, assemble_file, main): Likewise.
1108 (process_def_file, new_directive): Make static.
1109 (inform): Rewrite using VA_FIXEDARG.
1110 * dllwrap.c (mybasename): Add missing prototype.
1111 (strhash, main): Likewise.
1112 (inform): Rewrite using VA_FIXEDARG.
1114 (cleanup_and_exit): Use old style function definition.
1115 (strhash): Likewise.
1116 * windres.c (define_resource): Use one memset to clear all of
1117 struct res_resource.
1119 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1120 call to rules that need no lookahead. Check for no lookahead.
1122 2002-05-06 Borut Razem <borut.razem@siol.net>
1124 * rclex.l (get_string): Correct "strings" list handling.
1125 * resrc.c (read_rc_file): Discard strings.
1127 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1129 * ar.c (replace_members): Remove unused var. Formatting fix.
1130 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1132 * MAINTAINERS: Sort port maintainers by CPU.
1134 2002-05-04 Bob Byrnes <byrnes@curl.com>
1136 * size.c (display_archive): Add last_arfile and code to close archives.
1138 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1140 * nm.c (print_symbol): Check returned filename from
1141 bfd_find_nearest_line is non-NULL.
1143 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1145 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1147 2002-04-24 Christian Groessler <chris@groessler.org>
1149 * MAINTAINERS: Changed my email address.
1151 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1153 * arparse.y: Fix syntax warning.
1155 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1157 * readelf.c (fetch_location_list): Remove unused function.
1159 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1160 and display a warning message, then exit the loop.
1162 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1164 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1166 * resrc.c (write_rc_dialog): If charset is non-default value
1167 display all of the DIALOGEX parameters.
1169 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1171 * rcparse.y: Allow two to five parameter in FONT statement of
1173 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1175 (res_to_bin_dialog): Likewise.
1176 * windres.h: Added misssing charset variable to dialog_ex
1179 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1181 * rcparse.y: Set MEMFLAG_PURE by default.
1183 2002-04-09 Bernd Herd <info@herdsoft.com>
1185 * rcparse.y: CLASS definitions in DIALOG resources
1187 Fix typo in BEDIT warning.
1188 Don't add default dialog style when explicit style specified.
1189 Add WS_CAPTION dialog style if CAPTION is specified.
1191 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1192 (handle_quotes) "\a" escape (used for right justified key
1193 definitions in menus) is encodes as binary 8.
1195 * resrc.c (write_rc_dialog): Print style even if it is 0.
1196 (write_rc_directory): Fix overlooked sublang shift bug.
1197 (bin_to_res_dialog): Don't print empty dialog caption.
1199 * resbin.c (bin_to_res_dialog): Use signature to identify
1202 * windres.c (main): Set default LANGUAGE to english/us.
1204 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1206 * resrc.c: print CLASS names in quotes
1208 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1210 * MAINTAINERS: Update my email address.
1212 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1214 * dep-in.sed: Cope with absolute paths.
1215 * Makefile.am (dep.sed): Subst TOPDIR.
1217 * Makefile.in: Regenerate.
1219 2002-03-27 Peter Targett <peter.targett@arc.com>
1221 * MAINTAINERS: Update my email address.
1223 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1225 * Makefile.am: Run "make dep-am".
1226 * Makefile.in: Regenerate.
1227 * doc/Makefile.in: Regenerate.
1228 * po/POTFILES.in: Regenerate.
1229 * aclocal.m4: Regenerate.
1230 * config.in: Regenerate.
1231 * configure: Regenerate.
1233 2002-03-20 Daniel Berlin <dan@dberlin.org>
1235 * readelf.c: Add support for displaying dwarf2 location lists.
1236 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1237 (parse_args): Use 'O' as shorthand for displaying location list
1239 (process_section_headers): Handle debug_loc as well.
1240 (load_debug_loc): New.
1241 (free_debug_loc): New.
1242 (fetch_location_list): New.
1243 (display_debug_loc): New.
1244 (display_debug_info): Call load_debug_loc and free_debug_loc.
1245 (debug_displays): We can display .debug_loc now, too.
1246 (usage): Update usage string.
1247 (read_and_display_attr_value): Note location lists, but don't
1248 display them inline.
1250 2002-03-18 Tom Rix <trix@redhat.com>
1252 * Makefile.am: Add binutils emulation support.
1253 * configure.in: Same.
1254 * configure.tgt: New file. Same.
1255 * ar.c (main): Use ar_emul_parse_arg.
1256 (usage): Use ar_emul_usage.
1257 (replace_members): Use ar_emul_replace, ar_emul_append.
1258 * binemul.c: New file. Define the binutils emulation
1259 layer. Define default methods.
1260 * binemul.h: New file. Binutils emulation layer header file.
1261 * emul_aix.c: New file. AIX binutils emulation.
1262 * emul_vanilla.c: New file. Default binutils emulation.
1263 * Makefile.in: Regenerate.
1266 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1268 * po/fr.po: Updated version.
1270 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1272 * po/fr.po: Updated version.
1274 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1276 * README: Update some version numbers.
1278 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1280 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1281 (Architecture Selection): Likewise.
1283 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1285 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1286 generating .exp file.
1288 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1290 * readelf.c (dump_relocations): Fix typo.
1292 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1294 * NEWS: Mark 2.12 branch.
1296 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1298 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1299 types for 64-bit MIPS. Narrow some fields for 80-char
1301 (dump_relocations): Change spelling from 'unrecognised'
1303 (decode_ARM_machine_flags): Likewise.
1304 (parse_args): Likewise.
1305 (read_and_display_attr_value): Likewise.
1306 (display_debug_section): Likewise.
1308 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1310 * NEWS: Mention support for MMIX.
1312 2002-02-13 Matt Fredette <fredette@netbsd.org>
1314 * readelf.c (get_machine_flags): Recognize EF_M68000.
1316 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1318 * MAINTAINERS: Added self as MN10300 co-maintainer.
1320 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1322 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1325 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1327 * MAINTAINERS: List myself as branch maintainer.
1329 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1331 * configure: Regenerate.
1332 * objcopy.c: Update copyright date.
1333 * doc/Makefile.in: Regenerate.
1335 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1337 * nlmconv.c: Back out localtime PARAMS change.
1339 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1341 * objcopy.c (MKDIR): Define.
1342 (copy_archive): Make name_list.name const. Use MKDIR.
1343 Handle duplicate files in archives by making more temp dirs.
1345 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1347 * coffdump.c: Include "getopt.h" after "bucomm.h"
1348 so that macros are defined correctly.
1349 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1350 prototype. Prototype main.
1351 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1353 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1355 * MAINTAINERS: Added self as SH co-maintainer.
1357 2002-02-05 Nick Clifton <nickc@redhat.com>
1359 * po/tr.po: Updated translation.
1361 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1363 * Makefile.am: Run "make dep-am"
1364 * Makefile.in: Regenerate.
1366 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1368 * nm.c (print_value): Mark abfd unused.
1370 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1372 * unwind-ia64.c (unw_decoder): Change second argument
1373 to unsigned int, to match function prototypes.
1375 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1377 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1378 __GNU_LIBRARY__ will be defined.
1381 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1383 * configure: Regenerated.
1385 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1387 * doc/Makefile.am (install): Depend on install-info.
1388 * doc/Makefile.in: Regenerate.
1390 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1392 * objcopy.c (strip_usage): Document -d as an alias
1395 * size.c (usage): Document [-t | --totals] options.
1396 (long_options): Add --totals option.
1397 (main): If the [-t | --totals] option is specified and
1398 the output format is Berkeley-style, print the total
1399 text, data, and bss sizes of all objects listed.
1400 (print_berkeley_format): If the [-t | --totals] option
1401 is specified, track the total text, data, and bss
1403 * doc/binutils.texi (size): Document [-t | --totals] options.
1404 (strip): Document -d as an alias for --strip-debug.
1405 * NEWS: Mention new feature of size.
1407 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1409 * po/fr.po: Updated version.
1410 * po/es.po: Updated version.
1412 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1414 * addr2line.c (usage): Update text to provide verbose
1415 description of the command line options.
1416 * ar.c (usage): Update text to provide verbose
1417 description of the command line options.
1418 (main): Accept -h and -H when running as ranlib.
1419 * coffdump.c (show_usage): Update text to provide verbose
1420 description of the command line options.
1421 * dlltool.c (main): Accept -H as an alias for --help.
1422 * nlmconv.c (show_usage): Update text to provide verbose
1423 description of the command line options.
1424 * nm.c (usage): Replace OPTIONS with option(s).
1425 (main): Accept -H as an alias for --help.
1426 * objcopy.c (strip_main): Accept -H as an alias for --help.
1427 * objdump.c (main): Accept -v as an alias for --verbose.
1428 * readelf.c (usage): Adjust format to match style used in
1430 * size.c (usage): Update text to provide verbose description
1431 of the command line options.
1432 (main): Accept -v, -h and -H as command line options.
1433 * srconv.c (show_usage): Update text to provide verbose
1434 description of the command line options.
1435 * strings.c (main): Accept -H and -v as command line options.
1436 (usage): Update text to provide verbose description of the
1437 command line options.
1438 * sysdump.c (show_usage): Update text to provide verbose
1439 description of the command line options.
1440 * windres.c (usage): Adjust format to match style used in
1443 * coffdump.c: Fix formatting.
1444 * nlmconv.c: Fix formatting.
1445 * srconv.c: Fix formatting.
1446 * sysdump.c: Fix formatting.
1448 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1450 * Makefile.am: Run "make dep-am".
1451 * Makefile.in: Regenerate.
1453 2002-01-18 Andreas Jaeger <aj@suse.de>
1455 * version.c (print_version): Update year.
1457 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1459 * readelf.c (get_machine_name): Handle EM_PPC64.
1460 (guess_is_rela): Here too.
1462 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1464 * po/binutils.pot: Regenerate.
1465 * po/fr.po: Regenerate.
1466 * po/tr.po: Regenerate.
1468 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1470 * po/tr.po: Import new version.
1472 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1474 * readelf.c (get_ppc64_dynamic_type): New.
1475 (get_dynamic_type): Call it.
1477 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1479 * objcopy.c (copy_usage): Use "options" instead of "switches".
1480 (strip_usage): Use "options" instead of "switches".
1481 * doc/binutils.texi (dlltool): Refer to "options" instead of
1484 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1486 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1488 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1490 * po/es.po: Import from translation project.
1491 * configure.in (ALL_LINGUAS): Add es.
1492 * configure: Regenerate.
1494 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1496 * readelf.c (get_netbsd_elfcore_note_type): Use
1497 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1499 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1501 * readelf.c: Update copyright years.
1502 (get_note_type): Return a const char *.
1503 (get_netbsd_elfcore_note_type): New function.
1504 (process_note): Use get_netbsd_elfcore_note_type to get
1505 the note type string for NetBSD ELF core files.
1507 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1509 * readelf.c (get_ia64_segment_type): Add support for macros.
1510 (get_segment_type): Add support for IA64 specific macros.
1512 2001-12-20 Julian v. Bock <julian@wongr.net>
1514 * readelf.c (print_symbol): New function: Print a formatted symbol
1515 name. If --wide is specified do not truncate it.
1516 (dump_relocations): Use print_symbol() to print symbol names.
1517 (process_symbol_table): Likewise.
1518 (process_syminfo): Likewise.
1519 (process_mips_specific): Likewise.
1520 (usage): Document new feature of --wide switch.
1521 * doc/binutils.texi (objdump): Document additional behaviour of
1524 2001-12-18 Michael Snyder <msnyder@redhat.com>
1526 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1527 (copy_object): Don't set the start address or flags of a core file.
1528 (copy_section): Don't relocate a core file. Don't copy contents
1529 if the input section has the contents flag set, but the output
1530 section does not (which happens with the fake 'note' pseudo-
1531 sections that BFD creates for corefiles).
1533 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1535 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1536 ASE extensions. More robust code for ISA checking. Ignore empty fields
1537 in header flags for GNU extensions.
1539 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1541 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1543 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1545 * po/ja.po: Import from translation project.
1546 * configure.in (ALL_LINGUAS): Add ja.
1547 * configure: Regenerate.
1549 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1551 * addr2line.c (main): Protoype.
1552 * ar.c (main): Protoype.
1553 * nm.c (main): Protoype.
1554 * objcopy.c (main): Protoype.
1555 * objdump.c (main): Protoype.
1556 * size.c (main): Protoype.
1557 * strings.c (main): Protoype.
1559 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1561 * readelf.c (symtab_shndx_hdr): New global.
1562 (SECTION_HEADER_INDEX): Define.
1563 (SECTION_HEADER_NUM): Define.
1564 (SECTION_HEADER): Define.
1565 (GET_ELF_SYMBOLS): Pass two params rather than three.
1566 (get_32bit_elf_symbols): Take file and section args. Read and
1567 use SHT_SYMTAB_SHNDX.
1568 (get_64bit_elf_symbols): Likewise.
1569 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1570 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1571 Remember symtab_shdx_hdr.
1572 (process_program_headers): Scan from index 1 for segment map.
1573 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1575 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1576 (process_unwind): Likewise.
1577 (process_version_sections): Likewise.
1578 (process_symbol_table): Likewise.
1579 (display_debug_info): Likewise.
1580 (process_dynamic_segment): Fake up a symtab section for changed
1582 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1583 (process_program_headers): Kill signed/unsigned warning.
1584 (load_debug_str): Likewise.
1585 (display_debug_info): Likewise.
1587 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1589 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1591 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1593 * readelf.c (process_file_header): Print extended e_shnum and
1594 e_shdtrndx values. Set elf_header values for same.
1595 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1596 (get_64bit_section_headers): Likewise.
1597 (process_section_headers): Update calls.
1598 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1600 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1602 * objcopy.c (setup_section): Copy entsize.
1604 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1606 * readelf.c (guess_is_rela): Add support for stormy16.
1607 (dump_relocations): Likewise.
1608 (get_machine_name): Likewise.
1610 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1612 * dllwrap.c (main) Replace multiple strings describing a
1613 single error with a single, newline escaped sentence to permit
1614 better translation into foreign languages.
1616 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1619 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1621 * strings.c (get_char): Initialize value.
1623 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1625 * arlex.l: Silence compile warnings.
1626 * arsup.h: Likewise. Fix formatting.
1628 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1630 * strings.c: Include config.h before bfd.h.
1631 (file_off): New type.
1632 (file_open): Define.
1633 (print_strings): Use file_off instead of file_ptr. Print addresses
1634 which don't fit into long correctly.
1635 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1637 (strings_file): Use file_off instead of file_ptr. Use file_open.
1638 * configure.in: Check for getc_unlocked.
1639 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1641 * configure: Rebuilt.
1642 * config.h.in: Rebuilt.
1644 2001-11-29 H.J. Lu <hjl@gnu.org>
1646 * bucomm.c (make_tempname): Revert the changes made on
1647 2001-11-14 and 2001-11-12. They won't work with directories.
1649 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1651 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1652 CFLAGS_FOR_TARGET to runtest in environment.
1653 * Makefile.in: Rebuild.
1654 * doc/Makefile.in: Rebuild.
1656 2001-11-28 Mike Stump <mrs@wrs.com>
1658 * objcopy.c (setup_section): Preserve SEC_RELOC when
1659 --set-section-flags is used.
1661 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1663 * readelf.c (do_debug_str): New variable.
1664 (display_debug_str): New function: Display the contents of a
1666 (load_debug_str): New function: Load in the contents of a
1668 (free_debug_str): New function: Free the memory used by
1670 (fetch_indirect_string): Retrieve a string from the .debug_str
1673 (parse_args): Accept -ws.
1674 (process_section_headers): Allow the display of the .debug_str
1676 (read_and_display_attr_value): Use fetch_indirect_string. Show
1677 offset into .debug_str section.
1678 (display_debug_info): Use load_debug_str and free_debug_str.
1679 (debug_displays): Add .debug_str.
1680 * doc/binutils.texi: Document -ws.
1682 2001-11-19 Andreas Jaeger <aj@suse.de>
1684 * testsuite/binutils-all/objdump.exp: Add x86-64.
1686 2001-11-15 Andreas Schwab <schwab@suse.de>
1688 * readelf.c: Fix warnings without terminating newline.
1690 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1692 * doc/binutils.texi (objdump): Document ppc -M options.
1694 2001-11-14 Andreas Jaeger <aj@suse.de>
1696 * doc/binutils.texi (objdump): Fix description to use x86-64.
1698 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1700 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1701 not all systems provide mkstemp.
1703 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1705 * doc/binutils.texi (objdump): Document x86 -M options.
1707 2001-11-13 Keith Walker <keith.walker@arm.com>
1709 * readelf.c (read_and_display_attr_value): New function to
1710 handle DW_FORM_indirect.
1711 (read_and_display_attr): Use it.
1713 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1715 * readelf.c (display_debug_lines): Deal with unknown standard
1716 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1719 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1721 * MAINTAINERS: Add self as tic54x maintainer. This target
1722 includes the IBM C54XDSP clone.
1724 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1726 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1728 2001-11-09 Jeffrey A Law (law@cygnus.com)
1730 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1731 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1732 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1733 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1734 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1735 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1736 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1738 * readelf.c (get_elf_class): Fix ISO portability glitch.
1739 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1741 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1743 * readelf.c (debug_str, debug_str_size): New.
1744 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1746 (read_and_display_addr): Handle DW_FORM_strp.
1747 (display_debug_info): Read .debug_str section if present,
1748 so that DW_FORM_strp can be handled.
1749 Fix test for non-existant .debug_abbrev section.
1751 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1753 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1755 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1757 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1759 * MAINTAINERS: Add self as s390/s390x maintainer.
1761 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1763 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1765 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1767 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1768 * configure: Regernate.
1769 * po/fr.po: New file.
1770 * po/tr.po: New file.
1772 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1774 * MAINTAINERS: Add self as MMIX port maintainer.
1775 * readelf.c: Include elf/mmix.h.
1776 (guess_is_rela): MMIX is RELA.
1777 (dump_relocations): Handle MMIX relocations.
1778 * Makefile.am: Regenerate dependencies.
1779 * Makefile.in: Regenerate.
1781 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1783 * readelf.c (parse_args): Handle multiple options to the -w
1786 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1788 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1789 LOPROC, LOOS and LOUSER.
1791 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1793 * MAINTAINERS: Update my email address.
1795 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1797 * doc/Makefile.in: Regenerate.
1798 * configure: Regenerate.
1800 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1802 * readelf.c (display_debug_line, display_debug_pubnames,
1803 display_debug_info, display_debug_frames): Detect and warn
1804 about 64-bit format entries.
1805 (display_debug_aranges): Reword 64-bit warning.
1806 (debug_displays): Add .debug_pubtypes as a known, but not yet
1807 supported, debug section.
1809 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1811 * coffdump.c (PROGRAM_VERSION): Delete.
1812 (main <'V'>): Call print_version.
1813 * srconv.c: Likewise.
1814 * sysdump.c: Likewise.
1815 * version.c (program_version): Remove.
1816 (print_version): Use BFD_VERSION_STRING. Just print the current
1817 year in copyright message.
1818 * addr2line.c (program_version): Remove unused declaration.
1819 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1820 place of BFD_VERSION.
1821 * Makefile.am (Makefile): Depend on bfd/configure.in.
1822 (cplus-dem.o): Depend on Makefile.
1824 * Makefile.in: Regenerate.
1826 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1828 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1829 format .debug_arange sections.
1830 (main): Add missing prototype.
1832 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1834 * Makefile.am: Update dependencies with "make dep-am".
1835 * Makefile.in: Regenerate.
1837 2001-09-28 Richard Henderson <rth@redhat.com>
1839 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1841 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1843 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1845 (non_fatal): Likewise.
1846 * objdump.c (objdump_sprintf): Likewise.
1847 * readelf.c (error): Likewise.
1850 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1852 * readelf.c (do_wide): New.
1853 (options): Add --wide.
1854 (usage, parse_args): Likewise.
1855 (process_program_headers): Put each segment on a single line if
1857 (process_section_headers): Put each section on a single line if
1859 * doc/binutils.texi: Document it.
1862 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1864 * readelf.c (print_vma): Print 8 digits of low hex value.
1866 2001-09-24 Andreas Jaeger <aj@suse.de>
1868 * nlmconv.c: Fix warnings about unused attributes and function
1871 * strings.c: Add prototype for get_char.
1873 2000-09-19 H.J. Lu <hjl@gnu.org>
1875 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1876 $(srcdir)/cxxfilt.man.
1877 * doc/Makefile.in: Rebuild.
1879 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1881 * objcopy.c (copy_main): Correct rename-section string parsing.
1882 Consolidate new_name parsing, and error messages.
1884 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1886 * addr2line.c: Don't include <ctype.h>.
1887 (main): For gettext, also set the LC_CTYPE locate facet.
1888 * ar.c (main): Likewise.
1889 * coffdump.c (main): Likewise.
1890 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1891 (main): For gettext, also set the LC_CTYPE locate facet.
1892 Use ISALNUM instead of isalpha/isdigit.
1893 * dllwrap.c: Don't include <ctype.h>.
1894 (main): For gettext, also set the LC_CTYPE locate facet.
1895 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1896 (main): For gettext, also set the LC_CTYPE locate facet.
1897 Use TOUPPER instead of islower/toupper.
1898 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1899 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1900 Use TOUPPER instead of islower/toupper.
1901 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1902 * objcopy.c (main): Likewise.
1903 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1904 (disassemble_bytes): Use ISPRINT instead of isprint.
1905 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1906 (dump_data): Use ISPRINT instead of isprint.
1907 (main): For gettext, also set the LC_CTYPE locate facet.
1908 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1909 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1910 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1911 Use TOUPPER instead of islower/toupper.
1912 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1913 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1914 (write_rc_accelerators): Use ISPRINT instead of isprint.
1915 (write_rc_rcdata): Likewise.
1916 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1917 * srconv.c (main): Likewise.
1918 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1919 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1920 isdigit/isupper/islower.
1921 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1922 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1923 stab_demangle_prefix, stab_demangle_qualified,
1924 stab_demangle_template, stab_demangle_type,
1925 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1926 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1927 (isgraphic): Use ISPRINT instead of isascii/isprint.
1928 (main): Remove HAVE_LC_MESSAGES dependency.
1929 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1930 (pbarray): Use ISPRINT instead of isprint.
1931 (main): For gettext, also set the LC_CTYPE locate facet.
1932 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1933 (format_from_filename): Use ISPRINT instead of isprint.
1934 (main): For gettext, also set the LC_CTYPE locate facet.
1935 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1936 (unicode_print): Use ISPRINT instead of isprint.
1937 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1938 (stab_variable): Use ISDIGIT instead of isdigit.
1940 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1942 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1943 Replace bfd_read call with call to bfd_bread.
1944 (extract_file): Likewise.
1946 * objdump.c (dump_section_header): Cast section->filepos to
1947 unsigned long to suit printf format string.
1948 * readelf.c (process_section_headers): Similarly for sh_offset.
1949 (process_unwind): Likewise.
1951 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1953 * strings.c (encoding, encoding_bytes): New variables.
1954 (long_options): Add --encoding.
1955 (main): Accept -e and --encoding.
1956 (get_char): New function. Read a, possibly wide, character from
1958 (print_strings): Use get_char().
1959 (usage): Document new command line option.
1960 * doc/binutils.texi: Document new command line option.
1961 * NEWS: Announce new command line option.
1963 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1965 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1966 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1967 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1968 Removed EM_CYGNUS_ARC.
1970 2001-09-04 Jeffrey A Law (law@cygnus.com)
1972 * readelf.c: Include elf/h8 for H8 series definitions.
1973 (guess_is_rela): H8 series if RELA.
1974 (dump_relocations): Handle H8 series relocations.
1976 2001-08-31 Eric Christopher <echristo@redhat.com>
1978 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1980 2001-08-29 Peter Targett <peter.targett@arccores.com>
1982 * MAINTAINERS: Include ARC Maintainer.
1984 2001-08-29 Ben Elliston <bje@redhat.com>
1986 * stabs.c (stab_demangle_template): Initialise s4.
1988 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1990 * readelf.c (dump_relocations): Recognise EM_PPC64.
1992 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1994 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1996 2001-08-25 H.J. Lu <hjl@gnu.org>
1998 * nm.c (print_width): New.
1999 (display_rel_file): Set `print_width' according to
2001 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2003 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2005 * objcopy.c (use_alt_mach_code): New variable.
2006 (OPTION_ALT_MACH_CODE): Define.
2007 (copy_options): Added --alt-machine-code.
2008 (copy_main): Handle it.
2009 (copy_object): Switch to alternate machine code if requested.
2010 * doc/binutils.texi: Document new option.
2013 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2015 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2017 2001-08-21 H.J. Lu <hjl@gnu.org>
2019 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2020 (display_debug_info): Cast for 64bit hosts.
2021 (display_debug_frames): Likewise.
2022 (process_mips_specific): Likewise.
2024 2001-08-21 Andreas Jaeger <aj@suse.de>
2026 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2028 * sysdump.c: Add missing prototypes.
2029 * srconv.c: Likewise.
2030 * unwind-ia64.c: Likewise.
2031 * coffdump.c: Likewise.
2033 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2035 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2036 of declaring xcalloc.
2038 2001-08-10 H.J. Lu <hjl@gnu.org>
2040 * nm.c (print_value): Add one arg, bfd *.
2041 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2042 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2043 (print_symbol_info_sysv): Likewise.
2044 (print_symbol_info_posix): Likewise.
2046 * objdump.c (dump_section_header): Replace printf_vma with
2048 (print_section_stabs): Likewise.
2049 (dump_bfd_header): Likewise.
2050 (objdump_print_value): Replace sprintf_vma with
2052 (disassemble_bytes): Likewise.
2053 (dump_reloc_set): Likewise.
2055 2001-08-10 Andreas Jaeger <aj@suse.de>
2057 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2059 * configure: Regenerate.
2061 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2063 * readelf.c: Add missing prototypes.
2064 * objdump.c: Likewise. Format existing prototypes.
2066 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2068 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2069 of any RELA relocation for the abbrev_offset memory location that
2070 refers to the .debug_abbrev section symbol.
2072 2001-08-07 H.J. Lu <hjl@gnu.org>
2074 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2075 (main): Return process_file ().
2077 2001-08-05 Philip Blundell <philb@gnu.org>
2079 * doc/binutils.texi: Use "Thumb" not "THUMB".
2081 2001-08-03 John Healy <jhealy@redhat.com>
2083 Patch suggested by Frank Eigler <fche@redhat.com>.
2084 * objdump.c (disassemble_data): Fill in section member of the
2085 disasm_info structure.
2087 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2089 * configure.in: Added --with-windres option.
2090 * configure: Regenerated.
2092 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2094 * doc/binutils.texi: Use @command{name} for commands;
2095 use @option{-opt} for options; use @table @env for list of options;
2096 remove spaces arround [ | ] in synopsis.
2098 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2101 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2103 * objcopy.c: Fix formatting.
2104 (section_rename): New structure.
2105 (OPTION_RENAME_SECTION): New switch.
2106 (copy_usage): Document new switch.
2107 (add_section_rename): New function: Add a node to the section
2109 (find_section_rename): New function: Find the new name and
2110 flags for a section.
2111 (setup_section): Call find_section_name to determine the name
2112 of the output section.
2113 (copy_main): Handle OPTION_RENAME_SECTION.
2114 * binutils.texi: Document new switch.
2115 * NEWS: Mention new switch.
2117 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2119 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2120 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2121 bug-binutils@gcc.org.
2123 2001-07-28 Matthias Kramm <kramm@quiss.org>
2125 * bucomm.c (list_supported_architectures): New function.
2126 * bucomm.h (list_supported_architectures): Declare.
2127 * objdump.c (usage): Call the above.
2129 2001-07-25 Dave Brolley <brolley@redhat.com>
2131 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2132 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2134 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2136 * README: Update for 2.11. Change bug reporting email address.
2137 * MAINTAINERS: Tidy up. Change bug reporting email address.
2139 2001-07-16 DJ Delorie <dj@redhat.com>
2141 * resres.c (write_res_header): Align header size.
2142 (res_align_file): Calculate alignment correctly.
2144 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2146 * resrc.c (write_rc_resource): Likewise.
2147 * windres.h (SUBLANG_SHIFT): Define - as 10.
2149 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2151 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2153 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2155 * MAINTAINERS: Add notes about branch checkins.
2157 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2159 * readelf.c (display_debug_macinfo): New function, display
2160 .debug_macinfo section.
2161 (do_debug_macinfo): New variable.
2162 (parse_args): Handle "-w[mM]" to mean display macro info.
2163 (process_section_headers): Handle debug_macinfo.
2164 (debug_displays): Replace unsupported function with macinfo
2165 function for .debug_macinfo display.
2166 * doc/binutils.texi: Document new command line switch.
2167 * NEWS: Document new feature of readelf.
2169 2001-07-05 H.J. Lu <hjl@gnu.org>
2171 * objcopy.c (filter_symbols): Don't turn undefined symbols
2174 2001-07-03 H.J. Lu <hjl@gnu.org>
2176 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2179 (dlltool.1): Likewise.
2180 (nlmconv.1): Likewise.
2182 (objcopy.1): Likewise.
2183 (objdump.1): Likewise.
2184 (ranlib.1): Likewise.
2185 (readelf.1): Likewise.
2187 (strings.1): Likewise.
2188 (strip.1): Likewise.
2189 (windres.1): Likewise.
2190 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2191 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2194 * doc/Makefile.in: Regenerated.
2196 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2198 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2200 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2202 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2204 2001-06-29 James Cownie <jcownie@etnus.com>
2206 * readelf.c: Support DWARF 2.1 attributes.
2208 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2210 * readelf.c (GET_DATA_ALLOC): Remove.
2212 (get_data): New function combining above macros, with an extra
2214 (slurp_rela_relocs): Use get_data, and catch error return.
2215 (slurp_rel_relocs): Likewise.
2216 (get_32bit_program_headers): Likewise.
2217 (get_64bit_program_headers): Likewise.
2218 (get_32bit_section_headers): Likewise.
2219 (get_64bit_section_headers): Likewise.
2220 (get_32bit_elf_symbols): Likewise.
2221 (get_64bit_elf_symbols): Likewise.
2222 (process_section_headers): Likewise.
2223 (process_relocs): Likewise.
2224 (slurp_ia64_unwind_table): Likewise.
2225 (process_unwind): Likewise.
2226 (get_32bit_dynamic_segment): Likewise.
2227 (get_64bit_dynamic_segment): Likewise.
2228 (process_dynamic_segment): Likewise.
2229 (process_version_sections): Likewise.
2230 (process_symbol_table): Likewise.
2231 (dump_section): Likewise.
2232 (display_debug_info): Likewise.
2233 (display_debug_section): Likewise.
2234 (process_section_contents): Likewise.
2235 (process_corefile_note_segment): Likewise.
2236 (process_mips_specific): Likewise. Also free econf32, econf64.
2238 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2240 * readelf.c (dump_relocations): Print "bad symbol index" if
2241 symtab == NULL with non-zero symtab_index.
2242 (process_relocs): Don't bomb if reloc section has no symsec.
2244 2001-06-24 H.J. Lu <hjl@gnu.org>
2246 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2248 (copy_main): Apply the the change made to strip_main on
2249 2001-05-30 by accident.
2251 2001-06-23 Andreas Jaeger <aj@suse.de>
2253 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2255 (unw_decode_x2): Likewise.
2256 (unw_decode_x3): Likewise.
2257 (unw_decode_x4): Likewise.
2259 2001-06-23 Ben Elliston <bje@redhat.com>
2261 * MAINTAINERS: Add myself as M88k maintainer.
2263 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2265 * objcopy.c (strip_main): Support -o or --output-file command lien
2268 2001-06-19 H.J. Lu <hjl@gnu.org>
2270 * doc/Makefile.in: Regenerated.
2272 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2274 * readelf.c: Restore formatting.
2276 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2278 * Makefile.am: Move documentation into doc subdirectory.
2279 * Makefile.in: Regenerated.
2280 * binutils.texi: Move into doc subdirectory.
2281 * addr2line.1: Removed.
2283 * dlltool.1: Likewise.
2284 * nlmconv.1: Likewise.
2286 * objcopy.1: Likewise.
2287 * objdump.1: Likewise.
2288 * ranlib.1: Likewise.
2289 * readelf.1: Likewise.
2291 * strings.1: Likewise.
2292 * strip.1: Likewise.
2293 * windres.1: Likewise.
2294 * cxxfilt.man: Likewise.
2295 * doc: New Directory.
2296 * doc/Makefile.am: New file.
2297 * doc/Makefile.in: Generate.
2299 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2301 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2303 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2305 * MAINTAINERS: Update my email address.
2307 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2309 * objcopy.c: Add new switches: --keep-global-symbol,
2310 --keep-symbols, --localize-symbols, --keep-global-symbols and
2312 * binutils.texi: Document new switches.
2313 * objcopy.1: Regenerate.
2314 * NEWS: Announce new feature.
2316 2001-05-28 Andreas Jaeger <aj@suse.de>
2318 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2319 variables, fix format strings.
2321 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2323 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2324 when computing the address of the line to show.
2326 2001-05-16 Richard Henderson <rth@redhat.com>
2328 * readelf.c (do_debug_frames_interp): New.
2329 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2330 (byte_get_big_endian): Likewise.
2331 (parse_args) ['F']: Set do_debug_frames_interp.
2332 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2333 (frame_display_row): Don't trunc pc_begin to int.
2334 (size_of_encoded_value): New.
2335 (display_debug_frames): Handle 64-bit targets. Print raw data
2336 unless do_debug_frames_interp.
2337 (debug_displays): Remove duplicate .debug_frame.
2339 2001-05-15 Ralf Baechle <ralf@gnu.org>
2341 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2342 The former constant was never in active use and is used otherwise
2345 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2347 * readelf.c (process_unwind): Print all unwind sections, not just
2350 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2352 * readelf.c (process_unwind): Remove const specifier.
2354 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2356 * strings.c (isgraphic): Do not use isascii() unless it is needed
2357 for isprint() to work.
2358 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2360 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2362 * NEWS: Announce support for OpenRISC.
2364 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2366 * dlltool.c (do_default_excludes): Initialise to true.
2368 2001-04-10 Alan Modra <amodra@one.net.au>
2370 * MAINTAINERS: Update my email address
2371 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2373 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2375 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2377 2001-03-30 H.J. Lu <hjl@gnu.org>
2379 * readelf.c (process_unwind): Just return if do_unwind is 0.
2381 2001-03-28 Roger Sayle <roger@metaphorics.com>
2383 * dlltool.c (make_one_lib_file): Fix section flags for
2384 .text, .data and .bss in stub ds*.o files to match those
2387 2001-03-29 H.J. Lu <hjl@gnu.org>
2389 * readelf.c (process_unwind): Only do unwind sections for
2392 2001-03-28 H.J. Lu <hjl@gnu.org>
2394 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2395 * Makefile.in: Regenerate.
2397 2001-03-26 Andreas Jaeger <aj@suse.de>
2399 * binutils.texi (nm): Fix texi syntax.
2401 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2403 * binutils.texi: Put @c man begin and @c man end indications
2404 to generate man pages using texi2pod and pod2man. Put @c man title
2405 to identify each man. Add SEEALSO entries.
2406 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2407 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2409 (*.1): Build the man pages from binutils.texi.
2410 * Makefile.in: Regenerate.
2412 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2414 * defparse.y (opt_equal_name): allow "." in name.
2415 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2416 (gen_exp_file): Likewise.
2418 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2420 * NEWS: Document addition of -B switch to objcopy.
2421 * binutils.texi: Document addition of -B switch to objcopy.
2422 * objcopy.c: (copy_options): Add --binary-architecture.
2423 (copy_usage): Document -B/--binary-architecture.
2424 (copy_main): Support -B/--binary-architecture. Set
2425 bfd_external_binary_architecture.
2427 2001-03-11 Andreas Jaeger <aj@suse.de>
2429 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2430 (dump_relocations): Likewise.
2431 (get_machine_name): Likewise.
2433 2001-02-28 Nick Clifton <nickc@redhat.com>
2435 * readelf.c: (struct unw_aux_info): Remove const modifier for
2437 (process_unwind): Remove non-K&R compliant LHS type cast in call
2438 to GET_DATA_ALLOC macro.
2440 2001-02-28 Philip Blundell <pb@futuretv.com>
2442 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2443 ABI is in use; remove ambiguity between the "unknown" EABI and
2444 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2445 renamed EF_xx constants.
2447 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2449 * configure.in (BFD_VERSION): New.
2450 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2451 * configure: Regenerate.
2452 * Makefile.am: Run "make dep-am"
2453 * Makefile.in: Regenerate.
2455 2001-02-14 Nick Clifton <nickc@redhat.com>
2457 * MAINTAINERS: Add "Obvious Fix" rule.
2459 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2461 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2462 literal concatenation.
2464 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2466 * readelf.c (struct unw_aux_info): Remove const from the info member.
2467 (process_unwind): Don't type-cast the third argument to the
2468 GET_DATA_ALLOC macro.
2470 2001-02-11 Nick Clifton <nickc@redhat.com>
2472 * readelf.c (dump_relocations): Free corrected allocated
2474 (process_unwind): Fix compile time warning.
2476 2001-02-10 Nick Clifton <nickc@redhat.com>
2478 * binutils.texi: Document new --unwind option to readelf.
2480 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2482 * readelf.c: Add linux target for S/390.
2484 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2486 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2489 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2491 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2492 * aclocal.m4: Regenerate.
2493 * configure: Regenerate.
2495 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2497 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2498 * objdump.c (bfd_target_vector): Likewise.
2500 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2502 * readelf.c (process_unwind): New function.
2503 (slurp_ia64_unwind_table): Ditto.
2504 (dump_ia64_unwind): Ditto.
2505 (find_symbol_for_address): Ditto.
2506 (slurp_rela_relocs): New function (split off from dump_relocations()).
2507 (slurp_rel_relocs): Ditto.
2508 (parse_args): Handle '-u' option.
2510 * unwind-ia64.c: New file.
2511 * unwind-ia64.h: New file.
2512 * Makefile.am: Include unwind-ia64.c in readelf build.
2513 * Makefile.in: Regenerate.
2514 * po/binutils.pot: Regenerate.
2516 2001-02-04 Philip Blundell <philb@gnu.org>
2518 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2519 * configure: Regenerate.
2521 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2523 * ieee.c (ieee_add_bb11): Don't check for backslashes
2524 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2526 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2528 * ieee.c: Update copyright.
2529 (ieee_start_compilation_unit): Don't check for backslashes
2530 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2532 * stabs.c: Update copyright. Include "filenames.h".
2533 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2535 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2537 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2538 sections are present before using them. Remove code duplication.
2539 (process_symbol_table): Check if VERDEF or VERNEED sections are
2540 present before using them.
2542 2001-01-17 Nick Clifton <nickc@redhat.com>
2544 * objcopy.c (copy_object): Fail if attempting to convert the
2545 endianness of the input object file.
2547 * binutils.texi: Explain that objcopy cannot convert endianness.
2549 2001-01-16 Nick Clifton <nickc@redhat.com>
2551 * readelf.c (string_table_length): New variable.
2552 (SECTION_NAME): Catch out of range indices and missing section
2554 (process_section_headers): Delete useless local variable
2555 string_table_offset. Set the value of string_table_length
2556 after loading the string table.
2557 (process_mips_specific): Use SECTION_NAME macro.
2558 (process_file): Set string_table_length to 0 when it is freed.
2560 2001-01-12 Nick Clifton <nickc@redhat.com>
2562 * version.c (print_version): Update copyright date.
2564 2001-01-11 Peter Targett <peter.targett@arccores.com>
2566 * readelf.c (dump_relocations): Include selection with EM_ARC.
2567 (get_machine_name) Update name to "ARC".
2569 2001-01-09 Nick Clifton <nickc@redhat.com>
2571 * Makefile.am: Add rule to build objdump.o from objdump.c and
2573 * Makefile.in: Regenerate.
2575 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2576 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2577 -DDISASSEMBLER_NEEDS_RELOCS.
2578 * configure: Regenerate.
2580 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2581 is defined read in the relocs even if dump_reloc_info is
2584 2001-01-07 Philip Blundell <philb@gnu.org>
2586 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2590 2000-12-19 Nick Clifton <nickc@redhat.com>
2592 * dlltool.c: Add missing support for arm-epoc-pe.
2593 * configure.in: Add missing support for arm-epoc-pe.
2594 * configure: Regenerate.
2596 2000-12-15 Nick Clifton <nickc@redhat.com>
2598 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2599 Mode parts of the x86 port.
2601 2000-12-04 Andreas Jaeger <aj@suse.de>
2603 * readelf.c (guess_is_rela): Add EM_X86_64.
2604 (dump_relocations): Add EM_X86_64.
2605 (get_machine_name): Add EM_X86_64.
2606 Include "elf/x86-64.h".
2608 2000-12-12 Nick Clifton <nickc@redhat.com>
2610 * readelf.c: Fix formatting.
2612 2000-12-11 Jan Hubicka <jh@suse.cz>
2614 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2616 2000-12-07 Andrew Haley <aph@redhat.com>
2618 * readelf.c (display_debug_frames): Only display columns that are
2619 referenced by the frame debug info.
2621 2000-12-05 Nick Clifton <nickc@redhat.com>
2623 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2625 2000-12-04 Jason Merrill <jason@redhat.com>
2627 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2628 (display_debug_section): Likewise.
2629 (display_debug_info): Display CU header before bailing.
2631 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2633 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2634 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2635 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2637 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2640 * readelf.c (get_machine_flags): Add case for
2643 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2645 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2647 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2649 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
2650 Change sourceware.cygnus.com to sources.redhat.com.
2651 Fix typo for "amongst".
2653 2000-11-28 Nick Clifton <nickc@redhat.com>
2655 * strip.1 (COPYING): Mention that the GNU Free Documentation
2656 License is present in the sources, but not the output, and
2657 also available from the GNU website.
2658 (GNU Free Documentation License): Comment out this section.
2667 * addr2line.1: Ditto.
2669 2000-11-27 DJ Delorie <dj@redhat.com>
2671 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2672 (parse_args): Support -wf option.
2673 (process_section_headers): Ditto.
2674 (debug_displays): Ditto.
2675 (display_debug_frames): New, dump *_frame sections.
2676 (frame_need_space): Support for above.
2677 (frame_display_row): Ditto.
2678 * binutils.texi: Document it.
2680 2000-11-24 Nick Clifton <nickc@redhat.com>
2682 * NEWS: Announce support for v5t, v5te and XScale.
2684 2000-11-22 Nick Clifton <nickc@redhat.com>
2686 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2687 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2688 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2689 (get_elf_section_flags: Add SHF_GROUP.
2690 (process_section_headers): Adjust output for 32-bit binaries
2691 to look nice on an 80 column terminal.
2693 2000-11-20 H.J. Lu <hjl@gnu.org>
2695 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2698 2000-11-17 Richard Henderson <rth@redhat.com>
2700 * readelf.c (display_debug_lines): Adjust last change to
2701 use sizeof (external->li_length).
2703 2000-11-17 Richard Henderson <rth@redhat.com>
2705 * readelf.c (display_debug_lines): Fix section length check
2706 and end_of_sequence computation.
2708 2000-11-06 Nick Clifton <nickc@redhat.com>
2710 * binutils.texi: Add GNU Free Documentation License.
2711 * objcopy.1: Add GNU Free Documentation License.
2712 * objdump.1: Add GNU Free Documentation License.
2713 * addr2line.1: Add GNU Free Documentation License.
2714 * ar.1: Add GNU Free Documentation License.
2715 * nlmconv.1: Add GNU Free Documentation License.
2716 * nm.1: Add GNU Free Documentation License.
2717 * ranlib.1: Add GNU Free Documentation License.
2718 * size.1: Add GNU Free Documentation License.
2719 * strings.1: Add GNU Free Documentation License.
2720 * strip.1: Add GNU Free Documentation License.
2722 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2724 * objcopy.c (--srec-len=nn): New parameter to set the
2725 maximum length of generated Srecords.
2726 (--srec-forceS3): New parameter that restricts the generation of
2727 Srecords to type S3 only.
2728 * binutils.texi: Document new command line switches.
2729 * objcopy.1: Docuemnt the new command line switches.
2730 * NEWS: Announce the existence of the new command line switches.
2732 2000-10-31 Nick Clifton <nickc@redhat.com>
2734 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2735 code. Add Eric Chrisopher as maintainer of MN10300 port.
2737 2000-10-12 Roger Sayle <roger@metaphorics.com>
2739 * Make comma after string after icon/control optional.
2741 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2743 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2745 * NEWS: Mention support for MIPS32.
2747 2000-09-08 Nick Clifton <nickc@redhat.com>
2749 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2751 2000-09-07 H.J. Lu <hjl@gnu.org>
2753 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2754 * configure: Rebuild.
2756 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2758 * configure: Rebuilt with new libtool.m4.
2760 2000-09-05 Nick Clifton <nickc@redhat.com>
2762 * aclocal.m4: Regenerate.
2763 * config.in: Regenerate.
2764 * configure: Regenerate.
2766 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2768 * strip.1: Fix stray '\' in -o formatting.
2770 2000-09-02 Nick Clifton <nickc@redhat.com>
2772 * configure.in: Increase version number to 2.10.91.
2773 * configure: Regenerate.
2774 * aclocal.m4: Regenerate.
2775 * config.in: Regenerate.
2776 * po/binutils.pot: Regenerate.
2778 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2780 * acinclude.m4: Include libtool and gettext macros from the
2782 * aclocal.m4, configure: Rebuilt.
2784 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2786 * resrc.c (close_input_stream): Delete extraneous logic
2788 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2790 * NEWS: Mention support for CRIS.
2792 2000-08-21 Nick Clifton <nickc@redhat.com>
2794 * addr2line.c: Changed email address for Ulrich Lauther.
2796 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2798 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2800 2000-08-17 Nick Clifton <nickc@redhat.com>
2802 * readelf.c (display_debug_pubnames): Only issue warning
2803 message once. Terminate message with a new line.
2804 (display_debug_aranges): Only display version 2 debug info.
2806 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2808 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2809 for compatability with old BSD systems.
2811 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2813 * NEWS: Mention i860 support.
2815 2000-08-11 Carlo Wood <carlo@alinoe.com>
2817 * addr2line.c (main): Add const to char *.
2819 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2821 * ar.c (main): Don't crash if called with no arguments
2822 or only '-X32_64' as an argument.
2824 2000-08-08 DJ Delorie <dj@redhat.com>
2826 * resrc.c: use "gcc -xc" instead of -xc-header
2828 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2830 * readelf.c (elf/i860.h): Include.
2831 (dump_relocations): Add recognition of i860 architecture.
2832 (guess_is_rela): Add recognition of i860 architecture.
2834 2000-08-03 Nick Clifton <nickc@cygnus.com>
2836 * MAINTAINERS: Add information about CGEN maintainers.
2838 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2840 * nm.c (main): Ignore '-X32_64' as an option.
2841 * ar.c (main): Likewise.
2842 * binutils.texi (nm): Document new option.
2845 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2847 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2849 2000-07-20 H.J. Lu <hjl@gnu.org>
2851 * binutils.texi: Put back "@end table" deleted by
2854 2000-07-05 Kenneth Block <krblock@computer.org>
2856 * nm.c: Add optional style to demangle switch.
2857 * objdump.c: Add optional style to demangle switch.
2858 * addr2line.c: Add optional style to demangle switch.
2859 * binutils.texi: Document optional style to demangle
2862 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2864 * MAINTAINERS: Add self as CRIS port maintainer.
2865 * readelf.c: Include elf/cris.h.
2866 (guess_is_rela): Handle EM_CRIS.
2867 (dump_relocations): Ditto.
2868 (get_machine_name): Ditto.
2869 * Makefile.am: Rebuild dependencies.
2870 * Makefile.in: Regenerate.
2871 * po/binutils.pot: Regenerate.
2873 2000-07-19 H.J. Lu <hjl@gnu.org>
2875 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2877 (process_dynamic_segment): Print out strings for DT_CONFIG,
2878 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2880 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2882 * nm.c (usage): Change output of `nm --help' to include a
2883 description of the purpose of the program and a detailed
2884 description of the accepted options.
2886 2000-07-19 H.J. Lu <hjl@gnu.org>
2888 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2891 2000-07-19 H.J. Lu <hjl@gnu.org>
2893 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2895 2000-07-19 H.J. Lu <hjl@gnu.org>
2897 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2899 (process_dynamic_segment): Likewise.
2901 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2902 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2903 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2904 DF_1_NODUMP and DF_1_CONLFAT.
2906 2000-07-18 Nick Clifton <nickc@cygnus.com>
2908 * binutils.texi (readelf): Fix spelling typo.
2910 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2912 * objdump.c (usage): Make output of `objdump --help' more
2913 consistent with the rest of the GNU world. Add a line describing
2914 the purpose of the program.
2916 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2918 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2921 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2923 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2925 (process_symbol_table): Ditto.
2926 (procesS_extended_line_op): Ditto.
2927 (display_debug_lines): Ditto.
2928 (display_debug_pubnames): Ditto.
2929 (read_and_display_attr): Ditto.
2931 2000-07-09 Nick Clifton <nickc@cygnus.com>
2933 * MAINTAINERS: Add several more port specific maintainers.
2935 2000-07-05 Nick Clifton <nickc@cygnus.com>
2937 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2939 2000-06-05 DJ Delorie <dj@redhat.com>
2943 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2945 * dllwrap.c: Changed mistaken dyn_string_append() calls
2946 to dyn_string_append_cstr().
2948 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2950 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2951 struct debug_type stores size in bytes.
2953 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2955 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2956 (CLEANFILES): Add DEPA.
2957 * Makefile.in: Regenerate.
2959 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2961 * ar.c: Revert incorrect 2000-06-25 patch.
2962 * bucomm.c: Likewise.
2964 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2966 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2967 (external_coff_symbol_p): New function.
2968 (parse_coff): Use it.
2970 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2972 * ar.c (normalize): Advance past both characters in a DOS based
2973 <letter>: filepath prefix.
2975 * bucomm.c (make_tempname): Likewise.
2977 2000-06-24 Nick Clifton <nickc@cygnus.com>
2979 * objdump.c (usage): Fix description of --stabs switch.
2981 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2983 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2985 * Makefile.in: Regenerate.
2987 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2989 * ar.c (normalize): Correct pointer comparison when checking for
2992 * bucomm.c (make_tempname): Likewise.
2994 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2995 and search for backslashes in the original pathname.
2996 (ieee_add_bb11): Likewise.
2998 2000-06-18 Nick Clifton <nickc@redhat.com>
3000 * ar.c (print_contents): Improve verbose message.
3002 2000-06-15 H.J. Lu <hjl@gnu.org>
3004 * dyn-string.c: Removed. Not needed with dyn-string.c in
3006 * dyn-string.h: Likewise.
3008 * Makefile.am: Remove references to dyn-string.c and
3009 dyn-string.h. Rebuild dependency.
3010 * Makefile.in: Rebuild.
3012 2000-06-15 H.J. Lu <hjl@gnu.org>
3014 * binutils.texi: Put a warning on copying relocatable object
3015 files between two different formats.
3017 2000-06-13 DJ Delorie <dj@cygnus.com>
3019 * rcparse.y (control): ICON controls take an id as the first
3020 parameter, not an optional string. Also, call new convenience
3021 function that takes res_id's.
3022 * resrc.c (define_control): missing text means zero-length string,
3024 (define_icon_control): New.
3025 * windres.h: declare define_icon_control.
3027 2000-06-13 H.J. Lu <hjl@gnu.org>
3029 * configure: Regenerate.
3031 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3033 * configure.in (VERSION): Update to show this is the CVS mainline.
3035 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3037 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3038 analogous to <SPACE>.
3040 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3042 * objdump.c (display_target_list): Use bfd_close_all_done, not
3043 bfd_close to fix crash caused by 2000-05-24 change.
3045 2000-05-25 DJ Delorie <dj@cygnus.com>
3047 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3049 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3051 * Makefile.am: Update dependencies with "make dep-am"
3052 * Makefile.in: Regenerate.
3054 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3056 * ar.c: Include filenames.h.
3057 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3058 and drive letters in file names.
3059 (main): Support backslashes and drive letters in argv[0]. Drop
3060 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3061 FILENAME_CMP instead of strcmp to compare file names.
3062 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3064 (do_quick_append) [__GO32__]: Ditto.
3065 (get_pos_bfd, delete_members, move_members, replace_members):
3066 Compare file names with FILENAME_CMP.
3068 * bucomm.c: Include filenames.h.
3069 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3070 forward/backward slashes and drive letters in file names.
3072 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3073 mixed forward/backward slashes and drive letters in file names.
3075 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3076 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3079 * objcopy.c: Include filenames.h.
3080 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3081 before comparing to "strip".
3082 Use FILENAME_CMP to compare file names.
3084 * arsup.c: Include filenames.h.
3085 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3086 FILENAME_CMP to compare file names.
3087 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3088 the temporary file name.
3090 * configure.in: Check for setmode.
3091 * configure: Regenerate.
3093 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3095 * objdump.c (display_target_list): Close the bfd.
3096 (display_info_table): Likewise.
3098 2000-05-14 H.J. Lu (hjl@gnu.org)
3100 * objcopy.c (filter_symbols): Don't strip global symbols in
3101 relocatable object files.
3103 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3105 * size.c (usage): Associate short options with corresponding long
3106 option to give a clue as to their function.
3108 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3110 * size.c (main): Accept and ignore `-f' option.
3112 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3114 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3115 bindtextdomain): Replace defines with those from intl/libgettext.h
3116 to quieten gcc warnings.
3118 2000-05-12 H.J. Lu <hjl@gnu.org>
3120 * nlmconv.c (temp_filename): Removed.
3122 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3123 choose_temp_base ().
3124 * objdump.c (display_target_list): Likewise.
3125 (display_info_table): Likewise.
3127 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3129 * objcopy.c (setup_section): Add const and gettext calls for err.
3131 2000-05-02 H.J. Lu <hjl@gnu.org>
3133 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3134 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3135 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3136 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3137 and ELFOSABI_OPENBSD.
3139 2000-05-02 Kazu Hirata <kazu@hxi.com>
3141 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3142 * srconv.c: Likewise.
3143 * sysdump.c: Likewise.
3145 2000-04-23 Denis Chertykov <denisc@overta.ru>
3147 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3148 (get_machine_name): machine name for EM_AVR added.
3150 2000-04-21 Richard Henderson <rth@cygnus.com>
3151 David Mosberger <davidm@hpl.hp.com>
3153 * Makefile.am (readelf.o): Add elf/ia64.h.
3154 * Makefile.in: Rebuild.
3155 * readelf.c: Include elf/ia64.h.
3156 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3158 2000-04-17 Timothy Wall <twall@cygnus.com>
3160 * objdump.c (disassemble_data): Set octets per byte *after*
3161 resolving arch/mach for binary files.
3163 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3165 * arlex.l: Add directives to increase lex buffer size.
3167 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3168 already included by bucomm.h.
3170 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3172 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3173 `strftime' since strftime is not available on all systems.
3174 (process_mips_specific): Ditto.
3176 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3178 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3179 --enable-build-warnings option.
3180 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3181 * Makefile.in, configure: Re-generate.
3183 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3185 * addr2line.c: Update copyright.
3186 * objcopy.1: Likewise, and title.
3187 * strings.1: Likewise.
3189 * version.c (print_version): Add 2000.
3191 * rddbg.c (read_section_stabs_debugging_info): Don't use
3192 bfd_size_type for strx to avoid printf problems if BFD64.
3194 * bucomm.c: (report): Remove `static'.
3195 Move inclusion of stdarg.h/vararg.h from here.
3196 * bucomm.h: To here.
3197 (CONST): Change all occurences to const.
3198 (report): Declare it.
3199 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3200 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3201 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3203 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3204 Correct a typo in an error message.
3205 (do_quick_append): Use non_fatal instead of fprintf.
3206 (move_members): Use fatal instead of fprintf, exit.
3207 * coffdump.c (main): Same here.
3209 * dlltool.c (display): Delete.
3211 (inform): Use `report' instead of `display'.
3212 (rvaafter): Remove trailing \n from fatal error msg.
3214 (asm_prefix): Ditto.
3215 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3216 (def_name): Likewise.
3218 (scan_all_symbols): Likewise.
3219 (gen_lib_file): Likewise.
3220 (def_library): Likewise. Remove extra program_name too.
3221 (run): Remove \n from inform strings.
3222 (scan_drectve_symbols): Likewise.
3223 (add_excludes): Likewise.
3224 (scan_open_obj_file): Likewise.
3225 (gen_exp_file): Likewise.
3226 (gen_lib_file): Likewise.
3227 (process_duplicates): Likewise.
3229 * Makefile.am (dllwrap_SOURCES): Add version.c.
3230 * dllwrap.c (program_version): Delete.
3231 (print_version): Delete.
3232 (display): Always print trailing \n.
3234 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3237 (usage): gettext'ify.
3238 (long_options): Add missing initialisers.
3240 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3241 (select_output_format): Likewise.
3242 (powerpc_mangle_relocs): Likewise.
3243 (link_inputs): Likewise.
3245 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3246 (set_output_format): Likewise.
3247 (main): Use non_fatal instead of fprintf.
3248 (display_rel_file): Likewise.
3250 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3251 (slurp_dynamic_symtab): Same here.
3252 (disassemble_data): And here.
3253 (read_section_stabs): And here.
3254 (read_section_stabs): And here.
3255 (dump_bfd): And here.
3257 (objdump_sprintf): Use fatal instead of fprintf, exit.
3258 (disassemble_data): Same here.
3260 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3261 (parse_coff_struct_type): Same here.
3262 (parse_coff_enum_type): And here.
3263 (parse_coff): And here.
3264 * rddbg.c (read_debugging_info): And here.
3265 * size.c (main): And here.
3266 * windres.c (format_from_name): And here.
3267 * wrstabs.c (stab_write_symbol): Here too.
3268 (write_stabs_in_sections_debugging_info): And here.
3269 (stab_int_type): And here.
3270 (stab_struct_field): And here.
3271 (stab_typdef): And here.
3273 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3274 * srconv.c (main): Same here.
3275 * strings.c (main): And here.
3276 (integer_arg): And here.
3277 * sysdump.c (main): And here.
3279 2000-04-06 Timothy Wall <twall@cygnus.com>
3281 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3283 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3285 * readelf.c (decode_location_expression): Loop through multiple
3287 (read_and_display_attr): Pass in length.
3289 * readelf.c (read_and_display_attr): Add CU offset to references.
3290 (display_debug_info): Pass it in.
3292 2000-04-06 Nick Clifton <nickc@cygnus.com>
3294 * readelf.c (decode_ARM_machine_flags): New function.
3295 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3298 (get_machine_name): Catch EM_AVR
3300 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3302 * binutils.texi: Remove optional `=' from long options that have
3303 an `=' in the argument.
3304 * objcopy.1: Here too. Remove extra space on discard-all.
3306 * binutils.texi (objcopy): Mention --redefine-sym.
3307 * objcopy.1: Here too.
3310 * objcopy.c (parse_flags): Split off flag names from error message
3311 gettext as they are not translated.
3312 (copy_main): Similarly split off option name for --add-section,
3313 --set-section-flags, --change-section-vma, --change-section-lma
3315 Some white space changes.
3317 from Matthew Benjamin <matt@linuxbox.nu>
3318 * objcopy.c (struct redefine_node): New.
3319 (redefine_sym_list): New.
3320 (redefine_list_append): New.
3321 (lookup_sym_redefinition): New.
3322 (OPTION_REDEFINE_SYM): New.
3323 (copy_options): Add --redefine-sym option.
3324 (copy_usage): Mention it.
3325 (filter_symbols): Rename symbols on redefine_sym_list.
3326 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3327 (copy_main): Handle OPTION_REDEFINE_SYM.
3329 2000-04-04 H.J. Lu <hjl@gnu.org>
3331 * readelf.c (process_symbol_table): Correctly read in symbol
3332 versioning information.
3334 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3336 * po/binutils.pot: Regenerate.
3338 * addr2line.c (usage): Restore translated part of bug string.
3339 * ar.c (usage): Likewise.
3340 * nlmconv.c (show_usage): Likewise.
3341 * nm.c (usage): Likewise.
3342 * objcopy.c (copy_usage): Likewise.
3343 (strip_usage): Likewise.
3344 * objdump.c (usage): Likewise.
3345 * readelf.c (usage): Likewise.
3346 * size.c (usage): Likewise.
3347 * strings.c (usage): Likewise.
3348 * windres.c (usage): Likewise.
3350 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3351 (DEP): Quote when passing vars to sub-make. Add warning
3353 (DEP1): Rewrite for "gcc -MM".
3354 (CLEANFILES): Add DEP2.
3355 Update dependencies.
3356 * Makefile.in: Regenerate.
3358 2000-04-04 H.J. Lu <hjl@gnu.org>
3360 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3361 (arparse.h): Depend on arparse.c
3362 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3364 2000-04-03 H.J. Lu (hjl@gnu.org)
3366 * size.c (usage): Use REPORT_BUGS_TO.
3368 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3370 * bucomm.h: #include "bin-bugs.h"
3371 * addr2line.c (usage): Use REPORT_BUGS_TO.
3372 * ar.c (usage): Likewise.
3373 * nlmconv.c (show_usage): Likewise.
3374 * nm.c (usage): Likewise.
3375 (OPTION_TARGET): Define.
3376 (long_options): Use OPTION_TARGET rather than 200.
3379 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3380 (strip_usage): Likewise.
3381 * objdump.c (usage): Likewise.
3382 * readelf.c (usage): Likewise.
3383 * strings.c (usage): Likewise.
3384 * windres.c (usage): Likewise.
3386 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3388 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3390 2000-03-27 Nick Clifton <nickc@cygnus.com>
3392 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3393 string offsets in corrupt stabs entries.
3395 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3397 * readelf.c: Include elf/avr.h
3398 (dump_relocations): Add EM_AVR case.
3400 2000-03-09 Tim Waugh <twaugh@redhat.com>
3402 * strings.1: Correct '-bytes' to '--bytes'.
3404 2000-03-08 H.J. Lu <hjl@gnu.org>
3406 * Makefile.am (install-exec-local): Depend on
3407 install-binPROGRAMS for parallel make.
3408 * Makefile.in: Regenerated.
3410 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3412 From Brad Lucier <lucier@math.purdue.edu>:
3413 * readelf.c (process_dynamic_segment): Add cast to make sure
3414 argument to %* is int.
3416 2000-02-25 H.J. Lu <hjl@gnu.org>
3418 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3420 2000-02-24 Nick Clifton <nickc@cygnus.com>
3422 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3423 * configure: Regenerate.
3425 * dlltool.c: Add support for sh-pe and mips-pe targets.
3426 * rescoff.c: Add support for sh-pe and mips-pe targets.
3428 2000-02-23 H.J. Lu <hjl@gnu.org>
3430 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3432 2000-02-22 Nick Clifton <nickc@cygnus.com>
3434 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3436 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3438 From Brad Lucier <lucier@math.purdue.edu>:
3439 * readelf.c (process_version_sections): Add casts to make sure
3440 argument to %* is an int.
3441 (process_mips_specific): Add casts to make printf arguments match
3444 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3446 * objdump.c (dump_section_header): Change `opb' to unsigned.
3447 (find_symbol_for_address): Same here.
3448 (disassemble_data): And here. Change `addr_offset',
3449 `stop_offset', `nextstop_offset' to unsigned long.
3450 (dump_data): Change opb to unsigned.
3452 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3454 * resrc.c: Remove unmatched #if for cygwin.
3456 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3458 * binutils.texi: Document the change of flavor name from atpcs-special
3459 to special-atpcs to prevent name conflict in gdb.
3461 2000-02-08 Timothy Wall <twall@redhat.com>
3463 * objdump.c (show_line): Fix bug preventing printing of the very
3464 first line (line zero) of a file when interlisting source and
3465 assembly. Added option to print entire context from start of file
3466 when the first line from that file is encountered.
3468 2000-02-03 Timothy Wall <twall@redhat.com>
3470 * objdump.c (dump_section_header, find_symbol_for_address,
3471 show_line, disassemble_bytes, disassemble_data, dump_data):
3472 distinguish between octets and bytes.
3474 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3476 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3477 check to unresolved symbols.
3478 (print_symbol_info_sysv): Ditto.
3479 (print_symbol_info_posix): Ditto.
3481 * binutils.texi: Document new 'V' symclass flag for nm.
3483 2000-01-27 Nick Clifton <nickc@redhat.com>
3485 * binutils.texi (objdump): Document new ARM specific
3486 disassembler options.
3488 * objdump.c (usage): Call disassembler_usage().
3490 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3492 * readelf.c (get_dynamic_flags): Return buff.
3493 (process_dynamic_segment): Don't pass error strings to printf
3495 (read_and_display_attr): Use lx and ld to print longs.
3496 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3500 2000-01-17 Nick Clifton <nickc@cygnus.com>
3502 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3504 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3506 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3508 (debug_tag_type): Here too.
3509 * ieee.c (ieee_builtin_type): And here.
3510 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3512 2000-01-13 Nick Clifton <nickc@cygnus.com>
3514 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3517 2000-01-11 Nick Clifton <nickc@cygnus.com>
3519 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3521 2000-01-10 Nick Clifton <nickc@cygnus.com>
3523 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3525 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3527 * windres.c (long_options): Add --use-temp-file and
3528 --no-use-temp-file options.
3532 * windres.h: Update read_rc_file prototype.
3534 * resrc.c (cpp_temp_file): New static variable.
3535 (istream_type): New static variable.
3536 (close_pipe): Delete function.
3537 (run_cmd): New static function.
3538 (open_input_stream): New static function.
3539 (close_input_stream): New static function.
3540 (look_for_default): Handle DOS directory separator. Use
3541 open_input_stream instead of popen.
3542 (read_rc_file): Likewise.
3544 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3547 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3549 * dlltool.c (create_compat_implib): New variable.
3550 (gen_exp_file): Use.
3551 (make_one_lib_file): Use.
3552 (long_options): Add --compat-implib option.
3556 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3557 (main): Use. Don't look for "32" in cygwin and mingw target names.
3559 2000-01-03 Nick Clifton <nickc@cygnus.com>
3561 * binutils.texi: Document new, ARM specific disassembler
3562 command line switch "-M force-thumb".
3564 For older changes see ChangeLog-9899
3570 version-control: never