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