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