Don't check for backslashes in file names
[binutils-gdb.git] / binutils / ChangeLog
1 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2
3 * ieee.c: Update copyright.
4 (ieee_start_compilation_unit): Don't check for backslashes
5 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
6
7 * stabs.c: Update copyright. Include "filenames.h".
8 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
9
10 2001-01-23 Jakub Jelinek <jakub@redhat.com>
11
12 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
13 sections are present before using them. Remove code duplication.
14 (process_symbol_table): Check if VERDEF or VERNEED sections are
15 present before using them.
16
17 2001-01-17 Nick Clifton <nickc@redhat.com>
18
19 * objcopy.c (copy_object): Fail if attempting to convert the
20 endianness of the input object file.
21
22 * binutils.texi: Explain that objcopy cannot convert endianness.
23
24 2001-01-16 Nick Clifton <nickc@redhat.com>
25
26 * readelf.c (string_table_length): New variable.
27 (SECTION_NAME): Catch out of range indices and missing section
28 pointers.
29 (process_section_headers): Delete useless local variable
30 string_table_offset. Set the value of string_table_length
31 after loading the string table.
32 (process_mips_specific): Use SECTION_NAME macro.
33 (process_file): Set string_table_length to 0 when it is freed.
34
35 2001-01-12 Nick Clifton <nickc@redhat.com>
36
37 * version.c (print_version): Update copyright date.
38
39 2001-01-11 Peter Targett <peter.targett@arccores.com>
40
41 * readelf.c (dump_relocations): Include selection with EM_ARC.
42 (get_machine_name) Update name to "ARC".
43
44 2001-01-09 Nick Clifton <nickc@redhat.com>
45
46 * Makefile.am: Add rule to build objdump.o from objdump.c and
47 using OBJDUMP_DEFS.
48 * Makefile.in: Regenerate.
49
50 * configure.in: Define OBJDUMP_DEFS. Default to empty.
51 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
52 -DDISASSEMBLER_NEEDS_RELOCS.
53 * configure: Regenerate.
54
55 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
56 is defined read in the relocs even if dump_reloc_info is
57 false.
58
59 2001-01-07 Philip Blundell <philb@gnu.org>
60
61 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
62 `bug-binutils'.
63 * README: Likewise.
64
65 2000-12-19 Nick Clifton <nickc@redhat.com>
66
67 * dlltool.c: Add missing support for arm-epoc-pe.
68 * configure.in: Add missing support for arm-epoc-pe.
69 * configure: Regenerate.
70
71 2000-12-15 Nick Clifton <nickc@redhat.com>
72
73 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
74 Mode parts of the x86 port.
75
76 2000-12-04 Andreas Jaeger <aj@suse.de>
77
78 * readelf.c (guess_is_rela): Add EM_X86_64.
79 (dump_relocations): Add EM_X86_64.
80 (get_machine_name): Add EM_X86_64.
81 Include "elf/x86-64.h".
82
83 2000-12-12 Nick Clifton <nickc@redhat.com>
84
85 * readelf.c: Fix formatting.
86
87 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
88
89 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
90
91 2000-12-07 Andrew Haley <aph@redhat.com>
92
93 * readelf.c (display_debug_frames): Only display columns that are
94 referenced by the frame debug info.
95
96 2000-12-05 Nick Clifton <nickc@redhat.com>
97
98 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
99
100 2000-12-04 Jason Merrill <jason@redhat.com>
101
102 * readelf.c (process_section_headers): Handle linkonce.wi sections.
103 (display_debug_section): Likewise.
104 (display_debug_info): Display CU header before bailing.
105
106 2000-12-01 Chris Demetriou <cgd@sibyte.com>
107
108 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
109 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
110 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
111
112 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
113 and E_MIPS_ARCH_64.
114
115 * readelf.c (get_machine_flags): Add case for
116 E_MIPS_MACH_SB1.
117
118 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
119
120 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
121
122 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
123
124 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
125 Change sourceware.cygnus.com to sources.redhat.com.
126 Fix typo for "amongst".
127
128 2000-11-28 Nick Clifton <nickc@redhat.com>
129
130 * strip.1 (COPYING): Mention that the GNU Free Documentation
131 License is present in the sources, but not the output, and
132 also available from the GNU website.
133 (GNU Free Documentation License): Comment out this section.
134 * strings.1: Ditto.
135 * size.1: Ditto.
136 * ranlib.1: Ditto.
137 * objdump.1: Ditto.
138 * objcopy.1: Ditto.
139 * nm.1: Ditto.
140 * nlmconv.1: Ditto.
141 * ar.1: Ditto.
142 * addr2line.1: Ditto.
143
144 2000-11-27 DJ Delorie <dj@redhat.com>
145
146 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
147 (parse_args): Support -wf option.
148 (process_section_headers): Ditto.
149 (debug_displays): Ditto.
150 (display_debug_frames): New, dump *_frame sections.
151 (frame_need_space): Support for above.
152 (frame_display_row): Ditto.
153 * binutils.texi: Document it.
154
155 2000-11-24 Nick Clifton <nickc@redhat.com>
156
157 * NEWS: Announce support for v5t, v5te and XScale.
158
159 2000-11-22 Nick Clifton <nickc@redhat.com>
160
161 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
162 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
163 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
164 (get_elf_section_flags: Add SHF_GROUP.
165 (process_section_headers): Adjust output for 32-bit binaries
166 to look nice on an 80 column terminal.
167
168 2000-11-20 H.J. Lu <hjl@gnu.org>
169
170 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
171 ELFOSABI_AIX.
172
173 2000-11-17 Richard Henderson <rth@redhat.com>
174
175 * readelf.c (display_debug_lines): Adjust last change to
176 use sizeof (external->li_length).
177
178 2000-11-17 Richard Henderson <rth@redhat.com>
179
180 * readelf.c (display_debug_lines): Fix section length check
181 and end_of_sequence computation.
182
183 2000-11-06 Nick Clifton <nickc@redhat.com>
184
185 * binutils.texi: Add GNU Free Documentation License.
186 * objcopy.1: Add GNU Free Documentation License.
187 * objdump.1: Add GNU Free Documentation License.
188 * addr2line.1: Add GNU Free Documentation License.
189 * ar.1: Add GNU Free Documentation License.
190 * nlmconv.1: Add GNU Free Documentation License.
191 * nm.1: Add GNU Free Documentation License.
192 * ranlib.1: Add GNU Free Documentation License.
193 * size.1: Add GNU Free Documentation License.
194 * strings.1: Add GNU Free Documentation License.
195 * strip.1: Add GNU Free Documentation License.
196
197 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
198
199 * objcopy.c (--srec-len=nn): New parameter to set the
200 maximum length of generated Srecords.
201 (--srec-forceS3): New parameter that restricts the generation of
202 Srecords to type S3 only.
203 * binutils.texi: Document new command line switches.
204 * objcopy.1: Docuemnt the new command line switches.
205 * NEWS: Announce the existence of the new command line switches.
206
207 2000-10-31 Nick Clifton <nickc@redhat.com>
208
209 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
210 code. Add Eric Chrisopher as maintainer of MN10300 port.
211
212 2000-10-12 Roger Sayle <roger@metaphorics.com>
213
214 * Make comma after string after icon/control optional.
215
216 2000-09-13 Anders Norlander <anorland@acc.umu.se>
217
218 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
219
220 * NEWS: Mention support for MIPS32.
221
222 2000-09-08 Nick Clifton <nickc@redhat.com>
223
224 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
225
226 2000-09-07 H.J. Lu <hjl@gnu.org>
227
228 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
229 * configure: Rebuild.
230
231 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
232
233 * configure: Rebuilt with new libtool.m4.
234
235 2000-09-05 Nick Clifton <nickc@redhat.com>
236
237 * aclocal.m4: Regenerate.
238 * config.in: Regenerate.
239 * configure: Regenerate.
240
241 2000-09-04 Todd Vierling <tv@wasabisystems.com>
242
243 * strip.1: Fix stray '\' in -o formatting.
244
245 2000-09-02 Nick Clifton <nickc@redhat.com>
246
247 * configure.in: Increase version number to 2.10.91.
248 * configure: Regenerate.
249 * aclocal.m4: Regenerate.
250 * config.in: Regenerate.
251 * po/binutils.pot: Regenerate.
252
253 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
254
255 * acinclude.m4: Include libtool and gettext macros from the
256 top level.
257 * aclocal.m4, configure: Rebuilt.
258
259 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
260
261 * resrc.c (close_input_stream): Delete extraneous logic
262
263 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
264
265 * NEWS: Mention support for CRIS.
266
267 2000-08-21 Nick Clifton <nickc@redhat.com>
268
269 * addr2line.c: Changed email address for Ulrich Lauther.
270
271 2000-08-17 Christopher C. Chimelis <chris@debian.org>
272
273 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
274
275 2000-08-17 Nick Clifton <nickc@redhat.com>
276
277 * readelf.c (display_debug_pubnames): Only issue warning
278 message once. Terminate message with a new line.
279 (display_debug_aranges): Only display version 2 debug info.
280
281 2000-08-14 Todd Vierling <tv@wasabisystems.com>
282
283 * objcopy.c (strip_main): Silently accept -d as an alias for -g
284 for compatability with old BSD systems.
285
286 2000-08-14 Jason Eckhardt <jle@cygnus.com>
287
288 * NEWS: Mention i860 support.
289
290 2000-08-11 Carlo Wood <carlo@alinoe.com>
291
292 * addr2line.c (main): Add const to char *.
293
294 2000-08-11 Geoff Keating <geoffk@cygnus.com>
295
296 * ar.c (main): Don't crash if called with no arguments
297 or only '-X32_64' as an argument.
298
299 2000-08-08 DJ Delorie <dj@redhat.com>
300
301 * resrc.c: use "gcc -xc" instead of -xc-header
302
303 2000-08-05 Jason Eckhardt <jle@cygnus.com>
304
305 * readelf.c (elf/i860.h): Include.
306 (dump_relocations): Add recognition of i860 architecture.
307 (guess_is_rela): Add recognition of i860 architecture.
308
309 2000-08-03 Nick Clifton <nickc@cygnus.com>
310
311 * MAINTAINERS: Add information about CGEN maintainers.
312
313 2000-07-26 Geoff Keating <geoffk@cygnus.com>
314
315 * nm.c (main): Ignore '-X32_64' as an option.
316 * ar.c (main): Likewise.
317 * binutils.texi (nm): Document new option.
318 (ar): Likewise.
319
320 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
321
322 * rdcoff.c (external_coff_symbol_p): K&R-ise.
323
324 2000-07-20 H.J. Lu <hjl@gnu.org>
325
326 * binutils/binutils.texi: Put back "@end table" deleted by
327 accident.
328
329 2000-07-05 Kenneth Block <krblock@computer.org>
330
331 * binutils/nm.c: Add optional style to demangle switch.
332 * binutils/objdump.c: Add optional style to demangle switch.
333 * binutils/addr2line.c: Add optional style to demangle switch.
334 * binutils/binutils.texi: Document optional style to demangle
335 switch.
336
337 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
338
339 * MAINTAINERS: Add self as CRIS port maintainer.
340 * readelf.c: Include elf/cris.h.
341 (guess_is_rela): Handle EM_CRIS.
342 (dump_relocations): Ditto.
343 (get_machine_name): Ditto.
344 * Makefile.am: Rebuild dependencies.
345 * Makefile.in: Regenerate.
346 * po/binutils.pot: Regenerate.
347
348 2000-07-19 H.J. Lu <hjl@gnu.org>
349
350 * readelf.c (get_dynamic_type): Change "AUXILARY" to
351 "AUXILIARY".
352 (process_dynamic_segment): Print out strings for DT_CONFIG,
353 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
354
355 2000-07-19 Mark Kettenis <kettenis@gnu.org>
356
357 * nm.c (usage): Change output of `nm --help' to include a
358 description of the purpose of the program and a detailed
359 description of the accepted options.
360
361 2000-07-19 H.J. Lu <hjl@gnu.org>
362
363 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
364 to DF_1_NODEFLIB.
365
366 2000-07-19 H.J. Lu <hjl@gnu.org>
367
368 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
369
370 2000-07-19 H.J. Lu <hjl@gnu.org>
371
372 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
373 DT_FEATURE.
374 (process_dynamic_segment): Likewise.
375
376 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
377 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
378 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
379 DF_1_NODUMP and DF_1_CONLFAT.
380
381 2000-07-18 Nick Clifton <nickc@cygnus.com>
382
383 * binutils.texi (readelf): Fix spelling typo.
384
385 2000-07-11 Mark Kettenis <kettenis@gnu.org>
386
387 * objdump.c (usage): Make output of `objdump --help' more
388 consistent with the rest of the GNU world. Add a line describing
389 the purpose of the program.
390
391 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
392
393 * stabs.c (parse_stab_range_type): Cast to proper type to fix
394 warning.
395
396 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
397
398 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
399 to fix warnings.
400 (process_symbol_table): Ditto.
401 (procesS_extended_line_op): Ditto.
402 (display_debug_lines): Ditto.
403 (display_debug_pubnames): Ditto.
404 (read_and_display_attr): Ditto.
405
406 2000-07-09 Nick Clifton <nickc@cygnus.com>
407
408 * MAINTAINERS: Add several more port specific maintainers.
409
410 2000-07-05 Nick Clifton <nickc@cygnus.com>
411
412 * MAINTAINERS: Add blanket write privs for Michael Meissner.
413
414 2000-06-05 DJ Delorie <dj@redhat.com>
415
416 * MAINTAINERS: New.
417
418 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
419
420 * dllwrap.c: Changed mistaken dyn_string_append() calls
421 to dyn_string_append_cstr().
422
423 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
424
425 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
426 struct debug_type stores size in bytes.
427
428 2000-07-01 Alan Modra <alan@linuxcare.com.au>
429
430 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
431 (CLEANFILES): Add DEPA.
432 * Makefile.in: Regenerate.
433
434 2000-06-27 Alan Modra <alan@linuxcare.com.au>
435
436 * ar.c: Revert incorrect 2000-06-25 patch.
437 * bucomm.c: Likewise.
438
439 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
440
441 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
442 (external_coff_symbol_p): New function.
443 (parse_coff): Use it.
444
445 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
446
447 * ar.c (normalize): Advance past both characters in a DOS based
448 <letter>: filepath prefix.
449 (main): Likewise.
450 * bucomm.c (make_tempname): Likewise.
451
452 2000-06-24 Nick Clifton <nickc@cygnus.com>
453
454 * objdump.c (usage): Fix description of --stabs switch.
455
456 2000-06-22 Alan Modra <alan@linuxcare.com.au>
457
458 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
459 find one.
460 * Makefile.in: Regenerate.
461
462 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
463
464 * ar.c (normalize): Correct pointer comparison when checking for
465 backslashes.
466 (main): Likewise.
467 * bucomm.c (make_tempname): Likewise.
468
469 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
470 and search for backslashes in the original pathname.
471 (ieee_add_bb11): Likewise.
472
473 2000-06-18 Nick Clifton <nickc@redhat.com>
474
475 * ar.c (print_contents): Improve verbose message.
476
477 2000-06-15 H.J. Lu <hjl@gnu.org>
478
479 * dyn-string.c: Removed. Not needed with dyn-string.c in
480 libiberty.
481 * dyn-string.h: Likewise.
482
483 * Makefile.am: Remove references to dyn-string.c and
484 dyn-string.h. Rebuild dependency.
485 * Makefile.in: Rebuild.
486
487 2000-06-15 H.J. Lu <hjl@gnu.org>
488
489 * binutils.texi: Put a warning on copying relocatable object
490 files between two different formats.
491
492 2000-06-13 DJ Delorie <dj@cygnus.com>
493
494 * rcparse.y (control): ICON controls take an id as the first
495 parameter, not an optional string. Also, call new convenience
496 function that takes res_id's.
497 * resrc.c (define_control): missing text means zero-length string,
498 not zero ID.
499 (define_icon_control): New.
500 * windres.h: declare define_icon_control.
501
502 2000-06-13 H.J. Lu <hjl@gnu.org>
503
504 * configure: Regenerate.
505
506 2000-06-08 David O'Brien <obrien@FreeBSD.org>
507
508 * configure.in (VERSION): Update to show this is the CVS mainline.
509
510 2000-06-02 David O'Brien <obrien@FreeBSD.org>
511
512 * strings.c (isgraphic): Interpret <TAB> as a printable character,
513 analogous to <SPACE>.
514
515 2000-05-30 Alan Modra <alan@linuxcare.com.au>
516
517 * objdump.c (display_target_list): Use bfd_close_all_done, not
518 bfd_close to fix crash caused by 2000-05-24 change.
519
520 2000-05-25 DJ Delorie <dj@cygnus.com>
521
522 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
523
524 2000-05-26 Alan Modra <alan@linuxcare.com.au>
525
526 * Makefile.am: Update dependencies with "make dep-am"
527 * Makefile.in: Regenerate.
528
529 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
530
531 * ar.c: Include filenames.h.
532 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
533 and drive letters in file names.
534 (main): Support backslashes and drive letters in argv[0]. Drop
535 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
536 FILENAME_CMP instead of strcmp to compare file names.
537 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
538 DJGPP v2.
539 (do_quick_append) [__GO32__]: Ditto.
540 (get_pos_bfd, delete_members, move_members, replace_members):
541 Compare file names with FILENAME_CMP.
542
543 * bucomm.c: Include filenames.h.
544 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
545 forward/backward slashes and drive letters in file names.
546
547 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
548 mixed forward/backward slashes and drive letters in file names.
549
550 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
551 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
552 mode.
553
554 * objcopy.c: Include filenames.h.
555 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
556 before comparing to "strip".
557 Use FILENAME_CMP to compare file names.
558
559 * arsup.c: Include filenames.h.
560 (map_over_list, ar_delete, ar_replace, ar_extract): Use
561 FILENAME_CMP to compare file names.
562 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
563 the temporary file name.
564
565 * configure.in: Check for setmode.
566 * configure: Regenerate.
567
568 2000-05-24 Alan Modra <alan@linuxcare.com.au>
569
570 * objdump.c (display_target_list): Close the bfd.
571 (display_info_table): Likewise.
572
573 2000-05-14 H.J. Lu (hjl@gnu.org)
574
575 * objcopy.c (filter_symbols): Don't strip global symbols in
576 relocatable object files.
577
578 2000-05-14 Alan Modra <alan@linuxcare.com.au>
579
580 * size.c (usage): Associate short options with corresponding long
581 option to give a clue as to their function.
582
583 2000-05-14 Philippe De Muyter <phdm@macqel.be>
584
585 * size.c (main): Accept and ignore `-f' option.
586
587 2000-05-13 Alan Modra <alan@linuxcare.com.au>
588
589 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
590 bindtextdomain): Replace defines with those from intl/libgettext.h
591 to quieten gcc warnings.
592
593 2000-05-12 H.J. Lu <hjl@gnu.org>
594
595 * nlmconv.c (temp_filename): Removed.
596
597 * nlmconv.c (link_inputs): Use make_temp_file () instead of
598 choose_temp_base ().
599 * objdump.c (display_target_list): Likewise.
600 (display_info_table): Likewise.
601
602 2000-05-08 Alan Modra <alan@linuxcare.com.au>
603
604 * objcopy.c (setup_section): Add const and gettext calls for err.
605
606 2000-05-02 H.J. Lu <hjl@gnu.org>
607
608 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
609 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
610 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
611 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
612 and ELFOSABI_OPENBSD.
613
614 2000-05-02 Kazu Hirata <kazu@hxi.com>
615
616 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
617 * srconv.c: Likewise.
618 * sysdump.c: Likewise.
619
620 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
621
622 * readelf.c (guess_is_rela): AVR uses RELA relocations.
623 (get_machine_name): machine name for EM_AVR added.
624
625 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
626 David Mosberger <davidm@hpl.hp.com>
627
628 * Makefile.am (readelf.o): Add elf/ia64.h.
629 * Makefile.in: Rebuild.
630 * readelf.c: Include elf/ia64.h.
631 (guess_is_rela, dump_relocations): Handle EM_IA_64.
632
633 2000-04-17 Timothy Wall <twall@cygnus.com>
634
635 * objdump.c (disassemble_data): Set octets per byte *after*
636 resolving arch/mach for binary files.
637
638 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
639
640 * arlex.l: Add directives to increase lex buffer size.
641
642 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
643 already included by bucomm.h.
644
645 2000-04-10 Philippe De Muyter <phdm@macqel.be>
646
647 * readelf (dynamic_segment_mips_val): Call `sprintf', not
648 `strftime' since strftime is not available on all systems.
649 (process_mips_specific): Ditto.
650
651 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
652
653 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
654 --enable-build-warnings option.
655 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
656 * Makefile.in, configure: Re-generate.
657
658 2000-04-06 Alan Modra <alan@linuxcare.com.au>
659
660 * addr2line.c: Update copyright.
661 * objcopy.1: Likewise, and title.
662 * strings.1: Likewise.
663
664 * version.c (print_version): Add 2000.
665
666 * rddbg.c (read_section_stabs_debugging_info): Don't use
667 bfd_size_type for strx to avoid printf problems if BFD64.
668
669 * bucomm.c: (report): Remove `static'.
670 Move inclusion of stdarg.h/vararg.h from here.
671 * bucomm.h: To here.
672 (CONST): Change all occurences to const.
673 (report): Declare it.
674 (bfd_fatal): Add ATTRIBUTE_NORETURN.
675 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
676 (non_fatal): Add ATTRIBUTE_PRINTF_1.
677
678 * ar.c (main): Use fatal or non_fatal instead of fprintf.
679 Correct a typo in an error message.
680 (do_quick_append): Use non_fatal instead of fprintf.
681 (move_members): Use fatal instead of fprintf, exit.
682 * coffdump.c (main): Same here.
683
684 * dlltool.c (display): Delete.
685 (warn): Delete.
686 (inform): Use `report' instead of `display'.
687 (rvaafter): Remove trailing \n from fatal error msg.
688 (rvabefore): Ditto.
689 (asm_prefix): Ditto.
690 (yyerror): Replace `warn' with `non_fatal', and remove \n.
691 (def_name): Likewise.
692 (run): Likewise.
693 (scan_all_symbols): Likewise.
694 (gen_lib_file): Likewise.
695 (def_library): Likewise. Remove extra program_name too.
696 (run): Remove \n from inform strings.
697 (scan_drectve_symbols): Likewise.
698 (add_excludes): Likewise.
699 (scan_open_obj_file): Likewise.
700 (gen_exp_file): Likewise.
701 (gen_lib_file): Likewise.
702 (process_duplicates): Likewise.
703
704 * Makefile.am (dllwrap_SOURCES): Add version.c.
705 * dllwrap.c (program_version): Delete.
706 (print_version): Delete.
707 (display): Always print trailing \n.
708 (warn): New.
709 (delete_temp_files): Use warn instead of fprintf. Use gettext.
710 (run): Here too.
711 (main): And here.
712 (usage): gettext'ify.
713 (long_options): Add missing initialisers.
714
715 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
716 (select_output_format): Likewise.
717 (powerpc_mangle_relocs): Likewise.
718 (link_inputs): Likewise.
719
720 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
721 (set_output_format): Likewise.
722 (main): Use non_fatal instead of fprintf.
723 (display_rel_file): Likewise.
724
725 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
726 (slurp_dynamic_symtab): Same here.
727 (disassemble_data): And here.
728 (read_section_stabs): And here.
729 (read_section_stabs): And here.
730 (dump_bfd): And here.
731 (main): And here.
732 (objdump_sprintf): Use fatal instead of fprintf, exit.
733 (disassemble_data): Same here.
734
735 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
736 (parse_coff_struct_type): Same here.
737 (parse_coff_enum_type): And here.
738 (parse_coff): And here.
739 * rddbg.c (read_debugging_info): And here.
740 * size.c (main): And here.
741 * windres.c (format_from_name): And here.
742 * wrstabs.c (stab_write_symbol): Here too.
743 (write_stabs_in_sections_debugging_info): And here.
744 (stab_int_type): And here.
745 (stab_struct_field): And here.
746 (stab_typdef): And here.
747
748 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
749 * srconv.c (main): Same here.
750 * strings.c (main): And here.
751 (integer_arg): And here.
752 * sysdump.c (main): And here.
753
754 2000-04-06 Timothy Wall <twall@cygnus.com>
755
756 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
757
758 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
759
760 * readelf.c (decode_location_expression): Loop through multiple
761 operations.
762 (read_and_display_attr): Pass in length.
763
764 * readelf.c (read_and_display_attr): Add CU offset to references.
765 (display_debug_info): Pass it in.
766
767 2000-04-06 Nick Clifton <nickc@cygnus.com>
768
769 * readelf.c (decode_ARM_machine_flags): New function.
770 (get_machine_flags): Call decode_ARM_machine_flags for ARM
771 targets.
772
773 (get_machine_name): Catch EM_AVR
774
775 2000-04-05 Alan Modra <alan@linuxcare.com.au>
776
777 * binutils.texi: Remove optional `=' from long options that have
778 an `=' in the argument.
779 * objcopy.1: Here too. Remove extra space on discard-all.
780
781 * binutils.texi (objcopy): Mention --redefine-sym.
782 * objcopy.1: Here too.
783 * NEWS: And here.
784
785 * objcopy.c (parse_flags): Split off flag names from error message
786 gettext as they are not translated.
787 (copy_main): Similarly split off option name for --add-section,
788 --set-section-flags, --change-section-vma, --change-section-lma
789 error messages.
790 Some white space changes.
791
792 from Matthew Benjamin <matt@linuxbox.nu>
793 * objcopy.c (struct redefine_node): New.
794 (redefine_sym_list): New.
795 (redefine_list_append): New.
796 (lookup_sym_redefinition): New.
797 (OPTION_REDEFINE_SYM): New.
798 (copy_options): Add --redefine-sym option.
799 (copy_usage): Mention it.
800 (filter_symbols): Rename symbols on redefine_sym_list.
801 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
802 (copy_main): Handle OPTION_REDEFINE_SYM.
803
804 2000-04-04 H.J. Lu <hjl@gnu.org>
805
806 * readelf.c (process_symbol_table): Correctly read in symbol
807 versioning information.
808
809 2000-04-04 Alan Modra <alan@linuxcare.com.au>
810
811 * po/binutils.pot: Regenerate.
812
813 * addr2line.c (usage): Restore translated part of bug string.
814 * ar.c (usage): Likewise.
815 * nlmconv.c (show_usage): Likewise.
816 * nm.c (usage): Likewise.
817 * objcopy.c (copy_usage): Likewise.
818 (strip_usage): Likewise.
819 * objdump.c (usage): Likewise.
820 * readelf.c (usage): Likewise.
821 * size.c (usage): Likewise.
822 * strings.c (usage): Likewise.
823 * windres.c (usage): Likewise.
824
825 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
826 (DEP): Quote when passing vars to sub-make. Add warning
827 message to end.
828 (DEP1): Rewrite for "gcc -MM".
829 (CLEANFILES): Add DEP2.
830 Update dependencies.
831 * Makefile.in: Regenerate.
832
833 2000-04-04 H.J. Lu <hjl@gnu.org>
834
835 * Makefile.am (GENERATED_HFILES): Add rcparse.h
836 (arparse.h): Depend on arparse.c
837 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
838
839 2000-04-03 H.J. Lu (hjl@gnu.org)
840
841 * size.c (usage): Use REPORT_BUGS_TO.
842
843 2000-04-03 Alan Modra <alan@linuxcare.com.au>
844
845 * bucomm.h: #include "bin-bugs.h"
846 * addr2line.c (usage): Use REPORT_BUGS_TO.
847 * ar.c (usage): Likewise.
848 * nlmconv.c (show_usage): Likewise.
849 * nm.c (usage): Likewise.
850 (OPTION_TARGET): Define.
851 (long_options): Use OPTION_TARGET rather than 200.
852 (main): Likewise.
853
854 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
855 (strip_usage): Likewise.
856 * objdump.c (usage): Likewise.
857 * readelf.c (usage): Likewise.
858 * strings.c (usage): Likewise.
859 * windres.c (usage): Likewise.
860
861 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
862
863 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
864
865 2000-03-27 Nick Clifton <nickc@cygnus.com>
866
867 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
868 string offsets in corrupt stabs entries.
869
870 2000-03-27 Alan Modra <alan@linuxcare.com.au>
871
872 * readelf.c: Include elf/avr.h
873 (dump_relocations): Add EM_AVR case.
874
875 2000-03-09 Tim Waugh <twaugh@redhat.com>
876
877 * strings.1: Correct '-bytes' to '--bytes'.
878
879 2000-03-08 H.J. Lu <hjl@gnu.org>
880
881 * Makefile.am (install-exec-local): Depend on
882 install-binPROGRAMS for parallel make.
883 * Makefile.in: Regenerated.
884
885 2000-02-27 Ian Lance Taylor <ian@zembu.com>
886
887 From Brad Lucier <lucier@math.purdue.edu>:
888 * readelf.c (process_dynamic_segment): Add cast to make sure
889 argument to %* is int.
890
891 2000-02-25 H.J. Lu <hjl@gnu.org>
892
893 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
894
895 2000-02-24 Nick Clifton <nickc@cygnus.com>
896
897 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
898 * configure: Regenerate.
899
900 * dlltoolc.: Add support for sh-pe and mips-pe targets.
901 * rescoff.c: Add support for sh-pe and mips-pe targets.
902
903 2000-02-23 H.J. Lu <hjl@gnu.org>
904
905 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
906
907 2000-02-22 Nick Clifton <nickc@cygnus.com>
908
909 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
910
911 2000-02-22 Ian Lance Taylor <ian@zembu.com>
912
913 From Brad Lucier <lucier@math.purdue.edu>:
914 * readelf.c (process_version_sections): Add casts to make sure
915 argument to %* is an int.
916 (process_mips_specific): Add casts to make printf arguments match
917 format.
918
919 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
920
921 * objdump.c (dump_section_header): Change `opb' to unsigned.
922 (find_symbol_for_address): Same here.
923 (disassemble_data): And here. Change `addr_offset',
924 `stop_offset', `nextstop_offset' to unsigned long.
925 (dump_data): Change opb to unsigned.
926
927 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
928
929 * resrc.c: Remove unmatched #if for cygwin.
930
931 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
932
933 * binutils.texi: Document the change of flavor name from atpcs-special
934 to special-atpcs to prevent name conflict in gdb.
935
936 2000-02-08 Timothy Wall <twall@redhat.com>
937
938 * objdump.c (show_line): Fix bug preventing printing of the very
939 first line (line zero) of a file when interlisting source and
940 assembly. Added option to print entire context from start of file
941 when the first line from that file is encountered.
942
943 2000-02-03 Timothy Wall <twall@redhat.com>
944
945 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
946 show_line, disassemble_bytes, disassemble_data, dump_data):
947 distinguish between octets and bytes.
948
949 2000-01-27 Thomas de Lellis <tdel@windriver.com>
950
951 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
952 check to unresolved symbols.
953 (print_symbol_info_sysv): Ditto.
954 (print_symbol_info_posix): Ditto.
955
956 * binutils.texi: Document new 'V' symclass flag for nm.
957
958 2000-01-27 Nick Clifton <nickc@redhat.com>
959
960 * binutils.texi (objdump): Document new ARM specific
961 disassembler options.
962
963 * objdump.c (usage): Call disassembler_usage().
964
965 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
966
967 * readelf.c (get_dynamic_flags): Return buff.
968 (process_dynamic_segment): Don't pass error strings to printf
969 as format arg.
970 (read_and_display_attr): Use lx and ld to print longs.
971 (process_corefile_note_segment): Cast bfd_vma to unsigned long
972 before printing.
973 Update copyright.
974
975 2000-01-17 Nick Clifton <nickc@cygnus.com>
976
977 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
978
979 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
980
981 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
982 false.
983 (debug_tag_type): Here too.
984 * ieee.c (ieee_builtin_type): And here.
985 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
986
987 2000-01-13 Nick Clifton <nickc@cygnus.com>
988
989 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
990 System/370".
991
992 2000-01-11 Nick Clifton <nickc@cygnus.com>
993
994 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
995
996 2000-01-10 Nick Clifton <nickc@cygnus.com>
997
998 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
999
1000 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1001
1002 * windres.c (long_options): Add --use-temp-file and
1003 --no-use-temp-file options.
1004 (usage): Document.
1005 (main): Handle.
1006
1007 * windres.h: Update read_rc_file prototype.
1008
1009 * resrc.c (cpp_temp_file): New static variable.
1010 (istream_type): New static variable.
1011 (close_pipe): Delete function.
1012 (run_cmd): New static function.
1013 (open_input_stream): New static function.
1014 (close_input_stream): New static function.
1015 (look_for_default): Handle DOS directory separator. Use
1016 open_input_stream instead of popen.
1017 (read_rc_file): Likewise.
1018
1019 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1020 options.
1021
1022 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1023
1024 * dlltool.c (create_compat_implib): New variable.
1025 (gen_exp_file): Use.
1026 (make_one_lib_file): Use.
1027 (long_options): Add --compat-implib option.
1028 (usage): Handle.
1029 (main): Handle.
1030
1031 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1032 (main): Use. Don't look for "32" in cygwin and mingw target names.
1033
1034 2000-01-03 Nick Clifton <nickc@cygnus.com>
1035
1036 * binutils.texi: Document new, ARM specific disassembler
1037 command line switch "-M force-thumb".
1038
1039 For older changes see ChangeLog-9899
1040 \f
1041 Local Variables:
1042 mode: change-log
1043 left-margin: 8
1044 fill-column: 74
1045 version-control: never
1046 End: