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