]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
bfd:
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2002-02-13 Matt Fredette <fredette@netbsd.org>
2
3 * readelf.c (get_machine_flags): Recognize EF_M68000.
4
5 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
6
7 * MAINTAINERS: Added self as MN10300 co-maintainer.
8
9 2002-02-12 Alan Modra <amodra@bigpond.net.au>
10
11 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
12 DT_PPC64_OPDSZ.
13
14 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
15
16 * MAINTAINERS: List myself as branch maintainer.
17
18 2002-02-11 Alan Modra <amodra@bigpond.net.au>
19
20 * configure: Regenerate.
21 * objcopy.c: Update copyright date.
22 * doc/Makefile.in: Regenerate.
23
24 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
25
26 * nlmconv.c: Back out localtime PARAMS change.
27
28 2002-02-11 Alan Modra <amodra@bigpond.net.au>
29
30 * objcopy.c (MKDIR): Define.
31 (copy_archive): Make name_list.name const. Use MKDIR.
32 Handle duplicate files in archives by making more temp dirs.
33
34 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
35
36 * coffdump.c: Include "getopt.h" after "bucomm.h"
37 so that macros are defined correctly.
38 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
39 prototype. Prototype main.
40 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
41
42 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
43
44 * MAINTAINERS: Added self as SH co-maintainer.
45
46 2002-02-05 Nick Clifton <nickc@redhat.com>
47
48 * po/tr.po: Updated translation.
49
50 2002-02-01 Alan Modra <amodra@bigpond.net.au>
51
52 * Makefile.am: Run "make dep-am"
53 * Makefile.in: Regenerate.
54
55 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
56
57 * nm.c (print_value): Mark abfd unused.
58
59 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
60
61 * unwind-ia64.c (unw_decoder): Change second argument
62 to unsigned int, to match function prototypes.
63
64 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
65
66 * objdump.c: Include "getopt.h" after "bucomm.h" so that
67 __GNU_LIBRARY__ will be defined.
68 * size.c: Likewise.
69
70 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
71
72 * configure: Regenerated.
73
74 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
75
76 * doc/Makefile.am (install): Depend on install-info.
77 * doc/Makefile.in: Regenerate.
78
79 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
80
81 * objcopy.c (strip_usage): Document -d as an alias
82 --strip-debug.
83
84 * size.c (usage): Document [-t | --totals] options.
85 (long_options): Add --totals option.
86 (main): If the [-t | --totals] option is specified and
87 the output format is Berkeley-style, print the total
88 text, data, and bss sizes of all objects listed.
89 (print_berkeley_format): If the [-t | --totals] option
90 is specified, track the total text, data, and bss
91 sizes.
92 * doc/binutils.texi (size): Document [-t | --totals] options.
93 (strip): Document -d as an alias for --strip-debug.
94 * NEWS: Mention new feature of size.
95
96 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
97
98 * po/fr.po: Updated version.
99 * po/es.po: Updated version.
100
101 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
102
103 * addr2line.c (usage): Update text to provide verbose
104 description of the command line options.
105 * ar.c (usage): Update text to provide verbose
106 description of the command line options.
107 (main): Accept -h and -H when running as ranlib.
108 * coffdump.c (show_usage): Update text to provide verbose
109 description of the command line options.
110 * dlltool.c (main): Accept -H as an alias for --help.
111 * nlmconv.c (show_usage): Update text to provide verbose
112 description of the command line options.
113 * nm.c (usage): Replace OPTIONS with option(s).
114 (main): Accept -H as an alias for --help.
115 * objcopy.c (strip_main): Accept -H as an alias for --help.
116 * objdump.c (main): Accept -v as an alias for --verbose.
117 * readelf.c (usage): Adjust format to match style used in
118 other binutils.
119 * size.c (usage): Update text to provide verbose description
120 of the command line options.
121 (main): Accept -v, -h and -H as command line options.
122 * srconv.c (show_usage): Update text to provide verbose
123 description of the command line options.
124 * strings.c (main): Accept -H and -v as command line options.
125 (usage): Update text to provide verbose description of the
126 command line options.
127 * sysdump.c (show_usage): Update text to provide verbose
128 description of the command line options.
129 * windres.c (usage): Adjust format to match style used in
130 other binutils.
131
132 * coffdump.c: Fix formatting.
133 * nlmconv.c: Fix formatting.
134 * srconv.c: Fix formatting.
135 * sysdump.c: Fix formatting.
136
137 2002-01-22 Alan Modra <amodra@bigpond.net.au>
138
139 * Makefile.am: Run "make dep-am".
140 * Makefile.in: Regenerate.
141
142 2002-01-18 Andreas Jaeger <aj@suse.de>
143
144 * version.c (print_version): Update year.
145
146 2002-01-17 Alan Modra <amodra@bigpond.net.au>
147
148 * readelf.c (get_machine_name): Handle EM_PPC64.
149 (guess_is_rela): Here too.
150
151 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
152
153 * po/binutils.pot: Regenerate.
154 * po/fr.po: Regenerate.
155 * po/tr.po: Regenerate.
156
157 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
158
159 * po/tr.po: Import new version.
160
161 2002-01-16 Alan Modra <amodra@bigpond.net.au>
162
163 * readelf.c (get_ppc64_dynamic_type): New.
164 (get_dynamic_type): Call it.
165
166 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
167
168 * objcopy.c (copy_usage): Use "options" instead of "switches".
169 (strip_usage): Use "options" instead of "switches".
170 * doc/binutils.texi (dlltool): Refer to "options" instead of
171 "switches".
172
173 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
174
175 * MAINTAINERS: Add self as co-maintainer for the ARM code.
176
177 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
178
179 * po/es.po: Import from translation project.
180 * configure.in (ALL_LINGUAS): Add es.
181 * configure: Regenerate.
182
183 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
184
185 * readelf.c (get_netbsd_elfcore_note_type): Use
186 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
187
188 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
189
190 * readelf.c: Update copyright years.
191 (get_note_type): Return a const char *.
192 (get_netbsd_elfcore_note_type): New function.
193 (process_note): Use get_netbsd_elfcore_note_type to get
194 the note type string for NetBSD ELF core files.
195
196 2002-01-06 Steve Ellcey <sje@cup.hp.com>
197
198 * readelf.c (get_ia64_segment_type): Add support for macros.
199 (get_segment_type): Add support for IA64 specific macros.
200
201 2001-12-20 Julian v. Bock <julian@wongr.net>
202
203 * readelf.c (print_symbol): New function: Print a formatted symbol
204 name. If --wide is specified do not truncate it.
205 (dump_relocations): Use print_symbol() to print symbol names.
206 (process_symbol_table): Likewise.
207 (process_syminfo): Likewise.
208 (process_mips_specific): Likewise.
209 (usage): Document new feature of --wide switch.
210 * doc/binutils.texi (objdump): Document additional behaviour of
211 --wide.
212
213 2001-12-18 Michael Snyder <msnyder@redhat.com>
214
215 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
216 (copy_object): Don't set the start address or flags of a core file.
217 (copy_section): Don't relocate a core file. Don't copy contents
218 if the input section has the contents flag set, but the output
219 section does not (which happens with the fake 'note' pseudo-
220 sections that BFD creates for corefiles).
221
222 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
223
224 * readelf.c (get_machine_flags): Recognize header flags for ABI and
225 ASE extensions. More robust code for ISA checking. Ignore empty fields
226 in header flags for GNU extensions.
227
228 2001-12-18 Alan Modra <amodra@bigpond.net.au>
229
230 * objcopy.c (copy_archive): Set output bfd format outside the loop.
231
232 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
233
234 * po/ja.po: Import from translation project.
235 * configure.in (ALL_LINGUAS): Add ja.
236 * configure: Regenerate.
237
238 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
239
240 * addr2line.c (main): Protoype.
241 * ar.c (main): Protoype.
242 * nm.c (main): Protoype.
243 * objcopy.c (main): Protoype.
244 * objdump.c (main): Protoype.
245 * size.c (main): Protoype.
246 * strings.c (main): Protoype.
247
248 2001-12-17 Alan Modra <amodra@bigpond.net.au>
249
250 * readelf.c (symtab_shndx_hdr): New global.
251 (SECTION_HEADER_INDEX): Define.
252 (SECTION_HEADER_NUM): Define.
253 (SECTION_HEADER): Define.
254 (GET_ELF_SYMBOLS): Pass two params rather than three.
255 (get_32bit_elf_symbols): Take file and section args. Read and
256 use SHT_SYMTAB_SHNDX.
257 (get_64bit_elf_symbols): Likewise.
258 (dump_relocations): Use SECTION_HEADER to index "section_headers".
259 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
260 Remember symtab_shdx_hdr.
261 (process_program_headers): Scan from index 1 for segment map.
262 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
263 "section_headers".
264 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
265 (process_unwind): Likewise.
266 (process_version_sections): Likewise.
267 (process_symbol_table): Likewise.
268 (display_debug_info): Likewise.
269 (process_dynamic_segment): Fake up a symtab section for changed
270 GET_ELF_SYMBOLS.
271 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
272 (process_program_headers): Kill signed/unsigned warning.
273 (load_debug_str): Likewise.
274 (display_debug_info): Likewise.
275
276 2001-12-13 Jakub Jelinek <jakub@redhat.com>
277
278 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
279
280 2001-12-11 Alan Modra <amodra@bigpond.net.au>
281
282 * readelf.c (process_file_header): Print extended e_shnum and
283 e_shdtrndx values. Set elf_header values for same.
284 (get_32bit_section_headers): Add "num" arg to read "num" headers.
285 (get_64bit_section_headers): Likewise.
286 (process_section_headers): Update calls.
287 (get_file_header): Call get_32bit_section_headers or 64bit variant.
288
289 2001-12-10 Jakub Jelinek <jakub@redhat.com>
290
291 * objcopy.c (setup_section): Copy entsize.
292
293 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
294
295 * readelf.c (guess_is_rela): Add support for stormy16.
296 (dump_relocations): Likewise.
297 (get_machine_name): Likewise.
298
299 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
300
301 * dllwrap.c (main) Replace multiple strings describing a
302 single error with a single, newline escaped sentence to permit
303 better translation into foreign languages.
304
305 * readelf.c (get_elf_class): Remove internalionalisation of ELF
306 class names.
307
308 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
309
310 * strings.c (get_char): Initialize value.
311
312 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
313
314 * arlex.l: Silence compile warnings.
315 * arsup.h: Likewise. Fix formatting.
316
317 2001-12-04 Jakub Jelinek <jakub@redhat.com>
318
319 * strings.c: Include config.h before bfd.h.
320 (file_off): New type.
321 (file_open): Define.
322 (print_strings): Use file_off instead of file_ptr. Print addresses
323 which don't fit into long correctly.
324 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
325 available.
326 (strings_file): Use file_off instead of file_ptr. Use file_open.
327 * configure.in: Check for getc_unlocked.
328 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
329 be defined for it.
330 * configure: Rebuilt.
331 * config.h.in: Rebuilt.
332
333 2001-11-29 H.J. Lu <hjl@gnu.org>
334
335 * bucomm.c (make_tempname): Revert the changes made on
336 2001-11-14 and 2001-11-12. They won't work with directories.
337
338 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
339
340 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
341 CFLAGS_FOR_TARGET to runtest in environment.
342 * Makefile.in: Rebuild.
343 * doc/Makefile.in: Rebuild.
344
345 2001-11-28 Mike Stump <mrs@wrs.com>
346
347 * objcopy.c (setup_section): Preserve SEC_RELOC when
348 --set-section-flags is used.
349
350 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
351
352 * readelf.c (do_debug_str): New variable.
353 (display_debug_str): New function: Display the contents of a
354 .debug_str section.
355 (load_debug_str): New function: Load in the contents of a
356 .debug_str section.
357 (free_debug_str): New function: Free the memory used by
358 load_debug_str().
359 (fetch_indirect_string): Retrieve a string from the .debug_str
360 section.
361 (usage): Add -ws.
362 (parse_args): Accept -ws.
363 (process_section_headers): Allow the display of the .debug_str
364 section.
365 (read_and_display_attr_value): Use fetch_indirect_string. Show
366 offset into .debug_str section.
367 (display_debug_info): Use load_debug_str and free_debug_str.
368 (debug_displays): Add .debug_str.
369 * doc/binutils.texi: Document -ws.
370
371 2001-11-19 Andreas Jaeger <aj@suse.de>
372
373 * testsuite/binutils-all/objdump.exp: Add x86-64.
374
375 2001-11-15 Andreas Schwab <schwab@suse.de>
376
377 * readelf.c: Fix warnings without terminating newline.
378
379 2001-11-15 Alan Modra <amodra@bigpond.net.au>
380
381 * doc/binutils.texi (objdump): Document ppc -M options.
382
383 2001-11-14 Andreas Jaeger <aj@suse.de>
384
385 * doc/binutils.texi (objdump): Fix description to use x86-64.
386
387 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
388
389 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
390 not all systems provide mkstemp.
391
392 2001-11-14 Alan Modra <amodra@bigpond.net.au>
393
394 * doc/binutils.texi (objdump): Document x86 -M options.
395
396 2001-11-13 Keith Walker <keith.walker@arm.com>
397
398 * readelf.c (read_and_display_attr_value): New function to
399 handle DW_FORM_indirect.
400 (read_and_display_attr): Use it.
401
402 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
403
404 * readelf.c (display_debug_lines): Deal with unknown standard
405 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
406 DW_LNS_set_isa.
407
408 2001-11-13 Timothy Wall <twall@alum.mit.edu>
409
410 * MAINTAINERS: Add self as tic54x maintainer. This target
411 includes the IBM C54XDSP clone.
412
413 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
414
415 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
416
417 2001-11-09 Jeffrey A Law (law@cygnus.com)
418
419 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
420 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
421 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
422 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
423 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
424 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
425 (unw_decode_b2, unw_decode_b3_b4): Likewise.
426
427 * readelf.c (get_elf_class): Fix ISO portability glitch.
428 (get_data_encoding, get_osabi_name, request_dump): Likewise.
429
430 2001-11-07 Jakub Jelinek <jakub@redhat.com>
431
432 * readelf.c (debug_str, debug_str_size): New.
433 (display_debug_abbrev): If no abbrevs were read, skip the CU.
434 Call free_abbrevs.
435 (read_and_display_addr): Handle DW_FORM_strp.
436 (display_debug_info): Read .debug_str section if present,
437 so that DW_FORM_strp can be handled.
438 Fix test for non-existant .debug_abbrev section.
439
440 2001-11-05 Jakub Jelinek <jakub@redhat.com>
441
442 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
443
444 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
445
446 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
447
448 * MAINTAINERS: Add self as s390/s390x maintainer.
449
450 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
451
452 * MAINTAINERS: Add self as PPC XCOFF maintainer.
453
454 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
455
456 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
457 * configure: Regernate.
458 * po/fr.po: New file.
459 * po/tr.po: New file.
460
461 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
462
463 * MAINTAINERS: Add self as MMIX port maintainer.
464 * readelf.c: Include elf/mmix.h.
465 (guess_is_rela): MMIX is RELA.
466 (dump_relocations): Handle MMIX relocations.
467 * Makefile.am: Regenerate dependencies.
468 * Makefile.in: Regenerate.
469
470 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
471
472 * readelf.c (parse_args): Handle multiple options to the -w
473 switch.
474
475 2001-10-12 Jakub Jelinek <jakub@redhat.com>
476
477 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
478 LOPROC, LOOS and LOUSER.
479
480 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
481
482 * MAINTAINERS: Update my email address.
483
484 2001-10-03 Alan Modra <amodra@bigpond.net.au>
485
486 * doc/Makefile.in: Regenerate.
487 * configure: Regenerate.
488
489 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
490
491 * readelf.c (display_debug_line, display_debug_pubnames,
492 display_debug_info, display_debug_frames): Detect and warn
493 about 64-bit format entries.
494 (display_debug_aranges): Reword 64-bit warning.
495 (debug_displays): Add .debug_pubtypes as a known, but not yet
496 supported, debug section.
497
498 2001-10-02 Alan Modra <amodra@bigpond.net.au>
499
500 * coffdump.c (PROGRAM_VERSION): Delete.
501 (main <'V'>): Call print_version.
502 * srconv.c: Likewise.
503 * sysdump.c: Likewise.
504 * version.c (program_version): Remove.
505 (print_version): Use BFD_VERSION_STRING. Just print the current
506 year in copyright message.
507 * addr2line.c (program_version): Remove unused declaration.
508 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
509 place of BFD_VERSION.
510 * Makefile.am (Makefile): Depend on bfd/configure.in.
511 (cplus-dem.o): Depend on Makefile.
512 Run "make dep-am".
513 * Makefile.in: Regenerate.
514
515 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
516
517 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
518 format .debug_arange sections.
519 (main): Add missing prototype.
520
521 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
522
523 * Makefile.am: Update dependencies with "make dep-am".
524 * Makefile.in: Regenerate.
525
526 2001-09-28 Richard Henderson <rth@redhat.com>
527
528 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
529
530 2001-09-26 Alan Modra <amodra@bigpond.net.au>
531
532 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
533 VA_CLOSE.
534 (non_fatal): Likewise.
535 * objdump.c (objdump_sprintf): Likewise.
536 * readelf.c (error): Likewise.
537 (warn): Likewise.
538
539 2001-09-25 Jakub Jelinek <jakub@redhat.com>
540
541 * readelf.c (do_wide): New.
542 (options): Add --wide.
543 (usage, parse_args): Likewise.
544 (process_program_headers): Put each segment on a single line if
545 --wide is given.
546 (process_section_headers): Put each section on a single line if
547 --wide is given.
548 * doc/binutils.texi: Document it.
549 * NEWS: Likewise.
550
551 2001-09-25 Alan Modra <amodra@bigpond.net.au>
552
553 * readelf.c (print_vma): Print 8 digits of low hex value.
554
555 2001-09-24 Andreas Jaeger <aj@suse.de>
556
557 * nlmconv.c: Fix warnings about unused attributes and function
558 prototypes.
559
560 * strings.c: Add prototype for get_char.
561
562 2000-09-19 H.J. Lu <hjl@gnu.org>
563
564 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
565 $(srcdir)/cxxfilt.man.
566 * doc/Makefile.in: Rebuild.
567
568 2001-09-19 Alan Modra <amodra@bigpond.net.au>
569
570 * objcopy.c (copy_main): Correct rename-section string parsing.
571 Consolidate new_name parsing, and error messages.
572
573 2001-09-18 Bruno Haible <haible@clisp.cons.org>
574
575 * addr2line.c: Don't include <ctype.h>.
576 (main): For gettext, also set the LC_CTYPE locate facet.
577 * ar.c (main): Likewise.
578 * coffdump.c (main): Likewise.
579 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
580 (main): For gettext, also set the LC_CTYPE locate facet.
581 Use ISALNUM instead of isalpha/isdigit.
582 * dllwrap.c: Don't include <ctype.h>.
583 (main): For gettext, also set the LC_CTYPE locate facet.
584 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
585 (main): For gettext, also set the LC_CTYPE locate facet.
586 Use TOUPPER instead of islower/toupper.
587 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
588 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
589 Use TOUPPER instead of islower/toupper.
590 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
591 * objcopy.c (main): Likewise.
592 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
593 (disassemble_bytes): Use ISPRINT instead of isprint.
594 (dump_section_stabs): Use ISDIGIT instead of isdigit.
595 (dump_data): Use ISPRINT instead of isprint.
596 (main): For gettext, also set the LC_CTYPE locate facet.
597 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
598 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
599 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
600 Use TOUPPER instead of islower/toupper.
601 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
602 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
603 (write_rc_accelerators): Use ISPRINT instead of isprint.
604 (write_rc_rcdata): Likewise.
605 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
606 * srconv.c (main): Likewise.
607 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
608 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
609 isdigit/isupper/islower.
610 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
611 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
612 stab_demangle_prefix, stab_demangle_qualified,
613 stab_demangle_template, stab_demangle_type,
614 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
615 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
616 (isgraphic): Use ISPRINT instead of isascii/isprint.
617 (main): Remove HAVE_LC_MESSAGES dependency.
618 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
619 (pbarray): Use ISPRINT instead of isprint.
620 (main): For gettext, also set the LC_CTYPE locate facet.
621 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
622 (format_from_filename): Use ISPRINT instead of isprint.
623 (main): For gettext, also set the LC_CTYPE locate facet.
624 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
625 (unicode_print): Use ISPRINT instead of isprint.
626 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
627 (stab_variable): Use ISDIGIT instead of isdigit.
628
629 2001-09-18 Alan Modra <amodra@bigpond.net.au>
630
631 * ar.c (print_contents): Cast args of bfd_seek to the right types.
632 Replace bfd_read call with call to bfd_bread.
633 (extract_file): Likewise.
634
635 * objdump.c (dump_section_header): Cast section->filepos to
636 unsigned long to suit printf format string.
637 * readelf.c (process_section_headers): Similarly for sh_offset.
638 (process_unwind): Likewise.
639
640 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
641
642 * strings.c (encoding, encoding_bytes): New variables.
643 (long_options): Add --encoding.
644 (main): Accept -e and --encoding.
645 (get_char): New function. Read a, possibly wide, character from
646 the input stream.
647 (print_strings): Use get_char().
648 (usage): Document new command line option.
649 * doc/binutils.texi: Document new command line option.
650 * NEWS: Announce new command line option.
651
652 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
653
654 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
655 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
656 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
657 Removed EM_CYGNUS_ARC.
658
659 2001-09-04 Jeffrey A Law (law@cygnus.com)
660
661 * readelf.c: Include elf/h8 for H8 series definitions.
662 (guess_is_rela): H8 series if RELA.
663 (dump_relocations): Handle H8 series relocations.
664
665 2001-08-31 Eric Christopher <echristo@redhat.com>
666
667 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
668
669 2001-08-29 Peter Targett <peter.targett@arccores.com>
670
671 * MAINTAINERS: Include ARC Maintainer.
672
673 2001-08-29 Ben Elliston <bje@redhat.com>
674
675 * stabs.c (stab_demangle_template): Initialise s4.
676
677 2001-08-27 Alan Modra <amodra@bigpond.net.au>
678
679 * readelf.c (dump_relocations): Recognise EM_PPC64.
680
681 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
682
683 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
684
685 2001-08-25 H.J. Lu <hjl@gnu.org>
686
687 * nm.c (print_width): New.
688 (display_rel_file): Set `print_width' according to
689 bfd_sprintf_vma.
690 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
691
692 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
693
694 * objcopy.c (use_alt_mach_code): New variable.
695 (OPTION_ALT_MACH_CODE): Define.
696 (copy_options): Added --alt-machine-code.
697 (copy_main): Handle it.
698 (copy_object): Switch to alternate machine code if requested.
699 * doc/binutils.texi: Document new option.
700 * NEWS: Likewise.
701
702 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
703
704 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
705
706 2001-08-21 H.J. Lu <hjl@gnu.org>
707
708 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
709 (display_debug_info): Cast for 64bit hosts.
710 (display_debug_frames): Likewise.
711 (process_mips_specific): Likewise.
712
713 2001-08-21 Andreas Jaeger <aj@suse.de>
714
715 * coffgrok.h: Add missing parameter for prototype of coff_grok.
716
717 * sysdump.c: Add missing prototypes.
718 * srconv.c: Likewise.
719 * unwind-ia64.c: Likewise.
720 * coffdump.c: Likewise.
721
722 * sysinfo.y: Print prototypes, include <ansidecl.h>.
723
724 * coffgrok.c: Add missing prototypes, include libiberty.h instead
725 of declaring xcalloc.
726
727 2001-08-10 H.J. Lu <hjl@gnu.org>
728
729 * nm.c (print_value): Add one arg, bfd *.
730 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
731 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
732 (print_symbol_info_sysv): Likewise.
733 (print_symbol_info_posix): Likewise.
734
735 * objdump.c (dump_section_header): Replace printf_vma with
736 bfd_printf_vma.
737 (print_section_stabs): Likewise.
738 (dump_bfd_header): Likewise.
739 (objdump_print_value): Replace sprintf_vma with
740 bfd_sprintf_vma.
741 (disassemble_bytes): Likewise.
742 (dump_reloc_set): Likewise.
743
744 2001-08-10 Andreas Jaeger <aj@suse.de>
745
746 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
747 to build warnings.
748 * configure: Regenerate.
749
750 2001-08-09 Alan Modra <amodra@bigpond.net.au>
751
752 * readelf.c: Add missing prototypes.
753 * objdump.c: Likewise. Format existing prototypes.
754
755 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
756
757 * readelf.c (display_debug_info): Add to abbrev_offset the addend
758 of any RELA relocation for the abbrev_offset memory location that
759 refers to the .debug_abbrev section symbol.
760
761 2001-08-07 H.J. Lu <hjl@gnu.org>
762
763 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
764 (main): Return process_file ().
765
766 2001-08-05 Philip Blundell <philb@gnu.org>
767
768 * doc/binutils.texi: Use "Thumb" not "THUMB".
769
770 2001-08-03 John Healy <jhealy@redhat.com>
771
772 Patch suggested by Frank Eigler <fche@redhat.com>.
773 * objdump.c (disassemble_data): Fill in section member of the
774 disasm_info structure.
775
776 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
777
778 * configure.in: Added --with-windres option.
779 * configure: Regenerated.
780
781 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
782
783 * doc/binutils.texi: Use @command{name} for commands;
784 use @option{-opt} for options; use @table @env for list of options;
785 remove spaces arround [ | ] in synopsis.
786
787 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
788 center title.
789
790 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
791
792 * objcopy.c: Fix formatting.
793 (section_rename): New structure.
794 (OPTION_RENAME_SECTION): New switch.
795 (copy_usage): Document new switch.
796 (add_section_rename): New function: Add a node to the section
797 rename list.
798 (find_section_rename): New function: Find the new name and
799 flags for a section.
800 (setup_section): Call find_section_name to determine the name
801 of the output section.
802 (copy_main): Handle OPTION_RENAME_SECTION.
803 * binutils.texi: Document new switch.
804 * NEWS: Mention new switch.
805
806 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
807
808 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
809 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
810 bug-binutils@gcc.org.
811
812 2001-07-28 Matthias Kramm <kramm@quiss.org>
813
814 * bucomm.c (list_supported_architectures): New function.
815 * bucomm.h (list_supported_architectures): Declare.
816 * objdump.c (usage): Call the above.
817
818 2001-07-25 Dave Brolley <brolley@redhat.com>
819
820 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
821 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
822
823 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
824
825 * README: Update for 2.11. Change bug reporting email address.
826 * MAINTAINERS: Tidy up. Change bug reporting email address.
827
828 2001-07-16 DJ Delorie <dj@redhat.com>
829
830 * resres.c (write_res_header): Align header size.
831 (res_align_file): Calculate alignment correctly.
832
833 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
834 correct 10).
835 * resrc.c (write_rc_resource): Likewise.
836 * windres.h (SUBLANG_SHIFT): Define - as 10.
837
838 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
839
840 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
841
842 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
843
844 * MAINTAINERS: Add notes about branch checkins.
845
846 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
847
848 * readelf.c (display_debug_macinfo): New function, display
849 .debug_macinfo section.
850 (do_debug_macinfo): New variable.
851 (parse_args): Handle "-w[mM]" to mean display macro info.
852 (process_section_headers): Handle debug_macinfo.
853 (debug_displays): Replace unsupported function with macinfo
854 function for .debug_macinfo display.
855 * doc/binutils.texi: Document new command line switch.
856 * NEWS: Document new feature of readelf.
857
858 2001-07-05 H.J. Lu <hjl@gnu.org>
859
860 * objcopy.c (filter_symbols): Don't turn undefined symbols
861 into local.
862
863 2001-07-03 H.J. Lu <hjl@gnu.org>
864
865 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
866 $@.pod.
867 (ar.1): Likewise.
868 (dlltool.1): Likewise.
869 (nlmconv.1): Likewise.
870 (nm.1): Likewise.
871 (objcopy.1): Likewise.
872 (objdump.1): Likewise.
873 (ranlib.1): Likewise.
874 (readelf.1): Likewise.
875 (size.1): Likewise.
876 (strings.1): Likewise.
877 (strip.1): Likewise.
878 (windres.1): Likewise.
879 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
880 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
881 $(DEMANGLER_NAME).
882 (as.1): Removed.
883 * doc/Makefile.in: Regenerated.
884
885 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
886
887 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
888
889 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
890
891 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
892
893 2001-06-29 James Cownie <jcownie@etnus.com>
894
895 * readelf.c: Support DWARF 2.1 attributes.
896
897 2001-06-28 Alan Modra <amodra@bigpond.net.au>
898
899 * readelf.c (GET_DATA_ALLOC): Remove.
900 (GET_DATA): Remove.
901 (get_data): New function combining above macros, with an extra
902 test for zero size.
903 (slurp_rela_relocs): Use get_data, and catch error return.
904 (slurp_rel_relocs): Likewise.
905 (get_32bit_program_headers): Likewise.
906 (get_64bit_program_headers): Likewise.
907 (get_32bit_section_headers): Likewise.
908 (get_64bit_section_headers): Likewise.
909 (get_32bit_elf_symbols): Likewise.
910 (get_64bit_elf_symbols): Likewise.
911 (process_section_headers): Likewise.
912 (process_relocs): Likewise.
913 (slurp_ia64_unwind_table): Likewise.
914 (process_unwind): Likewise.
915 (get_32bit_dynamic_segment): Likewise.
916 (get_64bit_dynamic_segment): Likewise.
917 (process_dynamic_segment): Likewise.
918 (process_version_sections): Likewise.
919 (process_symbol_table): Likewise.
920 (dump_section): Likewise.
921 (display_debug_info): Likewise.
922 (display_debug_section): Likewise.
923 (process_section_contents): Likewise.
924 (process_corefile_note_segment): Likewise.
925 (process_mips_specific): Likewise. Also free econf32, econf64.
926
927 2001-06-25 Alan Modra <amodra@bigpond.net.au>
928
929 * readelf.c (dump_relocations): Print "bad symbol index" if
930 symtab == NULL with non-zero symtab_index.
931 (process_relocs): Don't bomb if reloc section has no symsec.
932
933 2001-06-24 H.J. Lu <hjl@gnu.org>
934
935 * objcopy.c (strip_main): Revert the change made on 2001-05-30
936 by accident.
937 (copy_main): Apply the the change made to strip_main on
938 2001-05-30 by accident.
939
940 2001-06-23 Andreas Jaeger <aj@suse.de>
941
942 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
943 parameter 'code'.
944 (unw_decode_x2): Likewise.
945 (unw_decode_x3): Likewise.
946 (unw_decode_x4): Likewise.
947
948 2001-06-23 Ben Elliston <bje@redhat.com>
949
950 * MAINTAINERS: Add myself as M88k maintainer.
951
952 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
953
954 * objcopy.c (strip_main): Support -o or --output-file command lien
955 switch.
956
957 2001-06-19 H.J. Lu <hjl@gnu.org>
958
959 * doc/Makefile.in: Regenerated.
960
961 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
962
963 * readelf.c: Restore formatting.
964
965 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
966
967 * Makefile.am: Move documentation into doc subdirectory.
968 * Makefile.in: Regenerated.
969 * binutils.texi: Move into doc subdirectory.
970 * addr2line.1: Removed.
971 * ar.1: Likewise.
972 * dlltool.1: Likewise.
973 * nlmconv.1: Likewise.
974 * nm.1: Likewise.
975 * objcopy.1: Likewise.
976 * objdump.1: Likewise.
977 * ranlib.1: Likewise.
978 * readelf.1: Likewise.
979 * size.1: Likewise.
980 * strings.1: Likewise.
981 * strip.1: Likewise.
982 * windres.1: Likewise.
983 * cxxfilt.man: Likewise.
984 * doc: New Directory.
985 * doc/Makefile.am: New file.
986 * doc/Makefile.in: Generate.
987
988 2001-06-09 Alan Modra <amodra@bigpond.net.au>
989
990 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
991
992 2001-06-01 Alan Modra <amodra@bigpond.net.au>
993
994 * MAINTAINERS: Update my email address.
995
996 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
997
998 * objcopy.c: Add new switches: --keep-global-symbol,
999 --keep-symbols, --localize-symbols, --keep-global-symbols and
1000 --weaken-symbols.
1001 * binutils.texi: Document new switches.
1002 * objcopy.1: Regenerate.
1003 * NEWS: Announce new feature.
1004
1005 2001-05-28 Andreas Jaeger <aj@suse.de>
1006
1007 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1008 variables, fix format strings.
1009
1010 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1011
1012 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1013 when computing the address of the line to show.
1014
1015 2001-05-16 Richard Henderson <rth@redhat.com>
1016
1017 * readelf.c (do_debug_frames_interp): New.
1018 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1019 (byte_get_big_endian): Likewise.
1020 (parse_args) ['F']: Set do_debug_frames_interp.
1021 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1022 (frame_display_row): Don't trunc pc_begin to int.
1023 (size_of_encoded_value): New.
1024 (display_debug_frames): Handle 64-bit targets. Print raw data
1025 unless do_debug_frames_interp.
1026 (debug_displays): Remove duplicate .debug_frame.
1027
1028 2001-05-15 Ralf Baechle <ralf@gnu.org>
1029
1030 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1031 The former constant was never in active use and is used otherwise
1032 by the ABI.
1033
1034 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1035
1036 * readelf.c (process_unwind): Print all unwind sections, not just
1037 one.
1038
1039 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1040
1041 * readelf.c (process_unwind): Remove const specifier.
1042
1043 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1044
1045 * strings.c (isgraphic): Do not use isascii() unless it is needed
1046 for isprint() to work.
1047 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1048
1049 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1050
1051 * NEWS: Announce support for OpenRISC.
1052
1053 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1054
1055 * dlltool.c (do_default_excludes): Initialise to true.
1056
1057 2001-04-10 Alan Modra <amodra@one.net.au>
1058
1059 * MAINTAINERS: Update my email address
1060 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1061
1062 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1063
1064 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1065
1066 2001-03-30 H.J. Lu <hjl@gnu.org>
1067
1068 * readelf.c (process_unwind): Just return if do_unwind is 0.
1069
1070 2001-03-28 Roger Sayle <roger@metaphorics.com>
1071
1072 * dlltool.c (make_one_lib_file): Fix section flags for
1073 .text, .data and .bss in stub ds*.o files to match those
1074 generated by gas.
1075
1076 2001-03-29 H.J. Lu <hjl@gnu.org>
1077
1078 * readelf.c (process_unwind): Only do unwind sections for
1079 IA64.
1080
1081 2001-03-28 H.J. Lu <hjl@gnu.org>
1082
1083 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1084 * Makefile.in: Regenerate.
1085
1086 2001-03-26 Andreas Jaeger <aj@suse.de>
1087
1088 * binutils.texi (nm): Fix texi syntax.
1089
1090 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1091
1092 * binutils.texi: Put @c man begin and @c man end indications
1093 to generate man pages using texi2pod and pod2man. Put @c man title
1094 to identify each man. Add SEEALSO entries.
1095 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1096 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1097 sort the list.
1098 (*.1): Build the man pages from binutils.texi.
1099 * Makefile.in: Regenerate.
1100
1101 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1102
1103 * defparse.y (opt_equal_name): allow "." in name.
1104 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1105 (gen_exp_file): Likewise.
1106
1107 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1108
1109 * NEWS: Document addition of -B switch to objcopy.
1110 * binutils.texi: Document addition of -B switch to objcopy.
1111 * objcopy.c: (copy_options): Add --binary-architecture.
1112 (copy_usage): Document -B/--binary-architecture.
1113 (copy_main): Support -B/--binary-architecture. Set
1114 bfd_external_binary_architecture.
1115
1116 2001-03-11 Andreas Jaeger <aj@suse.de>
1117
1118 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1119 (dump_relocations): Likewise.
1120 (get_machine_name): Likewise.
1121
1122 2001-02-28 Nick Clifton <nickc@redhat.com>
1123
1124 * readelf.c: (struct unw_aux_info): Remove const modifier for
1125 'strtab' field.
1126 (process_unwind): Remove non-K&R compliant LHS type cast in call
1127 to GET_DATA_ALLOC macro.
1128
1129 2001-02-28 Philip Blundell <pb@futuretv.com>
1130
1131 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1132 ABI is in use; remove ambiguity between the "unknown" EABI and
1133 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1134 renamed EF_xx constants.
1135
1136 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1137
1138 * configure.in (BFD_VERSION): New.
1139 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1140 * configure: Regenerate.
1141 * Makefile.am: Run "make dep-am"
1142 * Makefile.in: Regenerate.
1143
1144 2001-02-14 Nick Clifton <nickc@redhat.com>
1145
1146 * MAINTAINERS: Add "Obvious Fix" rule.
1147
1148 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1149
1150 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1151 literal concatenation.
1152
1153 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1154
1155 * readelf.c (struct unw_aux_info): Remove const from the info member.
1156 (process_unwind): Don't type-cast the third argument to the
1157 GET_DATA_ALLOC macro.
1158
1159 2001-02-11 Nick Clifton <nickc@redhat.com>
1160
1161 * readelf.c (dump_relocations): Free corrected allocated
1162 array.
1163 (process_unwind): Fix compile time warning.
1164
1165 2001-02-10 Nick Clifton <nickc@redhat.com>
1166
1167 * binutils.texi: Document new --unwind option to readelf.
1168
1169 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1170
1171 * readelf.c: Add linux target for S/390.
1172
1173 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1174
1175 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1176 printf is a macro.
1177
1178 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1179
1180 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1181 * aclocal.m4: Regenerate.
1182 * configure: Regenerate.
1183
1184 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1185
1186 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1187 * objdump.c (bfd_target_vector): Likewise.
1188
1189 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1190
1191 * readelf.c (process_unwind): New function.
1192 (slurp_ia64_unwind_table): Ditto.
1193 (dump_ia64_unwind): Ditto.
1194 (find_symbol_for_address): Ditto.
1195 (slurp_rela_relocs): New function (split off from dump_relocations()).
1196 (slurp_rel_relocs): Ditto.
1197 (parse_args): Handle '-u' option.
1198
1199 * unwind-ia64.c: New file.
1200 * unwind-ia64.h: New file.
1201 * Makefile.am: Include unwind-ia64.c in readelf build.
1202 * Makefile.in: Regenerate.
1203 * po/binutils.pot: Regenerate.
1204
1205 2001-02-04 Philip Blundell <philb@gnu.org>
1206
1207 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1208 * configure: Regenerate.
1209
1210 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1211
1212 * ieee.c (ieee_add_bb11): Don't check for backslashes
1213 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1214
1215 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1216
1217 * ieee.c: Update copyright.
1218 (ieee_start_compilation_unit): Don't check for backslashes
1219 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1220
1221 * stabs.c: Update copyright. Include "filenames.h".
1222 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1223
1224 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1225
1226 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1227 sections are present before using them. Remove code duplication.
1228 (process_symbol_table): Check if VERDEF or VERNEED sections are
1229 present before using them.
1230
1231 2001-01-17 Nick Clifton <nickc@redhat.com>
1232
1233 * objcopy.c (copy_object): Fail if attempting to convert the
1234 endianness of the input object file.
1235
1236 * binutils.texi: Explain that objcopy cannot convert endianness.
1237
1238 2001-01-16 Nick Clifton <nickc@redhat.com>
1239
1240 * readelf.c (string_table_length): New variable.
1241 (SECTION_NAME): Catch out of range indices and missing section
1242 pointers.
1243 (process_section_headers): Delete useless local variable
1244 string_table_offset. Set the value of string_table_length
1245 after loading the string table.
1246 (process_mips_specific): Use SECTION_NAME macro.
1247 (process_file): Set string_table_length to 0 when it is freed.
1248
1249 2001-01-12 Nick Clifton <nickc@redhat.com>
1250
1251 * version.c (print_version): Update copyright date.
1252
1253 2001-01-11 Peter Targett <peter.targett@arccores.com>
1254
1255 * readelf.c (dump_relocations): Include selection with EM_ARC.
1256 (get_machine_name) Update name to "ARC".
1257
1258 2001-01-09 Nick Clifton <nickc@redhat.com>
1259
1260 * Makefile.am: Add rule to build objdump.o from objdump.c and
1261 using OBJDUMP_DEFS.
1262 * Makefile.in: Regenerate.
1263
1264 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1265 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1266 -DDISASSEMBLER_NEEDS_RELOCS.
1267 * configure: Regenerate.
1268
1269 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1270 is defined read in the relocs even if dump_reloc_info is
1271 false.
1272
1273 2001-01-07 Philip Blundell <philb@gnu.org>
1274
1275 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1276 `bug-binutils'.
1277 * README: Likewise.
1278
1279 2000-12-19 Nick Clifton <nickc@redhat.com>
1280
1281 * dlltool.c: Add missing support for arm-epoc-pe.
1282 * configure.in: Add missing support for arm-epoc-pe.
1283 * configure: Regenerate.
1284
1285 2000-12-15 Nick Clifton <nickc@redhat.com>
1286
1287 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1288 Mode parts of the x86 port.
1289
1290 2000-12-04 Andreas Jaeger <aj@suse.de>
1291
1292 * readelf.c (guess_is_rela): Add EM_X86_64.
1293 (dump_relocations): Add EM_X86_64.
1294 (get_machine_name): Add EM_X86_64.
1295 Include "elf/x86-64.h".
1296
1297 2000-12-12 Nick Clifton <nickc@redhat.com>
1298
1299 * readelf.c: Fix formatting.
1300
1301 2000-12-11 Jan Hubicka <jh@suse.cz>
1302
1303 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1304
1305 2000-12-07 Andrew Haley <aph@redhat.com>
1306
1307 * readelf.c (display_debug_frames): Only display columns that are
1308 referenced by the frame debug info.
1309
1310 2000-12-05 Nick Clifton <nickc@redhat.com>
1311
1312 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1313
1314 2000-12-04 Jason Merrill <jason@redhat.com>
1315
1316 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1317 (display_debug_section): Likewise.
1318 (display_debug_info): Display CU header before bailing.
1319
1320 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1321
1322 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1323 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1324 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1325
1326 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1327 and E_MIPS_ARCH_64.
1328
1329 * readelf.c (get_machine_flags): Add case for
1330 E_MIPS_MACH_SB1.
1331
1332 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1333
1334 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1335
1336 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1337
1338 * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
1339 Change sourceware.cygnus.com to sources.redhat.com.
1340 Fix typo for "amongst".
1341
1342 2000-11-28 Nick Clifton <nickc@redhat.com>
1343
1344 * strip.1 (COPYING): Mention that the GNU Free Documentation
1345 License is present in the sources, but not the output, and
1346 also available from the GNU website.
1347 (GNU Free Documentation License): Comment out this section.
1348 * strings.1: Ditto.
1349 * size.1: Ditto.
1350 * ranlib.1: Ditto.
1351 * objdump.1: Ditto.
1352 * objcopy.1: Ditto.
1353 * nm.1: Ditto.
1354 * nlmconv.1: Ditto.
1355 * ar.1: Ditto.
1356 * addr2line.1: Ditto.
1357
1358 2000-11-27 DJ Delorie <dj@redhat.com>
1359
1360 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1361 (parse_args): Support -wf option.
1362 (process_section_headers): Ditto.
1363 (debug_displays): Ditto.
1364 (display_debug_frames): New, dump *_frame sections.
1365 (frame_need_space): Support for above.
1366 (frame_display_row): Ditto.
1367 * binutils.texi: Document it.
1368
1369 2000-11-24 Nick Clifton <nickc@redhat.com>
1370
1371 * NEWS: Announce support for v5t, v5te and XScale.
1372
1373 2000-11-22 Nick Clifton <nickc@redhat.com>
1374
1375 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1376 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1377 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1378 (get_elf_section_flags: Add SHF_GROUP.
1379 (process_section_headers): Adjust output for 32-bit binaries
1380 to look nice on an 80 column terminal.
1381
1382 2000-11-20 H.J. Lu <hjl@gnu.org>
1383
1384 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1385 ELFOSABI_AIX.
1386
1387 2000-11-17 Richard Henderson <rth@redhat.com>
1388
1389 * readelf.c (display_debug_lines): Adjust last change to
1390 use sizeof (external->li_length).
1391
1392 2000-11-17 Richard Henderson <rth@redhat.com>
1393
1394 * readelf.c (display_debug_lines): Fix section length check
1395 and end_of_sequence computation.
1396
1397 2000-11-06 Nick Clifton <nickc@redhat.com>
1398
1399 * binutils.texi: Add GNU Free Documentation License.
1400 * objcopy.1: Add GNU Free Documentation License.
1401 * objdump.1: Add GNU Free Documentation License.
1402 * addr2line.1: Add GNU Free Documentation License.
1403 * ar.1: Add GNU Free Documentation License.
1404 * nlmconv.1: Add GNU Free Documentation License.
1405 * nm.1: Add GNU Free Documentation License.
1406 * ranlib.1: Add GNU Free Documentation License.
1407 * size.1: Add GNU Free Documentation License.
1408 * strings.1: Add GNU Free Documentation License.
1409 * strip.1: Add GNU Free Documentation License.
1410
1411 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1412
1413 * objcopy.c (--srec-len=nn): New parameter to set the
1414 maximum length of generated Srecords.
1415 (--srec-forceS3): New parameter that restricts the generation of
1416 Srecords to type S3 only.
1417 * binutils.texi: Document new command line switches.
1418 * objcopy.1: Docuemnt the new command line switches.
1419 * NEWS: Announce the existence of the new command line switches.
1420
1421 2000-10-31 Nick Clifton <nickc@redhat.com>
1422
1423 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1424 code. Add Eric Chrisopher as maintainer of MN10300 port.
1425
1426 2000-10-12 Roger Sayle <roger@metaphorics.com>
1427
1428 * Make comma after string after icon/control optional.
1429
1430 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1431
1432 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1433
1434 * NEWS: Mention support for MIPS32.
1435
1436 2000-09-08 Nick Clifton <nickc@redhat.com>
1437
1438 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1439
1440 2000-09-07 H.J. Lu <hjl@gnu.org>
1441
1442 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1443 * configure: Rebuild.
1444
1445 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1446
1447 * configure: Rebuilt with new libtool.m4.
1448
1449 2000-09-05 Nick Clifton <nickc@redhat.com>
1450
1451 * aclocal.m4: Regenerate.
1452 * config.in: Regenerate.
1453 * configure: Regenerate.
1454
1455 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1456
1457 * strip.1: Fix stray '\' in -o formatting.
1458
1459 2000-09-02 Nick Clifton <nickc@redhat.com>
1460
1461 * configure.in: Increase version number to 2.10.91.
1462 * configure: Regenerate.
1463 * aclocal.m4: Regenerate.
1464 * config.in: Regenerate.
1465 * po/binutils.pot: Regenerate.
1466
1467 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1468
1469 * acinclude.m4: Include libtool and gettext macros from the
1470 top level.
1471 * aclocal.m4, configure: Rebuilt.
1472
1473 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1474
1475 * resrc.c (close_input_stream): Delete extraneous logic
1476
1477 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1478
1479 * NEWS: Mention support for CRIS.
1480
1481 2000-08-21 Nick Clifton <nickc@redhat.com>
1482
1483 * addr2line.c: Changed email address for Ulrich Lauther.
1484
1485 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1486
1487 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1488
1489 2000-08-17 Nick Clifton <nickc@redhat.com>
1490
1491 * readelf.c (display_debug_pubnames): Only issue warning
1492 message once. Terminate message with a new line.
1493 (display_debug_aranges): Only display version 2 debug info.
1494
1495 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1496
1497 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1498 for compatability with old BSD systems.
1499
1500 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1501
1502 * NEWS: Mention i860 support.
1503
1504 2000-08-11 Carlo Wood <carlo@alinoe.com>
1505
1506 * addr2line.c (main): Add const to char *.
1507
1508 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1509
1510 * ar.c (main): Don't crash if called with no arguments
1511 or only '-X32_64' as an argument.
1512
1513 2000-08-08 DJ Delorie <dj@redhat.com>
1514
1515 * resrc.c: use "gcc -xc" instead of -xc-header
1516
1517 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1518
1519 * readelf.c (elf/i860.h): Include.
1520 (dump_relocations): Add recognition of i860 architecture.
1521 (guess_is_rela): Add recognition of i860 architecture.
1522
1523 2000-08-03 Nick Clifton <nickc@cygnus.com>
1524
1525 * MAINTAINERS: Add information about CGEN maintainers.
1526
1527 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1528
1529 * nm.c (main): Ignore '-X32_64' as an option.
1530 * ar.c (main): Likewise.
1531 * binutils.texi (nm): Document new option.
1532 (ar): Likewise.
1533
1534 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1535
1536 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1537
1538 2000-07-20 H.J. Lu <hjl@gnu.org>
1539
1540 * binutils.texi: Put back "@end table" deleted by
1541 accident.
1542
1543 2000-07-05 Kenneth Block <krblock@computer.org>
1544
1545 * nm.c: Add optional style to demangle switch.
1546 * objdump.c: Add optional style to demangle switch.
1547 * addr2line.c: Add optional style to demangle switch.
1548 * binutils.texi: Document optional style to demangle
1549 switch.
1550
1551 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1552
1553 * MAINTAINERS: Add self as CRIS port maintainer.
1554 * readelf.c: Include elf/cris.h.
1555 (guess_is_rela): Handle EM_CRIS.
1556 (dump_relocations): Ditto.
1557 (get_machine_name): Ditto.
1558 * Makefile.am: Rebuild dependencies.
1559 * Makefile.in: Regenerate.
1560 * po/binutils.pot: Regenerate.
1561
1562 2000-07-19 H.J. Lu <hjl@gnu.org>
1563
1564 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1565 "AUXILIARY".
1566 (process_dynamic_segment): Print out strings for DT_CONFIG,
1567 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1568
1569 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1570
1571 * nm.c (usage): Change output of `nm --help' to include a
1572 description of the purpose of the program and a detailed
1573 description of the accepted options.
1574
1575 2000-07-19 H.J. Lu <hjl@gnu.org>
1576
1577 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1578 to DF_1_NODEFLIB.
1579
1580 2000-07-19 H.J. Lu <hjl@gnu.org>
1581
1582 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1583
1584 2000-07-19 H.J. Lu <hjl@gnu.org>
1585
1586 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1587 DT_FEATURE.
1588 (process_dynamic_segment): Likewise.
1589
1590 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1591 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1592 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1593 DF_1_NODUMP and DF_1_CONLFAT.
1594
1595 2000-07-18 Nick Clifton <nickc@cygnus.com>
1596
1597 * binutils.texi (readelf): Fix spelling typo.
1598
1599 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1600
1601 * objdump.c (usage): Make output of `objdump --help' more
1602 consistent with the rest of the GNU world. Add a line describing
1603 the purpose of the program.
1604
1605 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1606
1607 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1608 warning.
1609
1610 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1611
1612 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1613 to fix warnings.
1614 (process_symbol_table): Ditto.
1615 (procesS_extended_line_op): Ditto.
1616 (display_debug_lines): Ditto.
1617 (display_debug_pubnames): Ditto.
1618 (read_and_display_attr): Ditto.
1619
1620 2000-07-09 Nick Clifton <nickc@cygnus.com>
1621
1622 * MAINTAINERS: Add several more port specific maintainers.
1623
1624 2000-07-05 Nick Clifton <nickc@cygnus.com>
1625
1626 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1627
1628 2000-06-05 DJ Delorie <dj@redhat.com>
1629
1630 * MAINTAINERS: New.
1631
1632 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1633
1634 * dllwrap.c: Changed mistaken dyn_string_append() calls
1635 to dyn_string_append_cstr().
1636
1637 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1638
1639 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1640 struct debug_type stores size in bytes.
1641
1642 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1643
1644 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1645 (CLEANFILES): Add DEPA.
1646 * Makefile.in: Regenerate.
1647
1648 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1649
1650 * ar.c: Revert incorrect 2000-06-25 patch.
1651 * bucomm.c: Likewise.
1652
1653 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1654
1655 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1656 (external_coff_symbol_p): New function.
1657 (parse_coff): Use it.
1658
1659 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1660
1661 * ar.c (normalize): Advance past both characters in a DOS based
1662 <letter>: filepath prefix.
1663 (main): Likewise.
1664 * bucomm.c (make_tempname): Likewise.
1665
1666 2000-06-24 Nick Clifton <nickc@cygnus.com>
1667
1668 * objdump.c (usage): Fix description of --stabs switch.
1669
1670 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1671
1672 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1673 find one.
1674 * Makefile.in: Regenerate.
1675
1676 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1677
1678 * ar.c (normalize): Correct pointer comparison when checking for
1679 backslashes.
1680 (main): Likewise.
1681 * bucomm.c (make_tempname): Likewise.
1682
1683 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1684 and search for backslashes in the original pathname.
1685 (ieee_add_bb11): Likewise.
1686
1687 2000-06-18 Nick Clifton <nickc@redhat.com>
1688
1689 * ar.c (print_contents): Improve verbose message.
1690
1691 2000-06-15 H.J. Lu <hjl@gnu.org>
1692
1693 * dyn-string.c: Removed. Not needed with dyn-string.c in
1694 libiberty.
1695 * dyn-string.h: Likewise.
1696
1697 * Makefile.am: Remove references to dyn-string.c and
1698 dyn-string.h. Rebuild dependency.
1699 * Makefile.in: Rebuild.
1700
1701 2000-06-15 H.J. Lu <hjl@gnu.org>
1702
1703 * binutils.texi: Put a warning on copying relocatable object
1704 files between two different formats.
1705
1706 2000-06-13 DJ Delorie <dj@cygnus.com>
1707
1708 * rcparse.y (control): ICON controls take an id as the first
1709 parameter, not an optional string. Also, call new convenience
1710 function that takes res_id's.
1711 * resrc.c (define_control): missing text means zero-length string,
1712 not zero ID.
1713 (define_icon_control): New.
1714 * windres.h: declare define_icon_control.
1715
1716 2000-06-13 H.J. Lu <hjl@gnu.org>
1717
1718 * configure: Regenerate.
1719
1720 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1721
1722 * configure.in (VERSION): Update to show this is the CVS mainline.
1723
1724 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1725
1726 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1727 analogous to <SPACE>.
1728
1729 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1730
1731 * objdump.c (display_target_list): Use bfd_close_all_done, not
1732 bfd_close to fix crash caused by 2000-05-24 change.
1733
1734 2000-05-25 DJ Delorie <dj@cygnus.com>
1735
1736 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1737
1738 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1739
1740 * Makefile.am: Update dependencies with "make dep-am"
1741 * Makefile.in: Regenerate.
1742
1743 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1744
1745 * ar.c: Include filenames.h.
1746 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1747 and drive letters in file names.
1748 (main): Support backslashes and drive letters in argv[0]. Drop
1749 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1750 FILENAME_CMP instead of strcmp to compare file names.
1751 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1752 DJGPP v2.
1753 (do_quick_append) [__GO32__]: Ditto.
1754 (get_pos_bfd, delete_members, move_members, replace_members):
1755 Compare file names with FILENAME_CMP.
1756
1757 * bucomm.c: Include filenames.h.
1758 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1759 forward/backward slashes and drive letters in file names.
1760
1761 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1762 mixed forward/backward slashes and drive letters in file names.
1763
1764 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1765 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1766 mode.
1767
1768 * objcopy.c: Include filenames.h.
1769 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1770 before comparing to "strip".
1771 Use FILENAME_CMP to compare file names.
1772
1773 * arsup.c: Include filenames.h.
1774 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1775 FILENAME_CMP to compare file names.
1776 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1777 the temporary file name.
1778
1779 * configure.in: Check for setmode.
1780 * configure: Regenerate.
1781
1782 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1783
1784 * objdump.c (display_target_list): Close the bfd.
1785 (display_info_table): Likewise.
1786
1787 2000-05-14 H.J. Lu (hjl@gnu.org)
1788
1789 * objcopy.c (filter_symbols): Don't strip global symbols in
1790 relocatable object files.
1791
1792 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1793
1794 * size.c (usage): Associate short options with corresponding long
1795 option to give a clue as to their function.
1796
1797 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1798
1799 * size.c (main): Accept and ignore `-f' option.
1800
1801 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1802
1803 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1804 bindtextdomain): Replace defines with those from intl/libgettext.h
1805 to quieten gcc warnings.
1806
1807 2000-05-12 H.J. Lu <hjl@gnu.org>
1808
1809 * nlmconv.c (temp_filename): Removed.
1810
1811 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1812 choose_temp_base ().
1813 * objdump.c (display_target_list): Likewise.
1814 (display_info_table): Likewise.
1815
1816 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1817
1818 * objcopy.c (setup_section): Add const and gettext calls for err.
1819
1820 2000-05-02 H.J. Lu <hjl@gnu.org>
1821
1822 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1823 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1824 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1825 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1826 and ELFOSABI_OPENBSD.
1827
1828 2000-05-02 Kazu Hirata <kazu@hxi.com>
1829
1830 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1831 * srconv.c: Likewise.
1832 * sysdump.c: Likewise.
1833
1834 2000-04-23 Denis Chertykov <denisc@overta.ru>
1835
1836 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1837 (get_machine_name): machine name for EM_AVR added.
1838
1839 2000-04-21 Richard Henderson <rth@cygnus.com>
1840 David Mosberger <davidm@hpl.hp.com>
1841
1842 * Makefile.am (readelf.o): Add elf/ia64.h.
1843 * Makefile.in: Rebuild.
1844 * readelf.c: Include elf/ia64.h.
1845 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1846
1847 2000-04-17 Timothy Wall <twall@cygnus.com>
1848
1849 * objdump.c (disassemble_data): Set octets per byte *after*
1850 resolving arch/mach for binary files.
1851
1852 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1853
1854 * arlex.l: Add directives to increase lex buffer size.
1855
1856 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1857 already included by bucomm.h.
1858
1859 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1860
1861 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1862 `strftime' since strftime is not available on all systems.
1863 (process_mips_specific): Ditto.
1864
1865 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1866
1867 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1868 --enable-build-warnings option.
1869 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1870 * Makefile.in, configure: Re-generate.
1871
1872 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1873
1874 * addr2line.c: Update copyright.
1875 * objcopy.1: Likewise, and title.
1876 * strings.1: Likewise.
1877
1878 * version.c (print_version): Add 2000.
1879
1880 * rddbg.c (read_section_stabs_debugging_info): Don't use
1881 bfd_size_type for strx to avoid printf problems if BFD64.
1882
1883 * bucomm.c: (report): Remove `static'.
1884 Move inclusion of stdarg.h/vararg.h from here.
1885 * bucomm.h: To here.
1886 (CONST): Change all occurences to const.
1887 (report): Declare it.
1888 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1889 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1890 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1891
1892 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1893 Correct a typo in an error message.
1894 (do_quick_append): Use non_fatal instead of fprintf.
1895 (move_members): Use fatal instead of fprintf, exit.
1896 * coffdump.c (main): Same here.
1897
1898 * dlltool.c (display): Delete.
1899 (warn): Delete.
1900 (inform): Use `report' instead of `display'.
1901 (rvaafter): Remove trailing \n from fatal error msg.
1902 (rvabefore): Ditto.
1903 (asm_prefix): Ditto.
1904 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1905 (def_name): Likewise.
1906 (run): Likewise.
1907 (scan_all_symbols): Likewise.
1908 (gen_lib_file): Likewise.
1909 (def_library): Likewise. Remove extra program_name too.
1910 (run): Remove \n from inform strings.
1911 (scan_drectve_symbols): Likewise.
1912 (add_excludes): Likewise.
1913 (scan_open_obj_file): Likewise.
1914 (gen_exp_file): Likewise.
1915 (gen_lib_file): Likewise.
1916 (process_duplicates): Likewise.
1917
1918 * Makefile.am (dllwrap_SOURCES): Add version.c.
1919 * dllwrap.c (program_version): Delete.
1920 (print_version): Delete.
1921 (display): Always print trailing \n.
1922 (warn): New.
1923 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1924 (run): Here too.
1925 (main): And here.
1926 (usage): gettext'ify.
1927 (long_options): Add missing initialisers.
1928
1929 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1930 (select_output_format): Likewise.
1931 (powerpc_mangle_relocs): Likewise.
1932 (link_inputs): Likewise.
1933
1934 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1935 (set_output_format): Likewise.
1936 (main): Use non_fatal instead of fprintf.
1937 (display_rel_file): Likewise.
1938
1939 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1940 (slurp_dynamic_symtab): Same here.
1941 (disassemble_data): And here.
1942 (read_section_stabs): And here.
1943 (read_section_stabs): And here.
1944 (dump_bfd): And here.
1945 (main): And here.
1946 (objdump_sprintf): Use fatal instead of fprintf, exit.
1947 (disassemble_data): Same here.
1948
1949 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1950 (parse_coff_struct_type): Same here.
1951 (parse_coff_enum_type): And here.
1952 (parse_coff): And here.
1953 * rddbg.c (read_debugging_info): And here.
1954 * size.c (main): And here.
1955 * windres.c (format_from_name): And here.
1956 * wrstabs.c (stab_write_symbol): Here too.
1957 (write_stabs_in_sections_debugging_info): And here.
1958 (stab_int_type): And here.
1959 (stab_struct_field): And here.
1960 (stab_typdef): And here.
1961
1962 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1963 * srconv.c (main): Same here.
1964 * strings.c (main): And here.
1965 (integer_arg): And here.
1966 * sysdump.c (main): And here.
1967
1968 2000-04-06 Timothy Wall <twall@cygnus.com>
1969
1970 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1971
1972 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1973
1974 * readelf.c (decode_location_expression): Loop through multiple
1975 operations.
1976 (read_and_display_attr): Pass in length.
1977
1978 * readelf.c (read_and_display_attr): Add CU offset to references.
1979 (display_debug_info): Pass it in.
1980
1981 2000-04-06 Nick Clifton <nickc@cygnus.com>
1982
1983 * readelf.c (decode_ARM_machine_flags): New function.
1984 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1985 targets.
1986
1987 (get_machine_name): Catch EM_AVR
1988
1989 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1990
1991 * binutils.texi: Remove optional `=' from long options that have
1992 an `=' in the argument.
1993 * objcopy.1: Here too. Remove extra space on discard-all.
1994
1995 * binutils.texi (objcopy): Mention --redefine-sym.
1996 * objcopy.1: Here too.
1997 * NEWS: And here.
1998
1999 * objcopy.c (parse_flags): Split off flag names from error message
2000 gettext as they are not translated.
2001 (copy_main): Similarly split off option name for --add-section,
2002 --set-section-flags, --change-section-vma, --change-section-lma
2003 error messages.
2004 Some white space changes.
2005
2006 from Matthew Benjamin <matt@linuxbox.nu>
2007 * objcopy.c (struct redefine_node): New.
2008 (redefine_sym_list): New.
2009 (redefine_list_append): New.
2010 (lookup_sym_redefinition): New.
2011 (OPTION_REDEFINE_SYM): New.
2012 (copy_options): Add --redefine-sym option.
2013 (copy_usage): Mention it.
2014 (filter_symbols): Rename symbols on redefine_sym_list.
2015 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2016 (copy_main): Handle OPTION_REDEFINE_SYM.
2017
2018 2000-04-04 H.J. Lu <hjl@gnu.org>
2019
2020 * readelf.c (process_symbol_table): Correctly read in symbol
2021 versioning information.
2022
2023 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2024
2025 * po/binutils.pot: Regenerate.
2026
2027 * addr2line.c (usage): Restore translated part of bug string.
2028 * ar.c (usage): Likewise.
2029 * nlmconv.c (show_usage): Likewise.
2030 * nm.c (usage): Likewise.
2031 * objcopy.c (copy_usage): Likewise.
2032 (strip_usage): Likewise.
2033 * objdump.c (usage): Likewise.
2034 * readelf.c (usage): Likewise.
2035 * size.c (usage): Likewise.
2036 * strings.c (usage): Likewise.
2037 * windres.c (usage): Likewise.
2038
2039 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2040 (DEP): Quote when passing vars to sub-make. Add warning
2041 message to end.
2042 (DEP1): Rewrite for "gcc -MM".
2043 (CLEANFILES): Add DEP2.
2044 Update dependencies.
2045 * Makefile.in: Regenerate.
2046
2047 2000-04-04 H.J. Lu <hjl@gnu.org>
2048
2049 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2050 (arparse.h): Depend on arparse.c
2051 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2052
2053 2000-04-03 H.J. Lu (hjl@gnu.org)
2054
2055 * size.c (usage): Use REPORT_BUGS_TO.
2056
2057 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2058
2059 * bucomm.h: #include "bin-bugs.h"
2060 * addr2line.c (usage): Use REPORT_BUGS_TO.
2061 * ar.c (usage): Likewise.
2062 * nlmconv.c (show_usage): Likewise.
2063 * nm.c (usage): Likewise.
2064 (OPTION_TARGET): Define.
2065 (long_options): Use OPTION_TARGET rather than 200.
2066 (main): Likewise.
2067
2068 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2069 (strip_usage): Likewise.
2070 * objdump.c (usage): Likewise.
2071 * readelf.c (usage): Likewise.
2072 * strings.c (usage): Likewise.
2073 * windres.c (usage): Likewise.
2074
2075 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2076
2077 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2078
2079 2000-03-27 Nick Clifton <nickc@cygnus.com>
2080
2081 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2082 string offsets in corrupt stabs entries.
2083
2084 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2085
2086 * readelf.c: Include elf/avr.h
2087 (dump_relocations): Add EM_AVR case.
2088
2089 2000-03-09 Tim Waugh <twaugh@redhat.com>
2090
2091 * strings.1: Correct '-bytes' to '--bytes'.
2092
2093 2000-03-08 H.J. Lu <hjl@gnu.org>
2094
2095 * Makefile.am (install-exec-local): Depend on
2096 install-binPROGRAMS for parallel make.
2097 * Makefile.in: Regenerated.
2098
2099 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2100
2101 From Brad Lucier <lucier@math.purdue.edu>:
2102 * readelf.c (process_dynamic_segment): Add cast to make sure
2103 argument to %* is int.
2104
2105 2000-02-25 H.J. Lu <hjl@gnu.org>
2106
2107 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2108
2109 2000-02-24 Nick Clifton <nickc@cygnus.com>
2110
2111 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2112 * configure: Regenerate.
2113
2114 * dlltool.c: Add support for sh-pe and mips-pe targets.
2115 * rescoff.c: Add support for sh-pe and mips-pe targets.
2116
2117 2000-02-23 H.J. Lu <hjl@gnu.org>
2118
2119 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2120
2121 2000-02-22 Nick Clifton <nickc@cygnus.com>
2122
2123 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2124
2125 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2126
2127 From Brad Lucier <lucier@math.purdue.edu>:
2128 * readelf.c (process_version_sections): Add casts to make sure
2129 argument to %* is an int.
2130 (process_mips_specific): Add casts to make printf arguments match
2131 format.
2132
2133 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2134
2135 * objdump.c (dump_section_header): Change `opb' to unsigned.
2136 (find_symbol_for_address): Same here.
2137 (disassemble_data): And here. Change `addr_offset',
2138 `stop_offset', `nextstop_offset' to unsigned long.
2139 (dump_data): Change opb to unsigned.
2140
2141 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2142
2143 * resrc.c: Remove unmatched #if for cygwin.
2144
2145 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2146
2147 * binutils.texi: Document the change of flavor name from atpcs-special
2148 to special-atpcs to prevent name conflict in gdb.
2149
2150 2000-02-08 Timothy Wall <twall@redhat.com>
2151
2152 * objdump.c (show_line): Fix bug preventing printing of the very
2153 first line (line zero) of a file when interlisting source and
2154 assembly. Added option to print entire context from start of file
2155 when the first line from that file is encountered.
2156
2157 2000-02-03 Timothy Wall <twall@redhat.com>
2158
2159 * objdump.c (dump_section_header, find_symbol_for_address,
2160 show_line, disassemble_bytes, disassemble_data, dump_data):
2161 distinguish between octets and bytes.
2162
2163 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2164
2165 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2166 check to unresolved symbols.
2167 (print_symbol_info_sysv): Ditto.
2168 (print_symbol_info_posix): Ditto.
2169
2170 * binutils.texi: Document new 'V' symclass flag for nm.
2171
2172 2000-01-27 Nick Clifton <nickc@redhat.com>
2173
2174 * binutils.texi (objdump): Document new ARM specific
2175 disassembler options.
2176
2177 * objdump.c (usage): Call disassembler_usage().
2178
2179 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2180
2181 * readelf.c (get_dynamic_flags): Return buff.
2182 (process_dynamic_segment): Don't pass error strings to printf
2183 as format arg.
2184 (read_and_display_attr): Use lx and ld to print longs.
2185 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2186 before printing.
2187 Update copyright.
2188
2189 2000-01-17 Nick Clifton <nickc@cygnus.com>
2190
2191 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2192
2193 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2194
2195 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2196 false.
2197 (debug_tag_type): Here too.
2198 * ieee.c (ieee_builtin_type): And here.
2199 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2200
2201 2000-01-13 Nick Clifton <nickc@cygnus.com>
2202
2203 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2204 System/370".
2205
2206 2000-01-11 Nick Clifton <nickc@cygnus.com>
2207
2208 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2209
2210 2000-01-10 Nick Clifton <nickc@cygnus.com>
2211
2212 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2213
2214 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2215
2216 * windres.c (long_options): Add --use-temp-file and
2217 --no-use-temp-file options.
2218 (usage): Document.
2219 (main): Handle.
2220
2221 * windres.h: Update read_rc_file prototype.
2222
2223 * resrc.c (cpp_temp_file): New static variable.
2224 (istream_type): New static variable.
2225 (close_pipe): Delete function.
2226 (run_cmd): New static function.
2227 (open_input_stream): New static function.
2228 (close_input_stream): New static function.
2229 (look_for_default): Handle DOS directory separator. Use
2230 open_input_stream instead of popen.
2231 (read_rc_file): Likewise.
2232
2233 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2234 options.
2235
2236 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2237
2238 * dlltool.c (create_compat_implib): New variable.
2239 (gen_exp_file): Use.
2240 (make_one_lib_file): Use.
2241 (long_options): Add --compat-implib option.
2242 (usage): Handle.
2243 (main): Handle.
2244
2245 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2246 (main): Use. Don't look for "32" in cygwin and mingw target names.
2247
2248 2000-01-03 Nick Clifton <nickc@cygnus.com>
2249
2250 * binutils.texi: Document new, ARM specific disassembler
2251 command line switch "-M force-thumb".
2252
2253 For older changes see ChangeLog-9899
2254 \f
2255 Local Variables:
2256 mode: change-log
2257 left-margin: 8
2258 fill-column: 74
2259 version-control: never
2260 End: