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