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