* rdcoff.c: Fix formatting.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
53c7db4b
KH
12002-05-23 Kazu Hirata <kazu@cs.umass.edu>
2
3 * rdcoff.c: Fix formatting.
4 * rddbg.c: Likewise.
5 * readelf.c: Likewise.
6 * rename.c: Likewise.
7 * resbin.c: Likewise.
8 * resrc.c: Likewise.
9 * resres.c: Likewise.
10
0af11b59
KH
112002-05-21 Kazu Hirata <kazu@cs.umass.edu>
12
13 * filemode.c: Fix formatting.
14 * ieee.c: Likewise.
15 * is-ranlib.c: Likewise.
16 * is-strip.c: Likewise.
17 * maybe-ranlib.c: Likewise.
18 * maybe-strip.c: Likewise.
19 * nlmconv.c: Likewise.
20 * nm.c: Likewise.
21 * not-ranlib.c: Likewise.
22 * not-strip.c: Likewise.
23 * objcopy.c: Likewise.
24 * objdump.c: Likewise.
25
21611032
TS
262002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
27
28 * objdump.c (dump_headers): Fix output formatting for ELF32
29 architectures in a BFD64 enabled toolchain.
30
26044998
KH
312002-05-20 Kazu Hirata <kazu@cs.umass.edu>
32
33 * debug.c: Fix formatting.
34 * debug.h: Likewise.
35 * dlltool.c: Likewise.
36 * dllwrap.c: Likewise.
37 * emul_aix.c: Likewise.
38 * emul_vanilla.c: Likewise.
39
f462a9ea
KH
402002-05-19 Kazu Hirata <kazu@cs.umass.edu>
41
42 * addr2line.c: Fix formatting.
43 * ar.c: Likewise.
44 * arsup.c: Likewise.
45 * arsup.h: Likewise.
46 * binemul.c: Likewise.
47 * binemul.h: Likewise.
48 * bucomm.c: Likewise.
49 * coffdump.c: Likewise.
50 * coffgrok.c: Likewise.
51 * coffgrok.h: Likewise.
52
e0159aa9
MM
532002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
54
55 * MAINTAINERS: Add myself as the second AVR port maintainer.
56
074b403e
SC
572002-05-16 Stephane Carrez <stcarrez@nerim.fr>
58
59 * MAINTAINERS: Update my email address.
60
2b9c8201
NC
612002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
62
63 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
64
e1d5b1e7
AM
652002-05-09 Alan Modra <amodra@bigpond.net.au>
66
67 * configure.in: Replace `*pe' with `pe' throughout.
68 * configure: Regenerate.
69
d3d8a9ee
NC
702002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
71
72 * Makefile.am: Honour DESTDIR.
73 * Makefile.in: Regenerate.
74
405c98a4
AM
752002-05-06 Alan Modra <amodra@bigpond.net.au>
76
a02d5965
AM
77 * dlltool.c (process_def_file): Add missing prototype.
78 (new_directive, assemble_file, main): Likewise.
79 (process_def_file, new_directive): Make static.
80 (inform): Rewrite using VA_FIXEDARG.
81 * dllwrap.c (mybasename): Add missing prototype.
82 (strhash, main): Likewise.
83 (inform): Rewrite using VA_FIXEDARG.
84 (warn): Likewise.
85 (cleanup_and_exit): Use old style function definition.
86 (strhash): Likewise.
87 * windres.c (define_resource): Use one memset to clear all of
88 struct res_resource.
89
405c98a4 90 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 91 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
92
932002-05-06 Borut Razem <borut.razem@siol.net>
94
95 * rclex.l (get_string): Correct "strings" list handling.
96 * resrc.c (read_rc_file): Discard strings.
97
91593c9d
AM
982002-05-04 Alan Modra <amodra@bigpond.net.au>
99
e58a75dc
AM
100 * ar.c (replace_members): Remove unused var. Formatting fix.
101 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
102
91593c9d
AM
103 * MAINTAINERS: Sort port maintainers by CPU.
104
6b52b824
AM
1052002-05-04 Bob Byrnes <byrnes@curl.com>
106
107 * size.c (display_archive): Add last_arfile and code to close archives.
108
dd70071f
AM
1092002-05-01 Alan Modra <amodra@bigpond.net.au>
110
111 * nm.c (print_symbol): Check returned filename from
112 bfd_find_nearest_line is non-NULL.
113
6c95717a
EZ
1142002-04-25 Elena Zannoni <ezannoni@redhat.com>
115
116 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
117
3c25c5f6
NC
1182002-04-24 Christian Groessler <chris@groessler.org>
119
120 * MAINTAINERS: Changed my email address.
121
944cd72c
TS
1222002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
123
124 * arparse.y: Fix syntax warning.
125
ea91f8bb
NC
1262002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
127
3e55a963
NC
128 * readelf.c (fetch_location_list): Remove unused function.
129
130 * readelf.c (process_corefile_note_segment): Catch corrupt notes
131 and display a warning message, then exit the loop.
132
ea91f8bb
NC
133 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
134
45b99827
NC
1352002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
136
137 * resrc.c (write_rc_dialog): If charset is non-default value
138 display all of the DIALOGEX parameters.
139
1402002-04-15 Eric Kohl <ekohl@rz-online.de>
141
142 * rcparse.y: Allow two to five parameter in FONT statement of
143 DIALOGEX resources.
144 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
145 resource data.
146 (res_to_bin_dialog): Likewise.
147 * windres.h: Added misssing charset variable to dialog_ex
148 structure.
149
acfbab8a
NC
1502002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
151
152 * rcparse.y: Set MEMFLAG_PURE by default.
153
df3baf66
NC
1542002-04-09 Bernd Herd <info@herdsoft.com>
155
156 * rcparse.y: CLASS definitions in DIALOG resources
157 are quoted.
4c30641a 158 Fix typo in BEDIT warning.
91eafb40 159 Don't add default dialog style when explicit style specified.
b62a12ca 160 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 161
b24eb5ac
NC
162 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
163 (handle_quotes) "\a" escape (used for right justified key
164 definitions in menus) is encodes as binary 8.
df3baf66 165
b24eb5ac
NC
166 * resrc.c (write_rc_dialog): Print style even if it is 0.
167 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 168 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 169
b24eb5ac
NC
170 * resbin.c (bin_to_res_dialog): Use signature to identify
171 DIALOGEX.
f7d63484 172
b24eb5ac 173 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 174
df3baf66
NC
1752002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
176
177 * resrc.c: print CLASS names in quotes
178
1792002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
180
181 * MAINTAINERS: Update my email address.
182
8e42bcb6
AM
1832002-04-04 Alan Modra <amodra@bigpond.net.au>
184
185 * dep-in.sed: Cope with absolute paths.
186 * Makefile.am (dep.sed): Subst TOPDIR.
187 Run "make dep-am".
188 * Makefile.in: Regenerate.
189
96f959e5
PT
1902002-03-27 Peter Targett <peter.targett@arc.com>
191
192 * MAINTAINERS: Update my email address.
193
1ea788ee
AM
1942002-03-21 Alan Modra <amodra@bigpond.net.au>
195
196 * Makefile.am: Run "make dep-am".
197 * Makefile.in: Regenerate.
198 * doc/Makefile.in: Regenerate.
199 * po/POTFILES.in: Regenerate.
200 * aclocal.m4: Regenerate.
201 * config.in: Regenerate.
202 * configure: Regenerate.
203
a2f14207
DB
2042002-03-20 Daniel Berlin <dan@dberlin.org>
205
206 * readelf.c: Add support for displaying dwarf2 location lists.
207 (do_debug_loc, debug_loc_section, debug_loc_size): New.
208 (parse_args): Use 'O' as shorthand for displaying location list
209 section.
210 (process_section_headers): Handle debug_loc as well.
211 (load_debug_loc): New.
212 (free_debug_loc): New.
213 (fetch_location_list): New.
214 (display_debug_loc): New.
215 (display_debug_info): Call load_debug_loc and free_debug_loc.
216 (debug_displays): We can display .debug_loc now, too.
217 (usage): Update usage string.
218 (read_and_display_attr_value): Note location lists, but don't
219 display them inline.
220
eb1e0e80
NC
2212002-03-18 Tom Rix <trix@redhat.com>
222
223 * Makefile.am: Add binutils emulation support.
224 * configure.in: Same.
225 * configure.tgt: New file. Same.
226 * ar.c (main): Use ar_emul_parse_arg.
227 (usage): Use ar_emul_usage.
228 (replace_members): Use ar_emul_replace, ar_emul_append.
229 * binemul.c: New file. Define the binutils emulation
230 layer. Define default methods.
231 * binemul.h: New file. Binutils emulation layer header file.
232 * emul_aix.c: New file. AIX binutils emulation.
233 * emul_vanilla.c: New file. Default binutils emulation.
234 * Makefile.in: Regenerate.
235 * configure: Same.
236
a1c259a1
NC
2372002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
238
239 * po/fr.po: Updated version.
240
9ce88e60
NC
2412002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
242
243 * po/fr.po: Updated version.
244
effb0601
DJ
2452002-03-07 Daniel Jacobowitz <drow@mvista.com>
246
247 * README: Update some version numbers.
248
a65688ab
DJ
2492002-03-07 Daniel Jacobowitz <drow@mvista.com>
250
251 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
252 (Architecture Selection): Likewise.
253
f3f7fbb2
NC
2542002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
255
256 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
257 generating .exp file.
258
25345be5
NC
2592002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
260
261 * readelf.c (dump_relocations): Fix typo.
262
9a66911f
NC
2632002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
264
265 * NEWS: Mark 2.12 branch.
266
2c71103e
NC
2672002-02-18 Timothy Daly <remote_bob@yahoo.com>
268
269 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
270 types for 64-bit MIPS. Narrow some fields for 80-char
271 output.
272 (dump_relocations): Change spelling from 'unrecognised'
273 to 'unrecognized'.
274 (decode_ARM_machine_flags): Likewise.
275 (parse_args): Likewise.
276 (read_and_display_attr_value): Likewise.
277 (display_debug_section): Likewise.
278
49fda6c8
HPN
2792002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
280
281 * NEWS: Mention support for MMIX.
282
76f57f3a
JT
2832002-02-13 Matt Fredette <fredette@netbsd.org>
284
285 * readelf.c (get_machine_flags): Recognize EF_M68000.
286
d36ca9c2
AO
2872002-02-12 Alexandre Oliva <aoliva@redhat.com>
288
289 * MAINTAINERS: Added self as MN10300 co-maintainer.
290
19397422
AM
2912002-02-12 Alan Modra <amodra@bigpond.net.au>
292
293 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
294 DT_PPC64_OPDSZ.
295
d434e574
DJ
2962002-02-11 Daniel Jacobowitz <drow@mvista.com>
297
298 * MAINTAINERS: List myself as branch maintainer.
299
12b87c89
AM
3002002-02-11 Alan Modra <amodra@bigpond.net.au>
301
302 * configure: Regenerate.
303 * objcopy.c: Update copyright date.
304 * doc/Makefile.in: Regenerate.
305
8d037c5c
DJ
3062002-02-10 Daniel Jacobowitz <drow@mvista.com>
307
308 * nlmconv.c: Back out localtime PARAMS change.
309
4c168fa3
AM
3102002-02-11 Alan Modra <amodra@bigpond.net.au>
311
312 * objcopy.c (MKDIR): Define.
313 (copy_archive): Make name_list.name const. Use MKDIR.
314 Handle duplicate files in archives by making more temp dirs.
315
408f8db1
DJ
3162002-02-10 Daniel Jacobowitz <drow@mvista.com>
317
318 * coffdump.c: Include "getopt.h" after "bucomm.h"
319 so that macros are defined correctly.
320 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
321 prototype. Prototype main.
322 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
323
9f77fa06
AO
3242002-02-06 Alexandre Oliva <aoliva@redhat.com>
325
326 * MAINTAINERS: Added self as SH co-maintainer.
327
82f6addb
NC
3282002-02-05 Nick Clifton <nickc@redhat.com>
329
330 * po/tr.po: Updated translation.
331
ba323545
AM
3322002-02-01 Alan Modra <amodra@bigpond.net.au>
333
334 * Makefile.am: Run "make dep-am"
335 * Makefile.in: Regenerate.
336
3deb89d3
DJ
3372002-01-29 Daniel Jacobowitz <drow@mvista.com>
338
339 * nm.c (print_value): Mark abfd unused.
340
a0e9c55f
DJ
3412002-01-29 Daniel Jacobowitz <drow@mvista.com>
342
343 * unwind-ia64.c (unw_decoder): Change second argument
344 to unsigned int, to match function prototypes.
345
d7a283d4
DJ
3462002-01-29 Daniel Jacobowitz <drow@mvista.com>
347
348 * objdump.c: Include "getopt.h" after "bucomm.h" so that
349 __GNU_LIBRARY__ will be defined.
350 * size.c: Likewise.
351
4867be41
DJ
3522002-01-27 Daniel Jacobowitz <drow@mvista.com>
353
354 * configure: Regenerated.
355
7562a296
HPN
3562002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
357
358 * doc/Makefile.am (install): Depend on install-info.
359 * doc/Makefile.in: Regenerate.
360
15c82623
NC
3612002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
362
363 * objcopy.c (strip_usage): Document -d as an alias
364 --strip-debug.
365
366 * size.c (usage): Document [-t | --totals] options.
367 (long_options): Add --totals option.
368 (main): If the [-t | --totals] option is specified and
369 the output format is Berkeley-style, print the total
370 text, data, and bss sizes of all objects listed.
371 (print_berkeley_format): If the [-t | --totals] option
372 is specified, track the total text, data, and bss
373 sizes.
374 * doc/binutils.texi (size): Document [-t | --totals] options.
375 (strip): Document -d as an alias for --strip-debug.
376 * NEWS: Mention new feature of size.
377
00ea8601 3782002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 379
1ddbd152
NC
380 * po/fr.po: Updated version.
381 * po/es.po: Updated version.
b85cedd7 382
8b53311e
NC
3832002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
384
385 * addr2line.c (usage): Update text to provide verbose
386 description of the command line options.
387 * ar.c (usage): Update text to provide verbose
388 description of the command line options.
389 (main): Accept -h and -H when running as ranlib.
390 * coffdump.c (show_usage): Update text to provide verbose
391 description of the command line options.
392 * dlltool.c (main): Accept -H as an alias for --help.
393 * nlmconv.c (show_usage): Update text to provide verbose
394 description of the command line options.
395 * nm.c (usage): Replace OPTIONS with option(s).
396 (main): Accept -H as an alias for --help.
397 * objcopy.c (strip_main): Accept -H as an alias for --help.
398 * objdump.c (main): Accept -v as an alias for --verbose.
399 * readelf.c (usage): Adjust format to match style used in
400 other binutils.
401 * size.c (usage): Update text to provide verbose description
402 of the command line options.
403 (main): Accept -v, -h and -H as command line options.
404 * srconv.c (show_usage): Update text to provide verbose
405 description of the command line options.
406 * strings.c (main): Accept -H and -v as command line options.
407 (usage): Update text to provide verbose description of the
408 command line options.
409 * sysdump.c (show_usage): Update text to provide verbose
410 description of the command line options.
411 * windres.c (usage): Adjust format to match style used in
412 other binutils.
413
414 * coffdump.c: Fix formatting.
415 * nlmconv.c: Fix formatting.
416 * srconv.c: Fix formatting.
417 * sysdump.c: Fix formatting.
418
c46f0c34
AM
4192002-01-22 Alan Modra <amodra@bigpond.net.au>
420
421 * Makefile.am: Run "make dep-am".
422 * Makefile.in: Regenerate.
423
2a538ba5
AJ
4242002-01-18 Andreas Jaeger <aj@suse.de>
425
426 * version.c (print_version): Update year.
427
285d1771
AM
4282002-01-17 Alan Modra <amodra@bigpond.net.au>
429
430 * readelf.c (get_machine_name): Handle EM_PPC64.
431 (guess_is_rela): Here too.
432
328577ad
NC
4332002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
434
435 * po/binutils.pot: Regenerate.
436 * po/fr.po: Regenerate.
437 * po/tr.po: Regenerate.
438
af3ae48d
NC
4392002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
440
441 * po/tr.po: Import new version.
442
f1cb7e17
AM
4432002-01-16 Alan Modra <amodra@bigpond.net.au>
444
445 * readelf.c (get_ppc64_dynamic_type): New.
446 (get_dynamic_type): Call it.
447
6364e0b4
NC
4482002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
449
3ab9460d
NC
450 * objcopy.c (copy_usage): Use "options" instead of "switches".
451 (strip_usage): Use "options" instead of "switches".
452 * doc/binutils.texi (dlltool): Refer to "options" instead of
453 "switches".
6364e0b4 454
3a7e524e
RE
4552002-01-14 Richard Earnshaw <rearnsha@arm.com>
456
457 * MAINTAINERS: Add self as co-maintainer for the ARM code.
458
1209e219
NC
4592001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
460
461 * po/es.po: Import from translation project.
462 * configure.in (ALL_LINGUAS): Add es.
463 * configure: Regenerate.
464
b4db1224
JT
4652002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
466
467 * readelf.c (get_netbsd_elfcore_note_type): Use
468 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
469
9437c45b
JT
4702002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
471
472 * readelf.c: Update copyright years.
473 (get_note_type): Return a const char *.
474 (get_netbsd_elfcore_note_type): New function.
475 (process_note): Use get_netbsd_elfcore_note_type to get
476 the note type string for NetBSD ELF core files.
477
00428cca
AM
4782002-01-06 Steve Ellcey <sje@cup.hp.com>
479
480 * readelf.c (get_ia64_segment_type): Add support for macros.
481 (get_segment_type): Add support for IA64 specific macros.
482
31104126
NC
4832001-12-20 Julian v. Bock <julian@wongr.net>
484
485 * readelf.c (print_symbol): New function: Print a formatted symbol
486 name. If --wide is specified do not truncate it.
487 (dump_relocations): Use print_symbol() to print symbol names.
488 (process_symbol_table): Likewise.
489 (process_syminfo): Likewise.
490 (process_mips_specific): Likewise.
491 (usage): Document new feature of --wide switch.
492 * doc/binutils.texi (objdump): Document additional behaviour of
493 --wide.
2a538ba5 494
4dd67f29
MS
4952001-12-18 Michael Snyder <msnyder@redhat.com>
496
497 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
498 (copy_object): Don't set the start address or flags of a core file.
499 (copy_section): Don't relocate a core file. Don't copy contents
500 if the input section has the contents flag set, but the output
501 section does not (which happens with the fake 'note' pseudo-
502 sections that BFD creates for corefiles).
503
43521d43
TS
5042001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
505
506 * readelf.c (get_machine_flags): Recognize header flags for ABI and
507 ASE extensions. More robust code for ISA checking. Ignore empty fields
508 in header flags for GNU extensions.
509
b667df2e
AM
5102001-12-18 Alan Modra <amodra@bigpond.net.au>
511
512 * objcopy.c (copy_archive): Set output bfd format outside the loop.
513
17a5a5c3
NC
5142001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
515
516 * po/ja.po: Import from translation project.
517 * configure.in (ALL_LINGUAS): Add ja.
518 * configure: Regenerate.
519
65de42c0
TS
5202001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
521
522 * addr2line.c (main): Protoype.
523 * ar.c (main): Protoype.
524 * nm.c (main): Protoype.
525 * objcopy.c (main): Protoype.
526 * objdump.c (main): Protoype.
527 * size.c (main): Protoype.
528 * strings.c (main): Protoype.
529
9ad5cbcf
AM
5302001-12-17 Alan Modra <amodra@bigpond.net.au>
531
532 * readelf.c (symtab_shndx_hdr): New global.
533 (SECTION_HEADER_INDEX): Define.
534 (SECTION_HEADER_NUM): Define.
535 (SECTION_HEADER): Define.
536 (GET_ELF_SYMBOLS): Pass two params rather than three.
537 (get_32bit_elf_symbols): Take file and section args. Read and
538 use SHT_SYMTAB_SHNDX.
539 (get_64bit_elf_symbols): Likewise.
540 (dump_relocations): Use SECTION_HEADER to index "section_headers".
541 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
542 Remember symtab_shdx_hdr.
543 (process_program_headers): Scan from index 1 for segment map.
544 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
545 "section_headers".
546 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
547 (process_unwind): Likewise.
548 (process_version_sections): Likewise.
549 (process_symbol_table): Likewise.
550 (display_debug_info): Likewise.
551 (process_dynamic_segment): Fake up a symtab section for changed
552 GET_ELF_SYMBOLS.
553 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
554 (process_program_headers): Kill signed/unsigned warning.
555 (load_debug_str): Likewise.
556 (display_debug_info): Likewise.
557
65765700
JJ
5582001-12-13 Jakub Jelinek <jakub@redhat.com>
559
560 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
561
560f3c1c
AM
5622001-12-11 Alan Modra <amodra@bigpond.net.au>
563
564 * readelf.c (process_file_header): Print extended e_shnum and
565 e_shdtrndx values. Set elf_header values for same.
566 (get_32bit_section_headers): Add "num" arg to read "num" headers.
567 (get_64bit_section_headers): Likewise.
568 (process_section_headers): Update calls.
569 (get_file_header): Call get_32bit_section_headers or 64bit variant.
570
bc408b8a
JJ
5712001-12-10 Jakub Jelinek <jakub@redhat.com>
572
573 * objcopy.c (setup_section): Copy entsize.
574
93fbbb04
GK
5752001-12-07 Geoffrey Keating <geoffk@redhat.com>
576
577 * readelf.c (guess_is_rela): Add support for stormy16.
578 (dump_relocations): Likewise.
579 (get_machine_name): Likewise.
580
e3c8793a
NC
5812001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
582
583 * dllwrap.c (main) Replace multiple strings describing a
584 single error with a single, newline escaped sentence to permit
585 better translation into foreign languages.
586
587 * readelf.c (get_elf_class): Remove internalionalisation of ELF
588 class names.
589
956cd1d6
TS
5902001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
591
592 * strings.c (get_char): Initialize value.
593
956c53ee
TS
5942001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
595
596 * arlex.l: Silence compile warnings.
597 * arsup.h: Likewise. Fix formatting.
598
cedd9a58
JJ
5992001-12-04 Jakub Jelinek <jakub@redhat.com>
600
601 * strings.c: Include config.h before bfd.h.
602 (file_off): New type.
603 (file_open): Define.
604 (print_strings): Use file_off instead of file_ptr. Print addresses
605 which don't fit into long correctly.
606 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
607 available.
608 (strings_file): Use file_off instead of file_ptr. Use file_open.
609 * configure.in: Check for getc_unlocked.
610 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
611 be defined for it.
612 * configure: Rebuilt.
613 * config.h.in: Rebuilt.
614
af667503
L
6152001-11-29 H.J. Lu <hjl@gnu.org>
616
617 * bucomm.c (make_tempname): Revert the changes made on
618 2001-11-14 and 2001-11-12. They won't work with directories.
619
16474668
NC
6202001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
621
622 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
623 CFLAGS_FOR_TARGET to runtest in environment.
624 * Makefile.in: Rebuild.
625 * doc/Makefile.in: Rebuild.
626
17978339
MS
6272001-11-28 Mike Stump <mrs@wrs.com>
628
629 * objcopy.c (setup_section): Preserve SEC_RELOC when
630 --set-section-flags is used.
631
261a45ad
NC
6322001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
633
634 * readelf.c (do_debug_str): New variable.
635 (display_debug_str): New function: Display the contents of a
636 .debug_str section.
637 (load_debug_str): New function: Load in the contents of a
638 .debug_str section.
639 (free_debug_str): New function: Free the memory used by
640 load_debug_str().
641 (fetch_indirect_string): Retrieve a string from the .debug_str
642 section.
643 (usage): Add -ws.
644 (parse_args): Accept -ws.
645 (process_section_headers): Allow the display of the .debug_str
646 section.
647 (read_and_display_attr_value): Use fetch_indirect_string. Show
648 offset into .debug_str section.
649 (display_debug_info): Use load_debug_str and free_debug_str.
650 (debug_displays): Add .debug_str.
651 * doc/binutils.texi: Document -ws.
652
b8908f93
AJ
6532001-11-19 Andreas Jaeger <aj@suse.de>
654
655 * testsuite/binutils-all/objdump.exp: Add x86-64.
656
e5fb9629
AS
6572001-11-15 Andreas Schwab <schwab@suse.de>
658
659 * readelf.c: Fix warnings without terminating newline.
660
802a735e
AM
6612001-11-15 Alan Modra <amodra@bigpond.net.au>
662
663 * doc/binutils.texi (objdump): Document ppc -M options.
664
b89e9eae
AJ
6652001-11-14 Andreas Jaeger <aj@suse.de>
666
667 * doc/binutils.texi (objdump): Fix description to use x86-64.
668
a6a25652
NC
6692001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
670
671 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
672 not all systems provide mkstemp.
673
e396998b
AM
6742001-11-14 Alan Modra <amodra@bigpond.net.au>
675
676 * doc/binutils.texi (objdump): Document x86 -M options.
677
81766fca
RH
6782001-11-13 Keith Walker <keith.walker@arm.com>
679
680 * readelf.c (read_and_display_attr_value): New function to
681 handle DW_FORM_indirect.
682 (read_and_display_attr): Use it.
683
1a509dcc
GK
6842001-11-13 Geoffrey Keating <geoffk@redhat.com>
685
686 * readelf.c (display_debug_lines): Deal with unknown standard
687 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
688 DW_LNS_set_isa.
689
6e917903 6902001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 691
6e917903
TW
692 * MAINTAINERS: Add self as tic54x maintainer. This target
693 includes the IBM C54XDSP clone.
7559e86e 694
6e917903 6952001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 696
7559e86e
NC
697 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
698
6992001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 700
ecdadc4a
JL
701 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
702 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
703 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
704 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
705 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
706 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
707 (unw_decode_b2, unw_decode_b3_b4): Likewise.
708
91770270
JL
709 * readelf.c (get_elf_class): Fix ISO portability glitch.
710 (get_data_encoding, get_osabi_name, request_dump): Likewise.
711
ef5cdfc7
JJ
7122001-11-07 Jakub Jelinek <jakub@redhat.com>
713
714 * readelf.c (debug_str, debug_str_size): New.
715 (display_debug_abbrev): If no abbrevs were read, skip the CU.
716 Call free_abbrevs.
717 (read_and_display_addr): Handle DW_FORM_strp.
718 (display_debug_info): Read .debug_str section if present,
719 so that DW_FORM_strp can be handled.
720 Fix test for non-existant .debug_abbrev section.
721
5e9520c8
JJ
7222001-11-05 Jakub Jelinek <jakub@redhat.com>
723
724 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
725
726 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
727
54589086
MS
7282001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
729
730 * MAINTAINERS: Add self as s390/s390x maintainer.
731
c05b685b
TR
7322001-11-02 Tom Rix <trix@bluey.cygnus.com>
733
734 * MAINTAINERS: Add self as PPC XCOFF maintainer.
735
3c62831e
NC
7362001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
737
738 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
739 * configure: Regernate.
740 * po/fr.po: New file.
741 * po/tr.po: New file.
742
3c3bdf30
NC
7432001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
744
9b19141a 745 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
746 * readelf.c: Include elf/mmix.h.
747 (guess_is_rela): MMIX is RELA.
748 (dump_relocations): Handle MMIX relocations.
749 * Makefile.am: Regenerate dependencies.
750 * Makefile.in: Regenerate.
751
f662939a
NC
7522001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
753
754 * readelf.c (parse_args): Handle multiple options to the -w
755 switch.
756
c91d0dfb
JJ
7572001-10-12 Jakub Jelinek <jakub@redhat.com>
758
759 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
760 LOPROC, LOOS and LOUSER.
761
7559e86e 7622001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
763
764 * MAINTAINERS: Update my email address.
765
fcd8210c
AM
7662001-10-03 Alan Modra <amodra@bigpond.net.au>
767
768 * doc/Makefile.in: Regenerate.
769 * configure: Regenerate.
770
428409d5
NC
7712001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
772
773 * readelf.c (display_debug_line, display_debug_pubnames,
774 display_debug_info, display_debug_frames): Detect and warn
775 about 64-bit format entries.
776 (display_debug_aranges): Reword 64-bit warning.
777 (debug_displays): Add .debug_pubtypes as a known, but not yet
778 supported, debug section.
779
6a8c2b0d
AM
7802001-10-02 Alan Modra <amodra@bigpond.net.au>
781
782 * coffdump.c (PROGRAM_VERSION): Delete.
783 (main <'V'>): Call print_version.
784 * srconv.c: Likewise.
785 * sysdump.c: Likewise.
786 * version.c (program_version): Remove.
787 (print_version): Use BFD_VERSION_STRING. Just print the current
788 year in copyright message.
789 * addr2line.c (program_version): Remove unused declaration.
790 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
791 place of BFD_VERSION.
792 * Makefile.am (Makefile): Depend on bfd/configure.in.
793 (cplus-dem.o): Depend on Makefile.
794 Run "make dep-am".
795 * Makefile.in: Regenerate.
796
e414a165
NC
7972001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
798
799 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
800 format .debug_arange sections.
801 (main): Add missing prototype.
b8908f93 802
efc3ee7f
HPN
8032001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
804
805 * Makefile.am: Update dependencies with "make dep-am".
806 * Makefile.in: Regenerate.
807
9e85c2a0
RH
8082001-09-28 Richard Henderson <rth@redhat.com>
809
810 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
811
451dad9c
AM
8122001-09-26 Alan Modra <amodra@bigpond.net.au>
813
814 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
815 VA_CLOSE.
816 (non_fatal): Likewise.
817 * objdump.c (objdump_sprintf): Likewise.
818 * readelf.c (error): Likewise.
819 (warn): Likewise.
820
d974e256
JJ
8212001-09-25 Jakub Jelinek <jakub@redhat.com>
822
823 * readelf.c (do_wide): New.
824 (options): Add --wide.
825 (usage, parse_args): Likewise.
826 (process_program_headers): Put each segment on a single line if
827 --wide is given.
828 (process_section_headers): Put each section on a single line if
829 --wide is given.
830 * doc/binutils.texi: Document it.
831 * NEWS: Likewise.
832
2f11c261
AM
8332001-09-25 Alan Modra <amodra@bigpond.net.au>
834
835 * readelf.c (print_vma): Print 8 digits of low hex value.
836
1d50f91e
AJ
8372001-09-24 Andreas Jaeger <aj@suse.de>
838
839 * nlmconv.c: Fix warnings about unused attributes and function
840 prototypes.
841
842 * strings.c: Add prototype for get_char.
843
38131e67
L
8442000-09-19 H.J. Lu <hjl@gnu.org>
845
846 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
847 $(srcdir)/cxxfilt.man.
848 * doc/Makefile.in: Rebuild.
849
3bcfb3e4
AM
8502001-09-19 Alan Modra <amodra@bigpond.net.au>
851
852 * objcopy.c (copy_main): Correct rename-section string parsing.
853 Consolidate new_name parsing, and error messages.
854
3882b010
L
8552001-09-18 Bruno Haible <haible@clisp.cons.org>
856
857 * addr2line.c: Don't include <ctype.h>.
858 (main): For gettext, also set the LC_CTYPE locate facet.
859 * ar.c (main): Likewise.
860 * coffdump.c (main): Likewise.
861 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
862 (main): For gettext, also set the LC_CTYPE locate facet.
863 Use ISALNUM instead of isalpha/isdigit.
864 * dllwrap.c: Don't include <ctype.h>.
865 (main): For gettext, also set the LC_CTYPE locate facet.
866 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
867 (main): For gettext, also set the LC_CTYPE locate facet.
868 Use TOUPPER instead of islower/toupper.
869 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
870 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
871 Use TOUPPER instead of islower/toupper.
872 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
873 * objcopy.c (main): Likewise.
874 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
875 (disassemble_bytes): Use ISPRINT instead of isprint.
876 (dump_section_stabs): Use ISDIGIT instead of isdigit.
877 (dump_data): Use ISPRINT instead of isprint.
878 (main): For gettext, also set the LC_CTYPE locate facet.
879 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
880 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
881 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
882 Use TOUPPER instead of islower/toupper.
883 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
884 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
885 (write_rc_accelerators): Use ISPRINT instead of isprint.
886 (write_rc_rcdata): Likewise.
887 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
888 * srconv.c (main): Likewise.
889 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
890 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
891 isdigit/isupper/islower.
892 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
893 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
894 stab_demangle_prefix, stab_demangle_qualified,
895 stab_demangle_template, stab_demangle_type,
896 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
897 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
898 (isgraphic): Use ISPRINT instead of isascii/isprint.
899 (main): Remove HAVE_LC_MESSAGES dependency.
900 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
901 (pbarray): Use ISPRINT instead of isprint.
902 (main): For gettext, also set the LC_CTYPE locate facet.
903 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
904 (format_from_filename): Use ISPRINT instead of isprint.
905 (main): For gettext, also set the LC_CTYPE locate facet.
906 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
907 (unicode_print): Use ISPRINT instead of isprint.
908 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
909 (stab_variable): Use ISDIGIT instead of isdigit.
910
e59b4dfb
AM
9112001-09-18 Alan Modra <amodra@bigpond.net.au>
912
913 * ar.c (print_contents): Cast args of bfd_seek to the right types.
914 Replace bfd_read call with call to bfd_bread.
915 (extract_file): Likewise.
916
917 * objdump.c (dump_section_header): Cast section->filepos to
918 unsigned long to suit printf format string.
919 * readelf.c (process_section_headers): Similarly for sh_offset.
920 (process_unwind): Likewise.
921
d132876a
NC
9222001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
923
924 * strings.c (encoding, encoding_bytes): New variables.
925 (long_options): Add --encoding.
926 (main): Accept -e and --encoding.
927 (get_char): New function. Read a, possibly wide, character from
928 the input stream.
929 (print_strings): Use get_char().
930 (usage): Document new command line option.
931 * doc/binutils.texi: Document new command line option.
932 * NEWS: Announce new command line option.
933
7559e86e 9342001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
935
936 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
937 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
938 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
939 Removed EM_CYGNUS_ARC.
940
7559e86e 9412001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
942
943 * readelf.c: Include elf/h8 for H8 series definitions.
944 (guess_is_rela): H8 series if RELA.
945 (dump_relocations): Handle H8 series relocations.
946
0823fbca
EC
9472001-08-31 Eric Christopher <echristo@redhat.com>
948
949 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
950
8db76d70
PT
9512001-08-29 Peter Targett <peter.targett@arccores.com>
952
953 * MAINTAINERS: Include ARC Maintainer.
954
d81d6584
BE
9552001-08-29 Ben Elliston <bje@redhat.com>
956
957 * stabs.c (stab_demangle_template): Initialise s4.
958
25a1ff5b
AM
9592001-08-27 Alan Modra <amodra@bigpond.net.au>
960
961 * readelf.c (dump_relocations): Recognise EM_PPC64.
962
a5d22d2a
TS
9632001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
964
965 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
966
62a5a82d
L
9672001-08-25 H.J. Lu <hjl@gnu.org>
968
969 * nm.c (print_width): New.
970 (display_rel_file): Set `print_width' according to
971 bfd_sprintf_vma.
972 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
973
1ae8b3d2
AO
9742001-08-24 Alexandre Oliva <aoliva@redhat.com>
975
976 * objcopy.c (use_alt_mach_code): New variable.
977 (OPTION_ALT_MACH_CODE): Define.
978 (copy_options): Added --alt-machine-code.
979 (copy_main): Handle it.
980 (copy_object): Switch to alternate machine code if requested.
981 * doc/binutils.texi: Document new option.
982 * NEWS: Likewise.
983
d1bdd336
TS
9842001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
985
986 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
987
410f7a12
L
9882001-08-21 H.J. Lu <hjl@gnu.org>
989
990 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
991 (display_debug_info): Cast for 64bit hosts.
992 (display_debug_frames): Likewise.
993 (process_mips_specific): Likewise.
994
c32144ff
AJ
9952001-08-21 Andreas Jaeger <aj@suse.de>
996
997 * coffgrok.h: Add missing parameter for prototype of coff_grok.
998
999 * sysdump.c: Add missing prototypes.
1000 * srconv.c: Likewise.
1001 * unwind-ia64.c: Likewise.
1002 * coffdump.c: Likewise.
1003
1004 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1005
1006 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1007 of declaring xcalloc.
1008
d8180c76
L
10092001-08-10 H.J. Lu <hjl@gnu.org>
1010
1011 * nm.c (print_value): Add one arg, bfd *.
1012 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1013 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1014 (print_symbol_info_sysv): Likewise.
1015 (print_symbol_info_posix): Likewise.
1016
1017 * objdump.c (dump_section_header): Replace printf_vma with
1018 bfd_printf_vma.
1019 (print_section_stabs): Likewise.
1020 (dump_bfd_header): Likewise.
1021 (objdump_print_value): Replace sprintf_vma with
1022 bfd_sprintf_vma.
1023 (disassemble_bytes): Likewise.
1024 (dump_reloc_set): Likewise.
1025
0218d1e4
AJ
10262001-08-10 Andreas Jaeger <aj@suse.de>
1027
1028 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1029 to build warnings.
1030 * configure: Regenerate.
1031
2863d58a
AM
10322001-08-09 Alan Modra <amodra@bigpond.net.au>
1033
1034 * readelf.c: Add missing prototypes.
1035 * objdump.c: Likewise. Format existing prototypes.
1036
c0e047e0
AO
10372001-08-08 Alexandre Oliva <aoliva@redhat.com>
1038
1039 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1040 of any RELA relocation for the abbrev_offset memory location that
1041 refers to the .debug_abbrev section symbol.
1042
ff78d6d6
L
10432001-08-07 H.J. Lu <hjl@gnu.org>
1044
1045 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1046 (main): Return process_file ().
1047
c36774d6
PB
10482001-08-05 Philip Blundell <philb@gnu.org>
1049
1050 * doc/binutils.texi: Use "Thumb" not "THUMB".
1051
8f9d9bd9
JH
10522001-08-03 John Healy <jhealy@redhat.com>
1053
1054 Patch suggested by Frank Eigler <fche@redhat.com>.
1055 * objdump.c (disassemble_data): Fill in section member of the
1056 disasm_info structure.
1057
c918cb96
DD
10582001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1059
1060 * configure.in: Added --with-windres option.
1061 * configure: Regenerated.
1062
c7c55b78
NC
10632001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1064
1065 * doc/binutils.texi: Use @command{name} for commands;
1066 use @option{-opt} for options; use @table @env for list of options;
1067 remove spaces arround [ | ] in synopsis.
1068
1069 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1070 center title.
1071
594ef5db
NC
10722001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1073
1074 * objcopy.c: Fix formatting.
1075 (section_rename): New structure.
1076 (OPTION_RENAME_SECTION): New switch.
1077 (copy_usage): Document new switch.
1078 (add_section_rename): New function: Add a node to the section
1079 rename list.
1080 (find_section_rename): New function: Find the new name and
1081 flags for a section.
1082 (setup_section): Call find_section_name to determine the name
1083 of the output section.
1084 (copy_main): Handle OPTION_RENAME_SECTION.
1085 * binutils.texi: Document new switch.
1086 * NEWS: Mention new switch.
1087
1f554c69
NC
10882001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1089
1090 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1091 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1092 bug-binutils@gcc.org.
1093
2f83960e
AM
10942001-07-28 Matthias Kramm <kramm@quiss.org>
1095
1096 * bucomm.c (list_supported_architectures): New function.
1097 * bucomm.h (list_supported_architectures): Declare.
1098 * objdump.c (usage): Call the above.
1099
20fe0649
DB
11002001-07-25 Dave Brolley <brolley@redhat.com>
1101
1102 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1103 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1104
1b577b00
NC
11052001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1106
1107 * README: Update for 2.11. Change bug reporting email address.
1108 * MAINTAINERS: Tidy up. Change bug reporting email address.
1109
95fd336c
DD
11102001-07-16 DJ Delorie <dj@redhat.com>
1111
5f16d855
DD
1112 * resres.c (write_res_header): Align header size.
1113 (res_align_file): Calculate alignment correctly.
1114
95fd336c
DD
1115 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1116 correct 10).
1117 * resrc.c (write_rc_resource): Likewise.
1118 * windres.h (SUBLANG_SHIFT): Define - as 10.
1119
ed8fee27
NC
11202001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1121
1122 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1123
90ab7e9a
NC
11242001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1125
1126 * MAINTAINERS: Add notes about branch checkins.
1127
e0c60db2
NC
11282001-07-05 Daniel Berlin <dan@cgsoftware.com>
1129
1130 * readelf.c (display_debug_macinfo): New function, display
1131 .debug_macinfo section.
1132 (do_debug_macinfo): New variable.
1133 (parse_args): Handle "-w[mM]" to mean display macro info.
1134 (process_section_headers): Handle debug_macinfo.
1135 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1136 function for .debug_macinfo display.
e0c60db2
NC
1137 * doc/binutils.texi: Document new command line switch.
1138 * NEWS: Document new feature of readelf.
0218d1e4 1139
24e01a36
L
11402001-07-05 H.J. Lu <hjl@gnu.org>
1141
1142 * objcopy.c (filter_symbols): Don't turn undefined symbols
1143 into local.
1144
4258bf4d
L
11452001-07-03 H.J. Lu <hjl@gnu.org>
1146
1147 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1148 $@.pod.
1149 (ar.1): Likewise.
1150 (dlltool.1): Likewise.
1151 (nlmconv.1): Likewise.
1152 (nm.1): Likewise.
1153 (objcopy.1): Likewise.
1154 (objdump.1): Likewise.
1155 (ranlib.1): Likewise.
1156 (readelf.1): Likewise.
1157 (size.1): Likewise.
1158 (strings.1): Likewise.
1159 (strip.1): Likewise.
1160 (windres.1): Likewise.
1161 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1162 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1163 $(DEMANGLER_NAME).
1164 (as.1): Removed.
1165 * doc/Makefile.in: Regenerated.
1166
7014bc31
NC
11672001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1168
1169 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1170
b811889f
NC
11712001-07-01 Daniel Berlin <dan@cgsoftware.com>
1172
1173 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1174
12ab83a9
NC
11752001-06-29 James Cownie <jcownie@etnus.com>
1176
1177 * readelf.c: Support DWARF 2.1 attributes.
1178
a6e9f9df
AM
11792001-06-28 Alan Modra <amodra@bigpond.net.au>
1180
1181 * readelf.c (GET_DATA_ALLOC): Remove.
1182 (GET_DATA): Remove.
1183 (get_data): New function combining above macros, with an extra
1184 test for zero size.
1185 (slurp_rela_relocs): Use get_data, and catch error return.
1186 (slurp_rel_relocs): Likewise.
1187 (get_32bit_program_headers): Likewise.
1188 (get_64bit_program_headers): Likewise.
1189 (get_32bit_section_headers): Likewise.
1190 (get_64bit_section_headers): Likewise.
1191 (get_32bit_elf_symbols): Likewise.
1192 (get_64bit_elf_symbols): Likewise.
1193 (process_section_headers): Likewise.
1194 (process_relocs): Likewise.
1195 (slurp_ia64_unwind_table): Likewise.
1196 (process_unwind): Likewise.
1197 (get_32bit_dynamic_segment): Likewise.
1198 (get_64bit_dynamic_segment): Likewise.
1199 (process_dynamic_segment): Likewise.
1200 (process_version_sections): Likewise.
1201 (process_symbol_table): Likewise.
1202 (dump_section): Likewise.
1203 (display_debug_info): Likewise.
1204 (display_debug_section): Likewise.
1205 (process_section_contents): Likewise.
1206 (process_corefile_note_segment): Likewise.
1207 (process_mips_specific): Likewise. Also free econf32, econf64.
1208
af3fc3bc
AM
12092001-06-25 Alan Modra <amodra@bigpond.net.au>
1210
1211 * readelf.c (dump_relocations): Print "bad symbol index" if
1212 symtab == NULL with non-zero symtab_index.
1213 (process_relocs): Don't bomb if reloc section has no symsec.
1214
6d900bf6
L
12152001-06-24 H.J. Lu <hjl@gnu.org>
1216
1217 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1218 by accident.
1219 (copy_main): Apply the the change made to strip_main on
1220 2001-05-30 by accident.
1221
49b4e386
AJ
12222001-06-23 Andreas Jaeger <aj@suse.de>
1223
1224 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1225 parameter 'code'.
1226 (unw_decode_x2): Likewise.
1227 (unw_decode_x3): Likewise.
1228 (unw_decode_x4): Likewise.
1229
d8dc71e3
BE
12302001-06-23 Ben Elliston <bje@redhat.com>
1231
1232 * MAINTAINERS: Add myself as M88k maintainer.
1233
af3bdff7
NC
12342001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1235
1236 * objcopy.c (strip_main): Support -o or --output-file command lien
1237 switch.
1238
105e7211
L
12392001-06-19 H.J. Lu <hjl@gnu.org>
1240
1241 * doc/Makefile.in: Regenerated.
1242
c45021f2
NC
12432001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1244
1245 * readelf.c: Restore formatting.
1246
12472001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1248
1249 * Makefile.am: Move documentation into doc subdirectory.
1250 * Makefile.in: Regenerated.
1251 * binutils.texi: Move into doc subdirectory.
1252 * addr2line.1: Removed.
1253 * ar.1: Likewise.
1254 * dlltool.1: Likewise.
1255 * nlmconv.1: Likewise.
1256 * nm.1: Likewise.
1257 * objcopy.1: Likewise.
1258 * objdump.1: Likewise.
1259 * ranlib.1: Likewise.
1260 * readelf.1: Likewise.
1261 * size.1: Likewise.
1262 * strings.1: Likewise.
1263 * strip.1: Likewise.
1264 * windres.1: Likewise.
1265 * cxxfilt.man: Likewise.
1266 * doc: New Directory.
1267 * doc/Makefile.am: New file.
1268 * doc/Makefile.in: Generate.
1269
09ad7db3
AM
12702001-06-09 Alan Modra <amodra@bigpond.net.au>
1271
1272 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1273
936260fe
AM
12742001-06-01 Alan Modra <amodra@bigpond.net.au>
1275
1276 * MAINTAINERS: Update my email address.
1277
16b2b71c
NC
12782001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1279
1280 * objcopy.c: Add new switches: --keep-global-symbol,
1281 --keep-symbols, --localize-symbols, --keep-global-symbols and
1282 --weaken-symbols.
1283 * binutils.texi: Document new switches.
1284 * objcopy.1: Regenerate.
1285 * NEWS: Announce new feature.
1286
7036c0e1
AJ
12872001-05-28 Andreas Jaeger <aj@suse.de>
1288
1289 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1290 variables, fix format strings.
1291
76a406e5
NC
12922001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1293
1294 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1295 when computing the address of the line to show.
1296
31b6fca6
RH
12972001-05-16 Richard Henderson <rth@redhat.com>
1298
1299 * readelf.c (do_debug_frames_interp): New.
1300 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1301 (byte_get_big_endian): Likewise.
1302 (parse_args) ['F']: Set do_debug_frames_interp.
1303 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1304 (frame_display_row): Don't trunc pc_begin to int.
1305 (size_of_encoded_value): New.
1306 (display_debug_frames): Handle 64-bit targets. Print raw data
1307 unless do_debug_frames_interp.
1308 (debug_displays): Remove duplicate .debug_frame.
1309
4fe85591
NC
13102001-05-15 Ralf Baechle <ralf@gnu.org>
1311
1312 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1313 The former constant was never in active use and is used otherwise
1314 by the ABI.
1315
579f31ac
JJ
13162001-05-11 Jakub Jelinek <jakub@redhat.com>
1317
1318 * readelf.c (process_unwind): Print all unwind sections, not just
1319 one.
1320
78f4a3f7
AM
13212001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1322
1323 * readelf.c (process_unwind): Remove const specifier.
1324
1c529ca6
NC
13252001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1326
1327 * strings.c (isgraphic): Do not use isascii() unless it is needed
1328 for isprint() to work.
1329 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1330
87e6d782
NC
13312001-04-27 Johan Rydberg <jrydberg@opencores.org>
1332
1333 * NEWS: Announce support for OpenRISC.
1334
4bd3d870 13352001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1336
1337 * dlltool.c (do_default_excludes): Initialise to true.
1338
21211521
AM
13392001-04-10 Alan Modra <amodra@one.net.au>
1340
1341 * MAINTAINERS: Update my email address
1342 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1343
0c66b61e 13442001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1345
1346 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1347
e58d53af
L
13482001-03-30 H.J. Lu <hjl@gnu.org>
1349
1350 * readelf.c (process_unwind): Just return if do_unwind is 0.
1351
bee72332
DD
13522001-03-28 Roger Sayle <roger@metaphorics.com>
1353
1354 * dlltool.c (make_one_lib_file): Fix section flags for
1355 .text, .data and .bss in stub ds*.o files to match those
1356 generated by gas.
1357
f1467e33
L
13582001-03-29 H.J. Lu <hjl@gnu.org>
1359
1360 * readelf.c (process_unwind): Only do unwind sections for
1361 IA64.
1362
1c6fb4fe
L
13632001-03-28 H.J. Lu <hjl@gnu.org>
1364
1365 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1366 * Makefile.in: Regenerate.
1367
0879a67a
AJ
13682001-03-26 Andreas Jaeger <aj@suse.de>
1369
1370 * binutils.texi (nm): Fix texi syntax.
1371
0285c67d
NC
13722001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1373
1374 * binutils.texi: Put @c man begin and @c man end indications
1375 to generate man pages using texi2pod and pod2man. Put @c man title
1376 to identify each man. Add SEEALSO entries.
1377 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1378 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1379 sort the list.
1380 (*.1): Build the man pages from binutils.texi.
1381 * Makefile.in: Regenerate.
1382
04847a4d
CF
13832001-03-13 Eric Kohl <ekohl@rz-online.de>
1384
1385 * defparse.y (opt_equal_name): allow "." in name.
1386 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1387 (gen_exp_file): Likewise.
1388
43a0748c
NC
13892001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1390
1391 * NEWS: Document addition of -B switch to objcopy.
1392 * binutils.texi: Document addition of -B switch to objcopy.
1393 * objcopy.c: (copy_options): Add --binary-architecture.
1394 (copy_usage): Document -B/--binary-architecture.
1395 (copy_main): Support -B/--binary-architecture. Set
1396 bfd_external_binary_architecture.
0879a67a 1397
b7498e0e
NC
13982001-03-11 Andreas Jaeger <aj@suse.de>
1399
1400 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1401 (dump_relocations): Likewise.
1402 (get_machine_name): Likewise.
1403
a59e3bd7
NC
14042001-02-28 Nick Clifton <nickc@redhat.com>
1405
1406 * readelf.c: (struct unw_aux_info): Remove const modifier for
1407 'strtab' field.
1408 (process_unwind): Remove non-K&R compliant LHS type cast in call
1409 to GET_DATA_ALLOC macro.
1410
a5bcd848
PB
14112001-02-28 Philip Blundell <pb@futuretv.com>
1412
1413 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1414 ABI is in use; remove ambiguity between the "unknown" EABI and
1415 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1416 renamed EF_xx constants.
1417
27b7e12d
AM
14182001-02-27 Alan Modra <alan@linuxcare.com.au>
1419
1420 * configure.in (BFD_VERSION): New.
1421 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1422 * configure: Regenerate.
1423 * Makefile.am: Run "make dep-am"
1424 * Makefile.in: Regenerate.
1425
a9f10786
NC
14262001-02-14 Nick Clifton <nickc@redhat.com>
1427
1428 * MAINTAINERS: Add "Obvious Fix" rule.
1429
3c44da9a
MS
14302001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1431
1432 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1433 literal concatenation.
1434
ecd03389
MS
14352001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1436
1437 * readelf.c (struct unw_aux_info): Remove const from the info member.
1438 (process_unwind): Don't type-cast the third argument to the
1439 GET_DATA_ALLOC macro.
1440
88ec60c7
NC
14412001-02-11 Nick Clifton <nickc@redhat.com>
1442
1443 * readelf.c (dump_relocations): Free corrected allocated
1444 array.
1445 (process_unwind): Fix compile time warning.
1446
f5e21966
NC
14472001-02-10 Nick Clifton <nickc@redhat.com>
1448
1449 * binutils.texi: Document new --unwind option to readelf.
1450
a85d7ed0
NC
14512001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1452
1453 * readelf.c: Add linux target for S/390.
1454
7bb10502
AM
14552001-02-10 Alan Modra <alan@linuxcare.com.au>
1456
1457 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1458 printf is a macro.
1459
8ca8f343
HPN
14602001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1461
1462 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1463 * aclocal.m4: Regenerate.
1464 * configure: Regenerate.
1465
7340082d
NC
14662001-02-07 Todd Vierling <tv@wasabisystems.com>
1467
1468 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1469 * objdump.c (bfd_target_vector): Likewise.
1470
4d6ed7c8
NC
14712001-02-07 David Mosberger <davidm@hpl.hp.com>
1472
1473 * readelf.c (process_unwind): New function.
1474 (slurp_ia64_unwind_table): Ditto.
1475 (dump_ia64_unwind): Ditto.
1476 (find_symbol_for_address): Ditto.
1477 (slurp_rela_relocs): New function (split off from dump_relocations()).
1478 (slurp_rel_relocs): Ditto.
1479 (parse_args): Handle '-u' option.
1480
1481 * unwind-ia64.c: New file.
1482 * unwind-ia64.h: New file.
1483 * Makefile.am: Include unwind-ia64.c in readelf build.
1484 * Makefile.in: Regenerate.
7340082d 1485 * po/binutils.pot: Regenerate.
4d6ed7c8 1486
c7217458
PB
14872001-02-04 Philip Blundell <philb@gnu.org>
1488
1489 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1490 * configure: Regenerate.
1491
956eedd4
AM
14922001-01-31 Steve deRosier <sderosier@vari-lite.com>
1493
1494 * ieee.c (ieee_add_bb11): Don't check for backslashes
1495 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1496
8855cbca
AM
14972001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1498
c7f2731e
AM
1499 * ieee.c: Update copyright.
1500 (ieee_start_compilation_unit): Don't check for backslashes
1501 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1502
8855cbca
AM
1503 * stabs.c: Update copyright. Include "filenames.h".
1504 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1505
329de803 15062001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1507
1508 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1509 sections are present before using them. Remove code duplication.
1510 (process_symbol_table): Check if VERDEF or VERNEED sections are
1511 present before using them.
1512
23719f39
NC
15132001-01-17 Nick Clifton <nickc@redhat.com>
1514
1515 * objcopy.c (copy_object): Fail if attempting to convert the
1516 endianness of the input object file.
1517
1518 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1519
f726e849
NC
15202001-01-16 Nick Clifton <nickc@redhat.com>
1521
1522 * readelf.c (string_table_length): New variable.
1523 (SECTION_NAME): Catch out of range indices and missing section
1524 pointers.
1525 (process_section_headers): Delete useless local variable
1526 string_table_offset. Set the value of string_table_length
1527 after loading the string table.
1528 (process_mips_specific): Use SECTION_NAME macro.
1529 (process_file): Set string_table_length to 0 when it is freed.
1530
d0398d6a
NC
15312001-01-12 Nick Clifton <nickc@redhat.com>
1532
1533 * version.c (print_version): Update copyright date.
1534
0d2bcfaf
NC
15352001-01-11 Peter Targett <peter.targett@arccores.com>
1536
1537 * readelf.c (dump_relocations): Include selection with EM_ARC.
1538 (get_machine_name) Update name to "ARC".
1539
8b1e6df3
NC
15402001-01-09 Nick Clifton <nickc@redhat.com>
1541
1542 * Makefile.am: Add rule to build objdump.o from objdump.c and
1543 using OBJDUMP_DEFS.
1544 * Makefile.in: Regenerate.
1545
1546 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1547 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1548 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1549 * configure: Regenerate.
8b1e6df3
NC
1550
1551 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1552 is defined read in the relocs even if dump_reloc_info is
1553 false.
1554
2f952d20
PB
15552001-01-07 Philip Blundell <philb@gnu.org>
1556
1557 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1558 `bug-binutils'.
1559 * README: Likewise.
1560
a8c548cb
NC
15612000-12-19 Nick Clifton <nickc@redhat.com>
1562
1563 * dlltool.c: Add missing support for arm-epoc-pe.
1564 * configure.in: Add missing support for arm-epoc-pe.
1565 * configure: Regenerate.
1566
cc5fda35
NC
15672000-12-15 Nick Clifton <nickc@redhat.com>
1568
1569 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1570 Mode parts of the x86 port.
1571
bcedfee6
NC
15722000-12-04 Andreas Jaeger <aj@suse.de>
1573
1574 * readelf.c (guess_is_rela): Add EM_X86_64.
1575 (dump_relocations): Add EM_X86_64.
1576 (get_machine_name): Add EM_X86_64.
1577 Include "elf/x86-64.h".
1578
584da044
NC
15792000-12-12 Nick Clifton <nickc@redhat.com>
1580
1581 * readelf.c: Fix formatting.
1582
7559e86e 15832000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1584
1585 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1586
a98cc2b2
AH
15872000-12-07 Andrew Haley <aph@redhat.com>
1588
1589 * readelf.c (display_debug_frames): Only display columns that are
1590 referenced by the frame debug info.
1591
c7987a69
NC
15922000-12-05 Nick Clifton <nickc@redhat.com>
1593
1594 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1595
09fd7e38
JM
15962000-12-04 Jason Merrill <jason@redhat.com>
1597
1598 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1599 (display_debug_section): Likewise.
1600 (display_debug_info): Display CU header before bailing.
1601
e7af610e
NC
16022000-12-01 Chris Demetriou <cgd@sibyte.com>
1603
09fd7e38
JM
1604 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1605 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1606 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1607
09fd7e38
JM
1608 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1609 and E_MIPS_ARCH_64.
84ea6cf2 1610
09fd7e38
JM
1611 * readelf.c (get_machine_flags): Add case for
1612 E_MIPS_MACH_SB1.
c6c98b38 1613
75066968
DD
16142000-11-30 Richard Earnshaw <rearnsha@arm.com>
1615
1616 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1617
5c4666ea
HPN
16182000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1619