Tidy up code. Switch to ISO C
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
84e2f313
NC
12003-07-23 Nick Clifton <nickc@redhat.com>
2
3 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
4 left in. Some formatting tidy ups.
5
51cdc6e0
NC
62003-07-22 Salvador Eduardo Tropea <set@computer.org>
7
8 * objdump.c: New command line option --debugging-tags.
9 * doc/binutils.texi: Document new command line option.
10 * prdbg.c: Code to print the debug info as tags compatible
11 with ctags.
12 * budbg.h: Adjust prototype.
13 * NEWS: Mention new switch
14
31e0f3cd
NC
152003-07-18 Nick Clifton <nickc@redhat.com>
16
17 * objdump.c (main) :Accept multiple -M switch.
18 * doc/binutils.texi: Document that multiple -M switches are
19 accepted and that a single -M switch can contain comma
20 separated options.
21
073fbac6
NC
222003-07-17 Nick Clifton <nickc@redhat.com>
23
24 * objdump.c (main): Issue a warning message if multiple -M
25 switches are used.
26
27 * doc/binutils.texi (objdump): Update documentation about -M
28 option.
29
6c37ac4d
NC
302003-07-17 Nick Clifton <nickc@redhat.com>
31
32 * po/es.po: New Spanish translation.
33
fce00800
AM
342003-07-11 Alan Modra <amodra@bigpond.net.au>
35
36 * po/binutils.pot: Regenerate.
37
ff6b6222
CF
382003-07-05 Christopher Faylor <cgf@redhat.com>
39
40 * dlltool.c (prefix_encode): Use a fixed length for alpha.
41
bf7a6389
CF
422003-07-04 Christopher Faylor <cgf@redhat.com>
43
44 * dlltool.c (prefix_encode): New function. Encode temp file prefix
45 from pid.
46 (dlltmp): Pass address of pointer being alloced or suffer neverending
47 mallocs.
48 (make_one_lib_file): Allocate enough space for new longer stub names.
49 (gen_lib_file): Ditto.
50 (main): Generate the temp file prefix from the pid if prefix was not
51 specified on the command line.
52
96c223ce
NC
532003-07-04 Nick Clifton <nickc@redhat.com>
54
55 * readelf.c (get_data): Print (unsigned) hex values for size and
56 offset in error messages.
57 (process_section_headers): If the string table could not be
58 allocated, do not continue.
59
bdf4d63a
JJ
602003-07-01 Jakub Jelinek <jakub@redhat.com>
61
62 * readelf.c (dynamic_segment_ia64_val): Print address and newline
63 for sections by default. Comment fix.
64
b9ae0492
DS
652003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
66
67 * rcparse.y (res_text_field): New res_id variable.
68 (res_null_text): New static const struct res_id object,
69 with empty unicode name field.
70 (control): Pop parsing of optresidc up one level. Set
71 res_text_field to $2 except for controls which do not accept
72 a text field. Set res_text_field to res_null_text for the
73 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
74 (control_params): Adjust to use res_text_field rather
75 than optresidc.
76 (COMBOBOX): Add comment about discrepency between documented
77 vs. observed default style.
78 * resrc.c (define_control): Make first param const.
79 * windres.h (define_control): Adjust prototype.
80
e7c81c25
NC
812003-06-27 Nick Clifton <nickc@redhat.com>
82
83 * objcopy.c (copy_object): Replace call to
84 bfd_create_gnu_debuglink_section with seperate calls to
85 bfd_add_gnu_debuglink_section and
86 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
87 symbol tables.
88
d93f0186
NC
892003-06-26 Roland McGrath <roland@redhat.com>
90
91 * readelf.c (loadaddr): Variable removed.
92 (dynamic_info, version_info): Fix type long -> bfd_vma.
93 (program_headers): New variable.
94 (get_program_headers): New function, broken out of
95 process_program_headers.
96 (process_program_headers): Call it. Don't set `loadaddr'.
97 (slurp_ia64_unwind_table): Use get_program_headers.
98 (process_corefile_note_segments): Likewise.
99 (offset_from_vma): New function.
100 (process_relocs, process_dynamic_segment): Call that instead of
101 subtracting `loadaddr'.
102 (process_version_sections, process_symbol_table): Likewise.
103 (process_mips_specific): Likewise.
104
ed1653a7
NC
1052003-06-26 Nick Clifton <nickc@redhat.com>
106
107 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
108 (OPTION_ONLY_KEEP_DEBUG): New.
109 (strip_options): Add --only-keep-debug.
110 (copy_options): Likewise.
111 (is_strip_section): Invert return value if STRIP_NONDEBUG is
112 active.
113 (copy_object): Do not copy private data when STRIP_NONDEBUG is
114 active.
115 (setup_section): Likewise.
116 (strip_main): Handle --only-keep-debug.
117 (copy_main): Likewise.
118 * NEWS: Mention new switch
119 * doc/binutils.texi: Document new switch.
120
1049f94e
AM
1212003-06-25 Alan Modra <amodra@bigpond.net.au>
122
123 * NEWS: Correct spelling of "relocatable".
124 * objdump.c: Likewise.
125 * sysroff.info: Likewise.
126
b19aac67
NC
1272003-06-19 Nick Clifton <nickc@redhat.com>
128
129 * readelf.c (print_vma): When printing DEC_5 values, if the
130 number is bigger than 99999 switch to using hexadecimal
131 notation.
132
2593f09a
NC
1332003-06-11 Nick Clifton <nickc@redhat.com>
134
135 * objcopy.c (gnu_debuglink_filename): New variable.
136 (OPTION_ADD_GNU_DEBUGLINK): New switch
137 (copy_options): Describe --add-gnu-debuglink switch.
138 Mention that --strip-debug removes sections as well.
139 (is_strip_section): Process the sections removed and kept
140 lists before checking for debugging sections.
141 (add_redefine_syms_file): Make function static.
142 (copy_object): Use is_strip_section.
143 Check to see if a .gnu_debuglink section should be added. If
144 so, call bfd_add_gnu_debuglink.
145 (setup_section): Use is_strip_section.
146 (copy_section): Use is_strip_section.
147 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
148 * NEWS: Mention new objcopy switch.
149 * doc/binutils.texi: Document new switch.
150
3b443373
L
1512003-06-11 H.J. Lu <hongjiu.lu@intel.com>
152
153 * po/Make-in (DESTDIR): New.
154 (install-data-yes): Support $(DESTDIR).
155 (uninstall): Likewise.
156
795bb480
AM
1572003-06-11 Alan Modra <amodra@bigpond.net.au>
158
159 * Makefile.in: Regenerate.
160
9ee5e499
JJ
1612003-05-23 Jakub Jelinek <jakub@redhat.com>
162
163 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
164
a3b6428f
NC
1652003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
166
167 * NEWS: Document the new BSD/POSIX single-character mapping for
168 .comment/.note sections.
169
92991082
JT
1702003-06-02 Chris Demetriou <cgd@broadcom.com>
171 Jason Thorpe <thorpej@wasabisystems.com>
172
173 * objcopy.c (redefine_list_append): Add an argument that
174 indicates the context from which this function is being
175 called. Change all callers.
176 (copy_options): Add a new option, --redefine-syms.
177 (copy_usage): Document new option.
178 (copy_main): Handle the --redefine-syms option.
179 * doc/binutils.text (objcopy): Document new option.
180
38fafa6d
RH
1812003-05-31 Richard Henderson <rth@redhat.com>
182
183 * readelf.c (byte_get_signed): New.
184 (get_encoded_value): New.
185 (display_debug_frames): Use it. Always pre-process opcodes.
186
636fc387
ML
1872003-05-20 Michal Ludvig <mludvig@suse.cz>
188
189 * readelf.c (display_debug_frames): Print both registers
190 for DW_CFA_register.
191
80c7c40a
NC
1922003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
193
194 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
195 i[3-7]86-*-interix.
196 * configure.in: Regenerate.
197
0fcdcb91
NC
1982003-05-13 Michael Eager <eager@mvista.com>
199
200 * objcopy.c: Treat identical src/dst file names as if only one
201 entered. One Windows creating an output file of the same name as
202 the input file will delete the input file before it is read.
203
7ab5f2ed
NC
2042003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
205
206 * debug.c (debug_get_real_type): Extend test for circular debug
207 references.
208
3c92310f
NC
2092003-05-12 Nick Clifton <nickc@redhat.com>
210
211 * configure.in (ALL_LINGUAS): Add zh_CN.
212 * configure: Regenerate.
213 * po/zh_CN.po: New file: Chinese (simplified) translation.
214
d68c07bb
JE
2152003-05-11 Jason Eckhardt <jle@rice.edu>
216
217 * MAINTAINERS: Update my mail address.
218
8beeaeb7
L
2192003-05-07 H.J. Lu <hongjiu.lu@intel.com>
220
221 * readelf.c (dump_relocations): Enlarge the type field in wide
222 mode by one character.
223
63044634
RH
2242003-05-03 Richard Henderson <rth@redhat.com>
225
226 * readelf.c (struct Frame_Chunk): Add cfa_exp.
227 (frame_display_row): Just print "exp" for cfa or register
228 defined by a location expression.
229 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
230 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
231
6e50c90c
L
2322003-04-30 H.J. Lu <hjl@gnu.org>
233
234 * objdump.c (only): Change it to char **.
235 (only_size): New.
236 (only_used): New.
237 (disassemble_data): Check only as an array.
238 (dump_data): Likewise.
239 (dump_relocs): Likewise.
240 (main): Treat only as an array.
241
edbedb71
NC
2422003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
243
244 * doc/binutils.texi: Fix the documentation for the -fo option.
245
3f7de0e7
NC
2462003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
247
ef230218
JR
248 * readelf.c (get_machine_name) <EM_SH>: Amend return value
249 to refer to SuperH.
250
3f7de0e7
NC
251 * readelf.c (decode_location_expression): Don't add a trailing ';'.
252
32df8966
NC
2532003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
254 Nick Clifton <nickc@redhat.com>
255
256 * windres.c (long_options): Move close to main, where it is used.
257 Add 'input' and 'output' long options.
258 (main): Accept "-fo" as an alias for "-o". This is for rc
259 comptibility.
260 * doc/binutils.texi: Mention that -fo is accepted as an alias for
261 -o, but discourage its use.
262
85eb5110
NC
2632003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
264
265 * windres.c (format_from_name): Make the exit on error
266 behaviour optional.
267 (main): Rename the -I option to -J. Introduce -I as a synonym
268 for --include-dir. For backwards compatibility also support the
269 old -I behaviour, but issue a deprecation warning.
270 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
271 of the -I option.
272
26597c86
NC
2732003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
274
275 * readelf.c: Replace references to Mitsubishi M32R with
276 references to Renesas M32R.
277
c2dcd04e
NC
2782003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
279
280 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
281
c1124b23
AO
2822003-04-09 Alexandre Oliva <aoliva@redhat.com>
283
284 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
285 for debugging information types not supported by objdump.
286
e5076347
AM
2872003-04-09 Bernd Jendrissek <berndj@prism.co.za>
288
289 * configure.in: Recognize canonical form of i[3-6]86-pe*.
290 * configure: Regenerate.
291
adab8cdc
AO
2922003-04-09 Alexandre Oliva <aoliva@redhat.com>
293
294 * readelf.c (display_debug_info): Apply RELA relocations on the
295 entire section.
296 (byte_put_little_endian, byte_put_big_endian): New functions.
297 (byte_put): New variable.
298 (get_file_header): Initialize it.
299
3077f5d8
NC
3002003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
301
302 * windres.c: Add -l for compatibility with wrc, and rc.
303 Use the short option as a key for long options that have
304 a synonymous short option.
305 * doc/binutils.texi: Added -l to the list of options.
306
29b058f1
NC
3072003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
308
3077f5d8
NC
309 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
310 (main): Just pass the -U option down to the preprocessor.
311 * doc/binutils.texi: Added -U to the list of options.
29b058f1 312
3126d709
CF
3132003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
314
315 * windres.c (usage): Report -r option.
316 (main): Ignore the -r option.
317 * doc/binutils.texi: Add -r to the list of options.
318
c46ac711
BW
3192003-04-01 Bob Wilson <bob.wilson@acm.org>
320
321 * MAINTAINERS: Add myself as Xtensa maintainer.
322
88da6820
NC
3232003-04-01 Bob Wilson <bob.wilson@acm.org>
324
3077f5d8
NC
325 * readelf.c: Include "elf/xtensa.h".
326 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
327 targets that use RELA relocations.
328 (dump_relocations): Call elf_xtensa_reloc_type for
329 EM_XTENSA and EM_XTENSA_OLD.
330 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 331
27a710e5
NC
3322003-04-01 Nick Clifton <nickc@redhat.com>
333
334 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
335 thumb-pe*, mcore-pe and mcore-*elf.
336 * configure: Regenerate.
337
335a1869
AO
3382003-03-31 Alexandre Oliva <aoliva@redhat.com>
339
340 * objdump.c (dump_data): Don't truncate the address to long; make
341 the width large enough, and uniform for all entries in a section.
342
566b0d53
L
3432003-03-31 H.J. Lu <hjl@gnu.org>
344
345 * readelf.c: Include "libiberty.h".
346 (dynamic_relocations): New.
347 (process_relocs): Properly handle dynamic relocation.
348 (process_dynamic_segment): Fill relocation elements in
349 dynamic_info.
350
ee42cf8c
NC
3512003-03-31 Kevin Buettner <kevinb@redhat.com>
352
353 * readelf.c (read_and_display_attr, read_and_display_attr_value):
354 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
355 all callers.
356 (display_debug_lines, display_debug_pubnames, display_debug_info)
357 (display_debug_aranges, display_debug_frames, read_and_display_attr)
358 (read_and_display_attr_value): Add 64-bit DWARF support.
359
7adbf450
NC
3602003-03-31 Ian Lance Taylor <ian@airs.com>
361
362 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
363 (optresid): Handle a resource id that can be a string or a number.
364 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
365 struct res_id.
366 (define_icon_control): Pass a struct res_id to define_control.
367 * windres.h (define_control): Change prototype.
368
06d86cf7
NC
3692003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
370
7c29036b
NC
371 * objcopy (OPTION_FORMATS_INFO): Define.
372 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
373 (copy_options): Likewise.
374 (strip_usage): Add "--info" to usage.
375 (copy_usage): Likewise.
376 (strip_main): Declare formats_info. Iniatilize it to FALSE.
377 Handle "info".
378 (copy_main). Likewise.
379 * doc/binutils.texi. Document the "--info" option for
380 objcopy/strip.
381 * NEWS: Mention the new command line switch.
382
06d86cf7
NC
383 * objdump.c (endian_string): Move to bucomm.c.
384 (display_info): Likewise.
385 (display_target_list): Likewise.
386 (display_info_table): Likewise.
387 (display_target_tables): Likewise.
388 (main): Assign the return value of display_info to exit_status.
389 * bucomm.c: Include bfdver.h and libbfd.h
390 (display_target_list): Call bfd_nonfatal instead of nonfatal and
391 return 0 on a non-fatal error, 1 on success.
392 (display_info_table): Likewise.
393 * bucomm.h (display_info): Provide a prototype.
394 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
395 libbfd.h.
396 * Makefile.in: Regenerate.
397
7adbf450 3982003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
399
400 * dlltool.c (gen_def_file): Put demangled name comments on
401 own line preceding export name.
402
98a91d6a
NC
4032003-03-17 Nick Clifton <nickc@redhat.com>
404
405 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
406 printf for emitting new lines.
407
06a30c77
NC
4082003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
409
410 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
411 the symbol's value when --size-sort is used, unless -S is used.
412 doc/binutils.texi (--size-sort): For non-bsd formats both the
413 value and size of the symbols are displayed.
414
ab829d36
NC
4152003-03-13 Nick Clifton <nickc@redhat.com>
416
417 * po/da.po: Update.
418
634847c9
NC
4192003-03-12 Nick Clifton <nickc@redhat.com>
420
421 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
422
3889f9eb
BE
4232003-03-10 Ben Elliston <bje@wasabisystems.com>
424
425 * MAINTAINERS: Update my mail address.
426
7eb5191a
NC
4272003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
428
429 * stabs.c (BYTES_IN_WORD): Remove definition.
430 * wrstabs.c (BYTES_IN_WORD): Likewise.
431
e3b83c8f
NC
4322003-03-04 Nick Clifton <nickc@redhat.com>
433
434 * nm.c (main): Print a warning message if --size-sort and
435 --undefined-only are used together.
436
4372003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
438
439 * nm.c (print_symbol): Remove check for undefined_only.
440
a9d68a1e
NC
4412003-03-03 Nick Clifton <nickc@redhat.com>
442
443 * po/da.po: Installed latest translation.
444
a99996bb
NC
4452003-02-24 Nick Clifton <nickc@redhat.com>
446
447 * README: Update binutils references to 2.13.
448 Add paragraph about using --disable-nls.
449
76ed1927
NC
4502003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
451
452 * doc/binutils.texi (nm --size-sort): Update.
453
0100f33b
JW
4542003-02-21 James E Wilson <wilson@tuliptree.org>
455
456 * MAINTAINERS: Update email address.
457
ecc51f48
NC
4582003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
459
460 * readelf.c (get_ia64_dynamic_type): New function.
461 (dynamic_segment_ia64_val): New function.
462 (get_dynamic_type): If machine type is EM_IA_64 call
463 get_ia64_dynamic_val.
464 (get_ia64_section_type_name): Handle sections with types in the
465 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
466 (get_dynamic_flags): If machine type is EM_IA_64 call
467 dynamic_segment_ia64_val.
468
947ed062
NC
4692003-02-21 Bob Wilson <bob.wilson@acm.org>
470
471 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
472 section title capitalization more consistent. Update descriptions
473 of various options to be consistent with the code. Fix errors and
474 incomplete list in the description of c++filt format options. Remove
475 information about the linker. Change to be more polite about poor
476 bug reports. Replace FDL appendix with include of fdl.texi.
477 * doc/fdl.texi: New file.
478
66491ebc
AM
4792003-02-21 Roger Sayle <roger@eyesopen.com>
480
481 * objcopy.c (filter_symbols): Fix compilation problems with
482 HP-UX's C compiler.
483
0e11a9e9
CF
4842003-02-19 Christopher Faylor <cgf@redhat.com>
485
486 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
487 previous change.
488
6e5f5201
CF
4892003-02-19 Mark Blackburn <marklist@fangorn.ca>
490
0e11a9e9 491 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 492
f0c8c24a
NC
4932003-02-12 Bob Wilson <bob.wilson@acm.org>
494
495 * nm.c (usage): Add `java' and `gnat' demangle styles and make
496 quotes consistent.
497 * objdump.c (usage): Ditto. Also fix some typos.
498
d3c543fd
NC
499 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
500
fe2c4142
NC
501 * debug.c (debug_record_variable): Handle global register variables.
502
6de15b9e
NC
503 * stabs.c (parse_stab): For N_SLINE only include
504 function_start_offset if the symbol is within a function;
505 otherwise, the value is absolute.
506
fde78edd
NC
5072003-02-10 Nick Clifton <nickc@redhat.com>
508
509 * readelf.c (decode_ARM_machine_flags): Handle the
510 EF_ARM_MAVERICK_FLOAT flag.
511
22d82235
AS
5122003-02-04 Andreas Schwab <schwab@suse.de>
513
514 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
515 long and use %ld in printf format.
516
1a677ea8
RS
5172003-01-28 Richard Sandiford <rsandifo@redhat.com>
518
519 * readelf.c (dump_relocations): Reorder the r_info field for
520 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
521
8dde85fc
NC
5222003-01-21 Daniel Berlin <dan@dberlin.org>
523
524 * readelf.c (display_debug_loc): Skip address base changes.
525
c6f8bb1e
AM
5262003-01-17 Fabio Alemagna <falemagn@aros.org>
527
528 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
529 and ELFOSABI_NSK.
530
c833c019
AM
5312003-01-16 Alan Modra <amodra@bigpond.net.au>
532
533 * readelf.c: Include elf/ppc64.h.
534 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
535 * Makefile.am: Run "make dep-am".
536 * Makefile.in: Regenerate.
537
3b36097d
SC
5382003-01-02 Ben Elliston <bje@redhat.com>
539
540 * readelf.c (guess_is_rela): Handle EM_IQ2000.
541 (get_machine_name): Likewise.
542 (dump_relocations): Likewise.
543 * NEWS: Mention IQ2000 support.
544
cb44e358
RS
5452003-01-02 Richard Sandiford <rsandifo@redhat.com>
546
547 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
548
af7ee8bf
CD
5492002-12-30 Chris Demetriou <cgd@broadcom.com>
550
551 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
552 changes in MIPS -M options.
553
2469cfa2
NC
5542002-12-30 Dmitry Diky <diwil@mail.ru>
555
556 * Makefile.am: Add msp430 target.
557 * Makefile.in: Regenerate.
558 * readelf.c: Add support for msp430 target.
559
640c0ccd
CD
5602002-12-27 Chris Demetriou <cgd@broadcom.com>
561
562 * doc/binutils.texi (objdump): Document MIPS -M options.
563
59f14fc0
AS
5642002-12-23 Andreas Schwab <schwab@suse.de>
565
566 * readelf.c (main): Reset dump request after each file.
567
312b768e
NC
5682002-12-23 Nick Clifton <nickc@redhat.com>
569
570 * nlmconv.c (main): Pass TRUE as third argument to
571 bfd_arch_get_compatible.
572
8745eafa
NC
5732002-12-23 Nick Clifton <nickc@redhat.com>
574
575 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
576 macro. Handle 'S' encoding, accepting 8-bit characters.
577 (main): Parse 'S' encoding.
578 (get_char): Accept 'S' encoding.
579 (print_strings): Use STRING_ISGRAPHIC.
580 (usage): Document support of 'S' encoding.
581 * doc/binutils.texi: Document support of 'S' encoding/
582 * NEWS: Mention new feature.
583
08213ebb
AM
5842002-12-20 Alan Modra <amodra@bigpond.net.au>
585
586 * README <building ar>: Don't use libibery's needed_list or
587 required_list, instead link libiberty/*.o.
588
b9e5d8e5
KH
5892002-12-19 Kazu Hirata <kazu@cs.umass.edu>
590
591 * doc/binutils.texi: Fix typos.
592
c51238bc
DA
5932002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
594
595 * doc/binutils.texi: Add missing parenthesis.
596
d7fb0dd2
NC
5972002-12-15 Nick Kelsey <nickk@ubicom.com>
598
599 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
600 symbols by adding the given prefix to the begining of the symbol
601 name. This is useful to provide name space seperation regardless
602 of how the object file was created. Added --prefix-sections=
603 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
604 sections (or all sections with the alloc flag set) by adding the given
605 prefix to the begining of the symbol name.
606 * NEWS: Mention this new feature.
607 * doc/binutils.texi: Document this new feature.
608
55b9cdf1
AM
6092002-12-13 Alan Modra <amodra@bigpond.net.au>
610
611 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
612 dyn_string_append with dyn_string_append_cstr.
613
614 * emul_aix.c (ar_emul_aix_create): Remove unused function.
615
84ad6ede
NC
6162002-12-10 James Cownie <jcownie@etnus.com>
617
618 * readelf.h (get_TAG_name, get_AT_name,
704afb58 619 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
620 DWARF2 spec.
621 * NEWS: Mention this new support.
622
7d036af2
AM
6232002-12-08 Alan Modra <amodra@bigpond.net.au>
624
625 * NEWS: Mention that bfd no longer declares a "boolean" type.
626
3e8bba36
AM
6272002-12-07 Alan Modra <amodra@bigpond.net.au>
628
629 * readelf.c (process_program_headers): When setting loadaddr, don't
630 assume segment size is 4k. Use p_align instead.
631 (loadaddr): Change from int to long.
632 (dynamic_addr, dynamic_info, version_info): Likewise.
633 (process_dynamic_segment <syminsz>): Likewise.
634 (process_dynamic_segment): Adjust print format string.
635 (rela_addr, rela_size): Delete.
636 (process_relocs): Formatting.
637
d070dab9
JW
6382002-12-05 Jim Wilson <wilson@redhat.com>
639
640 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
641 * configure: Regenerate.
642
45bcbdb1
ILT
6432002-12-04 Ian Lance Taylor <ian@airs.com>
644
645 * MAINTAINERS: Change e-mail address back to airs.com.
646
42ea8716
AH
6472002-12-04 Aldy Hernandez <aldyh@redhat.com>
648
649 * MAINTAINERS: Add self.
650
b34976b6
AM
6512002-11-30 Alan Modra <amodra@bigpond.net.au>
652
653 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
654 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
655 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
656 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
657 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
658 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
659 with TRUE/FALSE. Formatting.
660
c8286bd1
JJ
6612002-11-29 Jakub Jelinek <jakub@redhat.com>
662
663 * readelf.c Replace occurrences of Elf32_Internal_* and
664 Elf64_Internal_* with Elf_Internal_*.
665 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
666 Zero r_addend fields.
667 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
668 Elf_Internal_Rela.
669
92acdfaf
NC
6702002-11-23 Nick Clifton <nickc@redhat.com>
671
672 * size.c (usage): Fix typo describing switch for hex format.
673
48c5eb8a
SS
6742002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
675
676 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
677 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
678 testcase
679
2f62977e
NC
6802002-11-14 Nick Clifton <nickc@redhat.com>
681
682 * readelf.c (process_program_headers): Add comment about return
683 value. Ensure that 0 is returned if the headers are not loaded.
684 (process_file): If process_section_headers failed to load the
685 headers disable any tests that rely upon them. Similarly for
686 process_program_headers.
687
cd24c222
NC
6882002-11-12 Nick Clifton <nickc@redhat.com>
689
690 * po/da.po: Updated Danish translation.
691
f3931575
AM
6922002-11-12 Klee Dienes <kdienes@apple.com>
693
694 * rddbg.c (read_section_stabs_debugging_info): Also recognize
695 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
696
b54e7460
CF
6972002-11-11 Christopher Faylor <cgf@redhat.com>
698
699 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
700 cgf maintainership.
701
4f17cc13
CF
7022002-11-11 Christopher Faylor <cgf@redhat.com>
703
704 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
705
232e7cb8
NC
7062002-11-07 Nick Clifton <nickc@redhat.com>
707
cd24c222 708 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
709 * configure: Regenerate.
710 * po/da.po: New Danish translation.
711
232e7cb8
NC
712 * readelf.c (get_symbol_index_type): Revert part of previous
713 patch: Display unknown symbol types in decimal, not hex.
714
c9e38879
NC
7152002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
716
717 * dlltool.c (add_excludes): Don't prefix excluded fastcall
718 symbols with underscore.
719 (xlate): Ignore add_underscore for decorated fastcall symbols.
720
7212002-11-07 Eric Kohl <ekohl@rz-online.de>
722
723 * deflex.l: Accept '@' as first character of an ID.
724 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
725 ASM_PREFIX for fastcall symbols.
726 (scan_drectve_symbols): Handle fastcall symbols when generating
727 undecorated aliases for symbols in drectve section.
728 (scan_filtered_symbols): Likewise, with export-all.
729 (xlate): Likewise, with --kill-at.
730 (make_imp_label): New function to handle fastcall symbols
731 correctly.
732 (make_one_lib_file): Use make_imp_label instead of make_label
733 for imp symbols.
734
a700dc3b
SS
7352002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
736
737 * MAINTAINERS: Add self as TIC4X maintainer.
738
5cf1065c
NC
7392002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
740
741 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
742 PROCESSOR-specific, OS-specific, reserved and unknown symbol
743 types.
5cf1065c 744
f1ef08cb
AM
7452002-11-04 Alan Modra <amodra@bigpond.net.au>
746
747 * readelf.c (byte_get_little_endian): Comment typo fix.
748 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
749 as the format string.
750 (dump_relocations): Correct section sym names.
751 (process_section_headers): Clear symtab_shndx_hdr.
752 (read_and_display_attr_value): Don't pass indirect string to printf
753 as the format string.
754 (display_debug_frames): Indicate when zero terminator found. Decode
755 DW_EH_PE_pcrel addresses.
756
1a09a22c
NC
7572002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
758
759 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
760 order to ensure proper disassembly of the valid 0-value opcode.
761 * configure: Regenerate.
762 * aclocal.m4: Regenerate.
763 * config.in: Regenerate.
764 * configure.in: Regenerate.
765 * doc/Makefile.in: Regenerate.
766 * po/binutils.pot: Regenerate.
767
c254c557
KK
7682002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
769
770 * MAINTAINERS: Add self as SH maintainer.
771
aefbdd67
BE
7722002-10-23 Ben Elliston <bje@redhat.com>
773
774 * doc/binutils.texi (objdump): Document -z and move the entry for
775 --disassemble-zeroes to the end of the options section (for `z').
776
ab9bcc01
NC
7772002-10-21 Nick Clifton <nickc@redhat.com>
778
779 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
780
8ab56b6f
AM
7812002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
782
783 * objdump.c (dump_data): Correct addr_offset for opb != 1.
784
49c12576
AM
7852002-10-15 Alan Modra <amodra@bigpond.net.au>
786
48417c1a
AM
787 * bucomm.c (list_supported_targets): Use bfd_target_list.
788
49c12576
AM
789 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
790 other object errors in preference to bfd_core errors.
791
6e1a7e9a
AM
7922002-10-14 Alan Modra <amodra@bigpond.net.au>
793
794 * Makefile.am: Run "make dep-am".
795 * objdump.c: #include "bfdver.h".
796 * version.c: Likewise.
797 * Makefile.in: Regenerate.
798 * config.in: Regenerate.
799 * configure: Regenerate.
800 * po/POTFILES.in: Regenerate.
801
09fc3b02
DJ
8022002-10-09 Daniel Jacobowitz <drow@mvista.com>
803
804 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
805 sections. Allow relocations against the absolute symbol. Don't
806 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 807 relocation.
09fc3b02 808
f309035a
NC
8092002-10-07 Gordon Chaffee <chaffee@netvmg.com>
810
811 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
812 ordinary ones are available.
813
810dfa6e
L
8142002-09-30 H.J. Lu <hjl@gnu.org>
815
816 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
817 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
818
bb279dc0
ZW
8192002-09-17 Zack Weinberg <zack@codesourcery.com>
820
821 * Makefile.am (CFILES): Add cxxfilt.c.
822 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
823 (cxxfilt_LDADD): Delete.
824 Remove all references to underscore.c.
825 Regen dependencies.
826 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
827 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
828 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
829 adjustments to fit into binutils framework.
830 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
831
065c959b
NC
8322002-09-12 Roland McGrath <roland@redhat.com>
833
834 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
835 Handle DW_OP_GNU_push_tls_address.
836
e09f4395
NC
8372002-09-11 Nick Clifton <nickc@redhat.com>
838
839 * po/tr.po: Updated Turkish translation.
840
873e0588
NC
8412002-09-10 Nick Clifton <nickc@redhat.com>
842
843 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
844 testsuite changes. Add paragraphs about testsuite and config
845 patches.
846
069fe61f
NC
8472002-08-29 Nick Clifton <nickc@redhat.com>
848
849 * readelf.c (get_machine_flags): Remove redundant reference to
850 E_V850EA_ARCH.
851
fe0507eb
AM
8522002-08-28 Alan Modra <amodra@bigpond.net.au>
853
854 * objdump.c (dump_bfd): Restore lines accidentally deleted in
855 last commit.
856
026df7c5
NC
8572002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
858
bb279dc0 859 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
860 (dump_bfd_header): Likewise.
861
68a4c073
AM
8622002-08-27 Alan Modra <amodra@bigpond.net.au>
863
864 * nm.c: Revert last change.
865
a1df01d1
AM
8662002-08-26 Alan Modra <amodra@bigpond.net.au>
867
868 * nm.c (display_rel_file): Don't report "no symbols" as an error.
869 * objdump.c (slurp_symtab): Likewise.
870 (slurp_dynamic_symtab): Likewise.
871 (dump_symbols): Likewise. Do print "no symbols" to stdout.
872
a926ab2f
GK
8732002-08-24 Geoffrey Keating <geoffk@redhat.com>
874
875 * MAINTAINERS: Change my mailing address.
876
fcf62380
DA
8772002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
878
879 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
880
51e28791
NC
8812002-08-22 Nick Clifton <nickc@redhat.com>
882
883 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
884 HPPA.
885
c5b060ad
AM
8862002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
887
888 * readelf.c (parse_args): Change debug_dump_opt to static.
889
4b73ca92
NC
8902002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
891
892 * stabs.c (parse_stab_argtype): Pass length of physname to
893 stab_demangle_argtypes.
894 (stab_demangle_argtypes): Add new parameter - length of physname.
895 Pass length of physname on to stab_demangle_prefix.
896 (stab_demangle_prefix): Add new parameter - length of physname.
897 Use length of physname (if supplied) to compute end of function
898 name.
899
35b1837e
AM
9002002-08-15 Alan Modra <amodra@bigpond.net.au>
901
902 * readelf.c: Include elf/i370.h.
903 (dump_relocations): Handle EM_S370.
904 (dynamic_segment_parisc_val): Print \n.
905 (process_dynamic_segment <DT_BIND_NOW>): Here too.
906
762baac5
NC
9072002-08-14 Nick Clifton <nickc@redhat.com>
908
909 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
910 * objdump.c (usage): Likewise.
911 * doc/binutils.texi: Likewise.
912
85c09e8a
NC
9132002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
914
915 * rcparse.y (acc_entry): Don't warn about ALT use with
916 non-VIRTKEY.
917
212a3c4d
L
9182002-08-13 H.J. Lu <hjl@gnu.org>
919
920 * objcopy.c (copy_object): Don't warn about the unsupported
921 architecture unless the input target is defaulted or the
922 output architecture is different from the input.
923
2b692c59
NC
9242002-08-09 Nick Clifton <nickc@redhat.com>
925
926 * po/sv.po: Updated Swedish translation.
927
09de7a73
AM
9282002-08-05 Alan Modra <amodra@bigpond.net.au>
929
930 * prdbg.c (pr_fix_visibility): Remove assert.
931
47badb7b
NC
9322002-07-31 Nick Clifton <nickc@redhat.com>
933
934 * addr2line.c (process_file): Rename parameter 'filename' to
935 'file_name' in order to avoid shadowing global symbol of the
936 same name.
937 (main): Likewise.
938
2979dc34
JJ
9392002-07-30 Jakub Jelinek <jakub@redhat.com>
940
941 * readelf.c (OPTION_DEBUG_DUMP): Define.
942 (options): Use it.
943 (usage): Update help.
944 (parse_args): Handle --debug-dump separately from -w.
945 * doc/binutils.texi (readelf): Update documentation.
946
219576a4
NC
9472002-07-25 Nick Clifton <nickc@redhat.com>
948
949 * po/es.po: Updated Spanish translation.
950 * po/fr.po: Updated French translation.
951
bf4f22e6 9522002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 953
bf4f22e6
NC
954 * po/es.po: Updated Spanish translation.
955
c5b3a82a
AM
9562002-07-23 Alan Modra <amodra@bigpond.net.au>
957
958 * Makefile.am: Run "make dep-am".
959 * Makefile.in: Regenerate.
960
0461a601
NC
9612002-07-23 Nick Clifton <nickc@redhat.com>
962
bf4f22e6 963 * po/fr.po: Updated French translation.
0461a601 964
bf44dd74
AM
9652002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
966
967 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
968
2c205ff2
AM
9692002-07-20 Alan Modra <amodra@bigpond.net.au>
970
63eb0809 971 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 972
1e4cf259
NC
9732002-07-18 Denis Chertykov <denisc@overta.ru>
974 Frank Ch. Eigler <fche@redhat.com>
975
976 * readelf.c: Include "elf/ip2k.h".
977 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
978 (dump_relocations): Likewise.
979 (get_machine_name): Likewise.
980 * NEWS: Mention IP2K support.
981
2cbb2eef
NC
9822002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
983
984 * NEWS: Add 'Changes in 2.13'.
985
047b2264
JJ
9862002-07-10 Jakub Jelinek <jakub@redhat.com>
987
988 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
989 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
990 (get_section_type_name): Handle SHT_GNU_LIBLIST.
991 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
992 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
993 (process_gnu_liblist): New.
994 (process_file): Call it.
995
97230b15
AM
9962002-07-03 Alan Modra <amodra@bigpond.net.au>
997
998 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
999 * Makefile.in: Regenerate.
1000
a6637ec0
AM
10012002-07-02 Alan Modra <amodra@bigpond.net.au>
1002
1003 * budemang.c: New file, "demangle" function.
1004 * budemang.h: New file.
1005 * addr2line.c (translate_addresses): Use "demangle".
1006 * nm.c (print_symname): Likewise.
1007 * objdump.c (objdump_print_symname): Likewise.
1008 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1009 here since that obfuscates.
1010 * rdcoff.c: Don't #include demangle.h.
1011 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1012 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1013 (HFILES): Add budemang.h. Sort.
1014 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1015 Run "make dep-am".
1016 * Makefile.in: Regenerate.
1017
179d3252
JT
10182002-07-01 Matt Thomas <matt@3am-software.com>
1019
1020 * readelf.c: Include "elf/vax.h".
1021 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1022 (dump_relocations): Handle VAX relocations.
1023 (get_machine_flags): Handle VAX machine flags.
1024
75751cd9
SC
10252002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1026
1027 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1028
e5851ab8
NC
10292002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1030
1031 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1032
eb3f2f5c
AM
10332002-06-26 Alan Modra <amodra@bigpond.net.au>
1034
1035 * nm.c (print_symname): When demangling, strip leading dots from
1036 symbol names to avoid confusing the demangler.
1037
a13a0de8
L
10382002-06-25 H.J. Lu <hjl@gnu.org>
1039
1040 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1041 * Makefile.in: Regenerated.
1042
6db7a086
AM
10432002-06-21 Igor Schein <igor@txc.com>
1044
1045 * configure.in: Quote bu_cv_have_fopen64.
1046 * configure: Regenerate.
1047
9710509e
AM
10482002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1049
1050 * configure.in: Check for strcoll.
1051 * configure: Regenerate.
1052 * config.in: Regenerate.
1053 * nm.c (main): Set locale for LC_COLLATE category.
1054 (non_numeric_forward): Use strcoll if available.
1055
a9f0b5e7
DB
10562002-06-20 Dave Brolley <brolley@redhat.com>
1057
1058 * MAINTAINERS: Add self as fr30 and frv maintainer.
1059
33f5f537
L
10602002-06-18 H.J. Lu (hjl@gnu.org)
1061
1062 * nm.c: Include "elf/common.h".
1063 (extended_symbol_info): Add elfinfo, a pointer to
1064 elf_symbol_type.
1065 (SYM_SIZE): Use elfinfo if it is not NULL.
1066 (get_symbol_type): New function.
1067 (display_archive): Set print_width for each archive member.
1068 (display_file): Likewise.
1069 (display_rel_file): Don't set print_width here.
1070 (print_object_filename_sysv): Handle print_width.
1071 (print_archive_member_sysv): Likewise.
1072 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1073 (print_symbol): Set the elfinfo field in extended_symbol_info
1074 for ELF.
1075 (print_object_filename_sysv): Fix the output format.
1076 (print_symbol_info_sysv): Print type and section for ELF.
1077
10782002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1079
1080 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1081 the symbol's size equal to its value when --size-sort is
33f5f537
L
1082 used.
1083
5c70f934
DB
10842002-06-18 Dave Brolley <brolley@redhat.com>
1085
1086 From Catherine Moore:
1087 * readelf.c (elf/frv.h): #include it.
1088 (guess_is_rela): Support EM_CYGNUS_FRV.
1089 (dump_relocations): Ditto.
1090 (get_machine_name): Ditto.
1091 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1092
7ece0d85
JJ
10932002-06-18 Jakub Jelinek <jakub@redhat.com>
1094
1095 * readelf.c (get_file_header): Only read the first section header if
1096 e_shoff is non-zero.
1097
72797995
L
10982002-06-15 H.J. Lu (hjl@gnu.org)
1099
1100 * nm.c (print_size): New variable. Initialize to 0.
1101 (long_options): Add 'S'/"print-size".
1102 (main): Handle 'S'.
1103 (print_symbol_info_bsd): Print size only if print_size is not
1104 0.
1105
1106 * doc/binutils.texi: Document -S/--print-size.
1107
977f7911
NC
11082002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1109
1110 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1111 of the symbols to the information provided by the symbol_info
1112 structure.
1113 (print_symbols): Pass the symbol size to print_symbol.
1114 (print_size_symbols): Pass the symbol size to print_symbol.
1115 (print_symbol): Extra argument: The size of the symbol. Store
1116 this in the extended_symbol_info structure.
1117 (print_symbol_info): Change type of info parameter to
1118 extended_symbol_info. Display the size, if known.
1119 (print_symbol_info_posix): Likewise.
1120 (print_symbol_info_sysv): Likewise.
1121
b1f88ebe
AM
11222002-06-08 Alan Modra <amodra@bigpond.net.au>
1123
fa449227
AM
1124 * Makefile.am: Run "make dep-am".
1125 * Makefile.in: Regenerate.
1126 * doc/Makefile.in: Regnerate.
1127
b1f88ebe
AM
1128 * bucomm.c: Replace CONST with const.
1129 * nm.c: Likewise.
1130 * objdump.c: Likewise.
1131
91a106e6
L
11322002-06-07 H.J. Lu <hjl@gnu.org>
1133
1134 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1135 (DW_CFA_GNU_negative_offset_extended): Likewise.
1136 (DW_CFA_GNU_window_save): Likewise.
1137 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1138 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1139
6ab6b380 11402002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1141
6ab6b380
NC
1142 * nm.c: When computing size of symbols for an ELF target use the
1143 internal size field.
1144
e28e05a3
JL
11452002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1146
1147 * testsuite/binutils-all/objcopy.exp: clear xfail for
1148 "hppa*64*-*-hpux*".
1149 * testsuite/binutils-all/hppa/objdump.exp: Return if
1150 "*64*-*-*".
1151
dc156bc0
AM
11522002-06-05 Alan Modra <amodra@bigpond.net.au>
1153
1154 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1155
11562002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1157
1158 * objdump.c: Fix formatting.
1159
d79e4ea3
BE
11602002-05-29 Ben Elliston <bje@redhat.com>
1161
1162 * MAINTAINERS: Add self as M68k maintainer.
1163
d172d4ba
NC
11642002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1165
1166 * readelf.c: Modified/Added DLX elf support.
1167
7edb8f29
NC
11682002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1169
3a1a2036
NC
1170 * arsup.c: Fix formatting.
1171 * debug.c (debug_record_label): Add missing colon to error
1172 message.
1173 * ieee.c (parse_ieee_ty): Fix spelling typo.
1174 * readelf.c (process_program_headers): Remove English assumption
1175 about making a plural word.
1176 (process_section_headers): Likewise.
1177 (process_relocs): Allow quotes to be translated.
1178 (process_unwind): Likewise,
1179 (process_mips_specific): Improve error message.
1180 (get_note_type): Fix spelling typo.
1181
7edb8f29
NC
1182 * configure.in (ALL_LINGUAS): Add sv
1183 * po/sv.po: New file.
1184
3eee1e9d
AM
11852002-05-27 Alan Modra <amodra@bigpond.net.au>
1186
1187 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1188 (unw_print_grmask): Likewise.
1189 (unw_print_frmask): Likewise.
1190
d43efbe3
KH
11912002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1192
1193 * arsup.c: Remove ARGSUSED.
1194 * debug.c: Likewise.
1195 * ieee.c: Likewise.
1196 * nlmconv.c: Likewise.
1197 * prdbg.c: Likewise.
1198 * stabs.c: Likewise.
1199 * wrstabs.c: Likewise.
1200
e9792343
AM
12012002-05-25 Alan Modra <amodra@bigpond.net.au>
1202
1203 * arlex.l: Use #include "" instead of <> for local header files.
1204 * coffdump.c: Likewise.
1205 * coffgrok.c: Likewise.
1206 * nlmconv.c: Likewise.
1207 * nlmheader.y: Likewise.
1208 * srconv.c: Likewise.
1209 * strings.c: Likewise.
1210 * sysdump.c: Likewise.
1211 * unwind-ia64.h: Likewise.
1212 * windres.h: Likewise.
1213 * winduni.h: Likewise.
1214
d7e53452
TR
12152002-05-24 Tom Rix <trix@redhat.com>
1216
1217 * MAINTAINERS: Add self as the d10v maintainer.
1218
436e8db0
NC
12192002-05-24 TAMURA Kent <kent@netbsd.org>
1220
1221 * configure.in: Builds dlltool for i386-netbsdpe.
1222 * configure: Regenerate.
1223
9f66665a
KH
12242002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1225
1226 * size.c: Fix formatting.
1227 * srconv.c: Likewise.
1228 * stabs.c: Likewise.
1229 * sysdump.c: Likewise.
1230 * unwind-ia64.c: Likewise.
1231 * wrstabs.c: Likewise.
1232
13ae64f3
JJ
12332002-05-23 Jakub Jelinek <jakub@redhat.com>
1234
1235 * readelf.c (get_segment_type): Add PT_TLS.
1236 (get_elf_section_flags): Add SHF_TLS.
1237 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1238 (process_dynamic_segment): Use puts instead of printf.
1239 (get_symbol_type): Support STT_TLS.
1240 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1241 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1242 Add SEC_THREAD_LOCAL.
1243
53c7db4b
KH
12442002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1245
1246 * rdcoff.c: Fix formatting.
1247 * rddbg.c: Likewise.
1248 * readelf.c: Likewise.
1249 * rename.c: Likewise.
1250 * resbin.c: Likewise.
1251 * resrc.c: Likewise.
1252 * resres.c: Likewise.
1253
0af11b59
KH
12542002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1255
1256 * filemode.c: Fix formatting.
1257 * ieee.c: Likewise.
1258 * is-ranlib.c: Likewise.
1259 * is-strip.c: Likewise.
1260 * maybe-ranlib.c: Likewise.
1261 * maybe-strip.c: Likewise.
1262 * nlmconv.c: Likewise.
1263 * nm.c: Likewise.
1264 * not-ranlib.c: Likewise.
1265 * not-strip.c: Likewise.
1266 * objcopy.c: Likewise.
1267 * objdump.c: Likewise.
1268
21611032
TS
12692002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1270
1271 * objdump.c (dump_headers): Fix output formatting for ELF32
1272 architectures in a BFD64 enabled toolchain.
1273
26044998
KH
12742002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1275
1276 * debug.c: Fix formatting.
1277 * debug.h: Likewise.
1278 * dlltool.c: Likewise.
1279 * dllwrap.c: Likewise.
1280 * emul_aix.c: Likewise.
1281 * emul_vanilla.c: Likewise.
1282
f462a9ea
KH
12832002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1284
1285 * addr2line.c: Fix formatting.
1286 * ar.c: Likewise.
1287 * arsup.c: Likewise.
1288 * arsup.h: Likewise.
1289 * binemul.c: Likewise.
1290 * binemul.h: Likewise.
1291 * bucomm.c: Likewise.
1292 * coffdump.c: Likewise.
1293 * coffgrok.c: Likewise.
1294 * coffgrok.h: Likewise.
1295
e0159aa9
MM
12962002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1297
1298 * MAINTAINERS: Add myself as the second AVR port maintainer.
1299
074b403e
SC
13002002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1301
1302 * MAINTAINERS: Update my email address.
1303
2b9c8201
NC
13042002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1305
1306 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1307
e1d5b1e7
AM
13082002-05-09 Alan Modra <amodra@bigpond.net.au>
1309
1310 * configure.in: Replace `*pe' with `pe' throughout.
1311 * configure: Regenerate.
1312
d3d8a9ee
NC
13132002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1314
1315 * Makefile.am: Honour DESTDIR.
1316 * Makefile.in: Regenerate.
1317
405c98a4
AM
13182002-05-06 Alan Modra <amodra@bigpond.net.au>
1319
a02d5965
AM
1320 * dlltool.c (process_def_file): Add missing prototype.
1321 (new_directive, assemble_file, main): Likewise.
1322 (process_def_file, new_directive): Make static.
1323 (inform): Rewrite using VA_FIXEDARG.
1324 * dllwrap.c (mybasename): Add missing prototype.
1325 (strhash, main): Likewise.
1326 (inform): Rewrite using VA_FIXEDARG.
1327 (warn): Likewise.
1328 (cleanup_and_exit): Use old style function definition.
1329 (strhash): Likewise.
1330 * windres.c (define_resource): Use one memset to clear all of
1331 struct res_resource.
1332
405c98a4 1333 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1334 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1335
13362002-05-06 Borut Razem <borut.razem@siol.net>
1337
1338 * rclex.l (get_string): Correct "strings" list handling.
1339 * resrc.c (read_rc_file): Discard strings.
1340
91593c9d
AM
13412002-05-04 Alan Modra <amodra@bigpond.net.au>
1342
e58a75dc
AM
1343 * ar.c (replace_members): Remove unused var. Formatting fix.
1344 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1345
91593c9d
AM
1346 * MAINTAINERS: Sort port maintainers by CPU.
1347
6b52b824
AM
13482002-05-04 Bob Byrnes <byrnes@curl.com>
1349
1350 * size.c (display_archive): Add last_arfile and code to close archives.
1351
dd70071f
AM
13522002-05-01 Alan Modra <amodra@bigpond.net.au>
1353
1354 * nm.c (print_symbol): Check returned filename from
1355 bfd_find_nearest_line is non-NULL.
1356
6c95717a 13572002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1358
1359 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1360
3c25c5f6
NC
13612002-04-24 Christian Groessler <chris@groessler.org>
1362
1363 * MAINTAINERS: Changed my email address.
1364
944cd72c
TS
13652002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1366
1367 * arparse.y: Fix syntax warning.
1368
ea91f8bb
NC
13692002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1370
3e55a963
NC
1371 * readelf.c (fetch_location_list): Remove unused function.
1372
1373 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1374 and display a warning message, then exit the loop.
1375
ea91f8bb
NC
1376 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1377
45b99827
NC
13782002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1379
1380 * resrc.c (write_rc_dialog): If charset is non-default value
1381 display all of the DIALOGEX parameters.
1382
13832002-04-15 Eric Kohl <ekohl@rz-online.de>
1384
bb279dc0 1385 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1386 DIALOGEX resources.
1387 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1388 resource data.
bb279dc0 1389 (res_to_bin_dialog): Likewise.
45b99827
NC
1390 * windres.h: Added misssing charset variable to dialog_ex
1391 structure.
1392
acfbab8a
NC
13932002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1394
1395 * rcparse.y: Set MEMFLAG_PURE by default.
1396
df3baf66
NC
13972002-04-09 Bernd Herd <info@herdsoft.com>
1398
bb279dc0 1399 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1400 are quoted.
4c30641a 1401 Fix typo in BEDIT warning.
91eafb40 1402 Don't add default dialog style when explicit style specified.
b62a12ca 1403 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1404
b24eb5ac
NC
1405 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1406 (handle_quotes) "\a" escape (used for right justified key
1407 definitions in menus) is encodes as binary 8.
df3baf66 1408
b24eb5ac
NC
1409 * resrc.c (write_rc_dialog): Print style even if it is 0.
1410 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1411 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1412
b24eb5ac
NC
1413 * resbin.c (bin_to_res_dialog): Use signature to identify
1414 DIALOGEX.
f7d63484 1415
b24eb5ac 1416 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1417
df3baf66
NC
14182002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1419
1420 * resrc.c: print CLASS names in quotes
1421
14222002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1423
1424 * MAINTAINERS: Update my email address.
1425
8e42bcb6
AM
14262002-04-04 Alan Modra <amodra@bigpond.net.au>
1427
1428 * dep-in.sed: Cope with absolute paths.
1429 * Makefile.am (dep.sed): Subst TOPDIR.
1430 Run "make dep-am".
1431 * Makefile.in: Regenerate.
1432
96f959e5
PT
14332002-03-27 Peter Targett <peter.targett@arc.com>
1434
1435 * MAINTAINERS: Update my email address.
1436
1ea788ee
AM
14372002-03-21 Alan Modra <amodra@bigpond.net.au>
1438
1439 * Makefile.am: Run "make dep-am".
1440 * Makefile.in: Regenerate.
1441 * doc/Makefile.in: Regenerate.
1442 * po/POTFILES.in: Regenerate.
1443 * aclocal.m4: Regenerate.
1444 * config.in: Regenerate.
1445 * configure: Regenerate.
1446
a2f14207
DB
14472002-03-20 Daniel Berlin <dan@dberlin.org>
1448
1449 * readelf.c: Add support for displaying dwarf2 location lists.
1450 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1451 (parse_args): Use 'O' as shorthand for displaying location list
1452 section.
1453 (process_section_headers): Handle debug_loc as well.
1454 (load_debug_loc): New.
1455 (free_debug_loc): New.
1456 (fetch_location_list): New.
1457 (display_debug_loc): New.
1458 (display_debug_info): Call load_debug_loc and free_debug_loc.
1459 (debug_displays): We can display .debug_loc now, too.
1460 (usage): Update usage string.
1461 (read_and_display_attr_value): Note location lists, but don't
1462 display them inline.
1463
eb1e0e80
NC
14642002-03-18 Tom Rix <trix@redhat.com>
1465
1466 * Makefile.am: Add binutils emulation support.
1467 * configure.in: Same.
1468 * configure.tgt: New file. Same.
1469 * ar.c (main): Use ar_emul_parse_arg.
1470 (usage): Use ar_emul_usage.
1471 (replace_members): Use ar_emul_replace, ar_emul_append.
1472 * binemul.c: New file. Define the binutils emulation
1473 layer. Define default methods.
1474 * binemul.h: New file. Binutils emulation layer header file.
1475 * emul_aix.c: New file. AIX binutils emulation.
1476 * emul_vanilla.c: New file. Default binutils emulation.
1477 * Makefile.in: Regenerate.
1478 * configure: Same.
1479
a1c259a1
NC
14802002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1481
1482 * po/fr.po: Updated version.
1483
9ce88e60
NC
14842002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1485
1486 * po/fr.po: Updated version.
1487
effb0601
DJ
14882002-03-07 Daniel Jacobowitz <drow@mvista.com>
1489
1490 * README: Update some version numbers.
1491
a65688ab
DJ
14922002-03-07 Daniel Jacobowitz <drow@mvista.com>
1493
1494 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1495 (Architecture Selection): Likewise.
1496
f3f7fbb2
NC
14972002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1498
1499 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1500 generating .exp file.
1501
25345be5
NC
15022002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1503
1504 * readelf.c (dump_relocations): Fix typo.
1505
9a66911f
NC
15062002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1507
1508 * NEWS: Mark 2.12 branch.
1509
2c71103e
NC
15102002-02-18 Timothy Daly <remote_bob@yahoo.com>
1511
bb279dc0
ZW
1512 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1513 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1514 output.
bb279dc0 1515 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1516 to 'unrecognized'.
1517 (decode_ARM_machine_flags): Likewise.
1518 (parse_args): Likewise.
1519 (read_and_display_attr_value): Likewise.
1520 (display_debug_section): Likewise.
1521
49fda6c8
HPN
15222002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1523
1524 * NEWS: Mention support for MMIX.
1525
76f57f3a
JT
15262002-02-13 Matt Fredette <fredette@netbsd.org>
1527
1528 * readelf.c (get_machine_flags): Recognize EF_M68000.
1529
d36ca9c2
AO
15302002-02-12 Alexandre Oliva <aoliva@redhat.com>
1531
1532 * MAINTAINERS: Added self as MN10300 co-maintainer.
1533
19397422
AM
15342002-02-12 Alan Modra <amodra@bigpond.net.au>
1535
1536 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1537 DT_PPC64_OPDSZ.
1538
d434e574
DJ
15392002-02-11 Daniel Jacobowitz <drow@mvista.com>
1540
1541 * MAINTAINERS: List myself as branch maintainer.
1542
12b87c89
AM
15432002-02-11 Alan Modra <amodra@bigpond.net.au>
1544
1545 * configure: Regenerate.
1546 * objcopy.c: Update copyright date.
1547 * doc/Makefile.in: Regenerate.
1548
8d037c5c
DJ
15492002-02-10 Daniel Jacobowitz <drow@mvista.com>
1550
1551 * nlmconv.c: Back out localtime PARAMS change.
1552
4c168fa3
AM
15532002-02-11 Alan Modra <amodra@bigpond.net.au>
1554
1555 * objcopy.c (MKDIR): Define.
1556 (copy_archive): Make name_list.name const. Use MKDIR.
1557 Handle duplicate files in archives by making more temp dirs.
1558
408f8db1
DJ
15592002-02-10 Daniel Jacobowitz <drow@mvista.com>
1560
1561 * coffdump.c: Include "getopt.h" after "bucomm.h"
1562 so that macros are defined correctly.
1563 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1564 prototype. Prototype main.
1565 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1566
9f77fa06
AO
15672002-02-06 Alexandre Oliva <aoliva@redhat.com>
1568
1569 * MAINTAINERS: Added self as SH co-maintainer.
1570
82f6addb
NC
15712002-02-05 Nick Clifton <nickc@redhat.com>
1572
1573 * po/tr.po: Updated translation.
1574
ba323545
AM
15752002-02-01 Alan Modra <amodra@bigpond.net.au>
1576
1577 * Makefile.am: Run "make dep-am"
1578 * Makefile.in: Regenerate.
1579
3deb89d3
DJ
15802002-01-29 Daniel Jacobowitz <drow@mvista.com>
1581
1582 * nm.c (print_value): Mark abfd unused.
1583
a0e9c55f
DJ
15842002-01-29 Daniel Jacobowitz <drow@mvista.com>
1585
1586 * unwind-ia64.c (unw_decoder): Change second argument
1587 to unsigned int, to match function prototypes.
1588
d7a283d4
DJ
15892002-01-29 Daniel Jacobowitz <drow@mvista.com>
1590
1591 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1592 __GNU_LIBRARY__ will be defined.
1593 * size.c: Likewise.
1594
4867be41
DJ
15952002-01-27 Daniel Jacobowitz <drow@mvista.com>
1596
1597 * configure: Regenerated.
1598
7562a296
HPN
15992002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1600
1601 * doc/Makefile.am (install): Depend on install-info.
1602 * doc/Makefile.in: Regenerate.
1603
15c82623
NC
16042002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1605
1606 * objcopy.c (strip_usage): Document -d as an alias
1607 --strip-debug.
1608
1609 * size.c (usage): Document [-t | --totals] options.
1610 (long_options): Add --totals option.
1611 (main): If the [-t | --totals] option is specified and
1612 the output format is Berkeley-style, print the total
1613 text, data, and bss sizes of all objects listed.
1614 (print_berkeley_format): If the [-t | --totals] option
1615 is specified, track the total text, data, and bss
1616 sizes.
1617 * doc/binutils.texi (size): Document [-t | --totals] options.
1618 (strip): Document -d as an alias for --strip-debug.
1619 * NEWS: Mention new feature of size.
1620
00ea8601 16212002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1622
1ddbd152
NC
1623 * po/fr.po: Updated version.
1624 * po/es.po: Updated version.
b85cedd7 1625
8b53311e
NC
16262002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1627
1628 * addr2line.c (usage): Update text to provide verbose
1629 description of the command line options.
1630 * ar.c (usage): Update text to provide verbose
1631 description of the command line options.
1632 (main): Accept -h and -H when running as ranlib.
1633 * coffdump.c (show_usage): Update text to provide verbose
1634 description of the command line options.
1635 * dlltool.c (main): Accept -H as an alias for --help.
1636 * nlmconv.c (show_usage): Update text to provide verbose
1637 description of the command line options.
1638 * nm.c (usage): Replace OPTIONS with option(s).
1639 (main): Accept -H as an alias for --help.
1640 * objcopy.c (strip_main): Accept -H as an alias for --help.
1641 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1642 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1643 other binutils.
1644 * size.c (usage): Update text to provide verbose description
1645 of the command line options.
1646 (main): Accept -v, -h and -H as command line options.
1647 * srconv.c (show_usage): Update text to provide verbose
1648 description of the command line options.
1649 * strings.c (main): Accept -H and -v as command line options.
1650 (usage): Update text to provide verbose description of the
1651 command line options.
1652 * sysdump.c (show_usage): Update text to provide verbose
1653 description of the command line options.
1654 * windres.c (usage): Adjust format to match style used in
1655 other binutils.
1656
1657 * coffdump.c: Fix formatting.
1658 * nlmconv.c: Fix formatting.
1659 * srconv.c: Fix formatting.
1660 * sysdump.c: Fix formatting.
1661
c46f0c34
AM
16622002-01-22 Alan Modra <amodra@bigpond.net.au>
1663
1664 * Makefile.am: Run "make dep-am".
1665 * Makefile.in: Regenerate.
1666
2a538ba5
AJ
16672002-01-18 Andreas Jaeger <aj@suse.de>
1668
1669 * version.c (print_version): Update year.
1670
285d1771
AM
16712002-01-17 Alan Modra <amodra@bigpond.net.au>
1672
1673 * readelf.c (get_machine_name): Handle EM_PPC64.
1674 (guess_is_rela): Here too.
1675
328577ad
NC
16762002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1677
1678 * po/binutils.pot: Regenerate.
1679 * po/fr.po: Regenerate.
1680 * po/tr.po: Regenerate.
1681
af3ae48d
NC
16822002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1683
1684 * po/tr.po: Import new version.
1685
f1cb7e17
AM
16862002-01-16 Alan Modra <amodra@bigpond.net.au>
1687
1688 * readelf.c (get_ppc64_dynamic_type): New.
1689 (get_dynamic_type): Call it.
1690
6364e0b4
NC
16912002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1692
3ab9460d 1693 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1694 (strip_usage): Use "options" instead of "switches".
3ab9460d 1695 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1696 "switches".
6364e0b4 1697
3a7e524e
RE
16982002-01-14 Richard Earnshaw <rearnsha@arm.com>
1699
1700 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1701
1209e219
NC
17022001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1703
1704 * po/es.po: Import from translation project.
1705 * configure.in (ALL_LINGUAS): Add es.
1706 * configure: Regenerate.
1707
b4db1224
JT
17082002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1709
1710 * readelf.c (get_netbsd_elfcore_note_type): Use
1711 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1712
9437c45b
JT
17132002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1714
1715 * readelf.c: Update copyright years.
1716 (get_note_type): Return a const char *.
1717 (get_netbsd_elfcore_note_type): New function.
1718 (process_note): Use get_netbsd_elfcore_note_type to get
1719 the note type string for NetBSD ELF core files.
1720
00428cca
AM
17212002-01-06 Steve Ellcey <sje@cup.hp.com>
1722
1723 * readelf.c (get_ia64_segment_type): Add support for macros.
1724 (get_segment_type): Add support for IA64 specific macros.
1725
31104126
NC
17262001-12-20 Julian v. Bock <julian@wongr.net>
1727
1728 * readelf.c (print_symbol): New function: Print a formatted symbol
1729 name. If --wide is specified do not truncate it.
1730 (dump_relocations): Use print_symbol() to print symbol names.
1731 (process_symbol_table): Likewise.
1732 (process_syminfo): Likewise.
1733 (process_mips_specific): Likewise.
1734 (usage): Document new feature of --wide switch.
1735 * doc/binutils.texi (objdump): Document additional behaviour of
1736 --wide.
2a538ba5 1737
4dd67f29
MS
17382001-12-18 Michael Snyder <msnyder@redhat.com>
1739
1740 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1741 (copy_object): Don't set the start address or flags of a core file.
1742 (copy_section): Don't relocate a core file. Don't copy contents
1743 if the input section has the contents flag set, but the output
1744 section does not (which happens with the fake 'note' pseudo-
1745 sections that BFD creates for corefiles).
1746
43521d43
TS
17472001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1748
1749 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1750 ASE extensions. More robust code for ISA checking. Ignore empty fields
1751 in header flags for GNU extensions.
1752
b667df2e
AM
17532001-12-18 Alan Modra <amodra@bigpond.net.au>
1754
1755 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1756
17a5a5c3
NC
17572001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1758
1759 * po/ja.po: Import from translation project.
1760 * configure.in (ALL_LINGUAS): Add ja.
1761 * configure: Regenerate.
1762
65de42c0
TS
17632001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1764
1765 * addr2line.c (main): Protoype.
1766 * ar.c (main): Protoype.
1767 * nm.c (main): Protoype.
1768 * objcopy.c (main): Protoype.
1769 * objdump.c (main): Protoype.
1770 * size.c (main): Protoype.
1771 * strings.c (main): Protoype.
1772
9ad5cbcf
AM
17732001-12-17 Alan Modra <amodra@bigpond.net.au>
1774
1775 * readelf.c (symtab_shndx_hdr): New global.
1776 (SECTION_HEADER_INDEX): Define.
1777 (SECTION_HEADER_NUM): Define.
1778 (SECTION_HEADER): Define.
1779 (GET_ELF_SYMBOLS): Pass two params rather than three.
1780 (get_32bit_elf_symbols): Take file and section args. Read and
1781 use SHT_SYMTAB_SHNDX.
1782 (get_64bit_elf_symbols): Likewise.
1783 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1784 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1785 Remember symtab_shdx_hdr.
1786 (process_program_headers): Scan from index 1 for segment map.
1787 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1788 "section_headers".
1789 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1790 (process_unwind): Likewise.
1791 (process_version_sections): Likewise.
1792 (process_symbol_table): Likewise.
1793 (display_debug_info): Likewise.
1794 (process_dynamic_segment): Fake up a symtab section for changed
1795 GET_ELF_SYMBOLS.
1796 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1797 (process_program_headers): Kill signed/unsigned warning.
1798 (load_debug_str): Likewise.
1799 (display_debug_info): Likewise.
1800
65765700
JJ
18012001-12-13 Jakub Jelinek <jakub@redhat.com>
1802
1803 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1804
560f3c1c
AM
18052001-12-11 Alan Modra <amodra@bigpond.net.au>
1806
1807 * readelf.c (process_file_header): Print extended e_shnum and
1808 e_shdtrndx values. Set elf_header values for same.
1809 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1810 (get_64bit_section_headers): Likewise.
1811 (process_section_headers): Update calls.
1812 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1813
bc408b8a
JJ
18142001-12-10 Jakub Jelinek <jakub@redhat.com>
1815
1816 * objcopy.c (setup_section): Copy entsize.
1817
93fbbb04
GK
18182001-12-07 Geoffrey Keating <geoffk@redhat.com>
1819
1820 * readelf.c (guess_is_rela): Add support for stormy16.
1821 (dump_relocations): Likewise.
1822 (get_machine_name): Likewise.
1823
e3c8793a
NC
18242001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1825
1826 * dllwrap.c (main) Replace multiple strings describing a
1827 single error with a single, newline escaped sentence to permit
1828 better translation into foreign languages.
1829
1830 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1831 class names.
1832
956cd1d6
TS
18332001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1834
1835 * strings.c (get_char): Initialize value.
1836
956c53ee
TS
18372001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1838
1839 * arlex.l: Silence compile warnings.
1840 * arsup.h: Likewise. Fix formatting.
1841
cedd9a58
JJ
18422001-12-04 Jakub Jelinek <jakub@redhat.com>
1843
1844 * strings.c: Include config.h before bfd.h.
1845 (file_off): New type.
1846 (file_open): Define.
1847 (print_strings): Use file_off instead of file_ptr. Print addresses
1848 which don't fit into long correctly.
1849 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1850 available.
1851 (strings_file): Use file_off instead of file_ptr. Use file_open.
1852 * configure.in: Check for getc_unlocked.
1853 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1854 be defined for it.
1855 * configure: Rebuilt.
1856 * config.h.in: Rebuilt.
1857
af667503
L
18582001-11-29 H.J. Lu <hjl@gnu.org>
1859
1860 * bucomm.c (make_tempname): Revert the changes made on
1861 2001-11-14 and 2001-11-12. They won't work with directories.
1862
16474668
NC
18632001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1864
1865 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1866 CFLAGS_FOR_TARGET to runtest in environment.
1867 * Makefile.in: Rebuild.
1868 * doc/Makefile.in: Rebuild.
1869
17978339
MS
18702001-11-28 Mike Stump <mrs@wrs.com>
1871
1872 * objcopy.c (setup_section): Preserve SEC_RELOC when
1873 --set-section-flags is used.
1874
261a45ad
NC
18752001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1876
1877 * readelf.c (do_debug_str): New variable.
1878 (display_debug_str): New function: Display the contents of a
1879 .debug_str section.
1880 (load_debug_str): New function: Load in the contents of a
1881 .debug_str section.
1882 (free_debug_str): New function: Free the memory used by
1883 load_debug_str().
1884 (fetch_indirect_string): Retrieve a string from the .debug_str
1885 section.
1886 (usage): Add -ws.
1887 (parse_args): Accept -ws.
1888 (process_section_headers): Allow the display of the .debug_str
1889 section.
1890 (read_and_display_attr_value): Use fetch_indirect_string. Show
1891 offset into .debug_str section.
1892 (display_debug_info): Use load_debug_str and free_debug_str.
1893 (debug_displays): Add .debug_str.
1894 * doc/binutils.texi: Document -ws.
1895
b8908f93
AJ
18962001-11-19 Andreas Jaeger <aj@suse.de>
1897
1898 * testsuite/binutils-all/objdump.exp: Add x86-64.
1899
e5fb9629
AS
19002001-11-15 Andreas Schwab <schwab@suse.de>
1901
1902 * readelf.c: Fix warnings without terminating newline.
1903
802a735e
AM
19042001-11-15 Alan Modra <amodra@bigpond.net.au>
1905
1906 * doc/binutils.texi (objdump): Document ppc -M options.
1907
b89e9eae
AJ
19082001-11-14 Andreas Jaeger <aj@suse.de>
1909
1910 * doc/binutils.texi (objdump): Fix description to use x86-64.
1911
a6a25652
NC
19122001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1913
1914 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1915 not all systems provide mkstemp.
1916
e396998b
AM
19172001-11-14 Alan Modra <amodra@bigpond.net.au>
1918
1919 * doc/binutils.texi (objdump): Document x86 -M options.
1920
81766fca
RH
19212001-11-13 Keith Walker <keith.walker@arm.com>
1922
1923 * readelf.c (read_and_display_attr_value): New function to
1924 handle DW_FORM_indirect.
1925 (read_and_display_attr): Use it.
1926
1a509dcc
GK
19272001-11-13 Geoffrey Keating <geoffk@redhat.com>
1928
1929 * readelf.c (display_debug_lines): Deal with unknown standard
1930 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1931 DW_LNS_set_isa.
1932
6e917903 19332001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1934
6e917903
TW
1935 * MAINTAINERS: Add self as tic54x maintainer. This target
1936 includes the IBM C54XDSP clone.
7559e86e 1937
6e917903 19382001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1939
7559e86e
NC
1940 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1941
19422001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1943
ecdadc4a
JL
1944 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1945 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1946 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1947 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1948 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1949 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1950 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1951
91770270
JL
1952 * readelf.c (get_elf_class): Fix ISO portability glitch.
1953 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1954
ef5cdfc7
JJ
19552001-11-07 Jakub Jelinek <jakub@redhat.com>
1956
1957 * readelf.c (debug_str, debug_str_size): New.
1958 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1959 Call free_abbrevs.
1960 (read_and_display_addr): Handle DW_FORM_strp.
1961 (display_debug_info): Read .debug_str section if present,
1962 so that DW_FORM_strp can be handled.
1963 Fix test for non-existant .debug_abbrev section.
1964
5e9520c8
JJ
19652001-11-05 Jakub Jelinek <jakub@redhat.com>
1966
1967 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1968
1969 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1970
54589086
MS
19712001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1972
1973 * MAINTAINERS: Add self as s390/s390x maintainer.
1974
c05b685b
TR
19752001-11-02 Tom Rix <trix@bluey.cygnus.com>
1976
1977 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1978
3c62831e
NC
19792001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1980
1981 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1982 * configure: Regernate.
1983 * po/fr.po: New file.
1984 * po/tr.po: New file.
1985
3c3bdf30
NC
19862001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1987
9b19141a 1988 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1989 * readelf.c: Include elf/mmix.h.
1990 (guess_is_rela): MMIX is RELA.
1991 (dump_relocations): Handle MMIX relocations.
1992 * Makefile.am: Regenerate dependencies.
1993 * Makefile.in: Regenerate.
1994
f662939a
NC
19952001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1996
1997 * readelf.c (parse_args): Handle multiple options to the -w
1998 switch.
1999
c91d0dfb
JJ
20002001-10-12 Jakub Jelinek <jakub@redhat.com>
2001
2002 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2003 LOPROC, LOOS and LOUSER.
2004
7559e86e 20052001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2006
2007 * MAINTAINERS: Update my email address.
2008
fcd8210c
AM
20092001-10-03 Alan Modra <amodra@bigpond.net.au>
2010
2011 * doc/Makefile.in: Regenerate.
2012 * configure: Regenerate.
2013
428409d5
NC
20142001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2015
2016 * readelf.c (display_debug_line, display_debug_pubnames,
2017 display_debug_info, display_debug_frames): Detect and warn
2018 about 64-bit format entries.
2019 (display_debug_aranges): Reword 64-bit warning.
2020 (debug_displays): Add .debug_pubtypes as a known, but not yet
2021 supported, debug section.
2022
6a8c2b0d
AM
20232001-10-02 Alan Modra <amodra@bigpond.net.au>
2024
2025 * coffdump.c (PROGRAM_VERSION): Delete.
2026 (main <'V'>): Call print_version.
2027 * srconv.c: Likewise.
2028 * sysdump.c: Likewise.
2029 * version.c (program_version): Remove.
2030 (print_version): Use BFD_VERSION_STRING. Just print the current
2031 year in copyright message.
2032 * addr2line.c (program_version): Remove unused declaration.
2033 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2034 place of BFD_VERSION.
2035 * Makefile.am (Makefile): Depend on bfd/configure.in.
2036 (cplus-dem.o): Depend on Makefile.
2037 Run "make dep-am".
2038 * Makefile.in: Regenerate.
2039
e414a165
NC
20402001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2041
2042 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2043 format .debug_arange sections.
2044 (main): Add missing prototype.
b8908f93 2045
efc3ee7f
HPN
20462001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2047
2048 * Makefile.am: Update dependencies with "make dep-am".
2049 * Makefile.in: Regenerate.
2050
9e85c2a0
RH
20512001-09-28 Richard Henderson <rth@redhat.com>
2052
2053 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2054
451dad9c
AM
20552001-09-26 Alan Modra <amodra@bigpond.net.au>
2056
2057 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2058 VA_CLOSE.
2059 (non_fatal): Likewise.
2060 * objdump.c (objdump_sprintf): Likewise.
2061 * readelf.c (error): Likewise.
2062 (warn): Likewise.
2063
d974e256
JJ
20642001-09-25 Jakub Jelinek <jakub@redhat.com>
2065
2066 * readelf.c (do_wide): New.
2067 (options): Add --wide.
2068 (usage, parse_args): Likewise.
2069 (process_program_headers): Put each segment on a single line if
2070 --wide is given.
2071 (process_section_headers): Put each section on a single line if
2072 --wide is given.
2073 * doc/binutils.texi: Document it.
2074 * NEWS: Likewise.
2075
2f11c261
AM
20762001-09-25 Alan Modra <amodra@bigpond.net.au>
2077
2078 * readelf.c (print_vma): Print 8 digits of low hex value.
2079
1d50f91e
AJ
20802001-09-24 Andreas Jaeger <aj@suse.de>
2081
2082 * nlmconv.c: Fix warnings about unused attributes and function
2083 prototypes.
2084
2085 * strings.c: Add prototype for get_char.
2086
38131e67
L
20872000-09-19 H.J. Lu <hjl@gnu.org>
2088
2089 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2090 $(srcdir)/cxxfilt.man.
2091 * doc/Makefile.in: Rebuild.
2092
3bcfb3e4
AM
20932001-09-19 Alan Modra <amodra@bigpond.net.au>
2094
2095 * objcopy.c (copy_main): Correct rename-section string parsing.
2096 Consolidate new_name parsing, and error messages.
2097
3882b010
L
20982001-09-18 Bruno Haible <haible@clisp.cons.org>
2099
2100 * addr2line.c: Don't include <ctype.h>.
2101 (main): For gettext, also set the LC_CTYPE locate facet.
2102 * ar.c (main): Likewise.
2103 * coffdump.c (main): Likewise.
2104 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2105 (main): For gettext, also set the LC_CTYPE locate facet.
2106 Use ISALNUM instead of isalpha/isdigit.
2107 * dllwrap.c: Don't include <ctype.h>.
2108 (main): For gettext, also set the LC_CTYPE locate facet.
2109 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2110 (main): For gettext, also set the LC_CTYPE locate facet.
2111 Use TOUPPER instead of islower/toupper.
2112 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2113 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2114 Use TOUPPER instead of islower/toupper.
2115 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2116 * objcopy.c (main): Likewise.
2117 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2118 (disassemble_bytes): Use ISPRINT instead of isprint.
2119 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2120 (dump_data): Use ISPRINT instead of isprint.
2121 (main): For gettext, also set the LC_CTYPE locate facet.
2122 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2123 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2124 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2125 Use TOUPPER instead of islower/toupper.
2126 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2127 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2128 (write_rc_accelerators): Use ISPRINT instead of isprint.
2129 (write_rc_rcdata): Likewise.
2130 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2131 * srconv.c (main): Likewise.
2132 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2133 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2134 isdigit/isupper/islower.
2135 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2136 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2137 stab_demangle_prefix, stab_demangle_qualified,
2138 stab_demangle_template, stab_demangle_type,
2139 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2140 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2141 (isgraphic): Use ISPRINT instead of isascii/isprint.
2142 (main): Remove HAVE_LC_MESSAGES dependency.
2143 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2144 (pbarray): Use ISPRINT instead of isprint.
2145 (main): For gettext, also set the LC_CTYPE locate facet.
2146 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2147 (format_from_filename): Use ISPRINT instead of isprint.
2148 (main): For gettext, also set the LC_CTYPE locate facet.
2149 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2150 (unicode_print): Use ISPRINT instead of isprint.
2151 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2152 (stab_variable): Use ISDIGIT instead of isdigit.
2153
e59b4dfb
AM
21542001-09-18 Alan Modra <amodra@bigpond.net.au>
2155
2156 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2157 Replace bfd_read call with call to bfd_bread.
2158 (extract_file): Likewise.
2159
2160 * objdump.c (dump_section_header): Cast section->filepos to
2161 unsigned long to suit printf format string.
2162 * readelf.c (process_section_headers): Similarly for sh_offset.
2163 (process_unwind): Likewise.
2164
d132876a
NC
21652001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2166
2167 * strings.c (encoding, encoding_bytes): New variables.
2168 (long_options): Add --encoding.
2169 (main): Accept -e and --encoding.
2170 (get_char): New function. Read a, possibly wide, character from
2171 the input stream.
2172 (print_strings): Use get_char().
2173 (usage): Document new command line option.
2174 * doc/binutils.texi: Document new command line option.
2175 * NEWS: Announce new command line option.
2176
7559e86e 21772001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2178
2179 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2180 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2181 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2182 Removed EM_CYGNUS_ARC.
2183
7559e86e 21842001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2185
2186 * readelf.c: Include elf/h8 for H8 series definitions.
2187 (guess_is_rela): H8 series if RELA.
2188 (dump_relocations): Handle H8 series relocations.
2189
0823fbca
EC
21902001-08-31 Eric Christopher <echristo@redhat.com>
2191
2192 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2193
8db76d70
PT
21942001-08-29 Peter Targett <peter.targett@arccores.com>
2195
2196 * MAINTAINERS: Include ARC Maintainer.
2197
d81d6584
BE
21982001-08-29 Ben Elliston <bje@redhat.com>
2199
2200 * stabs.c (stab_demangle_template): Initialise s4.
2201
25a1ff5b
AM
22022001-08-27 Alan Modra <amodra@bigpond.net.au>
2203
2204 * readelf.c (dump_relocations): Recognise EM_PPC64.
2205
a5d22d2a
TS
22062001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2207
2208 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2209
62a5a82d
L
22102001-08-25 H.J. Lu <hjl@gnu.org>
2211
2212 * nm.c (print_width): New.
2213 (display_rel_file): Set `print_width' according to
2214 bfd_sprintf_vma.
2215 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2216
1ae8b3d2
AO
22172001-08-24 Alexandre Oliva <aoliva@redhat.com>
2218
2219 * objcopy.c (use_alt_mach_code): New variable.
2220 (OPTION_ALT_MACH_CODE): Define.
2221 (copy_options): Added --alt-machine-code.
2222 (copy_main): Handle it.
2223 (copy_object): Switch to alternate machine code if requested.
2224 * doc/binutils.texi: Document new option.
2225 * NEWS: Likewise.
2226
d1bdd336
TS
22272001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2228
2229 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2230
410f7a12
L
22312001-08-21 H.J. Lu <hjl@gnu.org>
2232
2233 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2234 (display_debug_info): Cast for 64bit hosts.
2235 (display_debug_frames): Likewise.
2236 (process_mips_specific): Likewise.
2237
c32144ff
AJ
22382001-08-21 Andreas Jaeger <aj@suse.de>
2239
2240 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2241
2242 * sysdump.c: Add missing prototypes.
2243 * srconv.c: Likewise.
2244 * unwind-ia64.c: Likewise.
2245 * coffdump.c: Likewise.
2246
2247 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2248
2249 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2250 of declaring xcalloc.
2251
d8180c76
L
22522001-08-10 H.J. Lu <hjl@gnu.org>
2253
2254 * nm.c (print_value): Add one arg, bfd *.
2255 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2256 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2257 (print_symbol_info_sysv): Likewise.
2258 (print_symbol_info_posix): Likewise.
2259
2260 * objdump.c (dump_section_header): Replace printf_vma with
2261 bfd_printf_vma.
2262 (print_section_stabs): Likewise.
2263 (dump_bfd_header): Likewise.
2264 (objdump_print_value): Replace sprintf_vma with
2265 bfd_sprintf_vma.
2266 (disassemble_bytes): Likewise.
2267 (dump_reloc_set): Likewise.
2268
0218d1e4
AJ
22692001-08-10 Andreas Jaeger <aj@suse.de>
2270
2271 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2272 to build warnings.
2273 * configure: Regenerate.
2274
2863d58a
AM
22752001-08-09 Alan Modra <amodra@bigpond.net.au>
2276
2277 * readelf.c: Add missing prototypes.
2278 * objdump.c: Likewise. Format existing prototypes.
2279
c0e047e0
AO
22802001-08-08 Alexandre Oliva <aoliva@redhat.com>
2281
2282 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2283 of any RELA relocation for the abbrev_offset memory location that
2284 refers to the .debug_abbrev section symbol.
2285
ff78d6d6
L
22862001-08-07 H.J. Lu <hjl@gnu.org>
2287
2288 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2289 (main): Return process_file ().
2290
c36774d6
PB
22912001-08-05 Philip Blundell <philb@gnu.org>
2292
2293 * doc/binutils.texi: Use "Thumb" not "THUMB".
2294
8f9d9bd9
JH
22952001-08-03 John Healy <jhealy@redhat.com>
2296
bb279dc0
ZW
2297 Patch suggested by Frank Eigler <fche@redhat.com>.
2298 * objdump.c (disassemble_data): Fill in section member of the
2299 disasm_info structure.
8f9d9bd9 2300
c918cb96
DD
23012001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2302
2303 * configure.in: Added --with-windres option.
2304 * configure: Regenerated.
2305
c7c55b78
NC
23062001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2307
2308 * doc/binutils.texi: Use @command{name} for commands;
2309 use @option{-opt} for options; use @table @env for list of options;
2310 remove spaces arround [ | ] in synopsis.
2311
2312 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2313 center title.
2314
594ef5db
NC
23152001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2316
bb279dc0
ZW
2317 * objcopy.c: Fix formatting.
2318 (section_rename): New structure.
2319 (OPTION_RENAME_SECTION): New switch.
2320 (copy_usage): Document new switch.
2321 (add_section_rename): New function: Add a node to the section
2322 rename list.
2323 (find_section_rename): New function: Find the new name and
2324 flags for a section.
2325 (setup_section): Call find_section_name to determine the name
2326 of the output section.
2327 (copy_main): Handle OPTION_RENAME_SECTION.
2328 * binutils.texi: Document new switch.
594ef5db
NC
2329 * NEWS: Mention new switch.
2330
1f554c69
NC
23312001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2332
2333 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2334 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2335 bug-binutils@gcc.org.
2336
2f83960e
AM
23372001-07-28 Matthias Kramm <kramm@quiss.org>
2338
2339 * bucomm.c (list_supported_architectures): New function.
2340 * bucomm.h (list_supported_architectures): Declare.
2341 * objdump.c (usage): Call the above.
2342
20fe0649
DB
23432001-07-25 Dave Brolley <brolley@redhat.com>
2344
2345 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2346 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2347
1b577b00
NC
23482001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2349
2350 * README: Update for 2.11. Change bug reporting email address.
2351 * MAINTAINERS: Tidy up. Change bug reporting email address.
2352
95fd336c
DD
23532001-07-16 DJ Delorie <dj@redhat.com>
2354
5f16d855
DD
2355 * resres.c (write_res_header): Align header size.
2356 (res_align_file): Calculate alignment correctly.
2357
95fd336c
DD
2358 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2359 correct 10).
2360 * resrc.c (write_rc_resource): Likewise.
2361 * windres.h (SUBLANG_SHIFT): Define - as 10.
2362
ed8fee27
NC
23632001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2364
2365 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2366
90ab7e9a
NC
23672001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2368
2369 * MAINTAINERS: Add notes about branch checkins.
2370
e0c60db2
NC
23712001-07-05 Daniel Berlin <dan@cgsoftware.com>
2372
2373 * readelf.c (display_debug_macinfo): New function, display
2374 .debug_macinfo section.
2375 (do_debug_macinfo): New variable.
2376 (parse_args): Handle "-w[mM]" to mean display macro info.
2377 (process_section_headers): Handle debug_macinfo.
2378 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2379 function for .debug_macinfo display.
e0c60db2
NC
2380 * doc/binutils.texi: Document new command line switch.
2381 * NEWS: Document new feature of readelf.
0218d1e4 2382
24e01a36
L
23832001-07-05 H.J. Lu <hjl@gnu.org>
2384
2385 * objcopy.c (filter_symbols): Don't turn undefined symbols
2386 into local.
2387
4258bf4d
L
23882001-07-03 H.J. Lu <hjl@gnu.org>
2389
2390 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2391 $@.pod.
2392 (ar.1): Likewise.
2393 (dlltool.1): Likewise.
2394 (nlmconv.1): Likewise.
2395 (nm.1): Likewise.
2396 (objcopy.1): Likewise.
2397 (objdump.1): Likewise.
2398 (ranlib.1): Likewise.
2399 (readelf.1): Likewise.
2400 (size.1): Likewise.
2401 (strings.1): Likewise.
2402 (strip.1): Likewise.
2403 (windres.1): Likewise.
2404 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2405 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2406 $(DEMANGLER_NAME).
2407 (as.1): Removed.
2408 * doc/Makefile.in: Regenerated.
2409
7014bc31
NC
24102001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2411
2412 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2413
b811889f
NC
24142001-07-01 Daniel Berlin <dan@cgsoftware.com>
2415
2416 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2417
12ab83a9
NC
24182001-06-29 James Cownie <jcownie@etnus.com>
2419
2420 * readelf.c: Support DWARF 2.1 attributes.
2421
a6e9f9df
AM
24222001-06-28 Alan Modra <amodra@bigpond.net.au>
2423
2424 * readelf.c (GET_DATA_ALLOC): Remove.
2425 (GET_DATA): Remove.
2426 (get_data): New function combining above macros, with an extra
2427 test for zero size.
2428 (slurp_rela_relocs): Use get_data, and catch error return.
2429 (slurp_rel_relocs): Likewise.
2430 (get_32bit_program_headers): Likewise.
2431 (get_64bit_program_headers): Likewise.
2432 (get_32bit_section_headers): Likewise.
2433 (get_64bit_section_headers): Likewise.
2434 (get_32bit_elf_symbols): Likewise.
2435 (get_64bit_elf_symbols): Likewise.
2436 (process_section_headers): Likewise.
2437 (process_relocs): Likewise.
2438 (slurp_ia64_unwind_table): Likewise.
2439 (process_unwind): Likewise.
2440 (get_32bit_dynamic_segment): Likewise.
2441 (get_64bit_dynamic_segment): Likewise.
2442 (process_dynamic_segment): Likewise.
2443 (process_version_sections): Likewise.
2444 (process_symbol_table): Likewise.
2445 (dump_section): Likewise.
2446 (display_debug_info): Likewise.
2447 (display_debug_section): Likewise.
2448 (process_section_contents): Likewise.
2449 (process_corefile_note_segment): Likewise.
2450 (process_mips_specific): Likewise. Also free econf32, econf64.
2451
af3fc3bc
AM
24522001-06-25 Alan Modra <amodra@bigpond.net.au>
2453
2454 * readelf.c (dump_relocations): Print "bad symbol index" if
2455 symtab == NULL with non-zero symtab_index.
2456 (process_relocs): Don't bomb if reloc section has no symsec.
2457
6d900bf6
L
24582001-06-24 H.J. Lu <hjl@gnu.org>
2459
2460 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2461 by accident.
2462 (copy_main): Apply the the change made to strip_main on
2463 2001-05-30 by accident.
2464
49b4e386
AJ
24652001-06-23 Andreas Jaeger <aj@suse.de>
2466
2467 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2468 parameter 'code'.
2469 (unw_decode_x2): Likewise.
2470 (unw_decode_x3): Likewise.
2471 (unw_decode_x4): Likewise.
2472
d8dc71e3
BE
24732001-06-23 Ben Elliston <bje@redhat.com>
2474
2475 * MAINTAINERS: Add myself as M88k maintainer.
2476
af3bdff7
NC
24772001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2478
2479 * objcopy.c (strip_main): Support -o or --output-file command lien
2480 switch.
2481
105e7211
L
24822001-06-19 H.J. Lu <hjl@gnu.org>
2483
2484 * doc/Makefile.in: Regenerated.
2485
c45021f2
NC
24862001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2487
2488 * readelf.c: Restore formatting.
2489
24902001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2491
bb279dc0
ZW
2492 * Makefile.am: Move documentation into doc subdirectory.
2493 * Makefile.in: Regenerated.
c45021f2 2494 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2495 * addr2line.1: Removed.
2496 * ar.1: Likewise.
2497 * dlltool.1: Likewise.
2498 * nlmconv.1: Likewise.
2499 * nm.1: Likewise.
2500 * objcopy.1: Likewise.
2501 * objdump.1: Likewise.
2502 * ranlib.1: Likewise.
2503 * readelf.1: Likewise.
2504 * size.1: Likewise.
2505 * strings.1: Likewise.
2506 * strip.1: Likewise.
2507 * windres.1: Likewise.
2508 * cxxfilt.man: Likewise.
c45021f2
NC
2509 * doc: New Directory.
2510 * doc/Makefile.am: New file.
2511 * doc/Makefile.in: Generate.
2512
09ad7db3
AM
25132001-06-09 Alan Modra <amodra@bigpond.net.au>
2514
2515 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2516
936260fe
AM
25172001-06-01 Alan Modra <amodra@bigpond.net.au>
2518
2519 * MAINTAINERS: Update my email address.
2520
16b2b71c
NC
25212001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2522
2523 * objcopy.c: Add new switches: --keep-global-symbol,
2524 --keep-symbols, --localize-symbols, --keep-global-symbols and
2525 --weaken-symbols.
2526 * binutils.texi: Document new switches.
2527 * objcopy.1: Regenerate.
2528 * NEWS: Announce new feature.
2529
7036c0e1
AJ
25302001-05-28 Andreas Jaeger <aj@suse.de>
2531
2532 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2533 variables, fix format strings.
2534
76a406e5
NC
25352001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2536
2537 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2538 when computing the address of the line to show.
2539
31b6fca6
RH
25402001-05-16 Richard Henderson <rth@redhat.com>
2541
2542 * readelf.c (do_debug_frames_interp): New.
2543 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2544 (byte_get_big_endian): Likewise.
2545 (parse_args) ['F']: Set do_debug_frames_interp.
2546 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2547 (frame_display_row): Don't trunc pc_begin to int.
2548 (size_of_encoded_value): New.
2549 (display_debug_frames): Handle 64-bit targets. Print raw data
2550 unless do_debug_frames_interp.
2551 (debug_displays): Remove duplicate .debug_frame.
2552
4fe85591
NC
25532001-05-15 Ralf Baechle <ralf@gnu.org>
2554
2555 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2556 The former constant was never in active use and is used otherwise
2557 by the ABI.
2558
579f31ac
JJ
25592001-05-11 Jakub Jelinek <jakub@redhat.com>
2560
2561 * readelf.c (process_unwind): Print all unwind sections, not just
2562 one.
2563
78f4a3f7
AM
25642001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2565
2566 * readelf.c (process_unwind): Remove const specifier.
2567
1c529ca6
NC
25682001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2569
2570 * strings.c (isgraphic): Do not use isascii() unless it is needed
2571 for isprint() to work.
2572 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2573
87e6d782
NC
25742001-04-27 Johan Rydberg <jrydberg@opencores.org>
2575
bb279dc0 2576 * NEWS: Announce support for OpenRISC.
87e6d782 2577
4bd3d870 25782001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2579
2580 * dlltool.c (do_default_excludes): Initialise to true.
2581
21211521
AM
25822001-04-10 Alan Modra <amodra@one.net.au>
2583
2584 * MAINTAINERS: Update my email address
2585 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2586
0c66b61e 25872001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2588
2589 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2590
e58d53af
L
25912001-03-30 H.J. Lu <hjl@gnu.org>
2592
2593 * readelf.c (process_unwind): Just return if do_unwind is 0.
2594
bee72332
DD
25952001-03-28 Roger Sayle <roger@metaphorics.com>
2596
2597 * dlltool.c (make_one_lib_file): Fix section flags for
2598 .text, .data and .bss in stub ds*.o files to match those
2599 generated by gas.
2600
f1467e33
L
26012001-03-29 H.J. Lu <hjl@gnu.org>
2602
2603 * readelf.c (process_unwind): Only do unwind sections for
2604 IA64.
2605
1c6fb4fe
L
26062001-03-28 H.J. Lu <hjl@gnu.org>
2607
2608 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2609 * Makefile.in: Regenerate.
2610
0879a67a
AJ
26112001-03-26 Andreas Jaeger <aj@suse.de>
2612
2613 * binutils.texi (nm): Fix texi syntax.
2614
0285c67d
NC
26152001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2616
2617 * binutils.texi: Put @c man begin and @c man end indications
2618 to generate man pages using texi2pod and pod2man. Put @c man title
2619 to identify each man. Add SEEALSO entries.
2620 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2621 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2622 sort the list.
2623 (*.1): Build the man pages from binutils.texi.
2624 * Makefile.in: Regenerate.
2625
04847a4d
CF
26262001-03-13 Eric Kohl <ekohl@rz-online.de>
2627
2628 * defparse.y (opt_equal_name): allow "." in name.
2629 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2630 (gen_exp_file): Likewise.
2631
43a0748c
NC
26322001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2633
2634 * NEWS: Document addition of -B switch to objcopy.
2635 * binutils.texi: Document addition of -B switch to objcopy.
2636 * objcopy.c: (copy_options): Add --binary-architecture.
2637 (copy_usage): Document -B/--binary-architecture.
2638 (copy_main): Support -B/--binary-architecture. Set
2639 bfd_external_binary_architecture.
0879a67a 2640
b7498e0e
NC
26412001-03-11 Andreas Jaeger <aj@suse.de>
2642
2643 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2644 (dump_relocations): Likewise.
2645 (get_machine_name): Likewise.
2646
a59e3bd7
NC
26472001-02-28 Nick Clifton <nickc@redhat.com>
2648
2649 * readelf.c: (struct unw_aux_info): Remove const modifier for
2650 'strtab' field.
2651 (process_unwind): Remove non-K&R compliant LHS type cast in call
2652 to GET_DATA_ALLOC macro.
2653
a5bcd848
PB
26542001-02-28 Philip Blundell <pb@futuretv.com>
2655
2656 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2657 ABI is in use; remove ambiguity between the "unknown" EABI and
2658 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2659 renamed EF_xx constants.
2660
27b7e12d
AM
26612001-02-27 Alan Modra <alan@linuxcare.com.au>
2662
2663 * configure.in (BFD_VERSION): New.
2664 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2665 * configure: Regenerate.
2666 * Makefile.am: Run "make dep-am"
2667 * Makefile.in: Regenerate.
2668
a9f10786
NC
26692001-02-14 Nick Clifton <nickc@redhat.com>
2670
2671 * MAINTAINERS: Add "Obvious Fix" rule.
2672
3c44da9a
MS
26732001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2674
2675 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2676 literal concatenation.
2677
ecd03389
MS
26782001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2679
2680 * readelf.c (struct unw_aux_info): Remove const from the info member.
2681 (process_unwind): Don't type-cast the third argument to the
2682 GET_DATA_ALLOC macro.
2683
88ec60c7
NC
26842001-02-11 Nick Clifton <nickc@redhat.com>
2685
2686 * readelf.c (dump_relocations): Free corrected allocated
2687 array.
2688 (process_unwind): Fix compile time warning.
2689
f5e21966
NC
26902001-02-10 Nick Clifton <nickc@redhat.com>
2691
2692 * binutils.texi: Document new --unwind option to readelf.
2693
a85d7ed0
NC
26942001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2695
2696 * readelf.c: Add linux target for S/390.
2697
7bb10502
AM
26982001-02-10 Alan Modra <alan@linuxcare.com.au>
2699
2700 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2701 printf is a macro.
2702
8ca8f343
HPN
27032001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2704
2705 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2706 * aclocal.m4: Regenerate.
2707 * configure: Regenerate.
2708
7340082d
NC
27092001-02-07 Todd Vierling <tv@wasabisystems.com>
2710
2711 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2712 * objdump.c (bfd_target_vector): Likewise.
2713
4d6ed7c8
NC
27142001-02-07 David Mosberger <davidm@hpl.hp.com>
2715
2716 * readelf.c (process_unwind): New function.
2717 (slurp_ia64_unwind_table): Ditto.
2718 (dump_ia64_unwind): Ditto.
2719 (find_symbol_for_address): Ditto.
2720 (slurp_rela_relocs): New function (split off from dump_relocations()).
2721 (slurp_rel_relocs): Ditto.
2722 (parse_args): Handle '-u' option.
2723
2724 * unwind-ia64.c: New file.
2725 * unwind-ia64.h: New file.
2726 * Makefile.am: Include unwind-ia64.c in readelf build.
2727 * Makefile.in: Regenerate.
7340082d 2728 * po/binutils.pot: Regenerate.
4d6ed7c8 2729
c7217458
PB
27302001-02-04 Philip Blundell <philb@gnu.org>
2731
2732 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2733 * configure: Regenerate.
2734
956eedd4
AM
27352001-01-31 Steve deRosier <sderosier@vari-lite.com>
2736
2737 * ieee.c (ieee_add_bb11): Don't check for backslashes
2738 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2739
8855cbca
AM
27402001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2741
c7f2731e
AM
2742 * ieee.c: Update copyright.
2743 (ieee_start_compilation_unit): Don't check for backslashes
2744 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2745
8855cbca
AM
2746 * stabs.c: Update copyright. Include "filenames.h".
2747 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2748
329de803 27492001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2750
2751 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2752 sections are present before using them. Remove code duplication.
2753 (process_symbol_table): Check if VERDEF or VERNEED sections are
2754 present before using them.
2755
23719f39
NC
27562001-01-17 Nick Clifton <nickc@redhat.com>
2757
2758 * objcopy.c (copy_object): Fail if attempting to convert the
2759 endianness of the input object file.
2760
2761 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2762
f726e849
NC
27632001-01-16 Nick Clifton <nickc@redhat.com>
2764
2765 * readelf.c (string_table_length): New variable.
2766 (SECTION_NAME): Catch out of range indices and missing section
2767 pointers.
2768 (process_section_headers): Delete useless local variable
2769 string_table_offset. Set the value of string_table_length
2770 after loading the string table.
2771 (process_mips_specific): Use SECTION_NAME macro.
2772 (process_file): Set string_table_length to 0 when it is freed.
2773
d0398d6a
NC
27742001-01-12 Nick Clifton <nickc@redhat.com>
2775
2776 * version.c (print_version): Update copyright date.
2777
0d2bcfaf
NC
27782001-01-11 Peter Targett <peter.targett@arccores.com>
2779
2780 * readelf.c (dump_relocations): Include selection with EM_ARC.
2781 (get_machine_name) Update name to "ARC".
2782
8b1e6df3
NC
27832001-01-09 Nick Clifton <nickc@redhat.com>
2784
2785 * Makefile.am: Add rule to build objdump.o from objdump.c and
2786 using OBJDUMP_DEFS.
2787 * Makefile.in: Regenerate.
2788
2789 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2790 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2791 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2792 * configure: Regenerate.
8b1e6df3
NC
2793
2794 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2795 is defined read in the relocs even if dump_reloc_info is
2796 false.
2797
2f952d20
PB
27982001-01-07 Philip Blundell <philb@gnu.org>
2799
2800 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2801 `bug-binutils'.
2802 * README: Likewise.
2803
a8c548cb
NC
28042000-12-19 Nick Clifton <nickc@redhat.com>
2805
2806 * dlltool.c: Add missing support for arm-epoc-pe.
2807 * configure.in: Add missing support for arm-epoc-pe.
2808 * configure: Regenerate.
2809
cc5fda35
NC
28102000-12-15 Nick Clifton <nickc@redhat.com>
2811
2812 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2813 Mode parts of the x86 port.
2814
bcedfee6
NC
28152000-12-04 Andreas Jaeger <aj@suse.de>
2816
2817 * readelf.c (guess_is_rela): Add EM_X86_64.
2818 (dump_relocations): Add EM_X86_64.
2819 (get_machine_name): Add EM_X86_64.
2820 Include "elf/x86-64.h".
2821
584da044
NC
28222000-12-12 Nick Clifton <nickc@redhat.com>
2823
2824 * readelf.c: Fix formatting.
2825
7559e86e 28262000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2827
2828 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2829
a98cc2b2
AH
28302000-12-07 Andrew Haley <aph@redhat.com>
2831
2832 * readelf.c (display_debug_frames): Only display columns that are
2833 referenced by the frame debug info.
2834
c7987a69
NC
28352000-12-05 Nick Clifton <nickc@redhat.com>
2836
2837 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2838
09fd7e38
JM
28392000-12-04 Jason Merrill <jason@redhat.com>
2840
2841 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2842 (display_debug_section): Likewise.
2843 (display_debug_info): Display CU header before bailing.
2844
e7af610e
NC
28452000-12-01 Chris Demetriou <cgd@sibyte.com>
2846
09fd7e38
JM
2847 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2848 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2849 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2850
09fd7e38
JM
2851 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2852 and E_MIPS_ARCH_64.
84ea6cf2 2853
09fd7e38
JM
2854 * readelf.c (get_machine_flags): Add case for
2855 E_MIPS_MACH_SB1.
c6c98b38 2856
75066968
DD
28572000-11-30 Richard Earnshaw <rearnsha@arm.com>
2858
2859 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2860
5c4666ea
HPN
28612000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2862