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