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