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