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