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