]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
Make it clear what should be done with patches to the top level configure files
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2003-09-04 Nick Clifton <nickc@redhat.com>
2
3 * MAINTAINERS: Make it clear what should be done with patches to
4 the top level configure files (other than config.guess and
5 config.sub). Add binutils@sources.redhat.com as an address to
6 which patches can be sent.
7
8 2003-09-04 Nick Clifton <nickc@redhat.com>
9
10 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
11
12 2003-09-03 Andrew Cagney <cagney@redhat.com>
13
14 * objdump.c: Refer to init_disassemble_info in comments.
15 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
16 init_disassemble_info.
17
18 2003-09-03 Nick Clifton <nickc@redhat.com>
19
20 * objdump.c (struct objdump_disasm_info): Add new fields
21 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
22 (process_section_p): New function: Returns TRUE if a section
23 can be dumped.
24 (disassemble_section): New function: Contains the body of
25 disassemble_data(), but just for one section.
26 (disassemble_data): Use bfd_map_over_sections to walk section
27 chain.
28 (find_stabs_section): New function: Find a stabs containing
29 section and then dump it.
30 (dump_stabs_section): New function: Use bfd_map_over_sections
31 to find the section to dump.
32 (dump_stabs): Use dump_stabs_section.
33 (dump_section): New function: Display the contents of a
34 section.
35 (dump_data): Use bfd_map_over_sections to display section
36 contents.
37 (dump_relocs_in_section): Display the relocs in a given section.
38 (dump_relocs): Use bfd_map_over_sections to display relocs.
39 (adjust_addresses): New function: Adjust the vma and lma of
40 sections.
41 (dump_bfd): Use bfd_map_over_sections.
42 * doc/binutils.texi: Document the "objdump -s" (no longer)
43 dumps empty sections.
44
45 2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
46
47 * objdump.c: Improve comments/documentation.
48 dump_data: Eliminate duplicate function calls to bfd_section_size.
49
50 2003-09-02 Alan Modra <amodra@bigpond.net.au>
51
52 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
53
54 2003-08-21 Nick Clifton <nickc@redhat.com>
55
56 * po/tr.po: Updated Turkish translation.
57
58 2003-08-14 Alan Modra <amodra@bigpond.net.au>
59
60 * dep-in.sed: Remove libintl.h.
61 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
62 Run "make dep-am".
63 * Makefile.in: Regenerate.
64
65 2003-08-11 Ian Lance Taylor <ian@airs.com>
66
67 * readelf.c (process_archive): Fix error handling. Remove memory
68 leak.
69
70 * readelf.c: Add ability to read archives.
71 (archive_file_offset): New variable.
72 (archive_file_size): New variable.
73 (get_data): Include archive_file_offset in file offset
74 calculation when fseeking.
75 (process_program_headers): Likewise.
76 (process_symbol_table): Likewise.
77 (process_dynamic_segment): Handle computation of end of file
78 position when the file is in an archive.
79 (process_object): New function. Contains the body of
80 process_file().
81 (process_archive): New function. Call process_object on each
82 member of an archive.
83 (process_file): Detect archives and handle appropriately.
84 * Makefile.am: Add dependency on aout/ar.h for readelf.c
85 * Makefile.in: Regenerate.
86 * NEWS: Document readelf's new ability.
87 * doc/binutils: Alter text to say that readelf supports archives
88 and 64-bit ELF files.
89
90 2003-08-08 Nick Clifton <nickc@redhat.com>
91
92 * po/fr.po: Updated French translation.
93
94 2003-08-05 Alan Modra <amodra@bigpond.net.au>
95
96 * objcopy.c: Remove unnecessary prototypes and casts.
97 * objdump.c: Remove unnecessary casts.
98 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
99 (get_osabi_name): Move so we don't need a forward declaration.
100
101 2003-08-04 Bradley Harrington <bharring@us.ibm.com>
102 Alan Modra <amodra@bigpond.net.au>
103
104 * objdump.c (include_paths, include_path_count): New vars.
105 (usage): Describe --include.
106 (long_options): Add "include".
107 (add_include_path): New function.
108 (struct print_file_list): Make filename const. Add modname.
109 (try_print_file_open, update_source_path): New functions.
110 (show_line): Use them.
111 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
112
113 2003-07-30 Alan Modra <amodra@bigpond.net.au>
114
115 * objdump.c: Remove unnecessary prototypes.
116 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
117 code, and print relocs when dump_dynamic_reloc_info.
118 (disassemble_data): Read and handle dynamic relocs. Correct reloc
119 skip code. Formatting.
120 (dump_bfd): Don't dump dynamic relocs when disassembling.
121
122 2003-07-29 Ben Elliston <bje@wasabisystems.com>
123
124 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
125 maintenance defaults to the blanket write privilege maintainers.
126
127 2003-07-29 Michael Meissner <gnu@the-meissners.org>
128
129 * MAINTAINERS: Updated my email address.
130
131 2003-07-29 Nick Clifton <nickc@redhat.com>
132
133 * objdump.c: Update to ISO C.
134
135 2003-07-24 Nick Clifton <nickc@redhat.com>
136
137 * objdump.c (disassemble_data): Do not ignore sections without the
138 LOAD flag when disassemble_all is true. Only print a message
139 about disassembling a section if it contains some data.
140
141 * po/fr.po: Updated French translation.
142
143 2003-07-23 Nick Clifton <nickc@redhat.com>
144
145 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
146 left in. Some formatting tidy ups.
147
148 2003-07-22 Salvador Eduardo Tropea <set@computer.org>
149
150 * objdump.c: New command line option --debugging-tags.
151 * doc/binutils.texi: Document new command line option.
152 * prdbg.c: Code to print the debug info as tags compatible
153 with ctags.
154 * budbg.h: Adjust prototype.
155 * NEWS: Mention new switch
156
157 2003-07-18 Nick Clifton <nickc@redhat.com>
158
159 * objdump.c (main) :Accept multiple -M switch.
160 * doc/binutils.texi: Document that multiple -M switches are
161 accepted and that a single -M switch can contain comma
162 separated options.
163
164 2003-07-17 Nick Clifton <nickc@redhat.com>
165
166 * objdump.c (main): Issue a warning message if multiple -M
167 switches are used.
168
169 * doc/binutils.texi (objdump): Update documentation about -M
170 option.
171
172 2003-07-17 Nick Clifton <nickc@redhat.com>
173
174 * po/es.po: New Spanish translation.
175
176 2003-07-11 Alan Modra <amodra@bigpond.net.au>
177
178 * po/binutils.pot: Regenerate.
179
180 2003-07-05 Christopher Faylor <cgf@redhat.com>
181
182 * dlltool.c (prefix_encode): Use a fixed length for alpha.
183
184 2003-07-04 Christopher Faylor <cgf@redhat.com>
185
186 * dlltool.c (prefix_encode): New function. Encode temp file prefix
187 from pid.
188 (dlltmp): Pass address of pointer being alloced or suffer neverending
189 mallocs.
190 (make_one_lib_file): Allocate enough space for new longer stub names.
191 (gen_lib_file): Ditto.
192 (main): Generate the temp file prefix from the pid if prefix was not
193 specified on the command line.
194
195 2003-07-04 Nick Clifton <nickc@redhat.com>
196
197 * readelf.c (get_data): Print (unsigned) hex values for size and
198 offset in error messages.
199 (process_section_headers): If the string table could not be
200 allocated, do not continue.
201
202 2003-07-01 Jakub Jelinek <jakub@redhat.com>
203
204 * readelf.c (dynamic_segment_ia64_val): Print address and newline
205 for sections by default. Comment fix.
206
207 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
208
209 * rcparse.y (res_text_field): New res_id variable.
210 (res_null_text): New static const struct res_id object,
211 with empty unicode name field.
212 (control): Pop parsing of optresidc up one level. Set
213 res_text_field to $2 except for controls which do not accept
214 a text field. Set res_text_field to res_null_text for the
215 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
216 (control_params): Adjust to use res_text_field rather
217 than optresidc.
218 (COMBOBOX): Add comment about discrepency between documented
219 vs. observed default style.
220 * resrc.c (define_control): Make first param const.
221 * windres.h (define_control): Adjust prototype.
222
223 2003-06-27 Nick Clifton <nickc@redhat.com>
224
225 * objcopy.c (copy_object): Replace call to
226 bfd_create_gnu_debuglink_section with seperate calls to
227 bfd_add_gnu_debuglink_section and
228 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
229 symbol tables.
230
231 2003-06-26 Roland McGrath <roland@redhat.com>
232
233 * readelf.c (loadaddr): Variable removed.
234 (dynamic_info, version_info): Fix type long -> bfd_vma.
235 (program_headers): New variable.
236 (get_program_headers): New function, broken out of
237 process_program_headers.
238 (process_program_headers): Call it. Don't set `loadaddr'.
239 (slurp_ia64_unwind_table): Use get_program_headers.
240 (process_corefile_note_segments): Likewise.
241 (offset_from_vma): New function.
242 (process_relocs, process_dynamic_segment): Call that instead of
243 subtracting `loadaddr'.
244 (process_version_sections, process_symbol_table): Likewise.
245 (process_mips_specific): Likewise.
246
247 2003-06-26 Nick Clifton <nickc@redhat.com>
248
249 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
250 (OPTION_ONLY_KEEP_DEBUG): New.
251 (strip_options): Add --only-keep-debug.
252 (copy_options): Likewise.
253 (is_strip_section): Invert return value if STRIP_NONDEBUG is
254 active.
255 (copy_object): Do not copy private data when STRIP_NONDEBUG is
256 active.
257 (setup_section): Likewise.
258 (strip_main): Handle --only-keep-debug.
259 (copy_main): Likewise.
260 * NEWS: Mention new switch
261 * doc/binutils.texi: Document new switch.
262
263 2003-06-25 Alan Modra <amodra@bigpond.net.au>
264
265 * NEWS: Correct spelling of "relocatable".
266 * objdump.c: Likewise.
267 * sysroff.info: Likewise.
268
269 2003-06-19 Nick Clifton <nickc@redhat.com>
270
271 * readelf.c (print_vma): When printing DEC_5 values, if the
272 number is bigger than 99999 switch to using hexadecimal
273 notation.
274
275 2003-06-11 Nick Clifton <nickc@redhat.com>
276
277 * objcopy.c (gnu_debuglink_filename): New variable.
278 (OPTION_ADD_GNU_DEBUGLINK): New switch
279 (copy_options): Describe --add-gnu-debuglink switch.
280 Mention that --strip-debug removes sections as well.
281 (is_strip_section): Process the sections removed and kept
282 lists before checking for debugging sections.
283 (add_redefine_syms_file): Make function static.
284 (copy_object): Use is_strip_section.
285 Check to see if a .gnu_debuglink section should be added. If
286 so, call bfd_add_gnu_debuglink.
287 (setup_section): Use is_strip_section.
288 (copy_section): Use is_strip_section.
289 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
290 * NEWS: Mention new objcopy switch.
291 * doc/binutils.texi: Document new switch.
292
293 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
294
295 * po/Make-in (DESTDIR): New.
296 (install-data-yes): Support $(DESTDIR).
297 (uninstall): Likewise.
298
299 2003-06-11 Alan Modra <amodra@bigpond.net.au>
300
301 * Makefile.in: Regenerate.
302
303 2003-05-23 Jakub Jelinek <jakub@redhat.com>
304
305 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
306
307 2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
308
309 * NEWS: Document the new BSD/POSIX single-character mapping for
310 .comment/.note sections.
311
312 2003-06-02 Chris Demetriou <cgd@broadcom.com>
313 Jason Thorpe <thorpej@wasabisystems.com>
314
315 * objcopy.c (redefine_list_append): Add an argument that
316 indicates the context from which this function is being
317 called. Change all callers.
318 (copy_options): Add a new option, --redefine-syms.
319 (copy_usage): Document new option.
320 (copy_main): Handle the --redefine-syms option.
321 * doc/binutils.text (objcopy): Document new option.
322
323 2003-05-31 Richard Henderson <rth@redhat.com>
324
325 * readelf.c (byte_get_signed): New.
326 (get_encoded_value): New.
327 (display_debug_frames): Use it. Always pre-process opcodes.
328
329 2003-05-20 Michal Ludvig <mludvig@suse.cz>
330
331 * readelf.c (display_debug_frames): Print both registers
332 for DW_CFA_register.
333
334 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
335
336 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
337 i[3-7]86-*-interix.
338 * configure.in: Regenerate.
339
340 2003-05-13 Michael Eager <eager@mvista.com>
341
342 * objcopy.c: Treat identical src/dst file names as if only one
343 entered. One Windows creating an output file of the same name as
344 the input file will delete the input file before it is read.
345
346 2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
347
348 * debug.c (debug_get_real_type): Extend test for circular debug
349 references.
350
351 2003-05-12 Nick Clifton <nickc@redhat.com>
352
353 * configure.in (ALL_LINGUAS): Add zh_CN.
354 * configure: Regenerate.
355 * po/zh_CN.po: New file: Chinese (simplified) translation.
356
357 2003-05-11 Jason Eckhardt <jle@rice.edu>
358
359 * MAINTAINERS: Update my mail address.
360
361 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
362
363 * readelf.c (dump_relocations): Enlarge the type field in wide
364 mode by one character.
365
366 2003-05-03 Richard Henderson <rth@redhat.com>
367
368 * readelf.c (struct Frame_Chunk): Add cfa_exp.
369 (frame_display_row): Just print "exp" for cfa or register
370 defined by a location expression.
371 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
372 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
373
374 2003-04-30 H.J. Lu <hjl@gnu.org>
375
376 * objdump.c (only): Change it to char **.
377 (only_size): New.
378 (only_used): New.
379 (disassemble_data): Check only as an array.
380 (dump_data): Likewise.
381 (dump_relocs): Likewise.
382 (main): Treat only as an array.
383
384 2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
385
386 * doc/binutils.texi: Fix the documentation for the -fo option.
387
388 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
389
390 * readelf.c (get_machine_name) <EM_SH>: Amend return value
391 to refer to SuperH.
392
393 * readelf.c (decode_location_expression): Don't add a trailing ';'.
394
395 2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
396 Nick Clifton <nickc@redhat.com>
397
398 * windres.c (long_options): Move close to main, where it is used.
399 Add 'input' and 'output' long options.
400 (main): Accept "-fo" as an alias for "-o". This is for rc
401 comptibility.
402 * doc/binutils.texi: Mention that -fo is accepted as an alias for
403 -o, but discourage its use.
404
405 2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
406
407 * windres.c (format_from_name): Make the exit on error
408 behaviour optional.
409 (main): Rename the -I option to -J. Introduce -I as a synonym
410 for --include-dir. For backwards compatibility also support the
411 old -I behaviour, but issue a deprecation warning.
412 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
413 of the -I option.
414
415 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
416
417 * readelf.c: Replace references to Mitsubishi M32R with
418 references to Renesas M32R.
419
420 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
421
422 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
423
424 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
425
426 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
427 for debugging information types not supported by objdump.
428
429 2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
430
431 * configure.in: Recognize canonical form of i[3-6]86-pe*.
432 * configure: Regenerate.
433
434 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
435
436 * readelf.c (display_debug_info): Apply RELA relocations on the
437 entire section.
438 (byte_put_little_endian, byte_put_big_endian): New functions.
439 (byte_put): New variable.
440 (get_file_header): Initialize it.
441
442 2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
443
444 * windres.c: Add -l for compatibility with wrc, and rc.
445 Use the short option as a key for long options that have
446 a synonymous short option.
447 * doc/binutils.texi: Added -l to the list of options.
448
449 2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
450
451 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
452 (main): Just pass the -U option down to the preprocessor.
453 * doc/binutils.texi: Added -U to the list of options.
454
455 2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
456
457 * windres.c (usage): Report -r option.
458 (main): Ignore the -r option.
459 * doc/binutils.texi: Add -r to the list of options.
460
461 2003-04-01 Bob Wilson <bob.wilson@acm.org>
462
463 * MAINTAINERS: Add myself as Xtensa maintainer.
464
465 2003-04-01 Bob Wilson <bob.wilson@acm.org>
466
467 * readelf.c: Include "elf/xtensa.h".
468 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
469 targets that use RELA relocations.
470 (dump_relocations): Call elf_xtensa_reloc_type for
471 EM_XTENSA and EM_XTENSA_OLD.
472 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
473
474 2003-04-01 Nick Clifton <nickc@redhat.com>
475
476 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
477 thumb-pe*, mcore-pe and mcore-*elf.
478 * configure: Regenerate.
479
480 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
481
482 * objdump.c (dump_data): Don't truncate the address to long; make
483 the width large enough, and uniform for all entries in a section.
484
485 2003-03-31 H.J. Lu <hjl@gnu.org>
486
487 * readelf.c: Include "libiberty.h".
488 (dynamic_relocations): New.
489 (process_relocs): Properly handle dynamic relocation.
490 (process_dynamic_segment): Fill relocation elements in
491 dynamic_info.
492
493 2003-03-31 Kevin Buettner <kevinb@redhat.com>
494
495 * readelf.c (read_and_display_attr, read_and_display_attr_value):
496 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
497 all callers.
498 (display_debug_lines, display_debug_pubnames, display_debug_info)
499 (display_debug_aranges, display_debug_frames, read_and_display_attr)
500 (read_and_display_attr_value): Add 64-bit DWARF support.
501
502 2003-03-31 Ian Lance Taylor <ian@airs.com>
503
504 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
505 (optresid): Handle a resource id that can be a string or a number.
506 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
507 struct res_id.
508 (define_icon_control): Pass a struct res_id to define_control.
509 * windres.h (define_control): Change prototype.
510
511 2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
512
513 * objcopy (OPTION_FORMATS_INFO): Define.
514 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
515 (copy_options): Likewise.
516 (strip_usage): Add "--info" to usage.
517 (copy_usage): Likewise.
518 (strip_main): Declare formats_info. Iniatilize it to FALSE.
519 Handle "info".
520 (copy_main). Likewise.
521 * doc/binutils.texi. Document the "--info" option for
522 objcopy/strip.
523 * NEWS: Mention the new command line switch.
524
525 * objdump.c (endian_string): Move to bucomm.c.
526 (display_info): Likewise.
527 (display_target_list): Likewise.
528 (display_info_table): Likewise.
529 (display_target_tables): Likewise.
530 (main): Assign the return value of display_info to exit_status.
531 * bucomm.c: Include bfdver.h and libbfd.h
532 (display_target_list): Call bfd_nonfatal instead of nonfatal and
533 return 0 on a non-fatal error, 1 on success.
534 (display_info_table): Likewise.
535 * bucomm.h (display_info): Provide a prototype.
536 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
537 libbfd.h.
538 * Makefile.in: Regenerate.
539
540 2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
541
542 * dlltool.c (gen_def_file): Put demangled name comments on
543 own line preceding export name.
544
545 2003-03-17 Nick Clifton <nickc@redhat.com>
546
547 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
548 printf for emitting new lines.
549
550 2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
551
552 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
553 the symbol's value when --size-sort is used, unless -S is used.
554 doc/binutils.texi (--size-sort): For non-bsd formats both the
555 value and size of the symbols are displayed.
556
557 2003-03-13 Nick Clifton <nickc@redhat.com>
558
559 * po/da.po: Update.
560
561 2003-03-12 Nick Clifton <nickc@redhat.com>
562
563 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
564
565 2003-03-10 Ben Elliston <bje@wasabisystems.com>
566
567 * MAINTAINERS: Update my mail address.
568
569 2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
570
571 * stabs.c (BYTES_IN_WORD): Remove definition.
572 * wrstabs.c (BYTES_IN_WORD): Likewise.
573
574 2003-03-04 Nick Clifton <nickc@redhat.com>
575
576 * nm.c (main): Print a warning message if --size-sort and
577 --undefined-only are used together.
578
579 2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
580
581 * nm.c (print_symbol): Remove check for undefined_only.
582
583 2003-03-03 Nick Clifton <nickc@redhat.com>
584
585 * po/da.po: Installed latest translation.
586
587 2003-02-24 Nick Clifton <nickc@redhat.com>
588
589 * README: Update binutils references to 2.13.
590 Add paragraph about using --disable-nls.
591
592 2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
593
594 * doc/binutils.texi (nm --size-sort): Update.
595
596 2003-02-21 James E Wilson <wilson@tuliptree.org>
597
598 * MAINTAINERS: Update email address.
599
600 2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
601
602 * readelf.c (get_ia64_dynamic_type): New function.
603 (dynamic_segment_ia64_val): New function.
604 (get_dynamic_type): If machine type is EM_IA_64 call
605 get_ia64_dynamic_val.
606 (get_ia64_section_type_name): Handle sections with types in the
607 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
608 (get_dynamic_flags): If machine type is EM_IA_64 call
609 dynamic_segment_ia64_val.
610
611 2003-02-21 Bob Wilson <bob.wilson@acm.org>
612
613 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
614 section title capitalization more consistent. Update descriptions
615 of various options to be consistent with the code. Fix errors and
616 incomplete list in the description of c++filt format options. Remove
617 information about the linker. Change to be more polite about poor
618 bug reports. Replace FDL appendix with include of fdl.texi.
619 * doc/fdl.texi: New file.
620
621 2003-02-21 Roger Sayle <roger@eyesopen.com>
622
623 * objcopy.c (filter_symbols): Fix compilation problems with
624 HP-UX's C compiler.
625
626 2003-02-19 Christopher Faylor <cgf@redhat.com>
627
628 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
629 previous change.
630
631 2003-02-19 Mark Blackburn <marklist@fangorn.ca>
632
633 * rclex.l (handle_quotes): Handle strings spanning more than one line.
634
635 2003-02-12 Bob Wilson <bob.wilson@acm.org>
636
637 * nm.c (usage): Add `java' and `gnat' demangle styles and make
638 quotes consistent.
639 * objdump.c (usage): Ditto. Also fix some typos.
640
641 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
642
643 * debug.c (debug_record_variable): Handle global register variables.
644
645 * stabs.c (parse_stab): For N_SLINE only include
646 function_start_offset if the symbol is within a function;
647 otherwise, the value is absolute.
648
649 2003-02-10 Nick Clifton <nickc@redhat.com>
650
651 * readelf.c (decode_ARM_machine_flags): Handle the
652 EF_ARM_MAVERICK_FLOAT flag.
653
654 2003-02-04 Andreas Schwab <schwab@suse.de>
655
656 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
657 long and use %ld in printf format.
658
659 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
660
661 * readelf.c (dump_relocations): Reorder the r_info field for
662 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
663
664 2003-01-21 Daniel Berlin <dan@dberlin.org>
665
666 * readelf.c (display_debug_loc): Skip address base changes.
667
668 2003-01-17 Fabio Alemagna <falemagn@aros.org>
669
670 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
671 and ELFOSABI_NSK.
672
673 2003-01-16 Alan Modra <amodra@bigpond.net.au>
674
675 * readelf.c: Include elf/ppc64.h.
676 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
677 * Makefile.am: Run "make dep-am".
678 * Makefile.in: Regenerate.
679
680 2003-01-02 Ben Elliston <bje@redhat.com>
681
682 * readelf.c (guess_is_rela): Handle EM_IQ2000.
683 (get_machine_name): Likewise.
684 (dump_relocations): Likewise.
685 * NEWS: Mention IQ2000 support.
686
687 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
688
689 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
690
691 2002-12-30 Chris Demetriou <cgd@broadcom.com>
692
693 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
694 changes in MIPS -M options.
695
696 2002-12-30 Dmitry Diky <diwil@mail.ru>
697
698 * Makefile.am: Add msp430 target.
699 * Makefile.in: Regenerate.
700 * readelf.c: Add support for msp430 target.
701
702 2002-12-27 Chris Demetriou <cgd@broadcom.com>
703
704 * doc/binutils.texi (objdump): Document MIPS -M options.
705
706 2002-12-23 Andreas Schwab <schwab@suse.de>
707
708 * readelf.c (main): Reset dump request after each file.
709
710 2002-12-23 Nick Clifton <nickc@redhat.com>
711
712 * nlmconv.c (main): Pass TRUE as third argument to
713 bfd_arch_get_compatible.
714
715 2002-12-23 Nick Clifton <nickc@redhat.com>
716
717 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
718 macro. Handle 'S' encoding, accepting 8-bit characters.
719 (main): Parse 'S' encoding.
720 (get_char): Accept 'S' encoding.
721 (print_strings): Use STRING_ISGRAPHIC.
722 (usage): Document support of 'S' encoding.
723 * doc/binutils.texi: Document support of 'S' encoding/
724 * NEWS: Mention new feature.
725
726 2002-12-20 Alan Modra <amodra@bigpond.net.au>
727
728 * README <building ar>: Don't use libibery's needed_list or
729 required_list, instead link libiberty/*.o.
730
731 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
732
733 * doc/binutils.texi: Fix typos.
734
735 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
736
737 * doc/binutils.texi: Add missing parenthesis.
738
739 2002-12-15 Nick Kelsey <nickk@ubicom.com>
740
741 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
742 symbols by adding the given prefix to the begining of the symbol
743 name. This is useful to provide name space seperation regardless
744 of how the object file was created. Added --prefix-sections=
745 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
746 sections (or all sections with the alloc flag set) by adding the given
747 prefix to the begining of the symbol name.
748 * NEWS: Mention this new feature.
749 * doc/binutils.texi: Document this new feature.
750
751 2002-12-13 Alan Modra <amodra@bigpond.net.au>
752
753 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
754 dyn_string_append with dyn_string_append_cstr.
755
756 * emul_aix.c (ar_emul_aix_create): Remove unused function.
757
758 2002-12-10 James Cownie <jcownie@etnus.com>
759
760 * readelf.h (get_TAG_name, get_AT_name,
761 read_and_display_attr_value): Add support for UPC extensions to
762 DWARF2 spec.
763 * NEWS: Mention this new support.
764
765 2002-12-08 Alan Modra <amodra@bigpond.net.au>
766
767 * NEWS: Mention that bfd no longer declares a "boolean" type.
768
769 2002-12-07 Alan Modra <amodra@bigpond.net.au>
770
771 * readelf.c (process_program_headers): When setting loadaddr, don't
772 assume segment size is 4k. Use p_align instead.
773 (loadaddr): Change from int to long.
774 (dynamic_addr, dynamic_info, version_info): Likewise.
775 (process_dynamic_segment <syminsz>): Likewise.
776 (process_dynamic_segment): Adjust print format string.
777 (rela_addr, rela_size): Delete.
778 (process_relocs): Formatting.
779
780 2002-12-05 Jim Wilson <wilson@redhat.com>
781
782 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
783 * configure: Regenerate.
784
785 2002-12-04 Ian Lance Taylor <ian@airs.com>
786
787 * MAINTAINERS: Change e-mail address back to airs.com.
788
789 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
790
791 * MAINTAINERS: Add self.
792
793 2002-11-30 Alan Modra <amodra@bigpond.net.au>
794
795 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
796 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
797 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
798 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
799 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
800 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
801 with TRUE/FALSE. Formatting.
802
803 2002-11-29 Jakub Jelinek <jakub@redhat.com>
804
805 * readelf.c Replace occurrences of Elf32_Internal_* and
806 Elf64_Internal_* with Elf_Internal_*.
807 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
808 Zero r_addend fields.
809 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
810 Elf_Internal_Rela.
811
812 2002-11-23 Nick Clifton <nickc@redhat.com>
813
814 * size.c (usage): Fix typo describing switch for hex format.
815
816 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
817
818 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
819 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
820 testcase
821
822 2002-11-14 Nick Clifton <nickc@redhat.com>
823
824 * readelf.c (process_program_headers): Add comment about return
825 value. Ensure that 0 is returned if the headers are not loaded.
826 (process_file): If process_section_headers failed to load the
827 headers disable any tests that rely upon them. Similarly for
828 process_program_headers.
829
830 2002-11-12 Nick Clifton <nickc@redhat.com>
831
832 * po/da.po: Updated Danish translation.
833
834 2002-11-12 Klee Dienes <kdienes@apple.com>
835
836 * rddbg.c (read_section_stabs_debugging_info): Also recognize
837 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
838
839 2002-11-11 Christopher Faylor <cgf@redhat.com>
840
841 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
842 cgf maintainership.
843
844 2002-11-11 Christopher Faylor <cgf@redhat.com>
845
846 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
847
848 2002-11-07 Nick Clifton <nickc@redhat.com>
849
850 * configure.in (ALL_LINGUAS): Add 'da'.
851 * configure: Regenerate.
852 * po/da.po: New Danish translation.
853
854 * readelf.c (get_symbol_index_type): Revert part of previous
855 patch: Display unknown symbol types in decimal, not hex.
856
857 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
858
859 * dlltool.c (add_excludes): Don't prefix excluded fastcall
860 symbols with underscore.
861 (xlate): Ignore add_underscore for decorated fastcall symbols.
862
863 2002-11-07 Eric Kohl <ekohl@rz-online.de>
864
865 * deflex.l: Accept '@' as first character of an ID.
866 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
867 ASM_PREFIX for fastcall symbols.
868 (scan_drectve_symbols): Handle fastcall symbols when generating
869 undecorated aliases for symbols in drectve section.
870 (scan_filtered_symbols): Likewise, with export-all.
871 (xlate): Likewise, with --kill-at.
872 (make_imp_label): New function to handle fastcall symbols
873 correctly.
874 (make_one_lib_file): Use make_imp_label instead of make_label
875 for imp symbols.
876
877 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
878
879 * MAINTAINERS: Add self as TIC4X maintainer.
880
881 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
882
883 * readelf.c (get_symbol_index_type): Add hex number to
884 PROCESSOR-specific, OS-specific, reserved and unknown symbol
885 types.
886
887 2002-11-04 Alan Modra <amodra@bigpond.net.au>
888
889 * readelf.c (byte_get_little_endian): Comment typo fix.
890 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
891 as the format string.
892 (dump_relocations): Correct section sym names.
893 (process_section_headers): Clear symtab_shndx_hdr.
894 (read_and_display_attr_value): Don't pass indirect string to printf
895 as the format string.
896 (display_debug_frames): Indicate when zero terminator found. Decode
897 DW_EH_PE_pcrel addresses.
898
899 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
900
901 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
902 order to ensure proper disassembly of the valid 0-value opcode.
903 * configure: Regenerate.
904 * aclocal.m4: Regenerate.
905 * config.in: Regenerate.
906 * configure.in: Regenerate.
907 * doc/Makefile.in: Regenerate.
908 * po/binutils.pot: Regenerate.
909
910 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
911
912 * MAINTAINERS: Add self as SH maintainer.
913
914 2002-10-23 Ben Elliston <bje@redhat.com>
915
916 * doc/binutils.texi (objdump): Document -z and move the entry for
917 --disassemble-zeroes to the end of the options section (for `z').
918
919 2002-10-21 Nick Clifton <nickc@redhat.com>
920
921 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
922
923 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
924
925 * objdump.c (dump_data): Correct addr_offset for opb != 1.
926
927 2002-10-15 Alan Modra <amodra@bigpond.net.au>
928
929 * bucomm.c (list_supported_targets): Use bfd_target_list.
930
931 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
932 other object errors in preference to bfd_core errors.
933
934 2002-10-14 Alan Modra <amodra@bigpond.net.au>
935
936 * Makefile.am: Run "make dep-am".
937 * objdump.c: #include "bfdver.h".
938 * version.c: Likewise.
939 * Makefile.in: Regenerate.
940 * config.in: Regenerate.
941 * configure: Regenerate.
942 * po/POTFILES.in: Regenerate.
943
944 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
945
946 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
947 sections. Allow relocations against the absolute symbol. Don't
948 use the value in compunit.cu_abbrev_offset if we found a RELA
949 relocation.
950
951 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
952
953 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
954 ordinary ones are available.
955
956 2002-09-30 H.J. Lu <hjl@gnu.org>
957
958 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
959 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
960
961 2002-09-17 Zack Weinberg <zack@codesourcery.com>
962
963 * Makefile.am (CFILES): Add cxxfilt.c.
964 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
965 (cxxfilt_LDADD): Delete.
966 Remove all references to underscore.c.
967 Regen dependencies.
968 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
969 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
970 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
971 adjustments to fit into binutils framework.
972 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
973
974 2002-09-12 Roland McGrath <roland@redhat.com>
975
976 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
977 Handle DW_OP_GNU_push_tls_address.
978
979 2002-09-11 Nick Clifton <nickc@redhat.com>
980
981 * po/tr.po: Updated Turkish translation.
982
983 2002-09-10 Nick Clifton <nickc@redhat.com>
984
985 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
986 testsuite changes. Add paragraphs about testsuite and config
987 patches.
988
989 2002-08-29 Nick Clifton <nickc@redhat.com>
990
991 * readelf.c (get_machine_flags): Remove redundant reference to
992 E_V850EA_ARCH.
993
994 2002-08-28 Alan Modra <amodra@bigpond.net.au>
995
996 * objdump.c (dump_bfd): Restore lines accidentally deleted in
997 last commit.
998
999 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1000
1001 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1002 (dump_bfd_header): Likewise.
1003
1004 2002-08-27 Alan Modra <amodra@bigpond.net.au>
1005
1006 * nm.c: Revert last change.
1007
1008 2002-08-26 Alan Modra <amodra@bigpond.net.au>
1009
1010 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1011 * objdump.c (slurp_symtab): Likewise.
1012 (slurp_dynamic_symtab): Likewise.
1013 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1014
1015 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
1016
1017 * MAINTAINERS: Change my mailing address.
1018
1019 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1020
1021 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1022
1023 2002-08-22 Nick Clifton <nickc@redhat.com>
1024
1025 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1026 HPPA.
1027
1028 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1029
1030 * readelf.c (parse_args): Change debug_dump_opt to static.
1031
1032 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1033
1034 * stabs.c (parse_stab_argtype): Pass length of physname to
1035 stab_demangle_argtypes.
1036 (stab_demangle_argtypes): Add new parameter - length of physname.
1037 Pass length of physname on to stab_demangle_prefix.
1038 (stab_demangle_prefix): Add new parameter - length of physname.
1039 Use length of physname (if supplied) to compute end of function
1040 name.
1041
1042 2002-08-15 Alan Modra <amodra@bigpond.net.au>
1043
1044 * readelf.c: Include elf/i370.h.
1045 (dump_relocations): Handle EM_S370.
1046 (dynamic_segment_parisc_val): Print \n.
1047 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1048
1049 2002-08-14 Nick Clifton <nickc@redhat.com>
1050
1051 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1052 * objdump.c (usage): Likewise.
1053 * doc/binutils.texi: Likewise.
1054
1055 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1056
1057 * rcparse.y (acc_entry): Don't warn about ALT use with
1058 non-VIRTKEY.
1059
1060 2002-08-13 H.J. Lu <hjl@gnu.org>
1061
1062 * objcopy.c (copy_object): Don't warn about the unsupported
1063 architecture unless the input target is defaulted or the
1064 output architecture is different from the input.
1065
1066 2002-08-09 Nick Clifton <nickc@redhat.com>
1067
1068 * po/sv.po: Updated Swedish translation.
1069
1070 2002-08-05 Alan Modra <amodra@bigpond.net.au>
1071
1072 * prdbg.c (pr_fix_visibility): Remove assert.
1073
1074 2002-07-31 Nick Clifton <nickc@redhat.com>
1075
1076 * addr2line.c (process_file): Rename parameter 'filename' to
1077 'file_name' in order to avoid shadowing global symbol of the
1078 same name.
1079 (main): Likewise.
1080
1081 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1082
1083 * readelf.c (OPTION_DEBUG_DUMP): Define.
1084 (options): Use it.
1085 (usage): Update help.
1086 (parse_args): Handle --debug-dump separately from -w.
1087 * doc/binutils.texi (readelf): Update documentation.
1088
1089 2002-07-25 Nick Clifton <nickc@redhat.com>
1090
1091 * po/es.po: Updated Spanish translation.
1092 * po/fr.po: Updated French translation.
1093
1094 2002-07-24 Nick Clifton <nickc@redhat.com>
1095
1096 * po/es.po: Updated Spanish translation.
1097
1098 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1099
1100 * Makefile.am: Run "make dep-am".
1101 * Makefile.in: Regenerate.
1102
1103 2002-07-23 Nick Clifton <nickc@redhat.com>
1104
1105 * po/fr.po: Updated French translation.
1106
1107 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1108
1109 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1110
1111 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1112
1113 * budemang.c: Include config.h and string.h/strings.h.
1114
1115 2002-07-18 Denis Chertykov <denisc@overta.ru>
1116 Frank Ch. Eigler <fche@redhat.com>
1117
1118 * readelf.c: Include "elf/ip2k.h".
1119 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1120 (dump_relocations): Likewise.
1121 (get_machine_name): Likewise.
1122 * NEWS: Mention IP2K support.
1123
1124 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1125
1126 * NEWS: Add 'Changes in 2.13'.
1127
1128 2002-07-10 Jakub Jelinek <jakub@redhat.com>
1129
1130 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1131 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1132 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1133 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1134 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1135 (process_gnu_liblist): New.
1136 (process_file): Call it.
1137
1138 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1139
1140 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1141 * Makefile.in: Regenerate.
1142
1143 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1144
1145 * budemang.c: New file, "demangle" function.
1146 * budemang.h: New file.
1147 * addr2line.c (translate_addresses): Use "demangle".
1148 * nm.c (print_symname): Likewise.
1149 * objdump.c (objdump_print_symname): Likewise.
1150 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1151 here since that obfuscates.
1152 * rdcoff.c: Don't #include demangle.h.
1153 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1154 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1155 (HFILES): Add budemang.h. Sort.
1156 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1157 Run "make dep-am".
1158 * Makefile.in: Regenerate.
1159
1160 2002-07-01 Matt Thomas <matt@3am-software.com>
1161
1162 * readelf.c: Include "elf/vax.h".
1163 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1164 (dump_relocations): Handle VAX relocations.
1165 (get_machine_flags): Handle VAX machine flags.
1166
1167 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1168
1169 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1170
1171 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1172
1173 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1174
1175 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1176
1177 * nm.c (print_symname): When demangling, strip leading dots from
1178 symbol names to avoid confusing the demangler.
1179
1180 2002-06-25 H.J. Lu <hjl@gnu.org>
1181
1182 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1183 * Makefile.in: Regenerated.
1184
1185 2002-06-21 Igor Schein <igor@txc.com>
1186
1187 * configure.in: Quote bu_cv_have_fopen64.
1188 * configure: Regenerate.
1189
1190 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1191
1192 * configure.in: Check for strcoll.
1193 * configure: Regenerate.
1194 * config.in: Regenerate.
1195 * nm.c (main): Set locale for LC_COLLATE category.
1196 (non_numeric_forward): Use strcoll if available.
1197
1198 2002-06-20 Dave Brolley <brolley@redhat.com>
1199
1200 * MAINTAINERS: Add self as fr30 and frv maintainer.
1201
1202 2002-06-18 H.J. Lu (hjl@gnu.org)
1203
1204 * nm.c: Include "elf/common.h".
1205 (extended_symbol_info): Add elfinfo, a pointer to
1206 elf_symbol_type.
1207 (SYM_SIZE): Use elfinfo if it is not NULL.
1208 (get_symbol_type): New function.
1209 (display_archive): Set print_width for each archive member.
1210 (display_file): Likewise.
1211 (display_rel_file): Don't set print_width here.
1212 (print_object_filename_sysv): Handle print_width.
1213 (print_archive_member_sysv): Likewise.
1214 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1215 (print_symbol): Set the elfinfo field in extended_symbol_info
1216 for ELF.
1217 (print_object_filename_sysv): Fix the output format.
1218 (print_symbol_info_sysv): Print type and section for ELF.
1219
1220 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1221
1222 * nm.c (print_size_symbols): Remove assignment, which makes
1223 the symbol's size equal to its value when --size-sort is
1224 used.
1225
1226 2002-06-18 Dave Brolley <brolley@redhat.com>
1227
1228 From Catherine Moore:
1229 * readelf.c (elf/frv.h): #include it.
1230 (guess_is_rela): Support EM_CYGNUS_FRV.
1231 (dump_relocations): Ditto.
1232 (get_machine_name): Ditto.
1233 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1234
1235 2002-06-18 Jakub Jelinek <jakub@redhat.com>
1236
1237 * readelf.c (get_file_header): Only read the first section header if
1238 e_shoff is non-zero.
1239
1240 2002-06-15 H.J. Lu (hjl@gnu.org)
1241
1242 * nm.c (print_size): New variable. Initialize to 0.
1243 (long_options): Add 'S'/"print-size".
1244 (main): Handle 'S'.
1245 (print_symbol_info_bsd): Print size only if print_size is not
1246 0.
1247
1248 * doc/binutils.texi: Document -S/--print-size.
1249
1250 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1251
1252 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1253 of the symbols to the information provided by the symbol_info
1254 structure.
1255 (print_symbols): Pass the symbol size to print_symbol.
1256 (print_size_symbols): Pass the symbol size to print_symbol.
1257 (print_symbol): Extra argument: The size of the symbol. Store
1258 this in the extended_symbol_info structure.
1259 (print_symbol_info): Change type of info parameter to
1260 extended_symbol_info. Display the size, if known.
1261 (print_symbol_info_posix): Likewise.
1262 (print_symbol_info_sysv): Likewise.
1263
1264 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1265
1266 * Makefile.am: Run "make dep-am".
1267 * Makefile.in: Regenerate.
1268 * doc/Makefile.in: Regnerate.
1269
1270 * bucomm.c: Replace CONST with const.
1271 * nm.c: Likewise.
1272 * objdump.c: Likewise.
1273
1274 2002-06-07 H.J. Lu <hjl@gnu.org>
1275
1276 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1277 (DW_CFA_GNU_negative_offset_extended): Likewise.
1278 (DW_CFA_GNU_window_save): Likewise.
1279 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1280 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1281
1282 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
1283
1284 * nm.c: When computing size of symbols for an ELF target use the
1285 internal size field.
1286
1287 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1288
1289 * testsuite/binutils-all/objcopy.exp: clear xfail for
1290 "hppa*64*-*-hpux*".
1291 * testsuite/binutils-all/hppa/objdump.exp: Return if
1292 "*64*-*-*".
1293
1294 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1295
1296 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1297
1298 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
1299
1300 * objdump.c: Fix formatting.
1301
1302 2002-05-29 Ben Elliston <bje@redhat.com>
1303
1304 * MAINTAINERS: Add self as M68k maintainer.
1305
1306 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1307
1308 * readelf.c: Modified/Added DLX elf support.
1309
1310 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1311
1312 * arsup.c: Fix formatting.
1313 * debug.c (debug_record_label): Add missing colon to error
1314 message.
1315 * ieee.c (parse_ieee_ty): Fix spelling typo.
1316 * readelf.c (process_program_headers): Remove English assumption
1317 about making a plural word.
1318 (process_section_headers): Likewise.
1319 (process_relocs): Allow quotes to be translated.
1320 (process_unwind): Likewise,
1321 (process_mips_specific): Improve error message.
1322 (get_note_type): Fix spelling typo.
1323
1324 * configure.in (ALL_LINGUAS): Add sv
1325 * po/sv.po: New file.
1326
1327 2002-05-27 Alan Modra <amodra@bigpond.net.au>
1328
1329 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1330 (unw_print_grmask): Likewise.
1331 (unw_print_frmask): Likewise.
1332
1333 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1334
1335 * arsup.c: Remove ARGSUSED.
1336 * debug.c: Likewise.
1337 * ieee.c: Likewise.
1338 * nlmconv.c: Likewise.
1339 * prdbg.c: Likewise.
1340 * stabs.c: Likewise.
1341 * wrstabs.c: Likewise.
1342
1343 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1344
1345 * arlex.l: Use #include "" instead of <> for local header files.
1346 * coffdump.c: Likewise.
1347 * coffgrok.c: Likewise.
1348 * nlmconv.c: Likewise.
1349 * nlmheader.y: Likewise.
1350 * srconv.c: Likewise.
1351 * strings.c: Likewise.
1352 * sysdump.c: Likewise.
1353 * unwind-ia64.h: Likewise.
1354 * windres.h: Likewise.
1355 * winduni.h: Likewise.
1356
1357 2002-05-24 Tom Rix <trix@redhat.com>
1358
1359 * MAINTAINERS: Add self as the d10v maintainer.
1360
1361 2002-05-24 TAMURA Kent <kent@netbsd.org>
1362
1363 * configure.in: Builds dlltool for i386-netbsdpe.
1364 * configure: Regenerate.
1365
1366 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1367
1368 * size.c: Fix formatting.
1369 * srconv.c: Likewise.
1370 * stabs.c: Likewise.
1371 * sysdump.c: Likewise.
1372 * unwind-ia64.c: Likewise.
1373 * wrstabs.c: Likewise.
1374
1375 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1376
1377 * readelf.c (get_segment_type): Add PT_TLS.
1378 (get_elf_section_flags): Add SHF_TLS.
1379 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1380 (process_dynamic_segment): Use puts instead of printf.
1381 (get_symbol_type): Support STT_TLS.
1382 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1383 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1384 Add SEC_THREAD_LOCAL.
1385
1386 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1387
1388 * rdcoff.c: Fix formatting.
1389 * rddbg.c: Likewise.
1390 * readelf.c: Likewise.
1391 * rename.c: Likewise.
1392 * resbin.c: Likewise.
1393 * resrc.c: Likewise.
1394 * resres.c: Likewise.
1395
1396 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1397
1398 * filemode.c: Fix formatting.
1399 * ieee.c: Likewise.
1400 * is-ranlib.c: Likewise.
1401 * is-strip.c: Likewise.
1402 * maybe-ranlib.c: Likewise.
1403 * maybe-strip.c: Likewise.
1404 * nlmconv.c: Likewise.
1405 * nm.c: Likewise.
1406 * not-ranlib.c: Likewise.
1407 * not-strip.c: Likewise.
1408 * objcopy.c: Likewise.
1409 * objdump.c: Likewise.
1410
1411 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1412
1413 * objdump.c (dump_headers): Fix output formatting for ELF32
1414 architectures in a BFD64 enabled toolchain.
1415
1416 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1417
1418 * debug.c: Fix formatting.
1419 * debug.h: Likewise.
1420 * dlltool.c: Likewise.
1421 * dllwrap.c: Likewise.
1422 * emul_aix.c: Likewise.
1423 * emul_vanilla.c: Likewise.
1424
1425 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1426
1427 * addr2line.c: Fix formatting.
1428 * ar.c: Likewise.
1429 * arsup.c: Likewise.
1430 * arsup.h: Likewise.
1431 * binemul.c: Likewise.
1432 * binemul.h: Likewise.
1433 * bucomm.c: Likewise.
1434 * coffdump.c: Likewise.
1435 * coffgrok.c: Likewise.
1436 * coffgrok.h: Likewise.
1437
1438 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1439
1440 * MAINTAINERS: Add myself as the second AVR port maintainer.
1441
1442 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1443
1444 * MAINTAINERS: Update my email address.
1445
1446 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1447
1448 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1449
1450 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1451
1452 * configure.in: Replace `*pe' with `pe' throughout.
1453 * configure: Regenerate.
1454
1455 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1456
1457 * Makefile.am: Honour DESTDIR.
1458 * Makefile.in: Regenerate.
1459
1460 2002-05-06 Alan Modra <amodra@bigpond.net.au>
1461
1462 * dlltool.c (process_def_file): Add missing prototype.
1463 (new_directive, assemble_file, main): Likewise.
1464 (process_def_file, new_directive): Make static.
1465 (inform): Rewrite using VA_FIXEDARG.
1466 * dllwrap.c (mybasename): Add missing prototype.
1467 (strhash, main): Likewise.
1468 (inform): Rewrite using VA_FIXEDARG.
1469 (warn): Likewise.
1470 (cleanup_and_exit): Use old style function definition.
1471 (strhash): Likewise.
1472 * windres.c (define_resource): Use one memset to clear all of
1473 struct res_resource.
1474
1475 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1476 call to rules that need no lookahead. Check for no lookahead.
1477
1478 2002-05-06 Borut Razem <borut.razem@siol.net>
1479
1480 * rclex.l (get_string): Correct "strings" list handling.
1481 * resrc.c (read_rc_file): Discard strings.
1482
1483 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1484
1485 * ar.c (replace_members): Remove unused var. Formatting fix.
1486 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1487
1488 * MAINTAINERS: Sort port maintainers by CPU.
1489
1490 2002-05-04 Bob Byrnes <byrnes@curl.com>
1491
1492 * size.c (display_archive): Add last_arfile and code to close archives.
1493
1494 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1495
1496 * nm.c (print_symbol): Check returned filename from
1497 bfd_find_nearest_line is non-NULL.
1498
1499 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
1500
1501 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1502
1503 2002-04-24 Christian Groessler <chris@groessler.org>
1504
1505 * MAINTAINERS: Changed my email address.
1506
1507 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1508
1509 * arparse.y: Fix syntax warning.
1510
1511 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1512
1513 * readelf.c (fetch_location_list): Remove unused function.
1514
1515 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1516 and display a warning message, then exit the loop.
1517
1518 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1519
1520 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1521
1522 * resrc.c (write_rc_dialog): If charset is non-default value
1523 display all of the DIALOGEX parameters.
1524
1525 2002-04-15 Eric Kohl <ekohl@rz-online.de>
1526
1527 * rcparse.y: Allow two to five parameter in FONT statement of
1528 DIALOGEX resources.
1529 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1530 resource data.
1531 (res_to_bin_dialog): Likewise.
1532 * windres.h: Added misssing charset variable to dialog_ex
1533 structure.
1534
1535 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1536
1537 * rcparse.y: Set MEMFLAG_PURE by default.
1538
1539 2002-04-09 Bernd Herd <info@herdsoft.com>
1540
1541 * rcparse.y: CLASS definitions in DIALOG resources
1542 are quoted.
1543 Fix typo in BEDIT warning.
1544 Don't add default dialog style when explicit style specified.
1545 Add WS_CAPTION dialog style if CAPTION is specified.
1546
1547 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1548 (handle_quotes) "\a" escape (used for right justified key
1549 definitions in menus) is encodes as binary 8.
1550
1551 * resrc.c (write_rc_dialog): Print style even if it is 0.
1552 (write_rc_directory): Fix overlooked sublang shift bug.
1553 (bin_to_res_dialog): Don't print empty dialog caption.
1554
1555 * resbin.c (bin_to_res_dialog): Use signature to identify
1556 DIALOGEX.
1557
1558 * windres.c (main): Set default LANGUAGE to english/us.
1559
1560 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1561
1562 * resrc.c: print CLASS names in quotes
1563
1564 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1565
1566 * MAINTAINERS: Update my email address.
1567
1568 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1569
1570 * dep-in.sed: Cope with absolute paths.
1571 * Makefile.am (dep.sed): Subst TOPDIR.
1572 Run "make dep-am".
1573 * Makefile.in: Regenerate.
1574
1575 2002-03-27 Peter Targett <peter.targett@arc.com>
1576
1577 * MAINTAINERS: Update my email address.
1578
1579 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1580
1581 * Makefile.am: Run "make dep-am".
1582 * Makefile.in: Regenerate.
1583 * doc/Makefile.in: Regenerate.
1584 * po/POTFILES.in: Regenerate.
1585 * aclocal.m4: Regenerate.
1586 * config.in: Regenerate.
1587 * configure: Regenerate.
1588
1589 2002-03-20 Daniel Berlin <dan@dberlin.org>
1590
1591 * readelf.c: Add support for displaying dwarf2 location lists.
1592 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1593 (parse_args): Use 'O' as shorthand for displaying location list
1594 section.
1595 (process_section_headers): Handle debug_loc as well.
1596 (load_debug_loc): New.
1597 (free_debug_loc): New.
1598 (fetch_location_list): New.
1599 (display_debug_loc): New.
1600 (display_debug_info): Call load_debug_loc and free_debug_loc.
1601 (debug_displays): We can display .debug_loc now, too.
1602 (usage): Update usage string.
1603 (read_and_display_attr_value): Note location lists, but don't
1604 display them inline.
1605
1606 2002-03-18 Tom Rix <trix@redhat.com>
1607
1608 * Makefile.am: Add binutils emulation support.
1609 * configure.in: Same.
1610 * configure.tgt: New file. Same.
1611 * ar.c (main): Use ar_emul_parse_arg.
1612 (usage): Use ar_emul_usage.
1613 (replace_members): Use ar_emul_replace, ar_emul_append.
1614 * binemul.c: New file. Define the binutils emulation
1615 layer. Define default methods.
1616 * binemul.h: New file. Binutils emulation layer header file.
1617 * emul_aix.c: New file. AIX binutils emulation.
1618 * emul_vanilla.c: New file. Default binutils emulation.
1619 * Makefile.in: Regenerate.
1620 * configure: Same.
1621
1622 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1623
1624 * po/fr.po: Updated version.
1625
1626 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1627
1628 * po/fr.po: Updated version.
1629
1630 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1631
1632 * README: Update some version numbers.
1633
1634 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1635
1636 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1637 (Architecture Selection): Likewise.
1638
1639 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1640
1641 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1642 generating .exp file.
1643
1644 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1645
1646 * readelf.c (dump_relocations): Fix typo.
1647
1648 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1649
1650 * NEWS: Mark 2.12 branch.
1651
1652 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1653
1654 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1655 types for 64-bit MIPS. Narrow some fields for 80-char
1656 output.
1657 (dump_relocations): Change spelling from 'unrecognised'
1658 to 'unrecognized'.
1659 (decode_ARM_machine_flags): Likewise.
1660 (parse_args): Likewise.
1661 (read_and_display_attr_value): Likewise.
1662 (display_debug_section): Likewise.
1663
1664 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1665
1666 * NEWS: Mention support for MMIX.
1667
1668 2002-02-13 Matt Fredette <fredette@netbsd.org>
1669
1670 * readelf.c (get_machine_flags): Recognize EF_M68000.
1671
1672 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1673
1674 * MAINTAINERS: Added self as MN10300 co-maintainer.
1675
1676 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1677
1678 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1679 DT_PPC64_OPDSZ.
1680
1681 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1682
1683 * MAINTAINERS: List myself as branch maintainer.
1684
1685 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1686
1687 * configure: Regenerate.
1688 * objcopy.c: Update copyright date.
1689 * doc/Makefile.in: Regenerate.
1690
1691 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1692
1693 * nlmconv.c: Back out localtime PARAMS change.
1694
1695 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1696
1697 * objcopy.c (MKDIR): Define.
1698 (copy_archive): Make name_list.name const. Use MKDIR.
1699 Handle duplicate files in archives by making more temp dirs.
1700
1701 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1702
1703 * coffdump.c: Include "getopt.h" after "bucomm.h"
1704 so that macros are defined correctly.
1705 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1706 prototype. Prototype main.
1707 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1708
1709 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1710
1711 * MAINTAINERS: Added self as SH co-maintainer.
1712
1713 2002-02-05 Nick Clifton <nickc@redhat.com>
1714
1715 * po/tr.po: Updated translation.
1716
1717 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1718
1719 * Makefile.am: Run "make dep-am"
1720 * Makefile.in: Regenerate.
1721
1722 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1723
1724 * nm.c (print_value): Mark abfd unused.
1725
1726 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1727
1728 * unwind-ia64.c (unw_decoder): Change second argument
1729 to unsigned int, to match function prototypes.
1730
1731 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1732
1733 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1734 __GNU_LIBRARY__ will be defined.
1735 * size.c: Likewise.
1736
1737 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1738
1739 * configure: Regenerated.
1740
1741 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1742
1743 * doc/Makefile.am (install): Depend on install-info.
1744 * doc/Makefile.in: Regenerate.
1745
1746 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1747
1748 * objcopy.c (strip_usage): Document -d as an alias
1749 --strip-debug.
1750
1751 * size.c (usage): Document [-t | --totals] options.
1752 (long_options): Add --totals option.
1753 (main): If the [-t | --totals] option is specified and
1754 the output format is Berkeley-style, print the total
1755 text, data, and bss sizes of all objects listed.
1756 (print_berkeley_format): If the [-t | --totals] option
1757 is specified, track the total text, data, and bss
1758 sizes.
1759 * doc/binutils.texi (size): Document [-t | --totals] options.
1760 (strip): Document -d as an alias for --strip-debug.
1761 * NEWS: Mention new feature of size.
1762
1763 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1764
1765 * po/fr.po: Updated version.
1766 * po/es.po: Updated version.
1767
1768 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1769
1770 * addr2line.c (usage): Update text to provide verbose
1771 description of the command line options.
1772 * ar.c (usage): Update text to provide verbose
1773 description of the command line options.
1774 (main): Accept -h and -H when running as ranlib.
1775 * coffdump.c (show_usage): Update text to provide verbose
1776 description of the command line options.
1777 * dlltool.c (main): Accept -H as an alias for --help.
1778 * nlmconv.c (show_usage): Update text to provide verbose
1779 description of the command line options.
1780 * nm.c (usage): Replace OPTIONS with option(s).
1781 (main): Accept -H as an alias for --help.
1782 * objcopy.c (strip_main): Accept -H as an alias for --help.
1783 * objdump.c (main): Accept -v as an alias for --verbose.
1784 * readelf.c (usage): Adjust format to match style used in
1785 other binutils.
1786 * size.c (usage): Update text to provide verbose description
1787 of the command line options.
1788 (main): Accept -v, -h and -H as command line options.
1789 * srconv.c (show_usage): Update text to provide verbose
1790 description of the command line options.
1791 * strings.c (main): Accept -H and -v as command line options.
1792 (usage): Update text to provide verbose description of the
1793 command line options.
1794 * sysdump.c (show_usage): Update text to provide verbose
1795 description of the command line options.
1796 * windres.c (usage): Adjust format to match style used in
1797 other binutils.
1798
1799 * coffdump.c: Fix formatting.
1800 * nlmconv.c: Fix formatting.
1801 * srconv.c: Fix formatting.
1802 * sysdump.c: Fix formatting.
1803
1804 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1805
1806 * Makefile.am: Run "make dep-am".
1807 * Makefile.in: Regenerate.
1808
1809 2002-01-18 Andreas Jaeger <aj@suse.de>
1810
1811 * version.c (print_version): Update year.
1812
1813 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1814
1815 * readelf.c (get_machine_name): Handle EM_PPC64.
1816 (guess_is_rela): Here too.
1817
1818 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1819
1820 * po/binutils.pot: Regenerate.
1821 * po/fr.po: Regenerate.
1822 * po/tr.po: Regenerate.
1823
1824 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1825
1826 * po/tr.po: Import new version.
1827
1828 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1829
1830 * readelf.c (get_ppc64_dynamic_type): New.
1831 (get_dynamic_type): Call it.
1832
1833 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1834
1835 * objcopy.c (copy_usage): Use "options" instead of "switches".
1836 (strip_usage): Use "options" instead of "switches".
1837 * doc/binutils.texi (dlltool): Refer to "options" instead of
1838 "switches".
1839
1840 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1841
1842 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1843
1844 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1845
1846 * po/es.po: Import from translation project.
1847 * configure.in (ALL_LINGUAS): Add es.
1848 * configure: Regenerate.
1849
1850 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1851
1852 * readelf.c (get_netbsd_elfcore_note_type): Use
1853 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1854
1855 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1856
1857 * readelf.c: Update copyright years.
1858 (get_note_type): Return a const char *.
1859 (get_netbsd_elfcore_note_type): New function.
1860 (process_note): Use get_netbsd_elfcore_note_type to get
1861 the note type string for NetBSD ELF core files.
1862
1863 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1864
1865 * readelf.c (get_ia64_segment_type): Add support for macros.
1866 (get_segment_type): Add support for IA64 specific macros.
1867
1868 2001-12-20 Julian v. Bock <julian@wongr.net>
1869
1870 * readelf.c (print_symbol): New function: Print a formatted symbol
1871 name. If --wide is specified do not truncate it.
1872 (dump_relocations): Use print_symbol() to print symbol names.
1873 (process_symbol_table): Likewise.
1874 (process_syminfo): Likewise.
1875 (process_mips_specific): Likewise.
1876 (usage): Document new feature of --wide switch.
1877 * doc/binutils.texi (objdump): Document additional behaviour of
1878 --wide.
1879
1880 2001-12-18 Michael Snyder <msnyder@redhat.com>
1881
1882 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1883 (copy_object): Don't set the start address or flags of a core file.
1884 (copy_section): Don't relocate a core file. Don't copy contents
1885 if the input section has the contents flag set, but the output
1886 section does not (which happens with the fake 'note' pseudo-
1887 sections that BFD creates for corefiles).
1888
1889 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1890
1891 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1892 ASE extensions. More robust code for ISA checking. Ignore empty fields
1893 in header flags for GNU extensions.
1894
1895 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1896
1897 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1898
1899 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1900
1901 * po/ja.po: Import from translation project.
1902 * configure.in (ALL_LINGUAS): Add ja.
1903 * configure: Regenerate.
1904
1905 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1906
1907 * addr2line.c (main): Protoype.
1908 * ar.c (main): Protoype.
1909 * nm.c (main): Protoype.
1910 * objcopy.c (main): Protoype.
1911 * objdump.c (main): Protoype.
1912 * size.c (main): Protoype.
1913 * strings.c (main): Protoype.
1914
1915 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1916
1917 * readelf.c (symtab_shndx_hdr): New global.
1918 (SECTION_HEADER_INDEX): Define.
1919 (SECTION_HEADER_NUM): Define.
1920 (SECTION_HEADER): Define.
1921 (GET_ELF_SYMBOLS): Pass two params rather than three.
1922 (get_32bit_elf_symbols): Take file and section args. Read and
1923 use SHT_SYMTAB_SHNDX.
1924 (get_64bit_elf_symbols): Likewise.
1925 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1926 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1927 Remember symtab_shdx_hdr.
1928 (process_program_headers): Scan from index 1 for segment map.
1929 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1930 "section_headers".
1931 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1932 (process_unwind): Likewise.
1933 (process_version_sections): Likewise.
1934 (process_symbol_table): Likewise.
1935 (display_debug_info): Likewise.
1936 (process_dynamic_segment): Fake up a symtab section for changed
1937 GET_ELF_SYMBOLS.
1938 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1939 (process_program_headers): Kill signed/unsigned warning.
1940 (load_debug_str): Likewise.
1941 (display_debug_info): Likewise.
1942
1943 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1944
1945 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1946
1947 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1948
1949 * readelf.c (process_file_header): Print extended e_shnum and
1950 e_shdtrndx values. Set elf_header values for same.
1951 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1952 (get_64bit_section_headers): Likewise.
1953 (process_section_headers): Update calls.
1954 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1955
1956 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1957
1958 * objcopy.c (setup_section): Copy entsize.
1959
1960 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1961
1962 * readelf.c (guess_is_rela): Add support for stormy16.
1963 (dump_relocations): Likewise.
1964 (get_machine_name): Likewise.
1965
1966 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1967
1968 * dllwrap.c (main) Replace multiple strings describing a
1969 single error with a single, newline escaped sentence to permit
1970 better translation into foreign languages.
1971
1972 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1973 class names.
1974
1975 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1976
1977 * strings.c (get_char): Initialize value.
1978
1979 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1980
1981 * arlex.l: Silence compile warnings.
1982 * arsup.h: Likewise. Fix formatting.
1983
1984 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1985
1986 * strings.c: Include config.h before bfd.h.
1987 (file_off): New type.
1988 (file_open): Define.
1989 (print_strings): Use file_off instead of file_ptr. Print addresses
1990 which don't fit into long correctly.
1991 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1992 available.
1993 (strings_file): Use file_off instead of file_ptr. Use file_open.
1994 * configure.in: Check for getc_unlocked.
1995 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1996 be defined for it.
1997 * configure: Rebuilt.
1998 * config.h.in: Rebuilt.
1999
2000 2001-11-29 H.J. Lu <hjl@gnu.org>
2001
2002 * bucomm.c (make_tempname): Revert the changes made on
2003 2001-11-14 and 2001-11-12. They won't work with directories.
2004
2005 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2006
2007 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2008 CFLAGS_FOR_TARGET to runtest in environment.
2009 * Makefile.in: Rebuild.
2010 * doc/Makefile.in: Rebuild.
2011
2012 2001-11-28 Mike Stump <mrs@wrs.com>
2013
2014 * objcopy.c (setup_section): Preserve SEC_RELOC when
2015 --set-section-flags is used.
2016
2017 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2018
2019 * readelf.c (do_debug_str): New variable.
2020 (display_debug_str): New function: Display the contents of a
2021 .debug_str section.
2022 (load_debug_str): New function: Load in the contents of a
2023 .debug_str section.
2024 (free_debug_str): New function: Free the memory used by
2025 load_debug_str().
2026 (fetch_indirect_string): Retrieve a string from the .debug_str
2027 section.
2028 (usage): Add -ws.
2029 (parse_args): Accept -ws.
2030 (process_section_headers): Allow the display of the .debug_str
2031 section.
2032 (read_and_display_attr_value): Use fetch_indirect_string. Show
2033 offset into .debug_str section.
2034 (display_debug_info): Use load_debug_str and free_debug_str.
2035 (debug_displays): Add .debug_str.
2036 * doc/binutils.texi: Document -ws.
2037
2038 2001-11-19 Andreas Jaeger <aj@suse.de>
2039
2040 * testsuite/binutils-all/objdump.exp: Add x86-64.
2041
2042 2001-11-15 Andreas Schwab <schwab@suse.de>
2043
2044 * readelf.c: Fix warnings without terminating newline.
2045
2046 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2047
2048 * doc/binutils.texi (objdump): Document ppc -M options.
2049
2050 2001-11-14 Andreas Jaeger <aj@suse.de>
2051
2052 * doc/binutils.texi (objdump): Fix description to use x86-64.
2053
2054 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2055
2056 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2057 not all systems provide mkstemp.
2058
2059 2001-11-14 Alan Modra <amodra@bigpond.net.au>
2060
2061 * doc/binutils.texi (objdump): Document x86 -M options.
2062
2063 2001-11-13 Keith Walker <keith.walker@arm.com>
2064
2065 * readelf.c (read_and_display_attr_value): New function to
2066 handle DW_FORM_indirect.
2067 (read_and_display_attr): Use it.
2068
2069 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
2070
2071 * readelf.c (display_debug_lines): Deal with unknown standard
2072 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2073 DW_LNS_set_isa.
2074
2075 2001-11-13 Timothy Wall <twall@alum.mit.edu>
2076
2077 * MAINTAINERS: Add self as tic54x maintainer. This target
2078 includes the IBM C54XDSP clone.
2079
2080 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2081
2082 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2083
2084 2001-11-09 Jeffrey A Law (law@cygnus.com)
2085
2086 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2087 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2088 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2089 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2090 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2091 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2092 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2093
2094 * readelf.c (get_elf_class): Fix ISO portability glitch.
2095 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2096
2097 2001-11-07 Jakub Jelinek <jakub@redhat.com>
2098
2099 * readelf.c (debug_str, debug_str_size): New.
2100 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2101 Call free_abbrevs.
2102 (read_and_display_addr): Handle DW_FORM_strp.
2103 (display_debug_info): Read .debug_str section if present,
2104 so that DW_FORM_strp can be handled.
2105 Fix test for non-existant .debug_abbrev section.
2106
2107 2001-11-05 Jakub Jelinek <jakub@redhat.com>
2108
2109 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2110
2111 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2112
2113 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2114
2115 * MAINTAINERS: Add self as s390/s390x maintainer.
2116
2117 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
2118
2119 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2120
2121 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2122
2123 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2124 * configure: Regernate.
2125 * po/fr.po: New file.
2126 * po/tr.po: New file.
2127
2128 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2129
2130 * MAINTAINERS: Add self as MMIX port maintainer.
2131 * readelf.c: Include elf/mmix.h.
2132 (guess_is_rela): MMIX is RELA.
2133 (dump_relocations): Handle MMIX relocations.
2134 * Makefile.am: Regenerate dependencies.
2135 * Makefile.in: Regenerate.
2136
2137 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2138
2139 * readelf.c (parse_args): Handle multiple options to the -w
2140 switch.
2141
2142 2001-10-12 Jakub Jelinek <jakub@redhat.com>
2143
2144 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2145 LOPROC, LOOS and LOUSER.
2146
2147 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
2148
2149 * MAINTAINERS: Update my email address.
2150
2151 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2152
2153 * doc/Makefile.in: Regenerate.
2154 * configure: Regenerate.
2155
2156 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2157
2158 * readelf.c (display_debug_line, display_debug_pubnames,
2159 display_debug_info, display_debug_frames): Detect and warn
2160 about 64-bit format entries.
2161 (display_debug_aranges): Reword 64-bit warning.
2162 (debug_displays): Add .debug_pubtypes as a known, but not yet
2163 supported, debug section.
2164
2165 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2166
2167 * coffdump.c (PROGRAM_VERSION): Delete.
2168 (main <'V'>): Call print_version.
2169 * srconv.c: Likewise.
2170 * sysdump.c: Likewise.
2171 * version.c (program_version): Remove.
2172 (print_version): Use BFD_VERSION_STRING. Just print the current
2173 year in copyright message.
2174 * addr2line.c (program_version): Remove unused declaration.
2175 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2176 place of BFD_VERSION.
2177 * Makefile.am (Makefile): Depend on bfd/configure.in.
2178 (cplus-dem.o): Depend on Makefile.
2179 Run "make dep-am".
2180 * Makefile.in: Regenerate.
2181
2182 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2183
2184 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2185 format .debug_arange sections.
2186 (main): Add missing prototype.
2187
2188 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2189
2190 * Makefile.am: Update dependencies with "make dep-am".
2191 * Makefile.in: Regenerate.
2192
2193 2001-09-28 Richard Henderson <rth@redhat.com>
2194
2195 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2196
2197 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2198
2199 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2200 VA_CLOSE.
2201 (non_fatal): Likewise.
2202 * objdump.c (objdump_sprintf): Likewise.
2203 * readelf.c (error): Likewise.
2204 (warn): Likewise.
2205
2206 2001-09-25 Jakub Jelinek <jakub@redhat.com>
2207
2208 * readelf.c (do_wide): New.
2209 (options): Add --wide.
2210 (usage, parse_args): Likewise.
2211 (process_program_headers): Put each segment on a single line if
2212 --wide is given.
2213 (process_section_headers): Put each section on a single line if
2214 --wide is given.
2215 * doc/binutils.texi: Document it.
2216 * NEWS: Likewise.
2217
2218 2001-09-25 Alan Modra <amodra@bigpond.net.au>
2219
2220 * readelf.c (print_vma): Print 8 digits of low hex value.
2221
2222 2001-09-24 Andreas Jaeger <aj@suse.de>
2223
2224 * nlmconv.c: Fix warnings about unused attributes and function
2225 prototypes.
2226
2227 * strings.c: Add prototype for get_char.
2228
2229 2000-09-19 H.J. Lu <hjl@gnu.org>
2230
2231 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2232 $(srcdir)/cxxfilt.man.
2233 * doc/Makefile.in: Rebuild.
2234
2235 2001-09-19 Alan Modra <amodra@bigpond.net.au>
2236
2237 * objcopy.c (copy_main): Correct rename-section string parsing.
2238 Consolidate new_name parsing, and error messages.
2239
2240 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2241
2242 * addr2line.c: Don't include <ctype.h>.
2243 (main): For gettext, also set the LC_CTYPE locate facet.
2244 * ar.c (main): Likewise.
2245 * coffdump.c (main): Likewise.
2246 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2247 (main): For gettext, also set the LC_CTYPE locate facet.
2248 Use ISALNUM instead of isalpha/isdigit.
2249 * dllwrap.c: Don't include <ctype.h>.
2250 (main): For gettext, also set the LC_CTYPE locate facet.
2251 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2252 (main): For gettext, also set the LC_CTYPE locate facet.
2253 Use TOUPPER instead of islower/toupper.
2254 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2255 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2256 Use TOUPPER instead of islower/toupper.
2257 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2258 * objcopy.c (main): Likewise.
2259 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2260 (disassemble_bytes): Use ISPRINT instead of isprint.
2261 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2262 (dump_data): Use ISPRINT instead of isprint.
2263 (main): For gettext, also set the LC_CTYPE locate facet.
2264 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2265 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2266 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2267 Use TOUPPER instead of islower/toupper.
2268 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2269 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2270 (write_rc_accelerators): Use ISPRINT instead of isprint.
2271 (write_rc_rcdata): Likewise.
2272 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2273 * srconv.c (main): Likewise.
2274 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2275 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2276 isdigit/isupper/islower.
2277 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2278 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2279 stab_demangle_prefix, stab_demangle_qualified,
2280 stab_demangle_template, stab_demangle_type,
2281 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2282 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2283 (isgraphic): Use ISPRINT instead of isascii/isprint.
2284 (main): Remove HAVE_LC_MESSAGES dependency.
2285 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2286 (pbarray): Use ISPRINT instead of isprint.
2287 (main): For gettext, also set the LC_CTYPE locate facet.
2288 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2289 (format_from_filename): Use ISPRINT instead of isprint.
2290 (main): For gettext, also set the LC_CTYPE locate facet.
2291 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2292 (unicode_print): Use ISPRINT instead of isprint.
2293 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2294 (stab_variable): Use ISDIGIT instead of isdigit.
2295
2296 2001-09-18 Alan Modra <amodra@bigpond.net.au>
2297
2298 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2299 Replace bfd_read call with call to bfd_bread.
2300 (extract_file): Likewise.
2301
2302 * objdump.c (dump_section_header): Cast section->filepos to
2303 unsigned long to suit printf format string.
2304 * readelf.c (process_section_headers): Similarly for sh_offset.
2305 (process_unwind): Likewise.
2306
2307 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2308
2309 * strings.c (encoding, encoding_bytes): New variables.
2310 (long_options): Add --encoding.
2311 (main): Accept -e and --encoding.
2312 (get_char): New function. Read a, possibly wide, character from
2313 the input stream.
2314 (print_strings): Use get_char().
2315 (usage): Document new command line option.
2316 * doc/binutils.texi: Document new command line option.
2317 * NEWS: Announce new command line option.
2318
2319 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
2320
2321 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2322 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2323 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2324 Removed EM_CYGNUS_ARC.
2325
2326 2001-09-04 Jeffrey A Law (law@cygnus.com)
2327
2328 * readelf.c: Include elf/h8 for H8 series definitions.
2329 (guess_is_rela): H8 series if RELA.
2330 (dump_relocations): Handle H8 series relocations.
2331
2332 2001-08-31 Eric Christopher <echristo@redhat.com>
2333
2334 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2335
2336 2001-08-29 Peter Targett <peter.targett@arccores.com>
2337
2338 * MAINTAINERS: Include ARC Maintainer.
2339
2340 2001-08-29 Ben Elliston <bje@redhat.com>
2341
2342 * stabs.c (stab_demangle_template): Initialise s4.
2343
2344 2001-08-27 Alan Modra <amodra@bigpond.net.au>
2345
2346 * readelf.c (dump_relocations): Recognise EM_PPC64.
2347
2348 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2349
2350 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2351
2352 2001-08-25 H.J. Lu <hjl@gnu.org>
2353
2354 * nm.c (print_width): New.
2355 (display_rel_file): Set `print_width' according to
2356 bfd_sprintf_vma.
2357 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2358
2359 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2360
2361 * objcopy.c (use_alt_mach_code): New variable.
2362 (OPTION_ALT_MACH_CODE): Define.
2363 (copy_options): Added --alt-machine-code.
2364 (copy_main): Handle it.
2365 (copy_object): Switch to alternate machine code if requested.
2366 * doc/binutils.texi: Document new option.
2367 * NEWS: Likewise.
2368
2369 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2370
2371 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2372
2373 2001-08-21 H.J. Lu <hjl@gnu.org>
2374
2375 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2376 (display_debug_info): Cast for 64bit hosts.
2377 (display_debug_frames): Likewise.
2378 (process_mips_specific): Likewise.
2379
2380 2001-08-21 Andreas Jaeger <aj@suse.de>
2381
2382 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2383
2384 * sysdump.c: Add missing prototypes.
2385 * srconv.c: Likewise.
2386 * unwind-ia64.c: Likewise.
2387 * coffdump.c: Likewise.
2388
2389 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2390
2391 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2392 of declaring xcalloc.
2393
2394 2001-08-10 H.J. Lu <hjl@gnu.org>
2395
2396 * nm.c (print_value): Add one arg, bfd *.
2397 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2398 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2399 (print_symbol_info_sysv): Likewise.
2400 (print_symbol_info_posix): Likewise.
2401
2402 * objdump.c (dump_section_header): Replace printf_vma with
2403 bfd_printf_vma.
2404 (print_section_stabs): Likewise.
2405 (dump_bfd_header): Likewise.
2406 (objdump_print_value): Replace sprintf_vma with
2407 bfd_sprintf_vma.
2408 (disassemble_bytes): Likewise.
2409 (dump_reloc_set): Likewise.
2410
2411 2001-08-10 Andreas Jaeger <aj@suse.de>
2412
2413 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2414 to build warnings.
2415 * configure: Regenerate.
2416
2417 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2418
2419 * readelf.c: Add missing prototypes.
2420 * objdump.c: Likewise. Format existing prototypes.
2421
2422 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
2423
2424 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2425 of any RELA relocation for the abbrev_offset memory location that
2426 refers to the .debug_abbrev section symbol.
2427
2428 2001-08-07 H.J. Lu <hjl@gnu.org>
2429
2430 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2431 (main): Return process_file ().
2432
2433 2001-08-05 Philip Blundell <philb@gnu.org>
2434
2435 * doc/binutils.texi: Use "Thumb" not "THUMB".
2436
2437 2001-08-03 John Healy <jhealy@redhat.com>
2438
2439 Patch suggested by Frank Eigler <fche@redhat.com>.
2440 * objdump.c (disassemble_data): Fill in section member of the
2441 disasm_info structure.
2442
2443 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2444
2445 * configure.in: Added --with-windres option.
2446 * configure: Regenerated.
2447
2448 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2449
2450 * doc/binutils.texi: Use @command{name} for commands;
2451 use @option{-opt} for options; use @table @env for list of options;
2452 remove spaces arround [ | ] in synopsis.
2453
2454 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2455 center title.
2456
2457 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2458
2459 * objcopy.c: Fix formatting.
2460 (section_rename): New structure.
2461 (OPTION_RENAME_SECTION): New switch.
2462 (copy_usage): Document new switch.
2463 (add_section_rename): New function: Add a node to the section
2464 rename list.
2465 (find_section_rename): New function: Find the new name and
2466 flags for a section.
2467 (setup_section): Call find_section_name to determine the name
2468 of the output section.
2469 (copy_main): Handle OPTION_RENAME_SECTION.
2470 * binutils.texi: Document new switch.
2471 * NEWS: Mention new switch.
2472
2473 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2474
2475 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2476 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2477 bug-binutils@gcc.org.
2478
2479 2001-07-28 Matthias Kramm <kramm@quiss.org>
2480
2481 * bucomm.c (list_supported_architectures): New function.
2482 * bucomm.h (list_supported_architectures): Declare.
2483 * objdump.c (usage): Call the above.
2484
2485 2001-07-25 Dave Brolley <brolley@redhat.com>
2486
2487 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2488 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2489
2490 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2491
2492 * README: Update for 2.11. Change bug reporting email address.
2493 * MAINTAINERS: Tidy up. Change bug reporting email address.
2494
2495 2001-07-16 DJ Delorie <dj@redhat.com>
2496
2497 * resres.c (write_res_header): Align header size.
2498 (res_align_file): Calculate alignment correctly.
2499
2500 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2501 correct 10).
2502 * resrc.c (write_rc_resource): Likewise.
2503 * windres.h (SUBLANG_SHIFT): Define - as 10.
2504
2505 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2506
2507 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2508
2509 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2510
2511 * MAINTAINERS: Add notes about branch checkins.
2512
2513 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
2514
2515 * readelf.c (display_debug_macinfo): New function, display
2516 .debug_macinfo section.
2517 (do_debug_macinfo): New variable.
2518 (parse_args): Handle "-w[mM]" to mean display macro info.
2519 (process_section_headers): Handle debug_macinfo.
2520 (debug_displays): Replace unsupported function with macinfo
2521 function for .debug_macinfo display.
2522 * doc/binutils.texi: Document new command line switch.
2523 * NEWS: Document new feature of readelf.
2524
2525 2001-07-05 H.J. Lu <hjl@gnu.org>
2526
2527 * objcopy.c (filter_symbols): Don't turn undefined symbols
2528 into local.
2529
2530 2001-07-03 H.J. Lu <hjl@gnu.org>
2531
2532 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2533 $@.pod.
2534 (ar.1): Likewise.
2535 (dlltool.1): Likewise.
2536 (nlmconv.1): Likewise.
2537 (nm.1): Likewise.
2538 (objcopy.1): Likewise.
2539 (objdump.1): Likewise.
2540 (ranlib.1): Likewise.
2541 (readelf.1): Likewise.
2542 (size.1): Likewise.
2543 (strings.1): Likewise.
2544 (strip.1): Likewise.
2545 (windres.1): Likewise.
2546 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2547 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2548 $(DEMANGLER_NAME).
2549 (as.1): Removed.
2550 * doc/Makefile.in: Regenerated.
2551
2552 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2553
2554 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2555
2556 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
2557
2558 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2559
2560 2001-06-29 James Cownie <jcownie@etnus.com>
2561
2562 * readelf.c: Support DWARF 2.1 attributes.
2563
2564 2001-06-28 Alan Modra <amodra@bigpond.net.au>
2565
2566 * readelf.c (GET_DATA_ALLOC): Remove.
2567 (GET_DATA): Remove.
2568 (get_data): New function combining above macros, with an extra
2569 test for zero size.
2570 (slurp_rela_relocs): Use get_data, and catch error return.
2571 (slurp_rel_relocs): Likewise.
2572 (get_32bit_program_headers): Likewise.
2573 (get_64bit_program_headers): Likewise.
2574 (get_32bit_section_headers): Likewise.
2575 (get_64bit_section_headers): Likewise.
2576 (get_32bit_elf_symbols): Likewise.
2577 (get_64bit_elf_symbols): Likewise.
2578 (process_section_headers): Likewise.
2579 (process_relocs): Likewise.
2580 (slurp_ia64_unwind_table): Likewise.
2581 (process_unwind): Likewise.
2582 (get_32bit_dynamic_segment): Likewise.
2583 (get_64bit_dynamic_segment): Likewise.
2584 (process_dynamic_segment): Likewise.
2585 (process_version_sections): Likewise.
2586 (process_symbol_table): Likewise.
2587 (dump_section): Likewise.
2588 (display_debug_info): Likewise.
2589 (display_debug_section): Likewise.
2590 (process_section_contents): Likewise.
2591 (process_corefile_note_segment): Likewise.
2592 (process_mips_specific): Likewise. Also free econf32, econf64.
2593
2594 2001-06-25 Alan Modra <amodra@bigpond.net.au>
2595
2596 * readelf.c (dump_relocations): Print "bad symbol index" if
2597 symtab == NULL with non-zero symtab_index.
2598 (process_relocs): Don't bomb if reloc section has no symsec.
2599
2600 2001-06-24 H.J. Lu <hjl@gnu.org>
2601
2602 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2603 by accident.
2604 (copy_main): Apply the the change made to strip_main on
2605 2001-05-30 by accident.
2606
2607 2001-06-23 Andreas Jaeger <aj@suse.de>
2608
2609 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2610 parameter 'code'.
2611 (unw_decode_x2): Likewise.
2612 (unw_decode_x3): Likewise.
2613 (unw_decode_x4): Likewise.
2614
2615 2001-06-23 Ben Elliston <bje@redhat.com>
2616
2617 * MAINTAINERS: Add myself as M88k maintainer.
2618
2619 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2620
2621 * objcopy.c (strip_main): Support -o or --output-file command lien
2622 switch.
2623
2624 2001-06-19 H.J. Lu <hjl@gnu.org>
2625
2626 * doc/Makefile.in: Regenerated.
2627
2628 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2629
2630 * readelf.c: Restore formatting.
2631
2632 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2633
2634 * Makefile.am: Move documentation into doc subdirectory.
2635 * Makefile.in: Regenerated.
2636 * binutils.texi: Move into doc subdirectory.
2637 * addr2line.1: Removed.
2638 * ar.1: Likewise.
2639 * dlltool.1: Likewise.
2640 * nlmconv.1: Likewise.
2641 * nm.1: Likewise.
2642 * objcopy.1: Likewise.
2643 * objdump.1: Likewise.
2644 * ranlib.1: Likewise.
2645 * readelf.1: Likewise.
2646 * size.1: Likewise.
2647 * strings.1: Likewise.
2648 * strip.1: Likewise.
2649 * windres.1: Likewise.
2650 * cxxfilt.man: Likewise.
2651 * doc: New Directory.
2652 * doc/Makefile.am: New file.
2653 * doc/Makefile.in: Generate.
2654
2655 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2656
2657 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2658
2659 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2660
2661 * MAINTAINERS: Update my email address.
2662
2663 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2664
2665 * objcopy.c: Add new switches: --keep-global-symbol,
2666 --keep-symbols, --localize-symbols, --keep-global-symbols and
2667 --weaken-symbols.
2668 * binutils.texi: Document new switches.
2669 * objcopy.1: Regenerate.
2670 * NEWS: Announce new feature.
2671
2672 2001-05-28 Andreas Jaeger <aj@suse.de>
2673
2674 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2675 variables, fix format strings.
2676
2677 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2678
2679 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2680 when computing the address of the line to show.
2681
2682 2001-05-16 Richard Henderson <rth@redhat.com>
2683
2684 * readelf.c (do_debug_frames_interp): New.
2685 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2686 (byte_get_big_endian): Likewise.
2687 (parse_args) ['F']: Set do_debug_frames_interp.
2688 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2689 (frame_display_row): Don't trunc pc_begin to int.
2690 (size_of_encoded_value): New.
2691 (display_debug_frames): Handle 64-bit targets. Print raw data
2692 unless do_debug_frames_interp.
2693 (debug_displays): Remove duplicate .debug_frame.
2694
2695 2001-05-15 Ralf Baechle <ralf@gnu.org>
2696
2697 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2698 The former constant was never in active use and is used otherwise
2699 by the ABI.
2700
2701 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2702
2703 * readelf.c (process_unwind): Print all unwind sections, not just
2704 one.
2705
2706 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2707
2708 * readelf.c (process_unwind): Remove const specifier.
2709
2710 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2711
2712 * strings.c (isgraphic): Do not use isascii() unless it is needed
2713 for isprint() to work.
2714 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2715
2716 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2717
2718 * NEWS: Announce support for OpenRISC.
2719
2720 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2721
2722 * dlltool.c (do_default_excludes): Initialise to true.
2723
2724 2001-04-10 Alan Modra <amodra@one.net.au>
2725
2726 * MAINTAINERS: Update my email address
2727 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2728
2729 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2730
2731 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2732
2733 2001-03-30 H.J. Lu <hjl@gnu.org>
2734
2735 * readelf.c (process_unwind): Just return if do_unwind is 0.
2736
2737 2001-03-28 Roger Sayle <roger@metaphorics.com>
2738
2739 * dlltool.c (make_one_lib_file): Fix section flags for
2740 .text, .data and .bss in stub ds*.o files to match those
2741 generated by gas.
2742
2743 2001-03-29 H.J. Lu <hjl@gnu.org>
2744
2745 * readelf.c (process_unwind): Only do unwind sections for
2746 IA64.
2747
2748 2001-03-28 H.J. Lu <hjl@gnu.org>
2749
2750 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2751 * Makefile.in: Regenerate.
2752
2753 2001-03-26 Andreas Jaeger <aj@suse.de>
2754
2755 * binutils.texi (nm): Fix texi syntax.
2756
2757 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2758
2759 * binutils.texi: Put @c man begin and @c man end indications
2760 to generate man pages using texi2pod and pod2man. Put @c man title
2761 to identify each man. Add SEEALSO entries.
2762 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2763 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2764 sort the list.
2765 (*.1): Build the man pages from binutils.texi.
2766 * Makefile.in: Regenerate.
2767
2768 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2769
2770 * defparse.y (opt_equal_name): allow "." in name.
2771 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2772 (gen_exp_file): Likewise.
2773
2774 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2775
2776 * NEWS: Document addition of -B switch to objcopy.
2777 * binutils.texi: Document addition of -B switch to objcopy.
2778 * objcopy.c: (copy_options): Add --binary-architecture.
2779 (copy_usage): Document -B/--binary-architecture.
2780 (copy_main): Support -B/--binary-architecture. Set
2781 bfd_external_binary_architecture.
2782
2783 2001-03-11 Andreas Jaeger <aj@suse.de>
2784
2785 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2786 (dump_relocations): Likewise.
2787 (get_machine_name): Likewise.
2788
2789 2001-02-28 Nick Clifton <nickc@redhat.com>
2790
2791 * readelf.c: (struct unw_aux_info): Remove const modifier for
2792 'strtab' field.
2793 (process_unwind): Remove non-K&R compliant LHS type cast in call
2794 to GET_DATA_ALLOC macro.
2795
2796 2001-02-28 Philip Blundell <pb@futuretv.com>
2797
2798 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2799 ABI is in use; remove ambiguity between the "unknown" EABI and
2800 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2801 renamed EF_xx constants.
2802
2803 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2804
2805 * configure.in (BFD_VERSION): New.
2806 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2807 * configure: Regenerate.
2808 * Makefile.am: Run "make dep-am"
2809 * Makefile.in: Regenerate.
2810
2811 2001-02-14 Nick Clifton <nickc@redhat.com>
2812
2813 * MAINTAINERS: Add "Obvious Fix" rule.
2814
2815 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2816
2817 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2818 literal concatenation.
2819
2820 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2821
2822 * readelf.c (struct unw_aux_info): Remove const from the info member.
2823 (process_unwind): Don't type-cast the third argument to the
2824 GET_DATA_ALLOC macro.
2825
2826 2001-02-11 Nick Clifton <nickc@redhat.com>
2827
2828 * readelf.c (dump_relocations): Free corrected allocated
2829 array.
2830 (process_unwind): Fix compile time warning.
2831
2832 2001-02-10 Nick Clifton <nickc@redhat.com>
2833
2834 * binutils.texi: Document new --unwind option to readelf.
2835
2836 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2837
2838 * readelf.c: Add linux target for S/390.
2839
2840 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2841
2842 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2843 printf is a macro.
2844
2845 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2846
2847 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2848 * aclocal.m4: Regenerate.
2849 * configure: Regenerate.
2850
2851 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2852
2853 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2854 * objdump.c (bfd_target_vector): Likewise.
2855
2856 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2857
2858 * readelf.c (process_unwind): New function.
2859 (slurp_ia64_unwind_table): Ditto.
2860 (dump_ia64_unwind): Ditto.
2861 (find_symbol_for_address): Ditto.
2862 (slurp_rela_relocs): New function (split off from dump_relocations()).
2863 (slurp_rel_relocs): Ditto.
2864 (parse_args): Handle '-u' option.
2865
2866 * unwind-ia64.c: New file.
2867 * unwind-ia64.h: New file.
2868 * Makefile.am: Include unwind-ia64.c in readelf build.
2869 * Makefile.in: Regenerate.
2870 * po/binutils.pot: Regenerate.
2871
2872 2001-02-04 Philip Blundell <philb@gnu.org>
2873
2874 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2875 * configure: Regenerate.
2876
2877 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2878
2879 * ieee.c (ieee_add_bb11): Don't check for backslashes
2880 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2881
2882 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2883
2884 * ieee.c: Update copyright.
2885 (ieee_start_compilation_unit): Don't check for backslashes
2886 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2887
2888 * stabs.c: Update copyright. Include "filenames.h".
2889 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2890
2891 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2892
2893 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2894 sections are present before using them. Remove code duplication.
2895 (process_symbol_table): Check if VERDEF or VERNEED sections are
2896 present before using them.
2897
2898 2001-01-17 Nick Clifton <nickc@redhat.com>
2899
2900 * objcopy.c (copy_object): Fail if attempting to convert the
2901 endianness of the input object file.
2902
2903 * binutils.texi: Explain that objcopy cannot convert endianness.
2904
2905 2001-01-16 Nick Clifton <nickc@redhat.com>
2906
2907 * readelf.c (string_table_length): New variable.
2908 (SECTION_NAME): Catch out of range indices and missing section
2909 pointers.
2910 (process_section_headers): Delete useless local variable
2911 string_table_offset. Set the value of string_table_length
2912 after loading the string table.
2913 (process_mips_specific): Use SECTION_NAME macro.
2914 (process_file): Set string_table_length to 0 when it is freed.
2915
2916 2001-01-12 Nick Clifton <nickc@redhat.com>
2917
2918 * version.c (print_version): Update copyright date.
2919
2920 2001-01-11 Peter Targett <peter.targett@arccores.com>
2921
2922 * readelf.c (dump_relocations): Include selection with EM_ARC.
2923 (get_machine_name) Update name to "ARC".
2924
2925 2001-01-09 Nick Clifton <nickc@redhat.com>
2926
2927 * Makefile.am: Add rule to build objdump.o from objdump.c and
2928 using OBJDUMP_DEFS.
2929 * Makefile.in: Regenerate.
2930
2931 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2932 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2933 -DDISASSEMBLER_NEEDS_RELOCS.
2934 * configure: Regenerate.
2935
2936 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2937 is defined read in the relocs even if dump_reloc_info is
2938 false.
2939
2940 2001-01-07 Philip Blundell <philb@gnu.org>
2941
2942 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2943 `bug-binutils'.
2944 * README: Likewise.
2945
2946 2000-12-19 Nick Clifton <nickc@redhat.com>
2947
2948 * dlltool.c: Add missing support for arm-epoc-pe.
2949 * configure.in: Add missing support for arm-epoc-pe.
2950 * configure: Regenerate.
2951
2952 2000-12-15 Nick Clifton <nickc@redhat.com>
2953
2954 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2955 Mode parts of the x86 port.
2956
2957 2000-12-04 Andreas Jaeger <aj@suse.de>
2958
2959 * readelf.c (guess_is_rela): Add EM_X86_64.
2960 (dump_relocations): Add EM_X86_64.
2961 (get_machine_name): Add EM_X86_64.
2962 Include "elf/x86-64.h".
2963
2964 2000-12-12 Nick Clifton <nickc@redhat.com>
2965
2966 * readelf.c: Fix formatting.
2967
2968 2000-12-11 Jan Hubicka <jh@suse.cz>
2969
2970 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2971
2972 2000-12-07 Andrew Haley <aph@redhat.com>
2973
2974 * readelf.c (display_debug_frames): Only display columns that are
2975 referenced by the frame debug info.
2976
2977 2000-12-05 Nick Clifton <nickc@redhat.com>
2978
2979 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2980
2981 2000-12-04 Jason Merrill <jason@redhat.com>
2982
2983 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2984 (display_debug_section): Likewise.
2985 (display_debug_info): Display CU header before bailing.
2986
2987 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2988
2989 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2990 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2991 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2992
2993 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2994 and E_MIPS_ARCH_64.
2995
2996 * readelf.c (get_machine_flags): Add case for
2997 E_MIPS_MACH_SB1.
2998
2999 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
3000
3001 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3002
3003 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3004
3005 * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
3006 Change sourceware.cygnus.com to sources.redhat.com.
3007 Fix typo for "amongst".
3008
3009 2000-11-28 Nick Clifton <nickc@redhat.com>
3010
3011 * strip.1 (COPYING): Mention that the GNU Free Documentation
3012 License is present in the sources, but not the output, and
3013 also available from the GNU website.
3014 (GNU Free Documentation License): Comment out this section.
3015 * strings.1: Ditto.
3016 * size.1: Ditto.
3017 * ranlib.1: Ditto.
3018 * objdump.1: Ditto.
3019 * objcopy.1: Ditto.
3020 * nm.1: Ditto.
3021 * nlmconv.1: Ditto.
3022 * ar.1: Ditto.
3023 * addr2line.1: Ditto.
3024
3025 2000-11-27 DJ Delorie <dj@redhat.com>
3026
3027 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3028 (parse_args): Support -wf option.
3029 (process_section_headers): Ditto.
3030 (debug_displays): Ditto.
3031 (display_debug_frames): New, dump *_frame sections.
3032 (frame_need_space): Support for above.
3033 (frame_display_row): Ditto.
3034 * binutils.texi: Document it.
3035
3036 2000-11-24 Nick Clifton <nickc@redhat.com>
3037
3038 * NEWS: Announce support for v5t, v5te and XScale.
3039
3040 2000-11-22 Nick Clifton <nickc@redhat.com>
3041
3042 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3043 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3044 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3045 (get_elf_section_flags: Add SHF_GROUP.
3046 (process_section_headers): Adjust output for 32-bit binaries
3047 to look nice on an 80 column terminal.
3048
3049 2000-11-20 H.J. Lu <hjl@gnu.org>
3050
3051 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3052 ELFOSABI_AIX.
3053
3054 2000-11-17 Richard Henderson <rth@redhat.com>
3055
3056 * readelf.c (display_debug_lines): Adjust last change to
3057 use sizeof (external->li_length).
3058
3059 2000-11-17 Richard Henderson <rth@redhat.com>
3060
3061 * readelf.c (display_debug_lines): Fix section length check
3062 and end_of_sequence computation.
3063
3064 2000-11-06 Nick Clifton <nickc@redhat.com>
3065
3066 * binutils.texi: Add GNU Free Documentation License.
3067 * objcopy.1: Add GNU Free Documentation License.
3068 * objdump.1: Add GNU Free Documentation License.
3069 * addr2line.1: Add GNU Free Documentation License.
3070 * ar.1: Add GNU Free Documentation License.
3071 * nlmconv.1: Add GNU Free Documentation License.
3072 * nm.1: Add GNU Free Documentation License.
3073 * ranlib.1: Add GNU Free Documentation License.
3074 * size.1: Add GNU Free Documentation License.
3075 * strings.1: Add GNU Free Documentation License.
3076 * strip.1: Add GNU Free Documentation License.
3077
3078 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
3079
3080 * objcopy.c (--srec-len=nn): New parameter to set the
3081 maximum length of generated Srecords.
3082 (--srec-forceS3): New parameter that restricts the generation of
3083 Srecords to type S3 only.
3084 * binutils.texi: Document new command line switches.
3085 * objcopy.1: Docuemnt the new command line switches.
3086 * NEWS: Announce the existence of the new command line switches.
3087
3088 2000-10-31 Nick Clifton <nickc@redhat.com>
3089
3090 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3091 code. Add Eric Chrisopher as maintainer of MN10300 port.
3092
3093 2000-10-12 Roger Sayle <roger@metaphorics.com>
3094
3095 * Make comma after string after icon/control optional.
3096
3097 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3098
3099 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3100
3101 * NEWS: Mention support for MIPS32.
3102
3103 2000-09-08 Nick Clifton <nickc@redhat.com>
3104
3105 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3106
3107 2000-09-07 H.J. Lu <hjl@gnu.org>
3108
3109 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3110 * configure: Rebuild.
3111
3112 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3113
3114 * configure: Rebuilt with new libtool.m4.
3115
3116 2000-09-05 Nick Clifton <nickc@redhat.com>
3117
3118 * aclocal.m4: Regenerate.
3119 * config.in: Regenerate.
3120 * configure: Regenerate.
3121
3122 2000-09-04 Todd Vierling <tv@wasabisystems.com>
3123
3124 * strip.1: Fix stray '\' in -o formatting.
3125
3126 2000-09-02 Nick Clifton <nickc@redhat.com>
3127
3128 * configure.in: Increase version number to 2.10.91.
3129 * configure: Regenerate.
3130 * aclocal.m4: Regenerate.
3131 * config.in: Regenerate.
3132 * po/binutils.pot: Regenerate.
3133
3134 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3135
3136 * acinclude.m4: Include libtool and gettext macros from the
3137 top level.
3138 * aclocal.m4, configure: Rebuilt.
3139
3140 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
3141
3142 * resrc.c (close_input_stream): Delete extraneous logic
3143
3144 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3145
3146 * NEWS: Mention support for CRIS.
3147
3148 2000-08-21 Nick Clifton <nickc@redhat.com>
3149
3150 * addr2line.c: Changed email address for Ulrich Lauther.
3151
3152 2000-08-17 Christopher C. Chimelis <chris@debian.org>
3153
3154 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3155
3156 2000-08-17 Nick Clifton <nickc@redhat.com>
3157
3158 * readelf.c (display_debug_pubnames): Only issue warning
3159 message once. Terminate message with a new line.
3160 (display_debug_aranges): Only display version 2 debug info.
3161
3162 2000-08-14 Todd Vierling <tv@wasabisystems.com>
3163
3164 * objcopy.c (strip_main): Silently accept -d as an alias for -g
3165 for compatability with old BSD systems.
3166
3167 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3168
3169 * NEWS: Mention i860 support.
3170
3171 2000-08-11 Carlo Wood <carlo@alinoe.com>
3172
3173 * addr2line.c (main): Add const to char *.
3174
3175 2000-08-11 Geoff Keating <geoffk@cygnus.com>
3176
3177 * ar.c (main): Don't crash if called with no arguments
3178 or only '-X32_64' as an argument.
3179
3180 2000-08-08 DJ Delorie <dj@redhat.com>
3181
3182 * resrc.c: use "gcc -xc" instead of -xc-header
3183
3184 2000-08-05 Jason Eckhardt <jle@cygnus.com>
3185
3186 * readelf.c (elf/i860.h): Include.
3187 (dump_relocations): Add recognition of i860 architecture.
3188 (guess_is_rela): Add recognition of i860 architecture.
3189
3190 2000-08-03 Nick Clifton <nickc@cygnus.com>
3191
3192 * MAINTAINERS: Add information about CGEN maintainers.
3193
3194 2000-07-26 Geoff Keating <geoffk@cygnus.com>
3195
3196 * nm.c (main): Ignore '-X32_64' as an option.
3197 * ar.c (main): Likewise.
3198 * binutils.texi (nm): Document new option.
3199 (ar): Likewise.
3200
3201 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3202
3203 * rdcoff.c (external_coff_symbol_p): K&R-ise.
3204
3205 2000-07-20 H.J. Lu <hjl@gnu.org>
3206
3207 * binutils.texi: Put back "@end table" deleted by
3208 accident.
3209
3210 2000-07-05 Kenneth Block <krblock@computer.org>
3211
3212 * nm.c: Add optional style to demangle switch.
3213 * objdump.c: Add optional style to demangle switch.
3214 * addr2line.c: Add optional style to demangle switch.
3215 * binutils.texi: Document optional style to demangle
3216 switch.
3217
3218 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3219
3220 * MAINTAINERS: Add self as CRIS port maintainer.
3221 * readelf.c: Include elf/cris.h.
3222 (guess_is_rela): Handle EM_CRIS.
3223 (dump_relocations): Ditto.
3224 (get_machine_name): Ditto.
3225 * Makefile.am: Rebuild dependencies.
3226 * Makefile.in: Regenerate.
3227 * po/binutils.pot: Regenerate.
3228
3229 2000-07-19 H.J. Lu <hjl@gnu.org>
3230
3231 * readelf.c (get_dynamic_type): Change "AUXILARY" to
3232 "AUXILIARY".
3233 (process_dynamic_segment): Print out strings for DT_CONFIG,
3234 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3235
3236 2000-07-19 Mark Kettenis <kettenis@gnu.org>
3237
3238 * nm.c (usage): Change output of `nm --help' to include a
3239 description of the purpose of the program and a detailed
3240 description of the accepted options.
3241
3242 2000-07-19 H.J. Lu <hjl@gnu.org>
3243
3244 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3245 to DF_1_NODEFLIB.
3246
3247 2000-07-19 H.J. Lu <hjl@gnu.org>
3248
3249 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3250
3251 2000-07-19 H.J. Lu <hjl@gnu.org>
3252
3253 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3254 DT_FEATURE.
3255 (process_dynamic_segment): Likewise.
3256
3257 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3258 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3259 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3260 DF_1_NODUMP and DF_1_CONLFAT.
3261
3262 2000-07-18 Nick Clifton <nickc@cygnus.com>
3263
3264 * binutils.texi (readelf): Fix spelling typo.
3265
3266 2000-07-11 Mark Kettenis <kettenis@gnu.org>
3267
3268 * objdump.c (usage): Make output of `objdump --help' more
3269 consistent with the rest of the GNU world. Add a line describing
3270 the purpose of the program.
3271
3272 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
3273
3274 * stabs.c (parse_stab_range_type): Cast to proper type to fix
3275 warning.
3276
3277 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3278
3279 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3280 to fix warnings.
3281 (process_symbol_table): Ditto.
3282 (procesS_extended_line_op): Ditto.
3283 (display_debug_lines): Ditto.
3284 (display_debug_pubnames): Ditto.
3285 (read_and_display_attr): Ditto.
3286
3287 2000-07-09 Nick Clifton <nickc@cygnus.com>
3288
3289 * MAINTAINERS: Add several more port specific maintainers.
3290
3291 2000-07-05 Nick Clifton <nickc@cygnus.com>
3292
3293 * MAINTAINERS: Add blanket write privs for Michael Meissner.
3294
3295 2000-06-05 DJ Delorie <dj@redhat.com>
3296
3297 * MAINTAINERS: New.
3298
3299 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
3300
3301 * dllwrap.c: Changed mistaken dyn_string_append() calls
3302 to dyn_string_append_cstr().
3303
3304 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
3305
3306 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3307 struct debug_type stores size in bytes.
3308
3309 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3310
3311 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3312 (CLEANFILES): Add DEPA.
3313 * Makefile.in: Regenerate.
3314
3315 2000-06-27 Alan Modra <alan@linuxcare.com.au>
3316
3317 * ar.c: Revert incorrect 2000-06-25 patch.
3318 * bucomm.c: Likewise.
3319
3320 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3321
3322 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3323 (external_coff_symbol_p): New function.
3324 (parse_coff): Use it.
3325
3326 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
3327
3328 * ar.c (normalize): Advance past both characters in a DOS based
3329 <letter>: filepath prefix.
3330 (main): Likewise.
3331 * bucomm.c (make_tempname): Likewise.
3332
3333 2000-06-24 Nick Clifton <nickc@cygnus.com>
3334
3335 * objdump.c (usage): Fix description of --stabs switch.
3336
3337 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3338
3339 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3340 find one.
3341 * Makefile.in: Regenerate.
3342
3343 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
3344
3345 * ar.c (normalize): Correct pointer comparison when checking for
3346 backslashes.
3347 (main): Likewise.
3348 * bucomm.c (make_tempname): Likewise.
3349
3350 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3351 and search for backslashes in the original pathname.
3352 (ieee_add_bb11): Likewise.
3353
3354 2000-06-18 Nick Clifton <nickc@redhat.com>
3355
3356 * ar.c (print_contents): Improve verbose message.
3357
3358 2000-06-15 H.J. Lu <hjl@gnu.org>
3359
3360 * dyn-string.c: Removed. Not needed with dyn-string.c in
3361 libiberty.
3362 * dyn-string.h: Likewise.
3363
3364 * Makefile.am: Remove references to dyn-string.c and
3365 dyn-string.h. Rebuild dependency.
3366 * Makefile.in: Rebuild.
3367
3368 2000-06-15 H.J. Lu <hjl@gnu.org>
3369
3370 * binutils.texi: Put a warning on copying relocatable object
3371 files between two different formats.
3372
3373 2000-06-13 DJ Delorie <dj@cygnus.com>
3374
3375 * rcparse.y (control): ICON controls take an id as the first
3376 parameter, not an optional string. Also, call new convenience
3377 function that takes res_id's.
3378 * resrc.c (define_control): missing text means zero-length string,
3379 not zero ID.
3380 (define_icon_control): New.
3381 * windres.h: declare define_icon_control.
3382
3383 2000-06-13 H.J. Lu <hjl@gnu.org>
3384
3385 * configure: Regenerate.
3386
3387 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3388
3389 * configure.in (VERSION): Update to show this is the CVS mainline.
3390
3391 2000-06-02 David O'Brien <obrien@FreeBSD.org>
3392
3393 * strings.c (isgraphic): Interpret <TAB> as a printable character,
3394 analogous to <SPACE>.
3395
3396 2000-05-30 Alan Modra <alan@linuxcare.com.au>
3397
3398 * objdump.c (display_target_list): Use bfd_close_all_done, not
3399 bfd_close to fix crash caused by 2000-05-24 change.
3400
3401 2000-05-25 DJ Delorie <dj@cygnus.com>
3402
3403 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3404
3405 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3406
3407 * Makefile.am: Update dependencies with "make dep-am"
3408 * Makefile.in: Regenerate.
3409
3410 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3411
3412 * ar.c: Include filenames.h.
3413 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3414 and drive letters in file names.
3415 (main): Support backslashes and drive letters in argv[0]. Drop
3416 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
3417 FILENAME_CMP instead of strcmp to compare file names.
3418 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3419 DJGPP v2.
3420 (do_quick_append) [__GO32__]: Ditto.
3421 (get_pos_bfd, delete_members, move_members, replace_members):
3422 Compare file names with FILENAME_CMP.
3423
3424 * bucomm.c: Include filenames.h.
3425 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3426 forward/backward slashes and drive letters in file names.
3427
3428 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3429 mixed forward/backward slashes and drive letters in file names.
3430
3431 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3432 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3433 mode.
3434
3435 * objcopy.c: Include filenames.h.
3436 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3437 before comparing to "strip".
3438 Use FILENAME_CMP to compare file names.
3439
3440 * arsup.c: Include filenames.h.
3441 (map_over_list, ar_delete, ar_replace, ar_extract): Use
3442 FILENAME_CMP to compare file names.
3443 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3444 the temporary file name.
3445
3446 * configure.in: Check for setmode.
3447 * configure: Regenerate.
3448
3449 2000-05-24 Alan Modra <alan@linuxcare.com.au>
3450
3451 * objdump.c (display_target_list): Close the bfd.
3452 (display_info_table): Likewise.
3453
3454 2000-05-14 H.J. Lu (hjl@gnu.org)
3455
3456 * objcopy.c (filter_symbols): Don't strip global symbols in
3457 relocatable object files.
3458
3459 2000-05-14 Alan Modra <alan@linuxcare.com.au>
3460
3461 * size.c (usage): Associate short options with corresponding long
3462 option to give a clue as to their function.
3463
3464 2000-05-14 Philippe De Muyter <phdm@macqel.be>
3465
3466 * size.c (main): Accept and ignore `-f' option.
3467
3468 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3469
3470 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3471 bindtextdomain): Replace defines with those from intl/libgettext.h
3472 to quieten gcc warnings.
3473
3474 2000-05-12 H.J. Lu <hjl@gnu.org>
3475
3476 * nlmconv.c (temp_filename): Removed.
3477
3478 * nlmconv.c (link_inputs): Use make_temp_file () instead of
3479 choose_temp_base ().
3480 * objdump.c (display_target_list): Likewise.
3481 (display_info_table): Likewise.
3482
3483 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3484
3485 * objcopy.c (setup_section): Add const and gettext calls for err.
3486
3487 2000-05-02 H.J. Lu <hjl@gnu.org>
3488
3489 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3490 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3491 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3492 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3493 and ELFOSABI_OPENBSD.
3494
3495 2000-05-02 Kazu Hirata <kazu@hxi.com>
3496
3497 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3498 * srconv.c: Likewise.
3499 * sysdump.c: Likewise.
3500
3501 2000-04-23 Denis Chertykov <denisc@overta.ru>
3502
3503 * readelf.c (guess_is_rela): AVR uses RELA relocations.
3504 (get_machine_name): machine name for EM_AVR added.
3505
3506 2000-04-21 Richard Henderson <rth@cygnus.com>
3507 David Mosberger <davidm@hpl.hp.com>
3508
3509 * Makefile.am (readelf.o): Add elf/ia64.h.
3510 * Makefile.in: Rebuild.
3511 * readelf.c: Include elf/ia64.h.
3512 (guess_is_rela, dump_relocations): Handle EM_IA_64.
3513
3514 2000-04-17 Timothy Wall <twall@cygnus.com>
3515
3516 * objdump.c (disassemble_data): Set octets per byte *after*
3517 resolving arch/mach for binary files.
3518
3519 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3520
3521 * arlex.l: Add directives to increase lex buffer size.
3522
3523 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3524 already included by bucomm.h.
3525
3526 2000-04-10 Philippe De Muyter <phdm@macqel.be>
3527
3528 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3529 `strftime' since strftime is not available on all systems.
3530 (process_mips_specific): Ditto.
3531
3532 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3533
3534 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3535 --enable-build-warnings option.
3536 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3537 * Makefile.in, configure: Re-generate.
3538
3539 2000-04-06 Alan Modra <alan@linuxcare.com.au>
3540
3541 * addr2line.c: Update copyright.
3542 * objcopy.1: Likewise, and title.
3543 * strings.1: Likewise.
3544
3545 * version.c (print_version): Add 2000.
3546
3547 * rddbg.c (read_section_stabs_debugging_info): Don't use
3548 bfd_size_type for strx to avoid printf problems if BFD64.
3549
3550 * bucomm.c: (report): Remove `static'.
3551 Move inclusion of stdarg.h/vararg.h from here.
3552 * bucomm.h: To here.
3553 (CONST): Change all occurences to const.
3554 (report): Declare it.
3555 (bfd_fatal): Add ATTRIBUTE_NORETURN.
3556 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3557 (non_fatal): Add ATTRIBUTE_PRINTF_1.
3558
3559 * ar.c (main): Use fatal or non_fatal instead of fprintf.
3560 Correct a typo in an error message.
3561 (do_quick_append): Use non_fatal instead of fprintf.
3562 (move_members): Use fatal instead of fprintf, exit.
3563 * coffdump.c (main): Same here.
3564
3565 * dlltool.c (display): Delete.
3566 (warn): Delete.
3567 (inform): Use `report' instead of `display'.
3568 (rvaafter): Remove trailing \n from fatal error msg.
3569 (rvabefore): Ditto.
3570 (asm_prefix): Ditto.
3571 (yyerror): Replace `warn' with `non_fatal', and remove \n.
3572 (def_name): Likewise.
3573 (run): Likewise.
3574 (scan_all_symbols): Likewise.
3575 (gen_lib_file): Likewise.
3576 (def_library): Likewise. Remove extra program_name too.
3577 (run): Remove \n from inform strings.
3578 (scan_drectve_symbols): Likewise.
3579 (add_excludes): Likewise.
3580 (scan_open_obj_file): Likewise.
3581 (gen_exp_file): Likewise.
3582 (gen_lib_file): Likewise.
3583 (process_duplicates): Likewise.
3584
3585 * Makefile.am (dllwrap_SOURCES): Add version.c.
3586 * dllwrap.c (program_version): Delete.
3587 (print_version): Delete.
3588 (display): Always print trailing \n.
3589 (warn): New.
3590 (delete_temp_files): Use warn instead of fprintf. Use gettext.
3591 (run): Here too.
3592 (main): And here.
3593 (usage): gettext'ify.
3594 (long_options): Add missing initialisers.
3595
3596 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3597 (select_output_format): Likewise.
3598 (powerpc_mangle_relocs): Likewise.
3599 (link_inputs): Likewise.
3600
3601 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3602 (set_output_format): Likewise.
3603 (main): Use non_fatal instead of fprintf.
3604 (display_rel_file): Likewise.
3605
3606 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3607 (slurp_dynamic_symtab): Same here.
3608 (disassemble_data): And here.
3609 (read_section_stabs): And here.
3610 (read_section_stabs): And here.
3611 (dump_bfd): And here.
3612 (main): And here.
3613 (objdump_sprintf): Use fatal instead of fprintf, exit.
3614 (disassemble_data): Same here.
3615
3616 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3617 (parse_coff_struct_type): Same here.
3618 (parse_coff_enum_type): And here.
3619 (parse_coff): And here.
3620 * rddbg.c (read_debugging_info): And here.
3621 * size.c (main): And here.
3622 * windres.c (format_from_name): And here.
3623 * wrstabs.c (stab_write_symbol): Here too.
3624 (write_stabs_in_sections_debugging_info): And here.
3625 (stab_int_type): And here.
3626 (stab_struct_field): And here.
3627 (stab_typdef): And here.
3628
3629 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3630 * srconv.c (main): Same here.
3631 * strings.c (main): And here.
3632 (integer_arg): And here.
3633 * sysdump.c (main): And here.
3634
3635 2000-04-06 Timothy Wall <twall@cygnus.com>
3636
3637 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3638
3639 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3640
3641 * readelf.c (decode_location_expression): Loop through multiple
3642 operations.
3643 (read_and_display_attr): Pass in length.
3644
3645 * readelf.c (read_and_display_attr): Add CU offset to references.
3646 (display_debug_info): Pass it in.
3647
3648 2000-04-06 Nick Clifton <nickc@cygnus.com>
3649
3650 * readelf.c (decode_ARM_machine_flags): New function.
3651 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3652 targets.
3653
3654 (get_machine_name): Catch EM_AVR
3655
3656 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3657
3658 * binutils.texi: Remove optional `=' from long options that have
3659 an `=' in the argument.
3660 * objcopy.1: Here too. Remove extra space on discard-all.
3661
3662 * binutils.texi (objcopy): Mention --redefine-sym.
3663 * objcopy.1: Here too.
3664 * NEWS: And here.
3665
3666 * objcopy.c (parse_flags): Split off flag names from error message
3667 gettext as they are not translated.
3668 (copy_main): Similarly split off option name for --add-section,
3669 --set-section-flags, --change-section-vma, --change-section-lma
3670 error messages.
3671 Some white space changes.
3672
3673 from Matthew Benjamin <matt@linuxbox.nu>
3674 * objcopy.c (struct redefine_node): New.
3675 (redefine_sym_list): New.
3676 (redefine_list_append): New.
3677 (lookup_sym_redefinition): New.
3678 (OPTION_REDEFINE_SYM): New.
3679 (copy_options): Add --redefine-sym option.
3680 (copy_usage): Mention it.
3681 (filter_symbols): Rename symbols on redefine_sym_list.
3682 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3683 (copy_main): Handle OPTION_REDEFINE_SYM.
3684
3685 2000-04-04 H.J. Lu <hjl@gnu.org>
3686
3687 * readelf.c (process_symbol_table): Correctly read in symbol
3688 versioning information.
3689
3690 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3691
3692 * po/binutils.pot: Regenerate.
3693
3694 * addr2line.c (usage): Restore translated part of bug string.
3695 * ar.c (usage): Likewise.
3696 * nlmconv.c (show_usage): Likewise.
3697 * nm.c (usage): Likewise.
3698 * objcopy.c (copy_usage): Likewise.
3699 (strip_usage): Likewise.
3700 * objdump.c (usage): Likewise.
3701 * readelf.c (usage): Likewise.
3702 * size.c (usage): Likewise.
3703 * strings.c (usage): Likewise.
3704 * windres.c (usage): Likewise.
3705
3706 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3707 (DEP): Quote when passing vars to sub-make. Add warning
3708 message to end.
3709 (DEP1): Rewrite for "gcc -MM".
3710 (CLEANFILES): Add DEP2.
3711 Update dependencies.
3712 * Makefile.in: Regenerate.
3713
3714 2000-04-04 H.J. Lu <hjl@gnu.org>
3715
3716 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3717 (arparse.h): Depend on arparse.c
3718 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3719
3720 2000-04-03 H.J. Lu (hjl@gnu.org)
3721
3722 * size.c (usage): Use REPORT_BUGS_TO.
3723
3724 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3725
3726 * bucomm.h: #include "bin-bugs.h"
3727 * addr2line.c (usage): Use REPORT_BUGS_TO.
3728 * ar.c (usage): Likewise.
3729 * nlmconv.c (show_usage): Likewise.
3730 * nm.c (usage): Likewise.
3731 (OPTION_TARGET): Define.
3732 (long_options): Use OPTION_TARGET rather than 200.
3733 (main): Likewise.
3734
3735 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3736 (strip_usage): Likewise.
3737 * objdump.c (usage): Likewise.
3738 * readelf.c (usage): Likewise.
3739 * strings.c (usage): Likewise.
3740 * windres.c (usage): Likewise.
3741
3742 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3743
3744 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3745
3746 2000-03-27 Nick Clifton <nickc@cygnus.com>
3747
3748 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3749 string offsets in corrupt stabs entries.
3750
3751 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3752
3753 * readelf.c: Include elf/avr.h
3754 (dump_relocations): Add EM_AVR case.
3755
3756 2000-03-09 Tim Waugh <twaugh@redhat.com>
3757
3758 * strings.1: Correct '-bytes' to '--bytes'.
3759
3760 2000-03-08 H.J. Lu <hjl@gnu.org>
3761
3762 * Makefile.am (install-exec-local): Depend on
3763 install-binPROGRAMS for parallel make.
3764 * Makefile.in: Regenerated.
3765
3766 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3767
3768 From Brad Lucier <lucier@math.purdue.edu>:
3769 * readelf.c (process_dynamic_segment): Add cast to make sure
3770 argument to %* is int.
3771
3772 2000-02-25 H.J. Lu <hjl@gnu.org>
3773
3774 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3775
3776 2000-02-24 Nick Clifton <nickc@cygnus.com>
3777
3778 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3779 * configure: Regenerate.
3780
3781 * dlltool.c: Add support for sh-pe and mips-pe targets.
3782 * rescoff.c: Add support for sh-pe and mips-pe targets.
3783
3784 2000-02-23 H.J. Lu <hjl@gnu.org>
3785
3786 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3787
3788 2000-02-22 Nick Clifton <nickc@cygnus.com>
3789
3790 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3791
3792 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3793
3794 From Brad Lucier <lucier@math.purdue.edu>:
3795 * readelf.c (process_version_sections): Add casts to make sure
3796 argument to %* is an int.
3797 (process_mips_specific): Add casts to make printf arguments match
3798 format.
3799
3800 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3801
3802 * objdump.c (dump_section_header): Change `opb' to unsigned.
3803 (find_symbol_for_address): Same here.
3804 (disassemble_data): And here. Change `addr_offset',
3805 `stop_offset', `nextstop_offset' to unsigned long.
3806 (dump_data): Change opb to unsigned.
3807
3808 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3809
3810 * resrc.c: Remove unmatched #if for cygwin.
3811
3812 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3813
3814 * binutils.texi: Document the change of flavor name from atpcs-special
3815 to special-atpcs to prevent name conflict in gdb.
3816
3817 2000-02-08 Timothy Wall <twall@redhat.com>
3818
3819 * objdump.c (show_line): Fix bug preventing printing of the very
3820 first line (line zero) of a file when interlisting source and
3821 assembly. Added option to print entire context from start of file
3822 when the first line from that file is encountered.
3823
3824 2000-02-03 Timothy Wall <twall@redhat.com>
3825
3826 * objdump.c (dump_section_header, find_symbol_for_address,
3827 show_line, disassemble_bytes, disassemble_data, dump_data):
3828 distinguish between octets and bytes.
3829
3830 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3831
3832 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3833 check to unresolved symbols.
3834 (print_symbol_info_sysv): Ditto.
3835 (print_symbol_info_posix): Ditto.
3836
3837 * binutils.texi: Document new 'V' symclass flag for nm.
3838
3839 2000-01-27 Nick Clifton <nickc@redhat.com>
3840
3841 * binutils.texi (objdump): Document new ARM specific
3842 disassembler options.
3843
3844 * objdump.c (usage): Call disassembler_usage().
3845
3846 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3847
3848 * readelf.c (get_dynamic_flags): Return buff.
3849 (process_dynamic_segment): Don't pass error strings to printf
3850 as format arg.
3851 (read_and_display_attr): Use lx and ld to print longs.
3852 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3853 before printing.
3854 Update copyright.
3855
3856 2000-01-17 Nick Clifton <nickc@cygnus.com>
3857
3858 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3859
3860 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3861
3862 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3863 false.
3864 (debug_tag_type): Here too.
3865 * ieee.c (ieee_builtin_type): And here.
3866 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3867
3868 2000-01-13 Nick Clifton <nickc@cygnus.com>
3869
3870 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3871 System/370".
3872
3873 2000-01-11 Nick Clifton <nickc@cygnus.com>
3874
3875 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3876
3877 2000-01-10 Nick Clifton <nickc@cygnus.com>
3878
3879 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3880
3881 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3882
3883 * windres.c (long_options): Add --use-temp-file and
3884 --no-use-temp-file options.
3885 (usage): Document.
3886 (main): Handle.
3887
3888 * windres.h: Update read_rc_file prototype.
3889
3890 * resrc.c (cpp_temp_file): New static variable.
3891 (istream_type): New static variable.
3892 (close_pipe): Delete function.
3893 (run_cmd): New static function.
3894 (open_input_stream): New static function.
3895 (close_input_stream): New static function.
3896 (look_for_default): Handle DOS directory separator. Use
3897 open_input_stream instead of popen.
3898 (read_rc_file): Likewise.
3899
3900 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3901 options.
3902
3903 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3904
3905 * dlltool.c (create_compat_implib): New variable.
3906 (gen_exp_file): Use.
3907 (make_one_lib_file): Use.
3908 (long_options): Add --compat-implib option.
3909 (usage): Handle.
3910 (main): Handle.
3911
3912 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3913 (main): Use. Don't look for "32" in cygwin and mingw target names.
3914
3915 2000-01-03 Nick Clifton <nickc@cygnus.com>
3916
3917 * binutils.texi: Document new, ARM specific disassembler
3918 command line switch "-M force-thumb".
3919
3920 For older changes see ChangeLog-9899
3921 \f
3922 Local Variables:
3923 mode: change-log
3924 left-margin: 8
3925 fill-column: 74
3926 version-control: never
3927 End: