* gdb.base/completion.exp: Recognize the more detailed error
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
e0159aa9
MM
12002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
2
3 * MAINTAINERS: Add myself as the second AVR port maintainer.
4
074b403e
SC
52002-05-16 Stephane Carrez <stcarrez@nerim.fr>
6
7 * MAINTAINERS: Update my email address.
8
2b9c8201
NC
92002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
10
11 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
12
e1d5b1e7
AM
132002-05-09 Alan Modra <amodra@bigpond.net.au>
14
15 * configure.in: Replace `*pe' with `pe' throughout.
16 * configure: Regenerate.
17
d3d8a9ee
NC
182002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
19
20 * Makefile.am: Honour DESTDIR.
21 * Makefile.in: Regenerate.
22
405c98a4
AM
232002-05-06 Alan Modra <amodra@bigpond.net.au>
24
a02d5965
AM
25 * dlltool.c (process_def_file): Add missing prototype.
26 (new_directive, assemble_file, main): Likewise.
27 (process_def_file, new_directive): Make static.
28 (inform): Rewrite using VA_FIXEDARG.
29 * dllwrap.c (mybasename): Add missing prototype.
30 (strhash, main): Likewise.
31 (inform): Rewrite using VA_FIXEDARG.
32 (warn): Likewise.
33 (cleanup_and_exit): Use old style function definition.
34 (strhash): Likewise.
35 * windres.c (define_resource): Use one memset to clear all of
36 struct res_resource.
37
405c98a4 38 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 39 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
40
412002-05-06 Borut Razem <borut.razem@siol.net>
42
43 * rclex.l (get_string): Correct "strings" list handling.
44 * resrc.c (read_rc_file): Discard strings.
45
91593c9d
AM
462002-05-04 Alan Modra <amodra@bigpond.net.au>
47
e58a75dc
AM
48 * ar.c (replace_members): Remove unused var. Formatting fix.
49 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
50
91593c9d
AM
51 * MAINTAINERS: Sort port maintainers by CPU.
52
6b52b824
AM
532002-05-04 Bob Byrnes <byrnes@curl.com>
54
55 * size.c (display_archive): Add last_arfile and code to close archives.
56
dd70071f
AM
572002-05-01 Alan Modra <amodra@bigpond.net.au>
58
59 * nm.c (print_symbol): Check returned filename from
60 bfd_find_nearest_line is non-NULL.
61
6c95717a
EZ
622002-04-25 Elena Zannoni <ezannoni@redhat.com>
63
64 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
65
3c25c5f6
NC
662002-04-24 Christian Groessler <chris@groessler.org>
67
68 * MAINTAINERS: Changed my email address.
69
944cd72c
TS
702002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
71
72 * arparse.y: Fix syntax warning.
73
ea91f8bb
NC
742002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
75
3e55a963
NC
76 * readelf.c (fetch_location_list): Remove unused function.
77
78 * readelf.c (process_corefile_note_segment): Catch corrupt notes
79 and display a warning message, then exit the loop.
80
ea91f8bb
NC
81 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
82
45b99827
NC
832002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
84
85 * resrc.c (write_rc_dialog): If charset is non-default value
86 display all of the DIALOGEX parameters.
87
882002-04-15 Eric Kohl <ekohl@rz-online.de>
89
90 * rcparse.y: Allow two to five parameter in FONT statement of
91 DIALOGEX resources.
92 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
93 resource data.
94 (res_to_bin_dialog): Likewise.
95 * windres.h: Added misssing charset variable to dialog_ex
96 structure.
97
acfbab8a
NC
982002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
99
100 * rcparse.y: Set MEMFLAG_PURE by default.
101
df3baf66
NC
1022002-04-09 Bernd Herd <info@herdsoft.com>
103
104 * rcparse.y: CLASS definitions in DIALOG resources
105 are quoted.
4c30641a 106 Fix typo in BEDIT warning.
91eafb40 107 Don't add default dialog style when explicit style specified.
b62a12ca 108 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 109
b24eb5ac
NC
110 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
111 (handle_quotes) "\a" escape (used for right justified key
112 definitions in menus) is encodes as binary 8.
df3baf66 113
b24eb5ac
NC
114 * resrc.c (write_rc_dialog): Print style even if it is 0.
115 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 116 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 117
b24eb5ac
NC
118 * resbin.c (bin_to_res_dialog): Use signature to identify
119 DIALOGEX.
f7d63484 120
b24eb5ac 121 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 122
df3baf66
NC
1232002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
124
125 * resrc.c: print CLASS names in quotes
126
1272002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
128
129 * MAINTAINERS: Update my email address.
130
8e42bcb6
AM
1312002-04-04 Alan Modra <amodra@bigpond.net.au>
132
133 * dep-in.sed: Cope with absolute paths.
134 * Makefile.am (dep.sed): Subst TOPDIR.
135 Run "make dep-am".
136 * Makefile.in: Regenerate.
137
96f959e5
PT
1382002-03-27 Peter Targett <peter.targett@arc.com>
139
140 * MAINTAINERS: Update my email address.
141
1ea788ee
AM
1422002-03-21 Alan Modra <amodra@bigpond.net.au>
143
144 * Makefile.am: Run "make dep-am".
145 * Makefile.in: Regenerate.
146 * doc/Makefile.in: Regenerate.
147 * po/POTFILES.in: Regenerate.
148 * aclocal.m4: Regenerate.
149 * config.in: Regenerate.
150 * configure: Regenerate.
151
a2f14207
DB
1522002-03-20 Daniel Berlin <dan@dberlin.org>
153
154 * readelf.c: Add support for displaying dwarf2 location lists.
155 (do_debug_loc, debug_loc_section, debug_loc_size): New.
156 (parse_args): Use 'O' as shorthand for displaying location list
157 section.
158 (process_section_headers): Handle debug_loc as well.
159 (load_debug_loc): New.
160 (free_debug_loc): New.
161 (fetch_location_list): New.
162 (display_debug_loc): New.
163 (display_debug_info): Call load_debug_loc and free_debug_loc.
164 (debug_displays): We can display .debug_loc now, too.
165 (usage): Update usage string.
166 (read_and_display_attr_value): Note location lists, but don't
167 display them inline.
168
eb1e0e80
NC
1692002-03-18 Tom Rix <trix@redhat.com>
170
171 * Makefile.am: Add binutils emulation support.
172 * configure.in: Same.
173 * configure.tgt: New file. Same.
174 * ar.c (main): Use ar_emul_parse_arg.
175 (usage): Use ar_emul_usage.
176 (replace_members): Use ar_emul_replace, ar_emul_append.
177 * binemul.c: New file. Define the binutils emulation
178 layer. Define default methods.
179 * binemul.h: New file. Binutils emulation layer header file.
180 * emul_aix.c: New file. AIX binutils emulation.
181 * emul_vanilla.c: New file. Default binutils emulation.
182 * Makefile.in: Regenerate.
183 * configure: Same.
184
a1c259a1
NC
1852002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
186
187 * po/fr.po: Updated version.
188
9ce88e60
NC
1892002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
190
191 * po/fr.po: Updated version.
192
effb0601
DJ
1932002-03-07 Daniel Jacobowitz <drow@mvista.com>
194
195 * README: Update some version numbers.
196
a65688ab
DJ
1972002-03-07 Daniel Jacobowitz <drow@mvista.com>
198
199 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
200 (Architecture Selection): Likewise.
201
f3f7fbb2
NC
2022002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
203
204 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
205 generating .exp file.
206
25345be5
NC
2072002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
208
209 * readelf.c (dump_relocations): Fix typo.
210
9a66911f
NC
2112002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
212
213 * NEWS: Mark 2.12 branch.
214
2c71103e
NC
2152002-02-18 Timothy Daly <remote_bob@yahoo.com>
216
217 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
218 types for 64-bit MIPS. Narrow some fields for 80-char
219 output.
220 (dump_relocations): Change spelling from 'unrecognised'
221 to 'unrecognized'.
222 (decode_ARM_machine_flags): Likewise.
223 (parse_args): Likewise.
224 (read_and_display_attr_value): Likewise.
225 (display_debug_section): Likewise.
226
49fda6c8
HPN
2272002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
228
229 * NEWS: Mention support for MMIX.
230
76f57f3a
JT
2312002-02-13 Matt Fredette <fredette@netbsd.org>
232
233 * readelf.c (get_machine_flags): Recognize EF_M68000.
234
d36ca9c2
AO
2352002-02-12 Alexandre Oliva <aoliva@redhat.com>
236
237 * MAINTAINERS: Added self as MN10300 co-maintainer.
238
19397422
AM
2392002-02-12 Alan Modra <amodra@bigpond.net.au>
240
241 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
242 DT_PPC64_OPDSZ.
243
d434e574
DJ
2442002-02-11 Daniel Jacobowitz <drow@mvista.com>
245
246 * MAINTAINERS: List myself as branch maintainer.
247
12b87c89
AM
2482002-02-11 Alan Modra <amodra@bigpond.net.au>
249
250 * configure: Regenerate.
251 * objcopy.c: Update copyright date.
252 * doc/Makefile.in: Regenerate.
253
8d037c5c
DJ
2542002-02-10 Daniel Jacobowitz <drow@mvista.com>
255
256 * nlmconv.c: Back out localtime PARAMS change.
257
4c168fa3
AM
2582002-02-11 Alan Modra <amodra@bigpond.net.au>
259
260 * objcopy.c (MKDIR): Define.
261 (copy_archive): Make name_list.name const. Use MKDIR.
262 Handle duplicate files in archives by making more temp dirs.
263
408f8db1
DJ
2642002-02-10 Daniel Jacobowitz <drow@mvista.com>
265
266 * coffdump.c: Include "getopt.h" after "bucomm.h"
267 so that macros are defined correctly.
268 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
269 prototype. Prototype main.
270 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
271
9f77fa06
AO
2722002-02-06 Alexandre Oliva <aoliva@redhat.com>
273
274 * MAINTAINERS: Added self as SH co-maintainer.
275
82f6addb
NC
2762002-02-05 Nick Clifton <nickc@redhat.com>
277
278 * po/tr.po: Updated translation.
279
ba323545
AM
2802002-02-01 Alan Modra <amodra@bigpond.net.au>
281
282 * Makefile.am: Run "make dep-am"
283 * Makefile.in: Regenerate.
284
3deb89d3
DJ
2852002-01-29 Daniel Jacobowitz <drow@mvista.com>
286
287 * nm.c (print_value): Mark abfd unused.
288
a0e9c55f
DJ
2892002-01-29 Daniel Jacobowitz <drow@mvista.com>
290
291 * unwind-ia64.c (unw_decoder): Change second argument
292 to unsigned int, to match function prototypes.
293
d7a283d4
DJ
2942002-01-29 Daniel Jacobowitz <drow@mvista.com>
295
296 * objdump.c: Include "getopt.h" after "bucomm.h" so that
297 __GNU_LIBRARY__ will be defined.
298 * size.c: Likewise.
299
4867be41
DJ
3002002-01-27 Daniel Jacobowitz <drow@mvista.com>
301
302 * configure: Regenerated.
303
7562a296
HPN
3042002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
305
306 * doc/Makefile.am (install): Depend on install-info.
307 * doc/Makefile.in: Regenerate.
308
15c82623
NC
3092002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
310
311 * objcopy.c (strip_usage): Document -d as an alias
312 --strip-debug.
313
314 * size.c (usage): Document [-t | --totals] options.
315 (long_options): Add --totals option.
316 (main): If the [-t | --totals] option is specified and
317 the output format is Berkeley-style, print the total
318 text, data, and bss sizes of all objects listed.
319 (print_berkeley_format): If the [-t | --totals] option
320 is specified, track the total text, data, and bss
321 sizes.
322 * doc/binutils.texi (size): Document [-t | --totals] options.
323 (strip): Document -d as an alias for --strip-debug.
324 * NEWS: Mention new feature of size.
325
00ea8601 3262002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 327
1ddbd152
NC
328 * po/fr.po: Updated version.
329 * po/es.po: Updated version.
b85cedd7 330
8b53311e
NC
3312002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
332
333 * addr2line.c (usage): Update text to provide verbose
334 description of the command line options.
335 * ar.c (usage): Update text to provide verbose
336 description of the command line options.
337 (main): Accept -h and -H when running as ranlib.
338 * coffdump.c (show_usage): Update text to provide verbose
339 description of the command line options.
340 * dlltool.c (main): Accept -H as an alias for --help.
341 * nlmconv.c (show_usage): Update text to provide verbose
342 description of the command line options.
343 * nm.c (usage): Replace OPTIONS with option(s).
344 (main): Accept -H as an alias for --help.
345 * objcopy.c (strip_main): Accept -H as an alias for --help.
346 * objdump.c (main): Accept -v as an alias for --verbose.
347 * readelf.c (usage): Adjust format to match style used in
348 other binutils.
349 * size.c (usage): Update text to provide verbose description
350 of the command line options.
351 (main): Accept -v, -h and -H as command line options.
352 * srconv.c (show_usage): Update text to provide verbose
353 description of the command line options.
354 * strings.c (main): Accept -H and -v as command line options.
355 (usage): Update text to provide verbose description of the
356 command line options.
357 * sysdump.c (show_usage): Update text to provide verbose
358 description of the command line options.
359 * windres.c (usage): Adjust format to match style used in
360 other binutils.
361
362 * coffdump.c: Fix formatting.
363 * nlmconv.c: Fix formatting.
364 * srconv.c: Fix formatting.
365 * sysdump.c: Fix formatting.
366
c46f0c34
AM
3672002-01-22 Alan Modra <amodra@bigpond.net.au>
368
369 * Makefile.am: Run "make dep-am".
370 * Makefile.in: Regenerate.
371
2a538ba5
AJ
3722002-01-18 Andreas Jaeger <aj@suse.de>
373
374 * version.c (print_version): Update year.
375
285d1771
AM
3762002-01-17 Alan Modra <amodra@bigpond.net.au>
377
378 * readelf.c (get_machine_name): Handle EM_PPC64.
379 (guess_is_rela): Here too.
380
328577ad
NC
3812002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
382
383 * po/binutils.pot: Regenerate.
384 * po/fr.po: Regenerate.
385 * po/tr.po: Regenerate.
386
af3ae48d
NC
3872002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
388
389 * po/tr.po: Import new version.
390
f1cb7e17
AM
3912002-01-16 Alan Modra <amodra@bigpond.net.au>
392
393 * readelf.c (get_ppc64_dynamic_type): New.
394 (get_dynamic_type): Call it.
395
6364e0b4
NC
3962002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
397
3ab9460d
NC
398 * objcopy.c (copy_usage): Use "options" instead of "switches".
399 (strip_usage): Use "options" instead of "switches".
400 * doc/binutils.texi (dlltool): Refer to "options" instead of
401 "switches".
6364e0b4 402
3a7e524e
RE
4032002-01-14 Richard Earnshaw <rearnsha@arm.com>
404
405 * MAINTAINERS: Add self as co-maintainer for the ARM code.
406
1209e219
NC
4072001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
408
409 * po/es.po: Import from translation project.
410 * configure.in (ALL_LINGUAS): Add es.
411 * configure: Regenerate.
412
b4db1224
JT
4132002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
414
415 * readelf.c (get_netbsd_elfcore_note_type): Use
416 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
417
9437c45b
JT
4182002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
419
420 * readelf.c: Update copyright years.
421 (get_note_type): Return a const char *.
422 (get_netbsd_elfcore_note_type): New function.
423 (process_note): Use get_netbsd_elfcore_note_type to get
424 the note type string for NetBSD ELF core files.
425
00428cca
AM
4262002-01-06 Steve Ellcey <sje@cup.hp.com>
427
428 * readelf.c (get_ia64_segment_type): Add support for macros.
429 (get_segment_type): Add support for IA64 specific macros.
430
31104126
NC
4312001-12-20 Julian v. Bock <julian@wongr.net>
432
433 * readelf.c (print_symbol): New function: Print a formatted symbol
434 name. If --wide is specified do not truncate it.
435 (dump_relocations): Use print_symbol() to print symbol names.
436 (process_symbol_table): Likewise.
437 (process_syminfo): Likewise.
438 (process_mips_specific): Likewise.
439 (usage): Document new feature of --wide switch.
440 * doc/binutils.texi (objdump): Document additional behaviour of
441 --wide.
2a538ba5 442
4dd67f29
MS
4432001-12-18 Michael Snyder <msnyder@redhat.com>
444
445 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
446 (copy_object): Don't set the start address or flags of a core file.
447 (copy_section): Don't relocate a core file. Don't copy contents
448 if the input section has the contents flag set, but the output
449 section does not (which happens with the fake 'note' pseudo-
450 sections that BFD creates for corefiles).
451
43521d43
TS
4522001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
453
454 * readelf.c (get_machine_flags): Recognize header flags for ABI and
455 ASE extensions. More robust code for ISA checking. Ignore empty fields
456 in header flags for GNU extensions.
457
b667df2e
AM
4582001-12-18 Alan Modra <amodra@bigpond.net.au>
459
460 * objcopy.c (copy_archive): Set output bfd format outside the loop.
461
17a5a5c3
NC
4622001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
463
464 * po/ja.po: Import from translation project.
465 * configure.in (ALL_LINGUAS): Add ja.
466 * configure: Regenerate.
467
65de42c0
TS
4682001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
469
470 * addr2line.c (main): Protoype.
471 * ar.c (main): Protoype.
472 * nm.c (main): Protoype.
473 * objcopy.c (main): Protoype.
474 * objdump.c (main): Protoype.
475 * size.c (main): Protoype.
476 * strings.c (main): Protoype.
477
9ad5cbcf
AM
4782001-12-17 Alan Modra <amodra@bigpond.net.au>
479
480 * readelf.c (symtab_shndx_hdr): New global.
481 (SECTION_HEADER_INDEX): Define.
482 (SECTION_HEADER_NUM): Define.
483 (SECTION_HEADER): Define.
484 (GET_ELF_SYMBOLS): Pass two params rather than three.
485 (get_32bit_elf_symbols): Take file and section args. Read and
486 use SHT_SYMTAB_SHNDX.
487 (get_64bit_elf_symbols): Likewise.
488 (dump_relocations): Use SECTION_HEADER to index "section_headers".
489 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
490 Remember symtab_shdx_hdr.
491 (process_program_headers): Scan from index 1 for segment map.
492 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
493 "section_headers".
494 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
495 (process_unwind): Likewise.
496 (process_version_sections): Likewise.
497 (process_symbol_table): Likewise.
498 (display_debug_info): Likewise.
499 (process_dynamic_segment): Fake up a symtab section for changed
500 GET_ELF_SYMBOLS.
501 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
502 (process_program_headers): Kill signed/unsigned warning.
503 (load_debug_str): Likewise.
504 (display_debug_info): Likewise.
505
65765700
JJ
5062001-12-13 Jakub Jelinek <jakub@redhat.com>
507
508 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
509
560f3c1c
AM
5102001-12-11 Alan Modra <amodra@bigpond.net.au>
511
512 * readelf.c (process_file_header): Print extended e_shnum and
513 e_shdtrndx values. Set elf_header values for same.
514 (get_32bit_section_headers): Add "num" arg to read "num" headers.
515 (get_64bit_section_headers): Likewise.
516 (process_section_headers): Update calls.
517 (get_file_header): Call get_32bit_section_headers or 64bit variant.
518
bc408b8a
JJ
5192001-12-10 Jakub Jelinek <jakub@redhat.com>
520
521 * objcopy.c (setup_section): Copy entsize.
522
93fbbb04
GK
5232001-12-07 Geoffrey Keating <geoffk@redhat.com>
524
525 * readelf.c (guess_is_rela): Add support for stormy16.
526 (dump_relocations): Likewise.
527 (get_machine_name): Likewise.
528
e3c8793a
NC
5292001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
530
531 * dllwrap.c (main) Replace multiple strings describing a
532 single error with a single, newline escaped sentence to permit
533 better translation into foreign languages.
534
535 * readelf.c (get_elf_class): Remove internalionalisation of ELF
536 class names.
537
956cd1d6
TS
5382001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
539
540 * strings.c (get_char): Initialize value.
541
956c53ee
TS
5422001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
543
544 * arlex.l: Silence compile warnings.
545 * arsup.h: Likewise. Fix formatting.
546
cedd9a58
JJ
5472001-12-04 Jakub Jelinek <jakub@redhat.com>
548
549 * strings.c: Include config.h before bfd.h.
550 (file_off): New type.
551 (file_open): Define.
552 (print_strings): Use file_off instead of file_ptr. Print addresses
553 which don't fit into long correctly.
554 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
555 available.
556 (strings_file): Use file_off instead of file_ptr. Use file_open.
557 * configure.in: Check for getc_unlocked.
558 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
559 be defined for it.
560 * configure: Rebuilt.
561 * config.h.in: Rebuilt.
562
af667503
L
5632001-11-29 H.J. Lu <hjl@gnu.org>
564
565 * bucomm.c (make_tempname): Revert the changes made on
566 2001-11-14 and 2001-11-12. They won't work with directories.
567
16474668
NC
5682001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
569
570 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
571 CFLAGS_FOR_TARGET to runtest in environment.
572 * Makefile.in: Rebuild.
573 * doc/Makefile.in: Rebuild.
574
17978339
MS
5752001-11-28 Mike Stump <mrs@wrs.com>
576
577 * objcopy.c (setup_section): Preserve SEC_RELOC when
578 --set-section-flags is used.
579
261a45ad
NC
5802001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
581
582 * readelf.c (do_debug_str): New variable.
583 (display_debug_str): New function: Display the contents of a
584 .debug_str section.
585 (load_debug_str): New function: Load in the contents of a
586 .debug_str section.
587 (free_debug_str): New function: Free the memory used by
588 load_debug_str().
589 (fetch_indirect_string): Retrieve a string from the .debug_str
590 section.
591 (usage): Add -ws.
592 (parse_args): Accept -ws.
593 (process_section_headers): Allow the display of the .debug_str
594 section.
595 (read_and_display_attr_value): Use fetch_indirect_string. Show
596 offset into .debug_str section.
597 (display_debug_info): Use load_debug_str and free_debug_str.
598 (debug_displays): Add .debug_str.
599 * doc/binutils.texi: Document -ws.
600
b8908f93
AJ
6012001-11-19 Andreas Jaeger <aj@suse.de>
602
603 * testsuite/binutils-all/objdump.exp: Add x86-64.
604
e5fb9629
AS
6052001-11-15 Andreas Schwab <schwab@suse.de>
606
607 * readelf.c: Fix warnings without terminating newline.
608
802a735e
AM
6092001-11-15 Alan Modra <amodra@bigpond.net.au>
610
611 * doc/binutils.texi (objdump): Document ppc -M options.
612
b89e9eae
AJ
6132001-11-14 Andreas Jaeger <aj@suse.de>
614
615 * doc/binutils.texi (objdump): Fix description to use x86-64.
616
a6a25652
NC
6172001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
618
619 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
620 not all systems provide mkstemp.
621
e396998b
AM
6222001-11-14 Alan Modra <amodra@bigpond.net.au>
623
624 * doc/binutils.texi (objdump): Document x86 -M options.
625
81766fca
RH
6262001-11-13 Keith Walker <keith.walker@arm.com>
627
628 * readelf.c (read_and_display_attr_value): New function to
629 handle DW_FORM_indirect.
630 (read_and_display_attr): Use it.
631
1a509dcc
GK
6322001-11-13 Geoffrey Keating <geoffk@redhat.com>
633
634 * readelf.c (display_debug_lines): Deal with unknown standard
635 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
636 DW_LNS_set_isa.
637
6e917903 6382001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 639
6e917903
TW
640 * MAINTAINERS: Add self as tic54x maintainer. This target
641 includes the IBM C54XDSP clone.
7559e86e 642
6e917903 6432001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 644
7559e86e
NC
645 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
646
6472001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 648
ecdadc4a
JL
649 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
650 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
651 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
652 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
653 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
654 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
655 (unw_decode_b2, unw_decode_b3_b4): Likewise.
656
91770270
JL
657 * readelf.c (get_elf_class): Fix ISO portability glitch.
658 (get_data_encoding, get_osabi_name, request_dump): Likewise.
659
ef5cdfc7
JJ
6602001-11-07 Jakub Jelinek <jakub@redhat.com>
661
662 * readelf.c (debug_str, debug_str_size): New.
663 (display_debug_abbrev): If no abbrevs were read, skip the CU.
664 Call free_abbrevs.
665 (read_and_display_addr): Handle DW_FORM_strp.
666 (display_debug_info): Read .debug_str section if present,
667 so that DW_FORM_strp can be handled.
668 Fix test for non-existant .debug_abbrev section.
669
5e9520c8
JJ
6702001-11-05 Jakub Jelinek <jakub@redhat.com>
671
672 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
673
674 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
675
54589086
MS
6762001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
677
678 * MAINTAINERS: Add self as s390/s390x maintainer.
679
c05b685b
TR
6802001-11-02 Tom Rix <trix@bluey.cygnus.com>
681
682 * MAINTAINERS: Add self as PPC XCOFF maintainer.
683
3c62831e
NC
6842001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
685
686 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
687 * configure: Regernate.
688 * po/fr.po: New file.
689 * po/tr.po: New file.
690
3c3bdf30
NC
6912001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
692
9b19141a 693 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
694 * readelf.c: Include elf/mmix.h.
695 (guess_is_rela): MMIX is RELA.
696 (dump_relocations): Handle MMIX relocations.
697 * Makefile.am: Regenerate dependencies.
698 * Makefile.in: Regenerate.
699
f662939a
NC
7002001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
701
702 * readelf.c (parse_args): Handle multiple options to the -w
703 switch.
704
c91d0dfb
JJ
7052001-10-12 Jakub Jelinek <jakub@redhat.com>
706
707 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
708 LOPROC, LOOS and LOUSER.
709
7559e86e 7102001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
711
712 * MAINTAINERS: Update my email address.
713
fcd8210c
AM
7142001-10-03 Alan Modra <amodra@bigpond.net.au>
715
716 * doc/Makefile.in: Regenerate.
717 * configure: Regenerate.
718
428409d5
NC
7192001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
720
721 * readelf.c (display_debug_line, display_debug_pubnames,
722 display_debug_info, display_debug_frames): Detect and warn
723 about 64-bit format entries.
724 (display_debug_aranges): Reword 64-bit warning.
725 (debug_displays): Add .debug_pubtypes as a known, but not yet
726 supported, debug section.
727
6a8c2b0d
AM
7282001-10-02 Alan Modra <amodra@bigpond.net.au>
729
730 * coffdump.c (PROGRAM_VERSION): Delete.
731 (main <'V'>): Call print_version.
732 * srconv.c: Likewise.
733 * sysdump.c: Likewise.
734 * version.c (program_version): Remove.
735 (print_version): Use BFD_VERSION_STRING. Just print the current
736 year in copyright message.
737 * addr2line.c (program_version): Remove unused declaration.
738 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
739 place of BFD_VERSION.
740 * Makefile.am (Makefile): Depend on bfd/configure.in.
741 (cplus-dem.o): Depend on Makefile.
742 Run "make dep-am".
743 * Makefile.in: Regenerate.
744
e414a165
NC
7452001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
746
747 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
748 format .debug_arange sections.
749 (main): Add missing prototype.
b8908f93 750
efc3ee7f
HPN
7512001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
752
753 * Makefile.am: Update dependencies with "make dep-am".
754 * Makefile.in: Regenerate.
755
9e85c2a0
RH
7562001-09-28 Richard Henderson <rth@redhat.com>
757
758 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
759
451dad9c
AM
7602001-09-26 Alan Modra <amodra@bigpond.net.au>
761
762 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
763 VA_CLOSE.
764 (non_fatal): Likewise.
765 * objdump.c (objdump_sprintf): Likewise.
766 * readelf.c (error): Likewise.
767 (warn): Likewise.
768
d974e256
JJ
7692001-09-25 Jakub Jelinek <jakub@redhat.com>
770
771 * readelf.c (do_wide): New.
772 (options): Add --wide.
773 (usage, parse_args): Likewise.
774 (process_program_headers): Put each segment on a single line if
775 --wide is given.
776 (process_section_headers): Put each section on a single line if
777 --wide is given.
778 * doc/binutils.texi: Document it.
779 * NEWS: Likewise.
780
2f11c261
AM
7812001-09-25 Alan Modra <amodra@bigpond.net.au>
782
783 * readelf.c (print_vma): Print 8 digits of low hex value.
784
1d50f91e
AJ
7852001-09-24 Andreas Jaeger <aj@suse.de>
786
787 * nlmconv.c: Fix warnings about unused attributes and function
788 prototypes.
789
790 * strings.c: Add prototype for get_char.
791
38131e67
L
7922000-09-19 H.J. Lu <hjl@gnu.org>
793
794 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
795 $(srcdir)/cxxfilt.man.
796 * doc/Makefile.in: Rebuild.
797
3bcfb3e4
AM
7982001-09-19 Alan Modra <amodra@bigpond.net.au>
799
800 * objcopy.c (copy_main): Correct rename-section string parsing.
801 Consolidate new_name parsing, and error messages.
802
3882b010
L
8032001-09-18 Bruno Haible <haible@clisp.cons.org>
804
805 * addr2line.c: Don't include <ctype.h>.
806 (main): For gettext, also set the LC_CTYPE locate facet.
807 * ar.c (main): Likewise.
808 * coffdump.c (main): Likewise.
809 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
810 (main): For gettext, also set the LC_CTYPE locate facet.
811 Use ISALNUM instead of isalpha/isdigit.
812 * dllwrap.c: Don't include <ctype.h>.
813 (main): For gettext, also set the LC_CTYPE locate facet.
814 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
815 (main): For gettext, also set the LC_CTYPE locate facet.
816 Use TOUPPER instead of islower/toupper.
817 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
818 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
819 Use TOUPPER instead of islower/toupper.
820 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
821 * objcopy.c (main): Likewise.
822 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
823 (disassemble_bytes): Use ISPRINT instead of isprint.
824 (dump_section_stabs): Use ISDIGIT instead of isdigit.
825 (dump_data): Use ISPRINT instead of isprint.
826 (main): For gettext, also set the LC_CTYPE locate facet.
827 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
828 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
829 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
830 Use TOUPPER instead of islower/toupper.
831 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
832 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
833 (write_rc_accelerators): Use ISPRINT instead of isprint.
834 (write_rc_rcdata): Likewise.
835 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
836 * srconv.c (main): Likewise.
837 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
838 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
839 isdigit/isupper/islower.
840 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
841 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
842 stab_demangle_prefix, stab_demangle_qualified,
843 stab_demangle_template, stab_demangle_type,
844 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
845 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
846 (isgraphic): Use ISPRINT instead of isascii/isprint.
847 (main): Remove HAVE_LC_MESSAGES dependency.
848 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
849 (pbarray): Use ISPRINT instead of isprint.
850 (main): For gettext, also set the LC_CTYPE locate facet.
851 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
852 (format_from_filename): Use ISPRINT instead of isprint.
853 (main): For gettext, also set the LC_CTYPE locate facet.
854 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
855 (unicode_print): Use ISPRINT instead of isprint.
856 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
857 (stab_variable): Use ISDIGIT instead of isdigit.
858
e59b4dfb
AM
8592001-09-18 Alan Modra <amodra@bigpond.net.au>
860
861 * ar.c (print_contents): Cast args of bfd_seek to the right types.
862 Replace bfd_read call with call to bfd_bread.
863 (extract_file): Likewise.
864
865 * objdump.c (dump_section_header): Cast section->filepos to
866 unsigned long to suit printf format string.
867 * readelf.c (process_section_headers): Similarly for sh_offset.
868 (process_unwind): Likewise.
869
d132876a
NC
8702001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
871
872 * strings.c (encoding, encoding_bytes): New variables.
873 (long_options): Add --encoding.
874 (main): Accept -e and --encoding.
875 (get_char): New function. Read a, possibly wide, character from
876 the input stream.
877 (print_strings): Use get_char().
878 (usage): Document new command line option.
879 * doc/binutils.texi: Document new command line option.
880 * NEWS: Announce new command line option.
881
7559e86e 8822001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
883
884 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
885 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
886 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
887 Removed EM_CYGNUS_ARC.
888
7559e86e 8892001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
890
891 * readelf.c: Include elf/h8 for H8 series definitions.
892 (guess_is_rela): H8 series if RELA.
893 (dump_relocations): Handle H8 series relocations.
894
0823fbca
EC
8952001-08-31 Eric Christopher <echristo@redhat.com>
896
897 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
898
8db76d70
PT
8992001-08-29 Peter Targett <peter.targett@arccores.com>
900
901 * MAINTAINERS: Include ARC Maintainer.
902
d81d6584
BE
9032001-08-29 Ben Elliston <bje@redhat.com>
904
905 * stabs.c (stab_demangle_template): Initialise s4.
906
25a1ff5b
AM
9072001-08-27 Alan Modra <amodra@bigpond.net.au>
908
909 * readelf.c (dump_relocations): Recognise EM_PPC64.
910
a5d22d2a
TS
9112001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
912
913 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
914
62a5a82d
L
9152001-08-25 H.J. Lu <hjl@gnu.org>
916
917 * nm.c (print_width): New.
918 (display_rel_file): Set `print_width' according to
919 bfd_sprintf_vma.
920 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
921
1ae8b3d2
AO
9222001-08-24 Alexandre Oliva <aoliva@redhat.com>
923
924 * objcopy.c (use_alt_mach_code): New variable.
925 (OPTION_ALT_MACH_CODE): Define.
926 (copy_options): Added --alt-machine-code.
927 (copy_main): Handle it.
928 (copy_object): Switch to alternate machine code if requested.
929 * doc/binutils.texi: Document new option.
930 * NEWS: Likewise.
931
d1bdd336
TS
9322001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
933
934 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
935
410f7a12
L
9362001-08-21 H.J. Lu <hjl@gnu.org>
937
938 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
939 (display_debug_info): Cast for 64bit hosts.
940 (display_debug_frames): Likewise.
941 (process_mips_specific): Likewise.
942
c32144ff
AJ
9432001-08-21 Andreas Jaeger <aj@suse.de>
944
945 * coffgrok.h: Add missing parameter for prototype of coff_grok.
946
947 * sysdump.c: Add missing prototypes.
948 * srconv.c: Likewise.
949 * unwind-ia64.c: Likewise.
950 * coffdump.c: Likewise.
951
952 * sysinfo.y: Print prototypes, include <ansidecl.h>.
953
954 * coffgrok.c: Add missing prototypes, include libiberty.h instead
955 of declaring xcalloc.
956
d8180c76
L
9572001-08-10 H.J. Lu <hjl@gnu.org>
958
959 * nm.c (print_value): Add one arg, bfd *.
960 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
961 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
962 (print_symbol_info_sysv): Likewise.
963 (print_symbol_info_posix): Likewise.
964
965 * objdump.c (dump_section_header): Replace printf_vma with
966 bfd_printf_vma.
967 (print_section_stabs): Likewise.
968 (dump_bfd_header): Likewise.
969 (objdump_print_value): Replace sprintf_vma with
970 bfd_sprintf_vma.
971 (disassemble_bytes): Likewise.
972 (dump_reloc_set): Likewise.
973
0218d1e4
AJ
9742001-08-10 Andreas Jaeger <aj@suse.de>
975
976 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
977 to build warnings.
978 * configure: Regenerate.
979
2863d58a
AM
9802001-08-09 Alan Modra <amodra@bigpond.net.au>
981
982 * readelf.c: Add missing prototypes.
983 * objdump.c: Likewise. Format existing prototypes.
984
c0e047e0
AO
9852001-08-08 Alexandre Oliva <aoliva@redhat.com>
986
987 * readelf.c (display_debug_info): Add to abbrev_offset the addend
988 of any RELA relocation for the abbrev_offset memory location that
989 refers to the .debug_abbrev section symbol.
990
ff78d6d6
L
9912001-08-07 H.J. Lu <hjl@gnu.org>
992
993 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
994 (main): Return process_file ().
995
c36774d6
PB
9962001-08-05 Philip Blundell <philb@gnu.org>
997
998 * doc/binutils.texi: Use "Thumb" not "THUMB".
999
8f9d9bd9
JH
10002001-08-03 John Healy <jhealy@redhat.com>
1001
1002 Patch suggested by Frank Eigler <fche@redhat.com>.
1003 * objdump.c (disassemble_data): Fill in section member of the
1004 disasm_info structure.
1005
c918cb96
DD
10062001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1007
1008 * configure.in: Added --with-windres option.
1009 * configure: Regenerated.
1010
c7c55b78
NC
10112001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1012
1013 * doc/binutils.texi: Use @command{name} for commands;
1014 use @option{-opt} for options; use @table @env for list of options;
1015 remove spaces arround [ | ] in synopsis.
1016
1017 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1018 center title.
1019
594ef5db
NC
10202001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1021
1022 * objcopy.c: Fix formatting.
1023 (section_rename): New structure.
1024 (OPTION_RENAME_SECTION): New switch.
1025 (copy_usage): Document new switch.
1026 (add_section_rename): New function: Add a node to the section
1027 rename list.
1028 (find_section_rename): New function: Find the new name and
1029 flags for a section.
1030 (setup_section): Call find_section_name to determine the name
1031 of the output section.
1032 (copy_main): Handle OPTION_RENAME_SECTION.
1033 * binutils.texi: Document new switch.
1034 * NEWS: Mention new switch.
1035
1f554c69
NC
10362001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1037
1038 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1039 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1040 bug-binutils@gcc.org.
1041
2f83960e
AM
10422001-07-28 Matthias Kramm <kramm@quiss.org>
1043
1044 * bucomm.c (list_supported_architectures): New function.
1045 * bucomm.h (list_supported_architectures): Declare.
1046 * objdump.c (usage): Call the above.
1047
20fe0649
DB
10482001-07-25 Dave Brolley <brolley@redhat.com>
1049
1050 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1051 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1052
1b577b00
NC
10532001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1054
1055 * README: Update for 2.11. Change bug reporting email address.
1056 * MAINTAINERS: Tidy up. Change bug reporting email address.
1057
95fd336c
DD
10582001-07-16 DJ Delorie <dj@redhat.com>
1059
5f16d855
DD
1060 * resres.c (write_res_header): Align header size.
1061 (res_align_file): Calculate alignment correctly.
1062
95fd336c
DD
1063 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1064 correct 10).
1065 * resrc.c (write_rc_resource): Likewise.
1066 * windres.h (SUBLANG_SHIFT): Define - as 10.
1067
ed8fee27
NC
10682001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1069
1070 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1071
90ab7e9a
NC
10722001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1073
1074 * MAINTAINERS: Add notes about branch checkins.
1075
e0c60db2
NC
10762001-07-05 Daniel Berlin <dan@cgsoftware.com>
1077
1078 * readelf.c (display_debug_macinfo): New function, display
1079 .debug_macinfo section.
1080 (do_debug_macinfo): New variable.
1081 (parse_args): Handle "-w[mM]" to mean display macro info.
1082 (process_section_headers): Handle debug_macinfo.
1083 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1084 function for .debug_macinfo display.
e0c60db2
NC
1085 * doc/binutils.texi: Document new command line switch.
1086 * NEWS: Document new feature of readelf.
0218d1e4 1087
24e01a36
L
10882001-07-05 H.J. Lu <hjl@gnu.org>
1089
1090 * objcopy.c (filter_symbols): Don't turn undefined symbols
1091 into local.
1092
4258bf4d
L
10932001-07-03 H.J. Lu <hjl@gnu.org>
1094
1095 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1096 $@.pod.
1097 (ar.1): Likewise.
1098 (dlltool.1): Likewise.
1099 (nlmconv.1): Likewise.
1100 (nm.1): Likewise.
1101 (objcopy.1): Likewise.
1102 (objdump.1): Likewise.
1103 (ranlib.1): Likewise.
1104 (readelf.1): Likewise.
1105 (size.1): Likewise.
1106 (strings.1): Likewise.
1107 (strip.1): Likewise.
1108 (windres.1): Likewise.
1109 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1110 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1111 $(DEMANGLER_NAME).
1112 (as.1): Removed.
1113 * doc/Makefile.in: Regenerated.
1114
7014bc31
NC
11152001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1116
1117 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1118
b811889f
NC
11192001-07-01 Daniel Berlin <dan@cgsoftware.com>
1120
1121 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1122
12ab83a9
NC
11232001-06-29 James Cownie <jcownie@etnus.com>
1124
1125 * readelf.c: Support DWARF 2.1 attributes.
1126
a6e9f9df
AM
11272001-06-28 Alan Modra <amodra@bigpond.net.au>
1128
1129 * readelf.c (GET_DATA_ALLOC): Remove.
1130 (GET_DATA): Remove.
1131 (get_data): New function combining above macros, with an extra
1132 test for zero size.
1133 (slurp_rela_relocs): Use get_data, and catch error return.
1134 (slurp_rel_relocs): Likewise.
1135 (get_32bit_program_headers): Likewise.
1136 (get_64bit_program_headers): Likewise.
1137 (get_32bit_section_headers): Likewise.
1138 (get_64bit_section_headers): Likewise.
1139 (get_32bit_elf_symbols): Likewise.
1140 (get_64bit_elf_symbols): Likewise.
1141 (process_section_headers): Likewise.
1142 (process_relocs): Likewise.
1143 (slurp_ia64_unwind_table): Likewise.
1144 (process_unwind): Likewise.
1145 (get_32bit_dynamic_segment): Likewise.
1146 (get_64bit_dynamic_segment): Likewise.
1147 (process_dynamic_segment): Likewise.
1148 (process_version_sections): Likewise.
1149 (process_symbol_table): Likewise.
1150 (dump_section): Likewise.
1151 (display_debug_info): Likewise.
1152 (display_debug_section): Likewise.
1153 (process_section_contents): Likewise.
1154 (process_corefile_note_segment): Likewise.
1155 (process_mips_specific): Likewise. Also free econf32, econf64.
1156
af3fc3bc
AM
11572001-06-25 Alan Modra <amodra@bigpond.net.au>
1158
1159 * readelf.c (dump_relocations): Print "bad symbol index" if
1160 symtab == NULL with non-zero symtab_index.
1161 (process_relocs): Don't bomb if reloc section has no symsec.
1162
6d900bf6
L
11632001-06-24 H.J. Lu <hjl@gnu.org>
1164
1165 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1166 by accident.
1167 (copy_main): Apply the the change made to strip_main on
1168 2001-05-30 by accident.
1169
49b4e386
AJ
11702001-06-23 Andreas Jaeger <aj@suse.de>
1171
1172 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1173 parameter 'code'.
1174 (unw_decode_x2): Likewise.
1175 (unw_decode_x3): Likewise.
1176 (unw_decode_x4): Likewise.
1177
d8dc71e3
BE
11782001-06-23 Ben Elliston <bje@redhat.com>
1179
1180 * MAINTAINERS: Add myself as M88k maintainer.
1181
af3bdff7
NC
11822001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1183
1184 * objcopy.c (strip_main): Support -o or --output-file command lien
1185 switch.
1186
105e7211
L
11872001-06-19 H.J. Lu <hjl@gnu.org>
1188
1189 * doc/Makefile.in: Regenerated.
1190
c45021f2
NC
11912001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1192
1193 * readelf.c: Restore formatting.
1194
11952001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1196
1197 * Makefile.am: Move documentation into doc subdirectory.
1198 * Makefile.in: Regenerated.
1199 * binutils.texi: Move into doc subdirectory.
1200 * addr2line.1: Removed.
1201 * ar.1: Likewise.
1202 * dlltool.1: Likewise.
1203 * nlmconv.1: Likewise.
1204 * nm.1: Likewise.
1205 * objcopy.1: Likewise.
1206 * objdump.1: Likewise.
1207 * ranlib.1: Likewise.
1208 * readelf.1: Likewise.
1209 * size.1: Likewise.
1210 * strings.1: Likewise.
1211 * strip.1: Likewise.
1212 * windres.1: Likewise.
1213 * cxxfilt.man: Likewise.
1214 * doc: New Directory.
1215 * doc/Makefile.am: New file.
1216 * doc/Makefile.in: Generate.
1217
09ad7db3
AM
12182001-06-09 Alan Modra <amodra@bigpond.net.au>
1219
1220 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1221
936260fe
AM
12222001-06-01 Alan Modra <amodra@bigpond.net.au>
1223
1224 * MAINTAINERS: Update my email address.
1225
16b2b71c
NC
12262001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1227
1228 * objcopy.c: Add new switches: --keep-global-symbol,
1229 --keep-symbols, --localize-symbols, --keep-global-symbols and
1230 --weaken-symbols.
1231 * binutils.texi: Document new switches.
1232 * objcopy.1: Regenerate.
1233 * NEWS: Announce new feature.
1234
7036c0e1
AJ
12352001-05-28 Andreas Jaeger <aj@suse.de>
1236
1237 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1238 variables, fix format strings.
1239
76a406e5
NC
12402001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1241
1242 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1243 when computing the address of the line to show.
1244
31b6fca6
RH
12452001-05-16 Richard Henderson <rth@redhat.com>
1246
1247 * readelf.c (do_debug_frames_interp): New.
1248 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1249 (byte_get_big_endian): Likewise.
1250 (parse_args) ['F']: Set do_debug_frames_interp.
1251 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1252 (frame_display_row): Don't trunc pc_begin to int.
1253 (size_of_encoded_value): New.
1254 (display_debug_frames): Handle 64-bit targets. Print raw data
1255 unless do_debug_frames_interp.
1256 (debug_displays): Remove duplicate .debug_frame.
1257
4fe85591
NC
12582001-05-15 Ralf Baechle <ralf@gnu.org>
1259
1260 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1261 The former constant was never in active use and is used otherwise
1262 by the ABI.
1263
579f31ac
JJ
12642001-05-11 Jakub Jelinek <jakub@redhat.com>
1265
1266 * readelf.c (process_unwind): Print all unwind sections, not just
1267 one.
1268
78f4a3f7
AM
12692001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1270
1271 * readelf.c (process_unwind): Remove const specifier.
1272
1c529ca6
NC
12732001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1274
1275 * strings.c (isgraphic): Do not use isascii() unless it is needed
1276 for isprint() to work.
1277 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1278
87e6d782
NC
12792001-04-27 Johan Rydberg <jrydberg@opencores.org>
1280
1281 * NEWS: Announce support for OpenRISC.
1282
4bd3d870 12832001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1284
1285 * dlltool.c (do_default_excludes): Initialise to true.
1286
21211521
AM
12872001-04-10 Alan Modra <amodra@one.net.au>
1288
1289 * MAINTAINERS: Update my email address
1290 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1291
0c66b61e 12922001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1293
1294 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1295
e58d53af
L
12962001-03-30 H.J. Lu <hjl@gnu.org>
1297
1298 * readelf.c (process_unwind): Just return if do_unwind is 0.
1299
bee72332
DD
13002001-03-28 Roger Sayle <roger@metaphorics.com>
1301
1302 * dlltool.c (make_one_lib_file): Fix section flags for
1303 .text, .data and .bss in stub ds*.o files to match those
1304 generated by gas.
1305
f1467e33
L
13062001-03-29 H.J. Lu <hjl@gnu.org>
1307
1308 * readelf.c (process_unwind): Only do unwind sections for
1309 IA64.
1310
1c6fb4fe
L
13112001-03-28 H.J. Lu <hjl@gnu.org>
1312
1313 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1314 * Makefile.in: Regenerate.
1315
0879a67a
AJ
13162001-03-26 Andreas Jaeger <aj@suse.de>
1317
1318 * binutils.texi (nm): Fix texi syntax.
1319
0285c67d
NC
13202001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1321
1322 * binutils.texi: Put @c man begin and @c man end indications
1323 to generate man pages using texi2pod and pod2man. Put @c man title
1324 to identify each man. Add SEEALSO entries.
1325 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1326 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1327 sort the list.
1328 (*.1): Build the man pages from binutils.texi.
1329 * Makefile.in: Regenerate.
1330
04847a4d
CF
13312001-03-13 Eric Kohl <ekohl@rz-online.de>
1332
1333 * defparse.y (opt_equal_name): allow "." in name.
1334 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1335 (gen_exp_file): Likewise.
1336
43a0748c
NC
13372001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1338
1339 * NEWS: Document addition of -B switch to objcopy.
1340 * binutils.texi: Document addition of -B switch to objcopy.
1341 * objcopy.c: (copy_options): Add --binary-architecture.
1342 (copy_usage): Document -B/--binary-architecture.
1343 (copy_main): Support -B/--binary-architecture. Set
1344 bfd_external_binary_architecture.
0879a67a 1345
b7498e0e
NC
13462001-03-11 Andreas Jaeger <aj@suse.de>
1347
1348 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1349 (dump_relocations): Likewise.
1350 (get_machine_name): Likewise.
1351
a59e3bd7
NC
13522001-02-28 Nick Clifton <nickc@redhat.com>
1353
1354 * readelf.c: (struct unw_aux_info): Remove const modifier for
1355 'strtab' field.
1356 (process_unwind): Remove non-K&R compliant LHS type cast in call
1357 to GET_DATA_ALLOC macro.
1358
a5bcd848
PB
13592001-02-28 Philip Blundell <pb@futuretv.com>
1360
1361 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1362 ABI is in use; remove ambiguity between the "unknown" EABI and
1363 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1364 renamed EF_xx constants.
1365
27b7e12d
AM
13662001-02-27 Alan Modra <alan@linuxcare.com.au>
1367
1368 * configure.in (BFD_VERSION): New.
1369 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1370 * configure: Regenerate.
1371 * Makefile.am: Run "make dep-am"
1372 * Makefile.in: Regenerate.
1373
a9f10786
NC
13742001-02-14 Nick Clifton <nickc@redhat.com>
1375
1376 * MAINTAINERS: Add "Obvious Fix" rule.
1377
3c44da9a
MS
13782001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1379
1380 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1381 literal concatenation.
1382
ecd03389
MS
13832001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1384
1385 * readelf.c (struct unw_aux_info): Remove const from the info member.
1386 (process_unwind): Don't type-cast the third argument to the
1387 GET_DATA_ALLOC macro.
1388
88ec60c7
NC
13892001-02-11 Nick Clifton <nickc@redhat.com>
1390
1391 * readelf.c (dump_relocations): Free corrected allocated
1392 array.
1393 (process_unwind): Fix compile time warning.
1394
f5e21966
NC
13952001-02-10 Nick Clifton <nickc@redhat.com>
1396
1397 * binutils.texi: Document new --unwind option to readelf.
1398
a85d7ed0
NC
13992001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1400
1401 * readelf.c: Add linux target for S/390.
1402
7bb10502
AM
14032001-02-10 Alan Modra <alan@linuxcare.com.au>
1404
1405 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1406 printf is a macro.
1407
8ca8f343
HPN
14082001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1409
1410 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1411 * aclocal.m4: Regenerate.
1412 * configure: Regenerate.
1413
7340082d
NC
14142001-02-07 Todd Vierling <tv@wasabisystems.com>
1415
1416 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1417 * objdump.c (bfd_target_vector): Likewise.
1418
4d6ed7c8
NC
14192001-02-07 David Mosberger <davidm@hpl.hp.com>
1420
1421 * readelf.c (process_unwind): New function.
1422 (slurp_ia64_unwind_table): Ditto.
1423 (dump_ia64_unwind): Ditto.
1424 (find_symbol_for_address): Ditto.
1425 (slurp_rela_relocs): New function (split off from dump_relocations()).
1426 (slurp_rel_relocs): Ditto.
1427 (parse_args): Handle '-u' option.
1428
1429 * unwind-ia64.c: New file.
1430 * unwind-ia64.h: New file.
1431 * Makefile.am: Include unwind-ia64.c in readelf build.
1432 * Makefile.in: Regenerate.
7340082d 1433 * po/binutils.pot: Regenerate.
4d6ed7c8 1434
c7217458
PB
14352001-02-04 Philip Blundell <philb@gnu.org>
1436
1437 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1438 * configure: Regenerate.
1439
956eedd4
AM
14402001-01-31 Steve deRosier <sderosier@vari-lite.com>
1441
1442 * ieee.c (ieee_add_bb11): Don't check for backslashes
1443 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1444
8855cbca
AM
14452001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1446
c7f2731e
AM
1447 * ieee.c: Update copyright.
1448 (ieee_start_compilation_unit): Don't check for backslashes
1449 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1450
8855cbca
AM
1451 * stabs.c: Update copyright. Include "filenames.h".
1452 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1453
329de803 14542001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1455
1456 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1457 sections are present before using them. Remove code duplication.
1458 (process_symbol_table): Check if VERDEF or VERNEED sections are
1459 present before using them.
1460
23719f39
NC
14612001-01-17 Nick Clifton <nickc@redhat.com>
1462
1463 * objcopy.c (copy_object): Fail if attempting to convert the
1464 endianness of the input object file.
1465
1466 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1467
f726e849
NC
14682001-01-16 Nick Clifton <nickc@redhat.com>
1469
1470 * readelf.c (string_table_length): New variable.
1471 (SECTION_NAME): Catch out of range indices and missing section
1472 pointers.
1473 (process_section_headers): Delete useless local variable
1474 string_table_offset. Set the value of string_table_length
1475 after loading the string table.
1476 (process_mips_specific): Use SECTION_NAME macro.
1477 (process_file): Set string_table_length to 0 when it is freed.
1478
d0398d6a
NC
14792001-01-12 Nick Clifton <nickc@redhat.com>
1480
1481 * version.c (print_version): Update copyright date.
1482
0d2bcfaf
NC
14832001-01-11 Peter Targett <peter.targett@arccores.com>
1484
1485 * readelf.c (dump_relocations): Include selection with EM_ARC.
1486 (get_machine_name) Update name to "ARC".
1487
8b1e6df3
NC
14882001-01-09 Nick Clifton <nickc@redhat.com>
1489
1490 * Makefile.am: Add rule to build objdump.o from objdump.c and
1491 using OBJDUMP_DEFS.
1492 * Makefile.in: Regenerate.
1493
1494 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1495 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1496 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1497 * configure: Regenerate.
8b1e6df3
NC
1498
1499 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1500 is defined read in the relocs even if dump_reloc_info is
1501 false.
1502
2f952d20
PB
15032001-01-07 Philip Blundell <philb@gnu.org>
1504
1505 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1506 `bug-binutils'.
1507 * README: Likewise.
1508
a8c548cb
NC
15092000-12-19 Nick Clifton <nickc@redhat.com>
1510
1511 * dlltool.c: Add missing support for arm-epoc-pe.
1512 * configure.in: Add missing support for arm-epoc-pe.
1513 * configure: Regenerate.
1514
cc5fda35
NC
15152000-12-15 Nick Clifton <nickc@redhat.com>
1516
1517 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1518 Mode parts of the x86 port.
1519
bcedfee6
NC
15202000-12-04 Andreas Jaeger <aj@suse.de>
1521
1522 * readelf.c (guess_is_rela): Add EM_X86_64.
1523 (dump_relocations): Add EM_X86_64.
1524 (get_machine_name): Add EM_X86_64.
1525 Include "elf/x86-64.h".
1526
584da044
NC
15272000-12-12 Nick Clifton <nickc@redhat.com>
1528
1529 * readelf.c: Fix formatting.
1530
7559e86e 15312000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1532
1533 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1534
a98cc2b2
AH
15352000-12-07 Andrew Haley <aph@redhat.com>
1536
1537 * readelf.c (display_debug_frames): Only display columns that are
1538 referenced by the frame debug info.
1539
c7987a69
NC
15402000-12-05 Nick Clifton <nickc@redhat.com>
1541
1542 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1543
09fd7e38
JM
15442000-12-04 Jason Merrill <jason@redhat.com>
1545
1546 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1547 (display_debug_section): Likewise.
1548 (display_debug_info): Display CU header before bailing.
1549
e7af610e
NC
15502000-12-01 Chris Demetriou <cgd@sibyte.com>
1551
09fd7e38
JM
1552 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1553 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1554 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1555
09fd7e38
JM
1556 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1557 and E_MIPS_ARCH_64.
84ea6cf2 1558
09fd7e38
JM
1559 * readelf.c (get_machine_flags): Add case for
1560 E_MIPS_MACH_SB1.
c6c98b38 1561
75066968
DD
15622000-11-30 Richard Earnshaw <rearnsha@arm.com>
1563
1564 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1565
5c4666ea
HPN
15662000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1567