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