* elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
e1d5b1e7
AM
12002-05-09 Alan Modra <amodra@bigpond.net.au>
2
3 * configure.in: Replace `*pe' with `pe' throughout.
4 * configure: Regenerate.
5
d3d8a9ee
NC
62002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
7
8 * Makefile.am: Honour DESTDIR.
9 * Makefile.in: Regenerate.
10
405c98a4
AM
112002-05-06 Alan Modra <amodra@bigpond.net.au>
12
a02d5965
AM
13 * dlltool.c (process_def_file): Add missing prototype.
14 (new_directive, assemble_file, main): Likewise.
15 (process_def_file, new_directive): Make static.
16 (inform): Rewrite using VA_FIXEDARG.
17 * dllwrap.c (mybasename): Add missing prototype.
18 (strhash, main): Likewise.
19 (inform): Rewrite using VA_FIXEDARG.
20 (warn): Likewise.
21 (cleanup_and_exit): Use old style function definition.
22 (strhash): Likewise.
23 * windres.c (define_resource): Use one memset to clear all of
24 struct res_resource.
25
405c98a4 26 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 27 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
28
292002-05-06 Borut Razem <borut.razem@siol.net>
30
31 * rclex.l (get_string): Correct "strings" list handling.
32 * resrc.c (read_rc_file): Discard strings.
33
91593c9d
AM
342002-05-04 Alan Modra <amodra@bigpond.net.au>
35
e58a75dc
AM
36 * ar.c (replace_members): Remove unused var. Formatting fix.
37 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
38
91593c9d
AM
39 * MAINTAINERS: Sort port maintainers by CPU.
40
6b52b824
AM
412002-05-04 Bob Byrnes <byrnes@curl.com>
42
43 * size.c (display_archive): Add last_arfile and code to close archives.
44
dd70071f
AM
452002-05-01 Alan Modra <amodra@bigpond.net.au>
46
47 * nm.c (print_symbol): Check returned filename from
48 bfd_find_nearest_line is non-NULL.
49
6c95717a
EZ
502002-04-25 Elena Zannoni <ezannoni@redhat.com>
51
52 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
53
3c25c5f6
NC
542002-04-24 Christian Groessler <chris@groessler.org>
55
56 * MAINTAINERS: Changed my email address.
57
944cd72c
TS
582002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
59
60 * arparse.y: Fix syntax warning.
61
ea91f8bb
NC
622002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
63
3e55a963
NC
64 * readelf.c (fetch_location_list): Remove unused function.
65
66 * readelf.c (process_corefile_note_segment): Catch corrupt notes
67 and display a warning message, then exit the loop.
68
ea91f8bb
NC
69 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
70
45b99827
NC
712002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
72
73 * resrc.c (write_rc_dialog): If charset is non-default value
74 display all of the DIALOGEX parameters.
75
762002-04-15 Eric Kohl <ekohl@rz-online.de>
77
78 * rcparse.y: Allow two to five parameter in FONT statement of
79 DIALOGEX resources.
80 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
81 resource data.
82 (res_to_bin_dialog): Likewise.
83 * windres.h: Added misssing charset variable to dialog_ex
84 structure.
85
acfbab8a
NC
862002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
87
88 * rcparse.y: Set MEMFLAG_PURE by default.
89
df3baf66
NC
902002-04-09 Bernd Herd <info@herdsoft.com>
91
92 * rcparse.y: CLASS definitions in DIALOG resources
93 are quoted.
4c30641a 94 Fix typo in BEDIT warning.
91eafb40 95 Don't add default dialog style when explicit style specified.
b62a12ca 96 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 97
b24eb5ac
NC
98 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
99 (handle_quotes) "\a" escape (used for right justified key
100 definitions in menus) is encodes as binary 8.
df3baf66 101
b24eb5ac
NC
102 * resrc.c (write_rc_dialog): Print style even if it is 0.
103 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 104 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 105
b24eb5ac
NC
106 * resbin.c (bin_to_res_dialog): Use signature to identify
107 DIALOGEX.
f7d63484 108
b24eb5ac 109 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 110
df3baf66
NC
1112002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
112
113 * resrc.c: print CLASS names in quotes
114
1152002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
116
117 * MAINTAINERS: Update my email address.
118
8e42bcb6
AM
1192002-04-04 Alan Modra <amodra@bigpond.net.au>
120
121 * dep-in.sed: Cope with absolute paths.
122 * Makefile.am (dep.sed): Subst TOPDIR.
123 Run "make dep-am".
124 * Makefile.in: Regenerate.
125
96f959e5
PT
1262002-03-27 Peter Targett <peter.targett@arc.com>
127
128 * MAINTAINERS: Update my email address.
129
1ea788ee
AM
1302002-03-21 Alan Modra <amodra@bigpond.net.au>
131
132 * Makefile.am: Run "make dep-am".
133 * Makefile.in: Regenerate.
134 * doc/Makefile.in: Regenerate.
135 * po/POTFILES.in: Regenerate.
136 * aclocal.m4: Regenerate.
137 * config.in: Regenerate.
138 * configure: Regenerate.
139
a2f14207
DB
1402002-03-20 Daniel Berlin <dan@dberlin.org>
141
142 * readelf.c: Add support for displaying dwarf2 location lists.
143 (do_debug_loc, debug_loc_section, debug_loc_size): New.
144 (parse_args): Use 'O' as shorthand for displaying location list
145 section.
146 (process_section_headers): Handle debug_loc as well.
147 (load_debug_loc): New.
148 (free_debug_loc): New.
149 (fetch_location_list): New.
150 (display_debug_loc): New.
151 (display_debug_info): Call load_debug_loc and free_debug_loc.
152 (debug_displays): We can display .debug_loc now, too.
153 (usage): Update usage string.
154 (read_and_display_attr_value): Note location lists, but don't
155 display them inline.
156
eb1e0e80
NC
1572002-03-18 Tom Rix <trix@redhat.com>
158
159 * Makefile.am: Add binutils emulation support.
160 * configure.in: Same.
161 * configure.tgt: New file. Same.
162 * ar.c (main): Use ar_emul_parse_arg.
163 (usage): Use ar_emul_usage.
164 (replace_members): Use ar_emul_replace, ar_emul_append.
165 * binemul.c: New file. Define the binutils emulation
166 layer. Define default methods.
167 * binemul.h: New file. Binutils emulation layer header file.
168 * emul_aix.c: New file. AIX binutils emulation.
169 * emul_vanilla.c: New file. Default binutils emulation.
170 * Makefile.in: Regenerate.
171 * configure: Same.
172
a1c259a1
NC
1732002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
174
175 * po/fr.po: Updated version.
176
9ce88e60
NC
1772002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
178
179 * po/fr.po: Updated version.
180
effb0601
DJ
1812002-03-07 Daniel Jacobowitz <drow@mvista.com>
182
183 * README: Update some version numbers.
184
a65688ab
DJ
1852002-03-07 Daniel Jacobowitz <drow@mvista.com>
186
187 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
188 (Architecture Selection): Likewise.
189
f3f7fbb2
NC
1902002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
191
192 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
193 generating .exp file.
194
25345be5
NC
1952002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
196
197 * readelf.c (dump_relocations): Fix typo.
198
9a66911f
NC
1992002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
200
201 * NEWS: Mark 2.12 branch.
202
2c71103e
NC
2032002-02-18 Timothy Daly <remote_bob@yahoo.com>
204
205 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
206 types for 64-bit MIPS. Narrow some fields for 80-char
207 output.
208 (dump_relocations): Change spelling from 'unrecognised'
209 to 'unrecognized'.
210 (decode_ARM_machine_flags): Likewise.
211 (parse_args): Likewise.
212 (read_and_display_attr_value): Likewise.
213 (display_debug_section): Likewise.
214
49fda6c8
HPN
2152002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
216
217 * NEWS: Mention support for MMIX.
218
76f57f3a
JT
2192002-02-13 Matt Fredette <fredette@netbsd.org>
220
221 * readelf.c (get_machine_flags): Recognize EF_M68000.
222
d36ca9c2
AO
2232002-02-12 Alexandre Oliva <aoliva@redhat.com>
224
225 * MAINTAINERS: Added self as MN10300 co-maintainer.
226
19397422
AM
2272002-02-12 Alan Modra <amodra@bigpond.net.au>
228
229 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
230 DT_PPC64_OPDSZ.
231
d434e574
DJ
2322002-02-11 Daniel Jacobowitz <drow@mvista.com>
233
234 * MAINTAINERS: List myself as branch maintainer.
235
12b87c89
AM
2362002-02-11 Alan Modra <amodra@bigpond.net.au>
237
238 * configure: Regenerate.
239 * objcopy.c: Update copyright date.
240 * doc/Makefile.in: Regenerate.
241
8d037c5c
DJ
2422002-02-10 Daniel Jacobowitz <drow@mvista.com>
243
244 * nlmconv.c: Back out localtime PARAMS change.
245
4c168fa3
AM
2462002-02-11 Alan Modra <amodra@bigpond.net.au>
247
248 * objcopy.c (MKDIR): Define.
249 (copy_archive): Make name_list.name const. Use MKDIR.
250 Handle duplicate files in archives by making more temp dirs.
251
408f8db1
DJ
2522002-02-10 Daniel Jacobowitz <drow@mvista.com>
253
254 * coffdump.c: Include "getopt.h" after "bucomm.h"
255 so that macros are defined correctly.
256 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
257 prototype. Prototype main.
258 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
259
9f77fa06
AO
2602002-02-06 Alexandre Oliva <aoliva@redhat.com>
261
262 * MAINTAINERS: Added self as SH co-maintainer.
263
82f6addb
NC
2642002-02-05 Nick Clifton <nickc@redhat.com>
265
266 * po/tr.po: Updated translation.
267
ba323545
AM
2682002-02-01 Alan Modra <amodra@bigpond.net.au>
269
270 * Makefile.am: Run "make dep-am"
271 * Makefile.in: Regenerate.
272
3deb89d3
DJ
2732002-01-29 Daniel Jacobowitz <drow@mvista.com>
274
275 * nm.c (print_value): Mark abfd unused.
276
a0e9c55f
DJ
2772002-01-29 Daniel Jacobowitz <drow@mvista.com>
278
279 * unwind-ia64.c (unw_decoder): Change second argument
280 to unsigned int, to match function prototypes.
281
d7a283d4
DJ
2822002-01-29 Daniel Jacobowitz <drow@mvista.com>
283
284 * objdump.c: Include "getopt.h" after "bucomm.h" so that
285 __GNU_LIBRARY__ will be defined.
286 * size.c: Likewise.
287
4867be41
DJ
2882002-01-27 Daniel Jacobowitz <drow@mvista.com>
289
290 * configure: Regenerated.
291
7562a296
HPN
2922002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
293
294 * doc/Makefile.am (install): Depend on install-info.
295 * doc/Makefile.in: Regenerate.
296
15c82623
NC
2972002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
298
299 * objcopy.c (strip_usage): Document -d as an alias
300 --strip-debug.
301
302 * size.c (usage): Document [-t | --totals] options.
303 (long_options): Add --totals option.
304 (main): If the [-t | --totals] option is specified and
305 the output format is Berkeley-style, print the total
306 text, data, and bss sizes of all objects listed.
307 (print_berkeley_format): If the [-t | --totals] option
308 is specified, track the total text, data, and bss
309 sizes.
310 * doc/binutils.texi (size): Document [-t | --totals] options.
311 (strip): Document -d as an alias for --strip-debug.
312 * NEWS: Mention new feature of size.
313
00ea8601 3142002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 315
1ddbd152
NC
316 * po/fr.po: Updated version.
317 * po/es.po: Updated version.
b85cedd7 318
8b53311e
NC
3192002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
320
321 * addr2line.c (usage): Update text to provide verbose
322 description of the command line options.
323 * ar.c (usage): Update text to provide verbose
324 description of the command line options.
325 (main): Accept -h and -H when running as ranlib.
326 * coffdump.c (show_usage): Update text to provide verbose
327 description of the command line options.
328 * dlltool.c (main): Accept -H as an alias for --help.
329 * nlmconv.c (show_usage): Update text to provide verbose
330 description of the command line options.
331 * nm.c (usage): Replace OPTIONS with option(s).
332 (main): Accept -H as an alias for --help.
333 * objcopy.c (strip_main): Accept -H as an alias for --help.
334 * objdump.c (main): Accept -v as an alias for --verbose.
335 * readelf.c (usage): Adjust format to match style used in
336 other binutils.
337 * size.c (usage): Update text to provide verbose description
338 of the command line options.
339 (main): Accept -v, -h and -H as command line options.
340 * srconv.c (show_usage): Update text to provide verbose
341 description of the command line options.
342 * strings.c (main): Accept -H and -v as command line options.
343 (usage): Update text to provide verbose description of the
344 command line options.
345 * sysdump.c (show_usage): Update text to provide verbose
346 description of the command line options.
347 * windres.c (usage): Adjust format to match style used in
348 other binutils.
349
350 * coffdump.c: Fix formatting.
351 * nlmconv.c: Fix formatting.
352 * srconv.c: Fix formatting.
353 * sysdump.c: Fix formatting.
354
c46f0c34
AM
3552002-01-22 Alan Modra <amodra@bigpond.net.au>
356
357 * Makefile.am: Run "make dep-am".
358 * Makefile.in: Regenerate.
359
2a538ba5
AJ
3602002-01-18 Andreas Jaeger <aj@suse.de>
361
362 * version.c (print_version): Update year.
363
285d1771
AM
3642002-01-17 Alan Modra <amodra@bigpond.net.au>
365
366 * readelf.c (get_machine_name): Handle EM_PPC64.
367 (guess_is_rela): Here too.
368
328577ad
NC
3692002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
370
371 * po/binutils.pot: Regenerate.
372 * po/fr.po: Regenerate.
373 * po/tr.po: Regenerate.
374
af3ae48d
NC
3752002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
376
377 * po/tr.po: Import new version.
378
f1cb7e17
AM
3792002-01-16 Alan Modra <amodra@bigpond.net.au>
380
381 * readelf.c (get_ppc64_dynamic_type): New.
382 (get_dynamic_type): Call it.
383
6364e0b4
NC
3842002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
385
3ab9460d
NC
386 * objcopy.c (copy_usage): Use "options" instead of "switches".
387 (strip_usage): Use "options" instead of "switches".
388 * doc/binutils.texi (dlltool): Refer to "options" instead of
389 "switches".
6364e0b4 390
3a7e524e
RE
3912002-01-14 Richard Earnshaw <rearnsha@arm.com>
392
393 * MAINTAINERS: Add self as co-maintainer for the ARM code.
394
1209e219
NC
3952001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
396
397 * po/es.po: Import from translation project.
398 * configure.in (ALL_LINGUAS): Add es.
399 * configure: Regenerate.
400
b4db1224
JT
4012002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
402
403 * readelf.c (get_netbsd_elfcore_note_type): Use
404 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
405
9437c45b
JT
4062002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
407
408 * readelf.c: Update copyright years.
409 (get_note_type): Return a const char *.
410 (get_netbsd_elfcore_note_type): New function.
411 (process_note): Use get_netbsd_elfcore_note_type to get
412 the note type string for NetBSD ELF core files.
413
00428cca
AM
4142002-01-06 Steve Ellcey <sje@cup.hp.com>
415
416 * readelf.c (get_ia64_segment_type): Add support for macros.
417 (get_segment_type): Add support for IA64 specific macros.
418
31104126
NC
4192001-12-20 Julian v. Bock <julian@wongr.net>
420
421 * readelf.c (print_symbol): New function: Print a formatted symbol
422 name. If --wide is specified do not truncate it.
423 (dump_relocations): Use print_symbol() to print symbol names.
424 (process_symbol_table): Likewise.
425 (process_syminfo): Likewise.
426 (process_mips_specific): Likewise.
427 (usage): Document new feature of --wide switch.
428 * doc/binutils.texi (objdump): Document additional behaviour of
429 --wide.
2a538ba5 430
4dd67f29
MS
4312001-12-18 Michael Snyder <msnyder@redhat.com>
432
433 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
434 (copy_object): Don't set the start address or flags of a core file.
435 (copy_section): Don't relocate a core file. Don't copy contents
436 if the input section has the contents flag set, but the output
437 section does not (which happens with the fake 'note' pseudo-
438 sections that BFD creates for corefiles).
439
43521d43
TS
4402001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
441
442 * readelf.c (get_machine_flags): Recognize header flags for ABI and
443 ASE extensions. More robust code for ISA checking. Ignore empty fields
444 in header flags for GNU extensions.
445
b667df2e
AM
4462001-12-18 Alan Modra <amodra@bigpond.net.au>
447
448 * objcopy.c (copy_archive): Set output bfd format outside the loop.
449
17a5a5c3
NC
4502001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
451
452 * po/ja.po: Import from translation project.
453 * configure.in (ALL_LINGUAS): Add ja.
454 * configure: Regenerate.
455
65de42c0
TS
4562001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
457
458 * addr2line.c (main): Protoype.
459 * ar.c (main): Protoype.
460 * nm.c (main): Protoype.
461 * objcopy.c (main): Protoype.
462 * objdump.c (main): Protoype.
463 * size.c (main): Protoype.
464 * strings.c (main): Protoype.
465
9ad5cbcf
AM
4662001-12-17 Alan Modra <amodra@bigpond.net.au>
467
468 * readelf.c (symtab_shndx_hdr): New global.
469 (SECTION_HEADER_INDEX): Define.
470 (SECTION_HEADER_NUM): Define.
471 (SECTION_HEADER): Define.
472 (GET_ELF_SYMBOLS): Pass two params rather than three.
473 (get_32bit_elf_symbols): Take file and section args. Read and
474 use SHT_SYMTAB_SHNDX.
475 (get_64bit_elf_symbols): Likewise.
476 (dump_relocations): Use SECTION_HEADER to index "section_headers".
477 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
478 Remember symtab_shdx_hdr.
479 (process_program_headers): Scan from index 1 for segment map.
480 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
481 "section_headers".
482 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
483 (process_unwind): Likewise.
484 (process_version_sections): Likewise.
485 (process_symbol_table): Likewise.
486 (display_debug_info): Likewise.
487 (process_dynamic_segment): Fake up a symtab section for changed
488 GET_ELF_SYMBOLS.
489 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
490 (process_program_headers): Kill signed/unsigned warning.
491 (load_debug_str): Likewise.
492 (display_debug_info): Likewise.
493
65765700
JJ
4942001-12-13 Jakub Jelinek <jakub@redhat.com>
495
496 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
497
560f3c1c
AM
4982001-12-11 Alan Modra <amodra@bigpond.net.au>
499
500 * readelf.c (process_file_header): Print extended e_shnum and
501 e_shdtrndx values. Set elf_header values for same.
502 (get_32bit_section_headers): Add "num" arg to read "num" headers.
503 (get_64bit_section_headers): Likewise.
504 (process_section_headers): Update calls.
505 (get_file_header): Call get_32bit_section_headers or 64bit variant.
506
bc408b8a
JJ
5072001-12-10 Jakub Jelinek <jakub@redhat.com>
508
509 * objcopy.c (setup_section): Copy entsize.
510
93fbbb04
GK
5112001-12-07 Geoffrey Keating <geoffk@redhat.com>
512
513 * readelf.c (guess_is_rela): Add support for stormy16.
514 (dump_relocations): Likewise.
515 (get_machine_name): Likewise.
516
e3c8793a
NC
5172001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
518
519 * dllwrap.c (main) Replace multiple strings describing a
520 single error with a single, newline escaped sentence to permit
521 better translation into foreign languages.
522
523 * readelf.c (get_elf_class): Remove internalionalisation of ELF
524 class names.
525
956cd1d6
TS
5262001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
527
528 * strings.c (get_char): Initialize value.
529
956c53ee
TS
5302001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
531
532 * arlex.l: Silence compile warnings.
533 * arsup.h: Likewise. Fix formatting.
534
cedd9a58
JJ
5352001-12-04 Jakub Jelinek <jakub@redhat.com>
536
537 * strings.c: Include config.h before bfd.h.
538 (file_off): New type.
539 (file_open): Define.
540 (print_strings): Use file_off instead of file_ptr. Print addresses
541 which don't fit into long correctly.
542 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
543 available.
544 (strings_file): Use file_off instead of file_ptr. Use file_open.
545 * configure.in: Check for getc_unlocked.
546 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
547 be defined for it.
548 * configure: Rebuilt.
549 * config.h.in: Rebuilt.
550
af667503
L
5512001-11-29 H.J. Lu <hjl@gnu.org>
552
553 * bucomm.c (make_tempname): Revert the changes made on
554 2001-11-14 and 2001-11-12. They won't work with directories.
555
16474668
NC
5562001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
557
558 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
559 CFLAGS_FOR_TARGET to runtest in environment.
560 * Makefile.in: Rebuild.
561 * doc/Makefile.in: Rebuild.
562
17978339
MS
5632001-11-28 Mike Stump <mrs@wrs.com>
564
565 * objcopy.c (setup_section): Preserve SEC_RELOC when
566 --set-section-flags is used.
567
261a45ad
NC
5682001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
569
570 * readelf.c (do_debug_str): New variable.
571 (display_debug_str): New function: Display the contents of a
572 .debug_str section.
573 (load_debug_str): New function: Load in the contents of a
574 .debug_str section.
575 (free_debug_str): New function: Free the memory used by
576 load_debug_str().
577 (fetch_indirect_string): Retrieve a string from the .debug_str
578 section.
579 (usage): Add -ws.
580 (parse_args): Accept -ws.
581 (process_section_headers): Allow the display of the .debug_str
582 section.
583 (read_and_display_attr_value): Use fetch_indirect_string. Show
584 offset into .debug_str section.
585 (display_debug_info): Use load_debug_str and free_debug_str.
586 (debug_displays): Add .debug_str.
587 * doc/binutils.texi: Document -ws.
588
b8908f93
AJ
5892001-11-19 Andreas Jaeger <aj@suse.de>
590
591 * testsuite/binutils-all/objdump.exp: Add x86-64.
592
e5fb9629
AS
5932001-11-15 Andreas Schwab <schwab@suse.de>
594
595 * readelf.c: Fix warnings without terminating newline.
596
802a735e
AM
5972001-11-15 Alan Modra <amodra@bigpond.net.au>
598
599 * doc/binutils.texi (objdump): Document ppc -M options.
600
b89e9eae
AJ
6012001-11-14 Andreas Jaeger <aj@suse.de>
602
603 * doc/binutils.texi (objdump): Fix description to use x86-64.
604
a6a25652
NC
6052001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
606
607 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
608 not all systems provide mkstemp.
609
e396998b
AM
6102001-11-14 Alan Modra <amodra@bigpond.net.au>
611
612 * doc/binutils.texi (objdump): Document x86 -M options.
613
81766fca
RH
6142001-11-13 Keith Walker <keith.walker@arm.com>
615
616 * readelf.c (read_and_display_attr_value): New function to
617 handle DW_FORM_indirect.
618 (read_and_display_attr): Use it.
619
1a509dcc
GK
6202001-11-13 Geoffrey Keating <geoffk@redhat.com>
621
622 * readelf.c (display_debug_lines): Deal with unknown standard
623 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
624 DW_LNS_set_isa.
625
6e917903 6262001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 627
6e917903
TW
628 * MAINTAINERS: Add self as tic54x maintainer. This target
629 includes the IBM C54XDSP clone.
7559e86e 630
6e917903 6312001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 632
7559e86e
NC
633 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
634
6352001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 636
ecdadc4a
JL
637 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
638 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
639 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
640 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
641 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
642 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
643 (unw_decode_b2, unw_decode_b3_b4): Likewise.
644
91770270
JL
645 * readelf.c (get_elf_class): Fix ISO portability glitch.
646 (get_data_encoding, get_osabi_name, request_dump): Likewise.
647
ef5cdfc7
JJ
6482001-11-07 Jakub Jelinek <jakub@redhat.com>
649
650 * readelf.c (debug_str, debug_str_size): New.
651 (display_debug_abbrev): If no abbrevs were read, skip the CU.
652 Call free_abbrevs.
653 (read_and_display_addr): Handle DW_FORM_strp.
654 (display_debug_info): Read .debug_str section if present,
655 so that DW_FORM_strp can be handled.
656 Fix test for non-existant .debug_abbrev section.
657
5e9520c8
JJ
6582001-11-05 Jakub Jelinek <jakub@redhat.com>
659
660 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
661
662 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
663
54589086
MS
6642001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
665
666 * MAINTAINERS: Add self as s390/s390x maintainer.
667
c05b685b
TR
6682001-11-02 Tom Rix <trix@bluey.cygnus.com>
669
670 * MAINTAINERS: Add self as PPC XCOFF maintainer.
671
3c62831e
NC
6722001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
673
674 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
675 * configure: Regernate.
676 * po/fr.po: New file.
677 * po/tr.po: New file.
678
3c3bdf30
NC
6792001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
680
9b19141a 681 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
682 * readelf.c: Include elf/mmix.h.
683 (guess_is_rela): MMIX is RELA.
684 (dump_relocations): Handle MMIX relocations.
685 * Makefile.am: Regenerate dependencies.
686 * Makefile.in: Regenerate.
687
f662939a
NC
6882001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
689
690 * readelf.c (parse_args): Handle multiple options to the -w
691 switch.
692
c91d0dfb
JJ
6932001-10-12 Jakub Jelinek <jakub@redhat.com>
694
695 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
696 LOPROC, LOOS and LOUSER.
697
7559e86e 6982001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
699
700 * MAINTAINERS: Update my email address.
701
fcd8210c
AM
7022001-10-03 Alan Modra <amodra@bigpond.net.au>
703
704 * doc/Makefile.in: Regenerate.
705 * configure: Regenerate.
706
428409d5
NC
7072001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
708
709 * readelf.c (display_debug_line, display_debug_pubnames,
710 display_debug_info, display_debug_frames): Detect and warn
711 about 64-bit format entries.
712 (display_debug_aranges): Reword 64-bit warning.
713 (debug_displays): Add .debug_pubtypes as a known, but not yet
714 supported, debug section.
715
6a8c2b0d
AM
7162001-10-02 Alan Modra <amodra@bigpond.net.au>
717
718 * coffdump.c (PROGRAM_VERSION): Delete.
719 (main <'V'>): Call print_version.
720 * srconv.c: Likewise.
721 * sysdump.c: Likewise.
722 * version.c (program_version): Remove.
723 (print_version): Use BFD_VERSION_STRING. Just print the current
724 year in copyright message.
725 * addr2line.c (program_version): Remove unused declaration.
726 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
727 place of BFD_VERSION.
728 * Makefile.am (Makefile): Depend on bfd/configure.in.
729 (cplus-dem.o): Depend on Makefile.
730 Run "make dep-am".
731 * Makefile.in: Regenerate.
732
e414a165
NC
7332001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
734
735 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
736 format .debug_arange sections.
737 (main): Add missing prototype.
b8908f93 738
efc3ee7f
HPN
7392001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
740
741 * Makefile.am: Update dependencies with "make dep-am".
742 * Makefile.in: Regenerate.
743
9e85c2a0
RH
7442001-09-28 Richard Henderson <rth@redhat.com>
745
746 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
747
451dad9c
AM
7482001-09-26 Alan Modra <amodra@bigpond.net.au>
749
750 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
751 VA_CLOSE.
752 (non_fatal): Likewise.
753 * objdump.c (objdump_sprintf): Likewise.
754 * readelf.c (error): Likewise.
755 (warn): Likewise.
756
d974e256
JJ
7572001-09-25 Jakub Jelinek <jakub@redhat.com>
758
759 * readelf.c (do_wide): New.
760 (options): Add --wide.
761 (usage, parse_args): Likewise.
762 (process_program_headers): Put each segment on a single line if
763 --wide is given.
764 (process_section_headers): Put each section on a single line if
765 --wide is given.
766 * doc/binutils.texi: Document it.
767 * NEWS: Likewise.
768
2f11c261
AM
7692001-09-25 Alan Modra <amodra@bigpond.net.au>
770
771 * readelf.c (print_vma): Print 8 digits of low hex value.
772
1d50f91e
AJ
7732001-09-24 Andreas Jaeger <aj@suse.de>
774
775 * nlmconv.c: Fix warnings about unused attributes and function
776 prototypes.
777
778 * strings.c: Add prototype for get_char.
779
38131e67
L
7802000-09-19 H.J. Lu <hjl@gnu.org>
781
782 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
783 $(srcdir)/cxxfilt.man.
784 * doc/Makefile.in: Rebuild.
785
3bcfb3e4
AM
7862001-09-19 Alan Modra <amodra@bigpond.net.au>
787
788 * objcopy.c (copy_main): Correct rename-section string parsing.
789 Consolidate new_name parsing, and error messages.
790
3882b010
L
7912001-09-18 Bruno Haible <haible@clisp.cons.org>
792
793 * addr2line.c: Don't include <ctype.h>.
794 (main): For gettext, also set the LC_CTYPE locate facet.
795 * ar.c (main): Likewise.
796 * coffdump.c (main): Likewise.
797 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
798 (main): For gettext, also set the LC_CTYPE locate facet.
799 Use ISALNUM instead of isalpha/isdigit.
800 * dllwrap.c: Don't include <ctype.h>.
801 (main): For gettext, also set the LC_CTYPE locate facet.
802 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
803 (main): For gettext, also set the LC_CTYPE locate facet.
804 Use TOUPPER instead of islower/toupper.
805 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
806 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
807 Use TOUPPER instead of islower/toupper.
808 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
809 * objcopy.c (main): Likewise.
810 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
811 (disassemble_bytes): Use ISPRINT instead of isprint.
812 (dump_section_stabs): Use ISDIGIT instead of isdigit.
813 (dump_data): Use ISPRINT instead of isprint.
814 (main): For gettext, also set the LC_CTYPE locate facet.
815 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
816 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
817 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
818 Use TOUPPER instead of islower/toupper.
819 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
820 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
821 (write_rc_accelerators): Use ISPRINT instead of isprint.
822 (write_rc_rcdata): Likewise.
823 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
824 * srconv.c (main): Likewise.
825 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
826 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
827 isdigit/isupper/islower.
828 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
829 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
830 stab_demangle_prefix, stab_demangle_qualified,
831 stab_demangle_template, stab_demangle_type,
832 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
833 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
834 (isgraphic): Use ISPRINT instead of isascii/isprint.
835 (main): Remove HAVE_LC_MESSAGES dependency.
836 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
837 (pbarray): Use ISPRINT instead of isprint.
838 (main): For gettext, also set the LC_CTYPE locate facet.
839 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
840 (format_from_filename): Use ISPRINT instead of isprint.
841 (main): For gettext, also set the LC_CTYPE locate facet.
842 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
843 (unicode_print): Use ISPRINT instead of isprint.
844 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
845 (stab_variable): Use ISDIGIT instead of isdigit.
846
e59b4dfb
AM
8472001-09-18 Alan Modra <amodra@bigpond.net.au>
848
849 * ar.c (print_contents): Cast args of bfd_seek to the right types.
850 Replace bfd_read call with call to bfd_bread.
851 (extract_file): Likewise.
852
853 * objdump.c (dump_section_header): Cast section->filepos to
854 unsigned long to suit printf format string.
855 * readelf.c (process_section_headers): Similarly for sh_offset.
856 (process_unwind): Likewise.
857
d132876a
NC
8582001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
859
860 * strings.c (encoding, encoding_bytes): New variables.
861 (long_options): Add --encoding.
862 (main): Accept -e and --encoding.
863 (get_char): New function. Read a, possibly wide, character from
864 the input stream.
865 (print_strings): Use get_char().
866 (usage): Document new command line option.
867 * doc/binutils.texi: Document new command line option.
868 * NEWS: Announce new command line option.
869
7559e86e 8702001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
871
872 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
873 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
874 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
875 Removed EM_CYGNUS_ARC.
876
7559e86e 8772001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
878
879 * readelf.c: Include elf/h8 for H8 series definitions.
880 (guess_is_rela): H8 series if RELA.
881 (dump_relocations): Handle H8 series relocations.
882
0823fbca
EC
8832001-08-31 Eric Christopher <echristo@redhat.com>
884
885 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
886
8db76d70
PT
8872001-08-29 Peter Targett <peter.targett@arccores.com>
888
889 * MAINTAINERS: Include ARC Maintainer.
890
d81d6584
BE
8912001-08-29 Ben Elliston <bje@redhat.com>
892
893 * stabs.c (stab_demangle_template): Initialise s4.
894
25a1ff5b
AM
8952001-08-27 Alan Modra <amodra@bigpond.net.au>
896
897 * readelf.c (dump_relocations): Recognise EM_PPC64.
898
a5d22d2a
TS
8992001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
900
901 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
902
62a5a82d
L
9032001-08-25 H.J. Lu <hjl@gnu.org>
904
905 * nm.c (print_width): New.
906 (display_rel_file): Set `print_width' according to
907 bfd_sprintf_vma.
908 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
909
1ae8b3d2
AO
9102001-08-24 Alexandre Oliva <aoliva@redhat.com>
911
912 * objcopy.c (use_alt_mach_code): New variable.
913 (OPTION_ALT_MACH_CODE): Define.
914 (copy_options): Added --alt-machine-code.
915 (copy_main): Handle it.
916 (copy_object): Switch to alternate machine code if requested.
917 * doc/binutils.texi: Document new option.
918 * NEWS: Likewise.
919
d1bdd336
TS
9202001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
921
922 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
923
410f7a12
L
9242001-08-21 H.J. Lu <hjl@gnu.org>
925
926 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
927 (display_debug_info): Cast for 64bit hosts.
928 (display_debug_frames): Likewise.
929 (process_mips_specific): Likewise.
930
c32144ff
AJ
9312001-08-21 Andreas Jaeger <aj@suse.de>
932
933 * coffgrok.h: Add missing parameter for prototype of coff_grok.
934
935 * sysdump.c: Add missing prototypes.
936 * srconv.c: Likewise.
937 * unwind-ia64.c: Likewise.
938 * coffdump.c: Likewise.
939
940 * sysinfo.y: Print prototypes, include <ansidecl.h>.
941
942 * coffgrok.c: Add missing prototypes, include libiberty.h instead
943 of declaring xcalloc.
944
d8180c76
L
9452001-08-10 H.J. Lu <hjl@gnu.org>
946
947 * nm.c (print_value): Add one arg, bfd *.
948 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
949 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
950 (print_symbol_info_sysv): Likewise.
951 (print_symbol_info_posix): Likewise.
952
953 * objdump.c (dump_section_header): Replace printf_vma with
954 bfd_printf_vma.
955 (print_section_stabs): Likewise.
956 (dump_bfd_header): Likewise.
957 (objdump_print_value): Replace sprintf_vma with
958 bfd_sprintf_vma.
959 (disassemble_bytes): Likewise.
960 (dump_reloc_set): Likewise.
961
0218d1e4
AJ
9622001-08-10 Andreas Jaeger <aj@suse.de>
963
964 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
965 to build warnings.
966 * configure: Regenerate.
967
2863d58a
AM
9682001-08-09 Alan Modra <amodra@bigpond.net.au>
969
970 * readelf.c: Add missing prototypes.
971 * objdump.c: Likewise. Format existing prototypes.
972
c0e047e0
AO
9732001-08-08 Alexandre Oliva <aoliva@redhat.com>
974
975 * readelf.c (display_debug_info): Add to abbrev_offset the addend
976 of any RELA relocation for the abbrev_offset memory location that
977 refers to the .debug_abbrev section symbol.
978
ff78d6d6
L
9792001-08-07 H.J. Lu <hjl@gnu.org>
980
981 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
982 (main): Return process_file ().
983
c36774d6
PB
9842001-08-05 Philip Blundell <philb@gnu.org>
985
986 * doc/binutils.texi: Use "Thumb" not "THUMB".
987
8f9d9bd9
JH
9882001-08-03 John Healy <jhealy@redhat.com>
989
990 Patch suggested by Frank Eigler <fche@redhat.com>.
991 * objdump.c (disassemble_data): Fill in section member of the
992 disasm_info structure.
993
c918cb96
DD
9942001-08-03 Tom Walsh <tom@cyberiansoftware.com>
995
996 * configure.in: Added --with-windres option.
997 * configure: Regenerated.
998
c7c55b78
NC
9992001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1000
1001 * doc/binutils.texi: Use @command{name} for commands;
1002 use @option{-opt} for options; use @table @env for list of options;
1003 remove spaces arround [ | ] in synopsis.
1004
1005 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1006 center title.
1007
594ef5db
NC
10082001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1009
1010 * objcopy.c: Fix formatting.
1011 (section_rename): New structure.
1012 (OPTION_RENAME_SECTION): New switch.
1013 (copy_usage): Document new switch.
1014 (add_section_rename): New function: Add a node to the section
1015 rename list.
1016 (find_section_rename): New function: Find the new name and
1017 flags for a section.
1018 (setup_section): Call find_section_name to determine the name
1019 of the output section.
1020 (copy_main): Handle OPTION_RENAME_SECTION.
1021 * binutils.texi: Document new switch.
1022 * NEWS: Mention new switch.
1023
1f554c69
NC
10242001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1025
1026 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1027 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1028 bug-binutils@gcc.org.
1029
2f83960e
AM
10302001-07-28 Matthias Kramm <kramm@quiss.org>
1031
1032 * bucomm.c (list_supported_architectures): New function.
1033 * bucomm.h (list_supported_architectures): Declare.
1034 * objdump.c (usage): Call the above.
1035
20fe0649
DB
10362001-07-25 Dave Brolley <brolley@redhat.com>
1037
1038 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1039 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1040
1b577b00
NC
10412001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1042
1043 * README: Update for 2.11. Change bug reporting email address.
1044 * MAINTAINERS: Tidy up. Change bug reporting email address.
1045
95fd336c
DD
10462001-07-16 DJ Delorie <dj@redhat.com>
1047
5f16d855
DD
1048 * resres.c (write_res_header): Align header size.
1049 (res_align_file): Calculate alignment correctly.
1050
95fd336c
DD
1051 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1052 correct 10).
1053 * resrc.c (write_rc_resource): Likewise.
1054 * windres.h (SUBLANG_SHIFT): Define - as 10.
1055
ed8fee27
NC
10562001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1057
1058 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1059
90ab7e9a
NC
10602001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1061
1062 * MAINTAINERS: Add notes about branch checkins.
1063
e0c60db2
NC
10642001-07-05 Daniel Berlin <dan@cgsoftware.com>
1065
1066 * readelf.c (display_debug_macinfo): New function, display
1067 .debug_macinfo section.
1068 (do_debug_macinfo): New variable.
1069 (parse_args): Handle "-w[mM]" to mean display macro info.
1070 (process_section_headers): Handle debug_macinfo.
1071 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1072 function for .debug_macinfo display.
e0c60db2
NC
1073 * doc/binutils.texi: Document new command line switch.
1074 * NEWS: Document new feature of readelf.
0218d1e4 1075
24e01a36
L
10762001-07-05 H.J. Lu <hjl@gnu.org>
1077
1078 * objcopy.c (filter_symbols): Don't turn undefined symbols
1079 into local.
1080
4258bf4d
L
10812001-07-03 H.J. Lu <hjl@gnu.org>
1082
1083 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1084 $@.pod.
1085 (ar.1): Likewise.
1086 (dlltool.1): Likewise.
1087 (nlmconv.1): Likewise.
1088 (nm.1): Likewise.
1089 (objcopy.1): Likewise.
1090 (objdump.1): Likewise.
1091 (ranlib.1): Likewise.
1092 (readelf.1): Likewise.
1093 (size.1): Likewise.
1094 (strings.1): Likewise.
1095 (strip.1): Likewise.
1096 (windres.1): Likewise.
1097 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1098 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1099 $(DEMANGLER_NAME).
1100 (as.1): Removed.
1101 * doc/Makefile.in: Regenerated.
1102
7014bc31
NC
11032001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1104
1105 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1106
b811889f
NC
11072001-07-01 Daniel Berlin <dan@cgsoftware.com>
1108
1109 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1110
12ab83a9
NC
11112001-06-29 James Cownie <jcownie@etnus.com>
1112
1113 * readelf.c: Support DWARF 2.1 attributes.
1114
a6e9f9df
AM
11152001-06-28 Alan Modra <amodra@bigpond.net.au>
1116
1117 * readelf.c (GET_DATA_ALLOC): Remove.
1118 (GET_DATA): Remove.
1119 (get_data): New function combining above macros, with an extra
1120 test for zero size.
1121 (slurp_rela_relocs): Use get_data, and catch error return.
1122 (slurp_rel_relocs): Likewise.
1123 (get_32bit_program_headers): Likewise.
1124 (get_64bit_program_headers): Likewise.
1125 (get_32bit_section_headers): Likewise.
1126 (get_64bit_section_headers): Likewise.
1127 (get_32bit_elf_symbols): Likewise.
1128 (get_64bit_elf_symbols): Likewise.
1129 (process_section_headers): Likewise.
1130 (process_relocs): Likewise.
1131 (slurp_ia64_unwind_table): Likewise.
1132 (process_unwind): Likewise.
1133 (get_32bit_dynamic_segment): Likewise.
1134 (get_64bit_dynamic_segment): Likewise.
1135 (process_dynamic_segment): Likewise.
1136 (process_version_sections): Likewise.
1137 (process_symbol_table): Likewise.
1138 (dump_section): Likewise.
1139 (display_debug_info): Likewise.
1140 (display_debug_section): Likewise.
1141 (process_section_contents): Likewise.
1142 (process_corefile_note_segment): Likewise.
1143 (process_mips_specific): Likewise. Also free econf32, econf64.
1144
af3fc3bc
AM
11452001-06-25 Alan Modra <amodra@bigpond.net.au>
1146
1147 * readelf.c (dump_relocations): Print "bad symbol index" if
1148 symtab == NULL with non-zero symtab_index.
1149 (process_relocs): Don't bomb if reloc section has no symsec.
1150
6d900bf6
L
11512001-06-24 H.J. Lu <hjl@gnu.org>
1152
1153 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1154 by accident.
1155 (copy_main): Apply the the change made to strip_main on
1156 2001-05-30 by accident.
1157
49b4e386
AJ
11582001-06-23 Andreas Jaeger <aj@suse.de>
1159
1160 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1161 parameter 'code'.
1162 (unw_decode_x2): Likewise.
1163 (unw_decode_x3): Likewise.
1164 (unw_decode_x4): Likewise.
1165
d8dc71e3
BE
11662001-06-23 Ben Elliston <bje@redhat.com>
1167
1168 * MAINTAINERS: Add myself as M88k maintainer.
1169
af3bdff7
NC
11702001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1171
1172 * objcopy.c (strip_main): Support -o or --output-file command lien
1173 switch.
1174
105e7211
L
11752001-06-19 H.J. Lu <hjl@gnu.org>
1176
1177 * doc/Makefile.in: Regenerated.
1178
c45021f2
NC
11792001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1180
1181 * readelf.c: Restore formatting.
1182
11832001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1184
1185 * Makefile.am: Move documentation into doc subdirectory.
1186 * Makefile.in: Regenerated.
1187 * binutils.texi: Move into doc subdirectory.
1188 * addr2line.1: Removed.
1189 * ar.1: Likewise.
1190 * dlltool.1: Likewise.
1191 * nlmconv.1: Likewise.
1192 * nm.1: Likewise.
1193 * objcopy.1: Likewise.
1194 * objdump.1: Likewise.
1195 * ranlib.1: Likewise.
1196 * readelf.1: Likewise.
1197 * size.1: Likewise.
1198 * strings.1: Likewise.
1199 * strip.1: Likewise.
1200 * windres.1: Likewise.
1201 * cxxfilt.man: Likewise.
1202 * doc: New Directory.
1203 * doc/Makefile.am: New file.
1204 * doc/Makefile.in: Generate.
1205
09ad7db3
AM
12062001-06-09 Alan Modra <amodra@bigpond.net.au>
1207
1208 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1209
936260fe
AM
12102001-06-01 Alan Modra <amodra@bigpond.net.au>
1211
1212 * MAINTAINERS: Update my email address.
1213
16b2b71c
NC
12142001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1215
1216 * objcopy.c: Add new switches: --keep-global-symbol,
1217 --keep-symbols, --localize-symbols, --keep-global-symbols and
1218 --weaken-symbols.
1219 * binutils.texi: Document new switches.
1220 * objcopy.1: Regenerate.
1221 * NEWS: Announce new feature.
1222
7036c0e1
AJ
12232001-05-28 Andreas Jaeger <aj@suse.de>
1224
1225 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1226 variables, fix format strings.
1227
76a406e5
NC
12282001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1229
1230 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1231 when computing the address of the line to show.
1232
31b6fca6
RH
12332001-05-16 Richard Henderson <rth@redhat.com>
1234
1235 * readelf.c (do_debug_frames_interp): New.
1236 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1237 (byte_get_big_endian): Likewise.
1238 (parse_args) ['F']: Set do_debug_frames_interp.
1239 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1240 (frame_display_row): Don't trunc pc_begin to int.
1241 (size_of_encoded_value): New.
1242 (display_debug_frames): Handle 64-bit targets. Print raw data
1243 unless do_debug_frames_interp.
1244 (debug_displays): Remove duplicate .debug_frame.
1245
4fe85591
NC
12462001-05-15 Ralf Baechle <ralf@gnu.org>
1247
1248 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1249 The former constant was never in active use and is used otherwise
1250 by the ABI.
1251
579f31ac
JJ
12522001-05-11 Jakub Jelinek <jakub@redhat.com>
1253
1254 * readelf.c (process_unwind): Print all unwind sections, not just
1255 one.
1256
78f4a3f7
AM
12572001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1258
1259 * readelf.c (process_unwind): Remove const specifier.
1260
1c529ca6
NC
12612001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1262
1263 * strings.c (isgraphic): Do not use isascii() unless it is needed
1264 for isprint() to work.
1265 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1266
87e6d782
NC
12672001-04-27 Johan Rydberg <jrydberg@opencores.org>
1268
1269 * NEWS: Announce support for OpenRISC.
1270
4bd3d870 12712001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1272
1273 * dlltool.c (do_default_excludes): Initialise to true.
1274
21211521
AM
12752001-04-10 Alan Modra <amodra@one.net.au>
1276
1277 * MAINTAINERS: Update my email address
1278 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1279
0c66b61e 12802001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1281
1282 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1283
e58d53af
L
12842001-03-30 H.J. Lu <hjl@gnu.org>
1285
1286 * readelf.c (process_unwind): Just return if do_unwind is 0.
1287
bee72332
DD
12882001-03-28 Roger Sayle <roger@metaphorics.com>
1289
1290 * dlltool.c (make_one_lib_file): Fix section flags for
1291 .text, .data and .bss in stub ds*.o files to match those
1292 generated by gas.
1293
f1467e33
L
12942001-03-29 H.J. Lu <hjl@gnu.org>
1295
1296 * readelf.c (process_unwind): Only do unwind sections for
1297 IA64.
1298
1c6fb4fe
L
12992001-03-28 H.J. Lu <hjl@gnu.org>
1300
1301 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1302 * Makefile.in: Regenerate.
1303
0879a67a
AJ
13042001-03-26 Andreas Jaeger <aj@suse.de>
1305
1306 * binutils.texi (nm): Fix texi syntax.
1307
0285c67d
NC
13082001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1309
1310 * binutils.texi: Put @c man begin and @c man end indications
1311 to generate man pages using texi2pod and pod2man. Put @c man title
1312 to identify each man. Add SEEALSO entries.
1313 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1314 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1315 sort the list.
1316 (*.1): Build the man pages from binutils.texi.
1317 * Makefile.in: Regenerate.
1318
04847a4d
CF
13192001-03-13 Eric Kohl <ekohl@rz-online.de>
1320
1321 * defparse.y (opt_equal_name): allow "." in name.
1322 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1323 (gen_exp_file): Likewise.
1324
43a0748c
NC
13252001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1326
1327 * NEWS: Document addition of -B switch to objcopy.
1328 * binutils.texi: Document addition of -B switch to objcopy.
1329 * objcopy.c: (copy_options): Add --binary-architecture.
1330 (copy_usage): Document -B/--binary-architecture.
1331 (copy_main): Support -B/--binary-architecture. Set
1332 bfd_external_binary_architecture.
0879a67a 1333
b7498e0e
NC
13342001-03-11 Andreas Jaeger <aj@suse.de>
1335
1336 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1337 (dump_relocations): Likewise.
1338 (get_machine_name): Likewise.
1339
a59e3bd7
NC
13402001-02-28 Nick Clifton <nickc@redhat.com>
1341
1342 * readelf.c: (struct unw_aux_info): Remove const modifier for
1343 'strtab' field.
1344 (process_unwind): Remove non-K&R compliant LHS type cast in call
1345 to GET_DATA_ALLOC macro.
1346
a5bcd848
PB
13472001-02-28 Philip Blundell <pb@futuretv.com>
1348
1349 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1350 ABI is in use; remove ambiguity between the "unknown" EABI and
1351 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1352 renamed EF_xx constants.
1353
27b7e12d
AM
13542001-02-27 Alan Modra <alan@linuxcare.com.au>
1355
1356 * configure.in (BFD_VERSION): New.
1357 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1358 * configure: Regenerate.
1359 * Makefile.am: Run "make dep-am"
1360 * Makefile.in: Regenerate.
1361
a9f10786
NC
13622001-02-14 Nick Clifton <nickc@redhat.com>
1363
1364 * MAINTAINERS: Add "Obvious Fix" rule.
1365
3c44da9a
MS
13662001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1367
1368 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1369 literal concatenation.
1370
ecd03389
MS
13712001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1372
1373 * readelf.c (struct unw_aux_info): Remove const from the info member.
1374 (process_unwind): Don't type-cast the third argument to the
1375 GET_DATA_ALLOC macro.
1376
88ec60c7
NC
13772001-02-11 Nick Clifton <nickc@redhat.com>
1378
1379 * readelf.c (dump_relocations): Free corrected allocated
1380 array.
1381 (process_unwind): Fix compile time warning.
1382
f5e21966
NC
13832001-02-10 Nick Clifton <nickc@redhat.com>
1384
1385 * binutils.texi: Document new --unwind option to readelf.
1386
a85d7ed0
NC
13872001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1388
1389 * readelf.c: Add linux target for S/390.
1390
7bb10502
AM
13912001-02-10 Alan Modra <alan@linuxcare.com.au>
1392
1393 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1394 printf is a macro.
1395
8ca8f343
HPN
13962001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1397
1398 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1399 * aclocal.m4: Regenerate.
1400 * configure: Regenerate.
1401
7340082d
NC
14022001-02-07 Todd Vierling <tv@wasabisystems.com>
1403
1404 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1405 * objdump.c (bfd_target_vector): Likewise.
1406
4d6ed7c8
NC
14072001-02-07 David Mosberger <davidm@hpl.hp.com>
1408
1409 * readelf.c (process_unwind): New function.
1410 (slurp_ia64_unwind_table): Ditto.
1411 (dump_ia64_unwind): Ditto.
1412 (find_symbol_for_address): Ditto.
1413 (slurp_rela_relocs): New function (split off from dump_relocations()).
1414 (slurp_rel_relocs): Ditto.
1415 (parse_args): Handle '-u' option.
1416
1417 * unwind-ia64.c: New file.
1418 * unwind-ia64.h: New file.
1419 * Makefile.am: Include unwind-ia64.c in readelf build.
1420 * Makefile.in: Regenerate.
7340082d 1421 * po/binutils.pot: Regenerate.
4d6ed7c8 1422
c7217458
PB
14232001-02-04 Philip Blundell <philb@gnu.org>
1424
1425 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1426 * configure: Regenerate.
1427
956eedd4
AM
14282001-01-31 Steve deRosier <sderosier@vari-lite.com>
1429
1430 * ieee.c (ieee_add_bb11): Don't check for backslashes
1431 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1432
8855cbca
AM
14332001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1434
c7f2731e
AM
1435 * ieee.c: Update copyright.
1436 (ieee_start_compilation_unit): Don't check for backslashes
1437 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1438
8855cbca
AM
1439 * stabs.c: Update copyright. Include "filenames.h".
1440 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1441
329de803 14422001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1443
1444 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1445 sections are present before using them. Remove code duplication.
1446 (process_symbol_table): Check if VERDEF or VERNEED sections are
1447 present before using them.
1448
23719f39
NC
14492001-01-17 Nick Clifton <nickc@redhat.com>
1450
1451 * objcopy.c (copy_object): Fail if attempting to convert the
1452 endianness of the input object file.
1453
1454 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1455
f726e849
NC
14562001-01-16 Nick Clifton <nickc@redhat.com>
1457
1458 * readelf.c (string_table_length): New variable.
1459 (SECTION_NAME): Catch out of range indices and missing section
1460 pointers.
1461 (process_section_headers): Delete useless local variable
1462 string_table_offset. Set the value of string_table_length
1463 after loading the string table.
1464 (process_mips_specific): Use SECTION_NAME macro.
1465 (process_file): Set string_table_length to 0 when it is freed.
1466
d0398d6a
NC
14672001-01-12 Nick Clifton <nickc@redhat.com>
1468
1469 * version.c (print_version): Update copyright date.
1470
0d2bcfaf
NC
14712001-01-11 Peter Targett <peter.targett@arccores.com>
1472
1473 * readelf.c (dump_relocations): Include selection with EM_ARC.
1474 (get_machine_name) Update name to "ARC".
1475
8b1e6df3
NC
14762001-01-09 Nick Clifton <nickc@redhat.com>
1477
1478 * Makefile.am: Add rule to build objdump.o from objdump.c and
1479 using OBJDUMP_DEFS.
1480 * Makefile.in: Regenerate.
1481
1482 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1483 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1484 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1485 * configure: Regenerate.
8b1e6df3
NC
1486
1487 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1488 is defined read in the relocs even if dump_reloc_info is
1489 false.
1490
2f952d20
PB
14912001-01-07 Philip Blundell <philb@gnu.org>
1492
1493 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1494 `bug-binutils'.
1495 * README: Likewise.
1496
a8c548cb
NC
14972000-12-19 Nick Clifton <nickc@redhat.com>
1498
1499 * dlltool.c: Add missing support for arm-epoc-pe.
1500 * configure.in: Add missing support for arm-epoc-pe.
1501 * configure: Regenerate.
1502
cc5fda35
NC
15032000-12-15 Nick Clifton <nickc@redhat.com>
1504
1505 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1506 Mode parts of the x86 port.
1507
bcedfee6
NC
15082000-12-04 Andreas Jaeger <aj@suse.de>
1509
1510 * readelf.c (guess_is_rela): Add EM_X86_64.
1511 (dump_relocations): Add EM_X86_64.
1512 (get_machine_name): Add EM_X86_64.
1513 Include "elf/x86-64.h".
1514
584da044
NC
15152000-12-12 Nick Clifton <nickc@redhat.com>
1516
1517 * readelf.c: Fix formatting.
1518
7559e86e 15192000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1520
1521 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1522
a98cc2b2
AH
15232000-12-07 Andrew Haley <aph@redhat.com>
1524
1525 * readelf.c (display_debug_frames): Only display columns that are
1526 referenced by the frame debug info.
1527
c7987a69
NC
15282000-12-05 Nick Clifton <nickc@redhat.com>
1529
1530 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1531
09fd7e38
JM
15322000-12-04 Jason Merrill <jason@redhat.com>
1533
1534 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1535 (display_debug_section): Likewise.
1536 (display_debug_info): Display CU header before bailing.
1537
e7af610e
NC
15382000-12-01 Chris Demetriou <cgd@sibyte.com>
1539
09fd7e38
JM
1540 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1541 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1542 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1543
09fd7e38
JM
1544 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1545 and E_MIPS_ARCH_64.
84ea6cf2 1546
09fd7e38
JM
1547 * readelf.c (get_machine_flags): Add case for
1548 E_MIPS_MACH_SB1.
c6c98b38 1549
75066968
DD
15502000-11-30 Richard Earnshaw <rearnsha@arm.com>
1551
1552 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1553
5c4666ea
HPN
15542000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1555