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