* objdump.c (include_paths, include_path_count): New vars.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
43ac9881
AM
12003-08-04 Bradley Harrington <bharring@us.ibm.com>
2 Alan Modra <amodra@bigpond.net.au>
3
4 * objdump.c (include_paths, include_path_count): New vars.
5 (usage): Describe --include.
6 (long_options): Add "include".
7 (add_include_path): New function.
8 (struct print_file_list): Make filename const. Add modname.
9 (try_print_file_open, update_source_path): New functions.
10 (show_line): Use them.
11 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
12
fd7bb956
AM
132003-07-30 Alan Modra <amodra@bigpond.net.au>
14
15 * objdump.c: Remove unnecessary prototypes.
16 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
17 code, and print relocs when dump_dynamic_reloc_info.
18 (disassemble_data): Read and handle dynamic relocs. Correct reloc
19 skip code. Formatting.
20 (dump_bfd): Don't dump dynamic relocs when disassembling.
21
1e7e751f
BE
222003-07-29 Ben Elliston <bje@wasabisystems.com>
23
24 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
25 maintenance defaults to the blanket write privilege maintainers.
26
2445335e
MM
272003-07-29 Michael Meissner <gnu@the-meissners.org>
28
29 * MAINTAINERS: Updated my email address.
30
46dca2e0
NC
312003-07-29 Nick Clifton <nickc@redhat.com>
32
1e7e751f 33 * objdump.c: Update to ISO C.
46dca2e0 34
834d807b
NC
352003-07-24 Nick Clifton <nickc@redhat.com>
36
f1e2bc62
NC
37 * objdump.c (disassemble_data): Do not ignore sections without the
38 LOAD flag when disassemble_all is true. Only print a message
39 about disassembling a section if it contains some data.
40
834d807b
NC
41 * po/fr.po: Updated French translation.
42
84e2f313
NC
432003-07-23 Nick Clifton <nickc@redhat.com>
44
45 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
46 left in. Some formatting tidy ups.
47
51cdc6e0
NC
482003-07-22 Salvador Eduardo Tropea <set@computer.org>
49
50 * objdump.c: New command line option --debugging-tags.
51 * doc/binutils.texi: Document new command line option.
52 * prdbg.c: Code to print the debug info as tags compatible
53 with ctags.
54 * budbg.h: Adjust prototype.
55 * NEWS: Mention new switch
56
31e0f3cd
NC
572003-07-18 Nick Clifton <nickc@redhat.com>
58
59 * objdump.c (main) :Accept multiple -M switch.
60 * doc/binutils.texi: Document that multiple -M switches are
61 accepted and that a single -M switch can contain comma
62 separated options.
63
073fbac6
NC
642003-07-17 Nick Clifton <nickc@redhat.com>
65
66 * objdump.c (main): Issue a warning message if multiple -M
67 switches are used.
68
69 * doc/binutils.texi (objdump): Update documentation about -M
70 option.
71
6c37ac4d
NC
722003-07-17 Nick Clifton <nickc@redhat.com>
73
74 * po/es.po: New Spanish translation.
75
fce00800
AM
762003-07-11 Alan Modra <amodra@bigpond.net.au>
77
78 * po/binutils.pot: Regenerate.
79
ff6b6222
CF
802003-07-05 Christopher Faylor <cgf@redhat.com>
81
82 * dlltool.c (prefix_encode): Use a fixed length for alpha.
83
bf7a6389
CF
842003-07-04 Christopher Faylor <cgf@redhat.com>
85
86 * dlltool.c (prefix_encode): New function. Encode temp file prefix
87 from pid.
88 (dlltmp): Pass address of pointer being alloced or suffer neverending
89 mallocs.
90 (make_one_lib_file): Allocate enough space for new longer stub names.
91 (gen_lib_file): Ditto.
92 (main): Generate the temp file prefix from the pid if prefix was not
93 specified on the command line.
94
96c223ce
NC
952003-07-04 Nick Clifton <nickc@redhat.com>
96
97 * readelf.c (get_data): Print (unsigned) hex values for size and
98 offset in error messages.
99 (process_section_headers): If the string table could not be
100 allocated, do not continue.
101
bdf4d63a
JJ
1022003-07-01 Jakub Jelinek <jakub@redhat.com>
103
104 * readelf.c (dynamic_segment_ia64_val): Print address and newline
105 for sections by default. Comment fix.
106
b9ae0492
DS
1072003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
108
109 * rcparse.y (res_text_field): New res_id variable.
110 (res_null_text): New static const struct res_id object,
111 with empty unicode name field.
112 (control): Pop parsing of optresidc up one level. Set
113 res_text_field to $2 except for controls which do not accept
114 a text field. Set res_text_field to res_null_text for the
115 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
116 (control_params): Adjust to use res_text_field rather
117 than optresidc.
118 (COMBOBOX): Add comment about discrepency between documented
119 vs. observed default style.
120 * resrc.c (define_control): Make first param const.
121 * windres.h (define_control): Adjust prototype.
122
e7c81c25
NC
1232003-06-27 Nick Clifton <nickc@redhat.com>
124
125 * objcopy.c (copy_object): Replace call to
126 bfd_create_gnu_debuglink_section with seperate calls to
127 bfd_add_gnu_debuglink_section and
128 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
129 symbol tables.
130
d93f0186
NC
1312003-06-26 Roland McGrath <roland@redhat.com>
132
133 * readelf.c (loadaddr): Variable removed.
134 (dynamic_info, version_info): Fix type long -> bfd_vma.
135 (program_headers): New variable.
136 (get_program_headers): New function, broken out of
137 process_program_headers.
138 (process_program_headers): Call it. Don't set `loadaddr'.
139 (slurp_ia64_unwind_table): Use get_program_headers.
140 (process_corefile_note_segments): Likewise.
141 (offset_from_vma): New function.
142 (process_relocs, process_dynamic_segment): Call that instead of
143 subtracting `loadaddr'.
144 (process_version_sections, process_symbol_table): Likewise.
145 (process_mips_specific): Likewise.
146
ed1653a7
NC
1472003-06-26 Nick Clifton <nickc@redhat.com>
148
149 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
150 (OPTION_ONLY_KEEP_DEBUG): New.
151 (strip_options): Add --only-keep-debug.
152 (copy_options): Likewise.
153 (is_strip_section): Invert return value if STRIP_NONDEBUG is
154 active.
155 (copy_object): Do not copy private data when STRIP_NONDEBUG is
156 active.
157 (setup_section): Likewise.
158 (strip_main): Handle --only-keep-debug.
159 (copy_main): Likewise.
160 * NEWS: Mention new switch
161 * doc/binutils.texi: Document new switch.
162
1049f94e
AM
1632003-06-25 Alan Modra <amodra@bigpond.net.au>
164
165 * NEWS: Correct spelling of "relocatable".
166 * objdump.c: Likewise.
167 * sysroff.info: Likewise.
168
b19aac67
NC
1692003-06-19 Nick Clifton <nickc@redhat.com>
170
171 * readelf.c (print_vma): When printing DEC_5 values, if the
172 number is bigger than 99999 switch to using hexadecimal
173 notation.
174
2593f09a
NC
1752003-06-11 Nick Clifton <nickc@redhat.com>
176
177 * objcopy.c (gnu_debuglink_filename): New variable.
178 (OPTION_ADD_GNU_DEBUGLINK): New switch
179 (copy_options): Describe --add-gnu-debuglink switch.
180 Mention that --strip-debug removes sections as well.
181 (is_strip_section): Process the sections removed and kept
182 lists before checking for debugging sections.
183 (add_redefine_syms_file): Make function static.
184 (copy_object): Use is_strip_section.
185 Check to see if a .gnu_debuglink section should be added. If
186 so, call bfd_add_gnu_debuglink.
187 (setup_section): Use is_strip_section.
188 (copy_section): Use is_strip_section.
189 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
190 * NEWS: Mention new objcopy switch.
191 * doc/binutils.texi: Document new switch.
192
3b443373
L
1932003-06-11 H.J. Lu <hongjiu.lu@intel.com>
194
195 * po/Make-in (DESTDIR): New.
196 (install-data-yes): Support $(DESTDIR).
197 (uninstall): Likewise.
198
795bb480
AM
1992003-06-11 Alan Modra <amodra@bigpond.net.au>
200
201 * Makefile.in: Regenerate.
202
9ee5e499
JJ
2032003-05-23 Jakub Jelinek <jakub@redhat.com>
204
205 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
206
a3b6428f
NC
2072003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
208
209 * NEWS: Document the new BSD/POSIX single-character mapping for
210 .comment/.note sections.
211
92991082
JT
2122003-06-02 Chris Demetriou <cgd@broadcom.com>
213 Jason Thorpe <thorpej@wasabisystems.com>
214
215 * objcopy.c (redefine_list_append): Add an argument that
216 indicates the context from which this function is being
217 called. Change all callers.
218 (copy_options): Add a new option, --redefine-syms.
219 (copy_usage): Document new option.
220 (copy_main): Handle the --redefine-syms option.
221 * doc/binutils.text (objcopy): Document new option.
222
38fafa6d
RH
2232003-05-31 Richard Henderson <rth@redhat.com>
224
225 * readelf.c (byte_get_signed): New.
226 (get_encoded_value): New.
227 (display_debug_frames): Use it. Always pre-process opcodes.
228
636fc387
ML
2292003-05-20 Michal Ludvig <mludvig@suse.cz>
230
231 * readelf.c (display_debug_frames): Print both registers
232 for DW_CFA_register.
233
80c7c40a
NC
2342003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
235
236 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
237 i[3-7]86-*-interix.
238 * configure.in: Regenerate.
239
0fcdcb91
NC
2402003-05-13 Michael Eager <eager@mvista.com>
241
242 * objcopy.c: Treat identical src/dst file names as if only one
243 entered. One Windows creating an output file of the same name as
244 the input file will delete the input file before it is read.
245
7ab5f2ed
NC
2462003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
247
248 * debug.c (debug_get_real_type): Extend test for circular debug
249 references.
250
3c92310f
NC
2512003-05-12 Nick Clifton <nickc@redhat.com>
252
253 * configure.in (ALL_LINGUAS): Add zh_CN.
254 * configure: Regenerate.
255 * po/zh_CN.po: New file: Chinese (simplified) translation.
256
d68c07bb
JE
2572003-05-11 Jason Eckhardt <jle@rice.edu>
258
259 * MAINTAINERS: Update my mail address.
260
8beeaeb7
L
2612003-05-07 H.J. Lu <hongjiu.lu@intel.com>
262
263 * readelf.c (dump_relocations): Enlarge the type field in wide
264 mode by one character.
265
63044634
RH
2662003-05-03 Richard Henderson <rth@redhat.com>
267
268 * readelf.c (struct Frame_Chunk): Add cfa_exp.
269 (frame_display_row): Just print "exp" for cfa or register
270 defined by a location expression.
271 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
272 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
273
6e50c90c
L
2742003-04-30 H.J. Lu <hjl@gnu.org>
275
276 * objdump.c (only): Change it to char **.
277 (only_size): New.
278 (only_used): New.
279 (disassemble_data): Check only as an array.
280 (dump_data): Likewise.
281 (dump_relocs): Likewise.
282 (main): Treat only as an array.
283
edbedb71
NC
2842003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
285
286 * doc/binutils.texi: Fix the documentation for the -fo option.
287
3f7de0e7
NC
2882003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
289
ef230218
JR
290 * readelf.c (get_machine_name) <EM_SH>: Amend return value
291 to refer to SuperH.
292
3f7de0e7
NC
293 * readelf.c (decode_location_expression): Don't add a trailing ';'.
294
32df8966
NC
2952003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
296 Nick Clifton <nickc@redhat.com>
297
298 * windres.c (long_options): Move close to main, where it is used.
299 Add 'input' and 'output' long options.
300 (main): Accept "-fo" as an alias for "-o". This is for rc
301 comptibility.
302 * doc/binutils.texi: Mention that -fo is accepted as an alias for
303 -o, but discourage its use.
304
85eb5110
NC
3052003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
306
307 * windres.c (format_from_name): Make the exit on error
308 behaviour optional.
309 (main): Rename the -I option to -J. Introduce -I as a synonym
310 for --include-dir. For backwards compatibility also support the
311 old -I behaviour, but issue a deprecation warning.
312 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
313 of the -I option.
314
26597c86
NC
3152003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
316
317 * readelf.c: Replace references to Mitsubishi M32R with
318 references to Renesas M32R.
319
c2dcd04e
NC
3202003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
321
322 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
323
c1124b23
AO
3242003-04-09 Alexandre Oliva <aoliva@redhat.com>
325
326 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
327 for debugging information types not supported by objdump.
328
e5076347
AM
3292003-04-09 Bernd Jendrissek <berndj@prism.co.za>
330
331 * configure.in: Recognize canonical form of i[3-6]86-pe*.
332 * configure: Regenerate.
333
adab8cdc
AO
3342003-04-09 Alexandre Oliva <aoliva@redhat.com>
335
336 * readelf.c (display_debug_info): Apply RELA relocations on the
337 entire section.
338 (byte_put_little_endian, byte_put_big_endian): New functions.
339 (byte_put): New variable.
340 (get_file_header): Initialize it.
341
3077f5d8
NC
3422003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
343
344 * windres.c: Add -l for compatibility with wrc, and rc.
345 Use the short option as a key for long options that have
346 a synonymous short option.
347 * doc/binutils.texi: Added -l to the list of options.
348
29b058f1
NC
3492003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
350
3077f5d8
NC
351 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
352 (main): Just pass the -U option down to the preprocessor.
353 * doc/binutils.texi: Added -U to the list of options.
29b058f1 354
3126d709
CF
3552003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
356
357 * windres.c (usage): Report -r option.
358 (main): Ignore the -r option.
359 * doc/binutils.texi: Add -r to the list of options.
360
c46ac711
BW
3612003-04-01 Bob Wilson <bob.wilson@acm.org>
362
363 * MAINTAINERS: Add myself as Xtensa maintainer.
364
88da6820
NC
3652003-04-01 Bob Wilson <bob.wilson@acm.org>
366
3077f5d8
NC
367 * readelf.c: Include "elf/xtensa.h".
368 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
369 targets that use RELA relocations.
370 (dump_relocations): Call elf_xtensa_reloc_type for
371 EM_XTENSA and EM_XTENSA_OLD.
372 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 373
27a710e5
NC
3742003-04-01 Nick Clifton <nickc@redhat.com>
375
376 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
377 thumb-pe*, mcore-pe and mcore-*elf.
378 * configure: Regenerate.
379
335a1869
AO
3802003-03-31 Alexandre Oliva <aoliva@redhat.com>
381
382 * objdump.c (dump_data): Don't truncate the address to long; make
383 the width large enough, and uniform for all entries in a section.
384
566b0d53
L
3852003-03-31 H.J. Lu <hjl@gnu.org>
386
387 * readelf.c: Include "libiberty.h".
388 (dynamic_relocations): New.
389 (process_relocs): Properly handle dynamic relocation.
390 (process_dynamic_segment): Fill relocation elements in
391 dynamic_info.
392
ee42cf8c
NC
3932003-03-31 Kevin Buettner <kevinb@redhat.com>
394
395 * readelf.c (read_and_display_attr, read_and_display_attr_value):
396 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
397 all callers.
398 (display_debug_lines, display_debug_pubnames, display_debug_info)
399 (display_debug_aranges, display_debug_frames, read_and_display_attr)
400 (read_and_display_attr_value): Add 64-bit DWARF support.
401
7adbf450
NC
4022003-03-31 Ian Lance Taylor <ian@airs.com>
403
404 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
405 (optresid): Handle a resource id that can be a string or a number.
406 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
407 struct res_id.
408 (define_icon_control): Pass a struct res_id to define_control.
409 * windres.h (define_control): Change prototype.
410
06d86cf7
NC
4112003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
412
7c29036b
NC
413 * objcopy (OPTION_FORMATS_INFO): Define.
414 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
415 (copy_options): Likewise.
416 (strip_usage): Add "--info" to usage.
417 (copy_usage): Likewise.
418 (strip_main): Declare formats_info. Iniatilize it to FALSE.
419 Handle "info".
420 (copy_main). Likewise.
421 * doc/binutils.texi. Document the "--info" option for
422 objcopy/strip.
423 * NEWS: Mention the new command line switch.
424
06d86cf7
NC
425 * objdump.c (endian_string): Move to bucomm.c.
426 (display_info): Likewise.
427 (display_target_list): Likewise.
428 (display_info_table): Likewise.
429 (display_target_tables): Likewise.
430 (main): Assign the return value of display_info to exit_status.
431 * bucomm.c: Include bfdver.h and libbfd.h
432 (display_target_list): Call bfd_nonfatal instead of nonfatal and
433 return 0 on a non-fatal error, 1 on success.
434 (display_info_table): Likewise.
435 * bucomm.h (display_info): Provide a prototype.
436 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
437 libbfd.h.
438 * Makefile.in: Regenerate.
439
7adbf450 4402003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
441
442 * dlltool.c (gen_def_file): Put demangled name comments on
443 own line preceding export name.
444
98a91d6a
NC
4452003-03-17 Nick Clifton <nickc@redhat.com>
446
447 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
448 printf for emitting new lines.
449
06a30c77
NC
4502003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
451
452 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
453 the symbol's value when --size-sort is used, unless -S is used.
454 doc/binutils.texi (--size-sort): For non-bsd formats both the
455 value and size of the symbols are displayed.
456
ab829d36
NC
4572003-03-13 Nick Clifton <nickc@redhat.com>
458
459 * po/da.po: Update.
460
634847c9
NC
4612003-03-12 Nick Clifton <nickc@redhat.com>
462
463 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
464
3889f9eb
BE
4652003-03-10 Ben Elliston <bje@wasabisystems.com>
466
467 * MAINTAINERS: Update my mail address.
468
7eb5191a
NC
4692003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
470
471 * stabs.c (BYTES_IN_WORD): Remove definition.
472 * wrstabs.c (BYTES_IN_WORD): Likewise.
473
e3b83c8f
NC
4742003-03-04 Nick Clifton <nickc@redhat.com>
475
476 * nm.c (main): Print a warning message if --size-sort and
477 --undefined-only are used together.
478
4792003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
480
481 * nm.c (print_symbol): Remove check for undefined_only.
482
a9d68a1e
NC
4832003-03-03 Nick Clifton <nickc@redhat.com>
484
485 * po/da.po: Installed latest translation.
486
a99996bb
NC
4872003-02-24 Nick Clifton <nickc@redhat.com>
488
489 * README: Update binutils references to 2.13.
490 Add paragraph about using --disable-nls.
491
76ed1927
NC
4922003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
493
494 * doc/binutils.texi (nm --size-sort): Update.
495
0100f33b
JW
4962003-02-21 James E Wilson <wilson@tuliptree.org>
497
498 * MAINTAINERS: Update email address.
499
ecc51f48
NC
5002003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
501
502 * readelf.c (get_ia64_dynamic_type): New function.
503 (dynamic_segment_ia64_val): New function.
504 (get_dynamic_type): If machine type is EM_IA_64 call
505 get_ia64_dynamic_val.
506 (get_ia64_section_type_name): Handle sections with types in the
507 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
508 (get_dynamic_flags): If machine type is EM_IA_64 call
509 dynamic_segment_ia64_val.
510
947ed062
NC
5112003-02-21 Bob Wilson <bob.wilson@acm.org>
512
513 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
514 section title capitalization more consistent. Update descriptions
515 of various options to be consistent with the code. Fix errors and
516 incomplete list in the description of c++filt format options. Remove
517 information about the linker. Change to be more polite about poor
518 bug reports. Replace FDL appendix with include of fdl.texi.
519 * doc/fdl.texi: New file.
520
66491ebc
AM
5212003-02-21 Roger Sayle <roger@eyesopen.com>
522
523 * objcopy.c (filter_symbols): Fix compilation problems with
524 HP-UX's C compiler.
525
0e11a9e9
CF
5262003-02-19 Christopher Faylor <cgf@redhat.com>
527
528 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
529 previous change.
530
6e5f5201
CF
5312003-02-19 Mark Blackburn <marklist@fangorn.ca>
532
0e11a9e9 533 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 534
f0c8c24a
NC
5352003-02-12 Bob Wilson <bob.wilson@acm.org>
536
537 * nm.c (usage): Add `java' and `gnat' demangle styles and make
538 quotes consistent.
539 * objdump.c (usage): Ditto. Also fix some typos.
540
d3c543fd
NC
541 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
542
fe2c4142
NC
543 * debug.c (debug_record_variable): Handle global register variables.
544
6de15b9e
NC
545 * stabs.c (parse_stab): For N_SLINE only include
546 function_start_offset if the symbol is within a function;
547 otherwise, the value is absolute.
548
fde78edd
NC
5492003-02-10 Nick Clifton <nickc@redhat.com>
550
551 * readelf.c (decode_ARM_machine_flags): Handle the
552 EF_ARM_MAVERICK_FLOAT flag.
553
22d82235
AS
5542003-02-04 Andreas Schwab <schwab@suse.de>
555
556 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
557 long and use %ld in printf format.
558
1a677ea8
RS
5592003-01-28 Richard Sandiford <rsandifo@redhat.com>
560
561 * readelf.c (dump_relocations): Reorder the r_info field for
562 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
563
8dde85fc
NC
5642003-01-21 Daniel Berlin <dan@dberlin.org>
565
566 * readelf.c (display_debug_loc): Skip address base changes.
567
c6f8bb1e
AM
5682003-01-17 Fabio Alemagna <falemagn@aros.org>
569
570 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
571 and ELFOSABI_NSK.
572
c833c019
AM
5732003-01-16 Alan Modra <amodra@bigpond.net.au>
574
575 * readelf.c: Include elf/ppc64.h.
576 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
577 * Makefile.am: Run "make dep-am".
578 * Makefile.in: Regenerate.
579
3b36097d
SC
5802003-01-02 Ben Elliston <bje@redhat.com>
581
582 * readelf.c (guess_is_rela): Handle EM_IQ2000.
583 (get_machine_name): Likewise.
584 (dump_relocations): Likewise.
585 * NEWS: Mention IQ2000 support.
586
cb44e358
RS
5872003-01-02 Richard Sandiford <rsandifo@redhat.com>
588
589 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
590
af7ee8bf
CD
5912002-12-30 Chris Demetriou <cgd@broadcom.com>
592
593 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
594 changes in MIPS -M options.
595
2469cfa2
NC
5962002-12-30 Dmitry Diky <diwil@mail.ru>
597
598 * Makefile.am: Add msp430 target.
599 * Makefile.in: Regenerate.
600 * readelf.c: Add support for msp430 target.
601
640c0ccd
CD
6022002-12-27 Chris Demetriou <cgd@broadcom.com>
603
604 * doc/binutils.texi (objdump): Document MIPS -M options.
605
59f14fc0
AS
6062002-12-23 Andreas Schwab <schwab@suse.de>
607
608 * readelf.c (main): Reset dump request after each file.
609
312b768e
NC
6102002-12-23 Nick Clifton <nickc@redhat.com>
611
612 * nlmconv.c (main): Pass TRUE as third argument to
613 bfd_arch_get_compatible.
614
8745eafa
NC
6152002-12-23 Nick Clifton <nickc@redhat.com>
616
617 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
618 macro. Handle 'S' encoding, accepting 8-bit characters.
619 (main): Parse 'S' encoding.
620 (get_char): Accept 'S' encoding.
621 (print_strings): Use STRING_ISGRAPHIC.
622 (usage): Document support of 'S' encoding.
623 * doc/binutils.texi: Document support of 'S' encoding/
624 * NEWS: Mention new feature.
625
08213ebb
AM
6262002-12-20 Alan Modra <amodra@bigpond.net.au>
627
628 * README <building ar>: Don't use libibery's needed_list or
629 required_list, instead link libiberty/*.o.
630
b9e5d8e5
KH
6312002-12-19 Kazu Hirata <kazu@cs.umass.edu>
632
633 * doc/binutils.texi: Fix typos.
634
c51238bc
DA
6352002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
636
637 * doc/binutils.texi: Add missing parenthesis.
638
d7fb0dd2
NC
6392002-12-15 Nick Kelsey <nickk@ubicom.com>
640
641 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
642 symbols by adding the given prefix to the begining of the symbol
643 name. This is useful to provide name space seperation regardless
644 of how the object file was created. Added --prefix-sections=
645 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
646 sections (or all sections with the alloc flag set) by adding the given
647 prefix to the begining of the symbol name.
648 * NEWS: Mention this new feature.
649 * doc/binutils.texi: Document this new feature.
650
55b9cdf1
AM
6512002-12-13 Alan Modra <amodra@bigpond.net.au>
652
653 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
654 dyn_string_append with dyn_string_append_cstr.
655
656 * emul_aix.c (ar_emul_aix_create): Remove unused function.
657
84ad6ede
NC
6582002-12-10 James Cownie <jcownie@etnus.com>
659
660 * readelf.h (get_TAG_name, get_AT_name,
704afb58 661 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
662 DWARF2 spec.
663 * NEWS: Mention this new support.
664
7d036af2
AM
6652002-12-08 Alan Modra <amodra@bigpond.net.au>
666
667 * NEWS: Mention that bfd no longer declares a "boolean" type.
668
3e8bba36
AM
6692002-12-07 Alan Modra <amodra@bigpond.net.au>
670
671 * readelf.c (process_program_headers): When setting loadaddr, don't
672 assume segment size is 4k. Use p_align instead.
673 (loadaddr): Change from int to long.
674 (dynamic_addr, dynamic_info, version_info): Likewise.
675 (process_dynamic_segment <syminsz>): Likewise.
676 (process_dynamic_segment): Adjust print format string.
677 (rela_addr, rela_size): Delete.
678 (process_relocs): Formatting.
679
d070dab9
JW
6802002-12-05 Jim Wilson <wilson@redhat.com>
681
682 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
683 * configure: Regenerate.
684
45bcbdb1
ILT
6852002-12-04 Ian Lance Taylor <ian@airs.com>
686
687 * MAINTAINERS: Change e-mail address back to airs.com.
688
42ea8716
AH
6892002-12-04 Aldy Hernandez <aldyh@redhat.com>
690
691 * MAINTAINERS: Add self.
692
b34976b6
AM
6932002-11-30 Alan Modra <amodra@bigpond.net.au>
694
695 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
696 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
697 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
698 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
699 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
700 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
701 with TRUE/FALSE. Formatting.
702
c8286bd1
JJ
7032002-11-29 Jakub Jelinek <jakub@redhat.com>
704
705 * readelf.c Replace occurrences of Elf32_Internal_* and
706 Elf64_Internal_* with Elf_Internal_*.
707 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
708 Zero r_addend fields.
709 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
710 Elf_Internal_Rela.
711
92acdfaf
NC
7122002-11-23 Nick Clifton <nickc@redhat.com>
713
714 * size.c (usage): Fix typo describing switch for hex format.
715
48c5eb8a
SS
7162002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
717
718 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
719 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
720 testcase
721
2f62977e
NC
7222002-11-14 Nick Clifton <nickc@redhat.com>
723
724 * readelf.c (process_program_headers): Add comment about return
725 value. Ensure that 0 is returned if the headers are not loaded.
726 (process_file): If process_section_headers failed to load the
727 headers disable any tests that rely upon them. Similarly for
728 process_program_headers.
729
cd24c222
NC
7302002-11-12 Nick Clifton <nickc@redhat.com>
731
732 * po/da.po: Updated Danish translation.
733
f3931575
AM
7342002-11-12 Klee Dienes <kdienes@apple.com>
735
736 * rddbg.c (read_section_stabs_debugging_info): Also recognize
737 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
738
b54e7460
CF
7392002-11-11 Christopher Faylor <cgf@redhat.com>
740
741 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
742 cgf maintainership.
743
4f17cc13
CF
7442002-11-11 Christopher Faylor <cgf@redhat.com>
745
746 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
747
232e7cb8
NC
7482002-11-07 Nick Clifton <nickc@redhat.com>
749
cd24c222 750 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
751 * configure: Regenerate.
752 * po/da.po: New Danish translation.
753
232e7cb8
NC
754 * readelf.c (get_symbol_index_type): Revert part of previous
755 patch: Display unknown symbol types in decimal, not hex.
756
c9e38879
NC
7572002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
758
759 * dlltool.c (add_excludes): Don't prefix excluded fastcall
760 symbols with underscore.
761 (xlate): Ignore add_underscore for decorated fastcall symbols.
762
7632002-11-07 Eric Kohl <ekohl@rz-online.de>
764
765 * deflex.l: Accept '@' as first character of an ID.
766 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
767 ASM_PREFIX for fastcall symbols.
768 (scan_drectve_symbols): Handle fastcall symbols when generating
769 undecorated aliases for symbols in drectve section.
770 (scan_filtered_symbols): Likewise, with export-all.
771 (xlate): Likewise, with --kill-at.
772 (make_imp_label): New function to handle fastcall symbols
773 correctly.
774 (make_one_lib_file): Use make_imp_label instead of make_label
775 for imp symbols.
776
a700dc3b
SS
7772002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
778
779 * MAINTAINERS: Add self as TIC4X maintainer.
780
5cf1065c
NC
7812002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
782
783 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
784 PROCESSOR-specific, OS-specific, reserved and unknown symbol
785 types.
5cf1065c 786
f1ef08cb
AM
7872002-11-04 Alan Modra <amodra@bigpond.net.au>
788
789 * readelf.c (byte_get_little_endian): Comment typo fix.
790 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
791 as the format string.
792 (dump_relocations): Correct section sym names.
793 (process_section_headers): Clear symtab_shndx_hdr.
794 (read_and_display_attr_value): Don't pass indirect string to printf
795 as the format string.
796 (display_debug_frames): Indicate when zero terminator found. Decode
797 DW_EH_PE_pcrel addresses.
798
1a09a22c
NC
7992002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
800
801 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
802 order to ensure proper disassembly of the valid 0-value opcode.
803 * configure: Regenerate.
804 * aclocal.m4: Regenerate.
805 * config.in: Regenerate.
806 * configure.in: Regenerate.
807 * doc/Makefile.in: Regenerate.
808 * po/binutils.pot: Regenerate.
809
c254c557
KK
8102002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
811
812 * MAINTAINERS: Add self as SH maintainer.
813
aefbdd67
BE
8142002-10-23 Ben Elliston <bje@redhat.com>
815
816 * doc/binutils.texi (objdump): Document -z and move the entry for
817 --disassemble-zeroes to the end of the options section (for `z').
818
ab9bcc01
NC
8192002-10-21 Nick Clifton <nickc@redhat.com>
820
821 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
822
8ab56b6f
AM
8232002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
824
825 * objdump.c (dump_data): Correct addr_offset for opb != 1.
826
49c12576
AM
8272002-10-15 Alan Modra <amodra@bigpond.net.au>
828
48417c1a
AM
829 * bucomm.c (list_supported_targets): Use bfd_target_list.
830
49c12576
AM
831 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
832 other object errors in preference to bfd_core errors.
833
6e1a7e9a
AM
8342002-10-14 Alan Modra <amodra@bigpond.net.au>
835
836 * Makefile.am: Run "make dep-am".
837 * objdump.c: #include "bfdver.h".
838 * version.c: Likewise.
839 * Makefile.in: Regenerate.
840 * config.in: Regenerate.
841 * configure: Regenerate.
842 * po/POTFILES.in: Regenerate.
843
09fc3b02
DJ
8442002-10-09 Daniel Jacobowitz <drow@mvista.com>
845
846 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
847 sections. Allow relocations against the absolute symbol. Don't
848 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 849 relocation.
09fc3b02 850
f309035a
NC
8512002-10-07 Gordon Chaffee <chaffee@netvmg.com>
852
853 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
854 ordinary ones are available.
855
810dfa6e
L
8562002-09-30 H.J. Lu <hjl@gnu.org>
857
858 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
859 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
860
bb279dc0
ZW
8612002-09-17 Zack Weinberg <zack@codesourcery.com>
862
863 * Makefile.am (CFILES): Add cxxfilt.c.
864 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
865 (cxxfilt_LDADD): Delete.
866 Remove all references to underscore.c.
867 Regen dependencies.
868 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
869 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
870 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
871 adjustments to fit into binutils framework.
872 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
873
065c959b
NC
8742002-09-12 Roland McGrath <roland@redhat.com>
875
876 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
877 Handle DW_OP_GNU_push_tls_address.
878
e09f4395
NC
8792002-09-11 Nick Clifton <nickc@redhat.com>
880
881 * po/tr.po: Updated Turkish translation.
882
873e0588
NC
8832002-09-10 Nick Clifton <nickc@redhat.com>
884
885 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
886 testsuite changes. Add paragraphs about testsuite and config
887 patches.
888
069fe61f
NC
8892002-08-29 Nick Clifton <nickc@redhat.com>
890
891 * readelf.c (get_machine_flags): Remove redundant reference to
892 E_V850EA_ARCH.
893
fe0507eb
AM
8942002-08-28 Alan Modra <amodra@bigpond.net.au>
895
896 * objdump.c (dump_bfd): Restore lines accidentally deleted in
897 last commit.
898
026df7c5
NC
8992002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
900
bb279dc0 901 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
902 (dump_bfd_header): Likewise.
903
68a4c073
AM
9042002-08-27 Alan Modra <amodra@bigpond.net.au>
905
906 * nm.c: Revert last change.
907
a1df01d1
AM
9082002-08-26 Alan Modra <amodra@bigpond.net.au>
909
910 * nm.c (display_rel_file): Don't report "no symbols" as an error.
911 * objdump.c (slurp_symtab): Likewise.
912 (slurp_dynamic_symtab): Likewise.
913 (dump_symbols): Likewise. Do print "no symbols" to stdout.
914
a926ab2f
GK
9152002-08-24 Geoffrey Keating <geoffk@redhat.com>
916
917 * MAINTAINERS: Change my mailing address.
918
fcf62380
DA
9192002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
920
921 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
922
51e28791
NC
9232002-08-22 Nick Clifton <nickc@redhat.com>
924
925 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
926 HPPA.
927
c5b060ad
AM
9282002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
929
930 * readelf.c (parse_args): Change debug_dump_opt to static.
931
4b73ca92
NC
9322002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
933
934 * stabs.c (parse_stab_argtype): Pass length of physname to
935 stab_demangle_argtypes.
936 (stab_demangle_argtypes): Add new parameter - length of physname.
937 Pass length of physname on to stab_demangle_prefix.
938 (stab_demangle_prefix): Add new parameter - length of physname.
939 Use length of physname (if supplied) to compute end of function
940 name.
941
35b1837e
AM
9422002-08-15 Alan Modra <amodra@bigpond.net.au>
943
944 * readelf.c: Include elf/i370.h.
945 (dump_relocations): Handle EM_S370.
946 (dynamic_segment_parisc_val): Print \n.
947 (process_dynamic_segment <DT_BIND_NOW>): Here too.
948
762baac5
NC
9492002-08-14 Nick Clifton <nickc@redhat.com>
950
951 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
952 * objdump.c (usage): Likewise.
953 * doc/binutils.texi: Likewise.
954
85c09e8a
NC
9552002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
956
957 * rcparse.y (acc_entry): Don't warn about ALT use with
958 non-VIRTKEY.
959
212a3c4d
L
9602002-08-13 H.J. Lu <hjl@gnu.org>
961
962 * objcopy.c (copy_object): Don't warn about the unsupported
963 architecture unless the input target is defaulted or the
964 output architecture is different from the input.
965
2b692c59
NC
9662002-08-09 Nick Clifton <nickc@redhat.com>
967
968 * po/sv.po: Updated Swedish translation.
969
09de7a73
AM
9702002-08-05 Alan Modra <amodra@bigpond.net.au>
971
972 * prdbg.c (pr_fix_visibility): Remove assert.
973
47badb7b
NC
9742002-07-31 Nick Clifton <nickc@redhat.com>
975
976 * addr2line.c (process_file): Rename parameter 'filename' to
977 'file_name' in order to avoid shadowing global symbol of the
978 same name.
979 (main): Likewise.
980
2979dc34
JJ
9812002-07-30 Jakub Jelinek <jakub@redhat.com>
982
983 * readelf.c (OPTION_DEBUG_DUMP): Define.
984 (options): Use it.
985 (usage): Update help.
986 (parse_args): Handle --debug-dump separately from -w.
987 * doc/binutils.texi (readelf): Update documentation.
988
219576a4
NC
9892002-07-25 Nick Clifton <nickc@redhat.com>
990
991 * po/es.po: Updated Spanish translation.
992 * po/fr.po: Updated French translation.
993
bf4f22e6 9942002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 995
bf4f22e6
NC
996 * po/es.po: Updated Spanish translation.
997
c5b3a82a
AM
9982002-07-23 Alan Modra <amodra@bigpond.net.au>
999
1000 * Makefile.am: Run "make dep-am".
1001 * Makefile.in: Regenerate.
1002
0461a601
NC
10032002-07-23 Nick Clifton <nickc@redhat.com>
1004
bf4f22e6 1005 * po/fr.po: Updated French translation.
0461a601 1006
bf44dd74
AM
10072002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1008
1009 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1010
2c205ff2
AM
10112002-07-20 Alan Modra <amodra@bigpond.net.au>
1012
63eb0809 1013 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1014
1e4cf259
NC
10152002-07-18 Denis Chertykov <denisc@overta.ru>
1016 Frank Ch. Eigler <fche@redhat.com>
1017
1018 * readelf.c: Include "elf/ip2k.h".
1019 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1020 (dump_relocations): Likewise.
1021 (get_machine_name): Likewise.
1022 * NEWS: Mention IP2K support.
1023
2cbb2eef
NC
10242002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1025
1026 * NEWS: Add 'Changes in 2.13'.
1027
047b2264
JJ
10282002-07-10 Jakub Jelinek <jakub@redhat.com>
1029
1030 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1031 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1032 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1033 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1034 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1035 (process_gnu_liblist): New.
1036 (process_file): Call it.
1037
97230b15
AM
10382002-07-03 Alan Modra <amodra@bigpond.net.au>
1039
1040 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1041 * Makefile.in: Regenerate.
1042
a6637ec0
AM
10432002-07-02 Alan Modra <amodra@bigpond.net.au>
1044
1045 * budemang.c: New file, "demangle" function.
1046 * budemang.h: New file.
1047 * addr2line.c (translate_addresses): Use "demangle".
1048 * nm.c (print_symname): Likewise.
1049 * objdump.c (objdump_print_symname): Likewise.
1050 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1051 here since that obfuscates.
1052 * rdcoff.c: Don't #include demangle.h.
1053 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1054 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1055 (HFILES): Add budemang.h. Sort.
1056 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1057 Run "make dep-am".
1058 * Makefile.in: Regenerate.
1059
179d3252
JT
10602002-07-01 Matt Thomas <matt@3am-software.com>
1061
1062 * readelf.c: Include "elf/vax.h".
1063 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1064 (dump_relocations): Handle VAX relocations.
1065 (get_machine_flags): Handle VAX machine flags.
1066
75751cd9
SC
10672002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1068
1069 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1070
e5851ab8
NC
10712002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1072
1073 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1074
eb3f2f5c
AM
10752002-06-26 Alan Modra <amodra@bigpond.net.au>
1076
1077 * nm.c (print_symname): When demangling, strip leading dots from
1078 symbol names to avoid confusing the demangler.
1079
a13a0de8
L
10802002-06-25 H.J. Lu <hjl@gnu.org>
1081
1082 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1083 * Makefile.in: Regenerated.
1084
6db7a086
AM
10852002-06-21 Igor Schein <igor@txc.com>
1086
1087 * configure.in: Quote bu_cv_have_fopen64.
1088 * configure: Regenerate.
1089
9710509e
AM
10902002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1091
1092 * configure.in: Check for strcoll.
1093 * configure: Regenerate.
1094 * config.in: Regenerate.
1095 * nm.c (main): Set locale for LC_COLLATE category.
1096 (non_numeric_forward): Use strcoll if available.
1097
a9f0b5e7
DB
10982002-06-20 Dave Brolley <brolley@redhat.com>
1099
1100 * MAINTAINERS: Add self as fr30 and frv maintainer.
1101
33f5f537
L
11022002-06-18 H.J. Lu (hjl@gnu.org)
1103
1104 * nm.c: Include "elf/common.h".
1105 (extended_symbol_info): Add elfinfo, a pointer to
1106 elf_symbol_type.
1107 (SYM_SIZE): Use elfinfo if it is not NULL.
1108 (get_symbol_type): New function.
1109 (display_archive): Set print_width for each archive member.
1110 (display_file): Likewise.
1111 (display_rel_file): Don't set print_width here.
1112 (print_object_filename_sysv): Handle print_width.
1113 (print_archive_member_sysv): Likewise.
1114 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1115 (print_symbol): Set the elfinfo field in extended_symbol_info
1116 for ELF.
1117 (print_object_filename_sysv): Fix the output format.
1118 (print_symbol_info_sysv): Print type and section for ELF.
1119
11202002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1121
1122 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1123 the symbol's size equal to its value when --size-sort is
33f5f537
L
1124 used.
1125
5c70f934
DB
11262002-06-18 Dave Brolley <brolley@redhat.com>
1127
1128 From Catherine Moore:
1129 * readelf.c (elf/frv.h): #include it.
1130 (guess_is_rela): Support EM_CYGNUS_FRV.
1131 (dump_relocations): Ditto.
1132 (get_machine_name): Ditto.
1133 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1134
7ece0d85
JJ
11352002-06-18 Jakub Jelinek <jakub@redhat.com>
1136
1137 * readelf.c (get_file_header): Only read the first section header if
1138 e_shoff is non-zero.
1139
72797995
L
11402002-06-15 H.J. Lu (hjl@gnu.org)
1141
1142 * nm.c (print_size): New variable. Initialize to 0.
1143 (long_options): Add 'S'/"print-size".
1144 (main): Handle 'S'.
1145 (print_symbol_info_bsd): Print size only if print_size is not
1146 0.
1147
1148 * doc/binutils.texi: Document -S/--print-size.
1149
977f7911
NC
11502002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1151
1152 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1153 of the symbols to the information provided by the symbol_info
1154 structure.
1155 (print_symbols): Pass the symbol size to print_symbol.
1156 (print_size_symbols): Pass the symbol size to print_symbol.
1157 (print_symbol): Extra argument: The size of the symbol. Store
1158 this in the extended_symbol_info structure.
1159 (print_symbol_info): Change type of info parameter to
1160 extended_symbol_info. Display the size, if known.
1161 (print_symbol_info_posix): Likewise.
1162 (print_symbol_info_sysv): Likewise.
1163
b1f88ebe
AM
11642002-06-08 Alan Modra <amodra@bigpond.net.au>
1165
fa449227
AM
1166 * Makefile.am: Run "make dep-am".
1167 * Makefile.in: Regenerate.
1168 * doc/Makefile.in: Regnerate.
1169
b1f88ebe
AM
1170 * bucomm.c: Replace CONST with const.
1171 * nm.c: Likewise.
1172 * objdump.c: Likewise.
1173
91a106e6
L
11742002-06-07 H.J. Lu <hjl@gnu.org>
1175
1176 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1177 (DW_CFA_GNU_negative_offset_extended): Likewise.
1178 (DW_CFA_GNU_window_save): Likewise.
1179 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1180 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1181
6ab6b380 11822002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1183
6ab6b380
NC
1184 * nm.c: When computing size of symbols for an ELF target use the
1185 internal size field.
1186
e28e05a3
JL
11872002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1188
1189 * testsuite/binutils-all/objcopy.exp: clear xfail for
1190 "hppa*64*-*-hpux*".
1191 * testsuite/binutils-all/hppa/objdump.exp: Return if
1192 "*64*-*-*".
1193
dc156bc0
AM
11942002-06-05 Alan Modra <amodra@bigpond.net.au>
1195
1196 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1197
11982002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1199
1200 * objdump.c: Fix formatting.
1201
d79e4ea3
BE
12022002-05-29 Ben Elliston <bje@redhat.com>
1203
1204 * MAINTAINERS: Add self as M68k maintainer.
1205
d172d4ba
NC
12062002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1207
1208 * readelf.c: Modified/Added DLX elf support.
1209
7edb8f29
NC
12102002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1211
3a1a2036
NC
1212 * arsup.c: Fix formatting.
1213 * debug.c (debug_record_label): Add missing colon to error
1214 message.
1215 * ieee.c (parse_ieee_ty): Fix spelling typo.
1216 * readelf.c (process_program_headers): Remove English assumption
1217 about making a plural word.
1218 (process_section_headers): Likewise.
1219 (process_relocs): Allow quotes to be translated.
1220 (process_unwind): Likewise,
1221 (process_mips_specific): Improve error message.
1222 (get_note_type): Fix spelling typo.
1223
7edb8f29
NC
1224 * configure.in (ALL_LINGUAS): Add sv
1225 * po/sv.po: New file.
1226
3eee1e9d
AM
12272002-05-27 Alan Modra <amodra@bigpond.net.au>
1228
1229 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1230 (unw_print_grmask): Likewise.
1231 (unw_print_frmask): Likewise.
1232
d43efbe3
KH
12332002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1234
1235 * arsup.c: Remove ARGSUSED.
1236 * debug.c: Likewise.
1237 * ieee.c: Likewise.
1238 * nlmconv.c: Likewise.
1239 * prdbg.c: Likewise.
1240 * stabs.c: Likewise.
1241 * wrstabs.c: Likewise.
1242
e9792343
AM
12432002-05-25 Alan Modra <amodra@bigpond.net.au>
1244
1245 * arlex.l: Use #include "" instead of <> for local header files.
1246 * coffdump.c: Likewise.
1247 * coffgrok.c: Likewise.
1248 * nlmconv.c: Likewise.
1249 * nlmheader.y: Likewise.
1250 * srconv.c: Likewise.
1251 * strings.c: Likewise.
1252 * sysdump.c: Likewise.
1253 * unwind-ia64.h: Likewise.
1254 * windres.h: Likewise.
1255 * winduni.h: Likewise.
1256
d7e53452
TR
12572002-05-24 Tom Rix <trix@redhat.com>
1258
1259 * MAINTAINERS: Add self as the d10v maintainer.
1260
436e8db0
NC
12612002-05-24 TAMURA Kent <kent@netbsd.org>
1262
1263 * configure.in: Builds dlltool for i386-netbsdpe.
1264 * configure: Regenerate.
1265
9f66665a
KH
12662002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1267
1268 * size.c: Fix formatting.
1269 * srconv.c: Likewise.
1270 * stabs.c: Likewise.
1271 * sysdump.c: Likewise.
1272 * unwind-ia64.c: Likewise.
1273 * wrstabs.c: Likewise.
1274
13ae64f3
JJ
12752002-05-23 Jakub Jelinek <jakub@redhat.com>
1276
1277 * readelf.c (get_segment_type): Add PT_TLS.
1278 (get_elf_section_flags): Add SHF_TLS.
1279 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1280 (process_dynamic_segment): Use puts instead of printf.
1281 (get_symbol_type): Support STT_TLS.
1282 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1283 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1284 Add SEC_THREAD_LOCAL.
1285
53c7db4b
KH
12862002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1287
1288 * rdcoff.c: Fix formatting.
1289 * rddbg.c: Likewise.
1290 * readelf.c: Likewise.
1291 * rename.c: Likewise.
1292 * resbin.c: Likewise.
1293 * resrc.c: Likewise.
1294 * resres.c: Likewise.
1295
0af11b59
KH
12962002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1297
1298 * filemode.c: Fix formatting.
1299 * ieee.c: Likewise.
1300 * is-ranlib.c: Likewise.
1301 * is-strip.c: Likewise.
1302 * maybe-ranlib.c: Likewise.
1303 * maybe-strip.c: Likewise.
1304 * nlmconv.c: Likewise.
1305 * nm.c: Likewise.
1306 * not-ranlib.c: Likewise.
1307 * not-strip.c: Likewise.
1308 * objcopy.c: Likewise.
1309 * objdump.c: Likewise.
1310
21611032
TS
13112002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1312
1313 * objdump.c (dump_headers): Fix output formatting for ELF32
1314 architectures in a BFD64 enabled toolchain.
1315
26044998
KH
13162002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1317
1318 * debug.c: Fix formatting.
1319 * debug.h: Likewise.
1320 * dlltool.c: Likewise.
1321 * dllwrap.c: Likewise.
1322 * emul_aix.c: Likewise.
1323 * emul_vanilla.c: Likewise.
1324
f462a9ea
KH
13252002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1326
1327 * addr2line.c: Fix formatting.
1328 * ar.c: Likewise.
1329 * arsup.c: Likewise.
1330 * arsup.h: Likewise.
1331 * binemul.c: Likewise.
1332 * binemul.h: Likewise.
1333 * bucomm.c: Likewise.
1334 * coffdump.c: Likewise.
1335 * coffgrok.c: Likewise.
1336 * coffgrok.h: Likewise.
1337
e0159aa9
MM
13382002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1339
1340 * MAINTAINERS: Add myself as the second AVR port maintainer.
1341
074b403e
SC
13422002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1343
1344 * MAINTAINERS: Update my email address.
1345
2b9c8201
NC
13462002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1347
1348 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1349
e1d5b1e7
AM
13502002-05-09 Alan Modra <amodra@bigpond.net.au>
1351
1352 * configure.in: Replace `*pe' with `pe' throughout.
1353 * configure: Regenerate.
1354
d3d8a9ee
NC
13552002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1356
1357 * Makefile.am: Honour DESTDIR.
1358 * Makefile.in: Regenerate.
1359
405c98a4
AM
13602002-05-06 Alan Modra <amodra@bigpond.net.au>
1361
a02d5965
AM
1362 * dlltool.c (process_def_file): Add missing prototype.
1363 (new_directive, assemble_file, main): Likewise.
1364 (process_def_file, new_directive): Make static.
1365 (inform): Rewrite using VA_FIXEDARG.
1366 * dllwrap.c (mybasename): Add missing prototype.
1367 (strhash, main): Likewise.
1368 (inform): Rewrite using VA_FIXEDARG.
1369 (warn): Likewise.
1370 (cleanup_and_exit): Use old style function definition.
1371 (strhash): Likewise.
1372 * windres.c (define_resource): Use one memset to clear all of
1373 struct res_resource.
1374
405c98a4 1375 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1376 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1377
13782002-05-06 Borut Razem <borut.razem@siol.net>
1379
1380 * rclex.l (get_string): Correct "strings" list handling.
1381 * resrc.c (read_rc_file): Discard strings.
1382
91593c9d
AM
13832002-05-04 Alan Modra <amodra@bigpond.net.au>
1384
e58a75dc
AM
1385 * ar.c (replace_members): Remove unused var. Formatting fix.
1386 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1387
91593c9d
AM
1388 * MAINTAINERS: Sort port maintainers by CPU.
1389
6b52b824
AM
13902002-05-04 Bob Byrnes <byrnes@curl.com>
1391
1392 * size.c (display_archive): Add last_arfile and code to close archives.
1393
dd70071f
AM
13942002-05-01 Alan Modra <amodra@bigpond.net.au>
1395
1396 * nm.c (print_symbol): Check returned filename from
1397 bfd_find_nearest_line is non-NULL.
1398
6c95717a 13992002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1400
1401 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1402
3c25c5f6
NC
14032002-04-24 Christian Groessler <chris@groessler.org>
1404
1405 * MAINTAINERS: Changed my email address.
1406
944cd72c
TS
14072002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1408
1409 * arparse.y: Fix syntax warning.
1410
ea91f8bb
NC
14112002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1412
3e55a963
NC
1413 * readelf.c (fetch_location_list): Remove unused function.
1414
1415 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1416 and display a warning message, then exit the loop.
1417
ea91f8bb
NC
1418 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1419
45b99827
NC
14202002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1421
1422 * resrc.c (write_rc_dialog): If charset is non-default value
1423 display all of the DIALOGEX parameters.
1424
14252002-04-15 Eric Kohl <ekohl@rz-online.de>
1426
bb279dc0 1427 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1428 DIALOGEX resources.
1429 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1430 resource data.
bb279dc0 1431 (res_to_bin_dialog): Likewise.
45b99827
NC
1432 * windres.h: Added misssing charset variable to dialog_ex
1433 structure.
1434
acfbab8a
NC
14352002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1436
1437 * rcparse.y: Set MEMFLAG_PURE by default.
1438
df3baf66
NC
14392002-04-09 Bernd Herd <info@herdsoft.com>
1440
bb279dc0 1441 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1442 are quoted.
4c30641a 1443 Fix typo in BEDIT warning.
91eafb40 1444 Don't add default dialog style when explicit style specified.
b62a12ca 1445 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1446
b24eb5ac
NC
1447 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1448 (handle_quotes) "\a" escape (used for right justified key
1449 definitions in menus) is encodes as binary 8.
df3baf66 1450
b24eb5ac
NC
1451 * resrc.c (write_rc_dialog): Print style even if it is 0.
1452 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1453 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1454
b24eb5ac
NC
1455 * resbin.c (bin_to_res_dialog): Use signature to identify
1456 DIALOGEX.
f7d63484 1457
b24eb5ac 1458 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1459
df3baf66
NC
14602002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1461
1462 * resrc.c: print CLASS names in quotes
1463
14642002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1465
1466 * MAINTAINERS: Update my email address.
1467
8e42bcb6
AM
14682002-04-04 Alan Modra <amodra@bigpond.net.au>
1469
1470 * dep-in.sed: Cope with absolute paths.
1471 * Makefile.am (dep.sed): Subst TOPDIR.
1472 Run "make dep-am".
1473 * Makefile.in: Regenerate.
1474
96f959e5
PT
14752002-03-27 Peter Targett <peter.targett@arc.com>
1476
1477 * MAINTAINERS: Update my email address.
1478
1ea788ee
AM
14792002-03-21 Alan Modra <amodra@bigpond.net.au>
1480
1481 * Makefile.am: Run "make dep-am".
1482 * Makefile.in: Regenerate.
1483 * doc/Makefile.in: Regenerate.
1484 * po/POTFILES.in: Regenerate.
1485 * aclocal.m4: Regenerate.
1486 * config.in: Regenerate.
1487 * configure: Regenerate.
1488
a2f14207
DB
14892002-03-20 Daniel Berlin <dan@dberlin.org>
1490
1491 * readelf.c: Add support for displaying dwarf2 location lists.
1492 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1493 (parse_args): Use 'O' as shorthand for displaying location list
1494 section.
1495 (process_section_headers): Handle debug_loc as well.
1496 (load_debug_loc): New.
1497 (free_debug_loc): New.
1498 (fetch_location_list): New.
1499 (display_debug_loc): New.
1500 (display_debug_info): Call load_debug_loc and free_debug_loc.
1501 (debug_displays): We can display .debug_loc now, too.
1502 (usage): Update usage string.
1503 (read_and_display_attr_value): Note location lists, but don't
1504 display them inline.
1505
eb1e0e80
NC
15062002-03-18 Tom Rix <trix@redhat.com>
1507
1508 * Makefile.am: Add binutils emulation support.
1509 * configure.in: Same.
1510 * configure.tgt: New file. Same.
1511 * ar.c (main): Use ar_emul_parse_arg.
1512 (usage): Use ar_emul_usage.
1513 (replace_members): Use ar_emul_replace, ar_emul_append.
1514 * binemul.c: New file. Define the binutils emulation
1515 layer. Define default methods.
1516 * binemul.h: New file. Binutils emulation layer header file.
1517 * emul_aix.c: New file. AIX binutils emulation.
1518 * emul_vanilla.c: New file. Default binutils emulation.
1519 * Makefile.in: Regenerate.
1520 * configure: Same.
1521
a1c259a1
NC
15222002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1523
1524 * po/fr.po: Updated version.
1525
9ce88e60
NC
15262002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1527
1528 * po/fr.po: Updated version.
1529
effb0601
DJ
15302002-03-07 Daniel Jacobowitz <drow@mvista.com>
1531
1532 * README: Update some version numbers.
1533
a65688ab
DJ
15342002-03-07 Daniel Jacobowitz <drow@mvista.com>
1535
1536 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1537 (Architecture Selection): Likewise.
1538
f3f7fbb2
NC
15392002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1540
1541 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1542 generating .exp file.
1543
25345be5
NC
15442002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1545
1546 * readelf.c (dump_relocations): Fix typo.
1547
9a66911f
NC
15482002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1549
1550 * NEWS: Mark 2.12 branch.
1551
2c71103e
NC
15522002-02-18 Timothy Daly <remote_bob@yahoo.com>
1553
bb279dc0
ZW
1554 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1555 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1556 output.
bb279dc0 1557 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1558 to 'unrecognized'.
1559 (decode_ARM_machine_flags): Likewise.
1560 (parse_args): Likewise.
1561 (read_and_display_attr_value): Likewise.
1562 (display_debug_section): Likewise.
1563
49fda6c8
HPN
15642002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1565
1566 * NEWS: Mention support for MMIX.
1567
76f57f3a
JT
15682002-02-13 Matt Fredette <fredette@netbsd.org>
1569
1570 * readelf.c (get_machine_flags): Recognize EF_M68000.
1571
d36ca9c2
AO
15722002-02-12 Alexandre Oliva <aoliva@redhat.com>
1573
1574 * MAINTAINERS: Added self as MN10300 co-maintainer.
1575
19397422
AM
15762002-02-12 Alan Modra <amodra@bigpond.net.au>
1577
1578 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1579 DT_PPC64_OPDSZ.
1580
d434e574
DJ
15812002-02-11 Daniel Jacobowitz <drow@mvista.com>
1582
1583 * MAINTAINERS: List myself as branch maintainer.
1584
12b87c89
AM
15852002-02-11 Alan Modra <amodra@bigpond.net.au>
1586
1587 * configure: Regenerate.
1588 * objcopy.c: Update copyright date.
1589 * doc/Makefile.in: Regenerate.
1590
8d037c5c
DJ
15912002-02-10 Daniel Jacobowitz <drow@mvista.com>
1592
1593 * nlmconv.c: Back out localtime PARAMS change.
1594
4c168fa3
AM
15952002-02-11 Alan Modra <amodra@bigpond.net.au>
1596
1597 * objcopy.c (MKDIR): Define.
1598 (copy_archive): Make name_list.name const. Use MKDIR.
1599 Handle duplicate files in archives by making more temp dirs.
1600
408f8db1
DJ
16012002-02-10 Daniel Jacobowitz <drow@mvista.com>
1602
1603 * coffdump.c: Include "getopt.h" after "bucomm.h"
1604 so that macros are defined correctly.
1605 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1606 prototype. Prototype main.
1607 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1608
9f77fa06
AO
16092002-02-06 Alexandre Oliva <aoliva@redhat.com>
1610
1611 * MAINTAINERS: Added self as SH co-maintainer.
1612
82f6addb
NC
16132002-02-05 Nick Clifton <nickc@redhat.com>
1614
1615 * po/tr.po: Updated translation.
1616
ba323545
AM
16172002-02-01 Alan Modra <amodra@bigpond.net.au>
1618
1619 * Makefile.am: Run "make dep-am"
1620 * Makefile.in: Regenerate.
1621
3deb89d3
DJ
16222002-01-29 Daniel Jacobowitz <drow@mvista.com>
1623
1624 * nm.c (print_value): Mark abfd unused.
1625
a0e9c55f
DJ
16262002-01-29 Daniel Jacobowitz <drow@mvista.com>
1627
1628 * unwind-ia64.c (unw_decoder): Change second argument
1629 to unsigned int, to match function prototypes.
1630
d7a283d4
DJ
16312002-01-29 Daniel Jacobowitz <drow@mvista.com>
1632
1633 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1634 __GNU_LIBRARY__ will be defined.
1635 * size.c: Likewise.
1636
4867be41
DJ
16372002-01-27 Daniel Jacobowitz <drow@mvista.com>
1638
1639 * configure: Regenerated.
1640
7562a296
HPN
16412002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1642
1643 * doc/Makefile.am (install): Depend on install-info.
1644 * doc/Makefile.in: Regenerate.
1645
15c82623
NC
16462002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1647
1648 * objcopy.c (strip_usage): Document -d as an alias
1649 --strip-debug.
1650
1651 * size.c (usage): Document [-t | --totals] options.
1652 (long_options): Add --totals option.
1653 (main): If the [-t | --totals] option is specified and
1654 the output format is Berkeley-style, print the total
1655 text, data, and bss sizes of all objects listed.
1656 (print_berkeley_format): If the [-t | --totals] option
1657 is specified, track the total text, data, and bss
1658 sizes.
1659 * doc/binutils.texi (size): Document [-t | --totals] options.
1660 (strip): Document -d as an alias for --strip-debug.
1661 * NEWS: Mention new feature of size.
1662
00ea8601 16632002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1664
1ddbd152
NC
1665 * po/fr.po: Updated version.
1666 * po/es.po: Updated version.
b85cedd7 1667
8b53311e
NC
16682002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1669
1670 * addr2line.c (usage): Update text to provide verbose
1671 description of the command line options.
1672 * ar.c (usage): Update text to provide verbose
1673 description of the command line options.
1674 (main): Accept -h and -H when running as ranlib.
1675 * coffdump.c (show_usage): Update text to provide verbose
1676 description of the command line options.
1677 * dlltool.c (main): Accept -H as an alias for --help.
1678 * nlmconv.c (show_usage): Update text to provide verbose
1679 description of the command line options.
1680 * nm.c (usage): Replace OPTIONS with option(s).
1681 (main): Accept -H as an alias for --help.
1682 * objcopy.c (strip_main): Accept -H as an alias for --help.
1683 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1684 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1685 other binutils.
1686 * size.c (usage): Update text to provide verbose description
1687 of the command line options.
1688 (main): Accept -v, -h and -H as command line options.
1689 * srconv.c (show_usage): Update text to provide verbose
1690 description of the command line options.
1691 * strings.c (main): Accept -H and -v as command line options.
1692 (usage): Update text to provide verbose description of the
1693 command line options.
1694 * sysdump.c (show_usage): Update text to provide verbose
1695 description of the command line options.
1696 * windres.c (usage): Adjust format to match style used in
1697 other binutils.
1698
1699 * coffdump.c: Fix formatting.
1700 * nlmconv.c: Fix formatting.
1701 * srconv.c: Fix formatting.
1702 * sysdump.c: Fix formatting.
1703
c46f0c34
AM
17042002-01-22 Alan Modra <amodra@bigpond.net.au>
1705
1706 * Makefile.am: Run "make dep-am".
1707 * Makefile.in: Regenerate.
1708
2a538ba5
AJ
17092002-01-18 Andreas Jaeger <aj@suse.de>
1710
1711 * version.c (print_version): Update year.
1712
285d1771
AM
17132002-01-17 Alan Modra <amodra@bigpond.net.au>
1714
1715 * readelf.c (get_machine_name): Handle EM_PPC64.
1716 (guess_is_rela): Here too.
1717
328577ad
NC
17182002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1719
1720 * po/binutils.pot: Regenerate.
1721 * po/fr.po: Regenerate.
1722 * po/tr.po: Regenerate.
1723
af3ae48d
NC
17242002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1725
1726 * po/tr.po: Import new version.
1727
f1cb7e17
AM
17282002-01-16 Alan Modra <amodra@bigpond.net.au>
1729
1730 * readelf.c (get_ppc64_dynamic_type): New.
1731 (get_dynamic_type): Call it.
1732
6364e0b4
NC
17332002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1734
3ab9460d 1735 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1736 (strip_usage): Use "options" instead of "switches".
3ab9460d 1737 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1738 "switches".
6364e0b4 1739
3a7e524e
RE
17402002-01-14 Richard Earnshaw <rearnsha@arm.com>
1741
1742 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1743
1209e219
NC
17442001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1745
1746 * po/es.po: Import from translation project.
1747 * configure.in (ALL_LINGUAS): Add es.
1748 * configure: Regenerate.
1749
b4db1224
JT
17502002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1751
1752 * readelf.c (get_netbsd_elfcore_note_type): Use
1753 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1754
9437c45b
JT
17552002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1756
1757 * readelf.c: Update copyright years.
1758 (get_note_type): Return a const char *.
1759 (get_netbsd_elfcore_note_type): New function.
1760 (process_note): Use get_netbsd_elfcore_note_type to get
1761 the note type string for NetBSD ELF core files.
1762
00428cca
AM
17632002-01-06 Steve Ellcey <sje@cup.hp.com>
1764
1765 * readelf.c (get_ia64_segment_type): Add support for macros.
1766 (get_segment_type): Add support for IA64 specific macros.
1767
31104126
NC
17682001-12-20 Julian v. Bock <julian@wongr.net>
1769
1770 * readelf.c (print_symbol): New function: Print a formatted symbol
1771 name. If --wide is specified do not truncate it.
1772 (dump_relocations): Use print_symbol() to print symbol names.
1773 (process_symbol_table): Likewise.
1774 (process_syminfo): Likewise.
1775 (process_mips_specific): Likewise.
1776 (usage): Document new feature of --wide switch.
1777 * doc/binutils.texi (objdump): Document additional behaviour of
1778 --wide.
2a538ba5 1779
4dd67f29
MS
17802001-12-18 Michael Snyder <msnyder@redhat.com>
1781
1782 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1783 (copy_object): Don't set the start address or flags of a core file.
1784 (copy_section): Don't relocate a core file. Don't copy contents
1785 if the input section has the contents flag set, but the output
1786 section does not (which happens with the fake 'note' pseudo-
1787 sections that BFD creates for corefiles).
1788
43521d43
TS
17892001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1790
1791 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1792 ASE extensions. More robust code for ISA checking. Ignore empty fields
1793 in header flags for GNU extensions.
1794
b667df2e
AM
17952001-12-18 Alan Modra <amodra@bigpond.net.au>
1796
1797 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1798
17a5a5c3
NC
17992001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1800
1801 * po/ja.po: Import from translation project.
1802 * configure.in (ALL_LINGUAS): Add ja.
1803 * configure: Regenerate.
1804
65de42c0
TS
18052001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1806
1807 * addr2line.c (main): Protoype.
1808 * ar.c (main): Protoype.
1809 * nm.c (main): Protoype.
1810 * objcopy.c (main): Protoype.
1811 * objdump.c (main): Protoype.
1812 * size.c (main): Protoype.
1813 * strings.c (main): Protoype.
1814
9ad5cbcf
AM
18152001-12-17 Alan Modra <amodra@bigpond.net.au>
1816
1817 * readelf.c (symtab_shndx_hdr): New global.
1818 (SECTION_HEADER_INDEX): Define.
1819 (SECTION_HEADER_NUM): Define.
1820 (SECTION_HEADER): Define.
1821 (GET_ELF_SYMBOLS): Pass two params rather than three.
1822 (get_32bit_elf_symbols): Take file and section args. Read and
1823 use SHT_SYMTAB_SHNDX.
1824 (get_64bit_elf_symbols): Likewise.
1825 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1826 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1827 Remember symtab_shdx_hdr.
1828 (process_program_headers): Scan from index 1 for segment map.
1829 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1830 "section_headers".
1831 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1832 (process_unwind): Likewise.
1833 (process_version_sections): Likewise.
1834 (process_symbol_table): Likewise.
1835 (display_debug_info): Likewise.
1836 (process_dynamic_segment): Fake up a symtab section for changed
1837 GET_ELF_SYMBOLS.
1838 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1839 (process_program_headers): Kill signed/unsigned warning.
1840 (load_debug_str): Likewise.
1841 (display_debug_info): Likewise.
1842
65765700
JJ
18432001-12-13 Jakub Jelinek <jakub@redhat.com>
1844
1845 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1846
560f3c1c
AM
18472001-12-11 Alan Modra <amodra@bigpond.net.au>
1848
1849 * readelf.c (process_file_header): Print extended e_shnum and
1850 e_shdtrndx values. Set elf_header values for same.
1851 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1852 (get_64bit_section_headers): Likewise.
1853 (process_section_headers): Update calls.
1854 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1855
bc408b8a
JJ
18562001-12-10 Jakub Jelinek <jakub@redhat.com>
1857
1858 * objcopy.c (setup_section): Copy entsize.
1859
93fbbb04
GK
18602001-12-07 Geoffrey Keating <geoffk@redhat.com>
1861
1862 * readelf.c (guess_is_rela): Add support for stormy16.
1863 (dump_relocations): Likewise.
1864 (get_machine_name): Likewise.
1865
e3c8793a
NC
18662001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1867
1868 * dllwrap.c (main) Replace multiple strings describing a
1869 single error with a single, newline escaped sentence to permit
1870 better translation into foreign languages.
1871
1872 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1873 class names.
1874
956cd1d6
TS
18752001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1876
1877 * strings.c (get_char): Initialize value.
1878
956c53ee
TS
18792001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1880
1881 * arlex.l: Silence compile warnings.
1882 * arsup.h: Likewise. Fix formatting.
1883
cedd9a58
JJ
18842001-12-04 Jakub Jelinek <jakub@redhat.com>
1885
1886 * strings.c: Include config.h before bfd.h.
1887 (file_off): New type.
1888 (file_open): Define.
1889 (print_strings): Use file_off instead of file_ptr. Print addresses
1890 which don't fit into long correctly.
1891 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1892 available.
1893 (strings_file): Use file_off instead of file_ptr. Use file_open.
1894 * configure.in: Check for getc_unlocked.
1895 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1896 be defined for it.
1897 * configure: Rebuilt.
1898 * config.h.in: Rebuilt.
1899
af667503
L
19002001-11-29 H.J. Lu <hjl@gnu.org>
1901
1902 * bucomm.c (make_tempname): Revert the changes made on
1903 2001-11-14 and 2001-11-12. They won't work with directories.
1904
16474668
NC
19052001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1906
1907 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1908 CFLAGS_FOR_TARGET to runtest in environment.
1909 * Makefile.in: Rebuild.
1910 * doc/Makefile.in: Rebuild.
1911
17978339
MS
19122001-11-28 Mike Stump <mrs@wrs.com>
1913
1914 * objcopy.c (setup_section): Preserve SEC_RELOC when
1915 --set-section-flags is used.
1916
261a45ad
NC
19172001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1918
1919 * readelf.c (do_debug_str): New variable.
1920 (display_debug_str): New function: Display the contents of a
1921 .debug_str section.
1922 (load_debug_str): New function: Load in the contents of a
1923 .debug_str section.
1924 (free_debug_str): New function: Free the memory used by
1925 load_debug_str().
1926 (fetch_indirect_string): Retrieve a string from the .debug_str
1927 section.
1928 (usage): Add -ws.
1929 (parse_args): Accept -ws.
1930 (process_section_headers): Allow the display of the .debug_str
1931 section.
1932 (read_and_display_attr_value): Use fetch_indirect_string. Show
1933 offset into .debug_str section.
1934 (display_debug_info): Use load_debug_str and free_debug_str.
1935 (debug_displays): Add .debug_str.
1936 * doc/binutils.texi: Document -ws.
1937
b8908f93
AJ
19382001-11-19 Andreas Jaeger <aj@suse.de>
1939
1940 * testsuite/binutils-all/objdump.exp: Add x86-64.
1941
e5fb9629
AS
19422001-11-15 Andreas Schwab <schwab@suse.de>
1943
1944 * readelf.c: Fix warnings without terminating newline.
1945
802a735e
AM
19462001-11-15 Alan Modra <amodra@bigpond.net.au>
1947
1948 * doc/binutils.texi (objdump): Document ppc -M options.
1949
b89e9eae
AJ
19502001-11-14 Andreas Jaeger <aj@suse.de>
1951
1952 * doc/binutils.texi (objdump): Fix description to use x86-64.
1953
a6a25652
NC
19542001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1955
1956 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1957 not all systems provide mkstemp.
1958
e396998b
AM
19592001-11-14 Alan Modra <amodra@bigpond.net.au>
1960
1961 * doc/binutils.texi (objdump): Document x86 -M options.
1962
81766fca
RH
19632001-11-13 Keith Walker <keith.walker@arm.com>
1964
1965 * readelf.c (read_and_display_attr_value): New function to
1966 handle DW_FORM_indirect.
1967 (read_and_display_attr): Use it.
1968
1a509dcc
GK
19692001-11-13 Geoffrey Keating <geoffk@redhat.com>
1970
1971 * readelf.c (display_debug_lines): Deal with unknown standard
1972 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1973 DW_LNS_set_isa.
1974
6e917903 19752001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1976
6e917903
TW
1977 * MAINTAINERS: Add self as tic54x maintainer. This target
1978 includes the IBM C54XDSP clone.
7559e86e 1979
6e917903 19802001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1981
7559e86e
NC
1982 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1983
19842001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1985
ecdadc4a
JL
1986 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1987 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1988 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1989 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1990 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1991 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1992 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1993
91770270
JL
1994 * readelf.c (get_elf_class): Fix ISO portability glitch.
1995 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1996
ef5cdfc7
JJ
19972001-11-07 Jakub Jelinek <jakub@redhat.com>
1998
1999 * readelf.c (debug_str, debug_str_size): New.
2000 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2001 Call free_abbrevs.
2002 (read_and_display_addr): Handle DW_FORM_strp.
2003 (display_debug_info): Read .debug_str section if present,
2004 so that DW_FORM_strp can be handled.
2005 Fix test for non-existant .debug_abbrev section.
2006
5e9520c8
JJ
20072001-11-05 Jakub Jelinek <jakub@redhat.com>
2008
2009 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2010
2011 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2012
54589086
MS
20132001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2014
2015 * MAINTAINERS: Add self as s390/s390x maintainer.
2016
c05b685b
TR
20172001-11-02 Tom Rix <trix@bluey.cygnus.com>
2018
2019 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2020
3c62831e
NC
20212001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2022
2023 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2024 * configure: Regernate.
2025 * po/fr.po: New file.
2026 * po/tr.po: New file.
2027
3c3bdf30
NC
20282001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2029
9b19141a 2030 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2031 * readelf.c: Include elf/mmix.h.
2032 (guess_is_rela): MMIX is RELA.
2033 (dump_relocations): Handle MMIX relocations.
2034 * Makefile.am: Regenerate dependencies.
2035 * Makefile.in: Regenerate.
2036
f662939a
NC
20372001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2038
2039 * readelf.c (parse_args): Handle multiple options to the -w
2040 switch.
2041
c91d0dfb
JJ
20422001-10-12 Jakub Jelinek <jakub@redhat.com>
2043
2044 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2045 LOPROC, LOOS and LOUSER.
2046
7559e86e 20472001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2048
2049 * MAINTAINERS: Update my email address.
2050
fcd8210c
AM
20512001-10-03 Alan Modra <amodra@bigpond.net.au>
2052
2053 * doc/Makefile.in: Regenerate.
2054 * configure: Regenerate.
2055
428409d5
NC
20562001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2057
2058 * readelf.c (display_debug_line, display_debug_pubnames,
2059 display_debug_info, display_debug_frames): Detect and warn
2060 about 64-bit format entries.
2061 (display_debug_aranges): Reword 64-bit warning.
2062 (debug_displays): Add .debug_pubtypes as a known, but not yet
2063 supported, debug section.
2064
6a8c2b0d
AM
20652001-10-02 Alan Modra <amodra@bigpond.net.au>
2066
2067 * coffdump.c (PROGRAM_VERSION): Delete.
2068 (main <'V'>): Call print_version.
2069 * srconv.c: Likewise.
2070 * sysdump.c: Likewise.
2071 * version.c (program_version): Remove.
2072 (print_version): Use BFD_VERSION_STRING. Just print the current
2073 year in copyright message.
2074 * addr2line.c (program_version): Remove unused declaration.
2075 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2076 place of BFD_VERSION.
2077 * Makefile.am (Makefile): Depend on bfd/configure.in.
2078 (cplus-dem.o): Depend on Makefile.
2079 Run "make dep-am".
2080 * Makefile.in: Regenerate.
2081
e414a165
NC
20822001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2083
2084 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2085 format .debug_arange sections.
2086 (main): Add missing prototype.
b8908f93 2087
efc3ee7f
HPN
20882001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2089
2090 * Makefile.am: Update dependencies with "make dep-am".
2091 * Makefile.in: Regenerate.
2092
9e85c2a0
RH
20932001-09-28 Richard Henderson <rth@redhat.com>
2094
2095 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2096
451dad9c
AM
20972001-09-26 Alan Modra <amodra@bigpond.net.au>
2098
2099 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2100 VA_CLOSE.
2101 (non_fatal): Likewise.
2102 * objdump.c (objdump_sprintf): Likewise.
2103 * readelf.c (error): Likewise.
2104 (warn): Likewise.
2105
d974e256
JJ
21062001-09-25 Jakub Jelinek <jakub@redhat.com>
2107
2108 * readelf.c (do_wide): New.
2109 (options): Add --wide.
2110 (usage, parse_args): Likewise.
2111 (process_program_headers): Put each segment on a single line if
2112 --wide is given.
2113 (process_section_headers): Put each section on a single line if
2114 --wide is given.
2115 * doc/binutils.texi: Document it.
2116 * NEWS: Likewise.
2117
2f11c261
AM
21182001-09-25 Alan Modra <amodra@bigpond.net.au>
2119
2120 * readelf.c (print_vma): Print 8 digits of low hex value.
2121
1d50f91e
AJ
21222001-09-24 Andreas Jaeger <aj@suse.de>
2123
2124 * nlmconv.c: Fix warnings about unused attributes and function
2125 prototypes.
2126
2127 * strings.c: Add prototype for get_char.
2128
38131e67
L
21292000-09-19 H.J. Lu <hjl@gnu.org>
2130
2131 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2132 $(srcdir)/cxxfilt.man.
2133 * doc/Makefile.in: Rebuild.
2134
3bcfb3e4
AM
21352001-09-19 Alan Modra <amodra@bigpond.net.au>
2136
2137 * objcopy.c (copy_main): Correct rename-section string parsing.
2138 Consolidate new_name parsing, and error messages.
2139
3882b010
L
21402001-09-18 Bruno Haible <haible@clisp.cons.org>
2141
2142 * addr2line.c: Don't include <ctype.h>.
2143 (main): For gettext, also set the LC_CTYPE locate facet.
2144 * ar.c (main): Likewise.
2145 * coffdump.c (main): Likewise.
2146 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2147 (main): For gettext, also set the LC_CTYPE locate facet.
2148 Use ISALNUM instead of isalpha/isdigit.
2149 * dllwrap.c: Don't include <ctype.h>.
2150 (main): For gettext, also set the LC_CTYPE locate facet.
2151 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2152 (main): For gettext, also set the LC_CTYPE locate facet.
2153 Use TOUPPER instead of islower/toupper.
2154 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2155 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2156 Use TOUPPER instead of islower/toupper.
2157 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2158 * objcopy.c (main): Likewise.
2159 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2160 (disassemble_bytes): Use ISPRINT instead of isprint.
2161 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2162 (dump_data): Use ISPRINT instead of isprint.
2163 (main): For gettext, also set the LC_CTYPE locate facet.
2164 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2165 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2166 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2167 Use TOUPPER instead of islower/toupper.
2168 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2169 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2170 (write_rc_accelerators): Use ISPRINT instead of isprint.
2171 (write_rc_rcdata): Likewise.
2172 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2173 * srconv.c (main): Likewise.
2174 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2175 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2176 isdigit/isupper/islower.
2177 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2178 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2179 stab_demangle_prefix, stab_demangle_qualified,
2180 stab_demangle_template, stab_demangle_type,
2181 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2182 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2183 (isgraphic): Use ISPRINT instead of isascii/isprint.
2184 (main): Remove HAVE_LC_MESSAGES dependency.
2185 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2186 (pbarray): Use ISPRINT instead of isprint.
2187 (main): For gettext, also set the LC_CTYPE locate facet.
2188 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2189 (format_from_filename): Use ISPRINT instead of isprint.
2190 (main): For gettext, also set the LC_CTYPE locate facet.
2191 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2192 (unicode_print): Use ISPRINT instead of isprint.
2193 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2194 (stab_variable): Use ISDIGIT instead of isdigit.
2195
e59b4dfb
AM
21962001-09-18 Alan Modra <amodra@bigpond.net.au>
2197
2198 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2199 Replace bfd_read call with call to bfd_bread.
2200 (extract_file): Likewise.
2201
2202 * objdump.c (dump_section_header): Cast section->filepos to
2203 unsigned long to suit printf format string.
2204 * readelf.c (process_section_headers): Similarly for sh_offset.
2205 (process_unwind): Likewise.
2206
d132876a
NC
22072001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2208
2209 * strings.c (encoding, encoding_bytes): New variables.
2210 (long_options): Add --encoding.
2211 (main): Accept -e and --encoding.
2212 (get_char): New function. Read a, possibly wide, character from
2213 the input stream.
2214 (print_strings): Use get_char().
2215 (usage): Document new command line option.
2216 * doc/binutils.texi: Document new command line option.
2217 * NEWS: Announce new command line option.
2218
7559e86e 22192001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2220
2221 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2222 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2223 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2224 Removed EM_CYGNUS_ARC.
2225
7559e86e 22262001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2227
2228 * readelf.c: Include elf/h8 for H8 series definitions.
2229 (guess_is_rela): H8 series if RELA.
2230 (dump_relocations): Handle H8 series relocations.
2231
0823fbca
EC
22322001-08-31 Eric Christopher <echristo@redhat.com>
2233
2234 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2235
8db76d70
PT
22362001-08-29 Peter Targett <peter.targett@arccores.com>
2237
2238 * MAINTAINERS: Include ARC Maintainer.
2239
d81d6584
BE
22402001-08-29 Ben Elliston <bje@redhat.com>
2241
2242 * stabs.c (stab_demangle_template): Initialise s4.
2243
25a1ff5b
AM
22442001-08-27 Alan Modra <amodra@bigpond.net.au>
2245
2246 * readelf.c (dump_relocations): Recognise EM_PPC64.
2247
a5d22d2a
TS
22482001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2249
2250 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2251
62a5a82d
L
22522001-08-25 H.J. Lu <hjl@gnu.org>
2253
2254 * nm.c (print_width): New.
2255 (display_rel_file): Set `print_width' according to
2256 bfd_sprintf_vma.
2257 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2258
1ae8b3d2
AO
22592001-08-24 Alexandre Oliva <aoliva@redhat.com>
2260
2261 * objcopy.c (use_alt_mach_code): New variable.
2262 (OPTION_ALT_MACH_CODE): Define.
2263 (copy_options): Added --alt-machine-code.
2264 (copy_main): Handle it.
2265 (copy_object): Switch to alternate machine code if requested.
2266 * doc/binutils.texi: Document new option.
2267 * NEWS: Likewise.
2268
d1bdd336
TS
22692001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2270
2271 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2272
410f7a12
L
22732001-08-21 H.J. Lu <hjl@gnu.org>
2274
2275 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2276 (display_debug_info): Cast for 64bit hosts.
2277 (display_debug_frames): Likewise.
2278 (process_mips_specific): Likewise.
2279
c32144ff
AJ
22802001-08-21 Andreas Jaeger <aj@suse.de>
2281
2282 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2283
2284 * sysdump.c: Add missing prototypes.
2285 * srconv.c: Likewise.
2286 * unwind-ia64.c: Likewise.
2287 * coffdump.c: Likewise.
2288
2289 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2290
2291 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2292 of declaring xcalloc.
2293
d8180c76
L
22942001-08-10 H.J. Lu <hjl@gnu.org>
2295
2296 * nm.c (print_value): Add one arg, bfd *.
2297 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2298 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2299 (print_symbol_info_sysv): Likewise.
2300 (print_symbol_info_posix): Likewise.
2301
2302 * objdump.c (dump_section_header): Replace printf_vma with
2303 bfd_printf_vma.
2304 (print_section_stabs): Likewise.
2305 (dump_bfd_header): Likewise.
2306 (objdump_print_value): Replace sprintf_vma with
2307 bfd_sprintf_vma.
2308 (disassemble_bytes): Likewise.
2309 (dump_reloc_set): Likewise.
2310
0218d1e4
AJ
23112001-08-10 Andreas Jaeger <aj@suse.de>
2312
2313 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2314 to build warnings.
2315 * configure: Regenerate.
2316
2863d58a
AM
23172001-08-09 Alan Modra <amodra@bigpond.net.au>
2318
2319 * readelf.c: Add missing prototypes.
2320 * objdump.c: Likewise. Format existing prototypes.
2321
c0e047e0
AO
23222001-08-08 Alexandre Oliva <aoliva@redhat.com>
2323
2324 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2325 of any RELA relocation for the abbrev_offset memory location that
2326 refers to the .debug_abbrev section symbol.
2327
ff78d6d6
L
23282001-08-07 H.J. Lu <hjl@gnu.org>
2329
2330 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2331 (main): Return process_file ().
2332
c36774d6
PB
23332001-08-05 Philip Blundell <philb@gnu.org>
2334
2335 * doc/binutils.texi: Use "Thumb" not "THUMB".
2336
8f9d9bd9
JH
23372001-08-03 John Healy <jhealy@redhat.com>
2338
bb279dc0
ZW
2339 Patch suggested by Frank Eigler <fche@redhat.com>.
2340 * objdump.c (disassemble_data): Fill in section member of the
2341 disasm_info structure.
8f9d9bd9 2342
c918cb96
DD
23432001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2344
2345 * configure.in: Added --with-windres option.
2346 * configure: Regenerated.
2347
c7c55b78
NC
23482001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2349
2350 * doc/binutils.texi: Use @command{name} for commands;
2351 use @option{-opt} for options; use @table @env for list of options;
2352 remove spaces arround [ | ] in synopsis.
2353
2354 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2355 center title.
2356
594ef5db
NC
23572001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2358
bb279dc0
ZW
2359 * objcopy.c: Fix formatting.
2360 (section_rename): New structure.
2361 (OPTION_RENAME_SECTION): New switch.
2362 (copy_usage): Document new switch.
2363 (add_section_rename): New function: Add a node to the section
2364 rename list.
2365 (find_section_rename): New function: Find the new name and
2366 flags for a section.
2367 (setup_section): Call find_section_name to determine the name
2368 of the output section.
2369 (copy_main): Handle OPTION_RENAME_SECTION.
2370 * binutils.texi: Document new switch.
594ef5db
NC
2371 * NEWS: Mention new switch.
2372
1f554c69
NC
23732001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2374
2375 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2376 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2377 bug-binutils@gcc.org.
2378
2f83960e
AM
23792001-07-28 Matthias Kramm <kramm@quiss.org>
2380
2381 * bucomm.c (list_supported_architectures): New function.
2382 * bucomm.h (list_supported_architectures): Declare.
2383 * objdump.c (usage): Call the above.
2384
20fe0649
DB
23852001-07-25 Dave Brolley <brolley@redhat.com>
2386
2387 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2388 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2389
1b577b00
NC
23902001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2391
2392 * README: Update for 2.11. Change bug reporting email address.
2393 * MAINTAINERS: Tidy up. Change bug reporting email address.
2394
95fd336c
DD
23952001-07-16 DJ Delorie <dj@redhat.com>
2396
5f16d855
DD
2397 * resres.c (write_res_header): Align header size.
2398 (res_align_file): Calculate alignment correctly.
2399
95fd336c
DD
2400 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2401 correct 10).
2402 * resrc.c (write_rc_resource): Likewise.
2403 * windres.h (SUBLANG_SHIFT): Define - as 10.
2404
ed8fee27
NC
24052001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2406
2407 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2408
90ab7e9a
NC
24092001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2410
2411 * MAINTAINERS: Add notes about branch checkins.
2412
e0c60db2
NC
24132001-07-05 Daniel Berlin <dan@cgsoftware.com>
2414
2415 * readelf.c (display_debug_macinfo): New function, display
2416 .debug_macinfo section.
2417 (do_debug_macinfo): New variable.
2418 (parse_args): Handle "-w[mM]" to mean display macro info.
2419 (process_section_headers): Handle debug_macinfo.
2420 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2421 function for .debug_macinfo display.
e0c60db2
NC
2422 * doc/binutils.texi: Document new command line switch.
2423 * NEWS: Document new feature of readelf.
0218d1e4 2424
24e01a36
L
24252001-07-05 H.J. Lu <hjl@gnu.org>
2426
2427 * objcopy.c (filter_symbols): Don't turn undefined symbols
2428 into local.
2429
4258bf4d
L
24302001-07-03 H.J. Lu <hjl@gnu.org>
2431
2432 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2433 $@.pod.
2434 (ar.1): Likewise.
2435 (dlltool.1): Likewise.
2436 (nlmconv.1): Likewise.
2437 (nm.1): Likewise.
2438 (objcopy.1): Likewise.
2439 (objdump.1): Likewise.
2440 (ranlib.1): Likewise.
2441 (readelf.1): Likewise.
2442 (size.1): Likewise.
2443 (strings.1): Likewise.
2444 (strip.1): Likewise.
2445 (windres.1): Likewise.
2446 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2447 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2448 $(DEMANGLER_NAME).
2449 (as.1): Removed.
2450 * doc/Makefile.in: Regenerated.
2451
7014bc31
NC
24522001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2453
2454 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2455
b811889f
NC
24562001-07-01 Daniel Berlin <dan@cgsoftware.com>
2457
2458 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2459
12ab83a9
NC
24602001-06-29 James Cownie <jcownie@etnus.com>
2461
2462 * readelf.c: Support DWARF 2.1 attributes.
2463
a6e9f9df
AM
24642001-06-28 Alan Modra <amodra@bigpond.net.au>
2465
2466 * readelf.c (GET_DATA_ALLOC): Remove.
2467 (GET_DATA): Remove.
2468 (get_data): New function combining above macros, with an extra
2469 test for zero size.
2470 (slurp_rela_relocs): Use get_data, and catch error return.
2471 (slurp_rel_relocs): Likewise.
2472 (get_32bit_program_headers): Likewise.
2473 (get_64bit_program_headers): Likewise.
2474 (get_32bit_section_headers): Likewise.
2475 (get_64bit_section_headers): Likewise.
2476 (get_32bit_elf_symbols): Likewise.
2477 (get_64bit_elf_symbols): Likewise.
2478 (process_section_headers): Likewise.
2479 (process_relocs): Likewise.
2480 (slurp_ia64_unwind_table): Likewise.
2481 (process_unwind): Likewise.
2482 (get_32bit_dynamic_segment): Likewise.
2483 (get_64bit_dynamic_segment): Likewise.
2484 (process_dynamic_segment): Likewise.
2485 (process_version_sections): Likewise.
2486 (process_symbol_table): Likewise.
2487 (dump_section): Likewise.
2488 (display_debug_info): Likewise.
2489 (display_debug_section): Likewise.
2490 (process_section_contents): Likewise.
2491 (process_corefile_note_segment): Likewise.
2492 (process_mips_specific): Likewise. Also free econf32, econf64.
2493
af3fc3bc
AM
24942001-06-25 Alan Modra <amodra@bigpond.net.au>
2495
2496 * readelf.c (dump_relocations): Print "bad symbol index" if
2497 symtab == NULL with non-zero symtab_index.
2498 (process_relocs): Don't bomb if reloc section has no symsec.
2499
6d900bf6
L
25002001-06-24 H.J. Lu <hjl@gnu.org>
2501
2502 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2503 by accident.
2504 (copy_main): Apply the the change made to strip_main on
2505 2001-05-30 by accident.
2506
49b4e386
AJ
25072001-06-23 Andreas Jaeger <aj@suse.de>
2508
2509 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2510 parameter 'code'.
2511 (unw_decode_x2): Likewise.
2512 (unw_decode_x3): Likewise.
2513 (unw_decode_x4): Likewise.
2514
d8dc71e3
BE
25152001-06-23 Ben Elliston <bje@redhat.com>
2516
2517 * MAINTAINERS: Add myself as M88k maintainer.
2518
af3bdff7
NC
25192001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2520
2521 * objcopy.c (strip_main): Support -o or --output-file command lien
2522 switch.
2523
105e7211
L
25242001-06-19 H.J. Lu <hjl@gnu.org>
2525
2526 * doc/Makefile.in: Regenerated.
2527
c45021f2
NC
25282001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2529
2530 * readelf.c: Restore formatting.
2531
25322001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2533
bb279dc0
ZW
2534 * Makefile.am: Move documentation into doc subdirectory.
2535 * Makefile.in: Regenerated.
c45021f2 2536 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2537 * addr2line.1: Removed.
2538 * ar.1: Likewise.
2539 * dlltool.1: Likewise.
2540 * nlmconv.1: Likewise.
2541 * nm.1: Likewise.
2542 * objcopy.1: Likewise.
2543 * objdump.1: Likewise.
2544 * ranlib.1: Likewise.
2545 * readelf.1: Likewise.
2546 * size.1: Likewise.
2547 * strings.1: Likewise.
2548 * strip.1: Likewise.
2549 * windres.1: Likewise.
2550 * cxxfilt.man: Likewise.
c45021f2
NC
2551 * doc: New Directory.
2552 * doc/Makefile.am: New file.
2553 * doc/Makefile.in: Generate.
2554
09ad7db3
AM
25552001-06-09 Alan Modra <amodra@bigpond.net.au>
2556
2557 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2558
936260fe
AM
25592001-06-01 Alan Modra <amodra@bigpond.net.au>
2560
2561 * MAINTAINERS: Update my email address.
2562
16b2b71c
NC
25632001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2564
2565 * objcopy.c: Add new switches: --keep-global-symbol,
2566 --keep-symbols, --localize-symbols, --keep-global-symbols and
2567 --weaken-symbols.
2568 * binutils.texi: Document new switches.
2569 * objcopy.1: Regenerate.
2570 * NEWS: Announce new feature.
2571
7036c0e1
AJ
25722001-05-28 Andreas Jaeger <aj@suse.de>
2573
2574 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2575 variables, fix format strings.
2576
76a406e5
NC
25772001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2578
2579 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2580 when computing the address of the line to show.
2581
31b6fca6
RH
25822001-05-16 Richard Henderson <rth@redhat.com>
2583
2584 * readelf.c (do_debug_frames_interp): New.
2585 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2586 (byte_get_big_endian): Likewise.
2587 (parse_args) ['F']: Set do_debug_frames_interp.
2588 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2589 (frame_display_row): Don't trunc pc_begin to int.
2590 (size_of_encoded_value): New.
2591 (display_debug_frames): Handle 64-bit targets. Print raw data
2592 unless do_debug_frames_interp.
2593 (debug_displays): Remove duplicate .debug_frame.
2594
4fe85591
NC
25952001-05-15 Ralf Baechle <ralf@gnu.org>
2596
2597 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2598 The former constant was never in active use and is used otherwise
2599 by the ABI.
2600
579f31ac
JJ
26012001-05-11 Jakub Jelinek <jakub@redhat.com>
2602
2603 * readelf.c (process_unwind): Print all unwind sections, not just
2604 one.
2605
78f4a3f7
AM
26062001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2607
2608 * readelf.c (process_unwind): Remove const specifier.
2609
1c529ca6
NC
26102001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2611
2612 * strings.c (isgraphic): Do not use isascii() unless it is needed
2613 for isprint() to work.
2614 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2615
87e6d782
NC
26162001-04-27 Johan Rydberg <jrydberg@opencores.org>
2617
bb279dc0 2618 * NEWS: Announce support for OpenRISC.
87e6d782 2619
4bd3d870 26202001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2621
2622 * dlltool.c (do_default_excludes): Initialise to true.
2623
21211521
AM
26242001-04-10 Alan Modra <amodra@one.net.au>
2625
2626 * MAINTAINERS: Update my email address
2627 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2628
0c66b61e 26292001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2630
2631 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2632
e58d53af
L
26332001-03-30 H.J. Lu <hjl@gnu.org>
2634
2635 * readelf.c (process_unwind): Just return if do_unwind is 0.
2636
bee72332
DD
26372001-03-28 Roger Sayle <roger@metaphorics.com>
2638
2639 * dlltool.c (make_one_lib_file): Fix section flags for
2640 .text, .data and .bss in stub ds*.o files to match those
2641 generated by gas.
2642
f1467e33
L
26432001-03-29 H.J. Lu <hjl@gnu.org>
2644
2645 * readelf.c (process_unwind): Only do unwind sections for
2646 IA64.
2647
1c6fb4fe
L
26482001-03-28 H.J. Lu <hjl@gnu.org>
2649
2650 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2651 * Makefile.in: Regenerate.
2652
0879a67a
AJ
26532001-03-26 Andreas Jaeger <aj@suse.de>
2654
2655 * binutils.texi (nm): Fix texi syntax.
2656
0285c67d
NC
26572001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2658
2659 * binutils.texi: Put @c man begin and @c man end indications
2660 to generate man pages using texi2pod and pod2man. Put @c man title
2661 to identify each man. Add SEEALSO entries.
2662 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2663 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2664 sort the list.
2665 (*.1): Build the man pages from binutils.texi.
2666 * Makefile.in: Regenerate.
2667
04847a4d
CF
26682001-03-13 Eric Kohl <ekohl@rz-online.de>
2669
2670 * defparse.y (opt_equal_name): allow "." in name.
2671 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2672 (gen_exp_file): Likewise.
2673
43a0748c
NC
26742001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2675
2676 * NEWS: Document addition of -B switch to objcopy.
2677 * binutils.texi: Document addition of -B switch to objcopy.
2678 * objcopy.c: (copy_options): Add --binary-architecture.
2679 (copy_usage): Document -B/--binary-architecture.
2680 (copy_main): Support -B/--binary-architecture. Set
2681 bfd_external_binary_architecture.
0879a67a 2682
b7498e0e
NC
26832001-03-11 Andreas Jaeger <aj@suse.de>
2684
2685 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2686 (dump_relocations): Likewise.
2687 (get_machine_name): Likewise.
2688
a59e3bd7
NC
26892001-02-28 Nick Clifton <nickc@redhat.com>
2690
2691 * readelf.c: (struct unw_aux_info): Remove const modifier for
2692 'strtab' field.
2693 (process_unwind): Remove non-K&R compliant LHS type cast in call
2694 to GET_DATA_ALLOC macro.
2695
a5bcd848
PB
26962001-02-28 Philip Blundell <pb@futuretv.com>
2697
2698 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2699 ABI is in use; remove ambiguity between the "unknown" EABI and
2700 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2701 renamed EF_xx constants.
2702
27b7e12d
AM
27032001-02-27 Alan Modra <alan@linuxcare.com.au>
2704
2705 * configure.in (BFD_VERSION): New.
2706 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2707 * configure: Regenerate.
2708 * Makefile.am: Run "make dep-am"
2709 * Makefile.in: Regenerate.
2710
a9f10786
NC
27112001-02-14 Nick Clifton <nickc@redhat.com>
2712
2713 * MAINTAINERS: Add "Obvious Fix" rule.
2714
3c44da9a
MS
27152001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2716
2717 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2718 literal concatenation.
2719
ecd03389
MS
27202001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2721
2722 * readelf.c (struct unw_aux_info): Remove const from the info member.
2723 (process_unwind): Don't type-cast the third argument to the
2724 GET_DATA_ALLOC macro.
2725
88ec60c7
NC
27262001-02-11 Nick Clifton <nickc@redhat.com>
2727
2728 * readelf.c (dump_relocations): Free corrected allocated
2729 array.
2730 (process_unwind): Fix compile time warning.
2731
f5e21966
NC
27322001-02-10 Nick Clifton <nickc@redhat.com>
2733
2734 * binutils.texi: Document new --unwind option to readelf.
2735
a85d7ed0
NC
27362001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2737
2738 * readelf.c: Add linux target for S/390.
2739
7bb10502
AM
27402001-02-10 Alan Modra <alan@linuxcare.com.au>
2741
2742 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2743 printf is a macro.
2744
8ca8f343
HPN
27452001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2746
2747 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2748 * aclocal.m4: Regenerate.
2749 * configure: Regenerate.
2750
7340082d
NC
27512001-02-07 Todd Vierling <tv@wasabisystems.com>
2752
2753 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2754 * objdump.c (bfd_target_vector): Likewise.
2755
4d6ed7c8
NC
27562001-02-07 David Mosberger <davidm@hpl.hp.com>
2757
2758 * readelf.c (process_unwind): New function.
2759 (slurp_ia64_unwind_table): Ditto.
2760 (dump_ia64_unwind): Ditto.
2761 (find_symbol_for_address): Ditto.
2762 (slurp_rela_relocs): New function (split off from dump_relocations()).
2763 (slurp_rel_relocs): Ditto.
2764 (parse_args): Handle '-u' option.
2765
2766 * unwind-ia64.c: New file.
2767 * unwind-ia64.h: New file.
2768 * Makefile.am: Include unwind-ia64.c in readelf build.
2769 * Makefile.in: Regenerate.
7340082d 2770 * po/binutils.pot: Regenerate.
4d6ed7c8 2771
c7217458
PB
27722001-02-04 Philip Blundell <philb@gnu.org>
2773
2774 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2775 * configure: Regenerate.
2776
956eedd4
AM
27772001-01-31 Steve deRosier <sderosier@vari-lite.com>
2778
2779 * ieee.c (ieee_add_bb11): Don't check for backslashes
2780 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2781
8855cbca
AM
27822001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2783
c7f2731e
AM
2784 * ieee.c: Update copyright.
2785 (ieee_start_compilation_unit): Don't check for backslashes
2786 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2787
8855cbca
AM
2788 * stabs.c: Update copyright. Include "filenames.h".
2789 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2790
329de803 27912001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2792
2793 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2794 sections are present before using them. Remove code duplication.
2795 (process_symbol_table): Check if VERDEF or VERNEED sections are
2796 present before using them.
2797
23719f39
NC
27982001-01-17 Nick Clifton <nickc@redhat.com>
2799
2800 * objcopy.c (copy_object): Fail if attempting to convert the
2801 endianness of the input object file.
2802
2803 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2804
f726e849
NC
28052001-01-16 Nick Clifton <nickc@redhat.com>
2806
2807 * readelf.c (string_table_length): New variable.
2808 (SECTION_NAME): Catch out of range indices and missing section
2809 pointers.
2810 (process_section_headers): Delete useless local variable
2811 string_table_offset. Set the value of string_table_length
2812 after loading the string table.
2813 (process_mips_specific): Use SECTION_NAME macro.
2814 (process_file): Set string_table_length to 0 when it is freed.
2815
d0398d6a
NC
28162001-01-12 Nick Clifton <nickc@redhat.com>
2817
2818 * version.c (print_version): Update copyright date.
2819
0d2bcfaf
NC
28202001-01-11 Peter Targett <peter.targett@arccores.com>
2821
2822 * readelf.c (dump_relocations): Include selection with EM_ARC.
2823 (get_machine_name) Update name to "ARC".
2824
8b1e6df3
NC
28252001-01-09 Nick Clifton <nickc@redhat.com>
2826
2827 * Makefile.am: Add rule to build objdump.o from objdump.c and
2828 using OBJDUMP_DEFS.
2829 * Makefile.in: Regenerate.
2830
2831 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2832 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2833 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2834 * configure: Regenerate.
8b1e6df3
NC
2835
2836 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2837 is defined read in the relocs even if dump_reloc_info is
2838 false.
2839
2f952d20
PB
28402001-01-07 Philip Blundell <philb@gnu.org>
2841
2842 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2843 `bug-binutils'.
2844 * README: Likewise.
2845
a8c548cb
NC
28462000-12-19 Nick Clifton <nickc@redhat.com>
2847
2848 * dlltool.c: Add missing support for arm-epoc-pe.
2849 * configure.in: Add missing support for arm-epoc-pe.
2850 * configure: Regenerate.
2851
cc5fda35
NC
28522000-12-15 Nick Clifton <nickc@redhat.com>
2853
2854 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2855 Mode parts of the x86 port.
2856
bcedfee6
NC
28572000-12-04 Andreas Jaeger <aj@suse.de>
2858
2859 * readelf.c (guess_is_rela): Add EM_X86_64.
2860 (dump_relocations): Add EM_X86_64.
2861 (get_machine_name): Add EM_X86_64.
2862 Include "elf/x86-64.h".
2863
584da044
NC
28642000-12-12 Nick Clifton <nickc@redhat.com>
2865
2866 * readelf.c: Fix formatting.
2867
7559e86e 28682000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2869
2870 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2871
a98cc2b2
AH
28722000-12-07 Andrew Haley <aph@redhat.com>
2873
2874 * readelf.c (display_debug_frames): Only display columns that are
2875 referenced by the frame debug info.
2876
c7987a69
NC
28772000-12-05 Nick Clifton <nickc@redhat.com>
2878
2879 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2880
09fd7e38
JM
28812000-12-04 Jason Merrill <jason@redhat.com>
2882
2883 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2884 (display_debug_section): Likewise.
2885 (display_debug_info): Display CU header before bailing.
2886
e7af610e
NC
28872000-12-01 Chris Demetriou <cgd@sibyte.com>
2888
09fd7e38
JM
2889 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2890 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2891 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2892
09fd7e38
JM
2893 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2894 and E_MIPS_ARCH_64.
84ea6cf2 2895
09fd7e38
JM
2896 * readelf.c (get_machine_flags): Add case for
2897 E_MIPS_MACH_SB1.
c6c98b38 2898
75066968
DD
28992000-11-30 Richard Earnshaw <rearnsha@arm.com>
2900
2901 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2902
5c4666ea
HPN
29032000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2904