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