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