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