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