2002-04-23 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
944cd72c
TS
12002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2
3 * arparse.y: Fix syntax warning.
4
ea91f8bb
NC
52002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
6
3e55a963
NC
7 * readelf.c (fetch_location_list): Remove unused function.
8
9 * readelf.c (process_corefile_note_segment): Catch corrupt notes
10 and display a warning message, then exit the loop.
11
ea91f8bb
NC
12 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
13
45b99827
NC
142002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
15
16 * resrc.c (write_rc_dialog): If charset is non-default value
17 display all of the DIALOGEX parameters.
18
192002-04-15 Eric Kohl <ekohl@rz-online.de>
20
21 * rcparse.y: Allow two to five parameter in FONT statement of
22 DIALOGEX resources.
23 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
24 resource data.
25 (res_to_bin_dialog): Likewise.
26 * windres.h: Added misssing charset variable to dialog_ex
27 structure.
28
acfbab8a
NC
292002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
30
31 * rcparse.y: Set MEMFLAG_PURE by default.
32
df3baf66
NC
332002-04-09 Bernd Herd <info@herdsoft.com>
34
35 * rcparse.y: CLASS definitions in DIALOG resources
36 are quoted.
4c30641a 37 Fix typo in BEDIT warning.
91eafb40 38 Don't add default dialog style when explicit style specified.
b62a12ca 39 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 40
b24eb5ac
NC
41 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
42 (handle_quotes) "\a" escape (used for right justified key
43 definitions in menus) is encodes as binary 8.
df3baf66 44
b24eb5ac
NC
45 * resrc.c (write_rc_dialog): Print style even if it is 0.
46 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 47 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 48
b24eb5ac
NC
49 * resbin.c (bin_to_res_dialog): Use signature to identify
50 DIALOGEX.
f7d63484 51
b24eb5ac 52 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 53
df3baf66
NC
542002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
55
56 * resrc.c: print CLASS names in quotes
57
582002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
59
60 * MAINTAINERS: Update my email address.
61
8e42bcb6
AM
622002-04-04 Alan Modra <amodra@bigpond.net.au>
63
64 * dep-in.sed: Cope with absolute paths.
65 * Makefile.am (dep.sed): Subst TOPDIR.
66 Run "make dep-am".
67 * Makefile.in: Regenerate.
68
96f959e5
PT
692002-03-27 Peter Targett <peter.targett@arc.com>
70
71 * MAINTAINERS: Update my email address.
72
1ea788ee
AM
732002-03-21 Alan Modra <amodra@bigpond.net.au>
74
75 * Makefile.am: Run "make dep-am".
76 * Makefile.in: Regenerate.
77 * doc/Makefile.in: Regenerate.
78 * po/POTFILES.in: Regenerate.
79 * aclocal.m4: Regenerate.
80 * config.in: Regenerate.
81 * configure: Regenerate.
82
a2f14207
DB
832002-03-20 Daniel Berlin <dan@dberlin.org>
84
85 * readelf.c: Add support for displaying dwarf2 location lists.
86 (do_debug_loc, debug_loc_section, debug_loc_size): New.
87 (parse_args): Use 'O' as shorthand for displaying location list
88 section.
89 (process_section_headers): Handle debug_loc as well.
90 (load_debug_loc): New.
91 (free_debug_loc): New.
92 (fetch_location_list): New.
93 (display_debug_loc): New.
94 (display_debug_info): Call load_debug_loc and free_debug_loc.
95 (debug_displays): We can display .debug_loc now, too.
96 (usage): Update usage string.
97 (read_and_display_attr_value): Note location lists, but don't
98 display them inline.
99
eb1e0e80
NC
1002002-03-18 Tom Rix <trix@redhat.com>
101
102 * Makefile.am: Add binutils emulation support.
103 * configure.in: Same.
104 * configure.tgt: New file. Same.
105 * ar.c (main): Use ar_emul_parse_arg.
106 (usage): Use ar_emul_usage.
107 (replace_members): Use ar_emul_replace, ar_emul_append.
108 * binemul.c: New file. Define the binutils emulation
109 layer. Define default methods.
110 * binemul.h: New file. Binutils emulation layer header file.
111 * emul_aix.c: New file. AIX binutils emulation.
112 * emul_vanilla.c: New file. Default binutils emulation.
113 * Makefile.in: Regenerate.
114 * configure: Same.
115
a1c259a1
NC
1162002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
117
118 * po/fr.po: Updated version.
119
9ce88e60
NC
1202002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
121
122 * po/fr.po: Updated version.
123
effb0601
DJ
1242002-03-07 Daniel Jacobowitz <drow@mvista.com>
125
126 * README: Update some version numbers.
127
a65688ab
DJ
1282002-03-07 Daniel Jacobowitz <drow@mvista.com>
129
130 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
131 (Architecture Selection): Likewise.
132
f3f7fbb2
NC
1332002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
134
135 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
136 generating .exp file.
137
25345be5
NC
1382002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
139
140 * readelf.c (dump_relocations): Fix typo.
141
9a66911f
NC
1422002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
143
144 * NEWS: Mark 2.12 branch.
145
2c71103e
NC
1462002-02-18 Timothy Daly <remote_bob@yahoo.com>
147
148 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
149 types for 64-bit MIPS. Narrow some fields for 80-char
150 output.
151 (dump_relocations): Change spelling from 'unrecognised'
152 to 'unrecognized'.
153 (decode_ARM_machine_flags): Likewise.
154 (parse_args): Likewise.
155 (read_and_display_attr_value): Likewise.
156 (display_debug_section): Likewise.
157
49fda6c8
HPN
1582002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
159
160 * NEWS: Mention support for MMIX.
161
76f57f3a
JT
1622002-02-13 Matt Fredette <fredette@netbsd.org>
163
164 * readelf.c (get_machine_flags): Recognize EF_M68000.
165
d36ca9c2
AO
1662002-02-12 Alexandre Oliva <aoliva@redhat.com>
167
168 * MAINTAINERS: Added self as MN10300 co-maintainer.
169
19397422
AM
1702002-02-12 Alan Modra <amodra@bigpond.net.au>
171
172 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
173 DT_PPC64_OPDSZ.
174
d434e574
DJ
1752002-02-11 Daniel Jacobowitz <drow@mvista.com>
176
177 * MAINTAINERS: List myself as branch maintainer.
178
12b87c89
AM
1792002-02-11 Alan Modra <amodra@bigpond.net.au>
180
181 * configure: Regenerate.
182 * objcopy.c: Update copyright date.
183 * doc/Makefile.in: Regenerate.
184
8d037c5c
DJ
1852002-02-10 Daniel Jacobowitz <drow@mvista.com>
186
187 * nlmconv.c: Back out localtime PARAMS change.
188
4c168fa3
AM
1892002-02-11 Alan Modra <amodra@bigpond.net.au>
190
191 * objcopy.c (MKDIR): Define.
192 (copy_archive): Make name_list.name const. Use MKDIR.
193 Handle duplicate files in archives by making more temp dirs.
194
408f8db1
DJ
1952002-02-10 Daniel Jacobowitz <drow@mvista.com>
196
197 * coffdump.c: Include "getopt.h" after "bucomm.h"
198 so that macros are defined correctly.
199 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
200 prototype. Prototype main.
201 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
202
9f77fa06
AO
2032002-02-06 Alexandre Oliva <aoliva@redhat.com>
204
205 * MAINTAINERS: Added self as SH co-maintainer.
206
82f6addb
NC
2072002-02-05 Nick Clifton <nickc@redhat.com>
208
209 * po/tr.po: Updated translation.
210
ba323545
AM
2112002-02-01 Alan Modra <amodra@bigpond.net.au>
212
213 * Makefile.am: Run "make dep-am"
214 * Makefile.in: Regenerate.
215
3deb89d3
DJ
2162002-01-29 Daniel Jacobowitz <drow@mvista.com>
217
218 * nm.c (print_value): Mark abfd unused.
219
a0e9c55f
DJ
2202002-01-29 Daniel Jacobowitz <drow@mvista.com>
221
222 * unwind-ia64.c (unw_decoder): Change second argument
223 to unsigned int, to match function prototypes.
224
d7a283d4
DJ
2252002-01-29 Daniel Jacobowitz <drow@mvista.com>
226
227 * objdump.c: Include "getopt.h" after "bucomm.h" so that
228 __GNU_LIBRARY__ will be defined.
229 * size.c: Likewise.
230
4867be41
DJ
2312002-01-27 Daniel Jacobowitz <drow@mvista.com>
232
233 * configure: Regenerated.
234
7562a296
HPN
2352002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
236
237 * doc/Makefile.am (install): Depend on install-info.
238 * doc/Makefile.in: Regenerate.
239
15c82623
NC
2402002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
241
242 * objcopy.c (strip_usage): Document -d as an alias
243 --strip-debug.
244
245 * size.c (usage): Document [-t | --totals] options.
246 (long_options): Add --totals option.
247 (main): If the [-t | --totals] option is specified and
248 the output format is Berkeley-style, print the total
249 text, data, and bss sizes of all objects listed.
250 (print_berkeley_format): If the [-t | --totals] option
251 is specified, track the total text, data, and bss
252 sizes.
253 * doc/binutils.texi (size): Document [-t | --totals] options.
254 (strip): Document -d as an alias for --strip-debug.
255 * NEWS: Mention new feature of size.
256
00ea8601 2572002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 258
1ddbd152
NC
259 * po/fr.po: Updated version.
260 * po/es.po: Updated version.
b85cedd7 261
8b53311e
NC
2622002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
263
264 * addr2line.c (usage): Update text to provide verbose
265 description of the command line options.
266 * ar.c (usage): Update text to provide verbose
267 description of the command line options.
268 (main): Accept -h and -H when running as ranlib.
269 * coffdump.c (show_usage): Update text to provide verbose
270 description of the command line options.
271 * dlltool.c (main): Accept -H as an alias for --help.
272 * nlmconv.c (show_usage): Update text to provide verbose
273 description of the command line options.
274 * nm.c (usage): Replace OPTIONS with option(s).
275 (main): Accept -H as an alias for --help.
276 * objcopy.c (strip_main): Accept -H as an alias for --help.
277 * objdump.c (main): Accept -v as an alias for --verbose.
278 * readelf.c (usage): Adjust format to match style used in
279 other binutils.
280 * size.c (usage): Update text to provide verbose description
281 of the command line options.
282 (main): Accept -v, -h and -H as command line options.
283 * srconv.c (show_usage): Update text to provide verbose
284 description of the command line options.
285 * strings.c (main): Accept -H and -v as command line options.
286 (usage): Update text to provide verbose description of the
287 command line options.
288 * sysdump.c (show_usage): Update text to provide verbose
289 description of the command line options.
290 * windres.c (usage): Adjust format to match style used in
291 other binutils.
292
293 * coffdump.c: Fix formatting.
294 * nlmconv.c: Fix formatting.
295 * srconv.c: Fix formatting.
296 * sysdump.c: Fix formatting.
297
c46f0c34
AM
2982002-01-22 Alan Modra <amodra@bigpond.net.au>
299
300 * Makefile.am: Run "make dep-am".
301 * Makefile.in: Regenerate.
302
2a538ba5
AJ
3032002-01-18 Andreas Jaeger <aj@suse.de>
304
305 * version.c (print_version): Update year.
306
285d1771
AM
3072002-01-17 Alan Modra <amodra@bigpond.net.au>
308
309 * readelf.c (get_machine_name): Handle EM_PPC64.
310 (guess_is_rela): Here too.
311
328577ad
NC
3122002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
313
314 * po/binutils.pot: Regenerate.
315 * po/fr.po: Regenerate.
316 * po/tr.po: Regenerate.
317
af3ae48d
NC
3182002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
319
320 * po/tr.po: Import new version.
321
f1cb7e17
AM
3222002-01-16 Alan Modra <amodra@bigpond.net.au>
323
324 * readelf.c (get_ppc64_dynamic_type): New.
325 (get_dynamic_type): Call it.
326
6364e0b4
NC
3272002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
328
3ab9460d
NC
329 * objcopy.c (copy_usage): Use "options" instead of "switches".
330 (strip_usage): Use "options" instead of "switches".
331 * doc/binutils.texi (dlltool): Refer to "options" instead of
332 "switches".
6364e0b4 333
3a7e524e
RE
3342002-01-14 Richard Earnshaw <rearnsha@arm.com>
335
336 * MAINTAINERS: Add self as co-maintainer for the ARM code.
337
1209e219
NC
3382001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
339
340 * po/es.po: Import from translation project.
341 * configure.in (ALL_LINGUAS): Add es.
342 * configure: Regenerate.
343
b4db1224
JT
3442002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
345
346 * readelf.c (get_netbsd_elfcore_note_type): Use
347 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
348
9437c45b
JT
3492002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
350
351 * readelf.c: Update copyright years.
352 (get_note_type): Return a const char *.
353 (get_netbsd_elfcore_note_type): New function.
354 (process_note): Use get_netbsd_elfcore_note_type to get
355 the note type string for NetBSD ELF core files.
356
00428cca
AM
3572002-01-06 Steve Ellcey <sje@cup.hp.com>
358
359 * readelf.c (get_ia64_segment_type): Add support for macros.
360 (get_segment_type): Add support for IA64 specific macros.
361
31104126
NC
3622001-12-20 Julian v. Bock <julian@wongr.net>
363
364 * readelf.c (print_symbol): New function: Print a formatted symbol
365 name. If --wide is specified do not truncate it.
366 (dump_relocations): Use print_symbol() to print symbol names.
367 (process_symbol_table): Likewise.
368 (process_syminfo): Likewise.
369 (process_mips_specific): Likewise.
370 (usage): Document new feature of --wide switch.
371 * doc/binutils.texi (objdump): Document additional behaviour of
372 --wide.
2a538ba5 373
4dd67f29
MS
3742001-12-18 Michael Snyder <msnyder@redhat.com>
375
376 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
377 (copy_object): Don't set the start address or flags of a core file.
378 (copy_section): Don't relocate a core file. Don't copy contents
379 if the input section has the contents flag set, but the output
380 section does not (which happens with the fake 'note' pseudo-
381 sections that BFD creates for corefiles).
382
43521d43
TS
3832001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
384
385 * readelf.c (get_machine_flags): Recognize header flags for ABI and
386 ASE extensions. More robust code for ISA checking. Ignore empty fields
387 in header flags for GNU extensions.
388
b667df2e
AM
3892001-12-18 Alan Modra <amodra@bigpond.net.au>
390
391 * objcopy.c (copy_archive): Set output bfd format outside the loop.
392
17a5a5c3
NC
3932001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
394
395 * po/ja.po: Import from translation project.
396 * configure.in (ALL_LINGUAS): Add ja.
397 * configure: Regenerate.
398
65de42c0
TS
3992001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
400
401 * addr2line.c (main): Protoype.
402 * ar.c (main): Protoype.
403 * nm.c (main): Protoype.
404 * objcopy.c (main): Protoype.
405 * objdump.c (main): Protoype.
406 * size.c (main): Protoype.
407 * strings.c (main): Protoype.
408
9ad5cbcf
AM
4092001-12-17 Alan Modra <amodra@bigpond.net.au>
410
411 * readelf.c (symtab_shndx_hdr): New global.
412 (SECTION_HEADER_INDEX): Define.
413 (SECTION_HEADER_NUM): Define.
414 (SECTION_HEADER): Define.
415 (GET_ELF_SYMBOLS): Pass two params rather than three.
416 (get_32bit_elf_symbols): Take file and section args. Read and
417 use SHT_SYMTAB_SHNDX.
418 (get_64bit_elf_symbols): Likewise.
419 (dump_relocations): Use SECTION_HEADER to index "section_headers".
420 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
421 Remember symtab_shdx_hdr.
422 (process_program_headers): Scan from index 1 for segment map.
423 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
424 "section_headers".
425 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
426 (process_unwind): Likewise.
427 (process_version_sections): Likewise.
428 (process_symbol_table): Likewise.
429 (display_debug_info): Likewise.
430 (process_dynamic_segment): Fake up a symtab section for changed
431 GET_ELF_SYMBOLS.
432 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
433 (process_program_headers): Kill signed/unsigned warning.
434 (load_debug_str): Likewise.
435 (display_debug_info): Likewise.
436
65765700
JJ
4372001-12-13 Jakub Jelinek <jakub@redhat.com>
438
439 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
440
560f3c1c
AM
4412001-12-11 Alan Modra <amodra@bigpond.net.au>
442
443 * readelf.c (process_file_header): Print extended e_shnum and
444 e_shdtrndx values. Set elf_header values for same.
445 (get_32bit_section_headers): Add "num" arg to read "num" headers.
446 (get_64bit_section_headers): Likewise.
447 (process_section_headers): Update calls.
448 (get_file_header): Call get_32bit_section_headers or 64bit variant.
449
bc408b8a
JJ
4502001-12-10 Jakub Jelinek <jakub@redhat.com>
451
452 * objcopy.c (setup_section): Copy entsize.
453
93fbbb04
GK
4542001-12-07 Geoffrey Keating <geoffk@redhat.com>
455
456 * readelf.c (guess_is_rela): Add support for stormy16.
457 (dump_relocations): Likewise.
458 (get_machine_name): Likewise.
459
e3c8793a
NC
4602001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
461
462 * dllwrap.c (main) Replace multiple strings describing a
463 single error with a single, newline escaped sentence to permit
464 better translation into foreign languages.
465
466 * readelf.c (get_elf_class): Remove internalionalisation of ELF
467 class names.
468
956cd1d6
TS
4692001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
470
471 * strings.c (get_char): Initialize value.
472
956c53ee
TS
4732001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
474
475 * arlex.l: Silence compile warnings.
476 * arsup.h: Likewise. Fix formatting.
477
cedd9a58
JJ
4782001-12-04 Jakub Jelinek <jakub@redhat.com>
479
480 * strings.c: Include config.h before bfd.h.
481 (file_off): New type.
482 (file_open): Define.
483 (print_strings): Use file_off instead of file_ptr. Print addresses
484 which don't fit into long correctly.
485 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
486 available.
487 (strings_file): Use file_off instead of file_ptr. Use file_open.
488 * configure.in: Check for getc_unlocked.
489 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
490 be defined for it.
491 * configure: Rebuilt.
492 * config.h.in: Rebuilt.
493
af667503
L
4942001-11-29 H.J. Lu <hjl@gnu.org>
495
496 * bucomm.c (make_tempname): Revert the changes made on
497 2001-11-14 and 2001-11-12. They won't work with directories.
498
16474668
NC
4992001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
500
501 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
502 CFLAGS_FOR_TARGET to runtest in environment.
503 * Makefile.in: Rebuild.
504 * doc/Makefile.in: Rebuild.
505
17978339
MS
5062001-11-28 Mike Stump <mrs@wrs.com>
507
508 * objcopy.c (setup_section): Preserve SEC_RELOC when
509 --set-section-flags is used.
510
261a45ad
NC
5112001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
512
513 * readelf.c (do_debug_str): New variable.
514 (display_debug_str): New function: Display the contents of a
515 .debug_str section.
516 (load_debug_str): New function: Load in the contents of a
517 .debug_str section.
518 (free_debug_str): New function: Free the memory used by
519 load_debug_str().
520 (fetch_indirect_string): Retrieve a string from the .debug_str
521 section.
522 (usage): Add -ws.
523 (parse_args): Accept -ws.
524 (process_section_headers): Allow the display of the .debug_str
525 section.
526 (read_and_display_attr_value): Use fetch_indirect_string. Show
527 offset into .debug_str section.
528 (display_debug_info): Use load_debug_str and free_debug_str.
529 (debug_displays): Add .debug_str.
530 * doc/binutils.texi: Document -ws.
531
b8908f93
AJ
5322001-11-19 Andreas Jaeger <aj@suse.de>
533
534 * testsuite/binutils-all/objdump.exp: Add x86-64.
535
e5fb9629
AS
5362001-11-15 Andreas Schwab <schwab@suse.de>
537
538 * readelf.c: Fix warnings without terminating newline.
539
802a735e
AM
5402001-11-15 Alan Modra <amodra@bigpond.net.au>
541
542 * doc/binutils.texi (objdump): Document ppc -M options.
543
b89e9eae
AJ
5442001-11-14 Andreas Jaeger <aj@suse.de>
545
546 * doc/binutils.texi (objdump): Fix description to use x86-64.
547
a6a25652
NC
5482001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
549
550 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
551 not all systems provide mkstemp.
552
e396998b
AM
5532001-11-14 Alan Modra <amodra@bigpond.net.au>
554
555 * doc/binutils.texi (objdump): Document x86 -M options.
556
81766fca
RH
5572001-11-13 Keith Walker <keith.walker@arm.com>
558
559 * readelf.c (read_and_display_attr_value): New function to
560 handle DW_FORM_indirect.
561 (read_and_display_attr): Use it.
562
1a509dcc
GK
5632001-11-13 Geoffrey Keating <geoffk@redhat.com>
564
565 * readelf.c (display_debug_lines): Deal with unknown standard
566 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
567 DW_LNS_set_isa.
568
6e917903 5692001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 570
6e917903
TW
571 * MAINTAINERS: Add self as tic54x maintainer. This target
572 includes the IBM C54XDSP clone.
7559e86e 573
6e917903 5742001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 575
7559e86e
NC
576 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
577
5782001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 579
ecdadc4a
JL
580 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
581 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
582 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
583 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
584 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
585 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
586 (unw_decode_b2, unw_decode_b3_b4): Likewise.
587
91770270
JL
588 * readelf.c (get_elf_class): Fix ISO portability glitch.
589 (get_data_encoding, get_osabi_name, request_dump): Likewise.
590
ef5cdfc7
JJ
5912001-11-07 Jakub Jelinek <jakub@redhat.com>
592
593 * readelf.c (debug_str, debug_str_size): New.
594 (display_debug_abbrev): If no abbrevs were read, skip the CU.
595 Call free_abbrevs.
596 (read_and_display_addr): Handle DW_FORM_strp.
597 (display_debug_info): Read .debug_str section if present,
598 so that DW_FORM_strp can be handled.
599 Fix test for non-existant .debug_abbrev section.
600
5e9520c8
JJ
6012001-11-05 Jakub Jelinek <jakub@redhat.com>
602
603 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
604
605 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
606
54589086
MS
6072001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
608
609 * MAINTAINERS: Add self as s390/s390x maintainer.
610
c05b685b
TR
6112001-11-02 Tom Rix <trix@bluey.cygnus.com>
612
613 * MAINTAINERS: Add self as PPC XCOFF maintainer.
614
3c62831e
NC
6152001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
616
617 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
618 * configure: Regernate.
619 * po/fr.po: New file.
620 * po/tr.po: New file.
621
3c3bdf30
NC
6222001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
623
9b19141a 624 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
625 * readelf.c: Include elf/mmix.h.
626 (guess_is_rela): MMIX is RELA.
627 (dump_relocations): Handle MMIX relocations.
628 * Makefile.am: Regenerate dependencies.
629 * Makefile.in: Regenerate.
630
f662939a
NC
6312001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
632
633 * readelf.c (parse_args): Handle multiple options to the -w
634 switch.
635
c91d0dfb
JJ
6362001-10-12 Jakub Jelinek <jakub@redhat.com>
637
638 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
639 LOPROC, LOOS and LOUSER.
640
7559e86e 6412001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
642
643 * MAINTAINERS: Update my email address.
644
fcd8210c
AM
6452001-10-03 Alan Modra <amodra@bigpond.net.au>
646
647 * doc/Makefile.in: Regenerate.
648 * configure: Regenerate.
649
428409d5
NC
6502001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
651
652 * readelf.c (display_debug_line, display_debug_pubnames,
653 display_debug_info, display_debug_frames): Detect and warn
654 about 64-bit format entries.
655 (display_debug_aranges): Reword 64-bit warning.
656 (debug_displays): Add .debug_pubtypes as a known, but not yet
657 supported, debug section.
658
6a8c2b0d
AM
6592001-10-02 Alan Modra <amodra@bigpond.net.au>
660
661 * coffdump.c (PROGRAM_VERSION): Delete.
662 (main <'V'>): Call print_version.
663 * srconv.c: Likewise.
664 * sysdump.c: Likewise.
665 * version.c (program_version): Remove.
666 (print_version): Use BFD_VERSION_STRING. Just print the current
667 year in copyright message.
668 * addr2line.c (program_version): Remove unused declaration.
669 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
670 place of BFD_VERSION.
671 * Makefile.am (Makefile): Depend on bfd/configure.in.
672 (cplus-dem.o): Depend on Makefile.
673 Run "make dep-am".
674 * Makefile.in: Regenerate.
675
e414a165
NC
6762001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
677
678 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
679 format .debug_arange sections.
680 (main): Add missing prototype.
b8908f93 681
efc3ee7f
HPN
6822001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
683
684 * Makefile.am: Update dependencies with "make dep-am".
685 * Makefile.in: Regenerate.
686
9e85c2a0
RH
6872001-09-28 Richard Henderson <rth@redhat.com>
688
689 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
690
451dad9c
AM
6912001-09-26 Alan Modra <amodra@bigpond.net.au>
692
693 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
694 VA_CLOSE.
695 (non_fatal): Likewise.
696 * objdump.c (objdump_sprintf): Likewise.
697 * readelf.c (error): Likewise.
698 (warn): Likewise.
699
d974e256
JJ
7002001-09-25 Jakub Jelinek <jakub@redhat.com>
701
702 * readelf.c (do_wide): New.
703 (options): Add --wide.
704 (usage, parse_args): Likewise.
705 (process_program_headers): Put each segment on a single line if
706 --wide is given.
707 (process_section_headers): Put each section on a single line if
708 --wide is given.
709 * doc/binutils.texi: Document it.
710 * NEWS: Likewise.
711
2f11c261
AM
7122001-09-25 Alan Modra <amodra@bigpond.net.au>
713
714 * readelf.c (print_vma): Print 8 digits of low hex value.
715
1d50f91e
AJ
7162001-09-24 Andreas Jaeger <aj@suse.de>
717
718 * nlmconv.c: Fix warnings about unused attributes and function
719 prototypes.
720
721 * strings.c: Add prototype for get_char.
722
38131e67
L
7232000-09-19 H.J. Lu <hjl@gnu.org>
724
725 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
726 $(srcdir)/cxxfilt.man.
727 * doc/Makefile.in: Rebuild.
728
3bcfb3e4
AM
7292001-09-19 Alan Modra <amodra@bigpond.net.au>
730
731 * objcopy.c (copy_main): Correct rename-section string parsing.
732 Consolidate new_name parsing, and error messages.
733
3882b010
L
7342001-09-18 Bruno Haible <haible@clisp.cons.org>
735
736 * addr2line.c: Don't include <ctype.h>.
737 (main): For gettext, also set the LC_CTYPE locate facet.
738 * ar.c (main): Likewise.
739 * coffdump.c (main): Likewise.
740 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
741 (main): For gettext, also set the LC_CTYPE locate facet.
742 Use ISALNUM instead of isalpha/isdigit.
743 * dllwrap.c: Don't include <ctype.h>.
744 (main): For gettext, also set the LC_CTYPE locate facet.
745 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
746 (main): For gettext, also set the LC_CTYPE locate facet.
747 Use TOUPPER instead of islower/toupper.
748 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
749 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
750 Use TOUPPER instead of islower/toupper.
751 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
752 * objcopy.c (main): Likewise.
753 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
754 (disassemble_bytes): Use ISPRINT instead of isprint.
755 (dump_section_stabs): Use ISDIGIT instead of isdigit.
756 (dump_data): Use ISPRINT instead of isprint.
757 (main): For gettext, also set the LC_CTYPE locate facet.
758 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
759 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
760 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
761 Use TOUPPER instead of islower/toupper.
762 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
763 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
764 (write_rc_accelerators): Use ISPRINT instead of isprint.
765 (write_rc_rcdata): Likewise.
766 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
767 * srconv.c (main): Likewise.
768 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
769 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
770 isdigit/isupper/islower.
771 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
772 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
773 stab_demangle_prefix, stab_demangle_qualified,
774 stab_demangle_template, stab_demangle_type,
775 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
776 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
777 (isgraphic): Use ISPRINT instead of isascii/isprint.
778 (main): Remove HAVE_LC_MESSAGES dependency.
779 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
780 (pbarray): Use ISPRINT instead of isprint.
781 (main): For gettext, also set the LC_CTYPE locate facet.
782 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
783 (format_from_filename): Use ISPRINT instead of isprint.
784 (main): For gettext, also set the LC_CTYPE locate facet.
785 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
786 (unicode_print): Use ISPRINT instead of isprint.
787 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
788 (stab_variable): Use ISDIGIT instead of isdigit.
789
e59b4dfb
AM
7902001-09-18 Alan Modra <amodra@bigpond.net.au>
791
792 * ar.c (print_contents): Cast args of bfd_seek to the right types.
793 Replace bfd_read call with call to bfd_bread.
794 (extract_file): Likewise.
795
796 * objdump.c (dump_section_header): Cast section->filepos to
797 unsigned long to suit printf format string.
798 * readelf.c (process_section_headers): Similarly for sh_offset.
799 (process_unwind): Likewise.
800
d132876a
NC
8012001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
802
803 * strings.c (encoding, encoding_bytes): New variables.
804 (long_options): Add --encoding.
805 (main): Accept -e and --encoding.
806 (get_char): New function. Read a, possibly wide, character from
807 the input stream.
808 (print_strings): Use get_char().
809 (usage): Document new command line option.
810 * doc/binutils.texi: Document new command line option.
811 * NEWS: Announce new command line option.
812
7559e86e 8132001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
814
815 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
816 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
817 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
818 Removed EM_CYGNUS_ARC.
819
7559e86e 8202001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
821
822 * readelf.c: Include elf/h8 for H8 series definitions.
823 (guess_is_rela): H8 series if RELA.
824 (dump_relocations): Handle H8 series relocations.
825
0823fbca
EC
8262001-08-31 Eric Christopher <echristo@redhat.com>
827
828 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
829
8db76d70
PT
8302001-08-29 Peter Targett <peter.targett@arccores.com>
831
832 * MAINTAINERS: Include ARC Maintainer.
833
d81d6584
BE
8342001-08-29 Ben Elliston <bje@redhat.com>
835
836 * stabs.c (stab_demangle_template): Initialise s4.
837
25a1ff5b
AM
8382001-08-27 Alan Modra <amodra@bigpond.net.au>
839
840 * readelf.c (dump_relocations): Recognise EM_PPC64.
841
a5d22d2a
TS
8422001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
843
844 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
845
62a5a82d
L
8462001-08-25 H.J. Lu <hjl@gnu.org>
847
848 * nm.c (print_width): New.
849 (display_rel_file): Set `print_width' according to
850 bfd_sprintf_vma.
851 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
852
1ae8b3d2
AO
8532001-08-24 Alexandre Oliva <aoliva@redhat.com>
854
855 * objcopy.c (use_alt_mach_code): New variable.
856 (OPTION_ALT_MACH_CODE): Define.
857 (copy_options): Added --alt-machine-code.
858 (copy_main): Handle it.
859 (copy_object): Switch to alternate machine code if requested.
860 * doc/binutils.texi: Document new option.
861 * NEWS: Likewise.
862
d1bdd336
TS
8632001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
864
865 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
866
410f7a12
L
8672001-08-21 H.J. Lu <hjl@gnu.org>
868
869 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
870 (display_debug_info): Cast for 64bit hosts.
871 (display_debug_frames): Likewise.
872 (process_mips_specific): Likewise.
873
c32144ff
AJ
8742001-08-21 Andreas Jaeger <aj@suse.de>
875
876 * coffgrok.h: Add missing parameter for prototype of coff_grok.
877
878 * sysdump.c: Add missing prototypes.
879 * srconv.c: Likewise.
880 * unwind-ia64.c: Likewise.
881 * coffdump.c: Likewise.
882
883 * sysinfo.y: Print prototypes, include <ansidecl.h>.
884
885 * coffgrok.c: Add missing prototypes, include libiberty.h instead
886 of declaring xcalloc.
887
d8180c76
L
8882001-08-10 H.J. Lu <hjl@gnu.org>
889
890 * nm.c (print_value): Add one arg, bfd *.
891 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
892 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
893 (print_symbol_info_sysv): Likewise.
894 (print_symbol_info_posix): Likewise.
895
896 * objdump.c (dump_section_header): Replace printf_vma with
897 bfd_printf_vma.
898 (print_section_stabs): Likewise.
899 (dump_bfd_header): Likewise.
900 (objdump_print_value): Replace sprintf_vma with
901 bfd_sprintf_vma.
902 (disassemble_bytes): Likewise.
903 (dump_reloc_set): Likewise.
904
0218d1e4
AJ
9052001-08-10 Andreas Jaeger <aj@suse.de>
906
907 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
908 to build warnings.
909 * configure: Regenerate.
910
2863d58a
AM
9112001-08-09 Alan Modra <amodra@bigpond.net.au>
912
913 * readelf.c: Add missing prototypes.
914 * objdump.c: Likewise. Format existing prototypes.
915
c0e047e0
AO
9162001-08-08 Alexandre Oliva <aoliva@redhat.com>
917
918 * readelf.c (display_debug_info): Add to abbrev_offset the addend
919 of any RELA relocation for the abbrev_offset memory location that
920 refers to the .debug_abbrev section symbol.
921
ff78d6d6
L
9222001-08-07 H.J. Lu <hjl@gnu.org>
923
924 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
925 (main): Return process_file ().
926
c36774d6
PB
9272001-08-05 Philip Blundell <philb@gnu.org>
928
929 * doc/binutils.texi: Use "Thumb" not "THUMB".
930
8f9d9bd9
JH
9312001-08-03 John Healy <jhealy@redhat.com>
932
933 Patch suggested by Frank Eigler <fche@redhat.com>.
934 * objdump.c (disassemble_data): Fill in section member of the
935 disasm_info structure.
936
c918cb96
DD
9372001-08-03 Tom Walsh <tom@cyberiansoftware.com>
938
939 * configure.in: Added --with-windres option.
940 * configure: Regenerated.
941
c7c55b78
NC
9422001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
943
944 * doc/binutils.texi: Use @command{name} for commands;
945 use @option{-opt} for options; use @table @env for list of options;
946 remove spaces arround [ | ] in synopsis.
947
948 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
949 center title.
950
594ef5db
NC
9512001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
952
953 * objcopy.c: Fix formatting.
954 (section_rename): New structure.
955 (OPTION_RENAME_SECTION): New switch.
956 (copy_usage): Document new switch.
957 (add_section_rename): New function: Add a node to the section
958 rename list.
959 (find_section_rename): New function: Find the new name and
960 flags for a section.
961 (setup_section): Call find_section_name to determine the name
962 of the output section.
963 (copy_main): Handle OPTION_RENAME_SECTION.
964 * binutils.texi: Document new switch.
965 * NEWS: Mention new switch.
966
1f554c69
NC
9672001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
968
969 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
970 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
971 bug-binutils@gcc.org.
972
2f83960e
AM
9732001-07-28 Matthias Kramm <kramm@quiss.org>
974
975 * bucomm.c (list_supported_architectures): New function.
976 * bucomm.h (list_supported_architectures): Declare.
977 * objdump.c (usage): Call the above.
978
20fe0649
DB
9792001-07-25 Dave Brolley <brolley@redhat.com>
980
981 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
982 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
983
1b577b00
NC
9842001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
985
986 * README: Update for 2.11. Change bug reporting email address.
987 * MAINTAINERS: Tidy up. Change bug reporting email address.
988
95fd336c
DD
9892001-07-16 DJ Delorie <dj@redhat.com>
990
5f16d855
DD
991 * resres.c (write_res_header): Align header size.
992 (res_align_file): Calculate alignment correctly.
993
95fd336c
DD
994 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
995 correct 10).
996 * resrc.c (write_rc_resource): Likewise.
997 * windres.h (SUBLANG_SHIFT): Define - as 10.
998
ed8fee27
NC
9992001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1000
1001 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1002
90ab7e9a
NC
10032001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1004
1005 * MAINTAINERS: Add notes about branch checkins.
1006
e0c60db2
NC
10072001-07-05 Daniel Berlin <dan@cgsoftware.com>
1008
1009 * readelf.c (display_debug_macinfo): New function, display
1010 .debug_macinfo section.
1011 (do_debug_macinfo): New variable.
1012 (parse_args): Handle "-w[mM]" to mean display macro info.
1013 (process_section_headers): Handle debug_macinfo.
1014 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1015 function for .debug_macinfo display.
e0c60db2
NC
1016 * doc/binutils.texi: Document new command line switch.
1017 * NEWS: Document new feature of readelf.
0218d1e4 1018
24e01a36
L
10192001-07-05 H.J. Lu <hjl@gnu.org>
1020
1021 * objcopy.c (filter_symbols): Don't turn undefined symbols
1022 into local.
1023
4258bf4d
L
10242001-07-03 H.J. Lu <hjl@gnu.org>
1025
1026 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1027 $@.pod.
1028 (ar.1): Likewise.
1029 (dlltool.1): Likewise.
1030 (nlmconv.1): Likewise.
1031 (nm.1): Likewise.
1032 (objcopy.1): Likewise.
1033 (objdump.1): Likewise.
1034 (ranlib.1): Likewise.
1035 (readelf.1): Likewise.
1036 (size.1): Likewise.
1037 (strings.1): Likewise.
1038 (strip.1): Likewise.
1039 (windres.1): Likewise.
1040 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1041 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1042 $(DEMANGLER_NAME).
1043 (as.1): Removed.
1044 * doc/Makefile.in: Regenerated.
1045
7014bc31
NC
10462001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1047
1048 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1049
b811889f
NC
10502001-07-01 Daniel Berlin <dan@cgsoftware.com>
1051
1052 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1053
12ab83a9
NC
10542001-06-29 James Cownie <jcownie@etnus.com>
1055
1056 * readelf.c: Support DWARF 2.1 attributes.
1057
a6e9f9df
AM
10582001-06-28 Alan Modra <amodra@bigpond.net.au>
1059
1060 * readelf.c (GET_DATA_ALLOC): Remove.
1061 (GET_DATA): Remove.
1062 (get_data): New function combining above macros, with an extra
1063 test for zero size.
1064 (slurp_rela_relocs): Use get_data, and catch error return.
1065 (slurp_rel_relocs): Likewise.
1066 (get_32bit_program_headers): Likewise.
1067 (get_64bit_program_headers): Likewise.
1068 (get_32bit_section_headers): Likewise.
1069 (get_64bit_section_headers): Likewise.
1070 (get_32bit_elf_symbols): Likewise.
1071 (get_64bit_elf_symbols): Likewise.
1072 (process_section_headers): Likewise.
1073 (process_relocs): Likewise.
1074 (slurp_ia64_unwind_table): Likewise.
1075 (process_unwind): Likewise.
1076 (get_32bit_dynamic_segment): Likewise.
1077 (get_64bit_dynamic_segment): Likewise.
1078 (process_dynamic_segment): Likewise.
1079 (process_version_sections): Likewise.
1080 (process_symbol_table): Likewise.
1081 (dump_section): Likewise.
1082 (display_debug_info): Likewise.
1083 (display_debug_section): Likewise.
1084 (process_section_contents): Likewise.
1085 (process_corefile_note_segment): Likewise.
1086 (process_mips_specific): Likewise. Also free econf32, econf64.
1087
af3fc3bc
AM
10882001-06-25 Alan Modra <amodra@bigpond.net.au>
1089
1090 * readelf.c (dump_relocations): Print "bad symbol index" if
1091 symtab == NULL with non-zero symtab_index.
1092 (process_relocs): Don't bomb if reloc section has no symsec.
1093
6d900bf6
L
10942001-06-24 H.J. Lu <hjl@gnu.org>
1095
1096 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1097 by accident.
1098 (copy_main): Apply the the change made to strip_main on
1099 2001-05-30 by accident.
1100
49b4e386
AJ
11012001-06-23 Andreas Jaeger <aj@suse.de>
1102
1103 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1104 parameter 'code'.
1105 (unw_decode_x2): Likewise.
1106 (unw_decode_x3): Likewise.
1107 (unw_decode_x4): Likewise.
1108
d8dc71e3
BE
11092001-06-23 Ben Elliston <bje@redhat.com>
1110
1111 * MAINTAINERS: Add myself as M88k maintainer.
1112
af3bdff7
NC
11132001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1114
1115 * objcopy.c (strip_main): Support -o or --output-file command lien
1116 switch.
1117
105e7211
L
11182001-06-19 H.J. Lu <hjl@gnu.org>
1119
1120 * doc/Makefile.in: Regenerated.
1121
c45021f2
NC
11222001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1123
1124 * readelf.c: Restore formatting.
1125
11262001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1127
1128 * Makefile.am: Move documentation into doc subdirectory.
1129 * Makefile.in: Regenerated.
1130 * binutils.texi: Move into doc subdirectory.
1131 * addr2line.1: Removed.
1132 * ar.1: Likewise.
1133 * dlltool.1: Likewise.
1134 * nlmconv.1: Likewise.
1135 * nm.1: Likewise.
1136 * objcopy.1: Likewise.
1137 * objdump.1: Likewise.
1138 * ranlib.1: Likewise.
1139 * readelf.1: Likewise.
1140 * size.1: Likewise.
1141 * strings.1: Likewise.
1142 * strip.1: Likewise.
1143 * windres.1: Likewise.
1144 * cxxfilt.man: Likewise.
1145 * doc: New Directory.
1146 * doc/Makefile.am: New file.
1147 * doc/Makefile.in: Generate.
1148
09ad7db3
AM
11492001-06-09 Alan Modra <amodra@bigpond.net.au>
1150
1151 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1152
936260fe
AM
11532001-06-01 Alan Modra <amodra@bigpond.net.au>
1154
1155 * MAINTAINERS: Update my email address.
1156
16b2b71c
NC
11572001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1158
1159 * objcopy.c: Add new switches: --keep-global-symbol,
1160 --keep-symbols, --localize-symbols, --keep-global-symbols and
1161 --weaken-symbols.
1162 * binutils.texi: Document new switches.
1163 * objcopy.1: Regenerate.
1164 * NEWS: Announce new feature.
1165
7036c0e1
AJ
11662001-05-28 Andreas Jaeger <aj@suse.de>
1167
1168 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1169 variables, fix format strings.
1170
76a406e5
NC
11712001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1172
1173 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1174 when computing the address of the line to show.
1175
31b6fca6
RH
11762001-05-16 Richard Henderson <rth@redhat.com>
1177
1178 * readelf.c (do_debug_frames_interp): New.
1179 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1180 (byte_get_big_endian): Likewise.
1181 (parse_args) ['F']: Set do_debug_frames_interp.
1182 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1183 (frame_display_row): Don't trunc pc_begin to int.
1184 (size_of_encoded_value): New.
1185 (display_debug_frames): Handle 64-bit targets. Print raw data
1186 unless do_debug_frames_interp.
1187 (debug_displays): Remove duplicate .debug_frame.
1188
4fe85591
NC
11892001-05-15 Ralf Baechle <ralf@gnu.org>
1190
1191 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1192 The former constant was never in active use and is used otherwise
1193 by the ABI.
1194
579f31ac
JJ
11952001-05-11 Jakub Jelinek <jakub@redhat.com>
1196
1197 * readelf.c (process_unwind): Print all unwind sections, not just
1198 one.
1199
78f4a3f7
AM
12002001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1201
1202 * readelf.c (process_unwind): Remove const specifier.
1203
1c529ca6
NC
12042001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1205
1206 * strings.c (isgraphic): Do not use isascii() unless it is needed
1207 for isprint() to work.
1208 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1209
87e6d782
NC
12102001-04-27 Johan Rydberg <jrydberg@opencores.org>
1211
1212 * NEWS: Announce support for OpenRISC.
1213
4bd3d870 12142001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1215
1216 * dlltool.c (do_default_excludes): Initialise to true.
1217
21211521
AM
12182001-04-10 Alan Modra <amodra@one.net.au>
1219
1220 * MAINTAINERS: Update my email address
1221 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1222
0c66b61e 12232001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1224
1225 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1226
e58d53af
L
12272001-03-30 H.J. Lu <hjl@gnu.org>
1228
1229 * readelf.c (process_unwind): Just return if do_unwind is 0.
1230
bee72332
DD
12312001-03-28 Roger Sayle <roger@metaphorics.com>
1232
1233 * dlltool.c (make_one_lib_file): Fix section flags for
1234 .text, .data and .bss in stub ds*.o files to match those
1235 generated by gas.
1236
f1467e33
L
12372001-03-29 H.J. Lu <hjl@gnu.org>
1238
1239 * readelf.c (process_unwind): Only do unwind sections for
1240 IA64.
1241
1c6fb4fe
L
12422001-03-28 H.J. Lu <hjl@gnu.org>
1243
1244 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1245 * Makefile.in: Regenerate.
1246
0879a67a
AJ
12472001-03-26 Andreas Jaeger <aj@suse.de>
1248
1249 * binutils.texi (nm): Fix texi syntax.
1250
0285c67d
NC
12512001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1252
1253 * binutils.texi: Put @c man begin and @c man end indications
1254 to generate man pages using texi2pod and pod2man. Put @c man title
1255 to identify each man. Add SEEALSO entries.
1256 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1257 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1258 sort the list.
1259 (*.1): Build the man pages from binutils.texi.
1260 * Makefile.in: Regenerate.
1261
04847a4d
CF
12622001-03-13 Eric Kohl <ekohl@rz-online.de>
1263
1264 * defparse.y (opt_equal_name): allow "." in name.
1265 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1266 (gen_exp_file): Likewise.
1267
43a0748c
NC
12682001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1269
1270 * NEWS: Document addition of -B switch to objcopy.
1271 * binutils.texi: Document addition of -B switch to objcopy.
1272 * objcopy.c: (copy_options): Add --binary-architecture.
1273 (copy_usage): Document -B/--binary-architecture.
1274 (copy_main): Support -B/--binary-architecture. Set
1275 bfd_external_binary_architecture.
0879a67a 1276
b7498e0e
NC
12772001-03-11 Andreas Jaeger <aj@suse.de>
1278
1279 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1280 (dump_relocations): Likewise.
1281 (get_machine_name): Likewise.
1282
a59e3bd7
NC
12832001-02-28 Nick Clifton <nickc@redhat.com>
1284
1285 * readelf.c: (struct unw_aux_info): Remove const modifier for
1286 'strtab' field.
1287 (process_unwind): Remove non-K&R compliant LHS type cast in call
1288 to GET_DATA_ALLOC macro.
1289
a5bcd848
PB
12902001-02-28 Philip Blundell <pb@futuretv.com>
1291
1292 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1293 ABI is in use; remove ambiguity between the "unknown" EABI and
1294 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1295 renamed EF_xx constants.
1296
27b7e12d
AM
12972001-02-27 Alan Modra <alan@linuxcare.com.au>
1298
1299 * configure.in (BFD_VERSION): New.
1300 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1301 * configure: Regenerate.
1302 * Makefile.am: Run "make dep-am"
1303 * Makefile.in: Regenerate.
1304
a9f10786
NC
13052001-02-14 Nick Clifton <nickc@redhat.com>
1306
1307 * MAINTAINERS: Add "Obvious Fix" rule.
1308
3c44da9a
MS
13092001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1310
1311 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1312 literal concatenation.
1313
ecd03389
MS
13142001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1315
1316 * readelf.c (struct unw_aux_info): Remove const from the info member.
1317 (process_unwind): Don't type-cast the third argument to the
1318 GET_DATA_ALLOC macro.
1319
88ec60c7
NC
13202001-02-11 Nick Clifton <nickc@redhat.com>
1321
1322 * readelf.c (dump_relocations): Free corrected allocated
1323 array.
1324 (process_unwind): Fix compile time warning.
1325
f5e21966
NC
13262001-02-10 Nick Clifton <nickc@redhat.com>
1327
1328 * binutils.texi: Document new --unwind option to readelf.
1329
a85d7ed0
NC
13302001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1331
1332 * readelf.c: Add linux target for S/390.
1333
7bb10502
AM
13342001-02-10 Alan Modra <alan@linuxcare.com.au>
1335
1336 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1337 printf is a macro.
1338
8ca8f343
HPN
13392001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1340
1341 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1342 * aclocal.m4: Regenerate.
1343 * configure: Regenerate.
1344
7340082d
NC
13452001-02-07 Todd Vierling <tv@wasabisystems.com>
1346
1347 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1348 * objdump.c (bfd_target_vector): Likewise.
1349
4d6ed7c8
NC
13502001-02-07 David Mosberger <davidm@hpl.hp.com>
1351
1352 * readelf.c (process_unwind): New function.
1353 (slurp_ia64_unwind_table): Ditto.
1354 (dump_ia64_unwind): Ditto.
1355 (find_symbol_for_address): Ditto.
1356 (slurp_rela_relocs): New function (split off from dump_relocations()).
1357 (slurp_rel_relocs): Ditto.
1358 (parse_args): Handle '-u' option.
1359
1360 * unwind-ia64.c: New file.
1361 * unwind-ia64.h: New file.
1362 * Makefile.am: Include unwind-ia64.c in readelf build.
1363 * Makefile.in: Regenerate.
7340082d 1364 * po/binutils.pot: Regenerate.
4d6ed7c8 1365
c7217458
PB
13662001-02-04 Philip Blundell <philb@gnu.org>
1367
1368 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1369 * configure: Regenerate.
1370
956eedd4
AM
13712001-01-31 Steve deRosier <sderosier@vari-lite.com>
1372
1373 * ieee.c (ieee_add_bb11): Don't check for backslashes
1374 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1375
8855cbca
AM
13762001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1377
c7f2731e
AM
1378 * ieee.c: Update copyright.
1379 (ieee_start_compilation_unit): Don't check for backslashes
1380 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1381
8855cbca
AM
1382 * stabs.c: Update copyright. Include "filenames.h".
1383 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1384
329de803 13852001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1386
1387 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1388 sections are present before using them. Remove code duplication.
1389 (process_symbol_table): Check if VERDEF or VERNEED sections are
1390 present before using them.
1391
23719f39
NC
13922001-01-17 Nick Clifton <nickc@redhat.com>
1393
1394 * objcopy.c (copy_object): Fail if attempting to convert the
1395 endianness of the input object file.
1396
1397 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1398
f726e849
NC
13992001-01-16 Nick Clifton <nickc@redhat.com>
1400
1401 * readelf.c (string_table_length): New variable.
1402 (SECTION_NAME): Catch out of range indices and missing section
1403 pointers.
1404 (process_section_headers): Delete useless local variable
1405 string_table_offset. Set the value of string_table_length
1406 after loading the string table.
1407 (process_mips_specific): Use SECTION_NAME macro.
1408 (process_file): Set string_table_length to 0 when it is freed.
1409
d0398d6a
NC
14102001-01-12 Nick Clifton <nickc@redhat.com>
1411
1412 * version.c (print_version): Update copyright date.
1413
0d2bcfaf
NC
14142001-01-11 Peter Targett <peter.targett@arccores.com>
1415
1416 * readelf.c (dump_relocations): Include selection with EM_ARC.
1417 (get_machine_name) Update name to "ARC".
1418
8b1e6df3
NC
14192001-01-09 Nick Clifton <nickc@redhat.com>
1420
1421 * Makefile.am: Add rule to build objdump.o from objdump.c and
1422 using OBJDUMP_DEFS.
1423 * Makefile.in: Regenerate.
1424
1425 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1426 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1427 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1428 * configure: Regenerate.
8b1e6df3
NC
1429
1430 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1431 is defined read in the relocs even if dump_reloc_info is
1432 false.
1433
2f952d20
PB
14342001-01-07 Philip Blundell <philb@gnu.org>
1435
1436 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1437 `bug-binutils'.
1438 * README: Likewise.
1439
a8c548cb
NC
14402000-12-19 Nick Clifton <nickc@redhat.com>
1441
1442 * dlltool.c: Add missing support for arm-epoc-pe.
1443 * configure.in: Add missing support for arm-epoc-pe.
1444 * configure: Regenerate.
1445
cc5fda35
NC
14462000-12-15 Nick Clifton <nickc@redhat.com>
1447
1448 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1449 Mode parts of the x86 port.
1450
bcedfee6
NC
14512000-12-04 Andreas Jaeger <aj@suse.de>
1452
1453 * readelf.c (guess_is_rela): Add EM_X86_64.
1454 (dump_relocations): Add EM_X86_64.
1455 (get_machine_name): Add EM_X86_64.
1456 Include "elf/x86-64.h".
1457
584da044
NC
14582000-12-12 Nick Clifton <nickc@redhat.com>
1459
1460 * readelf.c: Fix formatting.
1461
7559e86e 14622000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1463
1464 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1465
a98cc2b2
AH
14662000-12-07 Andrew Haley <aph@redhat.com>
1467
1468 * readelf.c (display_debug_frames): Only display columns that are
1469 referenced by the frame debug info.
1470
c7987a69
NC
14712000-12-05 Nick Clifton <nickc@redhat.com>
1472
1473 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1474
09fd7e38
JM
14752000-12-04 Jason Merrill <jason@redhat.com>
1476
1477 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1478 (display_debug_section): Likewise.
1479 (display_debug_info): Display CU header before bailing.
1480
e7af610e
NC
14812000-12-01 Chris Demetriou <cgd@sibyte.com>
1482
09fd7e38
JM
1483 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1484 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1485 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1486
09fd7e38
JM
1487 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1488 and E_MIPS_ARCH_64.
84ea6cf2 1489
09fd7e38
JM
1490 * readelf.c (get_machine_flags): Add case for
1491 E_MIPS_MACH_SB1.
c6c98b38 1492
75066968
DD
14932000-11-30 Richard Earnshaw <rearnsha@arm.com>
1494
1495 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1496
5c4666ea
HPN
14972000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1498