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