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