Index: opcodes/ChangeLog
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
92c2346c
AC
12003-09-03 Andrew Cagney <cagney@redhat.com>
2
3 * objdump.c: Refer to init_disassemble_info in comments.
4 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
5 init_disassemble_info.
6
155e0d23
NC
72003-09-03 Nick Clifton <nickc@redhat.com>
8
9 * objdump.c (struct objdump_disasm_info): Add new fields
10 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
11 (process_section_p): New function: Returns TRUE if a section
12 can be dumped.
13 (disassemble_section): New function: Contains the body of
14 disassemble_data(), but just for one section.
15 (disassemble_data): Use bfd_map_over_sections to walk section
16 chain.
17 (find_stabs_section): New function: Find a stabs containing
18 section and then dump it.
19 (dump_stabs_section): New function: Use bfd_map_over_sections
20 to find the section to dump.
21 (dump_stabs): Use dump_stabs_section.
22 (dump_section): New function: Display the contents of a
23 section.
24 (dump_data): Use bfd_map_over_sections to display section
25 contents.
26 (dump_relocs_in_section): Display the relocs in a given section.
27 (dump_relocs): Use bfd_map_over_sections to display relocs.
28 (adjust_addresses): New function: Adjust the vma and lma of
29 sections.
30 (dump_bfd): Use bfd_map_over_sections.
31 * doc/binutils.texi: Document the "objdump -s" (no longer)
32 dumps empty sections.
33
342003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
35
36 * objdump.c: Improve comments/documentation.
37 dump_data: Eliminate duplicate function calls to bfd_section_size.
38
6b10f68d
AM
392003-09-02 Alan Modra <amodra@bigpond.net.au>
40
41 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
42
3673a93e
NC
432003-08-21 Nick Clifton <nickc@redhat.com>
44
45 * po/tr.po: Updated Turkish translation.
46
51f7282a
AM
472003-08-14 Alan Modra <amodra@bigpond.net.au>
48
55bb4be3 49 * dep-in.sed: Remove libintl.h.
51f7282a 50 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 51 Run "make dep-am".
51f7282a
AM
52 * Makefile.in: Regenerate.
53
d989285c
ILT
542003-08-11 Ian Lance Taylor <ian@airs.com>
55
56 * readelf.c (process_archive): Fix error handling. Remove memory
57 leak.
fb52b2f4
NC
58
59 * readelf.c: Add ability to read archives.
60 (archive_file_offset): New variable.
61 (archive_file_size): New variable.
62 (get_data): Include archive_file_offset in file offset
63 calculation when fseeking.
64 (process_program_headers): Likewise.
65 (process_symbol_table): Likewise.
66 (process_dynamic_segment): Handle computation of end of file
67 position when the file is in an archive.
68 (process_object): New function. Contains the body of
69 process_file().
70 (process_archive): New function. Call process_object on each
71 member of an archive.
72 (process_file): Detect archives and handle appropriately.
73 * Makefile.am: Add dependency on aout/ar.h for readelf.c
74 * Makefile.in: Regenerate.
75 * NEWS: Document readelf's new ability.
76 * doc/binutils: Alter text to say that readelf supports archives
77 and 64-bit ELF files.
78
ff85ab24
NC
792003-08-08 Nick Clifton <nickc@redhat.com>
80
81 * po/fr.po: Updated French translation.
82
d3ba0551
AM
832003-08-05 Alan Modra <amodra@bigpond.net.au>
84
85 * objcopy.c: Remove unnecessary prototypes and casts.
86 * objdump.c: Remove unnecessary casts.
87 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
88 (get_osabi_name): Move so we don't need a forward declaration.
89
43ac9881
AM
902003-08-04 Bradley Harrington <bharring@us.ibm.com>
91 Alan Modra <amodra@bigpond.net.au>
92
93 * objdump.c (include_paths, include_path_count): New vars.
94 (usage): Describe --include.
95 (long_options): Add "include".
96 (add_include_path): New function.
97 (struct print_file_list): Make filename const. Add modname.
98 (try_print_file_open, update_source_path): New functions.
99 (show_line): Use them.
100 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
101
fd7bb956
AM
1022003-07-30 Alan Modra <amodra@bigpond.net.au>
103
104 * objdump.c: Remove unnecessary prototypes.
105 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
106 code, and print relocs when dump_dynamic_reloc_info.
107 (disassemble_data): Read and handle dynamic relocs. Correct reloc
108 skip code. Formatting.
109 (dump_bfd): Don't dump dynamic relocs when disassembling.
110
1e7e751f
BE
1112003-07-29 Ben Elliston <bje@wasabisystems.com>
112
113 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
114 maintenance defaults to the blanket write privilege maintainers.
115
2445335e
MM
1162003-07-29 Michael Meissner <gnu@the-meissners.org>
117
118 * MAINTAINERS: Updated my email address.
119
46dca2e0
NC
1202003-07-29 Nick Clifton <nickc@redhat.com>
121
1e7e751f 122 * objdump.c: Update to ISO C.
46dca2e0 123
834d807b
NC
1242003-07-24 Nick Clifton <nickc@redhat.com>
125
f1e2bc62
NC
126 * objdump.c (disassemble_data): Do not ignore sections without the
127 LOAD flag when disassemble_all is true. Only print a message
128 about disassembling a section if it contains some data.
129
834d807b
NC
130 * po/fr.po: Updated French translation.
131
84e2f313
NC
1322003-07-23 Nick Clifton <nickc@redhat.com>
133
134 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
135 left in. Some formatting tidy ups.
136
51cdc6e0
NC
1372003-07-22 Salvador Eduardo Tropea <set@computer.org>
138
139 * objdump.c: New command line option --debugging-tags.
140 * doc/binutils.texi: Document new command line option.
141 * prdbg.c: Code to print the debug info as tags compatible
142 with ctags.
143 * budbg.h: Adjust prototype.
144 * NEWS: Mention new switch
145
31e0f3cd
NC
1462003-07-18 Nick Clifton <nickc@redhat.com>
147
148 * objdump.c (main) :Accept multiple -M switch.
149 * doc/binutils.texi: Document that multiple -M switches are
150 accepted and that a single -M switch can contain comma
151 separated options.
152
073fbac6
NC
1532003-07-17 Nick Clifton <nickc@redhat.com>
154
155 * objdump.c (main): Issue a warning message if multiple -M
156 switches are used.
157
158 * doc/binutils.texi (objdump): Update documentation about -M
159 option.
160
6c37ac4d
NC
1612003-07-17 Nick Clifton <nickc@redhat.com>
162
163 * po/es.po: New Spanish translation.
164
fce00800
AM
1652003-07-11 Alan Modra <amodra@bigpond.net.au>
166
167 * po/binutils.pot: Regenerate.
168
ff6b6222
CF
1692003-07-05 Christopher Faylor <cgf@redhat.com>
170
171 * dlltool.c (prefix_encode): Use a fixed length for alpha.
172
bf7a6389
CF
1732003-07-04 Christopher Faylor <cgf@redhat.com>
174
175 * dlltool.c (prefix_encode): New function. Encode temp file prefix
176 from pid.
177 (dlltmp): Pass address of pointer being alloced or suffer neverending
178 mallocs.
179 (make_one_lib_file): Allocate enough space for new longer stub names.
180 (gen_lib_file): Ditto.
181 (main): Generate the temp file prefix from the pid if prefix was not
182 specified on the command line.
183
96c223ce
NC
1842003-07-04 Nick Clifton <nickc@redhat.com>
185
186 * readelf.c (get_data): Print (unsigned) hex values for size and
187 offset in error messages.
188 (process_section_headers): If the string table could not be
189 allocated, do not continue.
190
bdf4d63a
JJ
1912003-07-01 Jakub Jelinek <jakub@redhat.com>
192
193 * readelf.c (dynamic_segment_ia64_val): Print address and newline
194 for sections by default. Comment fix.
195
b9ae0492
DS
1962003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
197
198 * rcparse.y (res_text_field): New res_id variable.
199 (res_null_text): New static const struct res_id object,
200 with empty unicode name field.
201 (control): Pop parsing of optresidc up one level. Set
202 res_text_field to $2 except for controls which do not accept
203 a text field. Set res_text_field to res_null_text for the
204 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
205 (control_params): Adjust to use res_text_field rather
206 than optresidc.
207 (COMBOBOX): Add comment about discrepency between documented
208 vs. observed default style.
209 * resrc.c (define_control): Make first param const.
210 * windres.h (define_control): Adjust prototype.
211
e7c81c25
NC
2122003-06-27 Nick Clifton <nickc@redhat.com>
213
214 * objcopy.c (copy_object): Replace call to
215 bfd_create_gnu_debuglink_section with seperate calls to
216 bfd_add_gnu_debuglink_section and
217 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
218 symbol tables.
219
d93f0186
NC
2202003-06-26 Roland McGrath <roland@redhat.com>
221
222 * readelf.c (loadaddr): Variable removed.
223 (dynamic_info, version_info): Fix type long -> bfd_vma.
224 (program_headers): New variable.
225 (get_program_headers): New function, broken out of
226 process_program_headers.
227 (process_program_headers): Call it. Don't set `loadaddr'.
228 (slurp_ia64_unwind_table): Use get_program_headers.
229 (process_corefile_note_segments): Likewise.
230 (offset_from_vma): New function.
231 (process_relocs, process_dynamic_segment): Call that instead of
232 subtracting `loadaddr'.
233 (process_version_sections, process_symbol_table): Likewise.
234 (process_mips_specific): Likewise.
235
ed1653a7
NC
2362003-06-26 Nick Clifton <nickc@redhat.com>
237
238 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
239 (OPTION_ONLY_KEEP_DEBUG): New.
240 (strip_options): Add --only-keep-debug.
241 (copy_options): Likewise.
242 (is_strip_section): Invert return value if STRIP_NONDEBUG is
243 active.
244 (copy_object): Do not copy private data when STRIP_NONDEBUG is
245 active.
246 (setup_section): Likewise.
247 (strip_main): Handle --only-keep-debug.
248 (copy_main): Likewise.
249 * NEWS: Mention new switch
250 * doc/binutils.texi: Document new switch.
251
1049f94e
AM
2522003-06-25 Alan Modra <amodra@bigpond.net.au>
253
254 * NEWS: Correct spelling of "relocatable".
255 * objdump.c: Likewise.
256 * sysroff.info: Likewise.
257
b19aac67
NC
2582003-06-19 Nick Clifton <nickc@redhat.com>
259
260 * readelf.c (print_vma): When printing DEC_5 values, if the
261 number is bigger than 99999 switch to using hexadecimal
262 notation.
263
2593f09a
NC
2642003-06-11 Nick Clifton <nickc@redhat.com>
265
266 * objcopy.c (gnu_debuglink_filename): New variable.
267 (OPTION_ADD_GNU_DEBUGLINK): New switch
268 (copy_options): Describe --add-gnu-debuglink switch.
269 Mention that --strip-debug removes sections as well.
270 (is_strip_section): Process the sections removed and kept
271 lists before checking for debugging sections.
272 (add_redefine_syms_file): Make function static.
273 (copy_object): Use is_strip_section.
274 Check to see if a .gnu_debuglink section should be added. If
275 so, call bfd_add_gnu_debuglink.
276 (setup_section): Use is_strip_section.
277 (copy_section): Use is_strip_section.
278 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
279 * NEWS: Mention new objcopy switch.
280 * doc/binutils.texi: Document new switch.
281
3b443373
L
2822003-06-11 H.J. Lu <hongjiu.lu@intel.com>
283
284 * po/Make-in (DESTDIR): New.
285 (install-data-yes): Support $(DESTDIR).
286 (uninstall): Likewise.
287
795bb480
AM
2882003-06-11 Alan Modra <amodra@bigpond.net.au>
289
290 * Makefile.in: Regenerate.
291
9ee5e499
JJ
2922003-05-23 Jakub Jelinek <jakub@redhat.com>
293
294 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
295
a3b6428f
NC
2962003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
297
298 * NEWS: Document the new BSD/POSIX single-character mapping for
299 .comment/.note sections.
300
92991082
JT
3012003-06-02 Chris Demetriou <cgd@broadcom.com>
302 Jason Thorpe <thorpej@wasabisystems.com>
303
304 * objcopy.c (redefine_list_append): Add an argument that
305 indicates the context from which this function is being
306 called. Change all callers.
307 (copy_options): Add a new option, --redefine-syms.
308 (copy_usage): Document new option.
309 (copy_main): Handle the --redefine-syms option.
310 * doc/binutils.text (objcopy): Document new option.
311
38fafa6d
RH
3122003-05-31 Richard Henderson <rth@redhat.com>
313
314 * readelf.c (byte_get_signed): New.
315 (get_encoded_value): New.
316 (display_debug_frames): Use it. Always pre-process opcodes.
317
636fc387
ML
3182003-05-20 Michal Ludvig <mludvig@suse.cz>
319
320 * readelf.c (display_debug_frames): Print both registers
321 for DW_CFA_register.
322
80c7c40a
NC
3232003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
324
325 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
326 i[3-7]86-*-interix.
327 * configure.in: Regenerate.
328
0fcdcb91
NC
3292003-05-13 Michael Eager <eager@mvista.com>
330
331 * objcopy.c: Treat identical src/dst file names as if only one
332 entered. One Windows creating an output file of the same name as
333 the input file will delete the input file before it is read.
334
7ab5f2ed
NC
3352003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
336
337 * debug.c (debug_get_real_type): Extend test for circular debug
338 references.
339
3c92310f
NC
3402003-05-12 Nick Clifton <nickc@redhat.com>
341
342 * configure.in (ALL_LINGUAS): Add zh_CN.
343 * configure: Regenerate.
344 * po/zh_CN.po: New file: Chinese (simplified) translation.
345
d68c07bb
JE
3462003-05-11 Jason Eckhardt <jle@rice.edu>
347
348 * MAINTAINERS: Update my mail address.
349
8beeaeb7
L
3502003-05-07 H.J. Lu <hongjiu.lu@intel.com>
351
352 * readelf.c (dump_relocations): Enlarge the type field in wide
353 mode by one character.
354
63044634
RH
3552003-05-03 Richard Henderson <rth@redhat.com>
356
357 * readelf.c (struct Frame_Chunk): Add cfa_exp.
358 (frame_display_row): Just print "exp" for cfa or register
359 defined by a location expression.
360 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
361 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
362
6e50c90c
L
3632003-04-30 H.J. Lu <hjl@gnu.org>
364
365 * objdump.c (only): Change it to char **.
366 (only_size): New.
367 (only_used): New.
368 (disassemble_data): Check only as an array.
369 (dump_data): Likewise.
370 (dump_relocs): Likewise.
371 (main): Treat only as an array.
372
edbedb71
NC
3732003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
374
375 * doc/binutils.texi: Fix the documentation for the -fo option.
376
3f7de0e7
NC
3772003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
378
ef230218
JR
379 * readelf.c (get_machine_name) <EM_SH>: Amend return value
380 to refer to SuperH.
381
3f7de0e7
NC
382 * readelf.c (decode_location_expression): Don't add a trailing ';'.
383
32df8966
NC
3842003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
385 Nick Clifton <nickc@redhat.com>
386
387 * windres.c (long_options): Move close to main, where it is used.
388 Add 'input' and 'output' long options.
389 (main): Accept "-fo" as an alias for "-o". This is for rc
390 comptibility.
391 * doc/binutils.texi: Mention that -fo is accepted as an alias for
392 -o, but discourage its use.
393
85eb5110
NC
3942003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
395
396 * windres.c (format_from_name): Make the exit on error
397 behaviour optional.
398 (main): Rename the -I option to -J. Introduce -I as a synonym
399 for --include-dir. For backwards compatibility also support the
400 old -I behaviour, but issue a deprecation warning.
401 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
402 of the -I option.
403
26597c86
NC
4042003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
405
406 * readelf.c: Replace references to Mitsubishi M32R with
407 references to Renesas M32R.
408
c2dcd04e
NC
4092003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
410
411 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
412
c1124b23
AO
4132003-04-09 Alexandre Oliva <aoliva@redhat.com>
414
415 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
416 for debugging information types not supported by objdump.
417
e5076347
AM
4182003-04-09 Bernd Jendrissek <berndj@prism.co.za>
419
420 * configure.in: Recognize canonical form of i[3-6]86-pe*.
421 * configure: Regenerate.
422
adab8cdc
AO
4232003-04-09 Alexandre Oliva <aoliva@redhat.com>
424
425 * readelf.c (display_debug_info): Apply RELA relocations on the
426 entire section.
427 (byte_put_little_endian, byte_put_big_endian): New functions.
428 (byte_put): New variable.
429 (get_file_header): Initialize it.
430
3077f5d8
NC
4312003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
432
433 * windres.c: Add -l for compatibility with wrc, and rc.
434 Use the short option as a key for long options that have
435 a synonymous short option.
436 * doc/binutils.texi: Added -l to the list of options.
437
29b058f1
NC
4382003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
439
3077f5d8
NC
440 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
441 (main): Just pass the -U option down to the preprocessor.
442 * doc/binutils.texi: Added -U to the list of options.
29b058f1 443
3126d709
CF
4442003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
445
446 * windres.c (usage): Report -r option.
447 (main): Ignore the -r option.
448 * doc/binutils.texi: Add -r to the list of options.
449
c46ac711
BW
4502003-04-01 Bob Wilson <bob.wilson@acm.org>
451
452 * MAINTAINERS: Add myself as Xtensa maintainer.
453
88da6820
NC
4542003-04-01 Bob Wilson <bob.wilson@acm.org>
455
3077f5d8
NC
456 * readelf.c: Include "elf/xtensa.h".
457 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
458 targets that use RELA relocations.
459 (dump_relocations): Call elf_xtensa_reloc_type for
460 EM_XTENSA and EM_XTENSA_OLD.
461 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 462
27a710e5
NC
4632003-04-01 Nick Clifton <nickc@redhat.com>
464
465 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
466 thumb-pe*, mcore-pe and mcore-*elf.
467 * configure: Regenerate.
468
335a1869
AO
4692003-03-31 Alexandre Oliva <aoliva@redhat.com>
470
471 * objdump.c (dump_data): Don't truncate the address to long; make
472 the width large enough, and uniform for all entries in a section.
473
566b0d53
L
4742003-03-31 H.J. Lu <hjl@gnu.org>
475
476 * readelf.c: Include "libiberty.h".
477 (dynamic_relocations): New.
478 (process_relocs): Properly handle dynamic relocation.
479 (process_dynamic_segment): Fill relocation elements in
480 dynamic_info.
481
ee42cf8c
NC
4822003-03-31 Kevin Buettner <kevinb@redhat.com>
483
484 * readelf.c (read_and_display_attr, read_and_display_attr_value):
485 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
486 all callers.
487 (display_debug_lines, display_debug_pubnames, display_debug_info)
488 (display_debug_aranges, display_debug_frames, read_and_display_attr)
489 (read_and_display_attr_value): Add 64-bit DWARF support.
490
7adbf450
NC
4912003-03-31 Ian Lance Taylor <ian@airs.com>
492
493 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
494 (optresid): Handle a resource id that can be a string or a number.
495 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
496 struct res_id.
497 (define_icon_control): Pass a struct res_id to define_control.
498 * windres.h (define_control): Change prototype.
499
06d86cf7
NC
5002003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
501
7c29036b
NC
502 * objcopy (OPTION_FORMATS_INFO): Define.
503 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
504 (copy_options): Likewise.
505 (strip_usage): Add "--info" to usage.
506 (copy_usage): Likewise.
507 (strip_main): Declare formats_info. Iniatilize it to FALSE.
508 Handle "info".
509 (copy_main). Likewise.
510 * doc/binutils.texi. Document the "--info" option for
511 objcopy/strip.
512 * NEWS: Mention the new command line switch.
513
06d86cf7
NC
514 * objdump.c (endian_string): Move to bucomm.c.
515 (display_info): Likewise.
516 (display_target_list): Likewise.
517 (display_info_table): Likewise.
518 (display_target_tables): Likewise.
519 (main): Assign the return value of display_info to exit_status.
520 * bucomm.c: Include bfdver.h and libbfd.h
521 (display_target_list): Call bfd_nonfatal instead of nonfatal and
522 return 0 on a non-fatal error, 1 on success.
523 (display_info_table): Likewise.
524 * bucomm.h (display_info): Provide a prototype.
525 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
526 libbfd.h.
527 * Makefile.in: Regenerate.
528
7adbf450 5292003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
530
531 * dlltool.c (gen_def_file): Put demangled name comments on
532 own line preceding export name.
533
98a91d6a
NC
5342003-03-17 Nick Clifton <nickc@redhat.com>
535
536 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
537 printf for emitting new lines.
538
06a30c77
NC
5392003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
540
541 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
542 the symbol's value when --size-sort is used, unless -S is used.
543 doc/binutils.texi (--size-sort): For non-bsd formats both the
544 value and size of the symbols are displayed.
545
ab829d36
NC
5462003-03-13 Nick Clifton <nickc@redhat.com>
547
548 * po/da.po: Update.
549
634847c9
NC
5502003-03-12 Nick Clifton <nickc@redhat.com>
551
552 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
553
3889f9eb
BE
5542003-03-10 Ben Elliston <bje@wasabisystems.com>
555
556 * MAINTAINERS: Update my mail address.
557
7eb5191a
NC
5582003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
559
560 * stabs.c (BYTES_IN_WORD): Remove definition.
561 * wrstabs.c (BYTES_IN_WORD): Likewise.
562
e3b83c8f
NC
5632003-03-04 Nick Clifton <nickc@redhat.com>
564
565 * nm.c (main): Print a warning message if --size-sort and
566 --undefined-only are used together.
567
5682003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
569
570 * nm.c (print_symbol): Remove check for undefined_only.
571
a9d68a1e
NC
5722003-03-03 Nick Clifton <nickc@redhat.com>
573
574 * po/da.po: Installed latest translation.
575
a99996bb
NC
5762003-02-24 Nick Clifton <nickc@redhat.com>
577
578 * README: Update binutils references to 2.13.
579 Add paragraph about using --disable-nls.
580
76ed1927
NC
5812003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
582
583 * doc/binutils.texi (nm --size-sort): Update.
584
0100f33b
JW
5852003-02-21 James E Wilson <wilson@tuliptree.org>
586
587 * MAINTAINERS: Update email address.
588
ecc51f48
NC
5892003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
590
591 * readelf.c (get_ia64_dynamic_type): New function.
592 (dynamic_segment_ia64_val): New function.
593 (get_dynamic_type): If machine type is EM_IA_64 call
594 get_ia64_dynamic_val.
595 (get_ia64_section_type_name): Handle sections with types in the
596 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
597 (get_dynamic_flags): If machine type is EM_IA_64 call
598 dynamic_segment_ia64_val.
599
947ed062
NC
6002003-02-21 Bob Wilson <bob.wilson@acm.org>
601
602 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
603 section title capitalization more consistent. Update descriptions
604 of various options to be consistent with the code. Fix errors and
605 incomplete list in the description of c++filt format options. Remove
606 information about the linker. Change to be more polite about poor
607 bug reports. Replace FDL appendix with include of fdl.texi.
608 * doc/fdl.texi: New file.
609
66491ebc
AM
6102003-02-21 Roger Sayle <roger@eyesopen.com>
611
612 * objcopy.c (filter_symbols): Fix compilation problems with
613 HP-UX's C compiler.
614
0e11a9e9
CF
6152003-02-19 Christopher Faylor <cgf@redhat.com>
616
617 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
618 previous change.
619
6e5f5201
CF
6202003-02-19 Mark Blackburn <marklist@fangorn.ca>
621
0e11a9e9 622 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 623
f0c8c24a
NC
6242003-02-12 Bob Wilson <bob.wilson@acm.org>
625
626 * nm.c (usage): Add `java' and `gnat' demangle styles and make
627 quotes consistent.
628 * objdump.c (usage): Ditto. Also fix some typos.
629
d3c543fd
NC
630 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
631
fe2c4142
NC
632 * debug.c (debug_record_variable): Handle global register variables.
633
6de15b9e
NC
634 * stabs.c (parse_stab): For N_SLINE only include
635 function_start_offset if the symbol is within a function;
636 otherwise, the value is absolute.
637
fde78edd
NC
6382003-02-10 Nick Clifton <nickc@redhat.com>
639
640 * readelf.c (decode_ARM_machine_flags): Handle the
641 EF_ARM_MAVERICK_FLOAT flag.
642
22d82235
AS
6432003-02-04 Andreas Schwab <schwab@suse.de>
644
645 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
646 long and use %ld in printf format.
647
1a677ea8
RS
6482003-01-28 Richard Sandiford <rsandifo@redhat.com>
649
650 * readelf.c (dump_relocations): Reorder the r_info field for
651 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
652
8dde85fc
NC
6532003-01-21 Daniel Berlin <dan@dberlin.org>
654
655 * readelf.c (display_debug_loc): Skip address base changes.
656
c6f8bb1e
AM
6572003-01-17 Fabio Alemagna <falemagn@aros.org>
658
659 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
660 and ELFOSABI_NSK.
661
c833c019
AM
6622003-01-16 Alan Modra <amodra@bigpond.net.au>
663
664 * readelf.c: Include elf/ppc64.h.
665 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
666 * Makefile.am: Run "make dep-am".
667 * Makefile.in: Regenerate.
668
3b36097d
SC
6692003-01-02 Ben Elliston <bje@redhat.com>
670
671 * readelf.c (guess_is_rela): Handle EM_IQ2000.
672 (get_machine_name): Likewise.
673 (dump_relocations): Likewise.
674 * NEWS: Mention IQ2000 support.
675
cb44e358
RS
6762003-01-02 Richard Sandiford <rsandifo@redhat.com>
677
678 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
679
af7ee8bf
CD
6802002-12-30 Chris Demetriou <cgd@broadcom.com>
681
682 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
683 changes in MIPS -M options.
684
2469cfa2
NC
6852002-12-30 Dmitry Diky <diwil@mail.ru>
686
687 * Makefile.am: Add msp430 target.
688 * Makefile.in: Regenerate.
689 * readelf.c: Add support for msp430 target.
690
640c0ccd
CD
6912002-12-27 Chris Demetriou <cgd@broadcom.com>
692
693 * doc/binutils.texi (objdump): Document MIPS -M options.
694
59f14fc0
AS
6952002-12-23 Andreas Schwab <schwab@suse.de>
696
697 * readelf.c (main): Reset dump request after each file.
698
312b768e
NC
6992002-12-23 Nick Clifton <nickc@redhat.com>
700
701 * nlmconv.c (main): Pass TRUE as third argument to
702 bfd_arch_get_compatible.
703
8745eafa
NC
7042002-12-23 Nick Clifton <nickc@redhat.com>
705
706 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
707 macro. Handle 'S' encoding, accepting 8-bit characters.
708 (main): Parse 'S' encoding.
709 (get_char): Accept 'S' encoding.
710 (print_strings): Use STRING_ISGRAPHIC.
711 (usage): Document support of 'S' encoding.
712 * doc/binutils.texi: Document support of 'S' encoding/
713 * NEWS: Mention new feature.
714
08213ebb
AM
7152002-12-20 Alan Modra <amodra@bigpond.net.au>
716
717 * README <building ar>: Don't use libibery's needed_list or
718 required_list, instead link libiberty/*.o.
719
b9e5d8e5
KH
7202002-12-19 Kazu Hirata <kazu@cs.umass.edu>
721
722 * doc/binutils.texi: Fix typos.
723
c51238bc
DA
7242002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
725
726 * doc/binutils.texi: Add missing parenthesis.
727
d7fb0dd2
NC
7282002-12-15 Nick Kelsey <nickk@ubicom.com>
729
730 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
731 symbols by adding the given prefix to the begining of the symbol
732 name. This is useful to provide name space seperation regardless
733 of how the object file was created. Added --prefix-sections=
734 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
735 sections (or all sections with the alloc flag set) by adding the given
736 prefix to the begining of the symbol name.
737 * NEWS: Mention this new feature.
738 * doc/binutils.texi: Document this new feature.
739
55b9cdf1
AM
7402002-12-13 Alan Modra <amodra@bigpond.net.au>
741
742 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
743 dyn_string_append with dyn_string_append_cstr.
744
745 * emul_aix.c (ar_emul_aix_create): Remove unused function.
746
84ad6ede
NC
7472002-12-10 James Cownie <jcownie@etnus.com>
748
749 * readelf.h (get_TAG_name, get_AT_name,
704afb58 750 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
751 DWARF2 spec.
752 * NEWS: Mention this new support.
753
7d036af2
AM
7542002-12-08 Alan Modra <amodra@bigpond.net.au>
755
756 * NEWS: Mention that bfd no longer declares a "boolean" type.
757
3e8bba36
AM
7582002-12-07 Alan Modra <amodra@bigpond.net.au>
759
760 * readelf.c (process_program_headers): When setting loadaddr, don't
761 assume segment size is 4k. Use p_align instead.
762 (loadaddr): Change from int to long.
763 (dynamic_addr, dynamic_info, version_info): Likewise.
764 (process_dynamic_segment <syminsz>): Likewise.
765 (process_dynamic_segment): Adjust print format string.
766 (rela_addr, rela_size): Delete.
767 (process_relocs): Formatting.
768
d070dab9
JW
7692002-12-05 Jim Wilson <wilson@redhat.com>
770
771 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
772 * configure: Regenerate.
773
45bcbdb1
ILT
7742002-12-04 Ian Lance Taylor <ian@airs.com>
775
776 * MAINTAINERS: Change e-mail address back to airs.com.
777
42ea8716
AH
7782002-12-04 Aldy Hernandez <aldyh@redhat.com>
779
780 * MAINTAINERS: Add self.
781
b34976b6
AM
7822002-11-30 Alan Modra <amodra@bigpond.net.au>
783
784 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
785 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
786 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
787 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
788 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
789 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
790 with TRUE/FALSE. Formatting.
791
c8286bd1
JJ
7922002-11-29 Jakub Jelinek <jakub@redhat.com>
793
794 * readelf.c Replace occurrences of Elf32_Internal_* and
795 Elf64_Internal_* with Elf_Internal_*.
796 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
797 Zero r_addend fields.
798 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
799 Elf_Internal_Rela.
800
92acdfaf
NC
8012002-11-23 Nick Clifton <nickc@redhat.com>
802
803 * size.c (usage): Fix typo describing switch for hex format.
804
48c5eb8a
SS
8052002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
806
807 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
808 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
809 testcase
810
2f62977e
NC
8112002-11-14 Nick Clifton <nickc@redhat.com>
812
813 * readelf.c (process_program_headers): Add comment about return
814 value. Ensure that 0 is returned if the headers are not loaded.
815 (process_file): If process_section_headers failed to load the
816 headers disable any tests that rely upon them. Similarly for
817 process_program_headers.
818
cd24c222
NC
8192002-11-12 Nick Clifton <nickc@redhat.com>
820
821 * po/da.po: Updated Danish translation.
822
f3931575
AM
8232002-11-12 Klee Dienes <kdienes@apple.com>
824
825 * rddbg.c (read_section_stabs_debugging_info): Also recognize
826 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
827
b54e7460
CF
8282002-11-11 Christopher Faylor <cgf@redhat.com>
829
830 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
831 cgf maintainership.
832
4f17cc13
CF
8332002-11-11 Christopher Faylor <cgf@redhat.com>
834
835 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
836
232e7cb8
NC
8372002-11-07 Nick Clifton <nickc@redhat.com>
838
cd24c222 839 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
840 * configure: Regenerate.
841 * po/da.po: New Danish translation.
842
232e7cb8
NC
843 * readelf.c (get_symbol_index_type): Revert part of previous
844 patch: Display unknown symbol types in decimal, not hex.
845
c9e38879
NC
8462002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
847
848 * dlltool.c (add_excludes): Don't prefix excluded fastcall
849 symbols with underscore.
850 (xlate): Ignore add_underscore for decorated fastcall symbols.
851
8522002-11-07 Eric Kohl <ekohl@rz-online.de>
853
854 * deflex.l: Accept '@' as first character of an ID.
855 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
856 ASM_PREFIX for fastcall symbols.
857 (scan_drectve_symbols): Handle fastcall symbols when generating
858 undecorated aliases for symbols in drectve section.
859 (scan_filtered_symbols): Likewise, with export-all.
860 (xlate): Likewise, with --kill-at.
861 (make_imp_label): New function to handle fastcall symbols
862 correctly.
863 (make_one_lib_file): Use make_imp_label instead of make_label
864 for imp symbols.
865
a700dc3b
SS
8662002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
867
868 * MAINTAINERS: Add self as TIC4X maintainer.
869
5cf1065c
NC
8702002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
871
872 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
873 PROCESSOR-specific, OS-specific, reserved and unknown symbol
874 types.
5cf1065c 875
f1ef08cb
AM
8762002-11-04 Alan Modra <amodra@bigpond.net.au>
877
878 * readelf.c (byte_get_little_endian): Comment typo fix.
879 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
880 as the format string.
881 (dump_relocations): Correct section sym names.
882 (process_section_headers): Clear symtab_shndx_hdr.
883 (read_and_display_attr_value): Don't pass indirect string to printf
884 as the format string.
885 (display_debug_frames): Indicate when zero terminator found. Decode
886 DW_EH_PE_pcrel addresses.
887
1a09a22c
NC
8882002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
889
890 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
891 order to ensure proper disassembly of the valid 0-value opcode.
892 * configure: Regenerate.
893 * aclocal.m4: Regenerate.
894 * config.in: Regenerate.
895 * configure.in: Regenerate.
896 * doc/Makefile.in: Regenerate.
897 * po/binutils.pot: Regenerate.
898
c254c557
KK
8992002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
900
901 * MAINTAINERS: Add self as SH maintainer.
902
aefbdd67
BE
9032002-10-23 Ben Elliston <bje@redhat.com>
904
905 * doc/binutils.texi (objdump): Document -z and move the entry for
906 --disassemble-zeroes to the end of the options section (for `z').
907
ab9bcc01
NC
9082002-10-21 Nick Clifton <nickc@redhat.com>
909
910 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
911
8ab56b6f
AM
9122002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
913
914 * objdump.c (dump_data): Correct addr_offset for opb != 1.
915
49c12576
AM
9162002-10-15 Alan Modra <amodra@bigpond.net.au>
917
48417c1a
AM
918 * bucomm.c (list_supported_targets): Use bfd_target_list.
919
49c12576
AM
920 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
921 other object errors in preference to bfd_core errors.
922
6e1a7e9a
AM
9232002-10-14 Alan Modra <amodra@bigpond.net.au>
924
925 * Makefile.am: Run "make dep-am".
926 * objdump.c: #include "bfdver.h".
927 * version.c: Likewise.
928 * Makefile.in: Regenerate.
929 * config.in: Regenerate.
930 * configure: Regenerate.
931 * po/POTFILES.in: Regenerate.
932
09fc3b02
DJ
9332002-10-09 Daniel Jacobowitz <drow@mvista.com>
934
935 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
936 sections. Allow relocations against the absolute symbol. Don't
937 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 938 relocation.
09fc3b02 939
f309035a
NC
9402002-10-07 Gordon Chaffee <chaffee@netvmg.com>
941
942 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
943 ordinary ones are available.
944
810dfa6e
L
9452002-09-30 H.J. Lu <hjl@gnu.org>
946
947 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
948 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
949
bb279dc0
ZW
9502002-09-17 Zack Weinberg <zack@codesourcery.com>
951
952 * Makefile.am (CFILES): Add cxxfilt.c.
953 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
954 (cxxfilt_LDADD): Delete.
955 Remove all references to underscore.c.
956 Regen dependencies.
957 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
958 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
959 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
960 adjustments to fit into binutils framework.
961 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
962
065c959b
NC
9632002-09-12 Roland McGrath <roland@redhat.com>
964
965 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
966 Handle DW_OP_GNU_push_tls_address.
967
e09f4395
NC
9682002-09-11 Nick Clifton <nickc@redhat.com>
969
970 * po/tr.po: Updated Turkish translation.
971
873e0588
NC
9722002-09-10 Nick Clifton <nickc@redhat.com>
973
974 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
975 testsuite changes. Add paragraphs about testsuite and config
976 patches.
977
069fe61f
NC
9782002-08-29 Nick Clifton <nickc@redhat.com>
979
980 * readelf.c (get_machine_flags): Remove redundant reference to
981 E_V850EA_ARCH.
982
fe0507eb
AM
9832002-08-28 Alan Modra <amodra@bigpond.net.au>
984
985 * objdump.c (dump_bfd): Restore lines accidentally deleted in
986 last commit.
987
026df7c5
NC
9882002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
989
bb279dc0 990 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
991 (dump_bfd_header): Likewise.
992
68a4c073
AM
9932002-08-27 Alan Modra <amodra@bigpond.net.au>
994
995 * nm.c: Revert last change.
996
a1df01d1
AM
9972002-08-26 Alan Modra <amodra@bigpond.net.au>
998
999 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1000 * objdump.c (slurp_symtab): Likewise.
1001 (slurp_dynamic_symtab): Likewise.
1002 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1003
a926ab2f
GK
10042002-08-24 Geoffrey Keating <geoffk@redhat.com>
1005
1006 * MAINTAINERS: Change my mailing address.
1007
fcf62380
DA
10082002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1009
1010 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1011
51e28791
NC
10122002-08-22 Nick Clifton <nickc@redhat.com>
1013
1014 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1015 HPPA.
1016
c5b060ad
AM
10172002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1018
1019 * readelf.c (parse_args): Change debug_dump_opt to static.
1020
4b73ca92
NC
10212002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1022
1023 * stabs.c (parse_stab_argtype): Pass length of physname to
1024 stab_demangle_argtypes.
1025 (stab_demangle_argtypes): Add new parameter - length of physname.
1026 Pass length of physname on to stab_demangle_prefix.
1027 (stab_demangle_prefix): Add new parameter - length of physname.
1028 Use length of physname (if supplied) to compute end of function
1029 name.
1030
35b1837e
AM
10312002-08-15 Alan Modra <amodra@bigpond.net.au>
1032
1033 * readelf.c: Include elf/i370.h.
1034 (dump_relocations): Handle EM_S370.
1035 (dynamic_segment_parisc_val): Print \n.
1036 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1037
762baac5
NC
10382002-08-14 Nick Clifton <nickc@redhat.com>
1039
1040 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1041 * objdump.c (usage): Likewise.
1042 * doc/binutils.texi: Likewise.
1043
85c09e8a
NC
10442002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1045
1046 * rcparse.y (acc_entry): Don't warn about ALT use with
1047 non-VIRTKEY.
1048
212a3c4d
L
10492002-08-13 H.J. Lu <hjl@gnu.org>
1050
1051 * objcopy.c (copy_object): Don't warn about the unsupported
1052 architecture unless the input target is defaulted or the
1053 output architecture is different from the input.
1054
2b692c59
NC
10552002-08-09 Nick Clifton <nickc@redhat.com>
1056
1057 * po/sv.po: Updated Swedish translation.
1058
09de7a73
AM
10592002-08-05 Alan Modra <amodra@bigpond.net.au>
1060
1061 * prdbg.c (pr_fix_visibility): Remove assert.
1062
47badb7b
NC
10632002-07-31 Nick Clifton <nickc@redhat.com>
1064
1065 * addr2line.c (process_file): Rename parameter 'filename' to
1066 'file_name' in order to avoid shadowing global symbol of the
1067 same name.
1068 (main): Likewise.
1069
2979dc34
JJ
10702002-07-30 Jakub Jelinek <jakub@redhat.com>
1071
1072 * readelf.c (OPTION_DEBUG_DUMP): Define.
1073 (options): Use it.
1074 (usage): Update help.
1075 (parse_args): Handle --debug-dump separately from -w.
1076 * doc/binutils.texi (readelf): Update documentation.
1077
219576a4
NC
10782002-07-25 Nick Clifton <nickc@redhat.com>
1079
1080 * po/es.po: Updated Spanish translation.
1081 * po/fr.po: Updated French translation.
1082
bf4f22e6 10832002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1084
bf4f22e6
NC
1085 * po/es.po: Updated Spanish translation.
1086
c5b3a82a
AM
10872002-07-23 Alan Modra <amodra@bigpond.net.au>
1088
1089 * Makefile.am: Run "make dep-am".
1090 * Makefile.in: Regenerate.
1091
0461a601
NC
10922002-07-23 Nick Clifton <nickc@redhat.com>
1093
bf4f22e6 1094 * po/fr.po: Updated French translation.
0461a601 1095
bf44dd74
AM
10962002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1097
1098 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1099
2c205ff2
AM
11002002-07-20 Alan Modra <amodra@bigpond.net.au>
1101
63eb0809 1102 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1103
1e4cf259
NC
11042002-07-18 Denis Chertykov <denisc@overta.ru>
1105 Frank Ch. Eigler <fche@redhat.com>
1106
1107 * readelf.c: Include "elf/ip2k.h".
1108 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1109 (dump_relocations): Likewise.
1110 (get_machine_name): Likewise.
1111 * NEWS: Mention IP2K support.
1112
2cbb2eef
NC
11132002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1114
1115 * NEWS: Add 'Changes in 2.13'.
1116
047b2264
JJ
11172002-07-10 Jakub Jelinek <jakub@redhat.com>
1118
1119 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1120 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1121 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1122 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1123 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1124 (process_gnu_liblist): New.
1125 (process_file): Call it.
1126
97230b15
AM
11272002-07-03 Alan Modra <amodra@bigpond.net.au>
1128
1129 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1130 * Makefile.in: Regenerate.
1131
a6637ec0
AM
11322002-07-02 Alan Modra <amodra@bigpond.net.au>
1133
1134 * budemang.c: New file, "demangle" function.
1135 * budemang.h: New file.
1136 * addr2line.c (translate_addresses): Use "demangle".
1137 * nm.c (print_symname): Likewise.
1138 * objdump.c (objdump_print_symname): Likewise.
1139 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1140 here since that obfuscates.
1141 * rdcoff.c: Don't #include demangle.h.
1142 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1143 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1144 (HFILES): Add budemang.h. Sort.
1145 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1146 Run "make dep-am".
1147 * Makefile.in: Regenerate.
1148
179d3252
JT
11492002-07-01 Matt Thomas <matt@3am-software.com>
1150
1151 * readelf.c: Include "elf/vax.h".
1152 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1153 (dump_relocations): Handle VAX relocations.
1154 (get_machine_flags): Handle VAX machine flags.
1155
75751cd9
SC
11562002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1157
1158 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1159
e5851ab8
NC
11602002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1161
1162 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1163
eb3f2f5c
AM
11642002-06-26 Alan Modra <amodra@bigpond.net.au>
1165
1166 * nm.c (print_symname): When demangling, strip leading dots from
1167 symbol names to avoid confusing the demangler.
1168
a13a0de8
L
11692002-06-25 H.J. Lu <hjl@gnu.org>
1170
1171 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1172 * Makefile.in: Regenerated.
1173
6db7a086
AM
11742002-06-21 Igor Schein <igor@txc.com>
1175
1176 * configure.in: Quote bu_cv_have_fopen64.
1177 * configure: Regenerate.
1178
9710509e
AM
11792002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1180
1181 * configure.in: Check for strcoll.
1182 * configure: Regenerate.
1183 * config.in: Regenerate.
1184 * nm.c (main): Set locale for LC_COLLATE category.
1185 (non_numeric_forward): Use strcoll if available.
1186
a9f0b5e7
DB
11872002-06-20 Dave Brolley <brolley@redhat.com>
1188
1189 * MAINTAINERS: Add self as fr30 and frv maintainer.
1190
33f5f537
L
11912002-06-18 H.J. Lu (hjl@gnu.org)
1192
1193 * nm.c: Include "elf/common.h".
1194 (extended_symbol_info): Add elfinfo, a pointer to
1195 elf_symbol_type.
1196 (SYM_SIZE): Use elfinfo if it is not NULL.
1197 (get_symbol_type): New function.
1198 (display_archive): Set print_width for each archive member.
1199 (display_file): Likewise.
1200 (display_rel_file): Don't set print_width here.
1201 (print_object_filename_sysv): Handle print_width.
1202 (print_archive_member_sysv): Likewise.
1203 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1204 (print_symbol): Set the elfinfo field in extended_symbol_info
1205 for ELF.
1206 (print_object_filename_sysv): Fix the output format.
1207 (print_symbol_info_sysv): Print type and section for ELF.
1208
12092002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1210
1211 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1212 the symbol's size equal to its value when --size-sort is
33f5f537
L
1213 used.
1214
5c70f934
DB
12152002-06-18 Dave Brolley <brolley@redhat.com>
1216
1217 From Catherine Moore:
1218 * readelf.c (elf/frv.h): #include it.
1219 (guess_is_rela): Support EM_CYGNUS_FRV.
1220 (dump_relocations): Ditto.
1221 (get_machine_name): Ditto.
1222 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1223
7ece0d85
JJ
12242002-06-18 Jakub Jelinek <jakub@redhat.com>
1225
1226 * readelf.c (get_file_header): Only read the first section header if
1227 e_shoff is non-zero.
1228
72797995
L
12292002-06-15 H.J. Lu (hjl@gnu.org)
1230
1231 * nm.c (print_size): New variable. Initialize to 0.
1232 (long_options): Add 'S'/"print-size".
1233 (main): Handle 'S'.
1234 (print_symbol_info_bsd): Print size only if print_size is not
1235 0.
1236
1237 * doc/binutils.texi: Document -S/--print-size.
1238
977f7911
NC
12392002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1240
1241 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1242 of the symbols to the information provided by the symbol_info
1243 structure.
1244 (print_symbols): Pass the symbol size to print_symbol.
1245 (print_size_symbols): Pass the symbol size to print_symbol.
1246 (print_symbol): Extra argument: The size of the symbol. Store
1247 this in the extended_symbol_info structure.
1248 (print_symbol_info): Change type of info parameter to
1249 extended_symbol_info. Display the size, if known.
1250 (print_symbol_info_posix): Likewise.
1251 (print_symbol_info_sysv): Likewise.
1252
b1f88ebe
AM
12532002-06-08 Alan Modra <amodra@bigpond.net.au>
1254
fa449227
AM
1255 * Makefile.am: Run "make dep-am".
1256 * Makefile.in: Regenerate.
1257 * doc/Makefile.in: Regnerate.
1258
b1f88ebe
AM
1259 * bucomm.c: Replace CONST with const.
1260 * nm.c: Likewise.
1261 * objdump.c: Likewise.
1262
91a106e6
L
12632002-06-07 H.J. Lu <hjl@gnu.org>
1264
1265 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1266 (DW_CFA_GNU_negative_offset_extended): Likewise.
1267 (DW_CFA_GNU_window_save): Likewise.
1268 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1269 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1270
6ab6b380 12712002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1272
6ab6b380
NC
1273 * nm.c: When computing size of symbols for an ELF target use the
1274 internal size field.
1275
e28e05a3
JL
12762002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1277
1278 * testsuite/binutils-all/objcopy.exp: clear xfail for
1279 "hppa*64*-*-hpux*".
1280 * testsuite/binutils-all/hppa/objdump.exp: Return if
1281 "*64*-*-*".
1282
dc156bc0
AM
12832002-06-05 Alan Modra <amodra@bigpond.net.au>
1284
1285 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1286
12872002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1288
1289 * objdump.c: Fix formatting.
1290
d79e4ea3
BE
12912002-05-29 Ben Elliston <bje@redhat.com>
1292
1293 * MAINTAINERS: Add self as M68k maintainer.
1294
d172d4ba
NC
12952002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1296
1297 * readelf.c: Modified/Added DLX elf support.
1298
7edb8f29
NC
12992002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1300
3a1a2036
NC
1301 * arsup.c: Fix formatting.
1302 * debug.c (debug_record_label): Add missing colon to error
1303 message.
1304 * ieee.c (parse_ieee_ty): Fix spelling typo.
1305 * readelf.c (process_program_headers): Remove English assumption
1306 about making a plural word.
1307 (process_section_headers): Likewise.
1308 (process_relocs): Allow quotes to be translated.
1309 (process_unwind): Likewise,
1310 (process_mips_specific): Improve error message.
1311 (get_note_type): Fix spelling typo.
1312
7edb8f29
NC
1313 * configure.in (ALL_LINGUAS): Add sv
1314 * po/sv.po: New file.
1315
3eee1e9d
AM
13162002-05-27 Alan Modra <amodra@bigpond.net.au>
1317
1318 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1319 (unw_print_grmask): Likewise.
1320 (unw_print_frmask): Likewise.
1321
d43efbe3
KH
13222002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1323
1324 * arsup.c: Remove ARGSUSED.
1325 * debug.c: Likewise.
1326 * ieee.c: Likewise.
1327 * nlmconv.c: Likewise.
1328 * prdbg.c: Likewise.
1329 * stabs.c: Likewise.
1330 * wrstabs.c: Likewise.
1331
e9792343
AM
13322002-05-25 Alan Modra <amodra@bigpond.net.au>
1333
1334 * arlex.l: Use #include "" instead of <> for local header files.
1335 * coffdump.c: Likewise.
1336 * coffgrok.c: Likewise.
1337 * nlmconv.c: Likewise.
1338 * nlmheader.y: Likewise.
1339 * srconv.c: Likewise.
1340 * strings.c: Likewise.
1341 * sysdump.c: Likewise.
1342 * unwind-ia64.h: Likewise.
1343 * windres.h: Likewise.
1344 * winduni.h: Likewise.
1345
d7e53452
TR
13462002-05-24 Tom Rix <trix@redhat.com>
1347
1348 * MAINTAINERS: Add self as the d10v maintainer.
1349
436e8db0
NC
13502002-05-24 TAMURA Kent <kent@netbsd.org>
1351
1352 * configure.in: Builds dlltool for i386-netbsdpe.
1353 * configure: Regenerate.
1354
9f66665a
KH
13552002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1356
1357 * size.c: Fix formatting.
1358 * srconv.c: Likewise.
1359 * stabs.c: Likewise.
1360 * sysdump.c: Likewise.
1361 * unwind-ia64.c: Likewise.
1362 * wrstabs.c: Likewise.
1363
13ae64f3
JJ
13642002-05-23 Jakub Jelinek <jakub@redhat.com>
1365
1366 * readelf.c (get_segment_type): Add PT_TLS.
1367 (get_elf_section_flags): Add SHF_TLS.
1368 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1369 (process_dynamic_segment): Use puts instead of printf.
1370 (get_symbol_type): Support STT_TLS.
1371 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1372 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1373 Add SEC_THREAD_LOCAL.
1374
53c7db4b
KH
13752002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1376
1377 * rdcoff.c: Fix formatting.
1378 * rddbg.c: Likewise.
1379 * readelf.c: Likewise.
1380 * rename.c: Likewise.
1381 * resbin.c: Likewise.
1382 * resrc.c: Likewise.
1383 * resres.c: Likewise.
1384
0af11b59
KH
13852002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1386
1387 * filemode.c: Fix formatting.
1388 * ieee.c: Likewise.
1389 * is-ranlib.c: Likewise.
1390 * is-strip.c: Likewise.
1391 * maybe-ranlib.c: Likewise.
1392 * maybe-strip.c: Likewise.
1393 * nlmconv.c: Likewise.
1394 * nm.c: Likewise.
1395 * not-ranlib.c: Likewise.
1396 * not-strip.c: Likewise.
1397 * objcopy.c: Likewise.
1398 * objdump.c: Likewise.
1399
21611032
TS
14002002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1401
1402 * objdump.c (dump_headers): Fix output formatting for ELF32
1403 architectures in a BFD64 enabled toolchain.
1404
26044998
KH
14052002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1406
1407 * debug.c: Fix formatting.
1408 * debug.h: Likewise.
1409 * dlltool.c: Likewise.
1410 * dllwrap.c: Likewise.
1411 * emul_aix.c: Likewise.
1412 * emul_vanilla.c: Likewise.
1413
f462a9ea
KH
14142002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1415
1416 * addr2line.c: Fix formatting.
1417 * ar.c: Likewise.
1418 * arsup.c: Likewise.
1419 * arsup.h: Likewise.
1420 * binemul.c: Likewise.
1421 * binemul.h: Likewise.
1422 * bucomm.c: Likewise.
1423 * coffdump.c: Likewise.
1424 * coffgrok.c: Likewise.
1425 * coffgrok.h: Likewise.
1426
e0159aa9
MM
14272002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1428
1429 * MAINTAINERS: Add myself as the second AVR port maintainer.
1430
074b403e
SC
14312002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1432
1433 * MAINTAINERS: Update my email address.
1434
2b9c8201
NC
14352002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1436
1437 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1438
e1d5b1e7
AM
14392002-05-09 Alan Modra <amodra@bigpond.net.au>
1440
1441 * configure.in: Replace `*pe' with `pe' throughout.
1442 * configure: Regenerate.
1443
d3d8a9ee
NC
14442002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1445
1446 * Makefile.am: Honour DESTDIR.
1447 * Makefile.in: Regenerate.
1448
405c98a4
AM
14492002-05-06 Alan Modra <amodra@bigpond.net.au>
1450
a02d5965
AM
1451 * dlltool.c (process_def_file): Add missing prototype.
1452 (new_directive, assemble_file, main): Likewise.
1453 (process_def_file, new_directive): Make static.
1454 (inform): Rewrite using VA_FIXEDARG.
1455 * dllwrap.c (mybasename): Add missing prototype.
1456 (strhash, main): Likewise.
1457 (inform): Rewrite using VA_FIXEDARG.
1458 (warn): Likewise.
1459 (cleanup_and_exit): Use old style function definition.
1460 (strhash): Likewise.
1461 * windres.c (define_resource): Use one memset to clear all of
1462 struct res_resource.
1463
405c98a4 1464 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1465 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1466
14672002-05-06 Borut Razem <borut.razem@siol.net>
1468
1469 * rclex.l (get_string): Correct "strings" list handling.
1470 * resrc.c (read_rc_file): Discard strings.
1471
91593c9d
AM
14722002-05-04 Alan Modra <amodra@bigpond.net.au>
1473
e58a75dc
AM
1474 * ar.c (replace_members): Remove unused var. Formatting fix.
1475 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1476
91593c9d
AM
1477 * MAINTAINERS: Sort port maintainers by CPU.
1478
6b52b824
AM
14792002-05-04 Bob Byrnes <byrnes@curl.com>
1480
1481 * size.c (display_archive): Add last_arfile and code to close archives.
1482
dd70071f
AM
14832002-05-01 Alan Modra <amodra@bigpond.net.au>
1484
1485 * nm.c (print_symbol): Check returned filename from
1486 bfd_find_nearest_line is non-NULL.
1487
6c95717a 14882002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1489
1490 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1491
3c25c5f6
NC
14922002-04-24 Christian Groessler <chris@groessler.org>
1493
1494 * MAINTAINERS: Changed my email address.
1495
944cd72c
TS
14962002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1497
1498 * arparse.y: Fix syntax warning.
1499
ea91f8bb
NC
15002002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1501
3e55a963
NC
1502 * readelf.c (fetch_location_list): Remove unused function.
1503
1504 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1505 and display a warning message, then exit the loop.
1506
ea91f8bb
NC
1507 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1508
45b99827
NC
15092002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1510
1511 * resrc.c (write_rc_dialog): If charset is non-default value
1512 display all of the DIALOGEX parameters.
1513
15142002-04-15 Eric Kohl <ekohl@rz-online.de>
1515
bb279dc0 1516 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1517 DIALOGEX resources.
1518 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1519 resource data.
bb279dc0 1520 (res_to_bin_dialog): Likewise.
45b99827
NC
1521 * windres.h: Added misssing charset variable to dialog_ex
1522 structure.
1523
acfbab8a
NC
15242002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1525
1526 * rcparse.y: Set MEMFLAG_PURE by default.
1527
df3baf66
NC
15282002-04-09 Bernd Herd <info@herdsoft.com>
1529
bb279dc0 1530 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1531 are quoted.
4c30641a 1532 Fix typo in BEDIT warning.
91eafb40 1533 Don't add default dialog style when explicit style specified.
b62a12ca 1534 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1535
b24eb5ac
NC
1536 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1537 (handle_quotes) "\a" escape (used for right justified key
1538 definitions in menus) is encodes as binary 8.
df3baf66 1539
b24eb5ac
NC
1540 * resrc.c (write_rc_dialog): Print style even if it is 0.
1541 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1542 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1543
b24eb5ac
NC
1544 * resbin.c (bin_to_res_dialog): Use signature to identify
1545 DIALOGEX.
f7d63484 1546
b24eb5ac 1547 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1548
df3baf66
NC
15492002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1550
1551 * resrc.c: print CLASS names in quotes
1552
15532002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1554
1555 * MAINTAINERS: Update my email address.
1556
8e42bcb6
AM
15572002-04-04 Alan Modra <amodra@bigpond.net.au>
1558
1559 * dep-in.sed: Cope with absolute paths.
1560 * Makefile.am (dep.sed): Subst TOPDIR.
1561 Run "make dep-am".
1562 * Makefile.in: Regenerate.
1563
96f959e5
PT
15642002-03-27 Peter Targett <peter.targett@arc.com>
1565
1566 * MAINTAINERS: Update my email address.
1567
1ea788ee
AM
15682002-03-21 Alan Modra <amodra@bigpond.net.au>
1569
1570 * Makefile.am: Run "make dep-am".
1571 * Makefile.in: Regenerate.
1572 * doc/Makefile.in: Regenerate.
1573 * po/POTFILES.in: Regenerate.
1574 * aclocal.m4: Regenerate.
1575 * config.in: Regenerate.
1576 * configure: Regenerate.
1577
a2f14207
DB
15782002-03-20 Daniel Berlin <dan@dberlin.org>
1579
1580 * readelf.c: Add support for displaying dwarf2 location lists.
1581 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1582 (parse_args): Use 'O' as shorthand for displaying location list
1583 section.
1584 (process_section_headers): Handle debug_loc as well.
1585 (load_debug_loc): New.
1586 (free_debug_loc): New.
1587 (fetch_location_list): New.
1588 (display_debug_loc): New.
1589 (display_debug_info): Call load_debug_loc and free_debug_loc.
1590 (debug_displays): We can display .debug_loc now, too.
1591 (usage): Update usage string.
1592 (read_and_display_attr_value): Note location lists, but don't
1593 display them inline.
1594
eb1e0e80
NC
15952002-03-18 Tom Rix <trix@redhat.com>
1596
1597 * Makefile.am: Add binutils emulation support.
1598 * configure.in: Same.
1599 * configure.tgt: New file. Same.
1600 * ar.c (main): Use ar_emul_parse_arg.
1601 (usage): Use ar_emul_usage.
1602 (replace_members): Use ar_emul_replace, ar_emul_append.
1603 * binemul.c: New file. Define the binutils emulation
1604 layer. Define default methods.
1605 * binemul.h: New file. Binutils emulation layer header file.
1606 * emul_aix.c: New file. AIX binutils emulation.
1607 * emul_vanilla.c: New file. Default binutils emulation.
1608 * Makefile.in: Regenerate.
1609 * configure: Same.
1610
a1c259a1
NC
16112002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1612
1613 * po/fr.po: Updated version.
1614
9ce88e60
NC
16152002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1616
1617 * po/fr.po: Updated version.
1618
effb0601
DJ
16192002-03-07 Daniel Jacobowitz <drow@mvista.com>
1620
1621 * README: Update some version numbers.
1622
a65688ab
DJ
16232002-03-07 Daniel Jacobowitz <drow@mvista.com>
1624
1625 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1626 (Architecture Selection): Likewise.
1627
f3f7fbb2
NC
16282002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1629
1630 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1631 generating .exp file.
1632
25345be5
NC
16332002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1634
1635 * readelf.c (dump_relocations): Fix typo.
1636
9a66911f
NC
16372002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1638
1639 * NEWS: Mark 2.12 branch.
1640
2c71103e
NC
16412002-02-18 Timothy Daly <remote_bob@yahoo.com>
1642
bb279dc0
ZW
1643 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1644 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1645 output.
bb279dc0 1646 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1647 to 'unrecognized'.
1648 (decode_ARM_machine_flags): Likewise.
1649 (parse_args): Likewise.
1650 (read_and_display_attr_value): Likewise.
1651 (display_debug_section): Likewise.
1652
49fda6c8
HPN
16532002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1654
1655 * NEWS: Mention support for MMIX.
1656
76f57f3a
JT
16572002-02-13 Matt Fredette <fredette@netbsd.org>
1658
1659 * readelf.c (get_machine_flags): Recognize EF_M68000.
1660
d36ca9c2
AO
16612002-02-12 Alexandre Oliva <aoliva@redhat.com>
1662
1663 * MAINTAINERS: Added self as MN10300 co-maintainer.
1664
19397422
AM
16652002-02-12 Alan Modra <amodra@bigpond.net.au>
1666
1667 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1668 DT_PPC64_OPDSZ.
1669
d434e574
DJ
16702002-02-11 Daniel Jacobowitz <drow@mvista.com>
1671
1672 * MAINTAINERS: List myself as branch maintainer.
1673
12b87c89
AM
16742002-02-11 Alan Modra <amodra@bigpond.net.au>
1675
1676 * configure: Regenerate.
1677 * objcopy.c: Update copyright date.
1678 * doc/Makefile.in: Regenerate.
1679
8d037c5c
DJ
16802002-02-10 Daniel Jacobowitz <drow@mvista.com>
1681
1682 * nlmconv.c: Back out localtime PARAMS change.
1683
4c168fa3
AM
16842002-02-11 Alan Modra <amodra@bigpond.net.au>
1685
1686 * objcopy.c (MKDIR): Define.
1687 (copy_archive): Make name_list.name const. Use MKDIR.
1688 Handle duplicate files in archives by making more temp dirs.
1689
408f8db1
DJ
16902002-02-10 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * coffdump.c: Include "getopt.h" after "bucomm.h"
1693 so that macros are defined correctly.
1694 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1695 prototype. Prototype main.
1696 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1697
9f77fa06
AO
16982002-02-06 Alexandre Oliva <aoliva@redhat.com>
1699
1700 * MAINTAINERS: Added self as SH co-maintainer.
1701
82f6addb
NC
17022002-02-05 Nick Clifton <nickc@redhat.com>
1703
1704 * po/tr.po: Updated translation.
1705
ba323545
AM
17062002-02-01 Alan Modra <amodra@bigpond.net.au>
1707
1708 * Makefile.am: Run "make dep-am"
1709 * Makefile.in: Regenerate.
1710
3deb89d3
DJ
17112002-01-29 Daniel Jacobowitz <drow@mvista.com>
1712
1713 * nm.c (print_value): Mark abfd unused.
1714
a0e9c55f
DJ
17152002-01-29 Daniel Jacobowitz <drow@mvista.com>
1716
1717 * unwind-ia64.c (unw_decoder): Change second argument
1718 to unsigned int, to match function prototypes.
1719
d7a283d4
DJ
17202002-01-29 Daniel Jacobowitz <drow@mvista.com>
1721
1722 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1723 __GNU_LIBRARY__ will be defined.
1724 * size.c: Likewise.
1725
4867be41
DJ
17262002-01-27 Daniel Jacobowitz <drow@mvista.com>
1727
1728 * configure: Regenerated.
1729
7562a296
HPN
17302002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1731
1732 * doc/Makefile.am (install): Depend on install-info.
1733 * doc/Makefile.in: Regenerate.
1734
15c82623
NC
17352002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1736
1737 * objcopy.c (strip_usage): Document -d as an alias
1738 --strip-debug.
1739
1740 * size.c (usage): Document [-t | --totals] options.
1741 (long_options): Add --totals option.
1742 (main): If the [-t | --totals] option is specified and
1743 the output format is Berkeley-style, print the total
1744 text, data, and bss sizes of all objects listed.
1745 (print_berkeley_format): If the [-t | --totals] option
1746 is specified, track the total text, data, and bss
1747 sizes.
1748 * doc/binutils.texi (size): Document [-t | --totals] options.
1749 (strip): Document -d as an alias for --strip-debug.
1750 * NEWS: Mention new feature of size.
1751
00ea8601 17522002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1753
1ddbd152
NC
1754 * po/fr.po: Updated version.
1755 * po/es.po: Updated version.
b85cedd7 1756
8b53311e
NC
17572002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1758
1759 * addr2line.c (usage): Update text to provide verbose
1760 description of the command line options.
1761 * ar.c (usage): Update text to provide verbose
1762 description of the command line options.
1763 (main): Accept -h and -H when running as ranlib.
1764 * coffdump.c (show_usage): Update text to provide verbose
1765 description of the command line options.
1766 * dlltool.c (main): Accept -H as an alias for --help.
1767 * nlmconv.c (show_usage): Update text to provide verbose
1768 description of the command line options.
1769 * nm.c (usage): Replace OPTIONS with option(s).
1770 (main): Accept -H as an alias for --help.
1771 * objcopy.c (strip_main): Accept -H as an alias for --help.
1772 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1773 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1774 other binutils.
1775 * size.c (usage): Update text to provide verbose description
1776 of the command line options.
1777 (main): Accept -v, -h and -H as command line options.
1778 * srconv.c (show_usage): Update text to provide verbose
1779 description of the command line options.
1780 * strings.c (main): Accept -H and -v as command line options.
1781 (usage): Update text to provide verbose description of the
1782 command line options.
1783 * sysdump.c (show_usage): Update text to provide verbose
1784 description of the command line options.
1785 * windres.c (usage): Adjust format to match style used in
1786 other binutils.
1787
1788 * coffdump.c: Fix formatting.
1789 * nlmconv.c: Fix formatting.
1790 * srconv.c: Fix formatting.
1791 * sysdump.c: Fix formatting.
1792
c46f0c34
AM
17932002-01-22 Alan Modra <amodra@bigpond.net.au>
1794
1795 * Makefile.am: Run "make dep-am".
1796 * Makefile.in: Regenerate.
1797
2a538ba5
AJ
17982002-01-18 Andreas Jaeger <aj@suse.de>
1799
1800 * version.c (print_version): Update year.
1801
285d1771
AM
18022002-01-17 Alan Modra <amodra@bigpond.net.au>
1803
1804 * readelf.c (get_machine_name): Handle EM_PPC64.
1805 (guess_is_rela): Here too.
1806
328577ad
NC
18072002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1808
1809 * po/binutils.pot: Regenerate.
1810 * po/fr.po: Regenerate.
1811 * po/tr.po: Regenerate.
1812
af3ae48d
NC
18132002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1814
1815 * po/tr.po: Import new version.
1816
f1cb7e17
AM
18172002-01-16 Alan Modra <amodra@bigpond.net.au>
1818
1819 * readelf.c (get_ppc64_dynamic_type): New.
1820 (get_dynamic_type): Call it.
1821
6364e0b4
NC
18222002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1823
3ab9460d 1824 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1825 (strip_usage): Use "options" instead of "switches".
3ab9460d 1826 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1827 "switches".
6364e0b4 1828
3a7e524e
RE
18292002-01-14 Richard Earnshaw <rearnsha@arm.com>
1830
1831 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1832
1209e219
NC
18332001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1834
1835 * po/es.po: Import from translation project.
1836 * configure.in (ALL_LINGUAS): Add es.
1837 * configure: Regenerate.
1838
b4db1224
JT
18392002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1840
1841 * readelf.c (get_netbsd_elfcore_note_type): Use
1842 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1843
9437c45b
JT
18442002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1845
1846 * readelf.c: Update copyright years.
1847 (get_note_type): Return a const char *.
1848 (get_netbsd_elfcore_note_type): New function.
1849 (process_note): Use get_netbsd_elfcore_note_type to get
1850 the note type string for NetBSD ELF core files.
1851
00428cca
AM
18522002-01-06 Steve Ellcey <sje@cup.hp.com>
1853
1854 * readelf.c (get_ia64_segment_type): Add support for macros.
1855 (get_segment_type): Add support for IA64 specific macros.
1856
31104126
NC
18572001-12-20 Julian v. Bock <julian@wongr.net>
1858
1859 * readelf.c (print_symbol): New function: Print a formatted symbol
1860 name. If --wide is specified do not truncate it.
1861 (dump_relocations): Use print_symbol() to print symbol names.
1862 (process_symbol_table): Likewise.
1863 (process_syminfo): Likewise.
1864 (process_mips_specific): Likewise.
1865 (usage): Document new feature of --wide switch.
1866 * doc/binutils.texi (objdump): Document additional behaviour of
1867 --wide.
2a538ba5 1868
4dd67f29
MS
18692001-12-18 Michael Snyder <msnyder@redhat.com>
1870
1871 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1872 (copy_object): Don't set the start address or flags of a core file.
1873 (copy_section): Don't relocate a core file. Don't copy contents
1874 if the input section has the contents flag set, but the output
1875 section does not (which happens with the fake 'note' pseudo-
1876 sections that BFD creates for corefiles).
1877
43521d43
TS
18782001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1879
1880 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1881 ASE extensions. More robust code for ISA checking. Ignore empty fields
1882 in header flags for GNU extensions.
1883
b667df2e
AM
18842001-12-18 Alan Modra <amodra@bigpond.net.au>
1885
1886 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1887
17a5a5c3
NC
18882001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1889
1890 * po/ja.po: Import from translation project.
1891 * configure.in (ALL_LINGUAS): Add ja.
1892 * configure: Regenerate.
1893
65de42c0
TS
18942001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1895
1896 * addr2line.c (main): Protoype.
1897 * ar.c (main): Protoype.
1898 * nm.c (main): Protoype.
1899 * objcopy.c (main): Protoype.
1900 * objdump.c (main): Protoype.
1901 * size.c (main): Protoype.
1902 * strings.c (main): Protoype.
1903
9ad5cbcf
AM
19042001-12-17 Alan Modra <amodra@bigpond.net.au>
1905
1906 * readelf.c (symtab_shndx_hdr): New global.
1907 (SECTION_HEADER_INDEX): Define.
1908 (SECTION_HEADER_NUM): Define.
1909 (SECTION_HEADER): Define.
1910 (GET_ELF_SYMBOLS): Pass two params rather than three.
1911 (get_32bit_elf_symbols): Take file and section args. Read and
1912 use SHT_SYMTAB_SHNDX.
1913 (get_64bit_elf_symbols): Likewise.
1914 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1915 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1916 Remember symtab_shdx_hdr.
1917 (process_program_headers): Scan from index 1 for segment map.
1918 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1919 "section_headers".
1920 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1921 (process_unwind): Likewise.
1922 (process_version_sections): Likewise.
1923 (process_symbol_table): Likewise.
1924 (display_debug_info): Likewise.
1925 (process_dynamic_segment): Fake up a symtab section for changed
1926 GET_ELF_SYMBOLS.
1927 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1928 (process_program_headers): Kill signed/unsigned warning.
1929 (load_debug_str): Likewise.
1930 (display_debug_info): Likewise.
1931
65765700
JJ
19322001-12-13 Jakub Jelinek <jakub@redhat.com>
1933
1934 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1935
560f3c1c
AM
19362001-12-11 Alan Modra <amodra@bigpond.net.au>
1937
1938 * readelf.c (process_file_header): Print extended e_shnum and
1939 e_shdtrndx values. Set elf_header values for same.
1940 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1941 (get_64bit_section_headers): Likewise.
1942 (process_section_headers): Update calls.
1943 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1944
bc408b8a
JJ
19452001-12-10 Jakub Jelinek <jakub@redhat.com>
1946
1947 * objcopy.c (setup_section): Copy entsize.
1948
93fbbb04
GK
19492001-12-07 Geoffrey Keating <geoffk@redhat.com>
1950
1951 * readelf.c (guess_is_rela): Add support for stormy16.
1952 (dump_relocations): Likewise.
1953 (get_machine_name): Likewise.
1954
e3c8793a
NC
19552001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1956
1957 * dllwrap.c (main) Replace multiple strings describing a
1958 single error with a single, newline escaped sentence to permit
1959 better translation into foreign languages.
1960
1961 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1962 class names.
1963
956cd1d6
TS
19642001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1965
1966 * strings.c (get_char): Initialize value.
1967
956c53ee
TS
19682001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1969
1970 * arlex.l: Silence compile warnings.
1971 * arsup.h: Likewise. Fix formatting.
1972
cedd9a58
JJ
19732001-12-04 Jakub Jelinek <jakub@redhat.com>
1974
1975 * strings.c: Include config.h before bfd.h.
1976 (file_off): New type.
1977 (file_open): Define.
1978 (print_strings): Use file_off instead of file_ptr. Print addresses
1979 which don't fit into long correctly.
1980 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1981 available.
1982 (strings_file): Use file_off instead of file_ptr. Use file_open.
1983 * configure.in: Check for getc_unlocked.
1984 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1985 be defined for it.
1986 * configure: Rebuilt.
1987 * config.h.in: Rebuilt.
1988
af667503
L
19892001-11-29 H.J. Lu <hjl@gnu.org>
1990
1991 * bucomm.c (make_tempname): Revert the changes made on
1992 2001-11-14 and 2001-11-12. They won't work with directories.
1993
16474668
NC
19942001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1995
1996 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1997 CFLAGS_FOR_TARGET to runtest in environment.
1998 * Makefile.in: Rebuild.
1999 * doc/Makefile.in: Rebuild.
2000
17978339
MS
20012001-11-28 Mike Stump <mrs@wrs.com>
2002
2003 * objcopy.c (setup_section): Preserve SEC_RELOC when
2004 --set-section-flags is used.
2005
261a45ad
NC
20062001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2007
2008 * readelf.c (do_debug_str): New variable.
2009 (display_debug_str): New function: Display the contents of a
2010 .debug_str section.
2011 (load_debug_str): New function: Load in the contents of a
2012 .debug_str section.
2013 (free_debug_str): New function: Free the memory used by
2014 load_debug_str().
2015 (fetch_indirect_string): Retrieve a string from the .debug_str
2016 section.
2017 (usage): Add -ws.
2018 (parse_args): Accept -ws.
2019 (process_section_headers): Allow the display of the .debug_str
2020 section.
2021 (read_and_display_attr_value): Use fetch_indirect_string. Show
2022 offset into .debug_str section.
2023 (display_debug_info): Use load_debug_str and free_debug_str.
2024 (debug_displays): Add .debug_str.
2025 * doc/binutils.texi: Document -ws.
2026
b8908f93
AJ
20272001-11-19 Andreas Jaeger <aj@suse.de>
2028
2029 * testsuite/binutils-all/objdump.exp: Add x86-64.
2030
e5fb9629
AS
20312001-11-15 Andreas Schwab <schwab@suse.de>
2032
2033 * readelf.c: Fix warnings without terminating newline.
2034
802a735e
AM
20352001-11-15 Alan Modra <amodra@bigpond.net.au>
2036
2037 * doc/binutils.texi (objdump): Document ppc -M options.
2038
b89e9eae
AJ
20392001-11-14 Andreas Jaeger <aj@suse.de>
2040
2041 * doc/binutils.texi (objdump): Fix description to use x86-64.
2042
a6a25652
NC
20432001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2044
2045 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2046 not all systems provide mkstemp.
2047
e396998b
AM
20482001-11-14 Alan Modra <amodra@bigpond.net.au>
2049
2050 * doc/binutils.texi (objdump): Document x86 -M options.
2051
81766fca
RH
20522001-11-13 Keith Walker <keith.walker@arm.com>
2053
2054 * readelf.c (read_and_display_attr_value): New function to
2055 handle DW_FORM_indirect.
2056 (read_and_display_attr): Use it.
2057
1a509dcc
GK
20582001-11-13 Geoffrey Keating <geoffk@redhat.com>
2059
2060 * readelf.c (display_debug_lines): Deal with unknown standard
2061 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2062 DW_LNS_set_isa.
2063
6e917903 20642001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2065
6e917903
TW
2066 * MAINTAINERS: Add self as tic54x maintainer. This target
2067 includes the IBM C54XDSP clone.
7559e86e 2068
6e917903 20692001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2070
7559e86e
NC
2071 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2072
20732001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2074
ecdadc4a
JL
2075 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2076 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2077 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2078 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2079 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2080 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2081 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2082
91770270
JL
2083 * readelf.c (get_elf_class): Fix ISO portability glitch.
2084 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2085
ef5cdfc7
JJ
20862001-11-07 Jakub Jelinek <jakub@redhat.com>
2087
2088 * readelf.c (debug_str, debug_str_size): New.
2089 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2090 Call free_abbrevs.
2091 (read_and_display_addr): Handle DW_FORM_strp.
2092 (display_debug_info): Read .debug_str section if present,
2093 so that DW_FORM_strp can be handled.
2094 Fix test for non-existant .debug_abbrev section.
2095
5e9520c8
JJ
20962001-11-05 Jakub Jelinek <jakub@redhat.com>
2097
2098 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2099
2100 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2101
54589086
MS
21022001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2103
2104 * MAINTAINERS: Add self as s390/s390x maintainer.
2105
c05b685b
TR
21062001-11-02 Tom Rix <trix@bluey.cygnus.com>
2107
2108 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2109
3c62831e
NC
21102001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2111
2112 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2113 * configure: Regernate.
2114 * po/fr.po: New file.
2115 * po/tr.po: New file.
2116
3c3bdf30
NC
21172001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2118
9b19141a 2119 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2120 * readelf.c: Include elf/mmix.h.
2121 (guess_is_rela): MMIX is RELA.
2122 (dump_relocations): Handle MMIX relocations.
2123 * Makefile.am: Regenerate dependencies.
2124 * Makefile.in: Regenerate.
2125
f662939a
NC
21262001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2127
2128 * readelf.c (parse_args): Handle multiple options to the -w
2129 switch.
2130
c91d0dfb
JJ
21312001-10-12 Jakub Jelinek <jakub@redhat.com>
2132
2133 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2134 LOPROC, LOOS and LOUSER.
2135
7559e86e 21362001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2137
2138 * MAINTAINERS: Update my email address.
2139
fcd8210c
AM
21402001-10-03 Alan Modra <amodra@bigpond.net.au>
2141
2142 * doc/Makefile.in: Regenerate.
2143 * configure: Regenerate.
2144
428409d5
NC
21452001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2146
2147 * readelf.c (display_debug_line, display_debug_pubnames,
2148 display_debug_info, display_debug_frames): Detect and warn
2149 about 64-bit format entries.
2150 (display_debug_aranges): Reword 64-bit warning.
2151 (debug_displays): Add .debug_pubtypes as a known, but not yet
2152 supported, debug section.
2153
6a8c2b0d
AM
21542001-10-02 Alan Modra <amodra@bigpond.net.au>
2155
2156 * coffdump.c (PROGRAM_VERSION): Delete.
2157 (main <'V'>): Call print_version.
2158 * srconv.c: Likewise.
2159 * sysdump.c: Likewise.
2160 * version.c (program_version): Remove.
2161 (print_version): Use BFD_VERSION_STRING. Just print the current
2162 year in copyright message.
2163 * addr2line.c (program_version): Remove unused declaration.
2164 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2165 place of BFD_VERSION.
2166 * Makefile.am (Makefile): Depend on bfd/configure.in.
2167 (cplus-dem.o): Depend on Makefile.
2168 Run "make dep-am".
2169 * Makefile.in: Regenerate.
2170
e414a165
NC
21712001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2172
2173 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2174 format .debug_arange sections.
2175 (main): Add missing prototype.
b8908f93 2176
efc3ee7f
HPN
21772001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2178
2179 * Makefile.am: Update dependencies with "make dep-am".
2180 * Makefile.in: Regenerate.
2181
9e85c2a0
RH
21822001-09-28 Richard Henderson <rth@redhat.com>
2183
2184 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2185
451dad9c
AM
21862001-09-26 Alan Modra <amodra@bigpond.net.au>
2187
2188 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2189 VA_CLOSE.
2190 (non_fatal): Likewise.
2191 * objdump.c (objdump_sprintf): Likewise.
2192 * readelf.c (error): Likewise.
2193 (warn): Likewise.
2194
d974e256
JJ
21952001-09-25 Jakub Jelinek <jakub@redhat.com>
2196
2197 * readelf.c (do_wide): New.
2198 (options): Add --wide.
2199 (usage, parse_args): Likewise.
2200 (process_program_headers): Put each segment on a single line if
2201 --wide is given.
2202 (process_section_headers): Put each section on a single line if
2203 --wide is given.
2204 * doc/binutils.texi: Document it.
2205 * NEWS: Likewise.
2206
2f11c261
AM
22072001-09-25 Alan Modra <amodra@bigpond.net.au>
2208
2209 * readelf.c (print_vma): Print 8 digits of low hex value.
2210
1d50f91e
AJ
22112001-09-24 Andreas Jaeger <aj@suse.de>
2212
2213 * nlmconv.c: Fix warnings about unused attributes and function
2214 prototypes.
2215
2216 * strings.c: Add prototype for get_char.
2217
38131e67
L
22182000-09-19 H.J. Lu <hjl@gnu.org>
2219
2220 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2221 $(srcdir)/cxxfilt.man.
2222 * doc/Makefile.in: Rebuild.
2223
3bcfb3e4
AM
22242001-09-19 Alan Modra <amodra@bigpond.net.au>
2225
2226 * objcopy.c (copy_main): Correct rename-section string parsing.
2227 Consolidate new_name parsing, and error messages.
2228
3882b010
L
22292001-09-18 Bruno Haible <haible@clisp.cons.org>
2230
2231 * addr2line.c: Don't include <ctype.h>.
2232 (main): For gettext, also set the LC_CTYPE locate facet.
2233 * ar.c (main): Likewise.
2234 * coffdump.c (main): Likewise.
2235 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2236 (main): For gettext, also set the LC_CTYPE locate facet.
2237 Use ISALNUM instead of isalpha/isdigit.
2238 * dllwrap.c: Don't include <ctype.h>.
2239 (main): For gettext, also set the LC_CTYPE locate facet.
2240 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2241 (main): For gettext, also set the LC_CTYPE locate facet.
2242 Use TOUPPER instead of islower/toupper.
2243 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2244 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2245 Use TOUPPER instead of islower/toupper.
2246 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2247 * objcopy.c (main): Likewise.
2248 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2249 (disassemble_bytes): Use ISPRINT instead of isprint.
2250 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2251 (dump_data): Use ISPRINT instead of isprint.
2252 (main): For gettext, also set the LC_CTYPE locate facet.
2253 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2254 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2255 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2256 Use TOUPPER instead of islower/toupper.
2257 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2258 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2259 (write_rc_accelerators): Use ISPRINT instead of isprint.
2260 (write_rc_rcdata): Likewise.
2261 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2262 * srconv.c (main): Likewise.
2263 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2264 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2265 isdigit/isupper/islower.
2266 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2267 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2268 stab_demangle_prefix, stab_demangle_qualified,
2269 stab_demangle_template, stab_demangle_type,
2270 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2271 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2272 (isgraphic): Use ISPRINT instead of isascii/isprint.
2273 (main): Remove HAVE_LC_MESSAGES dependency.
2274 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2275 (pbarray): Use ISPRINT instead of isprint.
2276 (main): For gettext, also set the LC_CTYPE locate facet.
2277 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2278 (format_from_filename): Use ISPRINT instead of isprint.
2279 (main): For gettext, also set the LC_CTYPE locate facet.
2280 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2281 (unicode_print): Use ISPRINT instead of isprint.
2282 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2283 (stab_variable): Use ISDIGIT instead of isdigit.
2284
e59b4dfb
AM
22852001-09-18 Alan Modra <amodra@bigpond.net.au>
2286
2287 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2288 Replace bfd_read call with call to bfd_bread.
2289 (extract_file): Likewise.
2290
2291 * objdump.c (dump_section_header): Cast section->filepos to
2292 unsigned long to suit printf format string.
2293 * readelf.c (process_section_headers): Similarly for sh_offset.
2294 (process_unwind): Likewise.
2295
d132876a
NC
22962001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2297
2298 * strings.c (encoding, encoding_bytes): New variables.
2299 (long_options): Add --encoding.
2300 (main): Accept -e and --encoding.
2301 (get_char): New function. Read a, possibly wide, character from
2302 the input stream.
2303 (print_strings): Use get_char().
2304 (usage): Document new command line option.
2305 * doc/binutils.texi: Document new command line option.
2306 * NEWS: Announce new command line option.
2307
7559e86e 23082001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2309
2310 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2311 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2312 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2313 Removed EM_CYGNUS_ARC.
2314
7559e86e 23152001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2316
2317 * readelf.c: Include elf/h8 for H8 series definitions.
2318 (guess_is_rela): H8 series if RELA.
2319 (dump_relocations): Handle H8 series relocations.
2320
0823fbca
EC
23212001-08-31 Eric Christopher <echristo@redhat.com>
2322
2323 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2324
8db76d70
PT
23252001-08-29 Peter Targett <peter.targett@arccores.com>
2326
2327 * MAINTAINERS: Include ARC Maintainer.
2328
d81d6584
BE
23292001-08-29 Ben Elliston <bje@redhat.com>
2330
2331 * stabs.c (stab_demangle_template): Initialise s4.
2332
25a1ff5b
AM
23332001-08-27 Alan Modra <amodra@bigpond.net.au>
2334
2335 * readelf.c (dump_relocations): Recognise EM_PPC64.
2336
a5d22d2a
TS
23372001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2338
2339 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2340
62a5a82d
L
23412001-08-25 H.J. Lu <hjl@gnu.org>
2342
2343 * nm.c (print_width): New.
2344 (display_rel_file): Set `print_width' according to
2345 bfd_sprintf_vma.
2346 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2347
1ae8b3d2
AO
23482001-08-24 Alexandre Oliva <aoliva@redhat.com>
2349
2350 * objcopy.c (use_alt_mach_code): New variable.
2351 (OPTION_ALT_MACH_CODE): Define.
2352 (copy_options): Added --alt-machine-code.
2353 (copy_main): Handle it.
2354 (copy_object): Switch to alternate machine code if requested.
2355 * doc/binutils.texi: Document new option.
2356 * NEWS: Likewise.
2357
d1bdd336
TS
23582001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2359
2360 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2361
410f7a12
L
23622001-08-21 H.J. Lu <hjl@gnu.org>
2363
2364 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2365 (display_debug_info): Cast for 64bit hosts.
2366 (display_debug_frames): Likewise.
2367 (process_mips_specific): Likewise.
2368
c32144ff
AJ
23692001-08-21 Andreas Jaeger <aj@suse.de>
2370
2371 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2372
2373 * sysdump.c: Add missing prototypes.
2374 * srconv.c: Likewise.
2375 * unwind-ia64.c: Likewise.
2376 * coffdump.c: Likewise.
2377
2378 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2379
2380 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2381 of declaring xcalloc.
2382
d8180c76
L
23832001-08-10 H.J. Lu <hjl@gnu.org>
2384
2385 * nm.c (print_value): Add one arg, bfd *.
2386 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2387 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2388 (print_symbol_info_sysv): Likewise.
2389 (print_symbol_info_posix): Likewise.
2390
2391 * objdump.c (dump_section_header): Replace printf_vma with
2392 bfd_printf_vma.
2393 (print_section_stabs): Likewise.
2394 (dump_bfd_header): Likewise.
2395 (objdump_print_value): Replace sprintf_vma with
2396 bfd_sprintf_vma.
2397 (disassemble_bytes): Likewise.
2398 (dump_reloc_set): Likewise.
2399
0218d1e4
AJ
24002001-08-10 Andreas Jaeger <aj@suse.de>
2401
2402 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2403 to build warnings.
2404 * configure: Regenerate.
2405
2863d58a
AM
24062001-08-09 Alan Modra <amodra@bigpond.net.au>
2407
2408 * readelf.c: Add missing prototypes.
2409 * objdump.c: Likewise. Format existing prototypes.
2410
c0e047e0
AO
24112001-08-08 Alexandre Oliva <aoliva@redhat.com>
2412
2413 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2414 of any RELA relocation for the abbrev_offset memory location that
2415 refers to the .debug_abbrev section symbol.
2416
ff78d6d6
L
24172001-08-07 H.J. Lu <hjl@gnu.org>
2418
2419 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2420 (main): Return process_file ().
2421
c36774d6
PB
24222001-08-05 Philip Blundell <philb@gnu.org>
2423
2424 * doc/binutils.texi: Use "Thumb" not "THUMB".
2425
8f9d9bd9
JH
24262001-08-03 John Healy <jhealy@redhat.com>
2427
bb279dc0
ZW
2428 Patch suggested by Frank Eigler <fche@redhat.com>.
2429 * objdump.c (disassemble_data): Fill in section member of the
2430 disasm_info structure.
8f9d9bd9 2431
c918cb96
DD
24322001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2433
2434 * configure.in: Added --with-windres option.
2435 * configure: Regenerated.
2436
c7c55b78
NC
24372001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2438
2439 * doc/binutils.texi: Use @command{name} for commands;
2440 use @option{-opt} for options; use @table @env for list of options;
2441 remove spaces arround [ | ] in synopsis.
2442
2443 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2444 center title.
2445
594ef5db
NC
24462001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2447
bb279dc0
ZW
2448 * objcopy.c: Fix formatting.
2449 (section_rename): New structure.
2450 (OPTION_RENAME_SECTION): New switch.
2451 (copy_usage): Document new switch.
2452 (add_section_rename): New function: Add a node to the section
2453 rename list.
2454 (find_section_rename): New function: Find the new name and
2455 flags for a section.
2456 (setup_section): Call find_section_name to determine the name
2457 of the output section.
2458 (copy_main): Handle OPTION_RENAME_SECTION.
2459 * binutils.texi: Document new switch.
594ef5db
NC
2460 * NEWS: Mention new switch.
2461
1f554c69
NC
24622001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2463
2464 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2465 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2466 bug-binutils@gcc.org.
2467
2f83960e
AM
24682001-07-28 Matthias Kramm <kramm@quiss.org>
2469
2470 * bucomm.c (list_supported_architectures): New function.
2471 * bucomm.h (list_supported_architectures): Declare.
2472 * objdump.c (usage): Call the above.
2473
20fe0649
DB
24742001-07-25 Dave Brolley <brolley@redhat.com>
2475
2476 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2477 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2478
1b577b00
NC
24792001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2480
2481 * README: Update for 2.11. Change bug reporting email address.
2482 * MAINTAINERS: Tidy up. Change bug reporting email address.
2483
95fd336c
DD
24842001-07-16 DJ Delorie <dj@redhat.com>
2485
5f16d855
DD
2486 * resres.c (write_res_header): Align header size.
2487 (res_align_file): Calculate alignment correctly.
2488
95fd336c
DD
2489 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2490 correct 10).
2491 * resrc.c (write_rc_resource): Likewise.
2492 * windres.h (SUBLANG_SHIFT): Define - as 10.
2493
ed8fee27
NC
24942001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2495
2496 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2497
90ab7e9a
NC
24982001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2499
2500 * MAINTAINERS: Add notes about branch checkins.
2501
e0c60db2
NC
25022001-07-05 Daniel Berlin <dan@cgsoftware.com>
2503
2504 * readelf.c (display_debug_macinfo): New function, display
2505 .debug_macinfo section.
2506 (do_debug_macinfo): New variable.
2507 (parse_args): Handle "-w[mM]" to mean display macro info.
2508 (process_section_headers): Handle debug_macinfo.
2509 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2510 function for .debug_macinfo display.
e0c60db2
NC
2511 * doc/binutils.texi: Document new command line switch.
2512 * NEWS: Document new feature of readelf.
0218d1e4 2513
24e01a36
L
25142001-07-05 H.J. Lu <hjl@gnu.org>
2515
2516 * objcopy.c (filter_symbols): Don't turn undefined symbols
2517 into local.
2518
4258bf4d
L
25192001-07-03 H.J. Lu <hjl@gnu.org>
2520
2521 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2522 $@.pod.
2523 (ar.1): Likewise.
2524 (dlltool.1): Likewise.
2525 (nlmconv.1): Likewise.
2526 (nm.1): Likewise.
2527 (objcopy.1): Likewise.
2528 (objdump.1): Likewise.
2529 (ranlib.1): Likewise.
2530 (readelf.1): Likewise.
2531 (size.1): Likewise.
2532 (strings.1): Likewise.
2533 (strip.1): Likewise.
2534 (windres.1): Likewise.
2535 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2536 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2537 $(DEMANGLER_NAME).
2538 (as.1): Removed.
2539 * doc/Makefile.in: Regenerated.
2540
7014bc31
NC
25412001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2542
2543 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2544
b811889f
NC
25452001-07-01 Daniel Berlin <dan@cgsoftware.com>
2546
2547 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2548
12ab83a9
NC
25492001-06-29 James Cownie <jcownie@etnus.com>
2550
2551 * readelf.c: Support DWARF 2.1 attributes.
2552
a6e9f9df
AM
25532001-06-28 Alan Modra <amodra@bigpond.net.au>
2554
2555 * readelf.c (GET_DATA_ALLOC): Remove.
2556 (GET_DATA): Remove.
2557 (get_data): New function combining above macros, with an extra
2558 test for zero size.
2559 (slurp_rela_relocs): Use get_data, and catch error return.
2560 (slurp_rel_relocs): Likewise.
2561 (get_32bit_program_headers): Likewise.
2562 (get_64bit_program_headers): Likewise.
2563 (get_32bit_section_headers): Likewise.
2564 (get_64bit_section_headers): Likewise.
2565 (get_32bit_elf_symbols): Likewise.
2566 (get_64bit_elf_symbols): Likewise.
2567 (process_section_headers): Likewise.
2568 (process_relocs): Likewise.
2569 (slurp_ia64_unwind_table): Likewise.
2570 (process_unwind): Likewise.
2571 (get_32bit_dynamic_segment): Likewise.
2572 (get_64bit_dynamic_segment): Likewise.
2573 (process_dynamic_segment): Likewise.
2574 (process_version_sections): Likewise.
2575 (process_symbol_table): Likewise.
2576 (dump_section): Likewise.
2577 (display_debug_info): Likewise.
2578 (display_debug_section): Likewise.
2579 (process_section_contents): Likewise.
2580 (process_corefile_note_segment): Likewise.
2581 (process_mips_specific): Likewise. Also free econf32, econf64.
2582
af3fc3bc
AM
25832001-06-25 Alan Modra <amodra@bigpond.net.au>
2584
2585 * readelf.c (dump_relocations): Print "bad symbol index" if
2586 symtab == NULL with non-zero symtab_index.
2587 (process_relocs): Don't bomb if reloc section has no symsec.
2588
6d900bf6
L
25892001-06-24 H.J. Lu <hjl@gnu.org>
2590
2591 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2592 by accident.
2593 (copy_main): Apply the the change made to strip_main on
2594 2001-05-30 by accident.
2595
49b4e386
AJ
25962001-06-23 Andreas Jaeger <aj@suse.de>
2597
2598 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2599 parameter 'code'.
2600 (unw_decode_x2): Likewise.
2601 (unw_decode_x3): Likewise.
2602 (unw_decode_x4): Likewise.
2603
d8dc71e3
BE
26042001-06-23 Ben Elliston <bje@redhat.com>
2605
2606 * MAINTAINERS: Add myself as M88k maintainer.
2607
af3bdff7
NC
26082001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2609
2610 * objcopy.c (strip_main): Support -o or --output-file command lien
2611 switch.
2612
105e7211
L
26132001-06-19 H.J. Lu <hjl@gnu.org>
2614
2615 * doc/Makefile.in: Regenerated.
2616
c45021f2
NC
26172001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2618
2619 * readelf.c: Restore formatting.
2620
26212001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2622
bb279dc0
ZW
2623 * Makefile.am: Move documentation into doc subdirectory.
2624 * Makefile.in: Regenerated.
c45021f2 2625 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2626 * addr2line.1: Removed.
2627 * ar.1: Likewise.
2628 * dlltool.1: Likewise.
2629 * nlmconv.1: Likewise.
2630 * nm.1: Likewise.
2631 * objcopy.1: Likewise.
2632 * objdump.1: Likewise.
2633 * ranlib.1: Likewise.
2634 * readelf.1: Likewise.
2635 * size.1: Likewise.
2636 * strings.1: Likewise.
2637 * strip.1: Likewise.
2638 * windres.1: Likewise.
2639 * cxxfilt.man: Likewise.
c45021f2
NC
2640 * doc: New Directory.
2641 * doc/Makefile.am: New file.
2642 * doc/Makefile.in: Generate.
2643
09ad7db3
AM
26442001-06-09 Alan Modra <amodra@bigpond.net.au>
2645
2646 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2647
936260fe
AM
26482001-06-01 Alan Modra <amodra@bigpond.net.au>
2649
2650 * MAINTAINERS: Update my email address.
2651
16b2b71c
NC
26522001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2653
2654 * objcopy.c: Add new switches: --keep-global-symbol,
2655 --keep-symbols, --localize-symbols, --keep-global-symbols and
2656 --weaken-symbols.
2657 * binutils.texi: Document new switches.
2658 * objcopy.1: Regenerate.
2659 * NEWS: Announce new feature.
2660
7036c0e1
AJ
26612001-05-28 Andreas Jaeger <aj@suse.de>
2662
2663 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2664 variables, fix format strings.
2665
76a406e5
NC
26662001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2667
2668 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2669 when computing the address of the line to show.
2670
31b6fca6
RH
26712001-05-16 Richard Henderson <rth@redhat.com>
2672
2673 * readelf.c (do_debug_frames_interp): New.
2674 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2675 (byte_get_big_endian): Likewise.
2676 (parse_args) ['F']: Set do_debug_frames_interp.
2677 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2678 (frame_display_row): Don't trunc pc_begin to int.
2679 (size_of_encoded_value): New.
2680 (display_debug_frames): Handle 64-bit targets. Print raw data
2681 unless do_debug_frames_interp.
2682 (debug_displays): Remove duplicate .debug_frame.
2683
4fe85591
NC
26842001-05-15 Ralf Baechle <ralf@gnu.org>
2685
2686 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2687 The former constant was never in active use and is used otherwise
2688 by the ABI.
2689
579f31ac
JJ
26902001-05-11 Jakub Jelinek <jakub@redhat.com>
2691
2692 * readelf.c (process_unwind): Print all unwind sections, not just
2693 one.
2694
78f4a3f7
AM
26952001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2696
2697 * readelf.c (process_unwind): Remove const specifier.
2698
1c529ca6
NC
26992001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2700
2701 * strings.c (isgraphic): Do not use isascii() unless it is needed
2702 for isprint() to work.
2703 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2704
87e6d782
NC
27052001-04-27 Johan Rydberg <jrydberg@opencores.org>
2706
bb279dc0 2707 * NEWS: Announce support for OpenRISC.
87e6d782 2708
4bd3d870 27092001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2710
2711 * dlltool.c (do_default_excludes): Initialise to true.
2712
21211521
AM
27132001-04-10 Alan Modra <amodra@one.net.au>
2714
2715 * MAINTAINERS: Update my email address
2716 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2717
0c66b61e 27182001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2719
2720 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2721
e58d53af
L
27222001-03-30 H.J. Lu <hjl@gnu.org>
2723
2724 * readelf.c (process_unwind): Just return if do_unwind is 0.
2725
bee72332
DD
27262001-03-28 Roger Sayle <roger@metaphorics.com>
2727
2728 * dlltool.c (make_one_lib_file): Fix section flags for
2729 .text, .data and .bss in stub ds*.o files to match those
2730 generated by gas.
2731
f1467e33
L
27322001-03-29 H.J. Lu <hjl@gnu.org>
2733
2734 * readelf.c (process_unwind): Only do unwind sections for
2735 IA64.
2736
1c6fb4fe
L
27372001-03-28 H.J. Lu <hjl@gnu.org>
2738
2739 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2740 * Makefile.in: Regenerate.
2741
0879a67a
AJ
27422001-03-26 Andreas Jaeger <aj@suse.de>
2743
2744 * binutils.texi (nm): Fix texi syntax.
2745
0285c67d
NC
27462001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2747
2748 * binutils.texi: Put @c man begin and @c man end indications
2749 to generate man pages using texi2pod and pod2man. Put @c man title
2750 to identify each man. Add SEEALSO entries.
2751 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2752 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2753 sort the list.
2754 (*.1): Build the man pages from binutils.texi.
2755 * Makefile.in: Regenerate.
2756
04847a4d
CF
27572001-03-13 Eric Kohl <ekohl@rz-online.de>
2758
2759 * defparse.y (opt_equal_name): allow "." in name.
2760 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2761 (gen_exp_file): Likewise.
2762
43a0748c
NC
27632001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2764
2765 * NEWS: Document addition of -B switch to objcopy.
2766 * binutils.texi: Document addition of -B switch to objcopy.
2767 * objcopy.c: (copy_options): Add --binary-architecture.
2768 (copy_usage): Document -B/--binary-architecture.
2769 (copy_main): Support -B/--binary-architecture. Set
2770 bfd_external_binary_architecture.
0879a67a 2771
b7498e0e
NC
27722001-03-11 Andreas Jaeger <aj@suse.de>
2773
2774 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2775 (dump_relocations): Likewise.
2776 (get_machine_name): Likewise.
2777
a59e3bd7
NC
27782001-02-28 Nick Clifton <nickc@redhat.com>
2779
2780 * readelf.c: (struct unw_aux_info): Remove const modifier for
2781 'strtab' field.
2782 (process_unwind): Remove non-K&R compliant LHS type cast in call
2783 to GET_DATA_ALLOC macro.
2784
a5bcd848
PB
27852001-02-28 Philip Blundell <pb@futuretv.com>
2786
2787 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2788 ABI is in use; remove ambiguity between the "unknown" EABI and
2789 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2790 renamed EF_xx constants.
2791
27b7e12d
AM
27922001-02-27 Alan Modra <alan@linuxcare.com.au>
2793
2794 * configure.in (BFD_VERSION): New.
2795 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2796 * configure: Regenerate.
2797 * Makefile.am: Run "make dep-am"
2798 * Makefile.in: Regenerate.
2799
a9f10786
NC
28002001-02-14 Nick Clifton <nickc@redhat.com>
2801
2802 * MAINTAINERS: Add "Obvious Fix" rule.
2803
3c44da9a
MS
28042001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2805
2806 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2807 literal concatenation.
2808
ecd03389
MS
28092001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2810
2811 * readelf.c (struct unw_aux_info): Remove const from the info member.
2812 (process_unwind): Don't type-cast the third argument to the
2813 GET_DATA_ALLOC macro.
2814
88ec60c7
NC
28152001-02-11 Nick Clifton <nickc@redhat.com>
2816
2817 * readelf.c (dump_relocations): Free corrected allocated
2818 array.
2819 (process_unwind): Fix compile time warning.
2820
f5e21966
NC
28212001-02-10 Nick Clifton <nickc@redhat.com>
2822
2823 * binutils.texi: Document new --unwind option to readelf.
2824
a85d7ed0
NC
28252001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2826
2827 * readelf.c: Add linux target for S/390.
2828
7bb10502
AM
28292001-02-10 Alan Modra <alan@linuxcare.com.au>
2830
2831 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2832 printf is a macro.
2833
8ca8f343
HPN
28342001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2835
2836 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2837 * aclocal.m4: Regenerate.
2838 * configure: Regenerate.
2839
7340082d
NC
28402001-02-07 Todd Vierling <tv@wasabisystems.com>
2841
2842 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2843 * objdump.c (bfd_target_vector): Likewise.
2844
4d6ed7c8
NC
28452001-02-07 David Mosberger <davidm@hpl.hp.com>
2846
2847 * readelf.c (process_unwind): New function.
2848 (slurp_ia64_unwind_table): Ditto.
2849 (dump_ia64_unwind): Ditto.
2850 (find_symbol_for_address): Ditto.
2851 (slurp_rela_relocs): New function (split off from dump_relocations()).
2852 (slurp_rel_relocs): Ditto.
2853 (parse_args): Handle '-u' option.
2854
2855 * unwind-ia64.c: New file.
2856 * unwind-ia64.h: New file.
2857 * Makefile.am: Include unwind-ia64.c in readelf build.
2858 * Makefile.in: Regenerate.
7340082d 2859 * po/binutils.pot: Regenerate.
4d6ed7c8 2860
c7217458
PB
28612001-02-04 Philip Blundell <philb@gnu.org>
2862
2863 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2864 * configure: Regenerate.
2865
956eedd4
AM
28662001-01-31 Steve deRosier <sderosier@vari-lite.com>
2867
2868 * ieee.c (ieee_add_bb11): Don't check for backslashes
2869 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2870
8855cbca
AM
28712001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2872
c7f2731e
AM
2873 * ieee.c: Update copyright.
2874 (ieee_start_compilation_unit): Don't check for backslashes
2875 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2876
8855cbca
AM
2877 * stabs.c: Update copyright. Include "filenames.h".
2878 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2879
329de803 28802001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2881
2882 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2883 sections are present before using them. Remove code duplication.
2884 (process_symbol_table): Check if VERDEF or VERNEED sections are
2885 present before using them.
2886
23719f39
NC
28872001-01-17 Nick Clifton <nickc@redhat.com>
2888
2889 * objcopy.c (copy_object): Fail if attempting to convert the
2890 endianness of the input object file.
2891
2892 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2893
f726e849
NC
28942001-01-16 Nick Clifton <nickc@redhat.com>
2895
2896 * readelf.c (string_table_length): New variable.
2897 (SECTION_NAME): Catch out of range indices and missing section
2898 pointers.
2899 (process_section_headers): Delete useless local variable
2900 string_table_offset. Set the value of string_table_length
2901 after loading the string table.
2902 (process_mips_specific): Use SECTION_NAME macro.
2903 (process_file): Set string_table_length to 0 when it is freed.
2904
d0398d6a
NC
29052001-01-12 Nick Clifton <nickc@redhat.com>
2906
2907 * version.c (print_version): Update copyright date.
2908
0d2bcfaf
NC
29092001-01-11 Peter Targett <peter.targett@arccores.com>
2910
2911 * readelf.c (dump_relocations): Include selection with EM_ARC.
2912 (get_machine_name) Update name to "ARC".
2913
8b1e6df3
NC
29142001-01-09 Nick Clifton <nickc@redhat.com>
2915
2916 * Makefile.am: Add rule to build objdump.o from objdump.c and
2917 using OBJDUMP_DEFS.
2918 * Makefile.in: Regenerate.
2919
2920 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2921 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2922 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2923 * configure: Regenerate.
8b1e6df3
NC
2924
2925 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2926 is defined read in the relocs even if dump_reloc_info is
2927 false.
2928
2f952d20
PB
29292001-01-07 Philip Blundell <philb@gnu.org>
2930
2931 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2932 `bug-binutils'.
2933 * README: Likewise.
2934
a8c548cb
NC
29352000-12-19 Nick Clifton <nickc@redhat.com>
2936
2937 * dlltool.c: Add missing support for arm-epoc-pe.
2938 * configure.in: Add missing support for arm-epoc-pe.
2939 * configure: Regenerate.
2940
cc5fda35
NC
29412000-12-15 Nick Clifton <nickc@redhat.com>
2942
2943 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2944 Mode parts of the x86 port.
2945
bcedfee6
NC
29462000-12-04 Andreas Jaeger <aj@suse.de>
2947
2948 * readelf.c (guess_is_rela): Add EM_X86_64.
2949 (dump_relocations): Add EM_X86_64.
2950 (get_machine_name): Add EM_X86_64.
2951 Include "elf/x86-64.h".
2952
584da044
NC
29532000-12-12 Nick Clifton <nickc@redhat.com>
2954
2955 * readelf.c: Fix formatting.
2956
7559e86e 29572000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2958
2959 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2960
a98cc2b2
AH
29612000-12-07 Andrew Haley <aph@redhat.com>
2962
2963 * readelf.c (display_debug_frames): Only display columns that are
2964 referenced by the frame debug info.
2965
c7987a69
NC
29662000-12-05 Nick Clifton <nickc@redhat.com>
2967
2968 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2969
09fd7e38
JM
29702000-12-04 Jason Merrill <jason@redhat.com>
2971
2972 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2973 (display_debug_section): Likewise.
2974 (display_debug_info): Display CU header before bailing.
2975
e7af610e
NC
29762000-12-01 Chris Demetriou <cgd@sibyte.com>
2977
09fd7e38
JM
2978 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2979 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2980 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2981
09fd7e38
JM
2982 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2983 and E_MIPS_ARCH_64.
84ea6cf2 2984
09fd7e38
JM
2985 * readelf.c (get_machine_flags): Add case for
2986 E_MIPS_MACH_SB1.
c6c98b38 2987
75066968
DD
29882000-11-30 Richard Earnshaw <rearnsha@arm.com>
2989
2990 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2991
5c4666ea
HPN
29922000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2993