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