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