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