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