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