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