]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
* opncls.c (_bfd_new_bfd_contained_in): Check return value of
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
dd70071f
AM
12002-05-01 Alan Modra <amodra@bigpond.net.au>
2
3 * nm.c (print_symbol): Check returned filename from
4 bfd_find_nearest_line is non-NULL.
5
6c95717a
EZ
62002-04-25 Elena Zannoni <ezannoni@redhat.com>
7
8 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
9
3c25c5f6
NC
102002-04-24 Christian Groessler <chris@groessler.org>
11
12 * MAINTAINERS: Changed my email address.
13
944cd72c
TS
142002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
15
16 * arparse.y: Fix syntax warning.
17
ea91f8bb
NC
182002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
19
3e55a963
NC
20 * readelf.c (fetch_location_list): Remove unused function.
21
22 * readelf.c (process_corefile_note_segment): Catch corrupt notes
23 and display a warning message, then exit the loop.
24
ea91f8bb
NC
25 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
26
45b99827
NC
272002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
28
29 * resrc.c (write_rc_dialog): If charset is non-default value
30 display all of the DIALOGEX parameters.
31
322002-04-15 Eric Kohl <ekohl@rz-online.de>
33
34 * rcparse.y: Allow two to five parameter in FONT statement of
35 DIALOGEX resources.
36 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
37 resource data.
38 (res_to_bin_dialog): Likewise.
39 * windres.h: Added misssing charset variable to dialog_ex
40 structure.
41
acfbab8a
NC
422002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
43
44 * rcparse.y: Set MEMFLAG_PURE by default.
45
df3baf66
NC
462002-04-09 Bernd Herd <info@herdsoft.com>
47
48 * rcparse.y: CLASS definitions in DIALOG resources
49 are quoted.
4c30641a 50 Fix typo in BEDIT warning.
91eafb40 51 Don't add default dialog style when explicit style specified.
b62a12ca 52 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 53
b24eb5ac
NC
54 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
55 (handle_quotes) "\a" escape (used for right justified key
56 definitions in menus) is encodes as binary 8.
df3baf66 57
b24eb5ac
NC
58 * resrc.c (write_rc_dialog): Print style even if it is 0.
59 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 60 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 61
b24eb5ac
NC
62 * resbin.c (bin_to_res_dialog): Use signature to identify
63 DIALOGEX.
f7d63484 64
b24eb5ac 65 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 66
df3baf66
NC
672002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
68
69 * resrc.c: print CLASS names in quotes
70
712002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
72
73 * MAINTAINERS: Update my email address.
74
8e42bcb6
AM
752002-04-04 Alan Modra <amodra@bigpond.net.au>
76
77 * dep-in.sed: Cope with absolute paths.
78 * Makefile.am (dep.sed): Subst TOPDIR.
79 Run "make dep-am".
80 * Makefile.in: Regenerate.
81
96f959e5
PT
822002-03-27 Peter Targett <peter.targett@arc.com>
83
84 * MAINTAINERS: Update my email address.
85
1ea788ee
AM
862002-03-21 Alan Modra <amodra@bigpond.net.au>
87
88 * Makefile.am: Run "make dep-am".
89 * Makefile.in: Regenerate.
90 * doc/Makefile.in: Regenerate.
91 * po/POTFILES.in: Regenerate.
92 * aclocal.m4: Regenerate.
93 * config.in: Regenerate.
94 * configure: Regenerate.
95
a2f14207
DB
962002-03-20 Daniel Berlin <dan@dberlin.org>
97
98 * readelf.c: Add support for displaying dwarf2 location lists.
99 (do_debug_loc, debug_loc_section, debug_loc_size): New.
100 (parse_args): Use 'O' as shorthand for displaying location list
101 section.
102 (process_section_headers): Handle debug_loc as well.
103 (load_debug_loc): New.
104 (free_debug_loc): New.
105 (fetch_location_list): New.
106 (display_debug_loc): New.
107 (display_debug_info): Call load_debug_loc and free_debug_loc.
108 (debug_displays): We can display .debug_loc now, too.
109 (usage): Update usage string.
110 (read_and_display_attr_value): Note location lists, but don't
111 display them inline.
112
eb1e0e80
NC
1132002-03-18 Tom Rix <trix@redhat.com>
114
115 * Makefile.am: Add binutils emulation support.
116 * configure.in: Same.
117 * configure.tgt: New file. Same.
118 * ar.c (main): Use ar_emul_parse_arg.
119 (usage): Use ar_emul_usage.
120 (replace_members): Use ar_emul_replace, ar_emul_append.
121 * binemul.c: New file. Define the binutils emulation
122 layer. Define default methods.
123 * binemul.h: New file. Binutils emulation layer header file.
124 * emul_aix.c: New file. AIX binutils emulation.
125 * emul_vanilla.c: New file. Default binutils emulation.
126 * Makefile.in: Regenerate.
127 * configure: Same.
128
a1c259a1
NC
1292002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
130
131 * po/fr.po: Updated version.
132
9ce88e60
NC
1332002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
134
135 * po/fr.po: Updated version.
136
effb0601
DJ
1372002-03-07 Daniel Jacobowitz <drow@mvista.com>
138
139 * README: Update some version numbers.
140
a65688ab
DJ
1412002-03-07 Daniel Jacobowitz <drow@mvista.com>
142
143 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
144 (Architecture Selection): Likewise.
145
f3f7fbb2
NC
1462002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
147
148 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
149 generating .exp file.
150
25345be5
NC
1512002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
152
153 * readelf.c (dump_relocations): Fix typo.
154
9a66911f
NC
1552002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
156
157 * NEWS: Mark 2.12 branch.
158
2c71103e
NC
1592002-02-18 Timothy Daly <remote_bob@yahoo.com>
160
161 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
162 types for 64-bit MIPS. Narrow some fields for 80-char
163 output.
164 (dump_relocations): Change spelling from 'unrecognised'
165 to 'unrecognized'.
166 (decode_ARM_machine_flags): Likewise.
167 (parse_args): Likewise.
168 (read_and_display_attr_value): Likewise.
169 (display_debug_section): Likewise.
170
49fda6c8
HPN
1712002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
172
173 * NEWS: Mention support for MMIX.
174
76f57f3a
JT
1752002-02-13 Matt Fredette <fredette@netbsd.org>
176
177 * readelf.c (get_machine_flags): Recognize EF_M68000.
178
d36ca9c2
AO
1792002-02-12 Alexandre Oliva <aoliva@redhat.com>
180
181 * MAINTAINERS: Added self as MN10300 co-maintainer.
182
19397422
AM
1832002-02-12 Alan Modra <amodra@bigpond.net.au>
184
185 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
186 DT_PPC64_OPDSZ.
187
d434e574
DJ
1882002-02-11 Daniel Jacobowitz <drow@mvista.com>
189
190 * MAINTAINERS: List myself as branch maintainer.
191
12b87c89
AM
1922002-02-11 Alan Modra <amodra@bigpond.net.au>
193
194 * configure: Regenerate.
195 * objcopy.c: Update copyright date.
196 * doc/Makefile.in: Regenerate.
197
8d037c5c
DJ
1982002-02-10 Daniel Jacobowitz <drow@mvista.com>
199
200 * nlmconv.c: Back out localtime PARAMS change.
201
4c168fa3
AM
2022002-02-11 Alan Modra <amodra@bigpond.net.au>
203
204 * objcopy.c (MKDIR): Define.
205 (copy_archive): Make name_list.name const. Use MKDIR.
206 Handle duplicate files in archives by making more temp dirs.
207
408f8db1
DJ
2082002-02-10 Daniel Jacobowitz <drow@mvista.com>
209
210 * coffdump.c: Include "getopt.h" after "bucomm.h"
211 so that macros are defined correctly.
212 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
213 prototype. Prototype main.
214 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
215
9f77fa06
AO
2162002-02-06 Alexandre Oliva <aoliva@redhat.com>
217
218 * MAINTAINERS: Added self as SH co-maintainer.
219
82f6addb
NC
2202002-02-05 Nick Clifton <nickc@redhat.com>
221
222 * po/tr.po: Updated translation.
223
ba323545
AM
2242002-02-01 Alan Modra <amodra@bigpond.net.au>
225
226 * Makefile.am: Run "make dep-am"
227 * Makefile.in: Regenerate.
228
3deb89d3
DJ
2292002-01-29 Daniel Jacobowitz <drow@mvista.com>
230
231 * nm.c (print_value): Mark abfd unused.
232
a0e9c55f
DJ
2332002-01-29 Daniel Jacobowitz <drow@mvista.com>
234
235 * unwind-ia64.c (unw_decoder): Change second argument
236 to unsigned int, to match function prototypes.
237
d7a283d4
DJ
2382002-01-29 Daniel Jacobowitz <drow@mvista.com>
239
240 * objdump.c: Include "getopt.h" after "bucomm.h" so that
241 __GNU_LIBRARY__ will be defined.
242 * size.c: Likewise.
243
4867be41
DJ
2442002-01-27 Daniel Jacobowitz <drow@mvista.com>
245
246 * configure: Regenerated.
247
7562a296
HPN
2482002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
249
250 * doc/Makefile.am (install): Depend on install-info.
251 * doc/Makefile.in: Regenerate.
252
15c82623
NC
2532002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
254
255 * objcopy.c (strip_usage): Document -d as an alias
256 --strip-debug.
257
258 * size.c (usage): Document [-t | --totals] options.
259 (long_options): Add --totals option.
260 (main): If the [-t | --totals] option is specified and
261 the output format is Berkeley-style, print the total
262 text, data, and bss sizes of all objects listed.
263 (print_berkeley_format): If the [-t | --totals] option
264 is specified, track the total text, data, and bss
265 sizes.
266 * doc/binutils.texi (size): Document [-t | --totals] options.
267 (strip): Document -d as an alias for --strip-debug.
268 * NEWS: Mention new feature of size.
269
00ea8601 2702002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 271
1ddbd152
NC
272 * po/fr.po: Updated version.
273 * po/es.po: Updated version.
b85cedd7 274
8b53311e
NC
2752002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
276
277 * addr2line.c (usage): Update text to provide verbose
278 description of the command line options.
279 * ar.c (usage): Update text to provide verbose
280 description of the command line options.
281 (main): Accept -h and -H when running as ranlib.
282 * coffdump.c (show_usage): Update text to provide verbose
283 description of the command line options.
284 * dlltool.c (main): Accept -H as an alias for --help.
285 * nlmconv.c (show_usage): Update text to provide verbose
286 description of the command line options.
287 * nm.c (usage): Replace OPTIONS with option(s).
288 (main): Accept -H as an alias for --help.
289 * objcopy.c (strip_main): Accept -H as an alias for --help.
290 * objdump.c (main): Accept -v as an alias for --verbose.
291 * readelf.c (usage): Adjust format to match style used in
292 other binutils.
293 * size.c (usage): Update text to provide verbose description
294 of the command line options.
295 (main): Accept -v, -h and -H as command line options.
296 * srconv.c (show_usage): Update text to provide verbose
297 description of the command line options.
298 * strings.c (main): Accept -H and -v as command line options.
299 (usage): Update text to provide verbose description of the
300 command line options.
301 * sysdump.c (show_usage): Update text to provide verbose
302 description of the command line options.
303 * windres.c (usage): Adjust format to match style used in
304 other binutils.
305
306 * coffdump.c: Fix formatting.
307 * nlmconv.c: Fix formatting.
308 * srconv.c: Fix formatting.
309 * sysdump.c: Fix formatting.
310
c46f0c34
AM
3112002-01-22 Alan Modra <amodra@bigpond.net.au>
312
313 * Makefile.am: Run "make dep-am".
314 * Makefile.in: Regenerate.
315
2a538ba5
AJ
3162002-01-18 Andreas Jaeger <aj@suse.de>
317
318 * version.c (print_version): Update year.
319
285d1771
AM
3202002-01-17 Alan Modra <amodra@bigpond.net.au>
321
322 * readelf.c (get_machine_name): Handle EM_PPC64.
323 (guess_is_rela): Here too.
324
328577ad
NC
3252002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
326
327 * po/binutils.pot: Regenerate.
328 * po/fr.po: Regenerate.
329 * po/tr.po: Regenerate.
330
af3ae48d
NC
3312002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
332
333 * po/tr.po: Import new version.
334
f1cb7e17
AM
3352002-01-16 Alan Modra <amodra@bigpond.net.au>
336
337 * readelf.c (get_ppc64_dynamic_type): New.
338 (get_dynamic_type): Call it.
339
6364e0b4
NC
3402002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
341
3ab9460d
NC
342 * objcopy.c (copy_usage): Use "options" instead of "switches".
343 (strip_usage): Use "options" instead of "switches".
344 * doc/binutils.texi (dlltool): Refer to "options" instead of
345 "switches".
6364e0b4 346
3a7e524e
RE
3472002-01-14 Richard Earnshaw <rearnsha@arm.com>
348
349 * MAINTAINERS: Add self as co-maintainer for the ARM code.
350
1209e219
NC
3512001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
352
353 * po/es.po: Import from translation project.
354 * configure.in (ALL_LINGUAS): Add es.
355 * configure: Regenerate.
356
b4db1224
JT
3572002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
358
359 * readelf.c (get_netbsd_elfcore_note_type): Use
360 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
361
9437c45b
JT
3622002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
363
364 * readelf.c: Update copyright years.
365 (get_note_type): Return a const char *.
366 (get_netbsd_elfcore_note_type): New function.
367 (process_note): Use get_netbsd_elfcore_note_type to get
368 the note type string for NetBSD ELF core files.
369
00428cca
AM
3702002-01-06 Steve Ellcey <sje@cup.hp.com>
371
372 * readelf.c (get_ia64_segment_type): Add support for macros.
373 (get_segment_type): Add support for IA64 specific macros.
374
31104126
NC
3752001-12-20 Julian v. Bock <julian@wongr.net>
376
377 * readelf.c (print_symbol): New function: Print a formatted symbol
378 name. If --wide is specified do not truncate it.
379 (dump_relocations): Use print_symbol() to print symbol names.
380 (process_symbol_table): Likewise.
381 (process_syminfo): Likewise.
382 (process_mips_specific): Likewise.
383 (usage): Document new feature of --wide switch.
384 * doc/binutils.texi (objdump): Document additional behaviour of
385 --wide.
2a538ba5 386
4dd67f29
MS
3872001-12-18 Michael Snyder <msnyder@redhat.com>
388
389 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
390 (copy_object): Don't set the start address or flags of a core file.
391 (copy_section): Don't relocate a core file. Don't copy contents
392 if the input section has the contents flag set, but the output
393 section does not (which happens with the fake 'note' pseudo-
394 sections that BFD creates for corefiles).
395
43521d43
TS
3962001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
397
398 * readelf.c (get_machine_flags): Recognize header flags for ABI and
399 ASE extensions. More robust code for ISA checking. Ignore empty fields
400 in header flags for GNU extensions.
401
b667df2e
AM
4022001-12-18 Alan Modra <amodra@bigpond.net.au>
403
404 * objcopy.c (copy_archive): Set output bfd format outside the loop.
405
17a5a5c3
NC
4062001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
407
408 * po/ja.po: Import from translation project.
409 * configure.in (ALL_LINGUAS): Add ja.
410 * configure: Regenerate.
411
65de42c0
TS
4122001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
413
414 * addr2line.c (main): Protoype.
415 * ar.c (main): Protoype.
416 * nm.c (main): Protoype.
417 * objcopy.c (main): Protoype.
418 * objdump.c (main): Protoype.
419 * size.c (main): Protoype.
420 * strings.c (main): Protoype.
421
9ad5cbcf
AM
4222001-12-17 Alan Modra <amodra@bigpond.net.au>
423
424 * readelf.c (symtab_shndx_hdr): New global.
425 (SECTION_HEADER_INDEX): Define.
426 (SECTION_HEADER_NUM): Define.
427 (SECTION_HEADER): Define.
428 (GET_ELF_SYMBOLS): Pass two params rather than three.
429 (get_32bit_elf_symbols): Take file and section args. Read and
430 use SHT_SYMTAB_SHNDX.
431 (get_64bit_elf_symbols): Likewise.
432 (dump_relocations): Use SECTION_HEADER to index "section_headers".
433 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
434 Remember symtab_shdx_hdr.
435 (process_program_headers): Scan from index 1 for segment map.
436 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
437 "section_headers".
438 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
439 (process_unwind): Likewise.
440 (process_version_sections): Likewise.
441 (process_symbol_table): Likewise.
442 (display_debug_info): Likewise.
443 (process_dynamic_segment): Fake up a symtab section for changed
444 GET_ELF_SYMBOLS.
445 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
446 (process_program_headers): Kill signed/unsigned warning.
447 (load_debug_str): Likewise.
448 (display_debug_info): Likewise.
449
65765700
JJ
4502001-12-13 Jakub Jelinek <jakub@redhat.com>
451
452 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
453
560f3c1c
AM
4542001-12-11 Alan Modra <amodra@bigpond.net.au>
455
456 * readelf.c (process_file_header): Print extended e_shnum and
457 e_shdtrndx values. Set elf_header values for same.
458 (get_32bit_section_headers): Add "num" arg to read "num" headers.
459 (get_64bit_section_headers): Likewise.
460 (process_section_headers): Update calls.
461 (get_file_header): Call get_32bit_section_headers or 64bit variant.
462
bc408b8a
JJ
4632001-12-10 Jakub Jelinek <jakub@redhat.com>
464
465 * objcopy.c (setup_section): Copy entsize.
466
93fbbb04
GK
4672001-12-07 Geoffrey Keating <geoffk@redhat.com>
468
469 * readelf.c (guess_is_rela): Add support for stormy16.
470 (dump_relocations): Likewise.
471 (get_machine_name): Likewise.
472
e3c8793a
NC
4732001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
474
475 * dllwrap.c (main) Replace multiple strings describing a
476 single error with a single, newline escaped sentence to permit
477 better translation into foreign languages.
478
479 * readelf.c (get_elf_class): Remove internalionalisation of ELF
480 class names.
481
956cd1d6
TS
4822001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
483
484 * strings.c (get_char): Initialize value.
485
956c53ee
TS
4862001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
487
488 * arlex.l: Silence compile warnings.
489 * arsup.h: Likewise. Fix formatting.
490
cedd9a58
JJ
4912001-12-04 Jakub Jelinek <jakub@redhat.com>
492
493 * strings.c: Include config.h before bfd.h.
494 (file_off): New type.
495 (file_open): Define.
496 (print_strings): Use file_off instead of file_ptr. Print addresses
497 which don't fit into long correctly.
498 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
499 available.
500 (strings_file): Use file_off instead of file_ptr. Use file_open.
501 * configure.in: Check for getc_unlocked.
502 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
503 be defined for it.
504 * configure: Rebuilt.
505 * config.h.in: Rebuilt.
506
af667503
L
5072001-11-29 H.J. Lu <hjl@gnu.org>
508
509 * bucomm.c (make_tempname): Revert the changes made on
510 2001-11-14 and 2001-11-12. They won't work with directories.
511
16474668
NC
5122001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
513
514 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
515 CFLAGS_FOR_TARGET to runtest in environment.
516 * Makefile.in: Rebuild.
517 * doc/Makefile.in: Rebuild.
518
17978339
MS
5192001-11-28 Mike Stump <mrs@wrs.com>
520
521 * objcopy.c (setup_section): Preserve SEC_RELOC when
522 --set-section-flags is used.
523
261a45ad
NC
5242001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
525
526 * readelf.c (do_debug_str): New variable.
527 (display_debug_str): New function: Display the contents of a
528 .debug_str section.
529 (load_debug_str): New function: Load in the contents of a
530 .debug_str section.
531 (free_debug_str): New function: Free the memory used by
532 load_debug_str().
533 (fetch_indirect_string): Retrieve a string from the .debug_str
534 section.
535 (usage): Add -ws.
536 (parse_args): Accept -ws.
537 (process_section_headers): Allow the display of the .debug_str
538 section.
539 (read_and_display_attr_value): Use fetch_indirect_string. Show
540 offset into .debug_str section.
541 (display_debug_info): Use load_debug_str and free_debug_str.
542 (debug_displays): Add .debug_str.
543 * doc/binutils.texi: Document -ws.
544
b8908f93
AJ
5452001-11-19 Andreas Jaeger <aj@suse.de>
546
547 * testsuite/binutils-all/objdump.exp: Add x86-64.
548
e5fb9629
AS
5492001-11-15 Andreas Schwab <schwab@suse.de>
550
551 * readelf.c: Fix warnings without terminating newline.
552
802a735e
AM
5532001-11-15 Alan Modra <amodra@bigpond.net.au>
554
555 * doc/binutils.texi (objdump): Document ppc -M options.
556
b89e9eae
AJ
5572001-11-14 Andreas Jaeger <aj@suse.de>
558
559 * doc/binutils.texi (objdump): Fix description to use x86-64.
560
a6a25652
NC
5612001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
562
563 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
564 not all systems provide mkstemp.
565
e396998b
AM
5662001-11-14 Alan Modra <amodra@bigpond.net.au>
567
568 * doc/binutils.texi (objdump): Document x86 -M options.
569
81766fca
RH
5702001-11-13 Keith Walker <keith.walker@arm.com>
571
572 * readelf.c (read_and_display_attr_value): New function to
573 handle DW_FORM_indirect.
574 (read_and_display_attr): Use it.
575
1a509dcc
GK
5762001-11-13 Geoffrey Keating <geoffk@redhat.com>
577
578 * readelf.c (display_debug_lines): Deal with unknown standard
579 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
580 DW_LNS_set_isa.
581
6e917903 5822001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 583
6e917903
TW
584 * MAINTAINERS: Add self as tic54x maintainer. This target
585 includes the IBM C54XDSP clone.
7559e86e 586
6e917903 5872001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 588
7559e86e
NC
589 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
590
5912001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 592
ecdadc4a
JL
593 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
594 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
595 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
596 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
597 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
598 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
599 (unw_decode_b2, unw_decode_b3_b4): Likewise.
600
91770270
JL
601 * readelf.c (get_elf_class): Fix ISO portability glitch.
602 (get_data_encoding, get_osabi_name, request_dump): Likewise.
603
ef5cdfc7
JJ
6042001-11-07 Jakub Jelinek <jakub@redhat.com>
605
606 * readelf.c (debug_str, debug_str_size): New.
607 (display_debug_abbrev): If no abbrevs were read, skip the CU.
608 Call free_abbrevs.
609 (read_and_display_addr): Handle DW_FORM_strp.
610 (display_debug_info): Read .debug_str section if present,
611 so that DW_FORM_strp can be handled.
612 Fix test for non-existant .debug_abbrev section.
613
5e9520c8
JJ
6142001-11-05 Jakub Jelinek <jakub@redhat.com>
615
616 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
617
618 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
619
54589086
MS
6202001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
621
622 * MAINTAINERS: Add self as s390/s390x maintainer.
623
c05b685b
TR
6242001-11-02 Tom Rix <trix@bluey.cygnus.com>
625
626 * MAINTAINERS: Add self as PPC XCOFF maintainer.
627
3c62831e
NC
6282001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
629
630 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
631 * configure: Regernate.
632 * po/fr.po: New file.
633 * po/tr.po: New file.
634
3c3bdf30
NC
6352001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
636
9b19141a 637 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
638 * readelf.c: Include elf/mmix.h.
639 (guess_is_rela): MMIX is RELA.
640 (dump_relocations): Handle MMIX relocations.
641 * Makefile.am: Regenerate dependencies.
642 * Makefile.in: Regenerate.
643
f662939a
NC
6442001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
645
646 * readelf.c (parse_args): Handle multiple options to the -w
647 switch.
648
c91d0dfb
JJ
6492001-10-12 Jakub Jelinek <jakub@redhat.com>
650
651 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
652 LOPROC, LOOS and LOUSER.
653
7559e86e 6542001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
655
656 * MAINTAINERS: Update my email address.
657
fcd8210c
AM
6582001-10-03 Alan Modra <amodra@bigpond.net.au>
659
660 * doc/Makefile.in: Regenerate.
661 * configure: Regenerate.
662
428409d5
NC
6632001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
664
665 * readelf.c (display_debug_line, display_debug_pubnames,
666 display_debug_info, display_debug_frames): Detect and warn
667 about 64-bit format entries.
668 (display_debug_aranges): Reword 64-bit warning.
669 (debug_displays): Add .debug_pubtypes as a known, but not yet
670 supported, debug section.
671
6a8c2b0d
AM
6722001-10-02 Alan Modra <amodra@bigpond.net.au>
673
674 * coffdump.c (PROGRAM_VERSION): Delete.
675 (main <'V'>): Call print_version.
676 * srconv.c: Likewise.
677 * sysdump.c: Likewise.
678 * version.c (program_version): Remove.
679 (print_version): Use BFD_VERSION_STRING. Just print the current
680 year in copyright message.
681 * addr2line.c (program_version): Remove unused declaration.
682 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
683 place of BFD_VERSION.
684 * Makefile.am (Makefile): Depend on bfd/configure.in.
685 (cplus-dem.o): Depend on Makefile.
686 Run "make dep-am".
687 * Makefile.in: Regenerate.
688
e414a165
NC
6892001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
690
691 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
692 format .debug_arange sections.
693 (main): Add missing prototype.
b8908f93 694
efc3ee7f
HPN
6952001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
696
697 * Makefile.am: Update dependencies with "make dep-am".
698 * Makefile.in: Regenerate.
699
9e85c2a0
RH
7002001-09-28 Richard Henderson <rth@redhat.com>
701
702 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
703
451dad9c
AM
7042001-09-26 Alan Modra <amodra@bigpond.net.au>
705
706 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
707 VA_CLOSE.
708 (non_fatal): Likewise.
709 * objdump.c (objdump_sprintf): Likewise.
710 * readelf.c (error): Likewise.
711 (warn): Likewise.
712
d974e256
JJ
7132001-09-25 Jakub Jelinek <jakub@redhat.com>
714
715 * readelf.c (do_wide): New.
716 (options): Add --wide.
717 (usage, parse_args): Likewise.
718 (process_program_headers): Put each segment on a single line if
719 --wide is given.
720 (process_section_headers): Put each section on a single line if
721 --wide is given.
722 * doc/binutils.texi: Document it.
723 * NEWS: Likewise.
724
2f11c261
AM
7252001-09-25 Alan Modra <amodra@bigpond.net.au>
726
727 * readelf.c (print_vma): Print 8 digits of low hex value.
728
1d50f91e
AJ
7292001-09-24 Andreas Jaeger <aj@suse.de>
730
731 * nlmconv.c: Fix warnings about unused attributes and function
732 prototypes.
733
734 * strings.c: Add prototype for get_char.
735
38131e67
L
7362000-09-19 H.J. Lu <hjl@gnu.org>
737
738 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
739 $(srcdir)/cxxfilt.man.
740 * doc/Makefile.in: Rebuild.
741
3bcfb3e4
AM
7422001-09-19 Alan Modra <amodra@bigpond.net.au>
743
744 * objcopy.c (copy_main): Correct rename-section string parsing.
745 Consolidate new_name parsing, and error messages.
746
3882b010
L
7472001-09-18 Bruno Haible <haible@clisp.cons.org>
748
749 * addr2line.c: Don't include <ctype.h>.
750 (main): For gettext, also set the LC_CTYPE locate facet.
751 * ar.c (main): Likewise.
752 * coffdump.c (main): Likewise.
753 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
754 (main): For gettext, also set the LC_CTYPE locate facet.
755 Use ISALNUM instead of isalpha/isdigit.
756 * dllwrap.c: Don't include <ctype.h>.
757 (main): For gettext, also set the LC_CTYPE locate facet.
758 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
759 (main): For gettext, also set the LC_CTYPE locate facet.
760 Use TOUPPER instead of islower/toupper.
761 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
762 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
763 Use TOUPPER instead of islower/toupper.
764 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
765 * objcopy.c (main): Likewise.
766 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
767 (disassemble_bytes): Use ISPRINT instead of isprint.
768 (dump_section_stabs): Use ISDIGIT instead of isdigit.
769 (dump_data): Use ISPRINT instead of isprint.
770 (main): For gettext, also set the LC_CTYPE locate facet.
771 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
772 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
773 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
774 Use TOUPPER instead of islower/toupper.
775 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
776 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
777 (write_rc_accelerators): Use ISPRINT instead of isprint.
778 (write_rc_rcdata): Likewise.
779 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
780 * srconv.c (main): Likewise.
781 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
782 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
783 isdigit/isupper/islower.
784 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
785 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
786 stab_demangle_prefix, stab_demangle_qualified,
787 stab_demangle_template, stab_demangle_type,
788 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
789 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
790 (isgraphic): Use ISPRINT instead of isascii/isprint.
791 (main): Remove HAVE_LC_MESSAGES dependency.
792 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
793 (pbarray): Use ISPRINT instead of isprint.
794 (main): For gettext, also set the LC_CTYPE locate facet.
795 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
796 (format_from_filename): Use ISPRINT instead of isprint.
797 (main): For gettext, also set the LC_CTYPE locate facet.
798 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
799 (unicode_print): Use ISPRINT instead of isprint.
800 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
801 (stab_variable): Use ISDIGIT instead of isdigit.
802
e59b4dfb
AM
8032001-09-18 Alan Modra <amodra@bigpond.net.au>
804
805 * ar.c (print_contents): Cast args of bfd_seek to the right types.
806 Replace bfd_read call with call to bfd_bread.
807 (extract_file): Likewise.
808
809 * objdump.c (dump_section_header): Cast section->filepos to
810 unsigned long to suit printf format string.
811 * readelf.c (process_section_headers): Similarly for sh_offset.
812 (process_unwind): Likewise.
813
d132876a
NC
8142001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
815
816 * strings.c (encoding, encoding_bytes): New variables.
817 (long_options): Add --encoding.
818 (main): Accept -e and --encoding.
819 (get_char): New function. Read a, possibly wide, character from
820 the input stream.
821 (print_strings): Use get_char().
822 (usage): Document new command line option.
823 * doc/binutils.texi: Document new command line option.
824 * NEWS: Announce new command line option.
825
7559e86e 8262001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
827
828 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
829 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
830 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
831 Removed EM_CYGNUS_ARC.
832
7559e86e 8332001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
834
835 * readelf.c: Include elf/h8 for H8 series definitions.
836 (guess_is_rela): H8 series if RELA.
837 (dump_relocations): Handle H8 series relocations.
838
0823fbca
EC
8392001-08-31 Eric Christopher <echristo@redhat.com>
840
841 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
842
8db76d70
PT
8432001-08-29 Peter Targett <peter.targett@arccores.com>
844
845 * MAINTAINERS: Include ARC Maintainer.
846
d81d6584
BE
8472001-08-29 Ben Elliston <bje@redhat.com>
848
849 * stabs.c (stab_demangle_template): Initialise s4.
850
25a1ff5b
AM
8512001-08-27 Alan Modra <amodra@bigpond.net.au>
852
853 * readelf.c (dump_relocations): Recognise EM_PPC64.
854
a5d22d2a
TS
8552001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
856
857 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
858
62a5a82d
L
8592001-08-25 H.J. Lu <hjl@gnu.org>
860
861 * nm.c (print_width): New.
862 (display_rel_file): Set `print_width' according to
863 bfd_sprintf_vma.
864 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
865
1ae8b3d2
AO
8662001-08-24 Alexandre Oliva <aoliva@redhat.com>
867
868 * objcopy.c (use_alt_mach_code): New variable.
869 (OPTION_ALT_MACH_CODE): Define.
870 (copy_options): Added --alt-machine-code.
871 (copy_main): Handle it.
872 (copy_object): Switch to alternate machine code if requested.
873 * doc/binutils.texi: Document new option.
874 * NEWS: Likewise.
875
d1bdd336
TS
8762001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
877
878 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
879
410f7a12
L
8802001-08-21 H.J. Lu <hjl@gnu.org>
881
882 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
883 (display_debug_info): Cast for 64bit hosts.
884 (display_debug_frames): Likewise.
885 (process_mips_specific): Likewise.
886
c32144ff
AJ
8872001-08-21 Andreas Jaeger <aj@suse.de>
888
889 * coffgrok.h: Add missing parameter for prototype of coff_grok.
890
891 * sysdump.c: Add missing prototypes.
892 * srconv.c: Likewise.
893 * unwind-ia64.c: Likewise.
894 * coffdump.c: Likewise.
895
896 * sysinfo.y: Print prototypes, include <ansidecl.h>.
897
898 * coffgrok.c: Add missing prototypes, include libiberty.h instead
899 of declaring xcalloc.
900
d8180c76
L
9012001-08-10 H.J. Lu <hjl@gnu.org>
902
903 * nm.c (print_value): Add one arg, bfd *.
904 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
905 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
906 (print_symbol_info_sysv): Likewise.
907 (print_symbol_info_posix): Likewise.
908
909 * objdump.c (dump_section_header): Replace printf_vma with
910 bfd_printf_vma.
911 (print_section_stabs): Likewise.
912 (dump_bfd_header): Likewise.
913 (objdump_print_value): Replace sprintf_vma with
914 bfd_sprintf_vma.
915 (disassemble_bytes): Likewise.
916 (dump_reloc_set): Likewise.
917
0218d1e4
AJ
9182001-08-10 Andreas Jaeger <aj@suse.de>
919
920 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
921 to build warnings.
922 * configure: Regenerate.
923
2863d58a
AM
9242001-08-09 Alan Modra <amodra@bigpond.net.au>
925
926 * readelf.c: Add missing prototypes.
927 * objdump.c: Likewise. Format existing prototypes.
928
c0e047e0
AO
9292001-08-08 Alexandre Oliva <aoliva@redhat.com>
930
931 * readelf.c (display_debug_info): Add to abbrev_offset the addend
932 of any RELA relocation for the abbrev_offset memory location that
933 refers to the .debug_abbrev section symbol.
934
ff78d6d6
L
9352001-08-07 H.J. Lu <hjl@gnu.org>
936
937 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
938 (main): Return process_file ().
939
c36774d6
PB
9402001-08-05 Philip Blundell <philb@gnu.org>
941
942 * doc/binutils.texi: Use "Thumb" not "THUMB".
943
8f9d9bd9
JH
9442001-08-03 John Healy <jhealy@redhat.com>
945
946 Patch suggested by Frank Eigler <fche@redhat.com>.
947 * objdump.c (disassemble_data): Fill in section member of the
948 disasm_info structure.
949
c918cb96
DD
9502001-08-03 Tom Walsh <tom@cyberiansoftware.com>
951
952 * configure.in: Added --with-windres option.
953 * configure: Regenerated.
954
c7c55b78
NC
9552001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
956
957 * doc/binutils.texi: Use @command{name} for commands;
958 use @option{-opt} for options; use @table @env for list of options;
959 remove spaces arround [ | ] in synopsis.
960
961 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
962 center title.
963
594ef5db
NC
9642001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
965
966 * objcopy.c: Fix formatting.
967 (section_rename): New structure.
968 (OPTION_RENAME_SECTION): New switch.
969 (copy_usage): Document new switch.
970 (add_section_rename): New function: Add a node to the section
971 rename list.
972 (find_section_rename): New function: Find the new name and
973 flags for a section.
974 (setup_section): Call find_section_name to determine the name
975 of the output section.
976 (copy_main): Handle OPTION_RENAME_SECTION.
977 * binutils.texi: Document new switch.
978 * NEWS: Mention new switch.
979
1f554c69
NC
9802001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
981
982 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
983 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
984 bug-binutils@gcc.org.
985
2f83960e
AM
9862001-07-28 Matthias Kramm <kramm@quiss.org>
987
988 * bucomm.c (list_supported_architectures): New function.
989 * bucomm.h (list_supported_architectures): Declare.
990 * objdump.c (usage): Call the above.
991
20fe0649
DB
9922001-07-25 Dave Brolley <brolley@redhat.com>
993
994 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
995 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
996
1b577b00
NC
9972001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
998
999 * README: Update for 2.11. Change bug reporting email address.
1000 * MAINTAINERS: Tidy up. Change bug reporting email address.
1001
95fd336c
DD
10022001-07-16 DJ Delorie <dj@redhat.com>
1003
5f16d855
DD
1004 * resres.c (write_res_header): Align header size.
1005 (res_align_file): Calculate alignment correctly.
1006
95fd336c
DD
1007 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1008 correct 10).
1009 * resrc.c (write_rc_resource): Likewise.
1010 * windres.h (SUBLANG_SHIFT): Define - as 10.
1011
ed8fee27
NC
10122001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1013
1014 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1015
90ab7e9a
NC
10162001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1017
1018 * MAINTAINERS: Add notes about branch checkins.
1019
e0c60db2
NC
10202001-07-05 Daniel Berlin <dan@cgsoftware.com>
1021
1022 * readelf.c (display_debug_macinfo): New function, display
1023 .debug_macinfo section.
1024 (do_debug_macinfo): New variable.
1025 (parse_args): Handle "-w[mM]" to mean display macro info.
1026 (process_section_headers): Handle debug_macinfo.
1027 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1028 function for .debug_macinfo display.
e0c60db2
NC
1029 * doc/binutils.texi: Document new command line switch.
1030 * NEWS: Document new feature of readelf.
0218d1e4 1031
24e01a36
L
10322001-07-05 H.J. Lu <hjl@gnu.org>
1033
1034 * objcopy.c (filter_symbols): Don't turn undefined symbols
1035 into local.
1036
4258bf4d
L
10372001-07-03 H.J. Lu <hjl@gnu.org>
1038
1039 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1040 $@.pod.
1041 (ar.1): Likewise.
1042 (dlltool.1): Likewise.
1043 (nlmconv.1): Likewise.
1044 (nm.1): Likewise.
1045 (objcopy.1): Likewise.
1046 (objdump.1): Likewise.
1047 (ranlib.1): Likewise.
1048 (readelf.1): Likewise.
1049 (size.1): Likewise.
1050 (strings.1): Likewise.
1051 (strip.1): Likewise.
1052 (windres.1): Likewise.
1053 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1054 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1055 $(DEMANGLER_NAME).
1056 (as.1): Removed.
1057 * doc/Makefile.in: Regenerated.
1058
7014bc31
NC
10592001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1060
1061 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1062
b811889f
NC
10632001-07-01 Daniel Berlin <dan@cgsoftware.com>
1064
1065 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1066
12ab83a9
NC
10672001-06-29 James Cownie <jcownie@etnus.com>
1068
1069 * readelf.c: Support DWARF 2.1 attributes.
1070
a6e9f9df
AM
10712001-06-28 Alan Modra <amodra@bigpond.net.au>
1072
1073 * readelf.c (GET_DATA_ALLOC): Remove.
1074 (GET_DATA): Remove.
1075 (get_data): New function combining above macros, with an extra
1076 test for zero size.
1077 (slurp_rela_relocs): Use get_data, and catch error return.
1078 (slurp_rel_relocs): Likewise.
1079 (get_32bit_program_headers): Likewise.
1080 (get_64bit_program_headers): Likewise.
1081 (get_32bit_section_headers): Likewise.
1082 (get_64bit_section_headers): Likewise.
1083 (get_32bit_elf_symbols): Likewise.
1084 (get_64bit_elf_symbols): Likewise.
1085 (process_section_headers): Likewise.
1086 (process_relocs): Likewise.
1087 (slurp_ia64_unwind_table): Likewise.
1088 (process_unwind): Likewise.
1089 (get_32bit_dynamic_segment): Likewise.
1090 (get_64bit_dynamic_segment): Likewise.
1091 (process_dynamic_segment): Likewise.
1092 (process_version_sections): Likewise.
1093 (process_symbol_table): Likewise.
1094 (dump_section): Likewise.
1095 (display_debug_info): Likewise.
1096 (display_debug_section): Likewise.
1097 (process_section_contents): Likewise.
1098 (process_corefile_note_segment): Likewise.
1099 (process_mips_specific): Likewise. Also free econf32, econf64.
1100
af3fc3bc
AM
11012001-06-25 Alan Modra <amodra@bigpond.net.au>
1102
1103 * readelf.c (dump_relocations): Print "bad symbol index" if
1104 symtab == NULL with non-zero symtab_index.
1105 (process_relocs): Don't bomb if reloc section has no symsec.
1106
6d900bf6
L
11072001-06-24 H.J. Lu <hjl@gnu.org>
1108
1109 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1110 by accident.
1111 (copy_main): Apply the the change made to strip_main on
1112 2001-05-30 by accident.
1113
49b4e386
AJ
11142001-06-23 Andreas Jaeger <aj@suse.de>
1115
1116 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1117 parameter 'code'.
1118 (unw_decode_x2): Likewise.
1119 (unw_decode_x3): Likewise.
1120 (unw_decode_x4): Likewise.
1121
d8dc71e3
BE
11222001-06-23 Ben Elliston <bje@redhat.com>
1123
1124 * MAINTAINERS: Add myself as M88k maintainer.
1125
af3bdff7
NC
11262001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1127
1128 * objcopy.c (strip_main): Support -o or --output-file command lien
1129 switch.
1130
105e7211
L
11312001-06-19 H.J. Lu <hjl@gnu.org>
1132
1133 * doc/Makefile.in: Regenerated.
1134
c45021f2
NC
11352001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1136
1137 * readelf.c: Restore formatting.
1138
11392001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1140
1141 * Makefile.am: Move documentation into doc subdirectory.
1142 * Makefile.in: Regenerated.
1143 * binutils.texi: Move into doc subdirectory.
1144 * addr2line.1: Removed.
1145 * ar.1: Likewise.
1146 * dlltool.1: Likewise.
1147 * nlmconv.1: Likewise.
1148 * nm.1: Likewise.
1149 * objcopy.1: Likewise.
1150 * objdump.1: Likewise.
1151 * ranlib.1: Likewise.
1152 * readelf.1: Likewise.
1153 * size.1: Likewise.
1154 * strings.1: Likewise.
1155 * strip.1: Likewise.
1156 * windres.1: Likewise.
1157 * cxxfilt.man: Likewise.
1158 * doc: New Directory.
1159 * doc/Makefile.am: New file.
1160 * doc/Makefile.in: Generate.
1161
09ad7db3
AM
11622001-06-09 Alan Modra <amodra@bigpond.net.au>
1163
1164 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1165
936260fe
AM
11662001-06-01 Alan Modra <amodra@bigpond.net.au>
1167
1168 * MAINTAINERS: Update my email address.
1169
16b2b71c
NC
11702001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1171
1172 * objcopy.c: Add new switches: --keep-global-symbol,
1173 --keep-symbols, --localize-symbols, --keep-global-symbols and
1174 --weaken-symbols.
1175 * binutils.texi: Document new switches.
1176 * objcopy.1: Regenerate.
1177 * NEWS: Announce new feature.
1178
7036c0e1
AJ
11792001-05-28 Andreas Jaeger <aj@suse.de>
1180
1181 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1182 variables, fix format strings.
1183
76a406e5
NC
11842001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1185
1186 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1187 when computing the address of the line to show.
1188
31b6fca6
RH
11892001-05-16 Richard Henderson <rth@redhat.com>
1190
1191 * readelf.c (do_debug_frames_interp): New.
1192 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1193 (byte_get_big_endian): Likewise.
1194 (parse_args) ['F']: Set do_debug_frames_interp.
1195 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1196 (frame_display_row): Don't trunc pc_begin to int.
1197 (size_of_encoded_value): New.
1198 (display_debug_frames): Handle 64-bit targets. Print raw data
1199 unless do_debug_frames_interp.
1200 (debug_displays): Remove duplicate .debug_frame.
1201
4fe85591
NC
12022001-05-15 Ralf Baechle <ralf@gnu.org>
1203
1204 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1205 The former constant was never in active use and is used otherwise
1206 by the ABI.
1207
579f31ac
JJ
12082001-05-11 Jakub Jelinek <jakub@redhat.com>
1209
1210 * readelf.c (process_unwind): Print all unwind sections, not just
1211 one.
1212
78f4a3f7
AM
12132001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1214
1215 * readelf.c (process_unwind): Remove const specifier.
1216
1c529ca6
NC
12172001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1218
1219 * strings.c (isgraphic): Do not use isascii() unless it is needed
1220 for isprint() to work.
1221 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1222
87e6d782
NC
12232001-04-27 Johan Rydberg <jrydberg@opencores.org>
1224
1225 * NEWS: Announce support for OpenRISC.
1226
4bd3d870 12272001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1228
1229 * dlltool.c (do_default_excludes): Initialise to true.
1230
21211521
AM
12312001-04-10 Alan Modra <amodra@one.net.au>
1232
1233 * MAINTAINERS: Update my email address
1234 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1235
0c66b61e 12362001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1237
1238 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1239
e58d53af
L
12402001-03-30 H.J. Lu <hjl@gnu.org>
1241
1242 * readelf.c (process_unwind): Just return if do_unwind is 0.
1243
bee72332
DD
12442001-03-28 Roger Sayle <roger@metaphorics.com>
1245
1246 * dlltool.c (make_one_lib_file): Fix section flags for
1247 .text, .data and .bss in stub ds*.o files to match those
1248 generated by gas.
1249
f1467e33
L
12502001-03-29 H.J. Lu <hjl@gnu.org>
1251
1252 * readelf.c (process_unwind): Only do unwind sections for
1253 IA64.
1254
1c6fb4fe
L
12552001-03-28 H.J. Lu <hjl@gnu.org>
1256
1257 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1258 * Makefile.in: Regenerate.
1259
0879a67a
AJ
12602001-03-26 Andreas Jaeger <aj@suse.de>
1261
1262 * binutils.texi (nm): Fix texi syntax.
1263
0285c67d
NC
12642001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1265
1266 * binutils.texi: Put @c man begin and @c man end indications
1267 to generate man pages using texi2pod and pod2man. Put @c man title
1268 to identify each man. Add SEEALSO entries.
1269 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1270 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1271 sort the list.
1272 (*.1): Build the man pages from binutils.texi.
1273 * Makefile.in: Regenerate.
1274
04847a4d
CF
12752001-03-13 Eric Kohl <ekohl@rz-online.de>
1276
1277 * defparse.y (opt_equal_name): allow "." in name.
1278 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1279 (gen_exp_file): Likewise.
1280
43a0748c
NC
12812001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1282
1283 * NEWS: Document addition of -B switch to objcopy.
1284 * binutils.texi: Document addition of -B switch to objcopy.
1285 * objcopy.c: (copy_options): Add --binary-architecture.
1286 (copy_usage): Document -B/--binary-architecture.
1287 (copy_main): Support -B/--binary-architecture. Set
1288 bfd_external_binary_architecture.
0879a67a 1289
b7498e0e
NC
12902001-03-11 Andreas Jaeger <aj@suse.de>
1291
1292 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1293 (dump_relocations): Likewise.
1294 (get_machine_name): Likewise.
1295
a59e3bd7
NC
12962001-02-28 Nick Clifton <nickc@redhat.com>
1297
1298 * readelf.c: (struct unw_aux_info): Remove const modifier for
1299 'strtab' field.
1300 (process_unwind): Remove non-K&R compliant LHS type cast in call
1301 to GET_DATA_ALLOC macro.
1302
a5bcd848
PB
13032001-02-28 Philip Blundell <pb@futuretv.com>
1304
1305 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1306 ABI is in use; remove ambiguity between the "unknown" EABI and
1307 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1308 renamed EF_xx constants.
1309
27b7e12d
AM
13102001-02-27 Alan Modra <alan@linuxcare.com.au>
1311
1312 * configure.in (BFD_VERSION): New.
1313 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1314 * configure: Regenerate.
1315 * Makefile.am: Run "make dep-am"
1316 * Makefile.in: Regenerate.
1317
a9f10786
NC
13182001-02-14 Nick Clifton <nickc@redhat.com>
1319
1320 * MAINTAINERS: Add "Obvious Fix" rule.
1321
3c44da9a
MS
13222001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1323
1324 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1325 literal concatenation.
1326
ecd03389
MS
13272001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1328
1329 * readelf.c (struct unw_aux_info): Remove const from the info member.
1330 (process_unwind): Don't type-cast the third argument to the
1331 GET_DATA_ALLOC macro.
1332
88ec60c7
NC
13332001-02-11 Nick Clifton <nickc@redhat.com>
1334
1335 * readelf.c (dump_relocations): Free corrected allocated
1336 array.
1337 (process_unwind): Fix compile time warning.
1338
f5e21966
NC
13392001-02-10 Nick Clifton <nickc@redhat.com>
1340
1341 * binutils.texi: Document new --unwind option to readelf.
1342
a85d7ed0
NC
13432001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1344
1345 * readelf.c: Add linux target for S/390.
1346
7bb10502
AM
13472001-02-10 Alan Modra <alan@linuxcare.com.au>
1348
1349 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1350 printf is a macro.
1351
8ca8f343
HPN
13522001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1353
1354 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1355 * aclocal.m4: Regenerate.
1356 * configure: Regenerate.
1357
7340082d
NC
13582001-02-07 Todd Vierling <tv@wasabisystems.com>
1359
1360 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1361 * objdump.c (bfd_target_vector): Likewise.
1362
4d6ed7c8
NC
13632001-02-07 David Mosberger <davidm@hpl.hp.com>
1364
1365 * readelf.c (process_unwind): New function.
1366 (slurp_ia64_unwind_table): Ditto.
1367 (dump_ia64_unwind): Ditto.
1368 (find_symbol_for_address): Ditto.
1369 (slurp_rela_relocs): New function (split off from dump_relocations()).
1370 (slurp_rel_relocs): Ditto.
1371 (parse_args): Handle '-u' option.
1372
1373 * unwind-ia64.c: New file.
1374 * unwind-ia64.h: New file.
1375 * Makefile.am: Include unwind-ia64.c in readelf build.
1376 * Makefile.in: Regenerate.
7340082d 1377 * po/binutils.pot: Regenerate.
4d6ed7c8 1378
c7217458
PB
13792001-02-04 Philip Blundell <philb@gnu.org>
1380
1381 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1382 * configure: Regenerate.
1383
956eedd4
AM
13842001-01-31 Steve deRosier <sderosier@vari-lite.com>
1385
1386 * ieee.c (ieee_add_bb11): Don't check for backslashes
1387 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1388
8855cbca
AM
13892001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1390
c7f2731e
AM
1391 * ieee.c: Update copyright.
1392 (ieee_start_compilation_unit): Don't check for backslashes
1393 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1394
8855cbca
AM
1395 * stabs.c: Update copyright. Include "filenames.h".
1396 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1397
329de803 13982001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1399
1400 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1401 sections are present before using them. Remove code duplication.
1402 (process_symbol_table): Check if VERDEF or VERNEED sections are
1403 present before using them.
1404
23719f39
NC
14052001-01-17 Nick Clifton <nickc@redhat.com>
1406
1407 * objcopy.c (copy_object): Fail if attempting to convert the
1408 endianness of the input object file.
1409
1410 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1411
f726e849
NC
14122001-01-16 Nick Clifton <nickc@redhat.com>
1413
1414 * readelf.c (string_table_length): New variable.
1415 (SECTION_NAME): Catch out of range indices and missing section
1416 pointers.
1417 (process_section_headers): Delete useless local variable
1418 string_table_offset. Set the value of string_table_length
1419 after loading the string table.
1420 (process_mips_specific): Use SECTION_NAME macro.
1421 (process_file): Set string_table_length to 0 when it is freed.
1422
d0398d6a
NC
14232001-01-12 Nick Clifton <nickc@redhat.com>
1424
1425 * version.c (print_version): Update copyright date.
1426
0d2bcfaf
NC
14272001-01-11 Peter Targett <peter.targett@arccores.com>
1428
1429 * readelf.c (dump_relocations): Include selection with EM_ARC.
1430 (get_machine_name) Update name to "ARC".
1431
8b1e6df3
NC
14322001-01-09 Nick Clifton <nickc@redhat.com>
1433
1434 * Makefile.am: Add rule to build objdump.o from objdump.c and
1435 using OBJDUMP_DEFS.
1436 * Makefile.in: Regenerate.
1437
1438 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1439 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1440 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1441 * configure: Regenerate.
8b1e6df3
NC
1442
1443 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1444 is defined read in the relocs even if dump_reloc_info is
1445 false.
1446
2f952d20
PB
14472001-01-07 Philip Blundell <philb@gnu.org>
1448
1449 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1450 `bug-binutils'.
1451 * README: Likewise.
1452
a8c548cb
NC
14532000-12-19 Nick Clifton <nickc@redhat.com>
1454
1455 * dlltool.c: Add missing support for arm-epoc-pe.
1456 * configure.in: Add missing support for arm-epoc-pe.
1457 * configure: Regenerate.
1458
cc5fda35
NC
14592000-12-15 Nick Clifton <nickc@redhat.com>
1460
1461 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1462 Mode parts of the x86 port.
1463
bcedfee6
NC
14642000-12-04 Andreas Jaeger <aj@suse.de>
1465
1466 * readelf.c (guess_is_rela): Add EM_X86_64.
1467 (dump_relocations): Add EM_X86_64.
1468 (get_machine_name): Add EM_X86_64.
1469 Include "elf/x86-64.h".
1470
584da044
NC
14712000-12-12 Nick Clifton <nickc@redhat.com>
1472
1473 * readelf.c: Fix formatting.
1474
7559e86e 14752000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1476
1477 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1478
a98cc2b2
AH
14792000-12-07 Andrew Haley <aph@redhat.com>
1480
1481 * readelf.c (display_debug_frames): Only display columns that are
1482 referenced by the frame debug info.
1483
c7987a69
NC
14842000-12-05 Nick Clifton <nickc@redhat.com>
1485
1486 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1487
09fd7e38
JM
14882000-12-04 Jason Merrill <jason@redhat.com>
1489
1490 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1491 (display_debug_section): Likewise.
1492 (display_debug_info): Display CU header before bailing.
1493
e7af610e
NC
14942000-12-01 Chris Demetriou <cgd@sibyte.com>
1495
09fd7e38
JM
1496 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1497 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1498 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1499
09fd7e38
JM
1500 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1501 and E_MIPS_ARCH_64.
84ea6cf2 1502
09fd7e38
JM
1503 * readelf.c (get_machine_flags): Add case for
1504 E_MIPS_MACH_SB1.
c6c98b38 1505
75066968
DD
15062000-11-30 Richard Earnshaw <rearnsha@arm.com>
1507
1508 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1509
5c4666ea
HPN
15102000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1511
6e917903 1512