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