merge from gcc
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
6b10f68d
AM
12003-09-02 Alan Modra <amodra@bigpond.net.au>
2
3 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
4
3673a93e
NC
52003-08-21 Nick Clifton <nickc@redhat.com>
6
7 * po/tr.po: Updated Turkish translation.
8
51f7282a
AM
92003-08-14 Alan Modra <amodra@bigpond.net.au>
10
55bb4be3 11 * dep-in.sed: Remove libintl.h.
51f7282a 12 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 13 Run "make dep-am".
51f7282a
AM
14 * Makefile.in: Regenerate.
15
d989285c
ILT
162003-08-11 Ian Lance Taylor <ian@airs.com>
17
18 * readelf.c (process_archive): Fix error handling. Remove memory
19 leak.
fb52b2f4
NC
20
21 * readelf.c: Add ability to read archives.
22 (archive_file_offset): New variable.
23 (archive_file_size): New variable.
24 (get_data): Include archive_file_offset in file offset
25 calculation when fseeking.
26 (process_program_headers): Likewise.
27 (process_symbol_table): Likewise.
28 (process_dynamic_segment): Handle computation of end of file
29 position when the file is in an archive.
30 (process_object): New function. Contains the body of
31 process_file().
32 (process_archive): New function. Call process_object on each
33 member of an archive.
34 (process_file): Detect archives and handle appropriately.
35 * Makefile.am: Add dependency on aout/ar.h for readelf.c
36 * Makefile.in: Regenerate.
37 * NEWS: Document readelf's new ability.
38 * doc/binutils: Alter text to say that readelf supports archives
39 and 64-bit ELF files.
40
ff85ab24
NC
412003-08-08 Nick Clifton <nickc@redhat.com>
42
43 * po/fr.po: Updated French translation.
44
d3ba0551
AM
452003-08-05 Alan Modra <amodra@bigpond.net.au>
46
47 * objcopy.c: Remove unnecessary prototypes and casts.
48 * objdump.c: Remove unnecessary casts.
49 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
50 (get_osabi_name): Move so we don't need a forward declaration.
51
43ac9881
AM
522003-08-04 Bradley Harrington <bharring@us.ibm.com>
53 Alan Modra <amodra@bigpond.net.au>
54
55 * objdump.c (include_paths, include_path_count): New vars.
56 (usage): Describe --include.
57 (long_options): Add "include".
58 (add_include_path): New function.
59 (struct print_file_list): Make filename const. Add modname.
60 (try_print_file_open, update_source_path): New functions.
61 (show_line): Use them.
62 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
63
fd7bb956
AM
642003-07-30 Alan Modra <amodra@bigpond.net.au>
65
66 * objdump.c: Remove unnecessary prototypes.
67 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
68 code, and print relocs when dump_dynamic_reloc_info.
69 (disassemble_data): Read and handle dynamic relocs. Correct reloc
70 skip code. Formatting.
71 (dump_bfd): Don't dump dynamic relocs when disassembling.
72
1e7e751f
BE
732003-07-29 Ben Elliston <bje@wasabisystems.com>
74
75 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
76 maintenance defaults to the blanket write privilege maintainers.
77
2445335e
MM
782003-07-29 Michael Meissner <gnu@the-meissners.org>
79
80 * MAINTAINERS: Updated my email address.
81
46dca2e0
NC
822003-07-29 Nick Clifton <nickc@redhat.com>
83
1e7e751f 84 * objdump.c: Update to ISO C.
46dca2e0 85
834d807b
NC
862003-07-24 Nick Clifton <nickc@redhat.com>
87
f1e2bc62
NC
88 * objdump.c (disassemble_data): Do not ignore sections without the
89 LOAD flag when disassemble_all is true. Only print a message
90 about disassembling a section if it contains some data.
91
834d807b
NC
92 * po/fr.po: Updated French translation.
93
84e2f313
NC
942003-07-23 Nick Clifton <nickc@redhat.com>
95
96 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
97 left in. Some formatting tidy ups.
98
51cdc6e0
NC
992003-07-22 Salvador Eduardo Tropea <set@computer.org>
100
101 * objdump.c: New command line option --debugging-tags.
102 * doc/binutils.texi: Document new command line option.
103 * prdbg.c: Code to print the debug info as tags compatible
104 with ctags.
105 * budbg.h: Adjust prototype.
106 * NEWS: Mention new switch
107
31e0f3cd
NC
1082003-07-18 Nick Clifton <nickc@redhat.com>
109
110 * objdump.c (main) :Accept multiple -M switch.
111 * doc/binutils.texi: Document that multiple -M switches are
112 accepted and that a single -M switch can contain comma
113 separated options.
114
073fbac6
NC
1152003-07-17 Nick Clifton <nickc@redhat.com>
116
117 * objdump.c (main): Issue a warning message if multiple -M
118 switches are used.
119
120 * doc/binutils.texi (objdump): Update documentation about -M
121 option.
122
6c37ac4d
NC
1232003-07-17 Nick Clifton <nickc@redhat.com>
124
125 * po/es.po: New Spanish translation.
126
fce00800
AM
1272003-07-11 Alan Modra <amodra@bigpond.net.au>
128
129 * po/binutils.pot: Regenerate.
130
ff6b6222
CF
1312003-07-05 Christopher Faylor <cgf@redhat.com>
132
133 * dlltool.c (prefix_encode): Use a fixed length for alpha.
134
bf7a6389
CF
1352003-07-04 Christopher Faylor <cgf@redhat.com>
136
137 * dlltool.c (prefix_encode): New function. Encode temp file prefix
138 from pid.
139 (dlltmp): Pass address of pointer being alloced or suffer neverending
140 mallocs.
141 (make_one_lib_file): Allocate enough space for new longer stub names.
142 (gen_lib_file): Ditto.
143 (main): Generate the temp file prefix from the pid if prefix was not
144 specified on the command line.
145
96c223ce
NC
1462003-07-04 Nick Clifton <nickc@redhat.com>
147
148 * readelf.c (get_data): Print (unsigned) hex values for size and
149 offset in error messages.
150 (process_section_headers): If the string table could not be
151 allocated, do not continue.
152
bdf4d63a
JJ
1532003-07-01 Jakub Jelinek <jakub@redhat.com>
154
155 * readelf.c (dynamic_segment_ia64_val): Print address and newline
156 for sections by default. Comment fix.
157
b9ae0492
DS
1582003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
159
160 * rcparse.y (res_text_field): New res_id variable.
161 (res_null_text): New static const struct res_id object,
162 with empty unicode name field.
163 (control): Pop parsing of optresidc up one level. Set
164 res_text_field to $2 except for controls which do not accept
165 a text field. Set res_text_field to res_null_text for the
166 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
167 (control_params): Adjust to use res_text_field rather
168 than optresidc.
169 (COMBOBOX): Add comment about discrepency between documented
170 vs. observed default style.
171 * resrc.c (define_control): Make first param const.
172 * windres.h (define_control): Adjust prototype.
173
e7c81c25
NC
1742003-06-27 Nick Clifton <nickc@redhat.com>
175
176 * objcopy.c (copy_object): Replace call to
177 bfd_create_gnu_debuglink_section with seperate calls to
178 bfd_add_gnu_debuglink_section and
179 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
180 symbol tables.
181
d93f0186
NC
1822003-06-26 Roland McGrath <roland@redhat.com>
183
184 * readelf.c (loadaddr): Variable removed.
185 (dynamic_info, version_info): Fix type long -> bfd_vma.
186 (program_headers): New variable.
187 (get_program_headers): New function, broken out of
188 process_program_headers.
189 (process_program_headers): Call it. Don't set `loadaddr'.
190 (slurp_ia64_unwind_table): Use get_program_headers.
191 (process_corefile_note_segments): Likewise.
192 (offset_from_vma): New function.
193 (process_relocs, process_dynamic_segment): Call that instead of
194 subtracting `loadaddr'.
195 (process_version_sections, process_symbol_table): Likewise.
196 (process_mips_specific): Likewise.
197
ed1653a7
NC
1982003-06-26 Nick Clifton <nickc@redhat.com>
199
200 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
201 (OPTION_ONLY_KEEP_DEBUG): New.
202 (strip_options): Add --only-keep-debug.
203 (copy_options): Likewise.
204 (is_strip_section): Invert return value if STRIP_NONDEBUG is
205 active.
206 (copy_object): Do not copy private data when STRIP_NONDEBUG is
207 active.
208 (setup_section): Likewise.
209 (strip_main): Handle --only-keep-debug.
210 (copy_main): Likewise.
211 * NEWS: Mention new switch
212 * doc/binutils.texi: Document new switch.
213
1049f94e
AM
2142003-06-25 Alan Modra <amodra@bigpond.net.au>
215
216 * NEWS: Correct spelling of "relocatable".
217 * objdump.c: Likewise.
218 * sysroff.info: Likewise.
219
b19aac67
NC
2202003-06-19 Nick Clifton <nickc@redhat.com>
221
222 * readelf.c (print_vma): When printing DEC_5 values, if the
223 number is bigger than 99999 switch to using hexadecimal
224 notation.
225
2593f09a
NC
2262003-06-11 Nick Clifton <nickc@redhat.com>
227
228 * objcopy.c (gnu_debuglink_filename): New variable.
229 (OPTION_ADD_GNU_DEBUGLINK): New switch
230 (copy_options): Describe --add-gnu-debuglink switch.
231 Mention that --strip-debug removes sections as well.
232 (is_strip_section): Process the sections removed and kept
233 lists before checking for debugging sections.
234 (add_redefine_syms_file): Make function static.
235 (copy_object): Use is_strip_section.
236 Check to see if a .gnu_debuglink section should be added. If
237 so, call bfd_add_gnu_debuglink.
238 (setup_section): Use is_strip_section.
239 (copy_section): Use is_strip_section.
240 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
241 * NEWS: Mention new objcopy switch.
242 * doc/binutils.texi: Document new switch.
243
3b443373
L
2442003-06-11 H.J. Lu <hongjiu.lu@intel.com>
245
246 * po/Make-in (DESTDIR): New.
247 (install-data-yes): Support $(DESTDIR).
248 (uninstall): Likewise.
249
795bb480
AM
2502003-06-11 Alan Modra <amodra@bigpond.net.au>
251
252 * Makefile.in: Regenerate.
253
9ee5e499
JJ
2542003-05-23 Jakub Jelinek <jakub@redhat.com>
255
256 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
257
a3b6428f
NC
2582003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
259
260 * NEWS: Document the new BSD/POSIX single-character mapping for
261 .comment/.note sections.
262
92991082
JT
2632003-06-02 Chris Demetriou <cgd@broadcom.com>
264 Jason Thorpe <thorpej@wasabisystems.com>
265
266 * objcopy.c (redefine_list_append): Add an argument that
267 indicates the context from which this function is being
268 called. Change all callers.
269 (copy_options): Add a new option, --redefine-syms.
270 (copy_usage): Document new option.
271 (copy_main): Handle the --redefine-syms option.
272 * doc/binutils.text (objcopy): Document new option.
273
38fafa6d
RH
2742003-05-31 Richard Henderson <rth@redhat.com>
275
276 * readelf.c (byte_get_signed): New.
277 (get_encoded_value): New.
278 (display_debug_frames): Use it. Always pre-process opcodes.
279
636fc387
ML
2802003-05-20 Michal Ludvig <mludvig@suse.cz>
281
282 * readelf.c (display_debug_frames): Print both registers
283 for DW_CFA_register.
284
80c7c40a
NC
2852003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
286
287 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
288 i[3-7]86-*-interix.
289 * configure.in: Regenerate.
290
0fcdcb91
NC
2912003-05-13 Michael Eager <eager@mvista.com>
292
293 * objcopy.c: Treat identical src/dst file names as if only one
294 entered. One Windows creating an output file of the same name as
295 the input file will delete the input file before it is read.
296
7ab5f2ed
NC
2972003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
298
299 * debug.c (debug_get_real_type): Extend test for circular debug
300 references.
301
3c92310f
NC
3022003-05-12 Nick Clifton <nickc@redhat.com>
303
304 * configure.in (ALL_LINGUAS): Add zh_CN.
305 * configure: Regenerate.
306 * po/zh_CN.po: New file: Chinese (simplified) translation.
307
d68c07bb
JE
3082003-05-11 Jason Eckhardt <jle@rice.edu>
309
310 * MAINTAINERS: Update my mail address.
311
8beeaeb7
L
3122003-05-07 H.J. Lu <hongjiu.lu@intel.com>
313
314 * readelf.c (dump_relocations): Enlarge the type field in wide
315 mode by one character.
316
63044634
RH
3172003-05-03 Richard Henderson <rth@redhat.com>
318
319 * readelf.c (struct Frame_Chunk): Add cfa_exp.
320 (frame_display_row): Just print "exp" for cfa or register
321 defined by a location expression.
322 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
323 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
324
6e50c90c
L
3252003-04-30 H.J. Lu <hjl@gnu.org>
326
327 * objdump.c (only): Change it to char **.
328 (only_size): New.
329 (only_used): New.
330 (disassemble_data): Check only as an array.
331 (dump_data): Likewise.
332 (dump_relocs): Likewise.
333 (main): Treat only as an array.
334
edbedb71
NC
3352003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
336
337 * doc/binutils.texi: Fix the documentation for the -fo option.
338
3f7de0e7
NC
3392003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
340
ef230218
JR
341 * readelf.c (get_machine_name) <EM_SH>: Amend return value
342 to refer to SuperH.
343
3f7de0e7
NC
344 * readelf.c (decode_location_expression): Don't add a trailing ';'.
345
32df8966
NC
3462003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
347 Nick Clifton <nickc@redhat.com>
348
349 * windres.c (long_options): Move close to main, where it is used.
350 Add 'input' and 'output' long options.
351 (main): Accept "-fo" as an alias for "-o". This is for rc
352 comptibility.
353 * doc/binutils.texi: Mention that -fo is accepted as an alias for
354 -o, but discourage its use.
355
85eb5110
NC
3562003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
357
358 * windres.c (format_from_name): Make the exit on error
359 behaviour optional.
360 (main): Rename the -I option to -J. Introduce -I as a synonym
361 for --include-dir. For backwards compatibility also support the
362 old -I behaviour, but issue a deprecation warning.
363 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
364 of the -I option.
365
26597c86
NC
3662003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
367
368 * readelf.c: Replace references to Mitsubishi M32R with
369 references to Renesas M32R.
370
c2dcd04e
NC
3712003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
372
373 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
374
c1124b23
AO
3752003-04-09 Alexandre Oliva <aoliva@redhat.com>
376
377 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
378 for debugging information types not supported by objdump.
379
e5076347
AM
3802003-04-09 Bernd Jendrissek <berndj@prism.co.za>
381
382 * configure.in: Recognize canonical form of i[3-6]86-pe*.
383 * configure: Regenerate.
384
adab8cdc
AO
3852003-04-09 Alexandre Oliva <aoliva@redhat.com>
386
387 * readelf.c (display_debug_info): Apply RELA relocations on the
388 entire section.
389 (byte_put_little_endian, byte_put_big_endian): New functions.
390 (byte_put): New variable.
391 (get_file_header): Initialize it.
392
3077f5d8
NC
3932003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
394
395 * windres.c: Add -l for compatibility with wrc, and rc.
396 Use the short option as a key for long options that have
397 a synonymous short option.
398 * doc/binutils.texi: Added -l to the list of options.
399
29b058f1
NC
4002003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
401
3077f5d8
NC
402 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
403 (main): Just pass the -U option down to the preprocessor.
404 * doc/binutils.texi: Added -U to the list of options.
29b058f1 405
3126d709
CF
4062003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
407
408 * windres.c (usage): Report -r option.
409 (main): Ignore the -r option.
410 * doc/binutils.texi: Add -r to the list of options.
411
c46ac711
BW
4122003-04-01 Bob Wilson <bob.wilson@acm.org>
413
414 * MAINTAINERS: Add myself as Xtensa maintainer.
415
88da6820
NC
4162003-04-01 Bob Wilson <bob.wilson@acm.org>
417
3077f5d8
NC
418 * readelf.c: Include "elf/xtensa.h".
419 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
420 targets that use RELA relocations.
421 (dump_relocations): Call elf_xtensa_reloc_type for
422 EM_XTENSA and EM_XTENSA_OLD.
423 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 424
27a710e5
NC
4252003-04-01 Nick Clifton <nickc@redhat.com>
426
427 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
428 thumb-pe*, mcore-pe and mcore-*elf.
429 * configure: Regenerate.
430
335a1869
AO
4312003-03-31 Alexandre Oliva <aoliva@redhat.com>
432
433 * objdump.c (dump_data): Don't truncate the address to long; make
434 the width large enough, and uniform for all entries in a section.
435
566b0d53
L
4362003-03-31 H.J. Lu <hjl@gnu.org>
437
438 * readelf.c: Include "libiberty.h".
439 (dynamic_relocations): New.
440 (process_relocs): Properly handle dynamic relocation.
441 (process_dynamic_segment): Fill relocation elements in
442 dynamic_info.
443
ee42cf8c
NC
4442003-03-31 Kevin Buettner <kevinb@redhat.com>
445
446 * readelf.c (read_and_display_attr, read_and_display_attr_value):
447 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
448 all callers.
449 (display_debug_lines, display_debug_pubnames, display_debug_info)
450 (display_debug_aranges, display_debug_frames, read_and_display_attr)
451 (read_and_display_attr_value): Add 64-bit DWARF support.
452
7adbf450
NC
4532003-03-31 Ian Lance Taylor <ian@airs.com>
454
455 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
456 (optresid): Handle a resource id that can be a string or a number.
457 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
458 struct res_id.
459 (define_icon_control): Pass a struct res_id to define_control.
460 * windres.h (define_control): Change prototype.
461
06d86cf7
NC
4622003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
463
7c29036b
NC
464 * objcopy (OPTION_FORMATS_INFO): Define.
465 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
466 (copy_options): Likewise.
467 (strip_usage): Add "--info" to usage.
468 (copy_usage): Likewise.
469 (strip_main): Declare formats_info. Iniatilize it to FALSE.
470 Handle "info".
471 (copy_main). Likewise.
472 * doc/binutils.texi. Document the "--info" option for
473 objcopy/strip.
474 * NEWS: Mention the new command line switch.
475
06d86cf7
NC
476 * objdump.c (endian_string): Move to bucomm.c.
477 (display_info): Likewise.
478 (display_target_list): Likewise.
479 (display_info_table): Likewise.
480 (display_target_tables): Likewise.
481 (main): Assign the return value of display_info to exit_status.
482 * bucomm.c: Include bfdver.h and libbfd.h
483 (display_target_list): Call bfd_nonfatal instead of nonfatal and
484 return 0 on a non-fatal error, 1 on success.
485 (display_info_table): Likewise.
486 * bucomm.h (display_info): Provide a prototype.
487 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
488 libbfd.h.
489 * Makefile.in: Regenerate.
490
7adbf450 4912003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
492
493 * dlltool.c (gen_def_file): Put demangled name comments on
494 own line preceding export name.
495
98a91d6a
NC
4962003-03-17 Nick Clifton <nickc@redhat.com>
497
498 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
499 printf for emitting new lines.
500
06a30c77
NC
5012003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
502
503 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
504 the symbol's value when --size-sort is used, unless -S is used.
505 doc/binutils.texi (--size-sort): For non-bsd formats both the
506 value and size of the symbols are displayed.
507
ab829d36
NC
5082003-03-13 Nick Clifton <nickc@redhat.com>
509
510 * po/da.po: Update.
511
634847c9
NC
5122003-03-12 Nick Clifton <nickc@redhat.com>
513
514 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
515
3889f9eb
BE
5162003-03-10 Ben Elliston <bje@wasabisystems.com>
517
518 * MAINTAINERS: Update my mail address.
519
7eb5191a
NC
5202003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
521
522 * stabs.c (BYTES_IN_WORD): Remove definition.
523 * wrstabs.c (BYTES_IN_WORD): Likewise.
524
e3b83c8f
NC
5252003-03-04 Nick Clifton <nickc@redhat.com>
526
527 * nm.c (main): Print a warning message if --size-sort and
528 --undefined-only are used together.
529
5302003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
531
532 * nm.c (print_symbol): Remove check for undefined_only.
533
a9d68a1e
NC
5342003-03-03 Nick Clifton <nickc@redhat.com>
535
536 * po/da.po: Installed latest translation.
537
a99996bb
NC
5382003-02-24 Nick Clifton <nickc@redhat.com>
539
540 * README: Update binutils references to 2.13.
541 Add paragraph about using --disable-nls.
542
76ed1927
NC
5432003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
544
545 * doc/binutils.texi (nm --size-sort): Update.
546
0100f33b
JW
5472003-02-21 James E Wilson <wilson@tuliptree.org>
548
549 * MAINTAINERS: Update email address.
550
ecc51f48
NC
5512003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
552
553 * readelf.c (get_ia64_dynamic_type): New function.
554 (dynamic_segment_ia64_val): New function.
555 (get_dynamic_type): If machine type is EM_IA_64 call
556 get_ia64_dynamic_val.
557 (get_ia64_section_type_name): Handle sections with types in the
558 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
559 (get_dynamic_flags): If machine type is EM_IA_64 call
560 dynamic_segment_ia64_val.
561
947ed062
NC
5622003-02-21 Bob Wilson <bob.wilson@acm.org>
563
564 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
565 section title capitalization more consistent. Update descriptions
566 of various options to be consistent with the code. Fix errors and
567 incomplete list in the description of c++filt format options. Remove
568 information about the linker. Change to be more polite about poor
569 bug reports. Replace FDL appendix with include of fdl.texi.
570 * doc/fdl.texi: New file.
571
66491ebc
AM
5722003-02-21 Roger Sayle <roger@eyesopen.com>
573
574 * objcopy.c (filter_symbols): Fix compilation problems with
575 HP-UX's C compiler.
576
0e11a9e9
CF
5772003-02-19 Christopher Faylor <cgf@redhat.com>
578
579 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
580 previous change.
581
6e5f5201
CF
5822003-02-19 Mark Blackburn <marklist@fangorn.ca>
583
0e11a9e9 584 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 585
f0c8c24a
NC
5862003-02-12 Bob Wilson <bob.wilson@acm.org>
587
588 * nm.c (usage): Add `java' and `gnat' demangle styles and make
589 quotes consistent.
590 * objdump.c (usage): Ditto. Also fix some typos.
591
d3c543fd
NC
592 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
593
fe2c4142
NC
594 * debug.c (debug_record_variable): Handle global register variables.
595
6de15b9e
NC
596 * stabs.c (parse_stab): For N_SLINE only include
597 function_start_offset if the symbol is within a function;
598 otherwise, the value is absolute.
599
fde78edd
NC
6002003-02-10 Nick Clifton <nickc@redhat.com>
601
602 * readelf.c (decode_ARM_machine_flags): Handle the
603 EF_ARM_MAVERICK_FLOAT flag.
604
22d82235
AS
6052003-02-04 Andreas Schwab <schwab@suse.de>
606
607 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
608 long and use %ld in printf format.
609
1a677ea8
RS
6102003-01-28 Richard Sandiford <rsandifo@redhat.com>
611
612 * readelf.c (dump_relocations): Reorder the r_info field for
613 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
614
8dde85fc
NC
6152003-01-21 Daniel Berlin <dan@dberlin.org>
616
617 * readelf.c (display_debug_loc): Skip address base changes.
618
c6f8bb1e
AM
6192003-01-17 Fabio Alemagna <falemagn@aros.org>
620
621 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
622 and ELFOSABI_NSK.
623
c833c019
AM
6242003-01-16 Alan Modra <amodra@bigpond.net.au>
625
626 * readelf.c: Include elf/ppc64.h.
627 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
628 * Makefile.am: Run "make dep-am".
629 * Makefile.in: Regenerate.
630
3b36097d
SC
6312003-01-02 Ben Elliston <bje@redhat.com>
632
633 * readelf.c (guess_is_rela): Handle EM_IQ2000.
634 (get_machine_name): Likewise.
635 (dump_relocations): Likewise.
636 * NEWS: Mention IQ2000 support.
637
cb44e358
RS
6382003-01-02 Richard Sandiford <rsandifo@redhat.com>
639
640 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
641
af7ee8bf
CD
6422002-12-30 Chris Demetriou <cgd@broadcom.com>
643
644 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
645 changes in MIPS -M options.
646
2469cfa2
NC
6472002-12-30 Dmitry Diky <diwil@mail.ru>
648
649 * Makefile.am: Add msp430 target.
650 * Makefile.in: Regenerate.
651 * readelf.c: Add support for msp430 target.
652
640c0ccd
CD
6532002-12-27 Chris Demetriou <cgd@broadcom.com>
654
655 * doc/binutils.texi (objdump): Document MIPS -M options.
656
59f14fc0
AS
6572002-12-23 Andreas Schwab <schwab@suse.de>
658
659 * readelf.c (main): Reset dump request after each file.
660
312b768e
NC
6612002-12-23 Nick Clifton <nickc@redhat.com>
662
663 * nlmconv.c (main): Pass TRUE as third argument to
664 bfd_arch_get_compatible.
665
8745eafa
NC
6662002-12-23 Nick Clifton <nickc@redhat.com>
667
668 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
669 macro. Handle 'S' encoding, accepting 8-bit characters.
670 (main): Parse 'S' encoding.
671 (get_char): Accept 'S' encoding.
672 (print_strings): Use STRING_ISGRAPHIC.
673 (usage): Document support of 'S' encoding.
674 * doc/binutils.texi: Document support of 'S' encoding/
675 * NEWS: Mention new feature.
676
08213ebb
AM
6772002-12-20 Alan Modra <amodra@bigpond.net.au>
678
679 * README <building ar>: Don't use libibery's needed_list or
680 required_list, instead link libiberty/*.o.
681
b9e5d8e5
KH
6822002-12-19 Kazu Hirata <kazu@cs.umass.edu>
683
684 * doc/binutils.texi: Fix typos.
685
c51238bc
DA
6862002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
687
688 * doc/binutils.texi: Add missing parenthesis.
689
d7fb0dd2
NC
6902002-12-15 Nick Kelsey <nickk@ubicom.com>
691
692 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
693 symbols by adding the given prefix to the begining of the symbol
694 name. This is useful to provide name space seperation regardless
695 of how the object file was created. Added --prefix-sections=
696 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
697 sections (or all sections with the alloc flag set) by adding the given
698 prefix to the begining of the symbol name.
699 * NEWS: Mention this new feature.
700 * doc/binutils.texi: Document this new feature.
701
55b9cdf1
AM
7022002-12-13 Alan Modra <amodra@bigpond.net.au>
703
704 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
705 dyn_string_append with dyn_string_append_cstr.
706
707 * emul_aix.c (ar_emul_aix_create): Remove unused function.
708
84ad6ede
NC
7092002-12-10 James Cownie <jcownie@etnus.com>
710
711 * readelf.h (get_TAG_name, get_AT_name,
704afb58 712 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
713 DWARF2 spec.
714 * NEWS: Mention this new support.
715
7d036af2
AM
7162002-12-08 Alan Modra <amodra@bigpond.net.au>
717
718 * NEWS: Mention that bfd no longer declares a "boolean" type.
719
3e8bba36
AM
7202002-12-07 Alan Modra <amodra@bigpond.net.au>
721
722 * readelf.c (process_program_headers): When setting loadaddr, don't
723 assume segment size is 4k. Use p_align instead.
724 (loadaddr): Change from int to long.
725 (dynamic_addr, dynamic_info, version_info): Likewise.
726 (process_dynamic_segment <syminsz>): Likewise.
727 (process_dynamic_segment): Adjust print format string.
728 (rela_addr, rela_size): Delete.
729 (process_relocs): Formatting.
730
d070dab9
JW
7312002-12-05 Jim Wilson <wilson@redhat.com>
732
733 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
734 * configure: Regenerate.
735
45bcbdb1
ILT
7362002-12-04 Ian Lance Taylor <ian@airs.com>
737
738 * MAINTAINERS: Change e-mail address back to airs.com.
739
42ea8716
AH
7402002-12-04 Aldy Hernandez <aldyh@redhat.com>
741
742 * MAINTAINERS: Add self.
743
b34976b6
AM
7442002-11-30 Alan Modra <amodra@bigpond.net.au>
745
746 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
747 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
748 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
749 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
750 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
751 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
752 with TRUE/FALSE. Formatting.
753
c8286bd1
JJ
7542002-11-29 Jakub Jelinek <jakub@redhat.com>
755
756 * readelf.c Replace occurrences of Elf32_Internal_* and
757 Elf64_Internal_* with Elf_Internal_*.
758 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
759 Zero r_addend fields.
760 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
761 Elf_Internal_Rela.
762
92acdfaf
NC
7632002-11-23 Nick Clifton <nickc@redhat.com>
764
765 * size.c (usage): Fix typo describing switch for hex format.
766
48c5eb8a
SS
7672002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
768
769 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
770 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
771 testcase
772
2f62977e
NC
7732002-11-14 Nick Clifton <nickc@redhat.com>
774
775 * readelf.c (process_program_headers): Add comment about return
776 value. Ensure that 0 is returned if the headers are not loaded.
777 (process_file): If process_section_headers failed to load the
778 headers disable any tests that rely upon them. Similarly for
779 process_program_headers.
780
cd24c222
NC
7812002-11-12 Nick Clifton <nickc@redhat.com>
782
783 * po/da.po: Updated Danish translation.
784
f3931575
AM
7852002-11-12 Klee Dienes <kdienes@apple.com>
786
787 * rddbg.c (read_section_stabs_debugging_info): Also recognize
788 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
789
b54e7460
CF
7902002-11-11 Christopher Faylor <cgf@redhat.com>
791
792 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
793 cgf maintainership.
794
4f17cc13
CF
7952002-11-11 Christopher Faylor <cgf@redhat.com>
796
797 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
798
232e7cb8
NC
7992002-11-07 Nick Clifton <nickc@redhat.com>
800
cd24c222 801 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
802 * configure: Regenerate.
803 * po/da.po: New Danish translation.
804
232e7cb8
NC
805 * readelf.c (get_symbol_index_type): Revert part of previous
806 patch: Display unknown symbol types in decimal, not hex.
807
c9e38879
NC
8082002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
809
810 * dlltool.c (add_excludes): Don't prefix excluded fastcall
811 symbols with underscore.
812 (xlate): Ignore add_underscore for decorated fastcall symbols.
813
8142002-11-07 Eric Kohl <ekohl@rz-online.de>
815
816 * deflex.l: Accept '@' as first character of an ID.
817 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
818 ASM_PREFIX for fastcall symbols.
819 (scan_drectve_symbols): Handle fastcall symbols when generating
820 undecorated aliases for symbols in drectve section.
821 (scan_filtered_symbols): Likewise, with export-all.
822 (xlate): Likewise, with --kill-at.
823 (make_imp_label): New function to handle fastcall symbols
824 correctly.
825 (make_one_lib_file): Use make_imp_label instead of make_label
826 for imp symbols.
827
a700dc3b
SS
8282002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
829
830 * MAINTAINERS: Add self as TIC4X maintainer.
831
5cf1065c
NC
8322002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
833
834 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
835 PROCESSOR-specific, OS-specific, reserved and unknown symbol
836 types.
5cf1065c 837
f1ef08cb
AM
8382002-11-04 Alan Modra <amodra@bigpond.net.au>
839
840 * readelf.c (byte_get_little_endian): Comment typo fix.
841 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
842 as the format string.
843 (dump_relocations): Correct section sym names.
844 (process_section_headers): Clear symtab_shndx_hdr.
845 (read_and_display_attr_value): Don't pass indirect string to printf
846 as the format string.
847 (display_debug_frames): Indicate when zero terminator found. Decode
848 DW_EH_PE_pcrel addresses.
849
1a09a22c
NC
8502002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
851
852 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
853 order to ensure proper disassembly of the valid 0-value opcode.
854 * configure: Regenerate.
855 * aclocal.m4: Regenerate.
856 * config.in: Regenerate.
857 * configure.in: Regenerate.
858 * doc/Makefile.in: Regenerate.
859 * po/binutils.pot: Regenerate.
860
c254c557
KK
8612002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
862
863 * MAINTAINERS: Add self as SH maintainer.
864
aefbdd67
BE
8652002-10-23 Ben Elliston <bje@redhat.com>
866
867 * doc/binutils.texi (objdump): Document -z and move the entry for
868 --disassemble-zeroes to the end of the options section (for `z').
869
ab9bcc01
NC
8702002-10-21 Nick Clifton <nickc@redhat.com>
871
872 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
873
8ab56b6f
AM
8742002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
875
876 * objdump.c (dump_data): Correct addr_offset for opb != 1.
877
49c12576
AM
8782002-10-15 Alan Modra <amodra@bigpond.net.au>
879
48417c1a
AM
880 * bucomm.c (list_supported_targets): Use bfd_target_list.
881
49c12576
AM
882 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
883 other object errors in preference to bfd_core errors.
884
6e1a7e9a
AM
8852002-10-14 Alan Modra <amodra@bigpond.net.au>
886
887 * Makefile.am: Run "make dep-am".
888 * objdump.c: #include "bfdver.h".
889 * version.c: Likewise.
890 * Makefile.in: Regenerate.
891 * config.in: Regenerate.
892 * configure: Regenerate.
893 * po/POTFILES.in: Regenerate.
894
09fc3b02
DJ
8952002-10-09 Daniel Jacobowitz <drow@mvista.com>
896
897 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
898 sections. Allow relocations against the absolute symbol. Don't
899 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 900 relocation.
09fc3b02 901
f309035a
NC
9022002-10-07 Gordon Chaffee <chaffee@netvmg.com>
903
904 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
905 ordinary ones are available.
906
810dfa6e
L
9072002-09-30 H.J. Lu <hjl@gnu.org>
908
909 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
910 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
911
bb279dc0
ZW
9122002-09-17 Zack Weinberg <zack@codesourcery.com>
913
914 * Makefile.am (CFILES): Add cxxfilt.c.
915 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
916 (cxxfilt_LDADD): Delete.
917 Remove all references to underscore.c.
918 Regen dependencies.
919 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
920 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
921 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
922 adjustments to fit into binutils framework.
923 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
924
065c959b
NC
9252002-09-12 Roland McGrath <roland@redhat.com>
926
927 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
928 Handle DW_OP_GNU_push_tls_address.
929
e09f4395
NC
9302002-09-11 Nick Clifton <nickc@redhat.com>
931
932 * po/tr.po: Updated Turkish translation.
933
873e0588
NC
9342002-09-10 Nick Clifton <nickc@redhat.com>
935
936 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
937 testsuite changes. Add paragraphs about testsuite and config
938 patches.
939
069fe61f
NC
9402002-08-29 Nick Clifton <nickc@redhat.com>
941
942 * readelf.c (get_machine_flags): Remove redundant reference to
943 E_V850EA_ARCH.
944
fe0507eb
AM
9452002-08-28 Alan Modra <amodra@bigpond.net.au>
946
947 * objdump.c (dump_bfd): Restore lines accidentally deleted in
948 last commit.
949
026df7c5
NC
9502002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
951
bb279dc0 952 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
953 (dump_bfd_header): Likewise.
954
68a4c073
AM
9552002-08-27 Alan Modra <amodra@bigpond.net.au>
956
957 * nm.c: Revert last change.
958
a1df01d1
AM
9592002-08-26 Alan Modra <amodra@bigpond.net.au>
960
961 * nm.c (display_rel_file): Don't report "no symbols" as an error.
962 * objdump.c (slurp_symtab): Likewise.
963 (slurp_dynamic_symtab): Likewise.
964 (dump_symbols): Likewise. Do print "no symbols" to stdout.
965
a926ab2f
GK
9662002-08-24 Geoffrey Keating <geoffk@redhat.com>
967
968 * MAINTAINERS: Change my mailing address.
969
fcf62380
DA
9702002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
971
972 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
973
51e28791
NC
9742002-08-22 Nick Clifton <nickc@redhat.com>
975
976 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
977 HPPA.
978
c5b060ad
AM
9792002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
980
981 * readelf.c (parse_args): Change debug_dump_opt to static.
982
4b73ca92
NC
9832002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
984
985 * stabs.c (parse_stab_argtype): Pass length of physname to
986 stab_demangle_argtypes.
987 (stab_demangle_argtypes): Add new parameter - length of physname.
988 Pass length of physname on to stab_demangle_prefix.
989 (stab_demangle_prefix): Add new parameter - length of physname.
990 Use length of physname (if supplied) to compute end of function
991 name.
992
35b1837e
AM
9932002-08-15 Alan Modra <amodra@bigpond.net.au>
994
995 * readelf.c: Include elf/i370.h.
996 (dump_relocations): Handle EM_S370.
997 (dynamic_segment_parisc_val): Print \n.
998 (process_dynamic_segment <DT_BIND_NOW>): Here too.
999
762baac5
NC
10002002-08-14 Nick Clifton <nickc@redhat.com>
1001
1002 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1003 * objdump.c (usage): Likewise.
1004 * doc/binutils.texi: Likewise.
1005
85c09e8a
NC
10062002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1007
1008 * rcparse.y (acc_entry): Don't warn about ALT use with
1009 non-VIRTKEY.
1010
212a3c4d
L
10112002-08-13 H.J. Lu <hjl@gnu.org>
1012
1013 * objcopy.c (copy_object): Don't warn about the unsupported
1014 architecture unless the input target is defaulted or the
1015 output architecture is different from the input.
1016
2b692c59
NC
10172002-08-09 Nick Clifton <nickc@redhat.com>
1018
1019 * po/sv.po: Updated Swedish translation.
1020
09de7a73
AM
10212002-08-05 Alan Modra <amodra@bigpond.net.au>
1022
1023 * prdbg.c (pr_fix_visibility): Remove assert.
1024
47badb7b
NC
10252002-07-31 Nick Clifton <nickc@redhat.com>
1026
1027 * addr2line.c (process_file): Rename parameter 'filename' to
1028 'file_name' in order to avoid shadowing global symbol of the
1029 same name.
1030 (main): Likewise.
1031
2979dc34
JJ
10322002-07-30 Jakub Jelinek <jakub@redhat.com>
1033
1034 * readelf.c (OPTION_DEBUG_DUMP): Define.
1035 (options): Use it.
1036 (usage): Update help.
1037 (parse_args): Handle --debug-dump separately from -w.
1038 * doc/binutils.texi (readelf): Update documentation.
1039
219576a4
NC
10402002-07-25 Nick Clifton <nickc@redhat.com>
1041
1042 * po/es.po: Updated Spanish translation.
1043 * po/fr.po: Updated French translation.
1044
bf4f22e6 10452002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1046
bf4f22e6
NC
1047 * po/es.po: Updated Spanish translation.
1048
c5b3a82a
AM
10492002-07-23 Alan Modra <amodra@bigpond.net.au>
1050
1051 * Makefile.am: Run "make dep-am".
1052 * Makefile.in: Regenerate.
1053
0461a601
NC
10542002-07-23 Nick Clifton <nickc@redhat.com>
1055
bf4f22e6 1056 * po/fr.po: Updated French translation.
0461a601 1057
bf44dd74
AM
10582002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1059
1060 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1061
2c205ff2
AM
10622002-07-20 Alan Modra <amodra@bigpond.net.au>
1063
63eb0809 1064 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1065
1e4cf259
NC
10662002-07-18 Denis Chertykov <denisc@overta.ru>
1067 Frank Ch. Eigler <fche@redhat.com>
1068
1069 * readelf.c: Include "elf/ip2k.h".
1070 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1071 (dump_relocations): Likewise.
1072 (get_machine_name): Likewise.
1073 * NEWS: Mention IP2K support.
1074
2cbb2eef
NC
10752002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1076
1077 * NEWS: Add 'Changes in 2.13'.
1078
047b2264
JJ
10792002-07-10 Jakub Jelinek <jakub@redhat.com>
1080
1081 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1082 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1083 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1084 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1085 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1086 (process_gnu_liblist): New.
1087 (process_file): Call it.
1088
97230b15
AM
10892002-07-03 Alan Modra <amodra@bigpond.net.au>
1090
1091 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1092 * Makefile.in: Regenerate.
1093
a6637ec0
AM
10942002-07-02 Alan Modra <amodra@bigpond.net.au>
1095
1096 * budemang.c: New file, "demangle" function.
1097 * budemang.h: New file.
1098 * addr2line.c (translate_addresses): Use "demangle".
1099 * nm.c (print_symname): Likewise.
1100 * objdump.c (objdump_print_symname): Likewise.
1101 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1102 here since that obfuscates.
1103 * rdcoff.c: Don't #include demangle.h.
1104 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1105 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1106 (HFILES): Add budemang.h. Sort.
1107 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1108 Run "make dep-am".
1109 * Makefile.in: Regenerate.
1110
179d3252
JT
11112002-07-01 Matt Thomas <matt@3am-software.com>
1112
1113 * readelf.c: Include "elf/vax.h".
1114 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1115 (dump_relocations): Handle VAX relocations.
1116 (get_machine_flags): Handle VAX machine flags.
1117
75751cd9
SC
11182002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1119
1120 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1121
e5851ab8
NC
11222002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1123
1124 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1125
eb3f2f5c
AM
11262002-06-26 Alan Modra <amodra@bigpond.net.au>
1127
1128 * nm.c (print_symname): When demangling, strip leading dots from
1129 symbol names to avoid confusing the demangler.
1130
a13a0de8
L
11312002-06-25 H.J. Lu <hjl@gnu.org>
1132
1133 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1134 * Makefile.in: Regenerated.
1135
6db7a086
AM
11362002-06-21 Igor Schein <igor@txc.com>
1137
1138 * configure.in: Quote bu_cv_have_fopen64.
1139 * configure: Regenerate.
1140
9710509e
AM
11412002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1142
1143 * configure.in: Check for strcoll.
1144 * configure: Regenerate.
1145 * config.in: Regenerate.
1146 * nm.c (main): Set locale for LC_COLLATE category.
1147 (non_numeric_forward): Use strcoll if available.
1148
a9f0b5e7
DB
11492002-06-20 Dave Brolley <brolley@redhat.com>
1150
1151 * MAINTAINERS: Add self as fr30 and frv maintainer.
1152
33f5f537
L
11532002-06-18 H.J. Lu (hjl@gnu.org)
1154
1155 * nm.c: Include "elf/common.h".
1156 (extended_symbol_info): Add elfinfo, a pointer to
1157 elf_symbol_type.
1158 (SYM_SIZE): Use elfinfo if it is not NULL.
1159 (get_symbol_type): New function.
1160 (display_archive): Set print_width for each archive member.
1161 (display_file): Likewise.
1162 (display_rel_file): Don't set print_width here.
1163 (print_object_filename_sysv): Handle print_width.
1164 (print_archive_member_sysv): Likewise.
1165 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1166 (print_symbol): Set the elfinfo field in extended_symbol_info
1167 for ELF.
1168 (print_object_filename_sysv): Fix the output format.
1169 (print_symbol_info_sysv): Print type and section for ELF.
1170
11712002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1172
1173 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1174 the symbol's size equal to its value when --size-sort is
33f5f537
L
1175 used.
1176
5c70f934
DB
11772002-06-18 Dave Brolley <brolley@redhat.com>
1178
1179 From Catherine Moore:
1180 * readelf.c (elf/frv.h): #include it.
1181 (guess_is_rela): Support EM_CYGNUS_FRV.
1182 (dump_relocations): Ditto.
1183 (get_machine_name): Ditto.
1184 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1185
7ece0d85
JJ
11862002-06-18 Jakub Jelinek <jakub@redhat.com>
1187
1188 * readelf.c (get_file_header): Only read the first section header if
1189 e_shoff is non-zero.
1190
72797995
L
11912002-06-15 H.J. Lu (hjl@gnu.org)
1192
1193 * nm.c (print_size): New variable. Initialize to 0.
1194 (long_options): Add 'S'/"print-size".
1195 (main): Handle 'S'.
1196 (print_symbol_info_bsd): Print size only if print_size is not
1197 0.
1198
1199 * doc/binutils.texi: Document -S/--print-size.
1200
977f7911
NC
12012002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1202
1203 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1204 of the symbols to the information provided by the symbol_info
1205 structure.
1206 (print_symbols): Pass the symbol size to print_symbol.
1207 (print_size_symbols): Pass the symbol size to print_symbol.
1208 (print_symbol): Extra argument: The size of the symbol. Store
1209 this in the extended_symbol_info structure.
1210 (print_symbol_info): Change type of info parameter to
1211 extended_symbol_info. Display the size, if known.
1212 (print_symbol_info_posix): Likewise.
1213 (print_symbol_info_sysv): Likewise.
1214
b1f88ebe
AM
12152002-06-08 Alan Modra <amodra@bigpond.net.au>
1216
fa449227
AM
1217 * Makefile.am: Run "make dep-am".
1218 * Makefile.in: Regenerate.
1219 * doc/Makefile.in: Regnerate.
1220
b1f88ebe
AM
1221 * bucomm.c: Replace CONST with const.
1222 * nm.c: Likewise.
1223 * objdump.c: Likewise.
1224
91a106e6
L
12252002-06-07 H.J. Lu <hjl@gnu.org>
1226
1227 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1228 (DW_CFA_GNU_negative_offset_extended): Likewise.
1229 (DW_CFA_GNU_window_save): Likewise.
1230 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1231 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1232
6ab6b380 12332002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1234
6ab6b380
NC
1235 * nm.c: When computing size of symbols for an ELF target use the
1236 internal size field.
1237
e28e05a3
JL
12382002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1239
1240 * testsuite/binutils-all/objcopy.exp: clear xfail for
1241 "hppa*64*-*-hpux*".
1242 * testsuite/binutils-all/hppa/objdump.exp: Return if
1243 "*64*-*-*".
1244
dc156bc0
AM
12452002-06-05 Alan Modra <amodra@bigpond.net.au>
1246
1247 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1248
12492002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1250
1251 * objdump.c: Fix formatting.
1252
d79e4ea3
BE
12532002-05-29 Ben Elliston <bje@redhat.com>
1254
1255 * MAINTAINERS: Add self as M68k maintainer.
1256
d172d4ba
NC
12572002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1258
1259 * readelf.c: Modified/Added DLX elf support.
1260
7edb8f29
NC
12612002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1262
3a1a2036
NC
1263 * arsup.c: Fix formatting.
1264 * debug.c (debug_record_label): Add missing colon to error
1265 message.
1266 * ieee.c (parse_ieee_ty): Fix spelling typo.
1267 * readelf.c (process_program_headers): Remove English assumption
1268 about making a plural word.
1269 (process_section_headers): Likewise.
1270 (process_relocs): Allow quotes to be translated.
1271 (process_unwind): Likewise,
1272 (process_mips_specific): Improve error message.
1273 (get_note_type): Fix spelling typo.
1274
7edb8f29
NC
1275 * configure.in (ALL_LINGUAS): Add sv
1276 * po/sv.po: New file.
1277
3eee1e9d
AM
12782002-05-27 Alan Modra <amodra@bigpond.net.au>
1279
1280 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1281 (unw_print_grmask): Likewise.
1282 (unw_print_frmask): Likewise.
1283
d43efbe3
KH
12842002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1285
1286 * arsup.c: Remove ARGSUSED.
1287 * debug.c: Likewise.
1288 * ieee.c: Likewise.
1289 * nlmconv.c: Likewise.
1290 * prdbg.c: Likewise.
1291 * stabs.c: Likewise.
1292 * wrstabs.c: Likewise.
1293
e9792343
AM
12942002-05-25 Alan Modra <amodra@bigpond.net.au>
1295
1296 * arlex.l: Use #include "" instead of <> for local header files.
1297 * coffdump.c: Likewise.
1298 * coffgrok.c: Likewise.
1299 * nlmconv.c: Likewise.
1300 * nlmheader.y: Likewise.
1301 * srconv.c: Likewise.
1302 * strings.c: Likewise.
1303 * sysdump.c: Likewise.
1304 * unwind-ia64.h: Likewise.
1305 * windres.h: Likewise.
1306 * winduni.h: Likewise.
1307
d7e53452
TR
13082002-05-24 Tom Rix <trix@redhat.com>
1309
1310 * MAINTAINERS: Add self as the d10v maintainer.
1311
436e8db0
NC
13122002-05-24 TAMURA Kent <kent@netbsd.org>
1313
1314 * configure.in: Builds dlltool for i386-netbsdpe.
1315 * configure: Regenerate.
1316
9f66665a
KH
13172002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1318
1319 * size.c: Fix formatting.
1320 * srconv.c: Likewise.
1321 * stabs.c: Likewise.
1322 * sysdump.c: Likewise.
1323 * unwind-ia64.c: Likewise.
1324 * wrstabs.c: Likewise.
1325
13ae64f3
JJ
13262002-05-23 Jakub Jelinek <jakub@redhat.com>
1327
1328 * readelf.c (get_segment_type): Add PT_TLS.
1329 (get_elf_section_flags): Add SHF_TLS.
1330 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1331 (process_dynamic_segment): Use puts instead of printf.
1332 (get_symbol_type): Support STT_TLS.
1333 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1334 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1335 Add SEC_THREAD_LOCAL.
1336
53c7db4b
KH
13372002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1338
1339 * rdcoff.c: Fix formatting.
1340 * rddbg.c: Likewise.
1341 * readelf.c: Likewise.
1342 * rename.c: Likewise.
1343 * resbin.c: Likewise.
1344 * resrc.c: Likewise.
1345 * resres.c: Likewise.
1346
0af11b59
KH
13472002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1348
1349 * filemode.c: Fix formatting.
1350 * ieee.c: Likewise.
1351 * is-ranlib.c: Likewise.
1352 * is-strip.c: Likewise.
1353 * maybe-ranlib.c: Likewise.
1354 * maybe-strip.c: Likewise.
1355 * nlmconv.c: Likewise.
1356 * nm.c: Likewise.
1357 * not-ranlib.c: Likewise.
1358 * not-strip.c: Likewise.
1359 * objcopy.c: Likewise.
1360 * objdump.c: Likewise.
1361
21611032
TS
13622002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1363
1364 * objdump.c (dump_headers): Fix output formatting for ELF32
1365 architectures in a BFD64 enabled toolchain.
1366
26044998
KH
13672002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1368
1369 * debug.c: Fix formatting.
1370 * debug.h: Likewise.
1371 * dlltool.c: Likewise.
1372 * dllwrap.c: Likewise.
1373 * emul_aix.c: Likewise.
1374 * emul_vanilla.c: Likewise.
1375
f462a9ea
KH
13762002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1377
1378 * addr2line.c: Fix formatting.
1379 * ar.c: Likewise.
1380 * arsup.c: Likewise.
1381 * arsup.h: Likewise.
1382 * binemul.c: Likewise.
1383 * binemul.h: Likewise.
1384 * bucomm.c: Likewise.
1385 * coffdump.c: Likewise.
1386 * coffgrok.c: Likewise.
1387 * coffgrok.h: Likewise.
1388
e0159aa9
MM
13892002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1390
1391 * MAINTAINERS: Add myself as the second AVR port maintainer.
1392
074b403e
SC
13932002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1394
1395 * MAINTAINERS: Update my email address.
1396
2b9c8201
NC
13972002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1398
1399 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1400
e1d5b1e7
AM
14012002-05-09 Alan Modra <amodra@bigpond.net.au>
1402
1403 * configure.in: Replace `*pe' with `pe' throughout.
1404 * configure: Regenerate.
1405
d3d8a9ee
NC
14062002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1407
1408 * Makefile.am: Honour DESTDIR.
1409 * Makefile.in: Regenerate.
1410
405c98a4
AM
14112002-05-06 Alan Modra <amodra@bigpond.net.au>
1412
a02d5965
AM
1413 * dlltool.c (process_def_file): Add missing prototype.
1414 (new_directive, assemble_file, main): Likewise.
1415 (process_def_file, new_directive): Make static.
1416 (inform): Rewrite using VA_FIXEDARG.
1417 * dllwrap.c (mybasename): Add missing prototype.
1418 (strhash, main): Likewise.
1419 (inform): Rewrite using VA_FIXEDARG.
1420 (warn): Likewise.
1421 (cleanup_and_exit): Use old style function definition.
1422 (strhash): Likewise.
1423 * windres.c (define_resource): Use one memset to clear all of
1424 struct res_resource.
1425
405c98a4 1426 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1427 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1428
14292002-05-06 Borut Razem <borut.razem@siol.net>
1430
1431 * rclex.l (get_string): Correct "strings" list handling.
1432 * resrc.c (read_rc_file): Discard strings.
1433
91593c9d
AM
14342002-05-04 Alan Modra <amodra@bigpond.net.au>
1435
e58a75dc
AM
1436 * ar.c (replace_members): Remove unused var. Formatting fix.
1437 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1438
91593c9d
AM
1439 * MAINTAINERS: Sort port maintainers by CPU.
1440
6b52b824
AM
14412002-05-04 Bob Byrnes <byrnes@curl.com>
1442
1443 * size.c (display_archive): Add last_arfile and code to close archives.
1444
dd70071f
AM
14452002-05-01 Alan Modra <amodra@bigpond.net.au>
1446
1447 * nm.c (print_symbol): Check returned filename from
1448 bfd_find_nearest_line is non-NULL.
1449
6c95717a 14502002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1451
1452 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1453
3c25c5f6
NC
14542002-04-24 Christian Groessler <chris@groessler.org>
1455
1456 * MAINTAINERS: Changed my email address.
1457
944cd72c
TS
14582002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1459
1460 * arparse.y: Fix syntax warning.
1461
ea91f8bb
NC
14622002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1463
3e55a963
NC
1464 * readelf.c (fetch_location_list): Remove unused function.
1465
1466 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1467 and display a warning message, then exit the loop.
1468
ea91f8bb
NC
1469 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1470
45b99827
NC
14712002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1472
1473 * resrc.c (write_rc_dialog): If charset is non-default value
1474 display all of the DIALOGEX parameters.
1475
14762002-04-15 Eric Kohl <ekohl@rz-online.de>
1477
bb279dc0 1478 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1479 DIALOGEX resources.
1480 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1481 resource data.
bb279dc0 1482 (res_to_bin_dialog): Likewise.
45b99827
NC
1483 * windres.h: Added misssing charset variable to dialog_ex
1484 structure.
1485
acfbab8a
NC
14862002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1487
1488 * rcparse.y: Set MEMFLAG_PURE by default.
1489
df3baf66
NC
14902002-04-09 Bernd Herd <info@herdsoft.com>
1491
bb279dc0 1492 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1493 are quoted.
4c30641a 1494 Fix typo in BEDIT warning.
91eafb40 1495 Don't add default dialog style when explicit style specified.
b62a12ca 1496 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1497
b24eb5ac
NC
1498 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1499 (handle_quotes) "\a" escape (used for right justified key
1500 definitions in menus) is encodes as binary 8.
df3baf66 1501
b24eb5ac
NC
1502 * resrc.c (write_rc_dialog): Print style even if it is 0.
1503 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1504 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1505
b24eb5ac
NC
1506 * resbin.c (bin_to_res_dialog): Use signature to identify
1507 DIALOGEX.
f7d63484 1508
b24eb5ac 1509 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1510
df3baf66
NC
15112002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1512
1513 * resrc.c: print CLASS names in quotes
1514
15152002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1516
1517 * MAINTAINERS: Update my email address.
1518
8e42bcb6
AM
15192002-04-04 Alan Modra <amodra@bigpond.net.au>
1520
1521 * dep-in.sed: Cope with absolute paths.
1522 * Makefile.am (dep.sed): Subst TOPDIR.
1523 Run "make dep-am".
1524 * Makefile.in: Regenerate.
1525
96f959e5
PT
15262002-03-27 Peter Targett <peter.targett@arc.com>
1527
1528 * MAINTAINERS: Update my email address.
1529
1ea788ee
AM
15302002-03-21 Alan Modra <amodra@bigpond.net.au>
1531
1532 * Makefile.am: Run "make dep-am".
1533 * Makefile.in: Regenerate.
1534 * doc/Makefile.in: Regenerate.
1535 * po/POTFILES.in: Regenerate.
1536 * aclocal.m4: Regenerate.
1537 * config.in: Regenerate.
1538 * configure: Regenerate.
1539
a2f14207
DB
15402002-03-20 Daniel Berlin <dan@dberlin.org>
1541
1542 * readelf.c: Add support for displaying dwarf2 location lists.
1543 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1544 (parse_args): Use 'O' as shorthand for displaying location list
1545 section.
1546 (process_section_headers): Handle debug_loc as well.
1547 (load_debug_loc): New.
1548 (free_debug_loc): New.
1549 (fetch_location_list): New.
1550 (display_debug_loc): New.
1551 (display_debug_info): Call load_debug_loc and free_debug_loc.
1552 (debug_displays): We can display .debug_loc now, too.
1553 (usage): Update usage string.
1554 (read_and_display_attr_value): Note location lists, but don't
1555 display them inline.
1556
eb1e0e80
NC
15572002-03-18 Tom Rix <trix@redhat.com>
1558
1559 * Makefile.am: Add binutils emulation support.
1560 * configure.in: Same.
1561 * configure.tgt: New file. Same.
1562 * ar.c (main): Use ar_emul_parse_arg.
1563 (usage): Use ar_emul_usage.
1564 (replace_members): Use ar_emul_replace, ar_emul_append.
1565 * binemul.c: New file. Define the binutils emulation
1566 layer. Define default methods.
1567 * binemul.h: New file. Binutils emulation layer header file.
1568 * emul_aix.c: New file. AIX binutils emulation.
1569 * emul_vanilla.c: New file. Default binutils emulation.
1570 * Makefile.in: Regenerate.
1571 * configure: Same.
1572
a1c259a1
NC
15732002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1574
1575 * po/fr.po: Updated version.
1576
9ce88e60
NC
15772002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1578
1579 * po/fr.po: Updated version.
1580
effb0601
DJ
15812002-03-07 Daniel Jacobowitz <drow@mvista.com>
1582
1583 * README: Update some version numbers.
1584
a65688ab
DJ
15852002-03-07 Daniel Jacobowitz <drow@mvista.com>
1586
1587 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1588 (Architecture Selection): Likewise.
1589
f3f7fbb2
NC
15902002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1591
1592 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1593 generating .exp file.
1594
25345be5
NC
15952002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1596
1597 * readelf.c (dump_relocations): Fix typo.
1598
9a66911f
NC
15992002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1600
1601 * NEWS: Mark 2.12 branch.
1602
2c71103e
NC
16032002-02-18 Timothy Daly <remote_bob@yahoo.com>
1604
bb279dc0
ZW
1605 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1606 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1607 output.
bb279dc0 1608 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1609 to 'unrecognized'.
1610 (decode_ARM_machine_flags): Likewise.
1611 (parse_args): Likewise.
1612 (read_and_display_attr_value): Likewise.
1613 (display_debug_section): Likewise.
1614
49fda6c8
HPN
16152002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1616
1617 * NEWS: Mention support for MMIX.
1618
76f57f3a
JT
16192002-02-13 Matt Fredette <fredette@netbsd.org>
1620
1621 * readelf.c (get_machine_flags): Recognize EF_M68000.
1622
d36ca9c2
AO
16232002-02-12 Alexandre Oliva <aoliva@redhat.com>
1624
1625 * MAINTAINERS: Added self as MN10300 co-maintainer.
1626
19397422
AM
16272002-02-12 Alan Modra <amodra@bigpond.net.au>
1628
1629 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1630 DT_PPC64_OPDSZ.
1631
d434e574
DJ
16322002-02-11 Daniel Jacobowitz <drow@mvista.com>
1633
1634 * MAINTAINERS: List myself as branch maintainer.
1635
12b87c89
AM
16362002-02-11 Alan Modra <amodra@bigpond.net.au>
1637
1638 * configure: Regenerate.
1639 * objcopy.c: Update copyright date.
1640 * doc/Makefile.in: Regenerate.
1641
8d037c5c
DJ
16422002-02-10 Daniel Jacobowitz <drow@mvista.com>
1643
1644 * nlmconv.c: Back out localtime PARAMS change.
1645
4c168fa3
AM
16462002-02-11 Alan Modra <amodra@bigpond.net.au>
1647
1648 * objcopy.c (MKDIR): Define.
1649 (copy_archive): Make name_list.name const. Use MKDIR.
1650 Handle duplicate files in archives by making more temp dirs.
1651
408f8db1
DJ
16522002-02-10 Daniel Jacobowitz <drow@mvista.com>
1653
1654 * coffdump.c: Include "getopt.h" after "bucomm.h"
1655 so that macros are defined correctly.
1656 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1657 prototype. Prototype main.
1658 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1659
9f77fa06
AO
16602002-02-06 Alexandre Oliva <aoliva@redhat.com>
1661
1662 * MAINTAINERS: Added self as SH co-maintainer.
1663
82f6addb
NC
16642002-02-05 Nick Clifton <nickc@redhat.com>
1665
1666 * po/tr.po: Updated translation.
1667
ba323545
AM
16682002-02-01 Alan Modra <amodra@bigpond.net.au>
1669
1670 * Makefile.am: Run "make dep-am"
1671 * Makefile.in: Regenerate.
1672
3deb89d3
DJ
16732002-01-29 Daniel Jacobowitz <drow@mvista.com>
1674
1675 * nm.c (print_value): Mark abfd unused.
1676
a0e9c55f
DJ
16772002-01-29 Daniel Jacobowitz <drow@mvista.com>
1678
1679 * unwind-ia64.c (unw_decoder): Change second argument
1680 to unsigned int, to match function prototypes.
1681
d7a283d4
DJ
16822002-01-29 Daniel Jacobowitz <drow@mvista.com>
1683
1684 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1685 __GNU_LIBRARY__ will be defined.
1686 * size.c: Likewise.
1687
4867be41
DJ
16882002-01-27 Daniel Jacobowitz <drow@mvista.com>
1689
1690 * configure: Regenerated.
1691
7562a296
HPN
16922002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1693
1694 * doc/Makefile.am (install): Depend on install-info.
1695 * doc/Makefile.in: Regenerate.
1696
15c82623
NC
16972002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1698
1699 * objcopy.c (strip_usage): Document -d as an alias
1700 --strip-debug.
1701
1702 * size.c (usage): Document [-t | --totals] options.
1703 (long_options): Add --totals option.
1704 (main): If the [-t | --totals] option is specified and
1705 the output format is Berkeley-style, print the total
1706 text, data, and bss sizes of all objects listed.
1707 (print_berkeley_format): If the [-t | --totals] option
1708 is specified, track the total text, data, and bss
1709 sizes.
1710 * doc/binutils.texi (size): Document [-t | --totals] options.
1711 (strip): Document -d as an alias for --strip-debug.
1712 * NEWS: Mention new feature of size.
1713
00ea8601 17142002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1715
1ddbd152
NC
1716 * po/fr.po: Updated version.
1717 * po/es.po: Updated version.
b85cedd7 1718
8b53311e
NC
17192002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1720
1721 * addr2line.c (usage): Update text to provide verbose
1722 description of the command line options.
1723 * ar.c (usage): Update text to provide verbose
1724 description of the command line options.
1725 (main): Accept -h and -H when running as ranlib.
1726 * coffdump.c (show_usage): Update text to provide verbose
1727 description of the command line options.
1728 * dlltool.c (main): Accept -H as an alias for --help.
1729 * nlmconv.c (show_usage): Update text to provide verbose
1730 description of the command line options.
1731 * nm.c (usage): Replace OPTIONS with option(s).
1732 (main): Accept -H as an alias for --help.
1733 * objcopy.c (strip_main): Accept -H as an alias for --help.
1734 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1735 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1736 other binutils.
1737 * size.c (usage): Update text to provide verbose description
1738 of the command line options.
1739 (main): Accept -v, -h and -H as command line options.
1740 * srconv.c (show_usage): Update text to provide verbose
1741 description of the command line options.
1742 * strings.c (main): Accept -H and -v as command line options.
1743 (usage): Update text to provide verbose description of the
1744 command line options.
1745 * sysdump.c (show_usage): Update text to provide verbose
1746 description of the command line options.
1747 * windres.c (usage): Adjust format to match style used in
1748 other binutils.
1749
1750 * coffdump.c: Fix formatting.
1751 * nlmconv.c: Fix formatting.
1752 * srconv.c: Fix formatting.
1753 * sysdump.c: Fix formatting.
1754
c46f0c34
AM
17552002-01-22 Alan Modra <amodra@bigpond.net.au>
1756
1757 * Makefile.am: Run "make dep-am".
1758 * Makefile.in: Regenerate.
1759
2a538ba5
AJ
17602002-01-18 Andreas Jaeger <aj@suse.de>
1761
1762 * version.c (print_version): Update year.
1763
285d1771
AM
17642002-01-17 Alan Modra <amodra@bigpond.net.au>
1765
1766 * readelf.c (get_machine_name): Handle EM_PPC64.
1767 (guess_is_rela): Here too.
1768
328577ad
NC
17692002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1770
1771 * po/binutils.pot: Regenerate.
1772 * po/fr.po: Regenerate.
1773 * po/tr.po: Regenerate.
1774
af3ae48d
NC
17752002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1776
1777 * po/tr.po: Import new version.
1778
f1cb7e17
AM
17792002-01-16 Alan Modra <amodra@bigpond.net.au>
1780
1781 * readelf.c (get_ppc64_dynamic_type): New.
1782 (get_dynamic_type): Call it.
1783
6364e0b4
NC
17842002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1785
3ab9460d 1786 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1787 (strip_usage): Use "options" instead of "switches".
3ab9460d 1788 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1789 "switches".
6364e0b4 1790
3a7e524e
RE
17912002-01-14 Richard Earnshaw <rearnsha@arm.com>
1792
1793 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1794
1209e219
NC
17952001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1796
1797 * po/es.po: Import from translation project.
1798 * configure.in (ALL_LINGUAS): Add es.
1799 * configure: Regenerate.
1800
b4db1224
JT
18012002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1802
1803 * readelf.c (get_netbsd_elfcore_note_type): Use
1804 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1805
9437c45b
JT
18062002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1807
1808 * readelf.c: Update copyright years.
1809 (get_note_type): Return a const char *.
1810 (get_netbsd_elfcore_note_type): New function.
1811 (process_note): Use get_netbsd_elfcore_note_type to get
1812 the note type string for NetBSD ELF core files.
1813
00428cca
AM
18142002-01-06 Steve Ellcey <sje@cup.hp.com>
1815
1816 * readelf.c (get_ia64_segment_type): Add support for macros.
1817 (get_segment_type): Add support for IA64 specific macros.
1818
31104126
NC
18192001-12-20 Julian v. Bock <julian@wongr.net>
1820
1821 * readelf.c (print_symbol): New function: Print a formatted symbol
1822 name. If --wide is specified do not truncate it.
1823 (dump_relocations): Use print_symbol() to print symbol names.
1824 (process_symbol_table): Likewise.
1825 (process_syminfo): Likewise.
1826 (process_mips_specific): Likewise.
1827 (usage): Document new feature of --wide switch.
1828 * doc/binutils.texi (objdump): Document additional behaviour of
1829 --wide.
2a538ba5 1830
4dd67f29
MS
18312001-12-18 Michael Snyder <msnyder@redhat.com>
1832
1833 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1834 (copy_object): Don't set the start address or flags of a core file.
1835 (copy_section): Don't relocate a core file. Don't copy contents
1836 if the input section has the contents flag set, but the output
1837 section does not (which happens with the fake 'note' pseudo-
1838 sections that BFD creates for corefiles).
1839
43521d43
TS
18402001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1841
1842 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1843 ASE extensions. More robust code for ISA checking. Ignore empty fields
1844 in header flags for GNU extensions.
1845
b667df2e
AM
18462001-12-18 Alan Modra <amodra@bigpond.net.au>
1847
1848 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1849
17a5a5c3
NC
18502001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1851
1852 * po/ja.po: Import from translation project.
1853 * configure.in (ALL_LINGUAS): Add ja.
1854 * configure: Regenerate.
1855
65de42c0
TS
18562001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1857
1858 * addr2line.c (main): Protoype.
1859 * ar.c (main): Protoype.
1860 * nm.c (main): Protoype.
1861 * objcopy.c (main): Protoype.
1862 * objdump.c (main): Protoype.
1863 * size.c (main): Protoype.
1864 * strings.c (main): Protoype.
1865
9ad5cbcf
AM
18662001-12-17 Alan Modra <amodra@bigpond.net.au>
1867
1868 * readelf.c (symtab_shndx_hdr): New global.
1869 (SECTION_HEADER_INDEX): Define.
1870 (SECTION_HEADER_NUM): Define.
1871 (SECTION_HEADER): Define.
1872 (GET_ELF_SYMBOLS): Pass two params rather than three.
1873 (get_32bit_elf_symbols): Take file and section args. Read and
1874 use SHT_SYMTAB_SHNDX.
1875 (get_64bit_elf_symbols): Likewise.
1876 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1877 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1878 Remember symtab_shdx_hdr.
1879 (process_program_headers): Scan from index 1 for segment map.
1880 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1881 "section_headers".
1882 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1883 (process_unwind): Likewise.
1884 (process_version_sections): Likewise.
1885 (process_symbol_table): Likewise.
1886 (display_debug_info): Likewise.
1887 (process_dynamic_segment): Fake up a symtab section for changed
1888 GET_ELF_SYMBOLS.
1889 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1890 (process_program_headers): Kill signed/unsigned warning.
1891 (load_debug_str): Likewise.
1892 (display_debug_info): Likewise.
1893
65765700
JJ
18942001-12-13 Jakub Jelinek <jakub@redhat.com>
1895
1896 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1897
560f3c1c
AM
18982001-12-11 Alan Modra <amodra@bigpond.net.au>
1899
1900 * readelf.c (process_file_header): Print extended e_shnum and
1901 e_shdtrndx values. Set elf_header values for same.
1902 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1903 (get_64bit_section_headers): Likewise.
1904 (process_section_headers): Update calls.
1905 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1906
bc408b8a
JJ
19072001-12-10 Jakub Jelinek <jakub@redhat.com>
1908
1909 * objcopy.c (setup_section): Copy entsize.
1910
93fbbb04
GK
19112001-12-07 Geoffrey Keating <geoffk@redhat.com>
1912
1913 * readelf.c (guess_is_rela): Add support for stormy16.
1914 (dump_relocations): Likewise.
1915 (get_machine_name): Likewise.
1916
e3c8793a
NC
19172001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1918
1919 * dllwrap.c (main) Replace multiple strings describing a
1920 single error with a single, newline escaped sentence to permit
1921 better translation into foreign languages.
1922
1923 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1924 class names.
1925
956cd1d6
TS
19262001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1927
1928 * strings.c (get_char): Initialize value.
1929
956c53ee
TS
19302001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1931
1932 * arlex.l: Silence compile warnings.
1933 * arsup.h: Likewise. Fix formatting.
1934
cedd9a58
JJ
19352001-12-04 Jakub Jelinek <jakub@redhat.com>
1936
1937 * strings.c: Include config.h before bfd.h.
1938 (file_off): New type.
1939 (file_open): Define.
1940 (print_strings): Use file_off instead of file_ptr. Print addresses
1941 which don't fit into long correctly.
1942 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1943 available.
1944 (strings_file): Use file_off instead of file_ptr. Use file_open.
1945 * configure.in: Check for getc_unlocked.
1946 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1947 be defined for it.
1948 * configure: Rebuilt.
1949 * config.h.in: Rebuilt.
1950
af667503
L
19512001-11-29 H.J. Lu <hjl@gnu.org>
1952
1953 * bucomm.c (make_tempname): Revert the changes made on
1954 2001-11-14 and 2001-11-12. They won't work with directories.
1955
16474668
NC
19562001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1957
1958 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1959 CFLAGS_FOR_TARGET to runtest in environment.
1960 * Makefile.in: Rebuild.
1961 * doc/Makefile.in: Rebuild.
1962
17978339
MS
19632001-11-28 Mike Stump <mrs@wrs.com>
1964
1965 * objcopy.c (setup_section): Preserve SEC_RELOC when
1966 --set-section-flags is used.
1967
261a45ad
NC
19682001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1969
1970 * readelf.c (do_debug_str): New variable.
1971 (display_debug_str): New function: Display the contents of a
1972 .debug_str section.
1973 (load_debug_str): New function: Load in the contents of a
1974 .debug_str section.
1975 (free_debug_str): New function: Free the memory used by
1976 load_debug_str().
1977 (fetch_indirect_string): Retrieve a string from the .debug_str
1978 section.
1979 (usage): Add -ws.
1980 (parse_args): Accept -ws.
1981 (process_section_headers): Allow the display of the .debug_str
1982 section.
1983 (read_and_display_attr_value): Use fetch_indirect_string. Show
1984 offset into .debug_str section.
1985 (display_debug_info): Use load_debug_str and free_debug_str.
1986 (debug_displays): Add .debug_str.
1987 * doc/binutils.texi: Document -ws.
1988
b8908f93
AJ
19892001-11-19 Andreas Jaeger <aj@suse.de>
1990
1991 * testsuite/binutils-all/objdump.exp: Add x86-64.
1992
e5fb9629
AS
19932001-11-15 Andreas Schwab <schwab@suse.de>
1994
1995 * readelf.c: Fix warnings without terminating newline.
1996
802a735e
AM
19972001-11-15 Alan Modra <amodra@bigpond.net.au>
1998
1999 * doc/binutils.texi (objdump): Document ppc -M options.
2000
b89e9eae
AJ
20012001-11-14 Andreas Jaeger <aj@suse.de>
2002
2003 * doc/binutils.texi (objdump): Fix description to use x86-64.
2004
a6a25652
NC
20052001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2006
2007 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2008 not all systems provide mkstemp.
2009
e396998b
AM
20102001-11-14 Alan Modra <amodra@bigpond.net.au>
2011
2012 * doc/binutils.texi (objdump): Document x86 -M options.
2013
81766fca
RH
20142001-11-13 Keith Walker <keith.walker@arm.com>
2015
2016 * readelf.c (read_and_display_attr_value): New function to
2017 handle DW_FORM_indirect.
2018 (read_and_display_attr): Use it.
2019
1a509dcc
GK
20202001-11-13 Geoffrey Keating <geoffk@redhat.com>
2021
2022 * readelf.c (display_debug_lines): Deal with unknown standard
2023 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2024 DW_LNS_set_isa.
2025
6e917903 20262001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2027
6e917903
TW
2028 * MAINTAINERS: Add self as tic54x maintainer. This target
2029 includes the IBM C54XDSP clone.
7559e86e 2030
6e917903 20312001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2032
7559e86e
NC
2033 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2034
20352001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2036
ecdadc4a
JL
2037 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2038 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2039 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2040 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2041 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2042 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2043 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2044
91770270
JL
2045 * readelf.c (get_elf_class): Fix ISO portability glitch.
2046 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2047
ef5cdfc7
JJ
20482001-11-07 Jakub Jelinek <jakub@redhat.com>
2049
2050 * readelf.c (debug_str, debug_str_size): New.
2051 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2052 Call free_abbrevs.
2053 (read_and_display_addr): Handle DW_FORM_strp.
2054 (display_debug_info): Read .debug_str section if present,
2055 so that DW_FORM_strp can be handled.
2056 Fix test for non-existant .debug_abbrev section.
2057
5e9520c8
JJ
20582001-11-05 Jakub Jelinek <jakub@redhat.com>
2059
2060 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2061
2062 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2063
54589086
MS
20642001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2065
2066 * MAINTAINERS: Add self as s390/s390x maintainer.
2067
c05b685b
TR
20682001-11-02 Tom Rix <trix@bluey.cygnus.com>
2069
2070 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2071
3c62831e
NC
20722001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2073
2074 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2075 * configure: Regernate.
2076 * po/fr.po: New file.
2077 * po/tr.po: New file.
2078
3c3bdf30
NC
20792001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2080
9b19141a 2081 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2082 * readelf.c: Include elf/mmix.h.
2083 (guess_is_rela): MMIX is RELA.
2084 (dump_relocations): Handle MMIX relocations.
2085 * Makefile.am: Regenerate dependencies.
2086 * Makefile.in: Regenerate.
2087
f662939a
NC
20882001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2089
2090 * readelf.c (parse_args): Handle multiple options to the -w
2091 switch.
2092
c91d0dfb
JJ
20932001-10-12 Jakub Jelinek <jakub@redhat.com>
2094
2095 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2096 LOPROC, LOOS and LOUSER.
2097
7559e86e 20982001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2099
2100 * MAINTAINERS: Update my email address.
2101
fcd8210c
AM
21022001-10-03 Alan Modra <amodra@bigpond.net.au>
2103
2104 * doc/Makefile.in: Regenerate.
2105 * configure: Regenerate.
2106
428409d5
NC
21072001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2108
2109 * readelf.c (display_debug_line, display_debug_pubnames,
2110 display_debug_info, display_debug_frames): Detect and warn
2111 about 64-bit format entries.
2112 (display_debug_aranges): Reword 64-bit warning.
2113 (debug_displays): Add .debug_pubtypes as a known, but not yet
2114 supported, debug section.
2115
6a8c2b0d
AM
21162001-10-02 Alan Modra <amodra@bigpond.net.au>
2117
2118 * coffdump.c (PROGRAM_VERSION): Delete.
2119 (main <'V'>): Call print_version.
2120 * srconv.c: Likewise.
2121 * sysdump.c: Likewise.
2122 * version.c (program_version): Remove.
2123 (print_version): Use BFD_VERSION_STRING. Just print the current
2124 year in copyright message.
2125 * addr2line.c (program_version): Remove unused declaration.
2126 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2127 place of BFD_VERSION.
2128 * Makefile.am (Makefile): Depend on bfd/configure.in.
2129 (cplus-dem.o): Depend on Makefile.
2130 Run "make dep-am".
2131 * Makefile.in: Regenerate.
2132
e414a165
NC
21332001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2134
2135 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2136 format .debug_arange sections.
2137 (main): Add missing prototype.
b8908f93 2138
efc3ee7f
HPN
21392001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2140
2141 * Makefile.am: Update dependencies with "make dep-am".
2142 * Makefile.in: Regenerate.
2143
9e85c2a0
RH
21442001-09-28 Richard Henderson <rth@redhat.com>
2145
2146 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2147
451dad9c
AM
21482001-09-26 Alan Modra <amodra@bigpond.net.au>
2149
2150 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2151 VA_CLOSE.
2152 (non_fatal): Likewise.
2153 * objdump.c (objdump_sprintf): Likewise.
2154 * readelf.c (error): Likewise.
2155 (warn): Likewise.
2156
d974e256
JJ
21572001-09-25 Jakub Jelinek <jakub@redhat.com>
2158
2159 * readelf.c (do_wide): New.
2160 (options): Add --wide.
2161 (usage, parse_args): Likewise.
2162 (process_program_headers): Put each segment on a single line if
2163 --wide is given.
2164 (process_section_headers): Put each section on a single line if
2165 --wide is given.
2166 * doc/binutils.texi: Document it.
2167 * NEWS: Likewise.
2168
2f11c261
AM
21692001-09-25 Alan Modra <amodra@bigpond.net.au>
2170
2171 * readelf.c (print_vma): Print 8 digits of low hex value.
2172
1d50f91e
AJ
21732001-09-24 Andreas Jaeger <aj@suse.de>
2174
2175 * nlmconv.c: Fix warnings about unused attributes and function
2176 prototypes.
2177
2178 * strings.c: Add prototype for get_char.
2179
38131e67
L
21802000-09-19 H.J. Lu <hjl@gnu.org>
2181
2182 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2183 $(srcdir)/cxxfilt.man.
2184 * doc/Makefile.in: Rebuild.
2185
3bcfb3e4
AM
21862001-09-19 Alan Modra <amodra@bigpond.net.au>
2187
2188 * objcopy.c (copy_main): Correct rename-section string parsing.
2189 Consolidate new_name parsing, and error messages.
2190
3882b010
L
21912001-09-18 Bruno Haible <haible@clisp.cons.org>
2192
2193 * addr2line.c: Don't include <ctype.h>.
2194 (main): For gettext, also set the LC_CTYPE locate facet.
2195 * ar.c (main): Likewise.
2196 * coffdump.c (main): Likewise.
2197 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2198 (main): For gettext, also set the LC_CTYPE locate facet.
2199 Use ISALNUM instead of isalpha/isdigit.
2200 * dllwrap.c: Don't include <ctype.h>.
2201 (main): For gettext, also set the LC_CTYPE locate facet.
2202 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2203 (main): For gettext, also set the LC_CTYPE locate facet.
2204 Use TOUPPER instead of islower/toupper.
2205 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2206 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2207 Use TOUPPER instead of islower/toupper.
2208 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2209 * objcopy.c (main): Likewise.
2210 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2211 (disassemble_bytes): Use ISPRINT instead of isprint.
2212 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2213 (dump_data): Use ISPRINT instead of isprint.
2214 (main): For gettext, also set the LC_CTYPE locate facet.
2215 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2216 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2217 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2218 Use TOUPPER instead of islower/toupper.
2219 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2220 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2221 (write_rc_accelerators): Use ISPRINT instead of isprint.
2222 (write_rc_rcdata): Likewise.
2223 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2224 * srconv.c (main): Likewise.
2225 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2226 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2227 isdigit/isupper/islower.
2228 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2229 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2230 stab_demangle_prefix, stab_demangle_qualified,
2231 stab_demangle_template, stab_demangle_type,
2232 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2233 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2234 (isgraphic): Use ISPRINT instead of isascii/isprint.
2235 (main): Remove HAVE_LC_MESSAGES dependency.
2236 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2237 (pbarray): Use ISPRINT instead of isprint.
2238 (main): For gettext, also set the LC_CTYPE locate facet.
2239 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2240 (format_from_filename): Use ISPRINT instead of isprint.
2241 (main): For gettext, also set the LC_CTYPE locate facet.
2242 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2243 (unicode_print): Use ISPRINT instead of isprint.
2244 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2245 (stab_variable): Use ISDIGIT instead of isdigit.
2246
e59b4dfb
AM
22472001-09-18 Alan Modra <amodra@bigpond.net.au>
2248
2249 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2250 Replace bfd_read call with call to bfd_bread.
2251 (extract_file): Likewise.
2252
2253 * objdump.c (dump_section_header): Cast section->filepos to
2254 unsigned long to suit printf format string.
2255 * readelf.c (process_section_headers): Similarly for sh_offset.
2256 (process_unwind): Likewise.
2257
d132876a
NC
22582001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2259
2260 * strings.c (encoding, encoding_bytes): New variables.
2261 (long_options): Add --encoding.
2262 (main): Accept -e and --encoding.
2263 (get_char): New function. Read a, possibly wide, character from
2264 the input stream.
2265 (print_strings): Use get_char().
2266 (usage): Document new command line option.
2267 * doc/binutils.texi: Document new command line option.
2268 * NEWS: Announce new command line option.
2269
7559e86e 22702001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2271
2272 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2273 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2274 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2275 Removed EM_CYGNUS_ARC.
2276
7559e86e 22772001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2278
2279 * readelf.c: Include elf/h8 for H8 series definitions.
2280 (guess_is_rela): H8 series if RELA.
2281 (dump_relocations): Handle H8 series relocations.
2282
0823fbca
EC
22832001-08-31 Eric Christopher <echristo@redhat.com>
2284
2285 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2286
8db76d70
PT
22872001-08-29 Peter Targett <peter.targett@arccores.com>
2288
2289 * MAINTAINERS: Include ARC Maintainer.
2290
d81d6584
BE
22912001-08-29 Ben Elliston <bje@redhat.com>
2292
2293 * stabs.c (stab_demangle_template): Initialise s4.
2294
25a1ff5b
AM
22952001-08-27 Alan Modra <amodra@bigpond.net.au>
2296
2297 * readelf.c (dump_relocations): Recognise EM_PPC64.
2298
a5d22d2a
TS
22992001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2300
2301 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2302
62a5a82d
L
23032001-08-25 H.J. Lu <hjl@gnu.org>
2304
2305 * nm.c (print_width): New.
2306 (display_rel_file): Set `print_width' according to
2307 bfd_sprintf_vma.
2308 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2309
1ae8b3d2
AO
23102001-08-24 Alexandre Oliva <aoliva@redhat.com>
2311
2312 * objcopy.c (use_alt_mach_code): New variable.
2313 (OPTION_ALT_MACH_CODE): Define.
2314 (copy_options): Added --alt-machine-code.
2315 (copy_main): Handle it.
2316 (copy_object): Switch to alternate machine code if requested.
2317 * doc/binutils.texi: Document new option.
2318 * NEWS: Likewise.
2319
d1bdd336
TS
23202001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2321
2322 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2323
410f7a12
L
23242001-08-21 H.J. Lu <hjl@gnu.org>
2325
2326 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2327 (display_debug_info): Cast for 64bit hosts.
2328 (display_debug_frames): Likewise.
2329 (process_mips_specific): Likewise.
2330
c32144ff
AJ
23312001-08-21 Andreas Jaeger <aj@suse.de>
2332
2333 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2334
2335 * sysdump.c: Add missing prototypes.
2336 * srconv.c: Likewise.
2337 * unwind-ia64.c: Likewise.
2338 * coffdump.c: Likewise.
2339
2340 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2341
2342 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2343 of declaring xcalloc.
2344
d8180c76
L
23452001-08-10 H.J. Lu <hjl@gnu.org>
2346
2347 * nm.c (print_value): Add one arg, bfd *.
2348 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2349 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2350 (print_symbol_info_sysv): Likewise.
2351 (print_symbol_info_posix): Likewise.
2352
2353 * objdump.c (dump_section_header): Replace printf_vma with
2354 bfd_printf_vma.
2355 (print_section_stabs): Likewise.
2356 (dump_bfd_header): Likewise.
2357 (objdump_print_value): Replace sprintf_vma with
2358 bfd_sprintf_vma.
2359 (disassemble_bytes): Likewise.
2360 (dump_reloc_set): Likewise.
2361
0218d1e4
AJ
23622001-08-10 Andreas Jaeger <aj@suse.de>
2363
2364 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2365 to build warnings.
2366 * configure: Regenerate.
2367
2863d58a
AM
23682001-08-09 Alan Modra <amodra@bigpond.net.au>
2369
2370 * readelf.c: Add missing prototypes.
2371 * objdump.c: Likewise. Format existing prototypes.
2372
c0e047e0
AO
23732001-08-08 Alexandre Oliva <aoliva@redhat.com>
2374
2375 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2376 of any RELA relocation for the abbrev_offset memory location that
2377 refers to the .debug_abbrev section symbol.
2378
ff78d6d6
L
23792001-08-07 H.J. Lu <hjl@gnu.org>
2380
2381 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2382 (main): Return process_file ().
2383
c36774d6
PB
23842001-08-05 Philip Blundell <philb@gnu.org>
2385
2386 * doc/binutils.texi: Use "Thumb" not "THUMB".
2387
8f9d9bd9
JH
23882001-08-03 John Healy <jhealy@redhat.com>
2389
bb279dc0
ZW
2390 Patch suggested by Frank Eigler <fche@redhat.com>.
2391 * objdump.c (disassemble_data): Fill in section member of the
2392 disasm_info structure.
8f9d9bd9 2393
c918cb96
DD
23942001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2395
2396 * configure.in: Added --with-windres option.
2397 * configure: Regenerated.
2398
c7c55b78
NC
23992001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2400
2401 * doc/binutils.texi: Use @command{name} for commands;
2402 use @option{-opt} for options; use @table @env for list of options;
2403 remove spaces arround [ | ] in synopsis.
2404
2405 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2406 center title.
2407
594ef5db
NC
24082001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2409
bb279dc0
ZW
2410 * objcopy.c: Fix formatting.
2411 (section_rename): New structure.
2412 (OPTION_RENAME_SECTION): New switch.
2413 (copy_usage): Document new switch.
2414 (add_section_rename): New function: Add a node to the section
2415 rename list.
2416 (find_section_rename): New function: Find the new name and
2417 flags for a section.
2418 (setup_section): Call find_section_name to determine the name
2419 of the output section.
2420 (copy_main): Handle OPTION_RENAME_SECTION.
2421 * binutils.texi: Document new switch.
594ef5db
NC
2422 * NEWS: Mention new switch.
2423
1f554c69
NC
24242001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2425
2426 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2427 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2428 bug-binutils@gcc.org.
2429
2f83960e
AM
24302001-07-28 Matthias Kramm <kramm@quiss.org>
2431
2432 * bucomm.c (list_supported_architectures): New function.
2433 * bucomm.h (list_supported_architectures): Declare.
2434 * objdump.c (usage): Call the above.
2435
20fe0649
DB
24362001-07-25 Dave Brolley <brolley@redhat.com>
2437
2438 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2439 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2440
1b577b00
NC
24412001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2442
2443 * README: Update for 2.11. Change bug reporting email address.
2444 * MAINTAINERS: Tidy up. Change bug reporting email address.
2445
95fd336c
DD
24462001-07-16 DJ Delorie <dj@redhat.com>
2447
5f16d855
DD
2448 * resres.c (write_res_header): Align header size.
2449 (res_align_file): Calculate alignment correctly.
2450
95fd336c
DD
2451 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2452 correct 10).
2453 * resrc.c (write_rc_resource): Likewise.
2454 * windres.h (SUBLANG_SHIFT): Define - as 10.
2455
ed8fee27
NC
24562001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2457
2458 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2459
90ab7e9a
NC
24602001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2461
2462 * MAINTAINERS: Add notes about branch checkins.
2463
e0c60db2
NC
24642001-07-05 Daniel Berlin <dan@cgsoftware.com>
2465
2466 * readelf.c (display_debug_macinfo): New function, display
2467 .debug_macinfo section.
2468 (do_debug_macinfo): New variable.
2469 (parse_args): Handle "-w[mM]" to mean display macro info.
2470 (process_section_headers): Handle debug_macinfo.
2471 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2472 function for .debug_macinfo display.
e0c60db2
NC
2473 * doc/binutils.texi: Document new command line switch.
2474 * NEWS: Document new feature of readelf.
0218d1e4 2475
24e01a36
L
24762001-07-05 H.J. Lu <hjl@gnu.org>
2477
2478 * objcopy.c (filter_symbols): Don't turn undefined symbols
2479 into local.
2480
4258bf4d
L
24812001-07-03 H.J. Lu <hjl@gnu.org>
2482
2483 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2484 $@.pod.
2485 (ar.1): Likewise.
2486 (dlltool.1): Likewise.
2487 (nlmconv.1): Likewise.
2488 (nm.1): Likewise.
2489 (objcopy.1): Likewise.
2490 (objdump.1): Likewise.
2491 (ranlib.1): Likewise.
2492 (readelf.1): Likewise.
2493 (size.1): Likewise.
2494 (strings.1): Likewise.
2495 (strip.1): Likewise.
2496 (windres.1): Likewise.
2497 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2498 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2499 $(DEMANGLER_NAME).
2500 (as.1): Removed.
2501 * doc/Makefile.in: Regenerated.
2502
7014bc31
NC
25032001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2504
2505 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2506
b811889f
NC
25072001-07-01 Daniel Berlin <dan@cgsoftware.com>
2508
2509 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2510
12ab83a9
NC
25112001-06-29 James Cownie <jcownie@etnus.com>
2512
2513 * readelf.c: Support DWARF 2.1 attributes.
2514
a6e9f9df
AM
25152001-06-28 Alan Modra <amodra@bigpond.net.au>
2516
2517 * readelf.c (GET_DATA_ALLOC): Remove.
2518 (GET_DATA): Remove.
2519 (get_data): New function combining above macros, with an extra
2520 test for zero size.
2521 (slurp_rela_relocs): Use get_data, and catch error return.
2522 (slurp_rel_relocs): Likewise.
2523 (get_32bit_program_headers): Likewise.
2524 (get_64bit_program_headers): Likewise.
2525 (get_32bit_section_headers): Likewise.
2526 (get_64bit_section_headers): Likewise.
2527 (get_32bit_elf_symbols): Likewise.
2528 (get_64bit_elf_symbols): Likewise.
2529 (process_section_headers): Likewise.
2530 (process_relocs): Likewise.
2531 (slurp_ia64_unwind_table): Likewise.
2532 (process_unwind): Likewise.
2533 (get_32bit_dynamic_segment): Likewise.
2534 (get_64bit_dynamic_segment): Likewise.
2535 (process_dynamic_segment): Likewise.
2536 (process_version_sections): Likewise.
2537 (process_symbol_table): Likewise.
2538 (dump_section): Likewise.
2539 (display_debug_info): Likewise.
2540 (display_debug_section): Likewise.
2541 (process_section_contents): Likewise.
2542 (process_corefile_note_segment): Likewise.
2543 (process_mips_specific): Likewise. Also free econf32, econf64.
2544
af3fc3bc
AM
25452001-06-25 Alan Modra <amodra@bigpond.net.au>
2546
2547 * readelf.c (dump_relocations): Print "bad symbol index" if
2548 symtab == NULL with non-zero symtab_index.
2549 (process_relocs): Don't bomb if reloc section has no symsec.
2550
6d900bf6
L
25512001-06-24 H.J. Lu <hjl@gnu.org>
2552
2553 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2554 by accident.
2555 (copy_main): Apply the the change made to strip_main on
2556 2001-05-30 by accident.
2557
49b4e386
AJ
25582001-06-23 Andreas Jaeger <aj@suse.de>
2559
2560 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2561 parameter 'code'.
2562 (unw_decode_x2): Likewise.
2563 (unw_decode_x3): Likewise.
2564 (unw_decode_x4): Likewise.
2565
d8dc71e3
BE
25662001-06-23 Ben Elliston <bje@redhat.com>
2567
2568 * MAINTAINERS: Add myself as M88k maintainer.
2569
af3bdff7
NC
25702001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2571
2572 * objcopy.c (strip_main): Support -o or --output-file command lien
2573 switch.
2574
105e7211
L
25752001-06-19 H.J. Lu <hjl@gnu.org>
2576
2577 * doc/Makefile.in: Regenerated.
2578
c45021f2
NC
25792001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2580
2581 * readelf.c: Restore formatting.
2582
25832001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2584
bb279dc0
ZW
2585 * Makefile.am: Move documentation into doc subdirectory.
2586 * Makefile.in: Regenerated.
c45021f2 2587 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2588 * addr2line.1: Removed.
2589 * ar.1: Likewise.
2590 * dlltool.1: Likewise.
2591 * nlmconv.1: Likewise.
2592 * nm.1: Likewise.
2593 * objcopy.1: Likewise.
2594 * objdump.1: Likewise.
2595 * ranlib.1: Likewise.
2596 * readelf.1: Likewise.
2597 * size.1: Likewise.
2598 * strings.1: Likewise.
2599 * strip.1: Likewise.
2600 * windres.1: Likewise.
2601 * cxxfilt.man: Likewise.
c45021f2
NC
2602 * doc: New Directory.
2603 * doc/Makefile.am: New file.
2604 * doc/Makefile.in: Generate.
2605
09ad7db3
AM
26062001-06-09 Alan Modra <amodra@bigpond.net.au>
2607
2608 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2609
936260fe
AM
26102001-06-01 Alan Modra <amodra@bigpond.net.au>
2611
2612 * MAINTAINERS: Update my email address.
2613
16b2b71c
NC
26142001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2615
2616 * objcopy.c: Add new switches: --keep-global-symbol,
2617 --keep-symbols, --localize-symbols, --keep-global-symbols and
2618 --weaken-symbols.
2619 * binutils.texi: Document new switches.
2620 * objcopy.1: Regenerate.
2621 * NEWS: Announce new feature.
2622
7036c0e1
AJ
26232001-05-28 Andreas Jaeger <aj@suse.de>
2624
2625 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2626 variables, fix format strings.
2627
76a406e5
NC
26282001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2629
2630 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2631 when computing the address of the line to show.
2632
31b6fca6
RH
26332001-05-16 Richard Henderson <rth@redhat.com>
2634
2635 * readelf.c (do_debug_frames_interp): New.
2636 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2637 (byte_get_big_endian): Likewise.
2638 (parse_args) ['F']: Set do_debug_frames_interp.
2639 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2640 (frame_display_row): Don't trunc pc_begin to int.
2641 (size_of_encoded_value): New.
2642 (display_debug_frames): Handle 64-bit targets. Print raw data
2643 unless do_debug_frames_interp.
2644 (debug_displays): Remove duplicate .debug_frame.
2645
4fe85591
NC
26462001-05-15 Ralf Baechle <ralf@gnu.org>
2647
2648 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2649 The former constant was never in active use and is used otherwise
2650 by the ABI.
2651
579f31ac
JJ
26522001-05-11 Jakub Jelinek <jakub@redhat.com>
2653
2654 * readelf.c (process_unwind): Print all unwind sections, not just
2655 one.
2656
78f4a3f7
AM
26572001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2658
2659 * readelf.c (process_unwind): Remove const specifier.
2660
1c529ca6
NC
26612001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2662
2663 * strings.c (isgraphic): Do not use isascii() unless it is needed
2664 for isprint() to work.
2665 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2666
87e6d782
NC
26672001-04-27 Johan Rydberg <jrydberg@opencores.org>
2668
bb279dc0 2669 * NEWS: Announce support for OpenRISC.
87e6d782 2670
4bd3d870 26712001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2672
2673 * dlltool.c (do_default_excludes): Initialise to true.
2674
21211521
AM
26752001-04-10 Alan Modra <amodra@one.net.au>
2676
2677 * MAINTAINERS: Update my email address
2678 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2679
0c66b61e 26802001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2681
2682 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2683
e58d53af
L
26842001-03-30 H.J. Lu <hjl@gnu.org>
2685
2686 * readelf.c (process_unwind): Just return if do_unwind is 0.
2687
bee72332
DD
26882001-03-28 Roger Sayle <roger@metaphorics.com>
2689
2690 * dlltool.c (make_one_lib_file): Fix section flags for
2691 .text, .data and .bss in stub ds*.o files to match those
2692 generated by gas.
2693
f1467e33
L
26942001-03-29 H.J. Lu <hjl@gnu.org>
2695
2696 * readelf.c (process_unwind): Only do unwind sections for
2697 IA64.
2698
1c6fb4fe
L
26992001-03-28 H.J. Lu <hjl@gnu.org>
2700
2701 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2702 * Makefile.in: Regenerate.
2703
0879a67a
AJ
27042001-03-26 Andreas Jaeger <aj@suse.de>
2705
2706 * binutils.texi (nm): Fix texi syntax.
2707
0285c67d
NC
27082001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2709
2710 * binutils.texi: Put @c man begin and @c man end indications
2711 to generate man pages using texi2pod and pod2man. Put @c man title
2712 to identify each man. Add SEEALSO entries.
2713 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2714 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2715 sort the list.
2716 (*.1): Build the man pages from binutils.texi.
2717 * Makefile.in: Regenerate.
2718
04847a4d
CF
27192001-03-13 Eric Kohl <ekohl@rz-online.de>
2720
2721 * defparse.y (opt_equal_name): allow "." in name.
2722 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2723 (gen_exp_file): Likewise.
2724
43a0748c
NC
27252001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2726
2727 * NEWS: Document addition of -B switch to objcopy.
2728 * binutils.texi: Document addition of -B switch to objcopy.
2729 * objcopy.c: (copy_options): Add --binary-architecture.
2730 (copy_usage): Document -B/--binary-architecture.
2731 (copy_main): Support -B/--binary-architecture. Set
2732 bfd_external_binary_architecture.
0879a67a 2733
b7498e0e
NC
27342001-03-11 Andreas Jaeger <aj@suse.de>
2735
2736 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2737 (dump_relocations): Likewise.
2738 (get_machine_name): Likewise.
2739
a59e3bd7
NC
27402001-02-28 Nick Clifton <nickc@redhat.com>
2741
2742 * readelf.c: (struct unw_aux_info): Remove const modifier for
2743 'strtab' field.
2744 (process_unwind): Remove non-K&R compliant LHS type cast in call
2745 to GET_DATA_ALLOC macro.
2746
a5bcd848
PB
27472001-02-28 Philip Blundell <pb@futuretv.com>
2748
2749 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2750 ABI is in use; remove ambiguity between the "unknown" EABI and
2751 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2752 renamed EF_xx constants.
2753
27b7e12d
AM
27542001-02-27 Alan Modra <alan@linuxcare.com.au>
2755
2756 * configure.in (BFD_VERSION): New.
2757 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2758 * configure: Regenerate.
2759 * Makefile.am: Run "make dep-am"
2760 * Makefile.in: Regenerate.
2761
a9f10786
NC
27622001-02-14 Nick Clifton <nickc@redhat.com>
2763
2764 * MAINTAINERS: Add "Obvious Fix" rule.
2765
3c44da9a
MS
27662001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2767
2768 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2769 literal concatenation.
2770
ecd03389
MS
27712001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2772
2773 * readelf.c (struct unw_aux_info): Remove const from the info member.
2774 (process_unwind): Don't type-cast the third argument to the
2775 GET_DATA_ALLOC macro.
2776
88ec60c7
NC
27772001-02-11 Nick Clifton <nickc@redhat.com>
2778
2779 * readelf.c (dump_relocations): Free corrected allocated
2780 array.
2781 (process_unwind): Fix compile time warning.
2782
f5e21966
NC
27832001-02-10 Nick Clifton <nickc@redhat.com>
2784
2785 * binutils.texi: Document new --unwind option to readelf.
2786
a85d7ed0
NC
27872001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2788
2789 * readelf.c: Add linux target for S/390.
2790
7bb10502
AM
27912001-02-10 Alan Modra <alan@linuxcare.com.au>
2792
2793 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2794 printf is a macro.
2795
8ca8f343
HPN
27962001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2797
2798 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2799 * aclocal.m4: Regenerate.
2800 * configure: Regenerate.
2801
7340082d
NC
28022001-02-07 Todd Vierling <tv@wasabisystems.com>
2803
2804 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2805 * objdump.c (bfd_target_vector): Likewise.
2806
4d6ed7c8
NC
28072001-02-07 David Mosberger <davidm@hpl.hp.com>
2808
2809 * readelf.c (process_unwind): New function.
2810 (slurp_ia64_unwind_table): Ditto.
2811 (dump_ia64_unwind): Ditto.
2812 (find_symbol_for_address): Ditto.
2813 (slurp_rela_relocs): New function (split off from dump_relocations()).
2814 (slurp_rel_relocs): Ditto.
2815 (parse_args): Handle '-u' option.
2816
2817 * unwind-ia64.c: New file.
2818 * unwind-ia64.h: New file.
2819 * Makefile.am: Include unwind-ia64.c in readelf build.
2820 * Makefile.in: Regenerate.
7340082d 2821 * po/binutils.pot: Regenerate.
4d6ed7c8 2822
c7217458
PB
28232001-02-04 Philip Blundell <philb@gnu.org>
2824
2825 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2826 * configure: Regenerate.
2827
956eedd4
AM
28282001-01-31 Steve deRosier <sderosier@vari-lite.com>
2829
2830 * ieee.c (ieee_add_bb11): Don't check for backslashes
2831 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2832
8855cbca
AM
28332001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2834
c7f2731e
AM
2835 * ieee.c: Update copyright.
2836 (ieee_start_compilation_unit): Don't check for backslashes
2837 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2838
8855cbca
AM
2839 * stabs.c: Update copyright. Include "filenames.h".
2840 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2841
329de803 28422001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2843
2844 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2845 sections are present before using them. Remove code duplication.
2846 (process_symbol_table): Check if VERDEF or VERNEED sections are
2847 present before using them.
2848
23719f39
NC
28492001-01-17 Nick Clifton <nickc@redhat.com>
2850
2851 * objcopy.c (copy_object): Fail if attempting to convert the
2852 endianness of the input object file.
2853
2854 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2855
f726e849
NC
28562001-01-16 Nick Clifton <nickc@redhat.com>
2857
2858 * readelf.c (string_table_length): New variable.
2859 (SECTION_NAME): Catch out of range indices and missing section
2860 pointers.
2861 (process_section_headers): Delete useless local variable
2862 string_table_offset. Set the value of string_table_length
2863 after loading the string table.
2864 (process_mips_specific): Use SECTION_NAME macro.
2865 (process_file): Set string_table_length to 0 when it is freed.
2866
d0398d6a
NC
28672001-01-12 Nick Clifton <nickc@redhat.com>
2868
2869 * version.c (print_version): Update copyright date.
2870
0d2bcfaf
NC
28712001-01-11 Peter Targett <peter.targett@arccores.com>
2872
2873 * readelf.c (dump_relocations): Include selection with EM_ARC.
2874 (get_machine_name) Update name to "ARC".
2875
8b1e6df3
NC
28762001-01-09 Nick Clifton <nickc@redhat.com>
2877
2878 * Makefile.am: Add rule to build objdump.o from objdump.c and
2879 using OBJDUMP_DEFS.
2880 * Makefile.in: Regenerate.
2881
2882 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2883 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2884 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2885 * configure: Regenerate.
8b1e6df3
NC
2886
2887 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2888 is defined read in the relocs even if dump_reloc_info is
2889 false.
2890
2f952d20
PB
28912001-01-07 Philip Blundell <philb@gnu.org>
2892
2893 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2894 `bug-binutils'.
2895 * README: Likewise.
2896
a8c548cb
NC
28972000-12-19 Nick Clifton <nickc@redhat.com>
2898
2899 * dlltool.c: Add missing support for arm-epoc-pe.
2900 * configure.in: Add missing support for arm-epoc-pe.
2901 * configure: Regenerate.
2902
cc5fda35
NC
29032000-12-15 Nick Clifton <nickc@redhat.com>
2904
2905 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2906 Mode parts of the x86 port.
2907
bcedfee6
NC
29082000-12-04 Andreas Jaeger <aj@suse.de>
2909
2910 * readelf.c (guess_is_rela): Add EM_X86_64.
2911 (dump_relocations): Add EM_X86_64.
2912 (get_machine_name): Add EM_X86_64.
2913 Include "elf/x86-64.h".
2914
584da044
NC
29152000-12-12 Nick Clifton <nickc@redhat.com>
2916
2917 * readelf.c: Fix formatting.
2918
7559e86e 29192000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2920
2921 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2922
a98cc2b2
AH
29232000-12-07 Andrew Haley <aph@redhat.com>
2924
2925 * readelf.c (display_debug_frames): Only display columns that are
2926 referenced by the frame debug info.
2927
c7987a69
NC
29282000-12-05 Nick Clifton <nickc@redhat.com>
2929
2930 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2931
09fd7e38
JM
29322000-12-04 Jason Merrill <jason@redhat.com>
2933
2934 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2935 (display_debug_section): Likewise.
2936 (display_debug_info): Display CU header before bailing.
2937
e7af610e
NC
29382000-12-01 Chris Demetriou <cgd@sibyte.com>
2939
09fd7e38
JM
2940 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2941 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2942 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2943
09fd7e38
JM
2944 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2945 and E_MIPS_ARCH_64.
84ea6cf2 2946
09fd7e38
JM
2947 * readelf.c (get_machine_flags): Add case for
2948 E_MIPS_MACH_SB1.
c6c98b38 2949
75066968
DD
29502000-11-30 Richard Earnshaw <rearnsha@arm.com>
2951
2952 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2953
5c4666ea
HPN
29542000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2955