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