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