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