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