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