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