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