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