* dlltool.c (gen_def_file): Put demangled name comments on
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2003-03-22 Danny Smith <dannysmith@users.sourceforge,net>
2
3 * dlltool.c (gen_def_file): Put demangled name comments on
4 own line preceding export name.
5
6 2003-03-17 Nick Clifton <nickc@redhat.com>
7
8 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
9 printf for emitting new lines.
10
11 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
12
13 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
14 the symbol's value when --size-sort is used, unless -S is used.
15 doc/binutils.texi (--size-sort): For non-bsd formats both the
16 value and size of the symbols are displayed.
17
18 2003-03-13 Nick Clifton <nickc@redhat.com>
19
20 * po/da.po: Update.
21
22 2003-03-12 Nick Clifton <nickc@redhat.com>
23
24 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
25
26 2003-03-10 Ben Elliston <bje@wasabisystems.com>
27
28 * MAINTAINERS: Update my mail address.
29
30 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
31
32 * stabs.c (BYTES_IN_WORD): Remove definition.
33 * wrstabs.c (BYTES_IN_WORD): Likewise.
34
35 2003-03-04 Nick Clifton <nickc@redhat.com>
36
37 * nm.c (main): Print a warning message if --size-sort and
38 --undefined-only are used together.
39
40 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
41
42 * nm.c (print_symbol): Remove check for undefined_only.
43
44 2003-03-03 Nick Clifton <nickc@redhat.com>
45
46 * po/da.po: Installed latest translation.
47
48 2003-02-24 Nick Clifton <nickc@redhat.com>
49
50 * README: Update binutils references to 2.13.
51 Add paragraph about using --disable-nls.
52
53 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
54
55 * doc/binutils.texi (nm --size-sort): Update.
56
57 2003-02-21 James E Wilson <wilson@tuliptree.org>
58
59 * MAINTAINERS: Update email address.
60
61 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
62
63 * readelf.c (get_ia64_dynamic_type): New function.
64 (dynamic_segment_ia64_val): New function.
65 (get_dynamic_type): If machine type is EM_IA_64 call
66 get_ia64_dynamic_val.
67 (get_ia64_section_type_name): Handle sections with types in the
68 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
69 (get_dynamic_flags): If machine type is EM_IA_64 call
70 dynamic_segment_ia64_val.
71
72 2003-02-21 Bob Wilson <bob.wilson@acm.org>
73
74 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
75 section title capitalization more consistent. Update descriptions
76 of various options to be consistent with the code. Fix errors and
77 incomplete list in the description of c++filt format options. Remove
78 information about the linker. Change to be more polite about poor
79 bug reports. Replace FDL appendix with include of fdl.texi.
80 * doc/fdl.texi: New file.
81
82 2003-02-21 Roger Sayle <roger@eyesopen.com>
83
84 * objcopy.c (filter_symbols): Fix compilation problems with
85 HP-UX's C compiler.
86
87 2003-02-19 Christopher Faylor <cgf@redhat.com>
88
89 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
90 previous change.
91
92 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
93
94 * rclex.l (handle_quotes): Handle strings spanning more than one line.
95
96 2003-02-12 Bob Wilson <bob.wilson@acm.org>
97
98 * nm.c (usage): Add `java' and `gnat' demangle styles and make
99 quotes consistent.
100 * objdump.c (usage): Ditto. Also fix some typos.
101
102 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
103
104 * debug.c (debug_record_variable): Handle global register variables.
105
106 * stabs.c (parse_stab): For N_SLINE only include
107 function_start_offset if the symbol is within a function;
108 otherwise, the value is absolute.
109
110 2003-02-10 Nick Clifton <nickc@redhat.com>
111
112 * readelf.c (decode_ARM_machine_flags): Handle the
113 EF_ARM_MAVERICK_FLOAT flag.
114
115 2003-02-04 Andreas Schwab <schwab@suse.de>
116
117 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
118 long and use %ld in printf format.
119
120 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
121
122 * readelf.c (dump_relocations): Reorder the r_info field for
123 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
124
125 2003-01-21 Daniel Berlin <dan@dberlin.org>
126
127 * readelf.c (display_debug_loc): Skip address base changes.
128
129 2003-01-17 Fabio Alemagna <falemagn@aros.org>
130
131 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
132 and ELFOSABI_NSK.
133
134 2003-01-16 Alan Modra <amodra@bigpond.net.au>
135
136 * readelf.c: Include elf/ppc64.h.
137 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
138 * Makefile.am: Run "make dep-am".
139 * Makefile.in: Regenerate.
140
141 2003-01-02 Ben Elliston <bje@redhat.com>
142
143 * readelf.c (guess_is_rela): Handle EM_IQ2000.
144 (get_machine_name): Likewise.
145 (dump_relocations): Likewise.
146 * NEWS: Mention IQ2000 support.
147
148 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
149
150 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
151
152 2002-12-30 Chris Demetriou <cgd@broadcom.com>
153
154 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
155 changes in MIPS -M options.
156
157 2002-12-30 Dmitry Diky <diwil@mail.ru>
158
159 * Makefile.am: Add msp430 target.
160 * Makefile.in: Regenerate.
161 * readelf.c: Add support for msp430 target.
162
163 2002-12-27 Chris Demetriou <cgd@broadcom.com>
164
165 * doc/binutils.texi (objdump): Document MIPS -M options.
166
167 2002-12-23 Andreas Schwab <schwab@suse.de>
168
169 * readelf.c (main): Reset dump request after each file.
170
171 2002-12-23 Nick Clifton <nickc@redhat.com>
172
173 * nlmconv.c (main): Pass TRUE as third argument to
174 bfd_arch_get_compatible.
175
176 2002-12-23 Nick Clifton <nickc@redhat.com>
177
178 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
179 macro. Handle 'S' encoding, accepting 8-bit characters.
180 (main): Parse 'S' encoding.
181 (get_char): Accept 'S' encoding.
182 (print_strings): Use STRING_ISGRAPHIC.
183 (usage): Document support of 'S' encoding.
184 * doc/binutils.texi: Document support of 'S' encoding/
185 * NEWS: Mention new feature.
186
187 2002-12-20 Alan Modra <amodra@bigpond.net.au>
188
189 * README <building ar>: Don't use libibery's needed_list or
190 required_list, instead link libiberty/*.o.
191
192 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
193
194 * doc/binutils.texi: Fix typos.
195
196 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
197
198 * doc/binutils.texi: Add missing parenthesis.
199
200 2002-12-15 Nick Kelsey <nickk@ubicom.com>
201
202 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
203 symbols by adding the given prefix to the begining of the symbol
204 name. This is useful to provide name space seperation regardless
205 of how the object file was created. Added --prefix-sections=
206 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
207 sections (or all sections with the alloc flag set) by adding the given
208 prefix to the begining of the symbol name.
209 * NEWS: Mention this new feature.
210 * doc/binutils.texi: Document this new feature.
211
212 2002-12-13 Alan Modra <amodra@bigpond.net.au>
213
214 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
215 dyn_string_append with dyn_string_append_cstr.
216
217 * emul_aix.c (ar_emul_aix_create): Remove unused function.
218
219 2002-12-10 James Cownie <jcownie@etnus.com>
220
221 * readelf.h (get_TAG_name, get_AT_name,
222 read_and_display_attr_value): Add support for UPC extensions to
223 DWARF2 spec.
224 * NEWS: Mention this new support.
225
226 2002-12-08 Alan Modra <amodra@bigpond.net.au>
227
228 * NEWS: Mention that bfd no longer declares a "boolean" type.
229
230 2002-12-07 Alan Modra <amodra@bigpond.net.au>
231
232 * readelf.c (process_program_headers): When setting loadaddr, don't
233 assume segment size is 4k. Use p_align instead.
234 (loadaddr): Change from int to long.
235 (dynamic_addr, dynamic_info, version_info): Likewise.
236 (process_dynamic_segment <syminsz>): Likewise.
237 (process_dynamic_segment): Adjust print format string.
238 (rela_addr, rela_size): Delete.
239 (process_relocs): Formatting.
240
241 2002-12-05 Jim Wilson <wilson@redhat.com>
242
243 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
244 * configure: Regenerate.
245
246 2002-12-04 Ian Lance Taylor <ian@airs.com>
247
248 * MAINTAINERS: Change e-mail address back to airs.com.
249
250 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
251
252 * MAINTAINERS: Add self.
253
254 2002-11-30 Alan Modra <amodra@bigpond.net.au>
255
256 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
257 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
258 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
259 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
260 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
261 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
262 with TRUE/FALSE. Formatting.
263
264 2002-11-29 Jakub Jelinek <jakub@redhat.com>
265
266 * readelf.c Replace occurrences of Elf32_Internal_* and
267 Elf64_Internal_* with Elf_Internal_*.
268 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
269 Zero r_addend fields.
270 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
271 Elf_Internal_Rela.
272
273 2002-11-23 Nick Clifton <nickc@redhat.com>
274
275 * size.c (usage): Fix typo describing switch for hex format.
276
277 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
278
279 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
280 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
281 testcase
282
283 2002-11-14 Nick Clifton <nickc@redhat.com>
284
285 * readelf.c (process_program_headers): Add comment about return
286 value. Ensure that 0 is returned if the headers are not loaded.
287 (process_file): If process_section_headers failed to load the
288 headers disable any tests that rely upon them. Similarly for
289 process_program_headers.
290
291 2002-11-12 Nick Clifton <nickc@redhat.com>
292
293 * po/da.po: Updated Danish translation.
294
295 2002-11-12 Klee Dienes <kdienes@apple.com>
296
297 * rddbg.c (read_section_stabs_debugging_info): Also recognize
298 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
299
300 2002-11-11 Christopher Faylor <cgf@redhat.com>
301
302 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
303 cgf maintainership.
304
305 2002-11-11 Christopher Faylor <cgf@redhat.com>
306
307 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
308
309 2002-11-07 Nick Clifton <nickc@redhat.com>
310
311 * configure.in (ALL_LINGUAS): Add 'da'.
312 * configure: Regenerate.
313 * po/da.po: New Danish translation.
314
315 * readelf.c (get_symbol_index_type): Revert part of previous
316 patch: Display unknown symbol types in decimal, not hex.
317
318 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
319
320 * dlltool.c (add_excludes): Don't prefix excluded fastcall
321 symbols with underscore.
322 (xlate): Ignore add_underscore for decorated fastcall symbols.
323
324 2002-11-07 Eric Kohl <ekohl@rz-online.de>
325
326 * deflex.l: Accept '@' as first character of an ID.
327 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
328 ASM_PREFIX for fastcall symbols.
329 (scan_drectve_symbols): Handle fastcall symbols when generating
330 undecorated aliases for symbols in drectve section.
331 (scan_filtered_symbols): Likewise, with export-all.
332 (xlate): Likewise, with --kill-at.
333 (make_imp_label): New function to handle fastcall symbols
334 correctly.
335 (make_one_lib_file): Use make_imp_label instead of make_label
336 for imp symbols.
337
338 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
339
340 * MAINTAINERS: Add self as TIC4X maintainer.
341
342 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
343
344 * readelf.c (get_symbol_index_type): Add hex number to
345 PROCESSOR-specific, OS-specific, reserved and unknown symbol
346 types.
347
348 2002-11-04 Alan Modra <amodra@bigpond.net.au>
349
350 * readelf.c (byte_get_little_endian): Comment typo fix.
351 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
352 as the format string.
353 (dump_relocations): Correct section sym names.
354 (process_section_headers): Clear symtab_shndx_hdr.
355 (read_and_display_attr_value): Don't pass indirect string to printf
356 as the format string.
357 (display_debug_frames): Indicate when zero terminator found. Decode
358 DW_EH_PE_pcrel addresses.
359
360 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
361
362 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
363 order to ensure proper disassembly of the valid 0-value opcode.
364 * configure: Regenerate.
365 * aclocal.m4: Regenerate.
366 * config.in: Regenerate.
367 * configure.in: Regenerate.
368 * doc/Makefile.in: Regenerate.
369 * po/binutils.pot: Regenerate.
370
371 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
372
373 * MAINTAINERS: Add self as SH maintainer.
374
375 2002-10-23 Ben Elliston <bje@redhat.com>
376
377 * doc/binutils.texi (objdump): Document -z and move the entry for
378 --disassemble-zeroes to the end of the options section (for `z').
379
380 2002-10-21 Nick Clifton <nickc@redhat.com>
381
382 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
383
384 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
385
386 * objdump.c (dump_data): Correct addr_offset for opb != 1.
387
388 2002-10-15 Alan Modra <amodra@bigpond.net.au>
389
390 * bucomm.c (list_supported_targets): Use bfd_target_list.
391
392 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
393 other object errors in preference to bfd_core errors.
394
395 2002-10-14 Alan Modra <amodra@bigpond.net.au>
396
397 * Makefile.am: Run "make dep-am".
398 * objdump.c: #include "bfdver.h".
399 * version.c: Likewise.
400 * Makefile.in: Regenerate.
401 * config.in: Regenerate.
402 * configure: Regenerate.
403 * po/POTFILES.in: Regenerate.
404
405 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
406
407 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
408 sections. Allow relocations against the absolute symbol. Don't
409 use the value in compunit.cu_abbrev_offset if we found a RELA
410 relocation.
411
412 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
413
414 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
415 ordinary ones are available.
416
417 2002-09-30 H.J. Lu <hjl@gnu.org>
418
419 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
420 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
421
422 2002-09-17 Zack Weinberg <zack@codesourcery.com>
423
424 * Makefile.am (CFILES): Add cxxfilt.c.
425 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
426 (cxxfilt_LDADD): Delete.
427 Remove all references to underscore.c.
428 Regen dependencies.
429 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
430 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
431 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
432 adjustments to fit into binutils framework.
433 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
434
435 2002-09-12 Roland McGrath <roland@redhat.com>
436
437 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
438 Handle DW_OP_GNU_push_tls_address.
439
440 2002-09-11 Nick Clifton <nickc@redhat.com>
441
442 * po/tr.po: Updated Turkish translation.
443
444 2002-09-10 Nick Clifton <nickc@redhat.com>
445
446 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
447 testsuite changes. Add paragraphs about testsuite and config
448 patches.
449
450 2002-08-29 Nick Clifton <nickc@redhat.com>
451
452 * readelf.c (get_machine_flags): Remove redundant reference to
453 E_V850EA_ARCH.
454
455 2002-08-28 Alan Modra <amodra@bigpond.net.au>
456
457 * objdump.c (dump_bfd): Restore lines accidentally deleted in
458 last commit.
459
460 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
461
462 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
463 (dump_bfd_header): Likewise.
464
465 2002-08-27 Alan Modra <amodra@bigpond.net.au>
466
467 * nm.c: Revert last change.
468
469 2002-08-26 Alan Modra <amodra@bigpond.net.au>
470
471 * nm.c (display_rel_file): Don't report "no symbols" as an error.
472 * objdump.c (slurp_symtab): Likewise.
473 (slurp_dynamic_symtab): Likewise.
474 (dump_symbols): Likewise. Do print "no symbols" to stdout.
475
476 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
477
478 * MAINTAINERS: Change my mailing address.
479
480 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
481
482 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
483
484 2002-08-22 Nick Clifton <nickc@redhat.com>
485
486 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
487 HPPA.
488
489 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
490
491 * readelf.c (parse_args): Change debug_dump_opt to static.
492
493 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
494
495 * stabs.c (parse_stab_argtype): Pass length of physname to
496 stab_demangle_argtypes.
497 (stab_demangle_argtypes): Add new parameter - length of physname.
498 Pass length of physname on to stab_demangle_prefix.
499 (stab_demangle_prefix): Add new parameter - length of physname.
500 Use length of physname (if supplied) to compute end of function
501 name.
502
503 2002-08-15 Alan Modra <amodra@bigpond.net.au>
504
505 * readelf.c: Include elf/i370.h.
506 (dump_relocations): Handle EM_S370.
507 (dynamic_segment_parisc_val): Print \n.
508 (process_dynamic_segment <DT_BIND_NOW>): Here too.
509
510 2002-08-14 Nick Clifton <nickc@redhat.com>
511
512 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
513 * objdump.c (usage): Likewise.
514 * doc/binutils.texi: Likewise.
515
516 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
517
518 * rcparse.y (acc_entry): Don't warn about ALT use with
519 non-VIRTKEY.
520
521 2002-08-13 H.J. Lu <hjl@gnu.org>
522
523 * objcopy.c (copy_object): Don't warn about the unsupported
524 architecture unless the input target is defaulted or the
525 output architecture is different from the input.
526
527 2002-08-09 Nick Clifton <nickc@redhat.com>
528
529 * po/sv.po: Updated Swedish translation.
530
531 2002-08-05 Alan Modra <amodra@bigpond.net.au>
532
533 * prdbg.c (pr_fix_visibility): Remove assert.
534
535 2002-07-31 Nick Clifton <nickc@redhat.com>
536
537 * addr2line.c (process_file): Rename parameter 'filename' to
538 'file_name' in order to avoid shadowing global symbol of the
539 same name.
540 (main): Likewise.
541
542 2002-07-30 Jakub Jelinek <jakub@redhat.com>
543
544 * readelf.c (OPTION_DEBUG_DUMP): Define.
545 (options): Use it.
546 (usage): Update help.
547 (parse_args): Handle --debug-dump separately from -w.
548 * doc/binutils.texi (readelf): Update documentation.
549
550 2002-07-25 Nick Clifton <nickc@redhat.com>
551
552 * po/es.po: Updated Spanish translation.
553 * po/fr.po: Updated French translation.
554
555 2002-07-24 Nick Clifton <nickc@redhat.com>
556
557 * po/es.po: Updated Spanish translation.
558
559 2002-07-23 Alan Modra <amodra@bigpond.net.au>
560
561 * Makefile.am: Run "make dep-am".
562 * Makefile.in: Regenerate.
563
564 2002-07-23 Nick Clifton <nickc@redhat.com>
565
566 * po/fr.po: Updated French translation.
567
568 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
569
570 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
571
572 2002-07-20 Alan Modra <amodra@bigpond.net.au>
573
574 * budemang.c: Include config.h and string.h/strings.h.
575
576 2002-07-18 Denis Chertykov <denisc@overta.ru>
577 Frank Ch. Eigler <fche@redhat.com>
578
579 * readelf.c: Include "elf/ip2k.h".
580 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
581 (dump_relocations): Likewise.
582 (get_machine_name): Likewise.
583 * NEWS: Mention IP2K support.
584
585 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
586
587 * NEWS: Add 'Changes in 2.13'.
588
589 2002-07-10 Jakub Jelinek <jakub@redhat.com>
590
591 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
592 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
593 (get_section_type_name): Handle SHT_GNU_LIBLIST.
594 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
595 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
596 (process_gnu_liblist): New.
597 (process_file): Call it.
598
599 2002-07-03 Alan Modra <amodra@bigpond.net.au>
600
601 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
602 * Makefile.in: Regenerate.
603
604 2002-07-02 Alan Modra <amodra@bigpond.net.au>
605
606 * budemang.c: New file, "demangle" function.
607 * budemang.h: New file.
608 * addr2line.c (translate_addresses): Use "demangle".
609 * nm.c (print_symname): Likewise.
610 * objdump.c (objdump_print_symname): Likewise.
611 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
612 here since that obfuscates.
613 * rdcoff.c: Don't #include demangle.h.
614 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
615 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
616 (HFILES): Add budemang.h. Sort.
617 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
618 Run "make dep-am".
619 * Makefile.in: Regenerate.
620
621 2002-07-01 Matt Thomas <matt@3am-software.com>
622
623 * readelf.c: Include "elf/vax.h".
624 (guess_is_rela): Move EM_VAX from unknown to RELA case.
625 (dump_relocations): Handle VAX relocations.
626 (get_machine_flags): Handle VAX machine flags.
627
628 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
629
630 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
631
632 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
633
634 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
635
636 2002-06-26 Alan Modra <amodra@bigpond.net.au>
637
638 * nm.c (print_symname): When demangling, strip leading dots from
639 symbol names to avoid confusing the demangler.
640
641 2002-06-25 H.J. Lu <hjl@gnu.org>
642
643 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
644 * Makefile.in: Regenerated.
645
646 2002-06-21 Igor Schein <igor@txc.com>
647
648 * configure.in: Quote bu_cv_have_fopen64.
649 * configure: Regenerate.
650
651 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
652
653 * configure.in: Check for strcoll.
654 * configure: Regenerate.
655 * config.in: Regenerate.
656 * nm.c (main): Set locale for LC_COLLATE category.
657 (non_numeric_forward): Use strcoll if available.
658
659 2002-06-20 Dave Brolley <brolley@redhat.com>
660
661 * MAINTAINERS: Add self as fr30 and frv maintainer.
662
663 2002-06-18 H.J. Lu (hjl@gnu.org)
664
665 * nm.c: Include "elf/common.h".
666 (extended_symbol_info): Add elfinfo, a pointer to
667 elf_symbol_type.
668 (SYM_SIZE): Use elfinfo if it is not NULL.
669 (get_symbol_type): New function.
670 (display_archive): Set print_width for each archive member.
671 (display_file): Likewise.
672 (display_rel_file): Don't set print_width here.
673 (print_object_filename_sysv): Handle print_width.
674 (print_archive_member_sysv): Likewise.
675 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
676 (print_symbol): Set the elfinfo field in extended_symbol_info
677 for ELF.
678 (print_object_filename_sysv): Fix the output format.
679 (print_symbol_info_sysv): Print type and section for ELF.
680
681 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
682
683 * nm.c (print_size_symbols): Remove assignment, which makes
684 the symbol's size equal to its value when --size-sort is
685 used.
686
687 2002-06-18 Dave Brolley <brolley@redhat.com>
688
689 From Catherine Moore:
690 * readelf.c (elf/frv.h): #include it.
691 (guess_is_rela): Support EM_CYGNUS_FRV.
692 (dump_relocations): Ditto.
693 (get_machine_name): Ditto.
694 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
695
696 2002-06-18 Jakub Jelinek <jakub@redhat.com>
697
698 * readelf.c (get_file_header): Only read the first section header if
699 e_shoff is non-zero.
700
701 2002-06-15 H.J. Lu (hjl@gnu.org)
702
703 * nm.c (print_size): New variable. Initialize to 0.
704 (long_options): Add 'S'/"print-size".
705 (main): Handle 'S'.
706 (print_symbol_info_bsd): Print size only if print_size is not
707 0.
708
709 * doc/binutils.texi: Document -S/--print-size.
710
711 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
712
713 * nm.c (struct extended_symbol_info): New strcuture: Add the size
714 of the symbols to the information provided by the symbol_info
715 structure.
716 (print_symbols): Pass the symbol size to print_symbol.
717 (print_size_symbols): Pass the symbol size to print_symbol.
718 (print_symbol): Extra argument: The size of the symbol. Store
719 this in the extended_symbol_info structure.
720 (print_symbol_info): Change type of info parameter to
721 extended_symbol_info. Display the size, if known.
722 (print_symbol_info_posix): Likewise.
723 (print_symbol_info_sysv): Likewise.
724
725 2002-06-08 Alan Modra <amodra@bigpond.net.au>
726
727 * Makefile.am: Run "make dep-am".
728 * Makefile.in: Regenerate.
729 * doc/Makefile.in: Regnerate.
730
731 * bucomm.c: Replace CONST with const.
732 * nm.c: Likewise.
733 * objdump.c: Likewise.
734
735 2002-06-07 H.J. Lu <hjl@gnu.org>
736
737 * readelf.c (DW_CFA_GNU_args_size): Don't define.
738 (DW_CFA_GNU_negative_offset_extended): Likewise.
739 (DW_CFA_GNU_window_save): Likewise.
740 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
741 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
742
743 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
744
745 * nm.c: When computing size of symbols for an ELF target use the
746 internal size field.
747
748 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
749
750 * testsuite/binutils-all/objcopy.exp: clear xfail for
751 "hppa*64*-*-hpux*".
752 * testsuite/binutils-all/hppa/objdump.exp: Return if
753 "*64*-*-*".
754
755 2002-06-05 Alan Modra <amodra@bigpond.net.au>
756
757 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
758
759 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
760
761 * objdump.c: Fix formatting.
762
763 2002-05-29 Ben Elliston <bje@redhat.com>
764
765 * MAINTAINERS: Add self as M68k maintainer.
766
767 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
768
769 * readelf.c: Modified/Added DLX elf support.
770
771 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
772
773 * arsup.c: Fix formatting.
774 * debug.c (debug_record_label): Add missing colon to error
775 message.
776 * ieee.c (parse_ieee_ty): Fix spelling typo.
777 * readelf.c (process_program_headers): Remove English assumption
778 about making a plural word.
779 (process_section_headers): Likewise.
780 (process_relocs): Allow quotes to be translated.
781 (process_unwind): Likewise,
782 (process_mips_specific): Improve error message.
783 (get_note_type): Fix spelling typo.
784
785 * configure.in (ALL_LINGUAS): Add sv
786 * po/sv.po: New file.
787
788 2002-05-27 Alan Modra <amodra@bigpond.net.au>
789
790 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
791 (unw_print_grmask): Likewise.
792 (unw_print_frmask): Likewise.
793
794 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
795
796 * arsup.c: Remove ARGSUSED.
797 * debug.c: Likewise.
798 * ieee.c: Likewise.
799 * nlmconv.c: Likewise.
800 * prdbg.c: Likewise.
801 * stabs.c: Likewise.
802 * wrstabs.c: Likewise.
803
804 2002-05-25 Alan Modra <amodra@bigpond.net.au>
805
806 * arlex.l: Use #include "" instead of <> for local header files.
807 * coffdump.c: Likewise.
808 * coffgrok.c: Likewise.
809 * nlmconv.c: Likewise.
810 * nlmheader.y: Likewise.
811 * srconv.c: Likewise.
812 * strings.c: Likewise.
813 * sysdump.c: Likewise.
814 * unwind-ia64.h: Likewise.
815 * windres.h: Likewise.
816 * winduni.h: Likewise.
817
818 2002-05-24 Tom Rix <trix@redhat.com>
819
820 * MAINTAINERS: Add self as the d10v maintainer.
821
822 2002-05-24 TAMURA Kent <kent@netbsd.org>
823
824 * configure.in: Builds dlltool for i386-netbsdpe.
825 * configure: Regenerate.
826
827 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
828
829 * size.c: Fix formatting.
830 * srconv.c: Likewise.
831 * stabs.c: Likewise.
832 * sysdump.c: Likewise.
833 * unwind-ia64.c: Likewise.
834 * wrstabs.c: Likewise.
835
836 2002-05-23 Jakub Jelinek <jakub@redhat.com>
837
838 * readelf.c (get_segment_type): Add PT_TLS.
839 (get_elf_section_flags): Add SHF_TLS.
840 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
841 (process_dynamic_segment): Use puts instead of printf.
842 (get_symbol_type): Support STT_TLS.
843 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
844 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
845 Add SEC_THREAD_LOCAL.
846
847 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
848
849 * rdcoff.c: Fix formatting.
850 * rddbg.c: Likewise.
851 * readelf.c: Likewise.
852 * rename.c: Likewise.
853 * resbin.c: Likewise.
854 * resrc.c: Likewise.
855 * resres.c: Likewise.
856
857 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
858
859 * filemode.c: Fix formatting.
860 * ieee.c: Likewise.
861 * is-ranlib.c: Likewise.
862 * is-strip.c: Likewise.
863 * maybe-ranlib.c: Likewise.
864 * maybe-strip.c: Likewise.
865 * nlmconv.c: Likewise.
866 * nm.c: Likewise.
867 * not-ranlib.c: Likewise.
868 * not-strip.c: Likewise.
869 * objcopy.c: Likewise.
870 * objdump.c: Likewise.
871
872 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
873
874 * objdump.c (dump_headers): Fix output formatting for ELF32
875 architectures in a BFD64 enabled toolchain.
876
877 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
878
879 * debug.c: Fix formatting.
880 * debug.h: Likewise.
881 * dlltool.c: Likewise.
882 * dllwrap.c: Likewise.
883 * emul_aix.c: Likewise.
884 * emul_vanilla.c: Likewise.
885
886 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
887
888 * addr2line.c: Fix formatting.
889 * ar.c: Likewise.
890 * arsup.c: Likewise.
891 * arsup.h: Likewise.
892 * binemul.c: Likewise.
893 * binemul.h: Likewise.
894 * bucomm.c: Likewise.
895 * coffdump.c: Likewise.
896 * coffgrok.c: Likewise.
897 * coffgrok.h: Likewise.
898
899 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
900
901 * MAINTAINERS: Add myself as the second AVR port maintainer.
902
903 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
904
905 * MAINTAINERS: Update my email address.
906
907 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
908
909 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
910
911 2002-05-09 Alan Modra <amodra@bigpond.net.au>
912
913 * configure.in: Replace `*pe' with `pe' throughout.
914 * configure: Regenerate.
915
916 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
917
918 * Makefile.am: Honour DESTDIR.
919 * Makefile.in: Regenerate.
920
921 2002-05-06 Alan Modra <amodra@bigpond.net.au>
922
923 * dlltool.c (process_def_file): Add missing prototype.
924 (new_directive, assemble_file, main): Likewise.
925 (process_def_file, new_directive): Make static.
926 (inform): Rewrite using VA_FIXEDARG.
927 * dllwrap.c (mybasename): Add missing prototype.
928 (strhash, main): Likewise.
929 (inform): Rewrite using VA_FIXEDARG.
930 (warn): Likewise.
931 (cleanup_and_exit): Use old style function definition.
932 (strhash): Likewise.
933 * windres.c (define_resource): Use one memset to clear all of
934 struct res_resource.
935
936 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
937 call to rules that need no lookahead. Check for no lookahead.
938
939 2002-05-06 Borut Razem <borut.razem@siol.net>
940
941 * rclex.l (get_string): Correct "strings" list handling.
942 * resrc.c (read_rc_file): Discard strings.
943
944 2002-05-04 Alan Modra <amodra@bigpond.net.au>
945
946 * ar.c (replace_members): Remove unused var. Formatting fix.
947 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
948
949 * MAINTAINERS: Sort port maintainers by CPU.
950
951 2002-05-04 Bob Byrnes <byrnes@curl.com>
952
953 * size.c (display_archive): Add last_arfile and code to close archives.
954
955 2002-05-01 Alan Modra <amodra@bigpond.net.au>
956
957 * nm.c (print_symbol): Check returned filename from
958 bfd_find_nearest_line is non-NULL.
959
960 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
961
962 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
963
964 2002-04-24 Christian Groessler <chris@groessler.org>
965
966 * MAINTAINERS: Changed my email address.
967
968 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
969
970 * arparse.y: Fix syntax warning.
971
972 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
973
974 * readelf.c (fetch_location_list): Remove unused function.
975
976 * readelf.c (process_corefile_note_segment): Catch corrupt notes
977 and display a warning message, then exit the loop.
978
979 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
980
981 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
982
983 * resrc.c (write_rc_dialog): If charset is non-default value
984 display all of the DIALOGEX parameters.
985
986 2002-04-15 Eric Kohl <ekohl@rz-online.de>
987
988 * rcparse.y: Allow two to five parameter in FONT statement of
989 DIALOGEX resources.
990 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
991 resource data.
992 (res_to_bin_dialog): Likewise.
993 * windres.h: Added misssing charset variable to dialog_ex
994 structure.
995
996 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
997
998 * rcparse.y: Set MEMFLAG_PURE by default.
999
1000 2002-04-09 Bernd Herd <info@herdsoft.com>
1001
1002 * rcparse.y: CLASS definitions in DIALOG resources
1003 are quoted.
1004 Fix typo in BEDIT warning.
1005 Don't add default dialog style when explicit style specified.
1006 Add WS_CAPTION dialog style if CAPTION is specified.
1007
1008 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1009 (handle_quotes) "\a" escape (used for right justified key
1010 definitions in menus) is encodes as binary 8.
1011
1012 * resrc.c (write_rc_dialog): Print style even if it is 0.
1013 (write_rc_directory): Fix overlooked sublang shift bug.
1014 (bin_to_res_dialog): Don't print empty dialog caption.
1015
1016 * resbin.c (bin_to_res_dialog): Use signature to identify
1017 DIALOGEX.
1018
1019 * windres.c (main): Set default LANGUAGE to english/us.
1020
1021 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1022
1023 * resrc.c: print CLASS names in quotes
1024
1025 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1026
1027 * MAINTAINERS: Update my email address.
1028
1029 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1030
1031 * dep-in.sed: Cope with absolute paths.
1032 * Makefile.am (dep.sed): Subst TOPDIR.
1033 Run "make dep-am".
1034 * Makefile.in: Regenerate.
1035
1036 2002-03-27 Peter Targett <peter.targett@arc.com>
1037
1038 * MAINTAINERS: Update my email address.
1039
1040 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1041
1042 * Makefile.am: Run "make dep-am".
1043 * Makefile.in: Regenerate.
1044 * doc/Makefile.in: Regenerate.
1045 * po/POTFILES.in: Regenerate.
1046 * aclocal.m4: Regenerate.
1047 * config.in: Regenerate.
1048 * configure: Regenerate.
1049
1050 2002-03-20 Daniel Berlin <dan@dberlin.org>
1051
1052 * readelf.c: Add support for displaying dwarf2 location lists.
1053 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1054 (parse_args): Use 'O' as shorthand for displaying location list
1055 section.
1056 (process_section_headers): Handle debug_loc as well.
1057 (load_debug_loc): New.
1058 (free_debug_loc): New.
1059 (fetch_location_list): New.
1060 (display_debug_loc): New.
1061 (display_debug_info): Call load_debug_loc and free_debug_loc.
1062 (debug_displays): We can display .debug_loc now, too.
1063 (usage): Update usage string.
1064 (read_and_display_attr_value): Note location lists, but don't
1065 display them inline.
1066
1067 2002-03-18 Tom Rix <trix@redhat.com>
1068
1069 * Makefile.am: Add binutils emulation support.
1070 * configure.in: Same.
1071 * configure.tgt: New file. Same.
1072 * ar.c (main): Use ar_emul_parse_arg.
1073 (usage): Use ar_emul_usage.
1074 (replace_members): Use ar_emul_replace, ar_emul_append.
1075 * binemul.c: New file. Define the binutils emulation
1076 layer. Define default methods.
1077 * binemul.h: New file. Binutils emulation layer header file.
1078 * emul_aix.c: New file. AIX binutils emulation.
1079 * emul_vanilla.c: New file. Default binutils emulation.
1080 * Makefile.in: Regenerate.
1081 * configure: Same.
1082
1083 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1084
1085 * po/fr.po: Updated version.
1086
1087 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1088
1089 * po/fr.po: Updated version.
1090
1091 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1092
1093 * README: Update some version numbers.
1094
1095 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1096
1097 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1098 (Architecture Selection): Likewise.
1099
1100 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1101
1102 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1103 generating .exp file.
1104
1105 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1106
1107 * readelf.c (dump_relocations): Fix typo.
1108
1109 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1110
1111 * NEWS: Mark 2.12 branch.
1112
1113 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1114
1115 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1116 types for 64-bit MIPS. Narrow some fields for 80-char
1117 output.
1118 (dump_relocations): Change spelling from 'unrecognised'
1119 to 'unrecognized'.
1120 (decode_ARM_machine_flags): Likewise.
1121 (parse_args): Likewise.
1122 (read_and_display_attr_value): Likewise.
1123 (display_debug_section): Likewise.
1124
1125 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1126
1127 * NEWS: Mention support for MMIX.
1128
1129 2002-02-13 Matt Fredette <fredette@netbsd.org>
1130
1131 * readelf.c (get_machine_flags): Recognize EF_M68000.
1132
1133 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1134
1135 * MAINTAINERS: Added self as MN10300 co-maintainer.
1136
1137 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1138
1139 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1140 DT_PPC64_OPDSZ.
1141
1142 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1143
1144 * MAINTAINERS: List myself as branch maintainer.
1145
1146 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1147
1148 * configure: Regenerate.
1149 * objcopy.c: Update copyright date.
1150 * doc/Makefile.in: Regenerate.
1151
1152 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1153
1154 * nlmconv.c: Back out localtime PARAMS change.
1155
1156 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1157
1158 * objcopy.c (MKDIR): Define.
1159 (copy_archive): Make name_list.name const. Use MKDIR.
1160 Handle duplicate files in archives by making more temp dirs.
1161
1162 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1163
1164 * coffdump.c: Include "getopt.h" after "bucomm.h"
1165 so that macros are defined correctly.
1166 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1167 prototype. Prototype main.
1168 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1169
1170 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1171
1172 * MAINTAINERS: Added self as SH co-maintainer.
1173
1174 2002-02-05 Nick Clifton <nickc@redhat.com>
1175
1176 * po/tr.po: Updated translation.
1177
1178 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1179
1180 * Makefile.am: Run "make dep-am"
1181 * Makefile.in: Regenerate.
1182
1183 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1184
1185 * nm.c (print_value): Mark abfd unused.
1186
1187 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1188
1189 * unwind-ia64.c (unw_decoder): Change second argument
1190 to unsigned int, to match function prototypes.
1191
1192 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1193
1194 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1195 __GNU_LIBRARY__ will be defined.
1196 * size.c: Likewise.
1197
1198 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1199
1200 * configure: Regenerated.
1201
1202 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1203
1204 * doc/Makefile.am (install): Depend on install-info.
1205 * doc/Makefile.in: Regenerate.
1206
1207 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1208
1209 * objcopy.c (strip_usage): Document -d as an alias
1210 --strip-debug.
1211
1212 * size.c (usage): Document [-t | --totals] options.
1213 (long_options): Add --totals option.
1214 (main): If the [-t | --totals] option is specified and
1215 the output format is Berkeley-style, print the total
1216 text, data, and bss sizes of all objects listed.
1217 (print_berkeley_format): If the [-t | --totals] option
1218 is specified, track the total text, data, and bss
1219 sizes.
1220 * doc/binutils.texi (size): Document [-t | --totals] options.
1221 (strip): Document -d as an alias for --strip-debug.
1222 * NEWS: Mention new feature of size.
1223
1224 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1225
1226 * po/fr.po: Updated version.
1227 * po/es.po: Updated version.
1228
1229 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1230
1231 * addr2line.c (usage): Update text to provide verbose
1232 description of the command line options.
1233 * ar.c (usage): Update text to provide verbose
1234 description of the command line options.
1235 (main): Accept -h and -H when running as ranlib.
1236 * coffdump.c (show_usage): Update text to provide verbose
1237 description of the command line options.
1238 * dlltool.c (main): Accept -H as an alias for --help.
1239 * nlmconv.c (show_usage): Update text to provide verbose
1240 description of the command line options.
1241 * nm.c (usage): Replace OPTIONS with option(s).
1242 (main): Accept -H as an alias for --help.
1243 * objcopy.c (strip_main): Accept -H as an alias for --help.
1244 * objdump.c (main): Accept -v as an alias for --verbose.
1245 * readelf.c (usage): Adjust format to match style used in
1246 other binutils.
1247 * size.c (usage): Update text to provide verbose description
1248 of the command line options.
1249 (main): Accept -v, -h and -H as command line options.
1250 * srconv.c (show_usage): Update text to provide verbose
1251 description of the command line options.
1252 * strings.c (main): Accept -H and -v as command line options.
1253 (usage): Update text to provide verbose description of the
1254 command line options.
1255 * sysdump.c (show_usage): Update text to provide verbose
1256 description of the command line options.
1257 * windres.c (usage): Adjust format to match style used in
1258 other binutils.
1259
1260 * coffdump.c: Fix formatting.
1261 * nlmconv.c: Fix formatting.
1262 * srconv.c: Fix formatting.
1263 * sysdump.c: Fix formatting.
1264
1265 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1266
1267 * Makefile.am: Run "make dep-am".
1268 * Makefile.in: Regenerate.
1269
1270 2002-01-18 Andreas Jaeger <aj@suse.de>
1271
1272 * version.c (print_version): Update year.
1273
1274 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1275
1276 * readelf.c (get_machine_name): Handle EM_PPC64.
1277 (guess_is_rela): Here too.
1278
1279 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1280
1281 * po/binutils.pot: Regenerate.
1282 * po/fr.po: Regenerate.
1283 * po/tr.po: Regenerate.
1284
1285 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1286
1287 * po/tr.po: Import new version.
1288
1289 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1290
1291 * readelf.c (get_ppc64_dynamic_type): New.
1292 (get_dynamic_type): Call it.
1293
1294 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1295
1296 * objcopy.c (copy_usage): Use "options" instead of "switches".
1297 (strip_usage): Use "options" instead of "switches".
1298 * doc/binutils.texi (dlltool): Refer to "options" instead of
1299 "switches".
1300
1301 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1302
1303 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1304
1305 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1306
1307 * po/es.po: Import from translation project.
1308 * configure.in (ALL_LINGUAS): Add es.
1309 * configure: Regenerate.
1310
1311 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1312
1313 * readelf.c (get_netbsd_elfcore_note_type): Use
1314 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1315
1316 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1317
1318 * readelf.c: Update copyright years.
1319 (get_note_type): Return a const char *.
1320 (get_netbsd_elfcore_note_type): New function.
1321 (process_note): Use get_netbsd_elfcore_note_type to get
1322 the note type string for NetBSD ELF core files.
1323
1324 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1325
1326 * readelf.c (get_ia64_segment_type): Add support for macros.
1327 (get_segment_type): Add support for IA64 specific macros.
1328
1329 2001-12-20 Julian v. Bock <julian@wongr.net>
1330
1331 * readelf.c (print_symbol): New function: Print a formatted symbol
1332 name. If --wide is specified do not truncate it.
1333 (dump_relocations): Use print_symbol() to print symbol names.
1334 (process_symbol_table): Likewise.
1335 (process_syminfo): Likewise.
1336 (process_mips_specific): Likewise.
1337 (usage): Document new feature of --wide switch.
1338 * doc/binutils.texi (objdump): Document additional behaviour of
1339 --wide.
1340
1341 2001-12-18 Michael Snyder <msnyder@redhat.com>
1342
1343 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1344 (copy_object): Don't set the start address or flags of a core file.
1345 (copy_section): Don't relocate a core file. Don't copy contents
1346 if the input section has the contents flag set, but the output
1347 section does not (which happens with the fake 'note' pseudo-
1348 sections that BFD creates for corefiles).
1349
1350 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1351
1352 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1353 ASE extensions. More robust code for ISA checking. Ignore empty fields
1354 in header flags for GNU extensions.
1355
1356 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1357
1358 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1359
1360 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1361
1362 * po/ja.po: Import from translation project.
1363 * configure.in (ALL_LINGUAS): Add ja.
1364 * configure: Regenerate.
1365
1366 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1367
1368 * addr2line.c (main): Protoype.
1369 * ar.c (main): Protoype.
1370 * nm.c (main): Protoype.
1371 * objcopy.c (main): Protoype.
1372 * objdump.c (main): Protoype.
1373 * size.c (main): Protoype.
1374 * strings.c (main): Protoype.
1375
1376 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1377
1378 * readelf.c (symtab_shndx_hdr): New global.
1379 (SECTION_HEADER_INDEX): Define.
1380 (SECTION_HEADER_NUM): Define.
1381 (SECTION_HEADER): Define.
1382 (GET_ELF_SYMBOLS): Pass two params rather than three.
1383 (get_32bit_elf_symbols): Take file and section args. Read and
1384 use SHT_SYMTAB_SHNDX.
1385 (get_64bit_elf_symbols): Likewise.
1386 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1387 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1388 Remember symtab_shdx_hdr.
1389 (process_program_headers): Scan from index 1 for segment map.
1390 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1391 "section_headers".
1392 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1393 (process_unwind): Likewise.
1394 (process_version_sections): Likewise.
1395 (process_symbol_table): Likewise.
1396 (display_debug_info): Likewise.
1397 (process_dynamic_segment): Fake up a symtab section for changed
1398 GET_ELF_SYMBOLS.
1399 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1400 (process_program_headers): Kill signed/unsigned warning.
1401 (load_debug_str): Likewise.
1402 (display_debug_info): Likewise.
1403
1404 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1405
1406 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1407
1408 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1409
1410 * readelf.c (process_file_header): Print extended e_shnum and
1411 e_shdtrndx values. Set elf_header values for same.
1412 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1413 (get_64bit_section_headers): Likewise.
1414 (process_section_headers): Update calls.
1415 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1416
1417 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1418
1419 * objcopy.c (setup_section): Copy entsize.
1420
1421 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1422
1423 * readelf.c (guess_is_rela): Add support for stormy16.
1424 (dump_relocations): Likewise.
1425 (get_machine_name): Likewise.
1426
1427 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1428
1429 * dllwrap.c (main) Replace multiple strings describing a
1430 single error with a single, newline escaped sentence to permit
1431 better translation into foreign languages.
1432
1433 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1434 class names.
1435
1436 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1437
1438 * strings.c (get_char): Initialize value.
1439
1440 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1441
1442 * arlex.l: Silence compile warnings.
1443 * arsup.h: Likewise. Fix formatting.
1444
1445 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1446
1447 * strings.c: Include config.h before bfd.h.
1448 (file_off): New type.
1449 (file_open): Define.
1450 (print_strings): Use file_off instead of file_ptr. Print addresses
1451 which don't fit into long correctly.
1452 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1453 available.
1454 (strings_file): Use file_off instead of file_ptr. Use file_open.
1455 * configure.in: Check for getc_unlocked.
1456 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1457 be defined for it.
1458 * configure: Rebuilt.
1459 * config.h.in: Rebuilt.
1460
1461 2001-11-29 H.J. Lu <hjl@gnu.org>
1462
1463 * bucomm.c (make_tempname): Revert the changes made on
1464 2001-11-14 and 2001-11-12. They won't work with directories.
1465
1466 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1467
1468 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1469 CFLAGS_FOR_TARGET to runtest in environment.
1470 * Makefile.in: Rebuild.
1471 * doc/Makefile.in: Rebuild.
1472
1473 2001-11-28 Mike Stump <mrs@wrs.com>
1474
1475 * objcopy.c (setup_section): Preserve SEC_RELOC when
1476 --set-section-flags is used.
1477
1478 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1479
1480 * readelf.c (do_debug_str): New variable.
1481 (display_debug_str): New function: Display the contents of a
1482 .debug_str section.
1483 (load_debug_str): New function: Load in the contents of a
1484 .debug_str section.
1485 (free_debug_str): New function: Free the memory used by
1486 load_debug_str().
1487 (fetch_indirect_string): Retrieve a string from the .debug_str
1488 section.
1489 (usage): Add -ws.
1490 (parse_args): Accept -ws.
1491 (process_section_headers): Allow the display of the .debug_str
1492 section.
1493 (read_and_display_attr_value): Use fetch_indirect_string. Show
1494 offset into .debug_str section.
1495 (display_debug_info): Use load_debug_str and free_debug_str.
1496 (debug_displays): Add .debug_str.
1497 * doc/binutils.texi: Document -ws.
1498
1499 2001-11-19 Andreas Jaeger <aj@suse.de>
1500
1501 * testsuite/binutils-all/objdump.exp: Add x86-64.
1502
1503 2001-11-15 Andreas Schwab <schwab@suse.de>
1504
1505 * readelf.c: Fix warnings without terminating newline.
1506
1507 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1508
1509 * doc/binutils.texi (objdump): Document ppc -M options.
1510
1511 2001-11-14 Andreas Jaeger <aj@suse.de>
1512
1513 * doc/binutils.texi (objdump): Fix description to use x86-64.
1514
1515 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1516
1517 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1518 not all systems provide mkstemp.
1519
1520 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1521
1522 * doc/binutils.texi (objdump): Document x86 -M options.
1523
1524 2001-11-13 Keith Walker <keith.walker@arm.com>
1525
1526 * readelf.c (read_and_display_attr_value): New function to
1527 handle DW_FORM_indirect.
1528 (read_and_display_attr): Use it.
1529
1530 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1531
1532 * readelf.c (display_debug_lines): Deal with unknown standard
1533 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1534 DW_LNS_set_isa.
1535
1536 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1537
1538 * MAINTAINERS: Add self as tic54x maintainer. This target
1539 includes the IBM C54XDSP clone.
1540
1541 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1542
1543 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1544
1545 2001-11-09 Jeffrey A Law (law@cygnus.com)
1546
1547 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1548 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1549 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1550 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1551 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1552 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1553 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1554
1555 * readelf.c (get_elf_class): Fix ISO portability glitch.
1556 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1557
1558 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1559
1560 * readelf.c (debug_str, debug_str_size): New.
1561 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1562 Call free_abbrevs.
1563 (read_and_display_addr): Handle DW_FORM_strp.
1564 (display_debug_info): Read .debug_str section if present,
1565 so that DW_FORM_strp can be handled.
1566 Fix test for non-existant .debug_abbrev section.
1567
1568 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1569
1570 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1571
1572 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1573
1574 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1575
1576 * MAINTAINERS: Add self as s390/s390x maintainer.
1577
1578 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1579
1580 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1581
1582 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1583
1584 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1585 * configure: Regernate.
1586 * po/fr.po: New file.
1587 * po/tr.po: New file.
1588
1589 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1590
1591 * MAINTAINERS: Add self as MMIX port maintainer.
1592 * readelf.c: Include elf/mmix.h.
1593 (guess_is_rela): MMIX is RELA.
1594 (dump_relocations): Handle MMIX relocations.
1595 * Makefile.am: Regenerate dependencies.
1596 * Makefile.in: Regenerate.
1597
1598 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1599
1600 * readelf.c (parse_args): Handle multiple options to the -w
1601 switch.
1602
1603 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1604
1605 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1606 LOPROC, LOOS and LOUSER.
1607
1608 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1609
1610 * MAINTAINERS: Update my email address.
1611
1612 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1613
1614 * doc/Makefile.in: Regenerate.
1615 * configure: Regenerate.
1616
1617 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1618
1619 * readelf.c (display_debug_line, display_debug_pubnames,
1620 display_debug_info, display_debug_frames): Detect and warn
1621 about 64-bit format entries.
1622 (display_debug_aranges): Reword 64-bit warning.
1623 (debug_displays): Add .debug_pubtypes as a known, but not yet
1624 supported, debug section.
1625
1626 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1627
1628 * coffdump.c (PROGRAM_VERSION): Delete.
1629 (main <'V'>): Call print_version.
1630 * srconv.c: Likewise.
1631 * sysdump.c: Likewise.
1632 * version.c (program_version): Remove.
1633 (print_version): Use BFD_VERSION_STRING. Just print the current
1634 year in copyright message.
1635 * addr2line.c (program_version): Remove unused declaration.
1636 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1637 place of BFD_VERSION.
1638 * Makefile.am (Makefile): Depend on bfd/configure.in.
1639 (cplus-dem.o): Depend on Makefile.
1640 Run "make dep-am".
1641 * Makefile.in: Regenerate.
1642
1643 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1644
1645 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1646 format .debug_arange sections.
1647 (main): Add missing prototype.
1648
1649 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1650
1651 * Makefile.am: Update dependencies with "make dep-am".
1652 * Makefile.in: Regenerate.
1653
1654 2001-09-28 Richard Henderson <rth@redhat.com>
1655
1656 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1657
1658 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1659
1660 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1661 VA_CLOSE.
1662 (non_fatal): Likewise.
1663 * objdump.c (objdump_sprintf): Likewise.
1664 * readelf.c (error): Likewise.
1665 (warn): Likewise.
1666
1667 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1668
1669 * readelf.c (do_wide): New.
1670 (options): Add --wide.
1671 (usage, parse_args): Likewise.
1672 (process_program_headers): Put each segment on a single line if
1673 --wide is given.
1674 (process_section_headers): Put each section on a single line if
1675 --wide is given.
1676 * doc/binutils.texi: Document it.
1677 * NEWS: Likewise.
1678
1679 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1680
1681 * readelf.c (print_vma): Print 8 digits of low hex value.
1682
1683 2001-09-24 Andreas Jaeger <aj@suse.de>
1684
1685 * nlmconv.c: Fix warnings about unused attributes and function
1686 prototypes.
1687
1688 * strings.c: Add prototype for get_char.
1689
1690 2000-09-19 H.J. Lu <hjl@gnu.org>
1691
1692 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1693 $(srcdir)/cxxfilt.man.
1694 * doc/Makefile.in: Rebuild.
1695
1696 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1697
1698 * objcopy.c (copy_main): Correct rename-section string parsing.
1699 Consolidate new_name parsing, and error messages.
1700
1701 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1702
1703 * addr2line.c: Don't include <ctype.h>.
1704 (main): For gettext, also set the LC_CTYPE locate facet.
1705 * ar.c (main): Likewise.
1706 * coffdump.c (main): Likewise.
1707 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1708 (main): For gettext, also set the LC_CTYPE locate facet.
1709 Use ISALNUM instead of isalpha/isdigit.
1710 * dllwrap.c: Don't include <ctype.h>.
1711 (main): For gettext, also set the LC_CTYPE locate facet.
1712 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1713 (main): For gettext, also set the LC_CTYPE locate facet.
1714 Use TOUPPER instead of islower/toupper.
1715 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1716 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1717 Use TOUPPER instead of islower/toupper.
1718 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1719 * objcopy.c (main): Likewise.
1720 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1721 (disassemble_bytes): Use ISPRINT instead of isprint.
1722 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1723 (dump_data): Use ISPRINT instead of isprint.
1724 (main): For gettext, also set the LC_CTYPE locate facet.
1725 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1726 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1727 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1728 Use TOUPPER instead of islower/toupper.
1729 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1730 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1731 (write_rc_accelerators): Use ISPRINT instead of isprint.
1732 (write_rc_rcdata): Likewise.
1733 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1734 * srconv.c (main): Likewise.
1735 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1736 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1737 isdigit/isupper/islower.
1738 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1739 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1740 stab_demangle_prefix, stab_demangle_qualified,
1741 stab_demangle_template, stab_demangle_type,
1742 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1743 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1744 (isgraphic): Use ISPRINT instead of isascii/isprint.
1745 (main): Remove HAVE_LC_MESSAGES dependency.
1746 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1747 (pbarray): Use ISPRINT instead of isprint.
1748 (main): For gettext, also set the LC_CTYPE locate facet.
1749 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1750 (format_from_filename): Use ISPRINT instead of isprint.
1751 (main): For gettext, also set the LC_CTYPE locate facet.
1752 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1753 (unicode_print): Use ISPRINT instead of isprint.
1754 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1755 (stab_variable): Use ISDIGIT instead of isdigit.
1756
1757 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1758
1759 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1760 Replace bfd_read call with call to bfd_bread.
1761 (extract_file): Likewise.
1762
1763 * objdump.c (dump_section_header): Cast section->filepos to
1764 unsigned long to suit printf format string.
1765 * readelf.c (process_section_headers): Similarly for sh_offset.
1766 (process_unwind): Likewise.
1767
1768 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1769
1770 * strings.c (encoding, encoding_bytes): New variables.
1771 (long_options): Add --encoding.
1772 (main): Accept -e and --encoding.
1773 (get_char): New function. Read a, possibly wide, character from
1774 the input stream.
1775 (print_strings): Use get_char().
1776 (usage): Document new command line option.
1777 * doc/binutils.texi: Document new command line option.
1778 * NEWS: Announce new command line option.
1779
1780 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1781
1782 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1783 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1784 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1785 Removed EM_CYGNUS_ARC.
1786
1787 2001-09-04 Jeffrey A Law (law@cygnus.com)
1788
1789 * readelf.c: Include elf/h8 for H8 series definitions.
1790 (guess_is_rela): H8 series if RELA.
1791 (dump_relocations): Handle H8 series relocations.
1792
1793 2001-08-31 Eric Christopher <echristo@redhat.com>
1794
1795 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1796
1797 2001-08-29 Peter Targett <peter.targett@arccores.com>
1798
1799 * MAINTAINERS: Include ARC Maintainer.
1800
1801 2001-08-29 Ben Elliston <bje@redhat.com>
1802
1803 * stabs.c (stab_demangle_template): Initialise s4.
1804
1805 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1806
1807 * readelf.c (dump_relocations): Recognise EM_PPC64.
1808
1809 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1810
1811 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1812
1813 2001-08-25 H.J. Lu <hjl@gnu.org>
1814
1815 * nm.c (print_width): New.
1816 (display_rel_file): Set `print_width' according to
1817 bfd_sprintf_vma.
1818 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1819
1820 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1821
1822 * objcopy.c (use_alt_mach_code): New variable.
1823 (OPTION_ALT_MACH_CODE): Define.
1824 (copy_options): Added --alt-machine-code.
1825 (copy_main): Handle it.
1826 (copy_object): Switch to alternate machine code if requested.
1827 * doc/binutils.texi: Document new option.
1828 * NEWS: Likewise.
1829
1830 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1831
1832 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1833
1834 2001-08-21 H.J. Lu <hjl@gnu.org>
1835
1836 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1837 (display_debug_info): Cast for 64bit hosts.
1838 (display_debug_frames): Likewise.
1839 (process_mips_specific): Likewise.
1840
1841 2001-08-21 Andreas Jaeger <aj@suse.de>
1842
1843 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1844
1845 * sysdump.c: Add missing prototypes.
1846 * srconv.c: Likewise.
1847 * unwind-ia64.c: Likewise.
1848 * coffdump.c: Likewise.
1849
1850 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1851
1852 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1853 of declaring xcalloc.
1854
1855 2001-08-10 H.J. Lu <hjl@gnu.org>
1856
1857 * nm.c (print_value): Add one arg, bfd *.
1858 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1859 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1860 (print_symbol_info_sysv): Likewise.
1861 (print_symbol_info_posix): Likewise.
1862
1863 * objdump.c (dump_section_header): Replace printf_vma with
1864 bfd_printf_vma.
1865 (print_section_stabs): Likewise.
1866 (dump_bfd_header): Likewise.
1867 (objdump_print_value): Replace sprintf_vma with
1868 bfd_sprintf_vma.
1869 (disassemble_bytes): Likewise.
1870 (dump_reloc_set): Likewise.
1871
1872 2001-08-10 Andreas Jaeger <aj@suse.de>
1873
1874 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1875 to build warnings.
1876 * configure: Regenerate.
1877
1878 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1879
1880 * readelf.c: Add missing prototypes.
1881 * objdump.c: Likewise. Format existing prototypes.
1882
1883 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1884
1885 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1886 of any RELA relocation for the abbrev_offset memory location that
1887 refers to the .debug_abbrev section symbol.
1888
1889 2001-08-07 H.J. Lu <hjl@gnu.org>
1890
1891 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1892 (main): Return process_file ().
1893
1894 2001-08-05 Philip Blundell <philb@gnu.org>
1895
1896 * doc/binutils.texi: Use "Thumb" not "THUMB".
1897
1898 2001-08-03 John Healy <jhealy@redhat.com>
1899
1900 Patch suggested by Frank Eigler <fche@redhat.com>.
1901 * objdump.c (disassemble_data): Fill in section member of the
1902 disasm_info structure.
1903
1904 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1905
1906 * configure.in: Added --with-windres option.
1907 * configure: Regenerated.
1908
1909 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1910
1911 * doc/binutils.texi: Use @command{name} for commands;
1912 use @option{-opt} for options; use @table @env for list of options;
1913 remove spaces arround [ | ] in synopsis.
1914
1915 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1916 center title.
1917
1918 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1919
1920 * objcopy.c: Fix formatting.
1921 (section_rename): New structure.
1922 (OPTION_RENAME_SECTION): New switch.
1923 (copy_usage): Document new switch.
1924 (add_section_rename): New function: Add a node to the section
1925 rename list.
1926 (find_section_rename): New function: Find the new name and
1927 flags for a section.
1928 (setup_section): Call find_section_name to determine the name
1929 of the output section.
1930 (copy_main): Handle OPTION_RENAME_SECTION.
1931 * binutils.texi: Document new switch.
1932 * NEWS: Mention new switch.
1933
1934 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1935
1936 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1937 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1938 bug-binutils@gcc.org.
1939
1940 2001-07-28 Matthias Kramm <kramm@quiss.org>
1941
1942 * bucomm.c (list_supported_architectures): New function.
1943 * bucomm.h (list_supported_architectures): Declare.
1944 * objdump.c (usage): Call the above.
1945
1946 2001-07-25 Dave Brolley <brolley@redhat.com>
1947
1948 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1949 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1950
1951 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1952
1953 * README: Update for 2.11. Change bug reporting email address.
1954 * MAINTAINERS: Tidy up. Change bug reporting email address.
1955
1956 2001-07-16 DJ Delorie <dj@redhat.com>
1957
1958 * resres.c (write_res_header): Align header size.
1959 (res_align_file): Calculate alignment correctly.
1960
1961 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1962 correct 10).
1963 * resrc.c (write_rc_resource): Likewise.
1964 * windres.h (SUBLANG_SHIFT): Define - as 10.
1965
1966 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1967
1968 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1969
1970 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1971
1972 * MAINTAINERS: Add notes about branch checkins.
1973
1974 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1975
1976 * readelf.c (display_debug_macinfo): New function, display
1977 .debug_macinfo section.
1978 (do_debug_macinfo): New variable.
1979 (parse_args): Handle "-w[mM]" to mean display macro info.
1980 (process_section_headers): Handle debug_macinfo.
1981 (debug_displays): Replace unsupported function with macinfo
1982 function for .debug_macinfo display.
1983 * doc/binutils.texi: Document new command line switch.
1984 * NEWS: Document new feature of readelf.
1985
1986 2001-07-05 H.J. Lu <hjl@gnu.org>
1987
1988 * objcopy.c (filter_symbols): Don't turn undefined symbols
1989 into local.
1990
1991 2001-07-03 H.J. Lu <hjl@gnu.org>
1992
1993 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1994 $@.pod.
1995 (ar.1): Likewise.
1996 (dlltool.1): Likewise.
1997 (nlmconv.1): Likewise.
1998 (nm.1): Likewise.
1999 (objcopy.1): Likewise.
2000 (objdump.1): Likewise.
2001 (ranlib.1): Likewise.
2002 (readelf.1): Likewise.
2003 (size.1): Likewise.
2004 (strings.1): Likewise.
2005 (strip.1): Likewise.
2006 (windres.1): Likewise.
2007 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2008 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2009 $(DEMANGLER_NAME).
2010 (as.1): Removed.
2011 * doc/Makefile.in: Regenerated.
2012
2013 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2014
2015 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2016
2017 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2018
2019 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2020
2021 2001-06-29 James Cownie <jcownie@etnus.com>
2022
2023 * readelf.c: Support DWARF 2.1 attributes.
2024
2025 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2026
2027 * readelf.c (GET_DATA_ALLOC): Remove.
2028 (GET_DATA): Remove.
2029 (get_data): New function combining above macros, with an extra
2030 test for zero size.
2031 (slurp_rela_relocs): Use get_data, and catch error return.
2032 (slurp_rel_relocs): Likewise.
2033 (get_32bit_program_headers): Likewise.
2034 (get_64bit_program_headers): Likewise.
2035 (get_32bit_section_headers): Likewise.
2036 (get_64bit_section_headers): Likewise.
2037 (get_32bit_elf_symbols): Likewise.
2038 (get_64bit_elf_symbols): Likewise.
2039 (process_section_headers): Likewise.
2040 (process_relocs): Likewise.
2041 (slurp_ia64_unwind_table): Likewise.
2042 (process_unwind): Likewise.
2043 (get_32bit_dynamic_segment): Likewise.
2044 (get_64bit_dynamic_segment): Likewise.
2045 (process_dynamic_segment): Likewise.
2046 (process_version_sections): Likewise.
2047 (process_symbol_table): Likewise.
2048 (dump_section): Likewise.
2049 (display_debug_info): Likewise.
2050 (display_debug_section): Likewise.
2051 (process_section_contents): Likewise.
2052 (process_corefile_note_segment): Likewise.
2053 (process_mips_specific): Likewise. Also free econf32, econf64.
2054
2055 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2056
2057 * readelf.c (dump_relocations): Print "bad symbol index" if
2058 symtab == NULL with non-zero symtab_index.
2059 (process_relocs): Don't bomb if reloc section has no symsec.
2060
2061 2001-06-24 H.J. Lu <hjl@gnu.org>
2062
2063 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2064 by accident.
2065 (copy_main): Apply the the change made to strip_main on
2066 2001-05-30 by accident.
2067
2068 2001-06-23 Andreas Jaeger <aj@suse.de>
2069
2070 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2071 parameter 'code'.
2072 (unw_decode_x2): Likewise.
2073 (unw_decode_x3): Likewise.
2074 (unw_decode_x4): Likewise.
2075
2076 2001-06-23 Ben Elliston <bje@redhat.com>
2077
2078 * MAINTAINERS: Add myself as M88k maintainer.
2079
2080 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2081
2082 * objcopy.c (strip_main): Support -o or --output-file command lien
2083 switch.
2084
2085 2001-06-19 H.J. Lu <hjl@gnu.org>
2086
2087 * doc/Makefile.in: Regenerated.
2088
2089 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2090
2091 * readelf.c: Restore formatting.
2092
2093 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2094
2095 * Makefile.am: Move documentation into doc subdirectory.
2096 * Makefile.in: Regenerated.
2097 * binutils.texi: Move into doc subdirectory.
2098 * addr2line.1: Removed.
2099 * ar.1: Likewise.
2100 * dlltool.1: Likewise.
2101 * nlmconv.1: Likewise.
2102 * nm.1: Likewise.
2103 * objcopy.1: Likewise.
2104 * objdump.1: Likewise.
2105 * ranlib.1: Likewise.
2106 * readelf.1: Likewise.
2107 * size.1: Likewise.
2108 * strings.1: Likewise.
2109 * strip.1: Likewise.
2110 * windres.1: Likewise.
2111 * cxxfilt.man: Likewise.
2112 * doc: New Directory.
2113 * doc/Makefile.am: New file.
2114 * doc/Makefile.in: Generate.
2115
2116 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2117
2118 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2119
2120 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2121
2122 * MAINTAINERS: Update my email address.
2123
2124 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2125
2126 * objcopy.c: Add new switches: --keep-global-symbol,
2127 --keep-symbols, --localize-symbols, --keep-global-symbols and
2128 --weaken-symbols.
2129 * binutils.texi: Document new switches.
2130 * objcopy.1: Regenerate.
2131 * NEWS: Announce new feature.
2132
2133 2001-05-28 Andreas Jaeger <aj@suse.de>
2134
2135 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2136 variables, fix format strings.
2137
2138 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2139
2140 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2141 when computing the address of the line to show.
2142
2143 2001-05-16 Richard Henderson <rth@redhat.com>
2144
2145 * readelf.c (do_debug_frames_interp): New.
2146 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2147 (byte_get_big_endian): Likewise.
2148 (parse_args) ['F']: Set do_debug_frames_interp.
2149 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2150 (frame_display_row): Don't trunc pc_begin to int.
2151 (size_of_encoded_value): New.
2152 (display_debug_frames): Handle 64-bit targets. Print raw data
2153 unless do_debug_frames_interp.
2154 (debug_displays): Remove duplicate .debug_frame.
2155
2156 2001-05-15 Ralf Baechle <ralf@gnu.org>
2157
2158 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2159 The former constant was never in active use and is used otherwise
2160 by the ABI.
2161
2162 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2163
2164 * readelf.c (process_unwind): Print all unwind sections, not just
2165 one.
2166
2167 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2168
2169 * readelf.c (process_unwind): Remove const specifier.
2170
2171 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2172
2173 * strings.c (isgraphic): Do not use isascii() unless it is needed
2174 for isprint() to work.
2175 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2176
2177 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2178
2179 * NEWS: Announce support for OpenRISC.
2180
2181 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2182
2183 * dlltool.c (do_default_excludes): Initialise to true.
2184
2185 2001-04-10 Alan Modra <amodra@one.net.au>
2186
2187 * MAINTAINERS: Update my email address
2188 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2189
2190 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2191
2192 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2193
2194 2001-03-30 H.J. Lu <hjl@gnu.org>
2195
2196 * readelf.c (process_unwind): Just return if do_unwind is 0.
2197
2198 2001-03-28 Roger Sayle <roger@metaphorics.com>
2199
2200 * dlltool.c (make_one_lib_file): Fix section flags for
2201 .text, .data and .bss in stub ds*.o files to match those
2202 generated by gas.
2203
2204 2001-03-29 H.J. Lu <hjl@gnu.org>
2205
2206 * readelf.c (process_unwind): Only do unwind sections for
2207 IA64.
2208
2209 2001-03-28 H.J. Lu <hjl@gnu.org>
2210
2211 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2212 * Makefile.in: Regenerate.
2213
2214 2001-03-26 Andreas Jaeger <aj@suse.de>
2215
2216 * binutils.texi (nm): Fix texi syntax.
2217
2218 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2219
2220 * binutils.texi: Put @c man begin and @c man end indications
2221 to generate man pages using texi2pod and pod2man. Put @c man title
2222 to identify each man. Add SEEALSO entries.
2223 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2224 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2225 sort the list.
2226 (*.1): Build the man pages from binutils.texi.
2227 * Makefile.in: Regenerate.
2228
2229 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2230
2231 * defparse.y (opt_equal_name): allow "." in name.
2232 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2233 (gen_exp_file): Likewise.
2234
2235 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2236
2237 * NEWS: Document addition of -B switch to objcopy.
2238 * binutils.texi: Document addition of -B switch to objcopy.
2239 * objcopy.c: (copy_options): Add --binary-architecture.
2240 (copy_usage): Document -B/--binary-architecture.
2241 (copy_main): Support -B/--binary-architecture. Set
2242 bfd_external_binary_architecture.
2243
2244 2001-03-11 Andreas Jaeger <aj@suse.de>
2245
2246 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2247 (dump_relocations): Likewise.
2248 (get_machine_name): Likewise.
2249
2250 2001-02-28 Nick Clifton <nickc@redhat.com>
2251
2252 * readelf.c: (struct unw_aux_info): Remove const modifier for
2253 'strtab' field.
2254 (process_unwind): Remove non-K&R compliant LHS type cast in call
2255 to GET_DATA_ALLOC macro.
2256
2257 2001-02-28 Philip Blundell <pb@futuretv.com>
2258
2259 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2260 ABI is in use; remove ambiguity between the "unknown" EABI and
2261 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2262 renamed EF_xx constants.
2263
2264 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2265
2266 * configure.in (BFD_VERSION): New.
2267 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2268 * configure: Regenerate.
2269 * Makefile.am: Run "make dep-am"
2270 * Makefile.in: Regenerate.
2271
2272 2001-02-14 Nick Clifton <nickc@redhat.com>
2273
2274 * MAINTAINERS: Add "Obvious Fix" rule.
2275
2276 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2277
2278 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2279 literal concatenation.
2280
2281 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2282
2283 * readelf.c (struct unw_aux_info): Remove const from the info member.
2284 (process_unwind): Don't type-cast the third argument to the
2285 GET_DATA_ALLOC macro.
2286
2287 2001-02-11 Nick Clifton <nickc@redhat.com>
2288
2289 * readelf.c (dump_relocations): Free corrected allocated
2290 array.
2291 (process_unwind): Fix compile time warning.
2292
2293 2001-02-10 Nick Clifton <nickc@redhat.com>
2294
2295 * binutils.texi: Document new --unwind option to readelf.
2296
2297 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2298
2299 * readelf.c: Add linux target for S/390.
2300
2301 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2302
2303 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2304 printf is a macro.
2305
2306 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2307
2308 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2309 * aclocal.m4: Regenerate.
2310 * configure: Regenerate.
2311
2312 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2313
2314 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2315 * objdump.c (bfd_target_vector): Likewise.
2316
2317 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2318
2319 * readelf.c (process_unwind): New function.
2320 (slurp_ia64_unwind_table): Ditto.
2321 (dump_ia64_unwind): Ditto.
2322 (find_symbol_for_address): Ditto.
2323 (slurp_rela_relocs): New function (split off from dump_relocations()).
2324 (slurp_rel_relocs): Ditto.
2325 (parse_args): Handle '-u' option.
2326
2327 * unwind-ia64.c: New file.
2328 * unwind-ia64.h: New file.
2329 * Makefile.am: Include unwind-ia64.c in readelf build.
2330 * Makefile.in: Regenerate.
2331 * po/binutils.pot: Regenerate.
2332
2333 2001-02-04 Philip Blundell <philb@gnu.org>
2334
2335 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2336 * configure: Regenerate.
2337
2338 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2339
2340 * ieee.c (ieee_add_bb11): Don't check for backslashes
2341 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2342
2343 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2344
2345 * ieee.c: Update copyright.
2346 (ieee_start_compilation_unit): Don't check for backslashes
2347 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2348
2349 * stabs.c: Update copyright. Include "filenames.h".
2350 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2351
2352 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2353
2354 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2355 sections are present before using them. Remove code duplication.
2356 (process_symbol_table): Check if VERDEF or VERNEED sections are
2357 present before using them.
2358
2359 2001-01-17 Nick Clifton <nickc@redhat.com>
2360
2361 * objcopy.c (copy_object): Fail if attempting to convert the
2362 endianness of the input object file.
2363
2364 * binutils.texi: Explain that objcopy cannot convert endianness.
2365
2366 2001-01-16 Nick Clifton <nickc@redhat.com>
2367
2368 * readelf.c (string_table_length): New variable.
2369 (SECTION_NAME): Catch out of range indices and missing section
2370 pointers.
2371 (process_section_headers): Delete useless local variable
2372 string_table_offset. Set the value of string_table_length
2373 after loading the string table.
2374 (process_mips_specific): Use SECTION_NAME macro.
2375 (process_file): Set string_table_length to 0 when it is freed.
2376
2377 2001-01-12 Nick Clifton <nickc@redhat.com>
2378
2379 * version.c (print_version): Update copyright date.
2380
2381 2001-01-11 Peter Targett <peter.targett@arccores.com>
2382
2383 * readelf.c (dump_relocations): Include selection with EM_ARC.
2384 (get_machine_name) Update name to "ARC".
2385
2386 2001-01-09 Nick Clifton <nickc@redhat.com>
2387
2388 * Makefile.am: Add rule to build objdump.o from objdump.c and
2389 using OBJDUMP_DEFS.
2390 * Makefile.in: Regenerate.
2391
2392 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2393 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2394 -DDISASSEMBLER_NEEDS_RELOCS.
2395 * configure: Regenerate.
2396
2397 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2398 is defined read in the relocs even if dump_reloc_info is
2399 false.
2400
2401 2001-01-07 Philip Blundell <philb@gnu.org>
2402
2403 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2404 `bug-binutils'.
2405 * README: Likewise.
2406
2407 2000-12-19 Nick Clifton <nickc@redhat.com>
2408
2409 * dlltool.c: Add missing support for arm-epoc-pe.
2410 * configure.in: Add missing support for arm-epoc-pe.
2411 * configure: Regenerate.
2412
2413 2000-12-15 Nick Clifton <nickc@redhat.com>
2414
2415 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2416 Mode parts of the x86 port.
2417
2418 2000-12-04 Andreas Jaeger <aj@suse.de>
2419
2420 * readelf.c (guess_is_rela): Add EM_X86_64.
2421 (dump_relocations): Add EM_X86_64.
2422 (get_machine_name): Add EM_X86_64.
2423 Include "elf/x86-64.h".
2424
2425 2000-12-12 Nick Clifton <nickc@redhat.com>
2426
2427 * readelf.c: Fix formatting.
2428
2429 2000-12-11 Jan Hubicka <jh@suse.cz>
2430
2431 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2432
2433 2000-12-07 Andrew Haley <aph@redhat.com>
2434
2435 * readelf.c (display_debug_frames): Only display columns that are
2436 referenced by the frame debug info.
2437
2438 2000-12-05 Nick Clifton <nickc@redhat.com>
2439
2440 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2441
2442 2000-12-04 Jason Merrill <jason@redhat.com>
2443
2444 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2445 (display_debug_section): Likewise.
2446 (display_debug_info): Display CU header before bailing.
2447
2448 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2449
2450 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2451 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2452 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2453
2454 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2455 and E_MIPS_ARCH_64.
2456
2457 * readelf.c (get_machine_flags): Add case for
2458 E_MIPS_MACH_SB1.
2459
2460 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2461
2462 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2463
2464 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2465
2466 * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
2467 Change sourceware.cygnus.com to sources.redhat.com.
2468 Fix typo for "amongst".
2469
2470 2000-11-28 Nick Clifton <nickc@redhat.com>
2471
2472 * strip.1 (COPYING): Mention that the GNU Free Documentation
2473 License is present in the sources, but not the output, and
2474 also available from the GNU website.
2475 (GNU Free Documentation License): Comment out this section.
2476 * strings.1: Ditto.
2477 * size.1: Ditto.
2478 * ranlib.1: Ditto.
2479 * objdump.1: Ditto.
2480 * objcopy.1: Ditto.
2481 * nm.1: Ditto.
2482 * nlmconv.1: Ditto.
2483 * ar.1: Ditto.
2484 * addr2line.1: Ditto.
2485
2486 2000-11-27 DJ Delorie <dj@redhat.com>
2487
2488 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2489 (parse_args): Support -wf option.
2490 (process_section_headers): Ditto.
2491 (debug_displays): Ditto.
2492 (display_debug_frames): New, dump *_frame sections.
2493 (frame_need_space): Support for above.
2494 (frame_display_row): Ditto.
2495 * binutils.texi: Document it.
2496
2497 2000-11-24 Nick Clifton <nickc@redhat.com>
2498
2499 * NEWS: Announce support for v5t, v5te and XScale.
2500
2501 2000-11-22 Nick Clifton <nickc@redhat.com>
2502
2503 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2504 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2505 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2506 (get_elf_section_flags: Add SHF_GROUP.
2507 (process_section_headers): Adjust output for 32-bit binaries
2508 to look nice on an 80 column terminal.
2509
2510 2000-11-20 H.J. Lu <hjl@gnu.org>
2511
2512 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2513 ELFOSABI_AIX.
2514
2515 2000-11-17 Richard Henderson <rth@redhat.com>
2516
2517 * readelf.c (display_debug_lines): Adjust last change to
2518 use sizeof (external->li_length).
2519
2520 2000-11-17 Richard Henderson <rth@redhat.com>
2521
2522 * readelf.c (display_debug_lines): Fix section length check
2523 and end_of_sequence computation.
2524
2525 2000-11-06 Nick Clifton <nickc@redhat.com>
2526
2527 * binutils.texi: Add GNU Free Documentation License.
2528 * objcopy.1: Add GNU Free Documentation License.
2529 * objdump.1: Add GNU Free Documentation License.
2530 * addr2line.1: Add GNU Free Documentation License.
2531 * ar.1: Add GNU Free Documentation License.
2532 * nlmconv.1: Add GNU Free Documentation License.
2533 * nm.1: Add GNU Free Documentation License.
2534 * ranlib.1: Add GNU Free Documentation License.
2535 * size.1: Add GNU Free Documentation License.
2536 * strings.1: Add GNU Free Documentation License.
2537 * strip.1: Add GNU Free Documentation License.
2538
2539 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2540
2541 * objcopy.c (--srec-len=nn): New parameter to set the
2542 maximum length of generated Srecords.
2543 (--srec-forceS3): New parameter that restricts the generation of
2544 Srecords to type S3 only.
2545 * binutils.texi: Document new command line switches.
2546 * objcopy.1: Docuemnt the new command line switches.
2547 * NEWS: Announce the existence of the new command line switches.
2548
2549 2000-10-31 Nick Clifton <nickc@redhat.com>
2550
2551 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2552 code. Add Eric Chrisopher as maintainer of MN10300 port.
2553
2554 2000-10-12 Roger Sayle <roger@metaphorics.com>
2555
2556 * Make comma after string after icon/control optional.
2557
2558 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2559
2560 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2561
2562 * NEWS: Mention support for MIPS32.
2563
2564 2000-09-08 Nick Clifton <nickc@redhat.com>
2565
2566 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2567
2568 2000-09-07 H.J. Lu <hjl@gnu.org>
2569
2570 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2571 * configure: Rebuild.
2572
2573 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2574
2575 * configure: Rebuilt with new libtool.m4.
2576
2577 2000-09-05 Nick Clifton <nickc@redhat.com>
2578
2579 * aclocal.m4: Regenerate.
2580 * config.in: Regenerate.
2581 * configure: Regenerate.
2582
2583 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2584
2585 * strip.1: Fix stray '\' in -o formatting.
2586
2587 2000-09-02 Nick Clifton <nickc@redhat.com>
2588
2589 * configure.in: Increase version number to 2.10.91.
2590 * configure: Regenerate.
2591 * aclocal.m4: Regenerate.
2592 * config.in: Regenerate.
2593 * po/binutils.pot: Regenerate.
2594
2595 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2596
2597 * acinclude.m4: Include libtool and gettext macros from the
2598 top level.
2599 * aclocal.m4, configure: Rebuilt.
2600
2601 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2602
2603 * resrc.c (close_input_stream): Delete extraneous logic
2604
2605 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2606
2607 * NEWS: Mention support for CRIS.
2608
2609 2000-08-21 Nick Clifton <nickc@redhat.com>
2610
2611 * addr2line.c: Changed email address for Ulrich Lauther.
2612
2613 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2614
2615 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2616
2617 2000-08-17 Nick Clifton <nickc@redhat.com>
2618
2619 * readelf.c (display_debug_pubnames): Only issue warning
2620 message once. Terminate message with a new line.
2621 (display_debug_aranges): Only display version 2 debug info.
2622
2623 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2624
2625 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2626 for compatability with old BSD systems.
2627
2628 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2629
2630 * NEWS: Mention i860 support.
2631
2632 2000-08-11 Carlo Wood <carlo@alinoe.com>
2633
2634 * addr2line.c (main): Add const to char *.
2635
2636 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2637
2638 * ar.c (main): Don't crash if called with no arguments
2639 or only '-X32_64' as an argument.
2640
2641 2000-08-08 DJ Delorie <dj@redhat.com>
2642
2643 * resrc.c: use "gcc -xc" instead of -xc-header
2644
2645 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2646
2647 * readelf.c (elf/i860.h): Include.
2648 (dump_relocations): Add recognition of i860 architecture.
2649 (guess_is_rela): Add recognition of i860 architecture.
2650
2651 2000-08-03 Nick Clifton <nickc@cygnus.com>
2652
2653 * MAINTAINERS: Add information about CGEN maintainers.
2654
2655 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2656
2657 * nm.c (main): Ignore '-X32_64' as an option.
2658 * ar.c (main): Likewise.
2659 * binutils.texi (nm): Document new option.
2660 (ar): Likewise.
2661
2662 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2663
2664 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2665
2666 2000-07-20 H.J. Lu <hjl@gnu.org>
2667
2668 * binutils.texi: Put back "@end table" deleted by
2669 accident.
2670
2671 2000-07-05 Kenneth Block <krblock@computer.org>
2672
2673 * nm.c: Add optional style to demangle switch.
2674 * objdump.c: Add optional style to demangle switch.
2675 * addr2line.c: Add optional style to demangle switch.
2676 * binutils.texi: Document optional style to demangle
2677 switch.
2678
2679 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2680
2681 * MAINTAINERS: Add self as CRIS port maintainer.
2682 * readelf.c: Include elf/cris.h.
2683 (guess_is_rela): Handle EM_CRIS.
2684 (dump_relocations): Ditto.
2685 (get_machine_name): Ditto.
2686 * Makefile.am: Rebuild dependencies.
2687 * Makefile.in: Regenerate.
2688 * po/binutils.pot: Regenerate.
2689
2690 2000-07-19 H.J. Lu <hjl@gnu.org>
2691
2692 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2693 "AUXILIARY".
2694 (process_dynamic_segment): Print out strings for DT_CONFIG,
2695 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2696
2697 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2698
2699 * nm.c (usage): Change output of `nm --help' to include a
2700 description of the purpose of the program and a detailed
2701 description of the accepted options.
2702
2703 2000-07-19 H.J. Lu <hjl@gnu.org>
2704
2705 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2706 to DF_1_NODEFLIB.
2707
2708 2000-07-19 H.J. Lu <hjl@gnu.org>
2709
2710 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2711
2712 2000-07-19 H.J. Lu <hjl@gnu.org>
2713
2714 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2715 DT_FEATURE.
2716 (process_dynamic_segment): Likewise.
2717
2718 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2719 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2720 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2721 DF_1_NODUMP and DF_1_CONLFAT.
2722
2723 2000-07-18 Nick Clifton <nickc@cygnus.com>
2724
2725 * binutils.texi (readelf): Fix spelling typo.
2726
2727 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2728
2729 * objdump.c (usage): Make output of `objdump --help' more
2730 consistent with the rest of the GNU world. Add a line describing
2731 the purpose of the program.
2732
2733 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2734
2735 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2736 warning.
2737
2738 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2739
2740 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2741 to fix warnings.
2742 (process_symbol_table): Ditto.
2743 (procesS_extended_line_op): Ditto.
2744 (display_debug_lines): Ditto.
2745 (display_debug_pubnames): Ditto.
2746 (read_and_display_attr): Ditto.
2747
2748 2000-07-09 Nick Clifton <nickc@cygnus.com>
2749
2750 * MAINTAINERS: Add several more port specific maintainers.
2751
2752 2000-07-05 Nick Clifton <nickc@cygnus.com>
2753
2754 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2755
2756 2000-06-05 DJ Delorie <dj@redhat.com>
2757
2758 * MAINTAINERS: New.
2759
2760 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2761
2762 * dllwrap.c: Changed mistaken dyn_string_append() calls
2763 to dyn_string_append_cstr().
2764
2765 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2766
2767 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2768 struct debug_type stores size in bytes.
2769
2770 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2771
2772 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2773 (CLEANFILES): Add DEPA.
2774 * Makefile.in: Regenerate.
2775
2776 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2777
2778 * ar.c: Revert incorrect 2000-06-25 patch.
2779 * bucomm.c: Likewise.
2780
2781 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2782
2783 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2784 (external_coff_symbol_p): New function.
2785 (parse_coff): Use it.
2786
2787 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2788
2789 * ar.c (normalize): Advance past both characters in a DOS based
2790 <letter>: filepath prefix.
2791 (main): Likewise.
2792 * bucomm.c (make_tempname): Likewise.
2793
2794 2000-06-24 Nick Clifton <nickc@cygnus.com>
2795
2796 * objdump.c (usage): Fix description of --stabs switch.
2797
2798 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2799
2800 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2801 find one.
2802 * Makefile.in: Regenerate.
2803
2804 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2805
2806 * ar.c (normalize): Correct pointer comparison when checking for
2807 backslashes.
2808 (main): Likewise.
2809 * bucomm.c (make_tempname): Likewise.
2810
2811 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2812 and search for backslashes in the original pathname.
2813 (ieee_add_bb11): Likewise.
2814
2815 2000-06-18 Nick Clifton <nickc@redhat.com>
2816
2817 * ar.c (print_contents): Improve verbose message.
2818
2819 2000-06-15 H.J. Lu <hjl@gnu.org>
2820
2821 * dyn-string.c: Removed. Not needed with dyn-string.c in
2822 libiberty.
2823 * dyn-string.h: Likewise.
2824
2825 * Makefile.am: Remove references to dyn-string.c and
2826 dyn-string.h. Rebuild dependency.
2827 * Makefile.in: Rebuild.
2828
2829 2000-06-15 H.J. Lu <hjl@gnu.org>
2830
2831 * binutils.texi: Put a warning on copying relocatable object
2832 files between two different formats.
2833
2834 2000-06-13 DJ Delorie <dj@cygnus.com>
2835
2836 * rcparse.y (control): ICON controls take an id as the first
2837 parameter, not an optional string. Also, call new convenience
2838 function that takes res_id's.
2839 * resrc.c (define_control): missing text means zero-length string,
2840 not zero ID.
2841 (define_icon_control): New.
2842 * windres.h: declare define_icon_control.
2843
2844 2000-06-13 H.J. Lu <hjl@gnu.org>
2845
2846 * configure: Regenerate.
2847
2848 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2849
2850 * configure.in (VERSION): Update to show this is the CVS mainline.
2851
2852 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2853
2854 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2855 analogous to <SPACE>.
2856
2857 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2858
2859 * objdump.c (display_target_list): Use bfd_close_all_done, not
2860 bfd_close to fix crash caused by 2000-05-24 change.
2861
2862 2000-05-25 DJ Delorie <dj@cygnus.com>
2863
2864 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2865
2866 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2867
2868 * Makefile.am: Update dependencies with "make dep-am"
2869 * Makefile.in: Regenerate.
2870
2871 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2872
2873 * ar.c: Include filenames.h.
2874 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2875 and drive letters in file names.
2876 (main): Support backslashes and drive letters in argv[0]. Drop
2877 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2878 FILENAME_CMP instead of strcmp to compare file names.
2879 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2880 DJGPP v2.
2881 (do_quick_append) [__GO32__]: Ditto.
2882 (get_pos_bfd, delete_members, move_members, replace_members):
2883 Compare file names with FILENAME_CMP.
2884
2885 * bucomm.c: Include filenames.h.
2886 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2887 forward/backward slashes and drive letters in file names.
2888
2889 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2890 mixed forward/backward slashes and drive letters in file names.
2891
2892 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2893 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2894 mode.
2895
2896 * objcopy.c: Include filenames.h.
2897 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2898 before comparing to "strip".
2899 Use FILENAME_CMP to compare file names.
2900
2901 * arsup.c: Include filenames.h.
2902 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2903 FILENAME_CMP to compare file names.
2904 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2905 the temporary file name.
2906
2907 * configure.in: Check for setmode.
2908 * configure: Regenerate.
2909
2910 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2911
2912 * objdump.c (display_target_list): Close the bfd.
2913 (display_info_table): Likewise.
2914
2915 2000-05-14 H.J. Lu (hjl@gnu.org)
2916
2917 * objcopy.c (filter_symbols): Don't strip global symbols in
2918 relocatable object files.
2919
2920 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2921
2922 * size.c (usage): Associate short options with corresponding long
2923 option to give a clue as to their function.
2924
2925 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2926
2927 * size.c (main): Accept and ignore `-f' option.
2928
2929 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2930
2931 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2932 bindtextdomain): Replace defines with those from intl/libgettext.h
2933 to quieten gcc warnings.
2934
2935 2000-05-12 H.J. Lu <hjl@gnu.org>
2936
2937 * nlmconv.c (temp_filename): Removed.
2938
2939 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2940 choose_temp_base ().
2941 * objdump.c (display_target_list): Likewise.
2942 (display_info_table): Likewise.
2943
2944 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2945
2946 * objcopy.c (setup_section): Add const and gettext calls for err.
2947
2948 2000-05-02 H.J. Lu <hjl@gnu.org>
2949
2950 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2951 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2952 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2953 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2954 and ELFOSABI_OPENBSD.
2955
2956 2000-05-02 Kazu Hirata <kazu@hxi.com>
2957
2958 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2959 * srconv.c: Likewise.
2960 * sysdump.c: Likewise.
2961
2962 2000-04-23 Denis Chertykov <denisc@overta.ru>
2963
2964 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2965 (get_machine_name): machine name for EM_AVR added.
2966
2967 2000-04-21 Richard Henderson <rth@cygnus.com>
2968 David Mosberger <davidm@hpl.hp.com>
2969
2970 * Makefile.am (readelf.o): Add elf/ia64.h.
2971 * Makefile.in: Rebuild.
2972 * readelf.c: Include elf/ia64.h.
2973 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2974
2975 2000-04-17 Timothy Wall <twall@cygnus.com>
2976
2977 * objdump.c (disassemble_data): Set octets per byte *after*
2978 resolving arch/mach for binary files.
2979
2980 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2981
2982 * arlex.l: Add directives to increase lex buffer size.
2983
2984 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2985 already included by bucomm.h.
2986
2987 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2988
2989 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2990 `strftime' since strftime is not available on all systems.
2991 (process_mips_specific): Ditto.
2992
2993 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2994
2995 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2996 --enable-build-warnings option.
2997 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2998 * Makefile.in, configure: Re-generate.
2999
3000 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3001
3002 * addr2line.c: Update copyright.
3003 * objcopy.1: Likewise, and title.
3004 * strings.1: Likewise.
3005
3006 * version.c (print_version): Add 2000.
3007
3008 * rddbg.c (read_section_stabs_debugging_info): Don't use
3009 bfd_size_type for strx to avoid printf problems if BFD64.
3010
3011 * bucomm.c: (report): Remove `static'.
3012 Move inclusion of stdarg.h/vararg.h from here.
3013 * bucomm.h: To here.
3014 (CONST): Change all occurences to const.
3015 (report): Declare it.
3016 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3017 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3018 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3019
3020 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3021 Correct a typo in an error message.
3022 (do_quick_append): Use non_fatal instead of fprintf.
3023 (move_members): Use fatal instead of fprintf, exit.
3024 * coffdump.c (main): Same here.
3025
3026 * dlltool.c (display): Delete.
3027 (warn): Delete.
3028 (inform): Use `report' instead of `display'.
3029 (rvaafter): Remove trailing \n from fatal error msg.
3030 (rvabefore): Ditto.
3031 (asm_prefix): Ditto.
3032 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3033 (def_name): Likewise.
3034 (run): Likewise.
3035 (scan_all_symbols): Likewise.
3036 (gen_lib_file): Likewise.
3037 (def_library): Likewise. Remove extra program_name too.
3038 (run): Remove \n from inform strings.
3039 (scan_drectve_symbols): Likewise.
3040 (add_excludes): Likewise.
3041 (scan_open_obj_file): Likewise.
3042 (gen_exp_file): Likewise.
3043 (gen_lib_file): Likewise.
3044 (process_duplicates): Likewise.
3045
3046 * Makefile.am (dllwrap_SOURCES): Add version.c.
3047 * dllwrap.c (program_version): Delete.
3048 (print_version): Delete.
3049 (display): Always print trailing \n.
3050 (warn): New.
3051 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3052 (run): Here too.
3053 (main): And here.
3054 (usage): gettext'ify.
3055 (long_options): Add missing initialisers.
3056
3057 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3058 (select_output_format): Likewise.
3059 (powerpc_mangle_relocs): Likewise.
3060 (link_inputs): Likewise.
3061
3062 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3063 (set_output_format): Likewise.
3064 (main): Use non_fatal instead of fprintf.
3065 (display_rel_file): Likewise.
3066
3067 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3068 (slurp_dynamic_symtab): Same here.
3069 (disassemble_data): And here.
3070 (read_section_stabs): And here.
3071 (read_section_stabs): And here.
3072 (dump_bfd): And here.
3073 (main): And here.
3074 (objdump_sprintf): Use fatal instead of fprintf, exit.
3075 (disassemble_data): Same here.
3076
3077 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3078 (parse_coff_struct_type): Same here.
3079 (parse_coff_enum_type): And here.
3080 (parse_coff): And here.
3081 * rddbg.c (read_debugging_info): And here.
3082 * size.c (main): And here.
3083 * windres.c (format_from_name): And here.
3084 * wrstabs.c (stab_write_symbol): Here too.
3085 (write_stabs_in_sections_debugging_info): And here.
3086 (stab_int_type): And here.
3087 (stab_struct_field): And here.
3088 (stab_typdef): And here.
3089
3090 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3091 * srconv.c (main): Same here.
3092 * strings.c (main): And here.
3093 (integer_arg): And here.
3094 * sysdump.c (main): And here.
3095
3096 2000-04-06 Timothy Wall <twall@cygnus.com>
3097
3098 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3099
3100 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3101
3102 * readelf.c (decode_location_expression): Loop through multiple
3103 operations.
3104 (read_and_display_attr): Pass in length.
3105
3106 * readelf.c (read_and_display_attr): Add CU offset to references.
3107 (display_debug_info): Pass it in.
3108
3109 2000-04-06 Nick Clifton <nickc@cygnus.com>
3110
3111 * readelf.c (decode_ARM_machine_flags): New function.
3112 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3113 targets.
3114
3115 (get_machine_name): Catch EM_AVR
3116
3117 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3118
3119 * binutils.texi: Remove optional `=' from long options that have
3120 an `=' in the argument.
3121 * objcopy.1: Here too. Remove extra space on discard-all.
3122
3123 * binutils.texi (objcopy): Mention --redefine-sym.
3124 * objcopy.1: Here too.
3125 * NEWS: And here.
3126
3127 * objcopy.c (parse_flags): Split off flag names from error message
3128 gettext as they are not translated.
3129 (copy_main): Similarly split off option name for --add-section,
3130 --set-section-flags, --change-section-vma, --change-section-lma
3131 error messages.
3132 Some white space changes.
3133
3134 from Matthew Benjamin <matt@linuxbox.nu>
3135 * objcopy.c (struct redefine_node): New.
3136 (redefine_sym_list): New.
3137 (redefine_list_append): New.
3138 (lookup_sym_redefinition): New.
3139 (OPTION_REDEFINE_SYM): New.
3140 (copy_options): Add --redefine-sym option.
3141 (copy_usage): Mention it.
3142 (filter_symbols): Rename symbols on redefine_sym_list.
3143 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3144 (copy_main): Handle OPTION_REDEFINE_SYM.
3145
3146 2000-04-04 H.J. Lu <hjl@gnu.org>
3147
3148 * readelf.c (process_symbol_table): Correctly read in symbol
3149 versioning information.
3150
3151 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3152
3153 * po/binutils.pot: Regenerate.
3154
3155 * addr2line.c (usage): Restore translated part of bug string.
3156 * ar.c (usage): Likewise.
3157 * nlmconv.c (show_usage): Likewise.
3158 * nm.c (usage): Likewise.
3159 * objcopy.c (copy_usage): Likewise.
3160 (strip_usage): Likewise.
3161 * objdump.c (usage): Likewise.
3162 * readelf.c (usage): Likewise.
3163 * size.c (usage): Likewise.
3164 * strings.c (usage): Likewise.
3165 * windres.c (usage): Likewise.
3166
3167 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3168 (DEP): Quote when passing vars to sub-make. Add warning
3169 message to end.
3170 (DEP1): Rewrite for "gcc -MM".
3171 (CLEANFILES): Add DEP2.
3172 Update dependencies.
3173 * Makefile.in: Regenerate.
3174
3175 2000-04-04 H.J. Lu <hjl@gnu.org>
3176
3177 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3178 (arparse.h): Depend on arparse.c
3179 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3180
3181 2000-04-03 H.J. Lu (hjl@gnu.org)
3182
3183 * size.c (usage): Use REPORT_BUGS_TO.
3184
3185 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3186
3187 * bucomm.h: #include "bin-bugs.h"
3188 * addr2line.c (usage): Use REPORT_BUGS_TO.
3189 * ar.c (usage): Likewise.
3190 * nlmconv.c (show_usage): Likewise.
3191 * nm.c (usage): Likewise.
3192 (OPTION_TARGET): Define.
3193 (long_options): Use OPTION_TARGET rather than 200.
3194 (main): Likewise.
3195
3196 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3197 (strip_usage): Likewise.
3198 * objdump.c (usage): Likewise.
3199 * readelf.c (usage): Likewise.
3200 * strings.c (usage): Likewise.
3201 * windres.c (usage): Likewise.
3202
3203 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3204
3205 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3206
3207 2000-03-27 Nick Clifton <nickc@cygnus.com>
3208
3209 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3210 string offsets in corrupt stabs entries.
3211
3212 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3213
3214 * readelf.c: Include elf/avr.h
3215 (dump_relocations): Add EM_AVR case.
3216
3217 2000-03-09 Tim Waugh <twaugh@redhat.com>
3218
3219 * strings.1: Correct '-bytes' to '--bytes'.
3220
3221 2000-03-08 H.J. Lu <hjl@gnu.org>
3222
3223 * Makefile.am (install-exec-local): Depend on
3224 install-binPROGRAMS for parallel make.
3225 * Makefile.in: Regenerated.
3226
3227 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3228
3229 From Brad Lucier <lucier@math.purdue.edu>:
3230 * readelf.c (process_dynamic_segment): Add cast to make sure
3231 argument to %* is int.
3232
3233 2000-02-25 H.J. Lu <hjl@gnu.org>
3234
3235 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3236
3237 2000-02-24 Nick Clifton <nickc@cygnus.com>
3238
3239 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3240 * configure: Regenerate.
3241
3242 * dlltool.c: Add support for sh-pe and mips-pe targets.
3243 * rescoff.c: Add support for sh-pe and mips-pe targets.
3244
3245 2000-02-23 H.J. Lu <hjl@gnu.org>
3246
3247 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3248
3249 2000-02-22 Nick Clifton <nickc@cygnus.com>
3250
3251 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3252
3253 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3254
3255 From Brad Lucier <lucier@math.purdue.edu>:
3256 * readelf.c (process_version_sections): Add casts to make sure
3257 argument to %* is an int.
3258 (process_mips_specific): Add casts to make printf arguments match
3259 format.
3260
3261 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3262
3263 * objdump.c (dump_section_header): Change `opb' to unsigned.
3264 (find_symbol_for_address): Same here.
3265 (disassemble_data): And here. Change `addr_offset',
3266 `stop_offset', `nextstop_offset' to unsigned long.
3267 (dump_data): Change opb to unsigned.
3268
3269 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3270
3271 * resrc.c: Remove unmatched #if for cygwin.
3272
3273 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3274
3275 * binutils.texi: Document the change of flavor name from atpcs-special
3276 to special-atpcs to prevent name conflict in gdb.
3277
3278 2000-02-08 Timothy Wall <twall@redhat.com>
3279
3280 * objdump.c (show_line): Fix bug preventing printing of the very
3281 first line (line zero) of a file when interlisting source and
3282 assembly. Added option to print entire context from start of file
3283 when the first line from that file is encountered.
3284
3285 2000-02-03 Timothy Wall <twall@redhat.com>
3286
3287 * objdump.c (dump_section_header, find_symbol_for_address,
3288 show_line, disassemble_bytes, disassemble_data, dump_data):
3289 distinguish between octets and bytes.
3290
3291 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3292
3293 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3294 check to unresolved symbols.
3295 (print_symbol_info_sysv): Ditto.
3296 (print_symbol_info_posix): Ditto.
3297
3298 * binutils.texi: Document new 'V' symclass flag for nm.
3299
3300 2000-01-27 Nick Clifton <nickc@redhat.com>
3301
3302 * binutils.texi (objdump): Document new ARM specific
3303 disassembler options.
3304
3305 * objdump.c (usage): Call disassembler_usage().
3306
3307 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3308
3309 * readelf.c (get_dynamic_flags): Return buff.
3310 (process_dynamic_segment): Don't pass error strings to printf
3311 as format arg.
3312 (read_and_display_attr): Use lx and ld to print longs.
3313 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3314 before printing.
3315 Update copyright.
3316
3317 2000-01-17 Nick Clifton <nickc@cygnus.com>
3318
3319 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3320
3321 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3322
3323 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3324 false.
3325 (debug_tag_type): Here too.
3326 * ieee.c (ieee_builtin_type): And here.
3327 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3328
3329 2000-01-13 Nick Clifton <nickc@cygnus.com>
3330
3331 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3332 System/370".
3333
3334 2000-01-11 Nick Clifton <nickc@cygnus.com>
3335
3336 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3337
3338 2000-01-10 Nick Clifton <nickc@cygnus.com>
3339
3340 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3341
3342 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3343
3344 * windres.c (long_options): Add --use-temp-file and
3345 --no-use-temp-file options.
3346 (usage): Document.
3347 (main): Handle.
3348
3349 * windres.h: Update read_rc_file prototype.
3350
3351 * resrc.c (cpp_temp_file): New static variable.
3352 (istream_type): New static variable.
3353 (close_pipe): Delete function.
3354 (run_cmd): New static function.
3355 (open_input_stream): New static function.
3356 (close_input_stream): New static function.
3357 (look_for_default): Handle DOS directory separator. Use
3358 open_input_stream instead of popen.
3359 (read_rc_file): Likewise.
3360
3361 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3362 options.
3363
3364 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3365
3366 * dlltool.c (create_compat_implib): New variable.
3367 (gen_exp_file): Use.
3368 (make_one_lib_file): Use.
3369 (long_options): Add --compat-implib option.
3370 (usage): Handle.
3371 (main): Handle.
3372
3373 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3374 (main): Use. Don't look for "32" in cygwin and mingw target names.
3375
3376 2000-01-03 Nick Clifton <nickc@cygnus.com>
3377
3378 * binutils.texi: Document new, ARM specific disassembler
3379 command line switch "-M force-thumb".
3380
3381 For older changes see ChangeLog-9899
3382 \f
3383 Local Variables:
3384 mode: change-log
3385 left-margin: 8
3386 fill-column: 74
3387 version-control: never
3388 End:
This page took 0.100234 seconds and 4 git commands to generate.