* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
96f959e5
PT
12002-03-27 Peter Targett <peter.targett@arc.com>
2
3 * MAINTAINERS: Update my email address.
4
1ea788ee
AM
52002-03-21 Alan Modra <amodra@bigpond.net.au>
6
7 * Makefile.am: Run "make dep-am".
8 * Makefile.in: Regenerate.
9 * doc/Makefile.in: Regenerate.
10 * po/POTFILES.in: Regenerate.
11 * aclocal.m4: Regenerate.
12 * config.in: Regenerate.
13 * configure: Regenerate.
14
a2f14207
DB
152002-03-20 Daniel Berlin <dan@dberlin.org>
16
17 * readelf.c: Add support for displaying dwarf2 location lists.
18 (do_debug_loc, debug_loc_section, debug_loc_size): New.
19 (parse_args): Use 'O' as shorthand for displaying location list
20 section.
21 (process_section_headers): Handle debug_loc as well.
22 (load_debug_loc): New.
23 (free_debug_loc): New.
24 (fetch_location_list): New.
25 (display_debug_loc): New.
26 (display_debug_info): Call load_debug_loc and free_debug_loc.
27 (debug_displays): We can display .debug_loc now, too.
28 (usage): Update usage string.
29 (read_and_display_attr_value): Note location lists, but don't
30 display them inline.
31
eb1e0e80
NC
322002-03-18 Tom Rix <trix@redhat.com>
33
34 * Makefile.am: Add binutils emulation support.
35 * configure.in: Same.
36 * configure.tgt: New file. Same.
37 * ar.c (main): Use ar_emul_parse_arg.
38 (usage): Use ar_emul_usage.
39 (replace_members): Use ar_emul_replace, ar_emul_append.
40 * binemul.c: New file. Define the binutils emulation
41 layer. Define default methods.
42 * binemul.h: New file. Binutils emulation layer header file.
43 * emul_aix.c: New file. AIX binutils emulation.
44 * emul_vanilla.c: New file. Default binutils emulation.
45 * Makefile.in: Regenerate.
46 * configure: Same.
47
a1c259a1
NC
482002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
49
50 * po/fr.po: Updated version.
51
9ce88e60
NC
522002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
53
54 * po/fr.po: Updated version.
55
effb0601
DJ
562002-03-07 Daniel Jacobowitz <drow@mvista.com>
57
58 * README: Update some version numbers.
59
a65688ab
DJ
602002-03-07 Daniel Jacobowitz <drow@mvista.com>
61
62 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
63 (Architecture Selection): Likewise.
64
f3f7fbb2
NC
652002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
66
67 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
68 generating .exp file.
69
25345be5
NC
702002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
71
72 * readelf.c (dump_relocations): Fix typo.
73
9a66911f
NC
742002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
75
76 * NEWS: Mark 2.12 branch.
77
2c71103e
NC
782002-02-18 Timothy Daly <remote_bob@yahoo.com>
79
80 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
81 types for 64-bit MIPS. Narrow some fields for 80-char
82 output.
83 (dump_relocations): Change spelling from 'unrecognised'
84 to 'unrecognized'.
85 (decode_ARM_machine_flags): Likewise.
86 (parse_args): Likewise.
87 (read_and_display_attr_value): Likewise.
88 (display_debug_section): Likewise.
89
49fda6c8
HPN
902002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
91
92 * NEWS: Mention support for MMIX.
93
76f57f3a
JT
942002-02-13 Matt Fredette <fredette@netbsd.org>
95
96 * readelf.c (get_machine_flags): Recognize EF_M68000.
97
d36ca9c2
AO
982002-02-12 Alexandre Oliva <aoliva@redhat.com>
99
100 * MAINTAINERS: Added self as MN10300 co-maintainer.
101
19397422
AM
1022002-02-12 Alan Modra <amodra@bigpond.net.au>
103
104 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
105 DT_PPC64_OPDSZ.
106
d434e574
DJ
1072002-02-11 Daniel Jacobowitz <drow@mvista.com>
108
109 * MAINTAINERS: List myself as branch maintainer.
110
12b87c89
AM
1112002-02-11 Alan Modra <amodra@bigpond.net.au>
112
113 * configure: Regenerate.
114 * objcopy.c: Update copyright date.
115 * doc/Makefile.in: Regenerate.
116
8d037c5c
DJ
1172002-02-10 Daniel Jacobowitz <drow@mvista.com>
118
119 * nlmconv.c: Back out localtime PARAMS change.
120
4c168fa3
AM
1212002-02-11 Alan Modra <amodra@bigpond.net.au>
122
123 * objcopy.c (MKDIR): Define.
124 (copy_archive): Make name_list.name const. Use MKDIR.
125 Handle duplicate files in archives by making more temp dirs.
126
408f8db1
DJ
1272002-02-10 Daniel Jacobowitz <drow@mvista.com>
128
129 * coffdump.c: Include "getopt.h" after "bucomm.h"
130 so that macros are defined correctly.
131 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
132 prototype. Prototype main.
133 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
134
9f77fa06
AO
1352002-02-06 Alexandre Oliva <aoliva@redhat.com>
136
137 * MAINTAINERS: Added self as SH co-maintainer.
138
82f6addb
NC
1392002-02-05 Nick Clifton <nickc@redhat.com>
140
141 * po/tr.po: Updated translation.
142
ba323545
AM
1432002-02-01 Alan Modra <amodra@bigpond.net.au>
144
145 * Makefile.am: Run "make dep-am"
146 * Makefile.in: Regenerate.
147
3deb89d3
DJ
1482002-01-29 Daniel Jacobowitz <drow@mvista.com>
149
150 * nm.c (print_value): Mark abfd unused.
151
a0e9c55f
DJ
1522002-01-29 Daniel Jacobowitz <drow@mvista.com>
153
154 * unwind-ia64.c (unw_decoder): Change second argument
155 to unsigned int, to match function prototypes.
156
d7a283d4
DJ
1572002-01-29 Daniel Jacobowitz <drow@mvista.com>
158
159 * objdump.c: Include "getopt.h" after "bucomm.h" so that
160 __GNU_LIBRARY__ will be defined.
161 * size.c: Likewise.
162
4867be41
DJ
1632002-01-27 Daniel Jacobowitz <drow@mvista.com>
164
165 * configure: Regenerated.
166
7562a296
HPN
1672002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
168
169 * doc/Makefile.am (install): Depend on install-info.
170 * doc/Makefile.in: Regenerate.
171
15c82623
NC
1722002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
173
174 * objcopy.c (strip_usage): Document -d as an alias
175 --strip-debug.
176
177 * size.c (usage): Document [-t | --totals] options.
178 (long_options): Add --totals option.
179 (main): If the [-t | --totals] option is specified and
180 the output format is Berkeley-style, print the total
181 text, data, and bss sizes of all objects listed.
182 (print_berkeley_format): If the [-t | --totals] option
183 is specified, track the total text, data, and bss
184 sizes.
185 * doc/binutils.texi (size): Document [-t | --totals] options.
186 (strip): Document -d as an alias for --strip-debug.
187 * NEWS: Mention new feature of size.
188
00ea8601 1892002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 190
1ddbd152
NC
191 * po/fr.po: Updated version.
192 * po/es.po: Updated version.
b85cedd7 193
8b53311e
NC
1942002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
195
196 * addr2line.c (usage): Update text to provide verbose
197 description of the command line options.
198 * ar.c (usage): Update text to provide verbose
199 description of the command line options.
200 (main): Accept -h and -H when running as ranlib.
201 * coffdump.c (show_usage): Update text to provide verbose
202 description of the command line options.
203 * dlltool.c (main): Accept -H as an alias for --help.
204 * nlmconv.c (show_usage): Update text to provide verbose
205 description of the command line options.
206 * nm.c (usage): Replace OPTIONS with option(s).
207 (main): Accept -H as an alias for --help.
208 * objcopy.c (strip_main): Accept -H as an alias for --help.
209 * objdump.c (main): Accept -v as an alias for --verbose.
210 * readelf.c (usage): Adjust format to match style used in
211 other binutils.
212 * size.c (usage): Update text to provide verbose description
213 of the command line options.
214 (main): Accept -v, -h and -H as command line options.
215 * srconv.c (show_usage): Update text to provide verbose
216 description of the command line options.
217 * strings.c (main): Accept -H and -v as command line options.
218 (usage): Update text to provide verbose description of the
219 command line options.
220 * sysdump.c (show_usage): Update text to provide verbose
221 description of the command line options.
222 * windres.c (usage): Adjust format to match style used in
223 other binutils.
224
225 * coffdump.c: Fix formatting.
226 * nlmconv.c: Fix formatting.
227 * srconv.c: Fix formatting.
228 * sysdump.c: Fix formatting.
229
c46f0c34
AM
2302002-01-22 Alan Modra <amodra@bigpond.net.au>
231
232 * Makefile.am: Run "make dep-am".
233 * Makefile.in: Regenerate.
234
2a538ba5
AJ
2352002-01-18 Andreas Jaeger <aj@suse.de>
236
237 * version.c (print_version): Update year.
238
285d1771
AM
2392002-01-17 Alan Modra <amodra@bigpond.net.au>
240
241 * readelf.c (get_machine_name): Handle EM_PPC64.
242 (guess_is_rela): Here too.
243
328577ad
NC
2442002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
245
246 * po/binutils.pot: Regenerate.
247 * po/fr.po: Regenerate.
248 * po/tr.po: Regenerate.
249
af3ae48d
NC
2502002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
251
252 * po/tr.po: Import new version.
253
f1cb7e17
AM
2542002-01-16 Alan Modra <amodra@bigpond.net.au>
255
256 * readelf.c (get_ppc64_dynamic_type): New.
257 (get_dynamic_type): Call it.
258
6364e0b4
NC
2592002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
260
3ab9460d
NC
261 * objcopy.c (copy_usage): Use "options" instead of "switches".
262 (strip_usage): Use "options" instead of "switches".
263 * doc/binutils.texi (dlltool): Refer to "options" instead of
264 "switches".
6364e0b4 265
3a7e524e
RE
2662002-01-14 Richard Earnshaw <rearnsha@arm.com>
267
268 * MAINTAINERS: Add self as co-maintainer for the ARM code.
269
1209e219
NC
2702001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
271
272 * po/es.po: Import from translation project.
273 * configure.in (ALL_LINGUAS): Add es.
274 * configure: Regenerate.
275
b4db1224
JT
2762002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
277
278 * readelf.c (get_netbsd_elfcore_note_type): Use
279 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
280
9437c45b
JT
2812002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
282
283 * readelf.c: Update copyright years.
284 (get_note_type): Return a const char *.
285 (get_netbsd_elfcore_note_type): New function.
286 (process_note): Use get_netbsd_elfcore_note_type to get
287 the note type string for NetBSD ELF core files.
288
00428cca
AM
2892002-01-06 Steve Ellcey <sje@cup.hp.com>
290
291 * readelf.c (get_ia64_segment_type): Add support for macros.
292 (get_segment_type): Add support for IA64 specific macros.
293
31104126
NC
2942001-12-20 Julian v. Bock <julian@wongr.net>
295
296 * readelf.c (print_symbol): New function: Print a formatted symbol
297 name. If --wide is specified do not truncate it.
298 (dump_relocations): Use print_symbol() to print symbol names.
299 (process_symbol_table): Likewise.
300 (process_syminfo): Likewise.
301 (process_mips_specific): Likewise.
302 (usage): Document new feature of --wide switch.
303 * doc/binutils.texi (objdump): Document additional behaviour of
304 --wide.
2a538ba5 305
4dd67f29
MS
3062001-12-18 Michael Snyder <msnyder@redhat.com>
307
308 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
309 (copy_object): Don't set the start address or flags of a core file.
310 (copy_section): Don't relocate a core file. Don't copy contents
311 if the input section has the contents flag set, but the output
312 section does not (which happens with the fake 'note' pseudo-
313 sections that BFD creates for corefiles).
314
43521d43
TS
3152001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
316
317 * readelf.c (get_machine_flags): Recognize header flags for ABI and
318 ASE extensions. More robust code for ISA checking. Ignore empty fields
319 in header flags for GNU extensions.
320
b667df2e
AM
3212001-12-18 Alan Modra <amodra@bigpond.net.au>
322
323 * objcopy.c (copy_archive): Set output bfd format outside the loop.
324
17a5a5c3
NC
3252001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
326
327 * po/ja.po: Import from translation project.
328 * configure.in (ALL_LINGUAS): Add ja.
329 * configure: Regenerate.
330
65de42c0
TS
3312001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
332
333 * addr2line.c (main): Protoype.
334 * ar.c (main): Protoype.
335 * nm.c (main): Protoype.
336 * objcopy.c (main): Protoype.
337 * objdump.c (main): Protoype.
338 * size.c (main): Protoype.
339 * strings.c (main): Protoype.
340
9ad5cbcf
AM
3412001-12-17 Alan Modra <amodra@bigpond.net.au>
342
343 * readelf.c (symtab_shndx_hdr): New global.
344 (SECTION_HEADER_INDEX): Define.
345 (SECTION_HEADER_NUM): Define.
346 (SECTION_HEADER): Define.
347 (GET_ELF_SYMBOLS): Pass two params rather than three.
348 (get_32bit_elf_symbols): Take file and section args. Read and
349 use SHT_SYMTAB_SHNDX.
350 (get_64bit_elf_symbols): Likewise.
351 (dump_relocations): Use SECTION_HEADER to index "section_headers".
352 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
353 Remember symtab_shdx_hdr.
354 (process_program_headers): Scan from index 1 for segment map.
355 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
356 "section_headers".
357 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
358 (process_unwind): Likewise.
359 (process_version_sections): Likewise.
360 (process_symbol_table): Likewise.
361 (display_debug_info): Likewise.
362 (process_dynamic_segment): Fake up a symtab section for changed
363 GET_ELF_SYMBOLS.
364 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
365 (process_program_headers): Kill signed/unsigned warning.
366 (load_debug_str): Likewise.
367 (display_debug_info): Likewise.
368
65765700
JJ
3692001-12-13 Jakub Jelinek <jakub@redhat.com>
370
371 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
372
560f3c1c
AM
3732001-12-11 Alan Modra <amodra@bigpond.net.au>
374
375 * readelf.c (process_file_header): Print extended e_shnum and
376 e_shdtrndx values. Set elf_header values for same.
377 (get_32bit_section_headers): Add "num" arg to read "num" headers.
378 (get_64bit_section_headers): Likewise.
379 (process_section_headers): Update calls.
380 (get_file_header): Call get_32bit_section_headers or 64bit variant.
381
bc408b8a
JJ
3822001-12-10 Jakub Jelinek <jakub@redhat.com>
383
384 * objcopy.c (setup_section): Copy entsize.
385
93fbbb04
GK
3862001-12-07 Geoffrey Keating <geoffk@redhat.com>
387
388 * readelf.c (guess_is_rela): Add support for stormy16.
389 (dump_relocations): Likewise.
390 (get_machine_name): Likewise.
391
e3c8793a
NC
3922001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
393
394 * dllwrap.c (main) Replace multiple strings describing a
395 single error with a single, newline escaped sentence to permit
396 better translation into foreign languages.
397
398 * readelf.c (get_elf_class): Remove internalionalisation of ELF
399 class names.
400
956cd1d6
TS
4012001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
402
403 * strings.c (get_char): Initialize value.
404
956c53ee
TS
4052001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
406
407 * arlex.l: Silence compile warnings.
408 * arsup.h: Likewise. Fix formatting.
409
cedd9a58
JJ
4102001-12-04 Jakub Jelinek <jakub@redhat.com>
411
412 * strings.c: Include config.h before bfd.h.
413 (file_off): New type.
414 (file_open): Define.
415 (print_strings): Use file_off instead of file_ptr. Print addresses
416 which don't fit into long correctly.
417 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
418 available.
419 (strings_file): Use file_off instead of file_ptr. Use file_open.
420 * configure.in: Check for getc_unlocked.
421 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
422 be defined for it.
423 * configure: Rebuilt.
424 * config.h.in: Rebuilt.
425
af667503
L
4262001-11-29 H.J. Lu <hjl@gnu.org>
427
428 * bucomm.c (make_tempname): Revert the changes made on
429 2001-11-14 and 2001-11-12. They won't work with directories.
430
16474668
NC
4312001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
432
433 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
434 CFLAGS_FOR_TARGET to runtest in environment.
435 * Makefile.in: Rebuild.
436 * doc/Makefile.in: Rebuild.
437
17978339
MS
4382001-11-28 Mike Stump <mrs@wrs.com>
439
440 * objcopy.c (setup_section): Preserve SEC_RELOC when
441 --set-section-flags is used.
442
261a45ad
NC
4432001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
444
445 * readelf.c (do_debug_str): New variable.
446 (display_debug_str): New function: Display the contents of a
447 .debug_str section.
448 (load_debug_str): New function: Load in the contents of a
449 .debug_str section.
450 (free_debug_str): New function: Free the memory used by
451 load_debug_str().
452 (fetch_indirect_string): Retrieve a string from the .debug_str
453 section.
454 (usage): Add -ws.
455 (parse_args): Accept -ws.
456 (process_section_headers): Allow the display of the .debug_str
457 section.
458 (read_and_display_attr_value): Use fetch_indirect_string. Show
459 offset into .debug_str section.
460 (display_debug_info): Use load_debug_str and free_debug_str.
461 (debug_displays): Add .debug_str.
462 * doc/binutils.texi: Document -ws.
463
b8908f93
AJ
4642001-11-19 Andreas Jaeger <aj@suse.de>
465
466 * testsuite/binutils-all/objdump.exp: Add x86-64.
467
e5fb9629
AS
4682001-11-15 Andreas Schwab <schwab@suse.de>
469
470 * readelf.c: Fix warnings without terminating newline.
471
802a735e
AM
4722001-11-15 Alan Modra <amodra@bigpond.net.au>
473
474 * doc/binutils.texi (objdump): Document ppc -M options.
475
b89e9eae
AJ
4762001-11-14 Andreas Jaeger <aj@suse.de>
477
478 * doc/binutils.texi (objdump): Fix description to use x86-64.
479
a6a25652
NC
4802001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
481
482 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
483 not all systems provide mkstemp.
484
e396998b
AM
4852001-11-14 Alan Modra <amodra@bigpond.net.au>
486
487 * doc/binutils.texi (objdump): Document x86 -M options.
488
81766fca
RH
4892001-11-13 Keith Walker <keith.walker@arm.com>
490
491 * readelf.c (read_and_display_attr_value): New function to
492 handle DW_FORM_indirect.
493 (read_and_display_attr): Use it.
494
1a509dcc
GK
4952001-11-13 Geoffrey Keating <geoffk@redhat.com>
496
497 * readelf.c (display_debug_lines): Deal with unknown standard
498 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
499 DW_LNS_set_isa.
500
6e917903 5012001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 502
6e917903
TW
503 * MAINTAINERS: Add self as tic54x maintainer. This target
504 includes the IBM C54XDSP clone.
7559e86e 505
6e917903 5062001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 507
7559e86e
NC
508 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
509
5102001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 511
ecdadc4a
JL
512 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
513 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
514 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
515 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
516 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
517 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
518 (unw_decode_b2, unw_decode_b3_b4): Likewise.
519
91770270
JL
520 * readelf.c (get_elf_class): Fix ISO portability glitch.
521 (get_data_encoding, get_osabi_name, request_dump): Likewise.
522
ef5cdfc7
JJ
5232001-11-07 Jakub Jelinek <jakub@redhat.com>
524
525 * readelf.c (debug_str, debug_str_size): New.
526 (display_debug_abbrev): If no abbrevs were read, skip the CU.
527 Call free_abbrevs.
528 (read_and_display_addr): Handle DW_FORM_strp.
529 (display_debug_info): Read .debug_str section if present,
530 so that DW_FORM_strp can be handled.
531 Fix test for non-existant .debug_abbrev section.
532
5e9520c8
JJ
5332001-11-05 Jakub Jelinek <jakub@redhat.com>
534
535 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
536
537 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
538
54589086
MS
5392001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
540
541 * MAINTAINERS: Add self as s390/s390x maintainer.
542
c05b685b
TR
5432001-11-02 Tom Rix <trix@bluey.cygnus.com>
544
545 * MAINTAINERS: Add self as PPC XCOFF maintainer.
546
3c62831e
NC
5472001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
548
549 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
550 * configure: Regernate.
551 * po/fr.po: New file.
552 * po/tr.po: New file.
553
3c3bdf30
NC
5542001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
555
9b19141a 556 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
557 * readelf.c: Include elf/mmix.h.
558 (guess_is_rela): MMIX is RELA.
559 (dump_relocations): Handle MMIX relocations.
560 * Makefile.am: Regenerate dependencies.
561 * Makefile.in: Regenerate.
562
f662939a
NC
5632001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
564
565 * readelf.c (parse_args): Handle multiple options to the -w
566 switch.
567
c91d0dfb
JJ
5682001-10-12 Jakub Jelinek <jakub@redhat.com>
569
570 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
571 LOPROC, LOOS and LOUSER.
572
7559e86e 5732001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
574
575 * MAINTAINERS: Update my email address.
576
fcd8210c
AM
5772001-10-03 Alan Modra <amodra@bigpond.net.au>
578
579 * doc/Makefile.in: Regenerate.
580 * configure: Regenerate.
581
428409d5
NC
5822001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
583
584 * readelf.c (display_debug_line, display_debug_pubnames,
585 display_debug_info, display_debug_frames): Detect and warn
586 about 64-bit format entries.
587 (display_debug_aranges): Reword 64-bit warning.
588 (debug_displays): Add .debug_pubtypes as a known, but not yet
589 supported, debug section.
590
6a8c2b0d
AM
5912001-10-02 Alan Modra <amodra@bigpond.net.au>
592
593 * coffdump.c (PROGRAM_VERSION): Delete.
594 (main <'V'>): Call print_version.
595 * srconv.c: Likewise.
596 * sysdump.c: Likewise.
597 * version.c (program_version): Remove.
598 (print_version): Use BFD_VERSION_STRING. Just print the current
599 year in copyright message.
600 * addr2line.c (program_version): Remove unused declaration.
601 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
602 place of BFD_VERSION.
603 * Makefile.am (Makefile): Depend on bfd/configure.in.
604 (cplus-dem.o): Depend on Makefile.
605 Run "make dep-am".
606 * Makefile.in: Regenerate.
607
e414a165
NC
6082001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
609
610 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
611 format .debug_arange sections.
612 (main): Add missing prototype.
b8908f93 613
efc3ee7f
HPN
6142001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
615
616 * Makefile.am: Update dependencies with "make dep-am".
617 * Makefile.in: Regenerate.
618
9e85c2a0
RH
6192001-09-28 Richard Henderson <rth@redhat.com>
620
621 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
622
451dad9c
AM
6232001-09-26 Alan Modra <amodra@bigpond.net.au>
624
625 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
626 VA_CLOSE.
627 (non_fatal): Likewise.
628 * objdump.c (objdump_sprintf): Likewise.
629 * readelf.c (error): Likewise.
630 (warn): Likewise.
631
d974e256
JJ
6322001-09-25 Jakub Jelinek <jakub@redhat.com>
633
634 * readelf.c (do_wide): New.
635 (options): Add --wide.
636 (usage, parse_args): Likewise.
637 (process_program_headers): Put each segment on a single line if
638 --wide is given.
639 (process_section_headers): Put each section on a single line if
640 --wide is given.
641 * doc/binutils.texi: Document it.
642 * NEWS: Likewise.
643
2f11c261
AM
6442001-09-25 Alan Modra <amodra@bigpond.net.au>
645
646 * readelf.c (print_vma): Print 8 digits of low hex value.
647
1d50f91e
AJ
6482001-09-24 Andreas Jaeger <aj@suse.de>
649
650 * nlmconv.c: Fix warnings about unused attributes and function
651 prototypes.
652
653 * strings.c: Add prototype for get_char.
654
38131e67
L
6552000-09-19 H.J. Lu <hjl@gnu.org>
656
657 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
658 $(srcdir)/cxxfilt.man.
659 * doc/Makefile.in: Rebuild.
660
3bcfb3e4
AM
6612001-09-19 Alan Modra <amodra@bigpond.net.au>
662
663 * objcopy.c (copy_main): Correct rename-section string parsing.
664 Consolidate new_name parsing, and error messages.
665
3882b010
L
6662001-09-18 Bruno Haible <haible@clisp.cons.org>
667
668 * addr2line.c: Don't include <ctype.h>.
669 (main): For gettext, also set the LC_CTYPE locate facet.
670 * ar.c (main): Likewise.
671 * coffdump.c (main): Likewise.
672 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
673 (main): For gettext, also set the LC_CTYPE locate facet.
674 Use ISALNUM instead of isalpha/isdigit.
675 * dllwrap.c: Don't include <ctype.h>.
676 (main): For gettext, also set the LC_CTYPE locate facet.
677 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
678 (main): For gettext, also set the LC_CTYPE locate facet.
679 Use TOUPPER instead of islower/toupper.
680 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
681 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
682 Use TOUPPER instead of islower/toupper.
683 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
684 * objcopy.c (main): Likewise.
685 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
686 (disassemble_bytes): Use ISPRINT instead of isprint.
687 (dump_section_stabs): Use ISDIGIT instead of isdigit.
688 (dump_data): Use ISPRINT instead of isprint.
689 (main): For gettext, also set the LC_CTYPE locate facet.
690 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
691 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
692 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
693 Use TOUPPER instead of islower/toupper.
694 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
695 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
696 (write_rc_accelerators): Use ISPRINT instead of isprint.
697 (write_rc_rcdata): Likewise.
698 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
699 * srconv.c (main): Likewise.
700 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
701 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
702 isdigit/isupper/islower.
703 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
704 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
705 stab_demangle_prefix, stab_demangle_qualified,
706 stab_demangle_template, stab_demangle_type,
707 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
708 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
709 (isgraphic): Use ISPRINT instead of isascii/isprint.
710 (main): Remove HAVE_LC_MESSAGES dependency.
711 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
712 (pbarray): Use ISPRINT instead of isprint.
713 (main): For gettext, also set the LC_CTYPE locate facet.
714 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
715 (format_from_filename): Use ISPRINT instead of isprint.
716 (main): For gettext, also set the LC_CTYPE locate facet.
717 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
718 (unicode_print): Use ISPRINT instead of isprint.
719 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
720 (stab_variable): Use ISDIGIT instead of isdigit.
721
e59b4dfb
AM
7222001-09-18 Alan Modra <amodra@bigpond.net.au>
723
724 * ar.c (print_contents): Cast args of bfd_seek to the right types.
725 Replace bfd_read call with call to bfd_bread.
726 (extract_file): Likewise.
727
728 * objdump.c (dump_section_header): Cast section->filepos to
729 unsigned long to suit printf format string.
730 * readelf.c (process_section_headers): Similarly for sh_offset.
731 (process_unwind): Likewise.
732
d132876a
NC
7332001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
734
735 * strings.c (encoding, encoding_bytes): New variables.
736 (long_options): Add --encoding.
737 (main): Accept -e and --encoding.
738 (get_char): New function. Read a, possibly wide, character from
739 the input stream.
740 (print_strings): Use get_char().
741 (usage): Document new command line option.
742 * doc/binutils.texi: Document new command line option.
743 * NEWS: Announce new command line option.
744
7559e86e 7452001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
746
747 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
748 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
749 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
750 Removed EM_CYGNUS_ARC.
751
7559e86e 7522001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
753
754 * readelf.c: Include elf/h8 for H8 series definitions.
755 (guess_is_rela): H8 series if RELA.
756 (dump_relocations): Handle H8 series relocations.
757
0823fbca
EC
7582001-08-31 Eric Christopher <echristo@redhat.com>
759
760 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
761
8db76d70
PT
7622001-08-29 Peter Targett <peter.targett@arccores.com>
763
764 * MAINTAINERS: Include ARC Maintainer.
765
d81d6584
BE
7662001-08-29 Ben Elliston <bje@redhat.com>
767
768 * stabs.c (stab_demangle_template): Initialise s4.
769
25a1ff5b
AM
7702001-08-27 Alan Modra <amodra@bigpond.net.au>
771
772 * readelf.c (dump_relocations): Recognise EM_PPC64.
773
a5d22d2a
TS
7742001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
775
776 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
777
62a5a82d
L
7782001-08-25 H.J. Lu <hjl@gnu.org>
779
780 * nm.c (print_width): New.
781 (display_rel_file): Set `print_width' according to
782 bfd_sprintf_vma.
783 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
784
1ae8b3d2
AO
7852001-08-24 Alexandre Oliva <aoliva@redhat.com>
786
787 * objcopy.c (use_alt_mach_code): New variable.
788 (OPTION_ALT_MACH_CODE): Define.
789 (copy_options): Added --alt-machine-code.
790 (copy_main): Handle it.
791 (copy_object): Switch to alternate machine code if requested.
792 * doc/binutils.texi: Document new option.
793 * NEWS: Likewise.
794
d1bdd336
TS
7952001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
796
797 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
798
410f7a12
L
7992001-08-21 H.J. Lu <hjl@gnu.org>
800
801 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
802 (display_debug_info): Cast for 64bit hosts.
803 (display_debug_frames): Likewise.
804 (process_mips_specific): Likewise.
805
c32144ff
AJ
8062001-08-21 Andreas Jaeger <aj@suse.de>
807
808 * coffgrok.h: Add missing parameter for prototype of coff_grok.
809
810 * sysdump.c: Add missing prototypes.
811 * srconv.c: Likewise.
812 * unwind-ia64.c: Likewise.
813 * coffdump.c: Likewise.
814
815 * sysinfo.y: Print prototypes, include <ansidecl.h>.
816
817 * coffgrok.c: Add missing prototypes, include libiberty.h instead
818 of declaring xcalloc.
819
d8180c76
L
8202001-08-10 H.J. Lu <hjl@gnu.org>
821
822 * nm.c (print_value): Add one arg, bfd *.
823 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
824 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
825 (print_symbol_info_sysv): Likewise.
826 (print_symbol_info_posix): Likewise.
827
828 * objdump.c (dump_section_header): Replace printf_vma with
829 bfd_printf_vma.
830 (print_section_stabs): Likewise.
831 (dump_bfd_header): Likewise.
832 (objdump_print_value): Replace sprintf_vma with
833 bfd_sprintf_vma.
834 (disassemble_bytes): Likewise.
835 (dump_reloc_set): Likewise.
836
0218d1e4
AJ
8372001-08-10 Andreas Jaeger <aj@suse.de>
838
839 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
840 to build warnings.
841 * configure: Regenerate.
842
2863d58a
AM
8432001-08-09 Alan Modra <amodra@bigpond.net.au>
844
845 * readelf.c: Add missing prototypes.
846 * objdump.c: Likewise. Format existing prototypes.
847
c0e047e0
AO
8482001-08-08 Alexandre Oliva <aoliva@redhat.com>
849
850 * readelf.c (display_debug_info): Add to abbrev_offset the addend
851 of any RELA relocation for the abbrev_offset memory location that
852 refers to the .debug_abbrev section symbol.
853
ff78d6d6
L
8542001-08-07 H.J. Lu <hjl@gnu.org>
855
856 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
857 (main): Return process_file ().
858
c36774d6
PB
8592001-08-05 Philip Blundell <philb@gnu.org>
860
861 * doc/binutils.texi: Use "Thumb" not "THUMB".
862
8f9d9bd9
JH
8632001-08-03 John Healy <jhealy@redhat.com>
864
865 Patch suggested by Frank Eigler <fche@redhat.com>.
866 * objdump.c (disassemble_data): Fill in section member of the
867 disasm_info structure.
868
c918cb96
DD
8692001-08-03 Tom Walsh <tom@cyberiansoftware.com>
870
871 * configure.in: Added --with-windres option.
872 * configure: Regenerated.
873
c7c55b78
NC
8742001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
875
876 * doc/binutils.texi: Use @command{name} for commands;
877 use @option{-opt} for options; use @table @env for list of options;
878 remove spaces arround [ | ] in synopsis.
879
880 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
881 center title.
882
594ef5db
NC
8832001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
884
885 * objcopy.c: Fix formatting.
886 (section_rename): New structure.
887 (OPTION_RENAME_SECTION): New switch.
888 (copy_usage): Document new switch.
889 (add_section_rename): New function: Add a node to the section
890 rename list.
891 (find_section_rename): New function: Find the new name and
892 flags for a section.
893 (setup_section): Call find_section_name to determine the name
894 of the output section.
895 (copy_main): Handle OPTION_RENAME_SECTION.
896 * binutils.texi: Document new switch.
897 * NEWS: Mention new switch.
898
1f554c69
NC
8992001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
900
901 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
902 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
903 bug-binutils@gcc.org.
904
2f83960e
AM
9052001-07-28 Matthias Kramm <kramm@quiss.org>
906
907 * bucomm.c (list_supported_architectures): New function.
908 * bucomm.h (list_supported_architectures): Declare.
909 * objdump.c (usage): Call the above.
910
20fe0649
DB
9112001-07-25 Dave Brolley <brolley@redhat.com>
912
913 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
914 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
915
1b577b00
NC
9162001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
917
918 * README: Update for 2.11. Change bug reporting email address.
919 * MAINTAINERS: Tidy up. Change bug reporting email address.
920
95fd336c
DD
9212001-07-16 DJ Delorie <dj@redhat.com>
922
5f16d855
DD
923 * resres.c (write_res_header): Align header size.
924 (res_align_file): Calculate alignment correctly.
925
95fd336c
DD
926 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
927 correct 10).
928 * resrc.c (write_rc_resource): Likewise.
929 * windres.h (SUBLANG_SHIFT): Define - as 10.
930
ed8fee27
NC
9312001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
932
933 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
934
90ab7e9a
NC
9352001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
936
937 * MAINTAINERS: Add notes about branch checkins.
938
e0c60db2
NC
9392001-07-05 Daniel Berlin <dan@cgsoftware.com>
940
941 * readelf.c (display_debug_macinfo): New function, display
942 .debug_macinfo section.
943 (do_debug_macinfo): New variable.
944 (parse_args): Handle "-w[mM]" to mean display macro info.
945 (process_section_headers): Handle debug_macinfo.
946 (debug_displays): Replace unsupported function with macinfo
0218d1e4 947 function for .debug_macinfo display.
e0c60db2
NC
948 * doc/binutils.texi: Document new command line switch.
949 * NEWS: Document new feature of readelf.
0218d1e4 950
24e01a36
L
9512001-07-05 H.J. Lu <hjl@gnu.org>
952
953 * objcopy.c (filter_symbols): Don't turn undefined symbols
954 into local.
955
4258bf4d
L
9562001-07-03 H.J. Lu <hjl@gnu.org>
957
958 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
959 $@.pod.
960 (ar.1): Likewise.
961 (dlltool.1): Likewise.
962 (nlmconv.1): Likewise.
963 (nm.1): Likewise.
964 (objcopy.1): Likewise.
965 (objdump.1): Likewise.
966 (ranlib.1): Likewise.
967 (readelf.1): Likewise.
968 (size.1): Likewise.
969 (strings.1): Likewise.
970 (strip.1): Likewise.
971 (windres.1): Likewise.
972 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
973 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
974 $(DEMANGLER_NAME).
975 (as.1): Removed.
976 * doc/Makefile.in: Regenerated.
977
7014bc31
NC
9782001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
979
980 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
981
b811889f
NC
9822001-07-01 Daniel Berlin <dan@cgsoftware.com>
983
984 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
985
12ab83a9
NC
9862001-06-29 James Cownie <jcownie@etnus.com>
987
988 * readelf.c: Support DWARF 2.1 attributes.
989
a6e9f9df
AM
9902001-06-28 Alan Modra <amodra@bigpond.net.au>
991
992 * readelf.c (GET_DATA_ALLOC): Remove.
993 (GET_DATA): Remove.
994 (get_data): New function combining above macros, with an extra
995 test for zero size.
996 (slurp_rela_relocs): Use get_data, and catch error return.
997 (slurp_rel_relocs): Likewise.
998 (get_32bit_program_headers): Likewise.
999 (get_64bit_program_headers): Likewise.
1000 (get_32bit_section_headers): Likewise.
1001 (get_64bit_section_headers): Likewise.
1002 (get_32bit_elf_symbols): Likewise.
1003 (get_64bit_elf_symbols): Likewise.
1004 (process_section_headers): Likewise.
1005 (process_relocs): Likewise.
1006 (slurp_ia64_unwind_table): Likewise.
1007 (process_unwind): Likewise.
1008 (get_32bit_dynamic_segment): Likewise.
1009 (get_64bit_dynamic_segment): Likewise.
1010 (process_dynamic_segment): Likewise.
1011 (process_version_sections): Likewise.
1012 (process_symbol_table): Likewise.
1013 (dump_section): Likewise.
1014 (display_debug_info): Likewise.
1015 (display_debug_section): Likewise.
1016 (process_section_contents): Likewise.
1017 (process_corefile_note_segment): Likewise.
1018 (process_mips_specific): Likewise. Also free econf32, econf64.
1019
af3fc3bc
AM
10202001-06-25 Alan Modra <amodra@bigpond.net.au>
1021
1022 * readelf.c (dump_relocations): Print "bad symbol index" if
1023 symtab == NULL with non-zero symtab_index.
1024 (process_relocs): Don't bomb if reloc section has no symsec.
1025
6d900bf6
L
10262001-06-24 H.J. Lu <hjl@gnu.org>
1027
1028 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1029 by accident.
1030 (copy_main): Apply the the change made to strip_main on
1031 2001-05-30 by accident.
1032
49b4e386
AJ
10332001-06-23 Andreas Jaeger <aj@suse.de>
1034
1035 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1036 parameter 'code'.
1037 (unw_decode_x2): Likewise.
1038 (unw_decode_x3): Likewise.
1039 (unw_decode_x4): Likewise.
1040
d8dc71e3
BE
10412001-06-23 Ben Elliston <bje@redhat.com>
1042
1043 * MAINTAINERS: Add myself as M88k maintainer.
1044
af3bdff7
NC
10452001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1046
1047 * objcopy.c (strip_main): Support -o or --output-file command lien
1048 switch.
1049
105e7211
L
10502001-06-19 H.J. Lu <hjl@gnu.org>
1051
1052 * doc/Makefile.in: Regenerated.
1053
c45021f2
NC
10542001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1055
1056 * readelf.c: Restore formatting.
1057
10582001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1059
1060 * Makefile.am: Move documentation into doc subdirectory.
1061 * Makefile.in: Regenerated.
1062 * binutils.texi: Move into doc subdirectory.
1063 * addr2line.1: Removed.
1064 * ar.1: Likewise.
1065 * dlltool.1: Likewise.
1066 * nlmconv.1: Likewise.
1067 * nm.1: Likewise.
1068 * objcopy.1: Likewise.
1069 * objdump.1: Likewise.
1070 * ranlib.1: Likewise.
1071 * readelf.1: Likewise.
1072 * size.1: Likewise.
1073 * strings.1: Likewise.
1074 * strip.1: Likewise.
1075 * windres.1: Likewise.
1076 * cxxfilt.man: Likewise.
1077 * doc: New Directory.
1078 * doc/Makefile.am: New file.
1079 * doc/Makefile.in: Generate.
1080
09ad7db3
AM
10812001-06-09 Alan Modra <amodra@bigpond.net.au>
1082
1083 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1084
936260fe
AM
10852001-06-01 Alan Modra <amodra@bigpond.net.au>
1086
1087 * MAINTAINERS: Update my email address.
1088
16b2b71c
NC
10892001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1090
1091 * objcopy.c: Add new switches: --keep-global-symbol,
1092 --keep-symbols, --localize-symbols, --keep-global-symbols and
1093 --weaken-symbols.
1094 * binutils.texi: Document new switches.
1095 * objcopy.1: Regenerate.
1096 * NEWS: Announce new feature.
1097
7036c0e1
AJ
10982001-05-28 Andreas Jaeger <aj@suse.de>
1099
1100 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1101 variables, fix format strings.
1102
76a406e5
NC
11032001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1104
1105 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1106 when computing the address of the line to show.
1107
31b6fca6
RH
11082001-05-16 Richard Henderson <rth@redhat.com>
1109
1110 * readelf.c (do_debug_frames_interp): New.
1111 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1112 (byte_get_big_endian): Likewise.
1113 (parse_args) ['F']: Set do_debug_frames_interp.
1114 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1115 (frame_display_row): Don't trunc pc_begin to int.
1116 (size_of_encoded_value): New.
1117 (display_debug_frames): Handle 64-bit targets. Print raw data
1118 unless do_debug_frames_interp.
1119 (debug_displays): Remove duplicate .debug_frame.
1120
4fe85591
NC
11212001-05-15 Ralf Baechle <ralf@gnu.org>
1122
1123 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1124 The former constant was never in active use and is used otherwise
1125 by the ABI.
1126
579f31ac
JJ
11272001-05-11 Jakub Jelinek <jakub@redhat.com>
1128
1129 * readelf.c (process_unwind): Print all unwind sections, not just
1130 one.
1131
78f4a3f7
AM
11322001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1133
1134 * readelf.c (process_unwind): Remove const specifier.
1135
1c529ca6
NC
11362001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1137
1138 * strings.c (isgraphic): Do not use isascii() unless it is needed
1139 for isprint() to work.
1140 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1141
87e6d782
NC
11422001-04-27 Johan Rydberg <jrydberg@opencores.org>
1143
1144 * NEWS: Announce support for OpenRISC.
1145
4bd3d870 11462001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1147
1148 * dlltool.c (do_default_excludes): Initialise to true.
1149
21211521
AM
11502001-04-10 Alan Modra <amodra@one.net.au>
1151
1152 * MAINTAINERS: Update my email address
1153 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1154
0c66b61e 11552001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1156
1157 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1158
e58d53af
L
11592001-03-30 H.J. Lu <hjl@gnu.org>
1160
1161 * readelf.c (process_unwind): Just return if do_unwind is 0.
1162
bee72332
DD
11632001-03-28 Roger Sayle <roger@metaphorics.com>
1164
1165 * dlltool.c (make_one_lib_file): Fix section flags for
1166 .text, .data and .bss in stub ds*.o files to match those
1167 generated by gas.
1168
f1467e33
L
11692001-03-29 H.J. Lu <hjl@gnu.org>
1170
1171 * readelf.c (process_unwind): Only do unwind sections for
1172 IA64.
1173
1c6fb4fe
L
11742001-03-28 H.J. Lu <hjl@gnu.org>
1175
1176 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1177 * Makefile.in: Regenerate.
1178
0879a67a
AJ
11792001-03-26 Andreas Jaeger <aj@suse.de>
1180
1181 * binutils.texi (nm): Fix texi syntax.
1182
0285c67d
NC
11832001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1184
1185 * binutils.texi: Put @c man begin and @c man end indications
1186 to generate man pages using texi2pod and pod2man. Put @c man title
1187 to identify each man. Add SEEALSO entries.
1188 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1189 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1190 sort the list.
1191 (*.1): Build the man pages from binutils.texi.
1192 * Makefile.in: Regenerate.
1193
04847a4d
CF
11942001-03-13 Eric Kohl <ekohl@rz-online.de>
1195
1196 * defparse.y (opt_equal_name): allow "." in name.
1197 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1198 (gen_exp_file): Likewise.
1199
43a0748c
NC
12002001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1201
1202 * NEWS: Document addition of -B switch to objcopy.
1203 * binutils.texi: Document addition of -B switch to objcopy.
1204 * objcopy.c: (copy_options): Add --binary-architecture.
1205 (copy_usage): Document -B/--binary-architecture.
1206 (copy_main): Support -B/--binary-architecture. Set
1207 bfd_external_binary_architecture.
0879a67a 1208
b7498e0e
NC
12092001-03-11 Andreas Jaeger <aj@suse.de>
1210
1211 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1212 (dump_relocations): Likewise.
1213 (get_machine_name): Likewise.
1214
a59e3bd7
NC
12152001-02-28 Nick Clifton <nickc@redhat.com>
1216
1217 * readelf.c: (struct unw_aux_info): Remove const modifier for
1218 'strtab' field.
1219 (process_unwind): Remove non-K&R compliant LHS type cast in call
1220 to GET_DATA_ALLOC macro.
1221
a5bcd848
PB
12222001-02-28 Philip Blundell <pb@futuretv.com>
1223
1224 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1225 ABI is in use; remove ambiguity between the "unknown" EABI and
1226 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1227 renamed EF_xx constants.
1228
27b7e12d
AM
12292001-02-27 Alan Modra <alan@linuxcare.com.au>
1230
1231 * configure.in (BFD_VERSION): New.
1232 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1233 * configure: Regenerate.
1234 * Makefile.am: Run "make dep-am"
1235 * Makefile.in: Regenerate.
1236
a9f10786
NC
12372001-02-14 Nick Clifton <nickc@redhat.com>
1238
1239 * MAINTAINERS: Add "Obvious Fix" rule.
1240
3c44da9a
MS
12412001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1242
1243 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1244 literal concatenation.
1245
ecd03389
MS
12462001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1247
1248 * readelf.c (struct unw_aux_info): Remove const from the info member.
1249 (process_unwind): Don't type-cast the third argument to the
1250 GET_DATA_ALLOC macro.
1251
88ec60c7
NC
12522001-02-11 Nick Clifton <nickc@redhat.com>
1253
1254 * readelf.c (dump_relocations): Free corrected allocated
1255 array.
1256 (process_unwind): Fix compile time warning.
1257
f5e21966
NC
12582001-02-10 Nick Clifton <nickc@redhat.com>
1259
1260 * binutils.texi: Document new --unwind option to readelf.
1261
a85d7ed0
NC
12622001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1263
1264 * readelf.c: Add linux target for S/390.
1265
7bb10502
AM
12662001-02-10 Alan Modra <alan@linuxcare.com.au>
1267
1268 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1269 printf is a macro.
1270
8ca8f343
HPN
12712001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1272
1273 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1274 * aclocal.m4: Regenerate.
1275 * configure: Regenerate.
1276
7340082d
NC
12772001-02-07 Todd Vierling <tv@wasabisystems.com>
1278
1279 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1280 * objdump.c (bfd_target_vector): Likewise.
1281
4d6ed7c8
NC
12822001-02-07 David Mosberger <davidm@hpl.hp.com>
1283
1284 * readelf.c (process_unwind): New function.
1285 (slurp_ia64_unwind_table): Ditto.
1286 (dump_ia64_unwind): Ditto.
1287 (find_symbol_for_address): Ditto.
1288 (slurp_rela_relocs): New function (split off from dump_relocations()).
1289 (slurp_rel_relocs): Ditto.
1290 (parse_args): Handle '-u' option.
1291
1292 * unwind-ia64.c: New file.
1293 * unwind-ia64.h: New file.
1294 * Makefile.am: Include unwind-ia64.c in readelf build.
1295 * Makefile.in: Regenerate.
7340082d 1296 * po/binutils.pot: Regenerate.
4d6ed7c8 1297
c7217458
PB
12982001-02-04 Philip Blundell <philb@gnu.org>
1299
1300 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1301 * configure: Regenerate.
1302
956eedd4
AM
13032001-01-31 Steve deRosier <sderosier@vari-lite.com>
1304
1305 * ieee.c (ieee_add_bb11): Don't check for backslashes
1306 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1307
8855cbca
AM
13082001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1309
c7f2731e
AM
1310 * ieee.c: Update copyright.
1311 (ieee_start_compilation_unit): Don't check for backslashes
1312 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1313
8855cbca
AM
1314 * stabs.c: Update copyright. Include "filenames.h".
1315 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1316
329de803 13172001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1318
1319 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1320 sections are present before using them. Remove code duplication.
1321 (process_symbol_table): Check if VERDEF or VERNEED sections are
1322 present before using them.
1323
23719f39
NC
13242001-01-17 Nick Clifton <nickc@redhat.com>
1325
1326 * objcopy.c (copy_object): Fail if attempting to convert the
1327 endianness of the input object file.
1328
1329 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1330
f726e849
NC
13312001-01-16 Nick Clifton <nickc@redhat.com>
1332
1333 * readelf.c (string_table_length): New variable.
1334 (SECTION_NAME): Catch out of range indices and missing section
1335 pointers.
1336 (process_section_headers): Delete useless local variable
1337 string_table_offset. Set the value of string_table_length
1338 after loading the string table.
1339 (process_mips_specific): Use SECTION_NAME macro.
1340 (process_file): Set string_table_length to 0 when it is freed.
1341
d0398d6a
NC
13422001-01-12 Nick Clifton <nickc@redhat.com>
1343
1344 * version.c (print_version): Update copyright date.
1345
0d2bcfaf
NC
13462001-01-11 Peter Targett <peter.targett@arccores.com>
1347
1348 * readelf.c (dump_relocations): Include selection with EM_ARC.
1349 (get_machine_name) Update name to "ARC".
1350
8b1e6df3
NC
13512001-01-09 Nick Clifton <nickc@redhat.com>
1352
1353 * Makefile.am: Add rule to build objdump.o from objdump.c and
1354 using OBJDUMP_DEFS.
1355 * Makefile.in: Regenerate.
1356
1357 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1358 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1359 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1360 * configure: Regenerate.
8b1e6df3
NC
1361
1362 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1363 is defined read in the relocs even if dump_reloc_info is
1364 false.
1365
2f952d20
PB
13662001-01-07 Philip Blundell <philb@gnu.org>
1367
1368 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1369 `bug-binutils'.
1370 * README: Likewise.
1371
a8c548cb
NC
13722000-12-19 Nick Clifton <nickc@redhat.com>
1373
1374 * dlltool.c: Add missing support for arm-epoc-pe.
1375 * configure.in: Add missing support for arm-epoc-pe.
1376 * configure: Regenerate.
1377
cc5fda35
NC
13782000-12-15 Nick Clifton <nickc@redhat.com>
1379
1380 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1381 Mode parts of the x86 port.
1382
bcedfee6
NC
13832000-12-04 Andreas Jaeger <aj@suse.de>
1384
1385 * readelf.c (guess_is_rela): Add EM_X86_64.
1386 (dump_relocations): Add EM_X86_64.
1387 (get_machine_name): Add EM_X86_64.
1388 Include "elf/x86-64.h".
1389
584da044
NC
13902000-12-12 Nick Clifton <nickc@redhat.com>
1391
1392 * readelf.c: Fix formatting.
1393
7559e86e 13942000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1395
1396 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1397
a98cc2b2
AH
13982000-12-07 Andrew Haley <aph@redhat.com>
1399
1400 * readelf.c (display_debug_frames): Only display columns that are
1401 referenced by the frame debug info.
1402
c7987a69
NC
14032000-12-05 Nick Clifton <nickc@redhat.com>
1404
1405 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1406
09fd7e38
JM
14072000-12-04 Jason Merrill <jason@redhat.com>
1408
1409 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1410 (display_debug_section): Likewise.
1411 (display_debug_info): Display CU header before bailing.
1412
e7af610e
NC
14132000-12-01 Chris Demetriou <cgd@sibyte.com>
1414
09fd7e38
JM
1415 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1416 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1417 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1418
09fd7e38
JM
1419 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1420 and E_MIPS_ARCH_64.
84ea6cf2 1421
09fd7e38
JM
1422 * readelf.c (get_machine_flags): Add case for
1423 E_MIPS_MACH_SB1.
c6c98b38 1424
75066968
DD
14252000-11-30 Richard Earnshaw <rearnsha@arm.com>
1426
1427 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1428
5c4666ea
HPN
14292000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1430