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