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