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