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