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