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