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