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