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