* ar.c (replace_members): Remove unused var. Formatting fix.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
91593c9d
AM
12002-05-04 Alan Modra <amodra@bigpond.net.au>
2
e58a75dc
AM
3 * ar.c (replace_members): Remove unused var. Formatting fix.
4 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
5
91593c9d
AM
6 * MAINTAINERS: Sort port maintainers by CPU.
7
6b52b824
AM
82002-05-04 Bob Byrnes <byrnes@curl.com>
9
10 * size.c (display_archive): Add last_arfile and code to close archives.
11
dd70071f
AM
122002-05-01 Alan Modra <amodra@bigpond.net.au>
13
14 * nm.c (print_symbol): Check returned filename from
15 bfd_find_nearest_line is non-NULL.
16
6c95717a
EZ
172002-04-25 Elena Zannoni <ezannoni@redhat.com>
18
19 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
20
3c25c5f6
NC
212002-04-24 Christian Groessler <chris@groessler.org>
22
23 * MAINTAINERS: Changed my email address.
24
944cd72c
TS
252002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
26
27 * arparse.y: Fix syntax warning.
28
ea91f8bb
NC
292002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
30
3e55a963
NC
31 * readelf.c (fetch_location_list): Remove unused function.
32
33 * readelf.c (process_corefile_note_segment): Catch corrupt notes
34 and display a warning message, then exit the loop.
35
ea91f8bb
NC
36 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
37
45b99827
NC
382002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
39
40 * resrc.c (write_rc_dialog): If charset is non-default value
41 display all of the DIALOGEX parameters.
42
432002-04-15 Eric Kohl <ekohl@rz-online.de>
44
45 * rcparse.y: Allow two to five parameter in FONT statement of
46 DIALOGEX resources.
47 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
48 resource data.
49 (res_to_bin_dialog): Likewise.
50 * windres.h: Added misssing charset variable to dialog_ex
51 structure.
52
acfbab8a
NC
532002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
54
55 * rcparse.y: Set MEMFLAG_PURE by default.
56
df3baf66
NC
572002-04-09 Bernd Herd <info@herdsoft.com>
58
59 * rcparse.y: CLASS definitions in DIALOG resources
60 are quoted.
4c30641a 61 Fix typo in BEDIT warning.
91eafb40 62 Don't add default dialog style when explicit style specified.
b62a12ca 63 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 64
b24eb5ac
NC
65 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
66 (handle_quotes) "\a" escape (used for right justified key
67 definitions in menus) is encodes as binary 8.
df3baf66 68
b24eb5ac
NC
69 * resrc.c (write_rc_dialog): Print style even if it is 0.
70 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 71 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 72
b24eb5ac
NC
73 * resbin.c (bin_to_res_dialog): Use signature to identify
74 DIALOGEX.
f7d63484 75
b24eb5ac 76 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 77
df3baf66
NC
782002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
79
80 * resrc.c: print CLASS names in quotes
81
822002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
83
84 * MAINTAINERS: Update my email address.
85
8e42bcb6
AM
862002-04-04 Alan Modra <amodra@bigpond.net.au>
87
88 * dep-in.sed: Cope with absolute paths.
89 * Makefile.am (dep.sed): Subst TOPDIR.
90 Run "make dep-am".
91 * Makefile.in: Regenerate.
92
96f959e5
PT
932002-03-27 Peter Targett <peter.targett@arc.com>
94
95 * MAINTAINERS: Update my email address.
96
1ea788ee
AM
972002-03-21 Alan Modra <amodra@bigpond.net.au>
98
99 * Makefile.am: Run "make dep-am".
100 * Makefile.in: Regenerate.
101 * doc/Makefile.in: Regenerate.
102 * po/POTFILES.in: Regenerate.
103 * aclocal.m4: Regenerate.
104 * config.in: Regenerate.
105 * configure: Regenerate.
106
a2f14207
DB
1072002-03-20 Daniel Berlin <dan@dberlin.org>
108
109 * readelf.c: Add support for displaying dwarf2 location lists.
110 (do_debug_loc, debug_loc_section, debug_loc_size): New.
111 (parse_args): Use 'O' as shorthand for displaying location list
112 section.
113 (process_section_headers): Handle debug_loc as well.
114 (load_debug_loc): New.
115 (free_debug_loc): New.
116 (fetch_location_list): New.
117 (display_debug_loc): New.
118 (display_debug_info): Call load_debug_loc and free_debug_loc.
119 (debug_displays): We can display .debug_loc now, too.
120 (usage): Update usage string.
121 (read_and_display_attr_value): Note location lists, but don't
122 display them inline.
123
eb1e0e80
NC
1242002-03-18 Tom Rix <trix@redhat.com>
125
126 * Makefile.am: Add binutils emulation support.
127 * configure.in: Same.
128 * configure.tgt: New file. Same.
129 * ar.c (main): Use ar_emul_parse_arg.
130 (usage): Use ar_emul_usage.
131 (replace_members): Use ar_emul_replace, ar_emul_append.
132 * binemul.c: New file. Define the binutils emulation
133 layer. Define default methods.
134 * binemul.h: New file. Binutils emulation layer header file.
135 * emul_aix.c: New file. AIX binutils emulation.
136 * emul_vanilla.c: New file. Default binutils emulation.
137 * Makefile.in: Regenerate.
138 * configure: Same.
139
a1c259a1
NC
1402002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
141
142 * po/fr.po: Updated version.
143
9ce88e60
NC
1442002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
145
146 * po/fr.po: Updated version.
147
effb0601
DJ
1482002-03-07 Daniel Jacobowitz <drow@mvista.com>
149
150 * README: Update some version numbers.
151
a65688ab
DJ
1522002-03-07 Daniel Jacobowitz <drow@mvista.com>
153
154 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
155 (Architecture Selection): Likewise.
156
f3f7fbb2
NC
1572002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
158
159 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
160 generating .exp file.
161
25345be5
NC
1622002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
163
164 * readelf.c (dump_relocations): Fix typo.
165
9a66911f
NC
1662002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
167
168 * NEWS: Mark 2.12 branch.
169
2c71103e
NC
1702002-02-18 Timothy Daly <remote_bob@yahoo.com>
171
172 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
173 types for 64-bit MIPS. Narrow some fields for 80-char
174 output.
175 (dump_relocations): Change spelling from 'unrecognised'
176 to 'unrecognized'.
177 (decode_ARM_machine_flags): Likewise.
178 (parse_args): Likewise.
179 (read_and_display_attr_value): Likewise.
180 (display_debug_section): Likewise.
181
49fda6c8
HPN
1822002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
183
184 * NEWS: Mention support for MMIX.
185
76f57f3a
JT
1862002-02-13 Matt Fredette <fredette@netbsd.org>
187
188 * readelf.c (get_machine_flags): Recognize EF_M68000.
189
d36ca9c2
AO
1902002-02-12 Alexandre Oliva <aoliva@redhat.com>
191
192 * MAINTAINERS: Added self as MN10300 co-maintainer.
193
19397422
AM
1942002-02-12 Alan Modra <amodra@bigpond.net.au>
195
196 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
197 DT_PPC64_OPDSZ.
198
d434e574
DJ
1992002-02-11 Daniel Jacobowitz <drow@mvista.com>
200
201 * MAINTAINERS: List myself as branch maintainer.
202
12b87c89
AM
2032002-02-11 Alan Modra <amodra@bigpond.net.au>
204
205 * configure: Regenerate.
206 * objcopy.c: Update copyright date.
207 * doc/Makefile.in: Regenerate.
208
8d037c5c
DJ
2092002-02-10 Daniel Jacobowitz <drow@mvista.com>
210
211 * nlmconv.c: Back out localtime PARAMS change.
212
4c168fa3
AM
2132002-02-11 Alan Modra <amodra@bigpond.net.au>
214
215 * objcopy.c (MKDIR): Define.
216 (copy_archive): Make name_list.name const. Use MKDIR.
217 Handle duplicate files in archives by making more temp dirs.
218
408f8db1
DJ
2192002-02-10 Daniel Jacobowitz <drow@mvista.com>
220
221 * coffdump.c: Include "getopt.h" after "bucomm.h"
222 so that macros are defined correctly.
223 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
224 prototype. Prototype main.
225 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
226
9f77fa06
AO
2272002-02-06 Alexandre Oliva <aoliva@redhat.com>
228
229 * MAINTAINERS: Added self as SH co-maintainer.
230
82f6addb
NC
2312002-02-05 Nick Clifton <nickc@redhat.com>
232
233 * po/tr.po: Updated translation.
234
ba323545
AM
2352002-02-01 Alan Modra <amodra@bigpond.net.au>
236
237 * Makefile.am: Run "make dep-am"
238 * Makefile.in: Regenerate.
239
3deb89d3
DJ
2402002-01-29 Daniel Jacobowitz <drow@mvista.com>
241
242 * nm.c (print_value): Mark abfd unused.
243
a0e9c55f
DJ
2442002-01-29 Daniel Jacobowitz <drow@mvista.com>
245
246 * unwind-ia64.c (unw_decoder): Change second argument
247 to unsigned int, to match function prototypes.
248
d7a283d4
DJ
2492002-01-29 Daniel Jacobowitz <drow@mvista.com>
250
251 * objdump.c: Include "getopt.h" after "bucomm.h" so that
252 __GNU_LIBRARY__ will be defined.
253 * size.c: Likewise.
254
4867be41
DJ
2552002-01-27 Daniel Jacobowitz <drow@mvista.com>
256
257 * configure: Regenerated.
258
7562a296
HPN
2592002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
260
261 * doc/Makefile.am (install): Depend on install-info.
262 * doc/Makefile.in: Regenerate.
263
15c82623
NC
2642002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
265
266 * objcopy.c (strip_usage): Document -d as an alias
267 --strip-debug.
268
269 * size.c (usage): Document [-t | --totals] options.
270 (long_options): Add --totals option.
271 (main): If the [-t | --totals] option is specified and
272 the output format is Berkeley-style, print the total
273 text, data, and bss sizes of all objects listed.
274 (print_berkeley_format): If the [-t | --totals] option
275 is specified, track the total text, data, and bss
276 sizes.
277 * doc/binutils.texi (size): Document [-t | --totals] options.
278 (strip): Document -d as an alias for --strip-debug.
279 * NEWS: Mention new feature of size.
280
00ea8601 2812002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 282
1ddbd152
NC
283 * po/fr.po: Updated version.
284 * po/es.po: Updated version.
b85cedd7 285
8b53311e
NC
2862002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
287
288 * addr2line.c (usage): Update text to provide verbose
289 description of the command line options.
290 * ar.c (usage): Update text to provide verbose
291 description of the command line options.
292 (main): Accept -h and -H when running as ranlib.
293 * coffdump.c (show_usage): Update text to provide verbose
294 description of the command line options.
295 * dlltool.c (main): Accept -H as an alias for --help.
296 * nlmconv.c (show_usage): Update text to provide verbose
297 description of the command line options.
298 * nm.c (usage): Replace OPTIONS with option(s).
299 (main): Accept -H as an alias for --help.
300 * objcopy.c (strip_main): Accept -H as an alias for --help.
301 * objdump.c (main): Accept -v as an alias for --verbose.
302 * readelf.c (usage): Adjust format to match style used in
303 other binutils.
304 * size.c (usage): Update text to provide verbose description
305 of the command line options.
306 (main): Accept -v, -h and -H as command line options.
307 * srconv.c (show_usage): Update text to provide verbose
308 description of the command line options.
309 * strings.c (main): Accept -H and -v as command line options.
310 (usage): Update text to provide verbose description of the
311 command line options.
312 * sysdump.c (show_usage): Update text to provide verbose
313 description of the command line options.
314 * windres.c (usage): Adjust format to match style used in
315 other binutils.
316
317 * coffdump.c: Fix formatting.
318 * nlmconv.c: Fix formatting.
319 * srconv.c: Fix formatting.
320 * sysdump.c: Fix formatting.
321
c46f0c34
AM
3222002-01-22 Alan Modra <amodra@bigpond.net.au>
323
324 * Makefile.am: Run "make dep-am".
325 * Makefile.in: Regenerate.
326
2a538ba5
AJ
3272002-01-18 Andreas Jaeger <aj@suse.de>
328
329 * version.c (print_version): Update year.
330
285d1771
AM
3312002-01-17 Alan Modra <amodra@bigpond.net.au>
332
333 * readelf.c (get_machine_name): Handle EM_PPC64.
334 (guess_is_rela): Here too.
335
328577ad
NC
3362002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
337
338 * po/binutils.pot: Regenerate.
339 * po/fr.po: Regenerate.
340 * po/tr.po: Regenerate.
341
af3ae48d
NC
3422002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
343
344 * po/tr.po: Import new version.
345
f1cb7e17
AM
3462002-01-16 Alan Modra <amodra@bigpond.net.au>
347
348 * readelf.c (get_ppc64_dynamic_type): New.
349 (get_dynamic_type): Call it.
350
6364e0b4
NC
3512002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
352
3ab9460d
NC
353 * objcopy.c (copy_usage): Use "options" instead of "switches".
354 (strip_usage): Use "options" instead of "switches".
355 * doc/binutils.texi (dlltool): Refer to "options" instead of
356 "switches".
6364e0b4 357
3a7e524e
RE
3582002-01-14 Richard Earnshaw <rearnsha@arm.com>
359
360 * MAINTAINERS: Add self as co-maintainer for the ARM code.
361
1209e219
NC
3622001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
363
364 * po/es.po: Import from translation project.
365 * configure.in (ALL_LINGUAS): Add es.
366 * configure: Regenerate.
367
b4db1224
JT
3682002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
369
370 * readelf.c (get_netbsd_elfcore_note_type): Use
371 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
372
9437c45b
JT
3732002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
374
375 * readelf.c: Update copyright years.
376 (get_note_type): Return a const char *.
377 (get_netbsd_elfcore_note_type): New function.
378 (process_note): Use get_netbsd_elfcore_note_type to get
379 the note type string for NetBSD ELF core files.
380
00428cca
AM
3812002-01-06 Steve Ellcey <sje@cup.hp.com>
382
383 * readelf.c (get_ia64_segment_type): Add support for macros.
384 (get_segment_type): Add support for IA64 specific macros.
385
31104126
NC
3862001-12-20 Julian v. Bock <julian@wongr.net>
387
388 * readelf.c (print_symbol): New function: Print a formatted symbol
389 name. If --wide is specified do not truncate it.
390 (dump_relocations): Use print_symbol() to print symbol names.
391 (process_symbol_table): Likewise.
392 (process_syminfo): Likewise.
393 (process_mips_specific): Likewise.
394 (usage): Document new feature of --wide switch.
395 * doc/binutils.texi (objdump): Document additional behaviour of
396 --wide.
2a538ba5 397
4dd67f29
MS
3982001-12-18 Michael Snyder <msnyder@redhat.com>
399
400 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
401 (copy_object): Don't set the start address or flags of a core file.
402 (copy_section): Don't relocate a core file. Don't copy contents
403 if the input section has the contents flag set, but the output
404 section does not (which happens with the fake 'note' pseudo-
405 sections that BFD creates for corefiles).
406
43521d43
TS
4072001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
408
409 * readelf.c (get_machine_flags): Recognize header flags for ABI and
410 ASE extensions. More robust code for ISA checking. Ignore empty fields
411 in header flags for GNU extensions.
412
b667df2e
AM
4132001-12-18 Alan Modra <amodra@bigpond.net.au>
414
415 * objcopy.c (copy_archive): Set output bfd format outside the loop.
416
17a5a5c3
NC
4172001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
418
419 * po/ja.po: Import from translation project.
420 * configure.in (ALL_LINGUAS): Add ja.
421 * configure: Regenerate.
422
65de42c0
TS
4232001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
424
425 * addr2line.c (main): Protoype.
426 * ar.c (main): Protoype.
427 * nm.c (main): Protoype.
428 * objcopy.c (main): Protoype.
429 * objdump.c (main): Protoype.
430 * size.c (main): Protoype.
431 * strings.c (main): Protoype.
432
9ad5cbcf
AM
4332001-12-17 Alan Modra <amodra@bigpond.net.au>
434
435 * readelf.c (symtab_shndx_hdr): New global.
436 (SECTION_HEADER_INDEX): Define.
437 (SECTION_HEADER_NUM): Define.
438 (SECTION_HEADER): Define.
439 (GET_ELF_SYMBOLS): Pass two params rather than three.
440 (get_32bit_elf_symbols): Take file and section args. Read and
441 use SHT_SYMTAB_SHNDX.
442 (get_64bit_elf_symbols): Likewise.
443 (dump_relocations): Use SECTION_HEADER to index "section_headers".
444 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
445 Remember symtab_shdx_hdr.
446 (process_program_headers): Scan from index 1 for segment map.
447 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
448 "section_headers".
449 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
450 (process_unwind): Likewise.
451 (process_version_sections): Likewise.
452 (process_symbol_table): Likewise.
453 (display_debug_info): Likewise.
454 (process_dynamic_segment): Fake up a symtab section for changed
455 GET_ELF_SYMBOLS.
456 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
457 (process_program_headers): Kill signed/unsigned warning.
458 (load_debug_str): Likewise.
459 (display_debug_info): Likewise.
460
65765700
JJ
4612001-12-13 Jakub Jelinek <jakub@redhat.com>
462
463 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
464
560f3c1c
AM
4652001-12-11 Alan Modra <amodra@bigpond.net.au>
466
467 * readelf.c (process_file_header): Print extended e_shnum and
468 e_shdtrndx values. Set elf_header values for same.
469 (get_32bit_section_headers): Add "num" arg to read "num" headers.
470 (get_64bit_section_headers): Likewise.
471 (process_section_headers): Update calls.
472 (get_file_header): Call get_32bit_section_headers or 64bit variant.
473
bc408b8a
JJ
4742001-12-10 Jakub Jelinek <jakub@redhat.com>
475
476 * objcopy.c (setup_section): Copy entsize.
477
93fbbb04
GK
4782001-12-07 Geoffrey Keating <geoffk@redhat.com>
479
480 * readelf.c (guess_is_rela): Add support for stormy16.
481 (dump_relocations): Likewise.
482 (get_machine_name): Likewise.
483
e3c8793a
NC
4842001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
485
486 * dllwrap.c (main) Replace multiple strings describing a
487 single error with a single, newline escaped sentence to permit
488 better translation into foreign languages.
489
490 * readelf.c (get_elf_class): Remove internalionalisation of ELF
491 class names.
492
956cd1d6
TS
4932001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
494
495 * strings.c (get_char): Initialize value.
496
956c53ee
TS
4972001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
498
499 * arlex.l: Silence compile warnings.
500 * arsup.h: Likewise. Fix formatting.
501
cedd9a58
JJ
5022001-12-04 Jakub Jelinek <jakub@redhat.com>
503
504 * strings.c: Include config.h before bfd.h.
505 (file_off): New type.
506 (file_open): Define.
507 (print_strings): Use file_off instead of file_ptr. Print addresses
508 which don't fit into long correctly.
509 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
510 available.
511 (strings_file): Use file_off instead of file_ptr. Use file_open.
512 * configure.in: Check for getc_unlocked.
513 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
514 be defined for it.
515 * configure: Rebuilt.
516 * config.h.in: Rebuilt.
517
af667503
L
5182001-11-29 H.J. Lu <hjl@gnu.org>
519
520 * bucomm.c (make_tempname): Revert the changes made on
521 2001-11-14 and 2001-11-12. They won't work with directories.
522
16474668
NC
5232001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
524
525 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
526 CFLAGS_FOR_TARGET to runtest in environment.
527 * Makefile.in: Rebuild.
528 * doc/Makefile.in: Rebuild.
529
17978339
MS
5302001-11-28 Mike Stump <mrs@wrs.com>
531
532 * objcopy.c (setup_section): Preserve SEC_RELOC when
533 --set-section-flags is used.
534
261a45ad
NC
5352001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
536
537 * readelf.c (do_debug_str): New variable.
538 (display_debug_str): New function: Display the contents of a
539 .debug_str section.
540 (load_debug_str): New function: Load in the contents of a
541 .debug_str section.
542 (free_debug_str): New function: Free the memory used by
543 load_debug_str().
544 (fetch_indirect_string): Retrieve a string from the .debug_str
545 section.
546 (usage): Add -ws.
547 (parse_args): Accept -ws.
548 (process_section_headers): Allow the display of the .debug_str
549 section.
550 (read_and_display_attr_value): Use fetch_indirect_string. Show
551 offset into .debug_str section.
552 (display_debug_info): Use load_debug_str and free_debug_str.
553 (debug_displays): Add .debug_str.
554 * doc/binutils.texi: Document -ws.
555
b8908f93
AJ
5562001-11-19 Andreas Jaeger <aj@suse.de>
557
558 * testsuite/binutils-all/objdump.exp: Add x86-64.
559
e5fb9629
AS
5602001-11-15 Andreas Schwab <schwab@suse.de>
561
562 * readelf.c: Fix warnings without terminating newline.
563
802a735e
AM
5642001-11-15 Alan Modra <amodra@bigpond.net.au>
565
566 * doc/binutils.texi (objdump): Document ppc -M options.
567
b89e9eae
AJ
5682001-11-14 Andreas Jaeger <aj@suse.de>
569
570 * doc/binutils.texi (objdump): Fix description to use x86-64.
571
a6a25652
NC
5722001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
573
574 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
575 not all systems provide mkstemp.
576
e396998b
AM
5772001-11-14 Alan Modra <amodra@bigpond.net.au>
578
579 * doc/binutils.texi (objdump): Document x86 -M options.
580
81766fca
RH
5812001-11-13 Keith Walker <keith.walker@arm.com>
582
583 * readelf.c (read_and_display_attr_value): New function to
584 handle DW_FORM_indirect.
585 (read_and_display_attr): Use it.
586
1a509dcc
GK
5872001-11-13 Geoffrey Keating <geoffk@redhat.com>
588
589 * readelf.c (display_debug_lines): Deal with unknown standard
590 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
591 DW_LNS_set_isa.
592
6e917903 5932001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 594
6e917903
TW
595 * MAINTAINERS: Add self as tic54x maintainer. This target
596 includes the IBM C54XDSP clone.
7559e86e 597
6e917903 5982001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 599
7559e86e
NC
600 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
601
6022001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 603
ecdadc4a
JL
604 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
605 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
606 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
607 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
608 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
609 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
610 (unw_decode_b2, unw_decode_b3_b4): Likewise.
611
91770270
JL
612 * readelf.c (get_elf_class): Fix ISO portability glitch.
613 (get_data_encoding, get_osabi_name, request_dump): Likewise.
614
ef5cdfc7
JJ
6152001-11-07 Jakub Jelinek <jakub@redhat.com>
616
617 * readelf.c (debug_str, debug_str_size): New.
618 (display_debug_abbrev): If no abbrevs were read, skip the CU.
619 Call free_abbrevs.
620 (read_and_display_addr): Handle DW_FORM_strp.
621 (display_debug_info): Read .debug_str section if present,
622 so that DW_FORM_strp can be handled.
623 Fix test for non-existant .debug_abbrev section.
624
5e9520c8
JJ
6252001-11-05 Jakub Jelinek <jakub@redhat.com>
626
627 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
628
629 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
630
54589086
MS
6312001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
632
633 * MAINTAINERS: Add self as s390/s390x maintainer.
634
c05b685b
TR
6352001-11-02 Tom Rix <trix@bluey.cygnus.com>
636
637 * MAINTAINERS: Add self as PPC XCOFF maintainer.
638
3c62831e
NC
6392001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
640
641 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
642 * configure: Regernate.
643 * po/fr.po: New file.
644 * po/tr.po: New file.
645
3c3bdf30
NC
6462001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
647
9b19141a 648 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
649 * readelf.c: Include elf/mmix.h.
650 (guess_is_rela): MMIX is RELA.
651 (dump_relocations): Handle MMIX relocations.
652 * Makefile.am: Regenerate dependencies.
653 * Makefile.in: Regenerate.
654
f662939a
NC
6552001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
656
657 * readelf.c (parse_args): Handle multiple options to the -w
658 switch.
659
c91d0dfb
JJ
6602001-10-12 Jakub Jelinek <jakub@redhat.com>
661
662 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
663 LOPROC, LOOS and LOUSER.
664
7559e86e 6652001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
666
667 * MAINTAINERS: Update my email address.
668
fcd8210c
AM
6692001-10-03 Alan Modra <amodra@bigpond.net.au>
670
671 * doc/Makefile.in: Regenerate.
672 * configure: Regenerate.
673
428409d5
NC
6742001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
675
676 * readelf.c (display_debug_line, display_debug_pubnames,
677 display_debug_info, display_debug_frames): Detect and warn
678 about 64-bit format entries.
679 (display_debug_aranges): Reword 64-bit warning.
680 (debug_displays): Add .debug_pubtypes as a known, but not yet
681 supported, debug section.
682
6a8c2b0d
AM
6832001-10-02 Alan Modra <amodra@bigpond.net.au>
684
685 * coffdump.c (PROGRAM_VERSION): Delete.
686 (main <'V'>): Call print_version.
687 * srconv.c: Likewise.
688 * sysdump.c: Likewise.
689 * version.c (program_version): Remove.
690 (print_version): Use BFD_VERSION_STRING. Just print the current
691 year in copyright message.
692 * addr2line.c (program_version): Remove unused declaration.
693 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
694 place of BFD_VERSION.
695 * Makefile.am (Makefile): Depend on bfd/configure.in.
696 (cplus-dem.o): Depend on Makefile.
697 Run "make dep-am".
698 * Makefile.in: Regenerate.
699
e414a165
NC
7002001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
701
702 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
703 format .debug_arange sections.
704 (main): Add missing prototype.
b8908f93 705
efc3ee7f
HPN
7062001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
707
708 * Makefile.am: Update dependencies with "make dep-am".
709 * Makefile.in: Regenerate.
710
9e85c2a0
RH
7112001-09-28 Richard Henderson <rth@redhat.com>
712
713 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
714
451dad9c
AM
7152001-09-26 Alan Modra <amodra@bigpond.net.au>
716
717 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
718 VA_CLOSE.
719 (non_fatal): Likewise.
720 * objdump.c (objdump_sprintf): Likewise.
721 * readelf.c (error): Likewise.
722 (warn): Likewise.
723
d974e256
JJ
7242001-09-25 Jakub Jelinek <jakub@redhat.com>
725
726 * readelf.c (do_wide): New.
727 (options): Add --wide.
728 (usage, parse_args): Likewise.
729 (process_program_headers): Put each segment on a single line if
730 --wide is given.
731 (process_section_headers): Put each section on a single line if
732 --wide is given.
733 * doc/binutils.texi: Document it.
734 * NEWS: Likewise.
735
2f11c261
AM
7362001-09-25 Alan Modra <amodra@bigpond.net.au>
737
738 * readelf.c (print_vma): Print 8 digits of low hex value.
739
1d50f91e
AJ
7402001-09-24 Andreas Jaeger <aj@suse.de>
741
742 * nlmconv.c: Fix warnings about unused attributes and function
743 prototypes.
744
745 * strings.c: Add prototype for get_char.
746
38131e67
L
7472000-09-19 H.J. Lu <hjl@gnu.org>
748
749 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
750 $(srcdir)/cxxfilt.man.
751 * doc/Makefile.in: Rebuild.
752
3bcfb3e4
AM
7532001-09-19 Alan Modra <amodra@bigpond.net.au>
754
755 * objcopy.c (copy_main): Correct rename-section string parsing.
756 Consolidate new_name parsing, and error messages.
757
3882b010
L
7582001-09-18 Bruno Haible <haible@clisp.cons.org>
759
760 * addr2line.c: Don't include <ctype.h>.
761 (main): For gettext, also set the LC_CTYPE locate facet.
762 * ar.c (main): Likewise.
763 * coffdump.c (main): Likewise.
764 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
765 (main): For gettext, also set the LC_CTYPE locate facet.
766 Use ISALNUM instead of isalpha/isdigit.
767 * dllwrap.c: Don't include <ctype.h>.
768 (main): For gettext, also set the LC_CTYPE locate facet.
769 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
770 (main): For gettext, also set the LC_CTYPE locate facet.
771 Use TOUPPER instead of islower/toupper.
772 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
773 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
774 Use TOUPPER instead of islower/toupper.
775 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
776 * objcopy.c (main): Likewise.
777 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
778 (disassemble_bytes): Use ISPRINT instead of isprint.
779 (dump_section_stabs): Use ISDIGIT instead of isdigit.
780 (dump_data): Use ISPRINT instead of isprint.
781 (main): For gettext, also set the LC_CTYPE locate facet.
782 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
783 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
784 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
785 Use TOUPPER instead of islower/toupper.
786 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
787 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
788 (write_rc_accelerators): Use ISPRINT instead of isprint.
789 (write_rc_rcdata): Likewise.
790 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
791 * srconv.c (main): Likewise.
792 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
793 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
794 isdigit/isupper/islower.
795 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
796 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
797 stab_demangle_prefix, stab_demangle_qualified,
798 stab_demangle_template, stab_demangle_type,
799 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
800 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
801 (isgraphic): Use ISPRINT instead of isascii/isprint.
802 (main): Remove HAVE_LC_MESSAGES dependency.
803 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
804 (pbarray): Use ISPRINT instead of isprint.
805 (main): For gettext, also set the LC_CTYPE locate facet.
806 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
807 (format_from_filename): Use ISPRINT instead of isprint.
808 (main): For gettext, also set the LC_CTYPE locate facet.
809 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
810 (unicode_print): Use ISPRINT instead of isprint.
811 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
812 (stab_variable): Use ISDIGIT instead of isdigit.
813
e59b4dfb
AM
8142001-09-18 Alan Modra <amodra@bigpond.net.au>
815
816 * ar.c (print_contents): Cast args of bfd_seek to the right types.
817 Replace bfd_read call with call to bfd_bread.
818 (extract_file): Likewise.
819
820 * objdump.c (dump_section_header): Cast section->filepos to
821 unsigned long to suit printf format string.
822 * readelf.c (process_section_headers): Similarly for sh_offset.
823 (process_unwind): Likewise.
824
d132876a
NC
8252001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
826
827 * strings.c (encoding, encoding_bytes): New variables.
828 (long_options): Add --encoding.
829 (main): Accept -e and --encoding.
830 (get_char): New function. Read a, possibly wide, character from
831 the input stream.
832 (print_strings): Use get_char().
833 (usage): Document new command line option.
834 * doc/binutils.texi: Document new command line option.
835 * NEWS: Announce new command line option.
836
7559e86e 8372001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
838
839 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
840 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
841 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
842 Removed EM_CYGNUS_ARC.
843
7559e86e 8442001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
845
846 * readelf.c: Include elf/h8 for H8 series definitions.
847 (guess_is_rela): H8 series if RELA.
848 (dump_relocations): Handle H8 series relocations.
849
0823fbca
EC
8502001-08-31 Eric Christopher <echristo@redhat.com>
851
852 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
853
8db76d70
PT
8542001-08-29 Peter Targett <peter.targett@arccores.com>
855
856 * MAINTAINERS: Include ARC Maintainer.
857
d81d6584
BE
8582001-08-29 Ben Elliston <bje@redhat.com>
859
860 * stabs.c (stab_demangle_template): Initialise s4.
861
25a1ff5b
AM
8622001-08-27 Alan Modra <amodra@bigpond.net.au>
863
864 * readelf.c (dump_relocations): Recognise EM_PPC64.
865
a5d22d2a
TS
8662001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
867
868 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
869
62a5a82d
L
8702001-08-25 H.J. Lu <hjl@gnu.org>
871
872 * nm.c (print_width): New.
873 (display_rel_file): Set `print_width' according to
874 bfd_sprintf_vma.
875 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
876
1ae8b3d2
AO
8772001-08-24 Alexandre Oliva <aoliva@redhat.com>
878
879 * objcopy.c (use_alt_mach_code): New variable.
880 (OPTION_ALT_MACH_CODE): Define.
881 (copy_options): Added --alt-machine-code.
882 (copy_main): Handle it.
883 (copy_object): Switch to alternate machine code if requested.
884 * doc/binutils.texi: Document new option.
885 * NEWS: Likewise.
886
d1bdd336
TS
8872001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
888
889 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
890
410f7a12
L
8912001-08-21 H.J. Lu <hjl@gnu.org>
892
893 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
894 (display_debug_info): Cast for 64bit hosts.
895 (display_debug_frames): Likewise.
896 (process_mips_specific): Likewise.
897
c32144ff
AJ
8982001-08-21 Andreas Jaeger <aj@suse.de>
899
900 * coffgrok.h: Add missing parameter for prototype of coff_grok.
901
902 * sysdump.c: Add missing prototypes.
903 * srconv.c: Likewise.
904 * unwind-ia64.c: Likewise.
905 * coffdump.c: Likewise.
906
907 * sysinfo.y: Print prototypes, include <ansidecl.h>.
908
909 * coffgrok.c: Add missing prototypes, include libiberty.h instead
910 of declaring xcalloc.
911
d8180c76
L
9122001-08-10 H.J. Lu <hjl@gnu.org>
913
914 * nm.c (print_value): Add one arg, bfd *.
915 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
916 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
917 (print_symbol_info_sysv): Likewise.
918 (print_symbol_info_posix): Likewise.
919
920 * objdump.c (dump_section_header): Replace printf_vma with
921 bfd_printf_vma.
922 (print_section_stabs): Likewise.
923 (dump_bfd_header): Likewise.
924 (objdump_print_value): Replace sprintf_vma with
925 bfd_sprintf_vma.
926 (disassemble_bytes): Likewise.
927 (dump_reloc_set): Likewise.
928
0218d1e4
AJ
9292001-08-10 Andreas Jaeger <aj@suse.de>
930
931 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
932 to build warnings.
933 * configure: Regenerate.
934
2863d58a
AM
9352001-08-09 Alan Modra <amodra@bigpond.net.au>
936
937 * readelf.c: Add missing prototypes.
938 * objdump.c: Likewise. Format existing prototypes.
939
c0e047e0
AO
9402001-08-08 Alexandre Oliva <aoliva@redhat.com>
941
942 * readelf.c (display_debug_info): Add to abbrev_offset the addend
943 of any RELA relocation for the abbrev_offset memory location that
944 refers to the .debug_abbrev section symbol.
945
ff78d6d6
L
9462001-08-07 H.J. Lu <hjl@gnu.org>
947
948 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
949 (main): Return process_file ().
950
c36774d6
PB
9512001-08-05 Philip Blundell <philb@gnu.org>
952
953 * doc/binutils.texi: Use "Thumb" not "THUMB".
954
8f9d9bd9
JH
9552001-08-03 John Healy <jhealy@redhat.com>
956
957 Patch suggested by Frank Eigler <fche@redhat.com>.
958 * objdump.c (disassemble_data): Fill in section member of the
959 disasm_info structure.
960
c918cb96
DD
9612001-08-03 Tom Walsh <tom@cyberiansoftware.com>
962
963 * configure.in: Added --with-windres option.
964 * configure: Regenerated.
965
c7c55b78
NC
9662001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
967
968 * doc/binutils.texi: Use @command{name} for commands;
969 use @option{-opt} for options; use @table @env for list of options;
970 remove spaces arround [ | ] in synopsis.
971
972 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
973 center title.
974
594ef5db
NC
9752001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
976
977 * objcopy.c: Fix formatting.
978 (section_rename): New structure.
979 (OPTION_RENAME_SECTION): New switch.
980 (copy_usage): Document new switch.
981 (add_section_rename): New function: Add a node to the section
982 rename list.
983 (find_section_rename): New function: Find the new name and
984 flags for a section.
985 (setup_section): Call find_section_name to determine the name
986 of the output section.
987 (copy_main): Handle OPTION_RENAME_SECTION.
988 * binutils.texi: Document new switch.
989 * NEWS: Mention new switch.
990
1f554c69
NC
9912001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
992
993 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
994 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
995 bug-binutils@gcc.org.
996
2f83960e
AM
9972001-07-28 Matthias Kramm <kramm@quiss.org>
998
999 * bucomm.c (list_supported_architectures): New function.
1000 * bucomm.h (list_supported_architectures): Declare.
1001 * objdump.c (usage): Call the above.
1002
20fe0649
DB
10032001-07-25 Dave Brolley <brolley@redhat.com>
1004
1005 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1006 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1007
1b577b00
NC
10082001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1009
1010 * README: Update for 2.11. Change bug reporting email address.
1011 * MAINTAINERS: Tidy up. Change bug reporting email address.
1012
95fd336c
DD
10132001-07-16 DJ Delorie <dj@redhat.com>
1014
5f16d855
DD
1015 * resres.c (write_res_header): Align header size.
1016 (res_align_file): Calculate alignment correctly.
1017
95fd336c
DD
1018 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1019 correct 10).
1020 * resrc.c (write_rc_resource): Likewise.
1021 * windres.h (SUBLANG_SHIFT): Define - as 10.
1022
ed8fee27
NC
10232001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1024
1025 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1026
90ab7e9a
NC
10272001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1028
1029 * MAINTAINERS: Add notes about branch checkins.
1030
e0c60db2
NC
10312001-07-05 Daniel Berlin <dan@cgsoftware.com>
1032
1033 * readelf.c (display_debug_macinfo): New function, display
1034 .debug_macinfo section.
1035 (do_debug_macinfo): New variable.
1036 (parse_args): Handle "-w[mM]" to mean display macro info.
1037 (process_section_headers): Handle debug_macinfo.
1038 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1039 function for .debug_macinfo display.
e0c60db2
NC
1040 * doc/binutils.texi: Document new command line switch.
1041 * NEWS: Document new feature of readelf.
0218d1e4 1042
24e01a36
L
10432001-07-05 H.J. Lu <hjl@gnu.org>
1044
1045 * objcopy.c (filter_symbols): Don't turn undefined symbols
1046 into local.
1047
4258bf4d
L
10482001-07-03 H.J. Lu <hjl@gnu.org>
1049
1050 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1051 $@.pod.
1052 (ar.1): Likewise.
1053 (dlltool.1): Likewise.
1054 (nlmconv.1): Likewise.
1055 (nm.1): Likewise.
1056 (objcopy.1): Likewise.
1057 (objdump.1): Likewise.
1058 (ranlib.1): Likewise.
1059 (readelf.1): Likewise.
1060 (size.1): Likewise.
1061 (strings.1): Likewise.
1062 (strip.1): Likewise.
1063 (windres.1): Likewise.
1064 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1065 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1066 $(DEMANGLER_NAME).
1067 (as.1): Removed.
1068 * doc/Makefile.in: Regenerated.
1069
7014bc31
NC
10702001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1071
1072 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1073
b811889f
NC
10742001-07-01 Daniel Berlin <dan@cgsoftware.com>
1075
1076 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1077
12ab83a9
NC
10782001-06-29 James Cownie <jcownie@etnus.com>
1079
1080 * readelf.c: Support DWARF 2.1 attributes.
1081
a6e9f9df
AM
10822001-06-28 Alan Modra <amodra@bigpond.net.au>
1083
1084 * readelf.c (GET_DATA_ALLOC): Remove.
1085 (GET_DATA): Remove.
1086 (get_data): New function combining above macros, with an extra
1087 test for zero size.
1088 (slurp_rela_relocs): Use get_data, and catch error return.
1089 (slurp_rel_relocs): Likewise.
1090 (get_32bit_program_headers): Likewise.
1091 (get_64bit_program_headers): Likewise.
1092 (get_32bit_section_headers): Likewise.
1093 (get_64bit_section_headers): Likewise.
1094 (get_32bit_elf_symbols): Likewise.
1095 (get_64bit_elf_symbols): Likewise.
1096 (process_section_headers): Likewise.
1097 (process_relocs): Likewise.
1098 (slurp_ia64_unwind_table): Likewise.
1099 (process_unwind): Likewise.
1100 (get_32bit_dynamic_segment): Likewise.
1101 (get_64bit_dynamic_segment): Likewise.
1102 (process_dynamic_segment): Likewise.
1103 (process_version_sections): Likewise.
1104 (process_symbol_table): Likewise.
1105 (dump_section): Likewise.
1106 (display_debug_info): Likewise.
1107 (display_debug_section): Likewise.
1108 (process_section_contents): Likewise.
1109 (process_corefile_note_segment): Likewise.
1110 (process_mips_specific): Likewise. Also free econf32, econf64.
1111
af3fc3bc
AM
11122001-06-25 Alan Modra <amodra@bigpond.net.au>
1113
1114 * readelf.c (dump_relocations): Print "bad symbol index" if
1115 symtab == NULL with non-zero symtab_index.
1116 (process_relocs): Don't bomb if reloc section has no symsec.
1117
6d900bf6
L
11182001-06-24 H.J. Lu <hjl@gnu.org>
1119
1120 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1121 by accident.
1122 (copy_main): Apply the the change made to strip_main on
1123 2001-05-30 by accident.
1124
49b4e386
AJ
11252001-06-23 Andreas Jaeger <aj@suse.de>
1126
1127 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1128 parameter 'code'.
1129 (unw_decode_x2): Likewise.
1130 (unw_decode_x3): Likewise.
1131 (unw_decode_x4): Likewise.
1132
d8dc71e3
BE
11332001-06-23 Ben Elliston <bje@redhat.com>
1134
1135 * MAINTAINERS: Add myself as M88k maintainer.
1136
af3bdff7
NC
11372001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1138
1139 * objcopy.c (strip_main): Support -o or --output-file command lien
1140 switch.
1141
105e7211
L
11422001-06-19 H.J. Lu <hjl@gnu.org>
1143
1144 * doc/Makefile.in: Regenerated.
1145
c45021f2
NC
11462001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1147
1148 * readelf.c: Restore formatting.
1149
11502001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1151
1152 * Makefile.am: Move documentation into doc subdirectory.
1153 * Makefile.in: Regenerated.
1154 * binutils.texi: Move into doc subdirectory.
1155 * addr2line.1: Removed.
1156 * ar.1: Likewise.
1157 * dlltool.1: Likewise.
1158 * nlmconv.1: Likewise.
1159 * nm.1: Likewise.
1160 * objcopy.1: Likewise.
1161 * objdump.1: Likewise.
1162 * ranlib.1: Likewise.
1163 * readelf.1: Likewise.
1164 * size.1: Likewise.
1165 * strings.1: Likewise.
1166 * strip.1: Likewise.
1167 * windres.1: Likewise.
1168 * cxxfilt.man: Likewise.
1169 * doc: New Directory.
1170 * doc/Makefile.am: New file.
1171 * doc/Makefile.in: Generate.
1172
09ad7db3
AM
11732001-06-09 Alan Modra <amodra@bigpond.net.au>
1174
1175 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1176
936260fe
AM
11772001-06-01 Alan Modra <amodra@bigpond.net.au>
1178
1179 * MAINTAINERS: Update my email address.
1180
16b2b71c
NC
11812001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1182
1183 * objcopy.c: Add new switches: --keep-global-symbol,
1184 --keep-symbols, --localize-symbols, --keep-global-symbols and
1185 --weaken-symbols.
1186 * binutils.texi: Document new switches.
1187 * objcopy.1: Regenerate.
1188 * NEWS: Announce new feature.
1189
7036c0e1
AJ
11902001-05-28 Andreas Jaeger <aj@suse.de>
1191
1192 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1193 variables, fix format strings.
1194
76a406e5
NC
11952001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1196
1197 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1198 when computing the address of the line to show.
1199
31b6fca6
RH
12002001-05-16 Richard Henderson <rth@redhat.com>
1201
1202 * readelf.c (do_debug_frames_interp): New.
1203 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1204 (byte_get_big_endian): Likewise.
1205 (parse_args) ['F']: Set do_debug_frames_interp.
1206 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1207 (frame_display_row): Don't trunc pc_begin to int.
1208 (size_of_encoded_value): New.
1209 (display_debug_frames): Handle 64-bit targets. Print raw data
1210 unless do_debug_frames_interp.
1211 (debug_displays): Remove duplicate .debug_frame.
1212
4fe85591
NC
12132001-05-15 Ralf Baechle <ralf@gnu.org>
1214
1215 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1216 The former constant was never in active use and is used otherwise
1217 by the ABI.
1218
579f31ac
JJ
12192001-05-11 Jakub Jelinek <jakub@redhat.com>
1220
1221 * readelf.c (process_unwind): Print all unwind sections, not just
1222 one.
1223
78f4a3f7
AM
12242001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1225
1226 * readelf.c (process_unwind): Remove const specifier.
1227
1c529ca6
NC
12282001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1229
1230 * strings.c (isgraphic): Do not use isascii() unless it is needed
1231 for isprint() to work.
1232 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1233
87e6d782
NC
12342001-04-27 Johan Rydberg <jrydberg@opencores.org>
1235
1236 * NEWS: Announce support for OpenRISC.
1237
4bd3d870 12382001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1239
1240 * dlltool.c (do_default_excludes): Initialise to true.
1241
21211521
AM
12422001-04-10 Alan Modra <amodra@one.net.au>
1243
1244 * MAINTAINERS: Update my email address
1245 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1246
0c66b61e 12472001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1248
1249 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1250
e58d53af
L
12512001-03-30 H.J. Lu <hjl@gnu.org>
1252
1253 * readelf.c (process_unwind): Just return if do_unwind is 0.
1254
bee72332
DD
12552001-03-28 Roger Sayle <roger@metaphorics.com>
1256
1257 * dlltool.c (make_one_lib_file): Fix section flags for
1258 .text, .data and .bss in stub ds*.o files to match those
1259 generated by gas.
1260
f1467e33
L
12612001-03-29 H.J. Lu <hjl@gnu.org>
1262
1263 * readelf.c (process_unwind): Only do unwind sections for
1264 IA64.
1265
1c6fb4fe
L
12662001-03-28 H.J. Lu <hjl@gnu.org>
1267
1268 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1269 * Makefile.in: Regenerate.
1270
0879a67a
AJ
12712001-03-26 Andreas Jaeger <aj@suse.de>
1272
1273 * binutils.texi (nm): Fix texi syntax.
1274
0285c67d
NC
12752001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1276
1277 * binutils.texi: Put @c man begin and @c man end indications
1278 to generate man pages using texi2pod and pod2man. Put @c man title
1279 to identify each man. Add SEEALSO entries.
1280 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1281 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1282 sort the list.
1283 (*.1): Build the man pages from binutils.texi.
1284 * Makefile.in: Regenerate.
1285
04847a4d
CF
12862001-03-13 Eric Kohl <ekohl@rz-online.de>
1287
1288 * defparse.y (opt_equal_name): allow "." in name.
1289 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1290 (gen_exp_file): Likewise.
1291
43a0748c
NC
12922001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1293
1294 * NEWS: Document addition of -B switch to objcopy.
1295 * binutils.texi: Document addition of -B switch to objcopy.
1296 * objcopy.c: (copy_options): Add --binary-architecture.
1297 (copy_usage): Document -B/--binary-architecture.
1298 (copy_main): Support -B/--binary-architecture. Set
1299 bfd_external_binary_architecture.
0879a67a 1300
b7498e0e
NC
13012001-03-11 Andreas Jaeger <aj@suse.de>
1302
1303 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1304 (dump_relocations): Likewise.
1305 (get_machine_name): Likewise.
1306
a59e3bd7
NC
13072001-02-28 Nick Clifton <nickc@redhat.com>
1308
1309 * readelf.c: (struct unw_aux_info): Remove const modifier for
1310 'strtab' field.
1311 (process_unwind): Remove non-K&R compliant LHS type cast in call
1312 to GET_DATA_ALLOC macro.
1313
a5bcd848
PB
13142001-02-28 Philip Blundell <pb@futuretv.com>
1315
1316 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1317 ABI is in use; remove ambiguity between the "unknown" EABI and
1318 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1319 renamed EF_xx constants.
1320
27b7e12d
AM
13212001-02-27 Alan Modra <alan@linuxcare.com.au>
1322
1323 * configure.in (BFD_VERSION): New.
1324 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1325 * configure: Regenerate.
1326 * Makefile.am: Run "make dep-am"
1327 * Makefile.in: Regenerate.
1328
a9f10786
NC
13292001-02-14 Nick Clifton <nickc@redhat.com>
1330
1331 * MAINTAINERS: Add "Obvious Fix" rule.
1332
3c44da9a
MS
13332001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1334
1335 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1336 literal concatenation.
1337
ecd03389
MS
13382001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1339
1340 * readelf.c (struct unw_aux_info): Remove const from the info member.
1341 (process_unwind): Don't type-cast the third argument to the
1342 GET_DATA_ALLOC macro.
1343
88ec60c7
NC
13442001-02-11 Nick Clifton <nickc@redhat.com>
1345
1346 * readelf.c (dump_relocations): Free corrected allocated
1347 array.
1348 (process_unwind): Fix compile time warning.
1349
f5e21966
NC
13502001-02-10 Nick Clifton <nickc@redhat.com>
1351
1352 * binutils.texi: Document new --unwind option to readelf.
1353
a85d7ed0
NC
13542001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1355
1356 * readelf.c: Add linux target for S/390.
1357
7bb10502
AM
13582001-02-10 Alan Modra <alan@linuxcare.com.au>
1359
1360 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1361 printf is a macro.
1362
8ca8f343
HPN
13632001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1364
1365 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1366 * aclocal.m4: Regenerate.
1367 * configure: Regenerate.
1368
7340082d
NC
13692001-02-07 Todd Vierling <tv@wasabisystems.com>
1370
1371 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1372 * objdump.c (bfd_target_vector): Likewise.
1373
4d6ed7c8
NC
13742001-02-07 David Mosberger <davidm@hpl.hp.com>
1375
1376 * readelf.c (process_unwind): New function.
1377 (slurp_ia64_unwind_table): Ditto.
1378 (dump_ia64_unwind): Ditto.
1379 (find_symbol_for_address): Ditto.
1380 (slurp_rela_relocs): New function (split off from dump_relocations()).
1381 (slurp_rel_relocs): Ditto.
1382 (parse_args): Handle '-u' option.
1383
1384 * unwind-ia64.c: New file.
1385 * unwind-ia64.h: New file.
1386 * Makefile.am: Include unwind-ia64.c in readelf build.
1387 * Makefile.in: Regenerate.
7340082d 1388 * po/binutils.pot: Regenerate.
4d6ed7c8 1389
c7217458
PB
13902001-02-04 Philip Blundell <philb@gnu.org>
1391
1392 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1393 * configure: Regenerate.
1394
956eedd4
AM
13952001-01-31 Steve deRosier <sderosier@vari-lite.com>
1396
1397 * ieee.c (ieee_add_bb11): Don't check for backslashes
1398 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1399
8855cbca
AM
14002001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1401
c7f2731e
AM
1402 * ieee.c: Update copyright.
1403 (ieee_start_compilation_unit): Don't check for backslashes
1404 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1405
8855cbca
AM
1406 * stabs.c: Update copyright. Include "filenames.h".
1407 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1408
329de803 14092001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1410
1411 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1412 sections are present before using them. Remove code duplication.
1413 (process_symbol_table): Check if VERDEF or VERNEED sections are
1414 present before using them.
1415
23719f39
NC
14162001-01-17 Nick Clifton <nickc@redhat.com>
1417
1418 * objcopy.c (copy_object): Fail if attempting to convert the
1419 endianness of the input object file.
1420
1421 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1422
f726e849
NC
14232001-01-16 Nick Clifton <nickc@redhat.com>
1424
1425 * readelf.c (string_table_length): New variable.
1426 (SECTION_NAME): Catch out of range indices and missing section
1427 pointers.
1428 (process_section_headers): Delete useless local variable
1429 string_table_offset. Set the value of string_table_length
1430 after loading the string table.
1431 (process_mips_specific): Use SECTION_NAME macro.
1432 (process_file): Set string_table_length to 0 when it is freed.
1433
d0398d6a
NC
14342001-01-12 Nick Clifton <nickc@redhat.com>
1435
1436 * version.c (print_version): Update copyright date.
1437
0d2bcfaf
NC
14382001-01-11 Peter Targett <peter.targett@arccores.com>
1439
1440 * readelf.c (dump_relocations): Include selection with EM_ARC.
1441 (get_machine_name) Update name to "ARC".
1442
8b1e6df3
NC
14432001-01-09 Nick Clifton <nickc@redhat.com>
1444
1445 * Makefile.am: Add rule to build objdump.o from objdump.c and
1446 using OBJDUMP_DEFS.
1447 * Makefile.in: Regenerate.
1448
1449 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1450 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1451 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1452 * configure: Regenerate.
8b1e6df3
NC
1453
1454 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1455 is defined read in the relocs even if dump_reloc_info is
1456 false.
1457
2f952d20
PB
14582001-01-07 Philip Blundell <philb@gnu.org>
1459
1460 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1461 `bug-binutils'.
1462 * README: Likewise.
1463
a8c548cb
NC
14642000-12-19 Nick Clifton <nickc@redhat.com>
1465
1466 * dlltool.c: Add missing support for arm-epoc-pe.
1467 * configure.in: Add missing support for arm-epoc-pe.
1468 * configure: Regenerate.
1469
cc5fda35
NC
14702000-12-15 Nick Clifton <nickc@redhat.com>
1471
1472 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1473 Mode parts of the x86 port.
1474
bcedfee6
NC
14752000-12-04 Andreas Jaeger <aj@suse.de>
1476
1477 * readelf.c (guess_is_rela): Add EM_X86_64.
1478 (dump_relocations): Add EM_X86_64.
1479 (get_machine_name): Add EM_X86_64.
1480 Include "elf/x86-64.h".
1481
584da044
NC
14822000-12-12 Nick Clifton <nickc@redhat.com>
1483
1484 * readelf.c: Fix formatting.
1485
7559e86e 14862000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1487
1488 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1489
a98cc2b2
AH
14902000-12-07 Andrew Haley <aph@redhat.com>
1491
1492 * readelf.c (display_debug_frames): Only display columns that are
1493 referenced by the frame debug info.
1494
c7987a69
NC
14952000-12-05 Nick Clifton <nickc@redhat.com>
1496
1497 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1498
09fd7e38
JM
14992000-12-04 Jason Merrill <jason@redhat.com>
1500
1501 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1502 (display_debug_section): Likewise.
1503 (display_debug_info): Display CU header before bailing.
1504
e7af610e
NC
15052000-12-01 Chris Demetriou <cgd@sibyte.com>
1506
09fd7e38
JM
1507 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1508 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1509 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1510
09fd7e38
JM
1511 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1512 and E_MIPS_ARCH_64.
84ea6cf2 1513
09fd7e38
JM
1514 * readelf.c (get_machine_flags): Add case for
1515 E_MIPS_MACH_SB1.
c6c98b38 1516
75066968
DD
15172000-11-30 Richard Earnshaw <rearnsha@arm.com>
1518
1519 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1520
5c4666ea
HPN
15212000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1522