* gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
2da42df6
AJ
12003-09-14 Andreas Jaeger <aj@suse.de>
2
3 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
4 unneeded (void *) casts.
5 * ar.c: Likewise.
6 * arlex.l: Likewise.
7 * arparse.y: Likewise.
8 * arsup.c: Likewise.
9 * binemul.c: Likewise.
10 * binemul.h: Likewise.
11 * bucomm.c: Likewise.
12 * bucomm.h: Likewise.
13 * budbg.h: Likewise.
14 * budemang.c: Likewise.
15 * budemang.h: Likewise.
16 * coffdump.c: Likewise.
17 * coffgrok.c: Likewise.
18 * cxxfilt.c: Likewise.
19 * debug.c: Likewise.
20 * debug.h: Likewise.
21 * deflex.l: Likewise.
22 * dlltool.c: Likewise.
23 * dlltool.h: Likewise.
24 * dllwrap.c: Likewise.
25 * emul_aix.c: Likewise.
26 * filemode.c: Likewise.
27 * ieee.c: Likewise.
28 * nlmconv.c: Likewise.
29 * nlmconv.h: Likewise.
30 * nlmheader.y: Likewise.
31 * nm.c: Likewise.
32 * prdbg.c: Likewise.
33 * rclex.l: Likewise.
34 * rcparse.y: Likewise.
35 * rdcoff.c: Likewise.
36 * rddbg.c: Likewise.
37 * rename.c: Likewise.
38 * resbin.c: Likewise.
39 * rescoff.c: Likewise.
40 * resrc.c: Likewise.
41 * size.c: Likewise.
42 * srconv.c: Likewise.
43 * stabs.c: Likewise.
44 * strings.c: Likewise.
45 * sysdump.c: Likewise.
46 * sysinfo.y: Likewise.
47 * syslex.l: Likewise.
48 * unwind-ia64.c: Likewise.
49 * unwind-ia64.h: Likewise.
50 * version.c: Likewise.
51 * windres.c: Likewise.
52 * windres.h: Likewise.
53 * winduni.c: Likewise.
54 * wrstabs.c: Likewise.
55
e831786b
JW
562003-09-10 James E Wilson <wilson@specifixinc.com>
57
58 * MAINTAINERS: Update my e-mail address.
59
afa7d0b2
ILT
602003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
61
62 * MAINTAINERS: Update my e-mail address.
63
04fbe429
NC
642003-09-04 Nick Clifton <nickc@redhat.com>
65
66 * MAINTAINERS: Make it clear what should be done with patches to
67 the top level configure files (other than config.guess and
68 config.sub). Add binutils@sources.redhat.com as an address to
69 which patches can be sent.
70
8ad30312
NC
712003-09-04 Nick Clifton <nickc@redhat.com>
72
73 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
74
92c2346c
AC
752003-09-03 Andrew Cagney <cagney@redhat.com>
76
77 * objdump.c: Refer to init_disassemble_info in comments.
78 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
79 init_disassemble_info.
80
155e0d23
NC
812003-09-03 Nick Clifton <nickc@redhat.com>
82
83 * objdump.c (struct objdump_disasm_info): Add new fields
84 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
85 (process_section_p): New function: Returns TRUE if a section
86 can be dumped.
87 (disassemble_section): New function: Contains the body of
88 disassemble_data(), but just for one section.
89 (disassemble_data): Use bfd_map_over_sections to walk section
90 chain.
91 (find_stabs_section): New function: Find a stabs containing
92 section and then dump it.
93 (dump_stabs_section): New function: Use bfd_map_over_sections
94 to find the section to dump.
95 (dump_stabs): Use dump_stabs_section.
96 (dump_section): New function: Display the contents of a
97 section.
98 (dump_data): Use bfd_map_over_sections to display section
99 contents.
100 (dump_relocs_in_section): Display the relocs in a given section.
101 (dump_relocs): Use bfd_map_over_sections to display relocs.
102 (adjust_addresses): New function: Adjust the vma and lma of
103 sections.
104 (dump_bfd): Use bfd_map_over_sections.
105 * doc/binutils.texi: Document the "objdump -s" (no longer)
106 dumps empty sections.
107
1082003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
109
110 * objdump.c: Improve comments/documentation.
111 dump_data: Eliminate duplicate function calls to bfd_section_size.
112
6b10f68d
AM
1132003-09-02 Alan Modra <amodra@bigpond.net.au>
114
115 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
116
3673a93e
NC
1172003-08-21 Nick Clifton <nickc@redhat.com>
118
119 * po/tr.po: Updated Turkish translation.
120
51f7282a
AM
1212003-08-14 Alan Modra <amodra@bigpond.net.au>
122
55bb4be3 123 * dep-in.sed: Remove libintl.h.
51f7282a 124 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 125 Run "make dep-am".
51f7282a
AM
126 * Makefile.in: Regenerate.
127
d989285c
ILT
1282003-08-11 Ian Lance Taylor <ian@airs.com>
129
130 * readelf.c (process_archive): Fix error handling. Remove memory
131 leak.
fb52b2f4
NC
132
133 * readelf.c: Add ability to read archives.
134 (archive_file_offset): New variable.
135 (archive_file_size): New variable.
136 (get_data): Include archive_file_offset in file offset
137 calculation when fseeking.
138 (process_program_headers): Likewise.
139 (process_symbol_table): Likewise.
140 (process_dynamic_segment): Handle computation of end of file
141 position when the file is in an archive.
142 (process_object): New function. Contains the body of
143 process_file().
144 (process_archive): New function. Call process_object on each
145 member of an archive.
146 (process_file): Detect archives and handle appropriately.
147 * Makefile.am: Add dependency on aout/ar.h for readelf.c
148 * Makefile.in: Regenerate.
149 * NEWS: Document readelf's new ability.
150 * doc/binutils: Alter text to say that readelf supports archives
151 and 64-bit ELF files.
152
ff85ab24
NC
1532003-08-08 Nick Clifton <nickc@redhat.com>
154
155 * po/fr.po: Updated French translation.
156
d3ba0551
AM
1572003-08-05 Alan Modra <amodra@bigpond.net.au>
158
159 * objcopy.c: Remove unnecessary prototypes and casts.
160 * objdump.c: Remove unnecessary casts.
161 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
162 (get_osabi_name): Move so we don't need a forward declaration.
163
43ac9881
AM
1642003-08-04 Bradley Harrington <bharring@us.ibm.com>
165 Alan Modra <amodra@bigpond.net.au>
166
167 * objdump.c (include_paths, include_path_count): New vars.
168 (usage): Describe --include.
169 (long_options): Add "include".
170 (add_include_path): New function.
171 (struct print_file_list): Make filename const. Add modname.
172 (try_print_file_open, update_source_path): New functions.
173 (show_line): Use them.
174 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
175
fd7bb956
AM
1762003-07-30 Alan Modra <amodra@bigpond.net.au>
177
178 * objdump.c: Remove unnecessary prototypes.
179 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
180 code, and print relocs when dump_dynamic_reloc_info.
181 (disassemble_data): Read and handle dynamic relocs. Correct reloc
182 skip code. Formatting.
183 (dump_bfd): Don't dump dynamic relocs when disassembling.
184
1e7e751f
BE
1852003-07-29 Ben Elliston <bje@wasabisystems.com>
186
187 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
188 maintenance defaults to the blanket write privilege maintainers.
189
2445335e
MM
1902003-07-29 Michael Meissner <gnu@the-meissners.org>
191
192 * MAINTAINERS: Updated my email address.
193
46dca2e0
NC
1942003-07-29 Nick Clifton <nickc@redhat.com>
195
1e7e751f 196 * objdump.c: Update to ISO C.
46dca2e0 197
834d807b
NC
1982003-07-24 Nick Clifton <nickc@redhat.com>
199
f1e2bc62
NC
200 * objdump.c (disassemble_data): Do not ignore sections without the
201 LOAD flag when disassemble_all is true. Only print a message
202 about disassembling a section if it contains some data.
203
834d807b
NC
204 * po/fr.po: Updated French translation.
205
84e2f313
NC
2062003-07-23 Nick Clifton <nickc@redhat.com>
207
208 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
209 left in. Some formatting tidy ups.
210
51cdc6e0
NC
2112003-07-22 Salvador Eduardo Tropea <set@computer.org>
212
213 * objdump.c: New command line option --debugging-tags.
214 * doc/binutils.texi: Document new command line option.
215 * prdbg.c: Code to print the debug info as tags compatible
216 with ctags.
217 * budbg.h: Adjust prototype.
218 * NEWS: Mention new switch
219
31e0f3cd
NC
2202003-07-18 Nick Clifton <nickc@redhat.com>
221
222 * objdump.c (main) :Accept multiple -M switch.
223 * doc/binutils.texi: Document that multiple -M switches are
224 accepted and that a single -M switch can contain comma
225 separated options.
226
073fbac6
NC
2272003-07-17 Nick Clifton <nickc@redhat.com>
228
229 * objdump.c (main): Issue a warning message if multiple -M
230 switches are used.
231
232 * doc/binutils.texi (objdump): Update documentation about -M
233 option.
234
6c37ac4d
NC
2352003-07-17 Nick Clifton <nickc@redhat.com>
236
237 * po/es.po: New Spanish translation.
238
fce00800
AM
2392003-07-11 Alan Modra <amodra@bigpond.net.au>
240
241 * po/binutils.pot: Regenerate.
242
ff6b6222
CF
2432003-07-05 Christopher Faylor <cgf@redhat.com>
244
245 * dlltool.c (prefix_encode): Use a fixed length for alpha.
246
bf7a6389
CF
2472003-07-04 Christopher Faylor <cgf@redhat.com>
248
249 * dlltool.c (prefix_encode): New function. Encode temp file prefix
250 from pid.
251 (dlltmp): Pass address of pointer being alloced or suffer neverending
252 mallocs.
253 (make_one_lib_file): Allocate enough space for new longer stub names.
254 (gen_lib_file): Ditto.
255 (main): Generate the temp file prefix from the pid if prefix was not
256 specified on the command line.
257
96c223ce
NC
2582003-07-04 Nick Clifton <nickc@redhat.com>
259
260 * readelf.c (get_data): Print (unsigned) hex values for size and
261 offset in error messages.
262 (process_section_headers): If the string table could not be
263 allocated, do not continue.
264
bdf4d63a
JJ
2652003-07-01 Jakub Jelinek <jakub@redhat.com>
266
267 * readelf.c (dynamic_segment_ia64_val): Print address and newline
268 for sections by default. Comment fix.
269
b9ae0492
DS
2702003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
271
272 * rcparse.y (res_text_field): New res_id variable.
273 (res_null_text): New static const struct res_id object,
274 with empty unicode name field.
275 (control): Pop parsing of optresidc up one level. Set
276 res_text_field to $2 except for controls which do not accept
277 a text field. Set res_text_field to res_null_text for the
278 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
279 (control_params): Adjust to use res_text_field rather
280 than optresidc.
281 (COMBOBOX): Add comment about discrepency between documented
282 vs. observed default style.
283 * resrc.c (define_control): Make first param const.
284 * windres.h (define_control): Adjust prototype.
285
e7c81c25
NC
2862003-06-27 Nick Clifton <nickc@redhat.com>
287
288 * objcopy.c (copy_object): Replace call to
289 bfd_create_gnu_debuglink_section with seperate calls to
290 bfd_add_gnu_debuglink_section and
291 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
292 symbol tables.
293
d93f0186
NC
2942003-06-26 Roland McGrath <roland@redhat.com>
295
296 * readelf.c (loadaddr): Variable removed.
297 (dynamic_info, version_info): Fix type long -> bfd_vma.
298 (program_headers): New variable.
299 (get_program_headers): New function, broken out of
300 process_program_headers.
301 (process_program_headers): Call it. Don't set `loadaddr'.
302 (slurp_ia64_unwind_table): Use get_program_headers.
303 (process_corefile_note_segments): Likewise.
304 (offset_from_vma): New function.
305 (process_relocs, process_dynamic_segment): Call that instead of
306 subtracting `loadaddr'.
307 (process_version_sections, process_symbol_table): Likewise.
308 (process_mips_specific): Likewise.
309
ed1653a7
NC
3102003-06-26 Nick Clifton <nickc@redhat.com>
311
312 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
313 (OPTION_ONLY_KEEP_DEBUG): New.
314 (strip_options): Add --only-keep-debug.
315 (copy_options): Likewise.
316 (is_strip_section): Invert return value if STRIP_NONDEBUG is
317 active.
318 (copy_object): Do not copy private data when STRIP_NONDEBUG is
319 active.
320 (setup_section): Likewise.
321 (strip_main): Handle --only-keep-debug.
322 (copy_main): Likewise.
323 * NEWS: Mention new switch
324 * doc/binutils.texi: Document new switch.
325
1049f94e
AM
3262003-06-25 Alan Modra <amodra@bigpond.net.au>
327
328 * NEWS: Correct spelling of "relocatable".
329 * objdump.c: Likewise.
330 * sysroff.info: Likewise.
331
b19aac67
NC
3322003-06-19 Nick Clifton <nickc@redhat.com>
333
334 * readelf.c (print_vma): When printing DEC_5 values, if the
335 number is bigger than 99999 switch to using hexadecimal
336 notation.
337
2593f09a
NC
3382003-06-11 Nick Clifton <nickc@redhat.com>
339
340 * objcopy.c (gnu_debuglink_filename): New variable.
341 (OPTION_ADD_GNU_DEBUGLINK): New switch
342 (copy_options): Describe --add-gnu-debuglink switch.
343 Mention that --strip-debug removes sections as well.
344 (is_strip_section): Process the sections removed and kept
345 lists before checking for debugging sections.
346 (add_redefine_syms_file): Make function static.
347 (copy_object): Use is_strip_section.
348 Check to see if a .gnu_debuglink section should be added. If
349 so, call bfd_add_gnu_debuglink.
350 (setup_section): Use is_strip_section.
351 (copy_section): Use is_strip_section.
352 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
353 * NEWS: Mention new objcopy switch.
354 * doc/binutils.texi: Document new switch.
355
3b443373
L
3562003-06-11 H.J. Lu <hongjiu.lu@intel.com>
357
358 * po/Make-in (DESTDIR): New.
359 (install-data-yes): Support $(DESTDIR).
360 (uninstall): Likewise.
361
795bb480
AM
3622003-06-11 Alan Modra <amodra@bigpond.net.au>
363
364 * Makefile.in: Regenerate.
365
9ee5e499
JJ
3662003-05-23 Jakub Jelinek <jakub@redhat.com>
367
368 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
369
a3b6428f
NC
3702003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
371
372 * NEWS: Document the new BSD/POSIX single-character mapping for
373 .comment/.note sections.
374
92991082
JT
3752003-06-02 Chris Demetriou <cgd@broadcom.com>
376 Jason Thorpe <thorpej@wasabisystems.com>
377
378 * objcopy.c (redefine_list_append): Add an argument that
379 indicates the context from which this function is being
380 called. Change all callers.
381 (copy_options): Add a new option, --redefine-syms.
382 (copy_usage): Document new option.
383 (copy_main): Handle the --redefine-syms option.
384 * doc/binutils.text (objcopy): Document new option.
385
38fafa6d
RH
3862003-05-31 Richard Henderson <rth@redhat.com>
387
388 * readelf.c (byte_get_signed): New.
389 (get_encoded_value): New.
390 (display_debug_frames): Use it. Always pre-process opcodes.
391
636fc387
ML
3922003-05-20 Michal Ludvig <mludvig@suse.cz>
393
394 * readelf.c (display_debug_frames): Print both registers
395 for DW_CFA_register.
396
80c7c40a
NC
3972003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
398
399 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
400 i[3-7]86-*-interix.
401 * configure.in: Regenerate.
402
0fcdcb91
NC
4032003-05-13 Michael Eager <eager@mvista.com>
404
405 * objcopy.c: Treat identical src/dst file names as if only one
406 entered. One Windows creating an output file of the same name as
407 the input file will delete the input file before it is read.
408
7ab5f2ed
NC
4092003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
410
411 * debug.c (debug_get_real_type): Extend test for circular debug
412 references.
413
3c92310f
NC
4142003-05-12 Nick Clifton <nickc@redhat.com>
415
416 * configure.in (ALL_LINGUAS): Add zh_CN.
417 * configure: Regenerate.
418 * po/zh_CN.po: New file: Chinese (simplified) translation.
419
d68c07bb
JE
4202003-05-11 Jason Eckhardt <jle@rice.edu>
421
422 * MAINTAINERS: Update my mail address.
423
8beeaeb7
L
4242003-05-07 H.J. Lu <hongjiu.lu@intel.com>
425
426 * readelf.c (dump_relocations): Enlarge the type field in wide
427 mode by one character.
428
63044634
RH
4292003-05-03 Richard Henderson <rth@redhat.com>
430
431 * readelf.c (struct Frame_Chunk): Add cfa_exp.
432 (frame_display_row): Just print "exp" for cfa or register
433 defined by a location expression.
434 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
435 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
436
6e50c90c
L
4372003-04-30 H.J. Lu <hjl@gnu.org>
438
439 * objdump.c (only): Change it to char **.
440 (only_size): New.
441 (only_used): New.
442 (disassemble_data): Check only as an array.
443 (dump_data): Likewise.
444 (dump_relocs): Likewise.
445 (main): Treat only as an array.
446
edbedb71
NC
4472003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
448
449 * doc/binutils.texi: Fix the documentation for the -fo option.
450
3f7de0e7
NC
4512003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
452
ef230218
JR
453 * readelf.c (get_machine_name) <EM_SH>: Amend return value
454 to refer to SuperH.
455
3f7de0e7
NC
456 * readelf.c (decode_location_expression): Don't add a trailing ';'.
457
32df8966
NC
4582003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
459 Nick Clifton <nickc@redhat.com>
460
461 * windres.c (long_options): Move close to main, where it is used.
462 Add 'input' and 'output' long options.
463 (main): Accept "-fo" as an alias for "-o". This is for rc
464 comptibility.
465 * doc/binutils.texi: Mention that -fo is accepted as an alias for
466 -o, but discourage its use.
467
85eb5110
NC
4682003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
469
470 * windres.c (format_from_name): Make the exit on error
471 behaviour optional.
472 (main): Rename the -I option to -J. Introduce -I as a synonym
473 for --include-dir. For backwards compatibility also support the
474 old -I behaviour, but issue a deprecation warning.
475 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
476 of the -I option.
477
26597c86
NC
4782003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
479
480 * readelf.c: Replace references to Mitsubishi M32R with
481 references to Renesas M32R.
482
c2dcd04e
NC
4832003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
484
485 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
486
c1124b23
AO
4872003-04-09 Alexandre Oliva <aoliva@redhat.com>
488
489 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
490 for debugging information types not supported by objdump.
491
e5076347
AM
4922003-04-09 Bernd Jendrissek <berndj@prism.co.za>
493
494 * configure.in: Recognize canonical form of i[3-6]86-pe*.
495 * configure: Regenerate.
496
adab8cdc
AO
4972003-04-09 Alexandre Oliva <aoliva@redhat.com>
498
499 * readelf.c (display_debug_info): Apply RELA relocations on the
500 entire section.
501 (byte_put_little_endian, byte_put_big_endian): New functions.
502 (byte_put): New variable.
503 (get_file_header): Initialize it.
504
3077f5d8
NC
5052003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
506
507 * windres.c: Add -l for compatibility with wrc, and rc.
508 Use the short option as a key for long options that have
509 a synonymous short option.
510 * doc/binutils.texi: Added -l to the list of options.
511
29b058f1
NC
5122003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
513
3077f5d8
NC
514 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
515 (main): Just pass the -U option down to the preprocessor.
516 * doc/binutils.texi: Added -U to the list of options.
29b058f1 517
3126d709
CF
5182003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
519
520 * windres.c (usage): Report -r option.
521 (main): Ignore the -r option.
522 * doc/binutils.texi: Add -r to the list of options.
523
c46ac711
BW
5242003-04-01 Bob Wilson <bob.wilson@acm.org>
525
526 * MAINTAINERS: Add myself as Xtensa maintainer.
527
88da6820
NC
5282003-04-01 Bob Wilson <bob.wilson@acm.org>
529
3077f5d8
NC
530 * readelf.c: Include "elf/xtensa.h".
531 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
532 targets that use RELA relocations.
533 (dump_relocations): Call elf_xtensa_reloc_type for
534 EM_XTENSA and EM_XTENSA_OLD.
535 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 536
27a710e5
NC
5372003-04-01 Nick Clifton <nickc@redhat.com>
538
539 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
540 thumb-pe*, mcore-pe and mcore-*elf.
541 * configure: Regenerate.
542
335a1869
AO
5432003-03-31 Alexandre Oliva <aoliva@redhat.com>
544
545 * objdump.c (dump_data): Don't truncate the address to long; make
546 the width large enough, and uniform for all entries in a section.
547
566b0d53
L
5482003-03-31 H.J. Lu <hjl@gnu.org>
549
550 * readelf.c: Include "libiberty.h".
551 (dynamic_relocations): New.
552 (process_relocs): Properly handle dynamic relocation.
553 (process_dynamic_segment): Fill relocation elements in
554 dynamic_info.
555
ee42cf8c
NC
5562003-03-31 Kevin Buettner <kevinb@redhat.com>
557
558 * readelf.c (read_and_display_attr, read_and_display_attr_value):
559 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
560 all callers.
561 (display_debug_lines, display_debug_pubnames, display_debug_info)
562 (display_debug_aranges, display_debug_frames, read_and_display_attr)
563 (read_and_display_attr_value): Add 64-bit DWARF support.
564
7adbf450
NC
5652003-03-31 Ian Lance Taylor <ian@airs.com>
566
567 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
568 (optresid): Handle a resource id that can be a string or a number.
569 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
570 struct res_id.
571 (define_icon_control): Pass a struct res_id to define_control.
572 * windres.h (define_control): Change prototype.
573
06d86cf7
NC
5742003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
575
7c29036b
NC
576 * objcopy (OPTION_FORMATS_INFO): Define.
577 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
578 (copy_options): Likewise.
579 (strip_usage): Add "--info" to usage.
580 (copy_usage): Likewise.
581 (strip_main): Declare formats_info. Iniatilize it to FALSE.
582 Handle "info".
583 (copy_main). Likewise.
584 * doc/binutils.texi. Document the "--info" option for
585 objcopy/strip.
586 * NEWS: Mention the new command line switch.
587
06d86cf7
NC
588 * objdump.c (endian_string): Move to bucomm.c.
589 (display_info): Likewise.
590 (display_target_list): Likewise.
591 (display_info_table): Likewise.
592 (display_target_tables): Likewise.
593 (main): Assign the return value of display_info to exit_status.
594 * bucomm.c: Include bfdver.h and libbfd.h
595 (display_target_list): Call bfd_nonfatal instead of nonfatal and
596 return 0 on a non-fatal error, 1 on success.
597 (display_info_table): Likewise.
598 * bucomm.h (display_info): Provide a prototype.
599 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
600 libbfd.h.
601 * Makefile.in: Regenerate.
602
7adbf450 6032003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
604
605 * dlltool.c (gen_def_file): Put demangled name comments on
606 own line preceding export name.
607
98a91d6a
NC
6082003-03-17 Nick Clifton <nickc@redhat.com>
609
610 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
611 printf for emitting new lines.
612
06a30c77
NC
6132003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
614
615 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
616 the symbol's value when --size-sort is used, unless -S is used.
617 doc/binutils.texi (--size-sort): For non-bsd formats both the
618 value and size of the symbols are displayed.
619
ab829d36
NC
6202003-03-13 Nick Clifton <nickc@redhat.com>
621
622 * po/da.po: Update.
623
634847c9
NC
6242003-03-12 Nick Clifton <nickc@redhat.com>
625
626 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
627
3889f9eb
BE
6282003-03-10 Ben Elliston <bje@wasabisystems.com>
629
630 * MAINTAINERS: Update my mail address.
631
7eb5191a
NC
6322003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
633
634 * stabs.c (BYTES_IN_WORD): Remove definition.
635 * wrstabs.c (BYTES_IN_WORD): Likewise.
636
e3b83c8f
NC
6372003-03-04 Nick Clifton <nickc@redhat.com>
638
639 * nm.c (main): Print a warning message if --size-sort and
640 --undefined-only are used together.
641
6422003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
643
644 * nm.c (print_symbol): Remove check for undefined_only.
645
a9d68a1e
NC
6462003-03-03 Nick Clifton <nickc@redhat.com>
647
648 * po/da.po: Installed latest translation.
649
a99996bb
NC
6502003-02-24 Nick Clifton <nickc@redhat.com>
651
652 * README: Update binutils references to 2.13.
653 Add paragraph about using --disable-nls.
654
76ed1927
NC
6552003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
656
657 * doc/binutils.texi (nm --size-sort): Update.
658
0100f33b
JW
6592003-02-21 James E Wilson <wilson@tuliptree.org>
660
661 * MAINTAINERS: Update email address.
662
ecc51f48
NC
6632003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
664
665 * readelf.c (get_ia64_dynamic_type): New function.
666 (dynamic_segment_ia64_val): New function.
667 (get_dynamic_type): If machine type is EM_IA_64 call
668 get_ia64_dynamic_val.
669 (get_ia64_section_type_name): Handle sections with types in the
670 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
671 (get_dynamic_flags): If machine type is EM_IA_64 call
672 dynamic_segment_ia64_val.
673
947ed062
NC
6742003-02-21 Bob Wilson <bob.wilson@acm.org>
675
676 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
677 section title capitalization more consistent. Update descriptions
678 of various options to be consistent with the code. Fix errors and
679 incomplete list in the description of c++filt format options. Remove
680 information about the linker. Change to be more polite about poor
681 bug reports. Replace FDL appendix with include of fdl.texi.
682 * doc/fdl.texi: New file.
683
66491ebc
AM
6842003-02-21 Roger Sayle <roger@eyesopen.com>
685
686 * objcopy.c (filter_symbols): Fix compilation problems with
687 HP-UX's C compiler.
688
0e11a9e9
CF
6892003-02-19 Christopher Faylor <cgf@redhat.com>
690
691 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
692 previous change.
693
6e5f5201
CF
6942003-02-19 Mark Blackburn <marklist@fangorn.ca>
695
0e11a9e9 696 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 697
f0c8c24a
NC
6982003-02-12 Bob Wilson <bob.wilson@acm.org>
699
700 * nm.c (usage): Add `java' and `gnat' demangle styles and make
701 quotes consistent.
702 * objdump.c (usage): Ditto. Also fix some typos.
703
d3c543fd
NC
704 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
705
fe2c4142
NC
706 * debug.c (debug_record_variable): Handle global register variables.
707
6de15b9e
NC
708 * stabs.c (parse_stab): For N_SLINE only include
709 function_start_offset if the symbol is within a function;
710 otherwise, the value is absolute.
711
fde78edd
NC
7122003-02-10 Nick Clifton <nickc@redhat.com>
713
714 * readelf.c (decode_ARM_machine_flags): Handle the
715 EF_ARM_MAVERICK_FLOAT flag.
716
22d82235
AS
7172003-02-04 Andreas Schwab <schwab@suse.de>
718
719 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
720 long and use %ld in printf format.
721
1a677ea8
RS
7222003-01-28 Richard Sandiford <rsandifo@redhat.com>
723
724 * readelf.c (dump_relocations): Reorder the r_info field for
725 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
726
8dde85fc
NC
7272003-01-21 Daniel Berlin <dan@dberlin.org>
728
729 * readelf.c (display_debug_loc): Skip address base changes.
730
c6f8bb1e
AM
7312003-01-17 Fabio Alemagna <falemagn@aros.org>
732
733 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
734 and ELFOSABI_NSK.
735
c833c019
AM
7362003-01-16 Alan Modra <amodra@bigpond.net.au>
737
738 * readelf.c: Include elf/ppc64.h.
739 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
740 * Makefile.am: Run "make dep-am".
741 * Makefile.in: Regenerate.
742
3b36097d
SC
7432003-01-02 Ben Elliston <bje@redhat.com>
744
745 * readelf.c (guess_is_rela): Handle EM_IQ2000.
746 (get_machine_name): Likewise.
747 (dump_relocations): Likewise.
748 * NEWS: Mention IQ2000 support.
749
cb44e358
RS
7502003-01-02 Richard Sandiford <rsandifo@redhat.com>
751
752 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
753
af7ee8bf
CD
7542002-12-30 Chris Demetriou <cgd@broadcom.com>
755
756 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
757 changes in MIPS -M options.
758
2469cfa2
NC
7592002-12-30 Dmitry Diky <diwil@mail.ru>
760
761 * Makefile.am: Add msp430 target.
762 * Makefile.in: Regenerate.
763 * readelf.c: Add support for msp430 target.
764
640c0ccd
CD
7652002-12-27 Chris Demetriou <cgd@broadcom.com>
766
767 * doc/binutils.texi (objdump): Document MIPS -M options.
768
59f14fc0
AS
7692002-12-23 Andreas Schwab <schwab@suse.de>
770
771 * readelf.c (main): Reset dump request after each file.
772
312b768e
NC
7732002-12-23 Nick Clifton <nickc@redhat.com>
774
775 * nlmconv.c (main): Pass TRUE as third argument to
776 bfd_arch_get_compatible.
777
8745eafa
NC
7782002-12-23 Nick Clifton <nickc@redhat.com>
779
780 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
781 macro. Handle 'S' encoding, accepting 8-bit characters.
782 (main): Parse 'S' encoding.
783 (get_char): Accept 'S' encoding.
784 (print_strings): Use STRING_ISGRAPHIC.
785 (usage): Document support of 'S' encoding.
786 * doc/binutils.texi: Document support of 'S' encoding/
787 * NEWS: Mention new feature.
788
08213ebb
AM
7892002-12-20 Alan Modra <amodra@bigpond.net.au>
790
791 * README <building ar>: Don't use libibery's needed_list or
792 required_list, instead link libiberty/*.o.
793
b9e5d8e5
KH
7942002-12-19 Kazu Hirata <kazu@cs.umass.edu>
795
796 * doc/binutils.texi: Fix typos.
797
c51238bc
DA
7982002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
799
800 * doc/binutils.texi: Add missing parenthesis.
801
d7fb0dd2
NC
8022002-12-15 Nick Kelsey <nickk@ubicom.com>
803
804 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
805 symbols by adding the given prefix to the begining of the symbol
806 name. This is useful to provide name space seperation regardless
807 of how the object file was created. Added --prefix-sections=
808 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
809 sections (or all sections with the alloc flag set) by adding the given
810 prefix to the begining of the symbol name.
811 * NEWS: Mention this new feature.
812 * doc/binutils.texi: Document this new feature.
813
55b9cdf1
AM
8142002-12-13 Alan Modra <amodra@bigpond.net.au>
815
816 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
817 dyn_string_append with dyn_string_append_cstr.
818
819 * emul_aix.c (ar_emul_aix_create): Remove unused function.
820
84ad6ede
NC
8212002-12-10 James Cownie <jcownie@etnus.com>
822
823 * readelf.h (get_TAG_name, get_AT_name,
704afb58 824 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
825 DWARF2 spec.
826 * NEWS: Mention this new support.
827
7d036af2
AM
8282002-12-08 Alan Modra <amodra@bigpond.net.au>
829
830 * NEWS: Mention that bfd no longer declares a "boolean" type.
831
3e8bba36
AM
8322002-12-07 Alan Modra <amodra@bigpond.net.au>
833
834 * readelf.c (process_program_headers): When setting loadaddr, don't
835 assume segment size is 4k. Use p_align instead.
836 (loadaddr): Change from int to long.
837 (dynamic_addr, dynamic_info, version_info): Likewise.
838 (process_dynamic_segment <syminsz>): Likewise.
839 (process_dynamic_segment): Adjust print format string.
840 (rela_addr, rela_size): Delete.
841 (process_relocs): Formatting.
842
d070dab9
JW
8432002-12-05 Jim Wilson <wilson@redhat.com>
844
845 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
846 * configure: Regenerate.
847
45bcbdb1
ILT
8482002-12-04 Ian Lance Taylor <ian@airs.com>
849
850 * MAINTAINERS: Change e-mail address back to airs.com.
851
42ea8716
AH
8522002-12-04 Aldy Hernandez <aldyh@redhat.com>
853
854 * MAINTAINERS: Add self.
855
b34976b6
AM
8562002-11-30 Alan Modra <amodra@bigpond.net.au>
857
858 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
859 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
860 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
861 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
862 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
863 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
864 with TRUE/FALSE. Formatting.
865
c8286bd1
JJ
8662002-11-29 Jakub Jelinek <jakub@redhat.com>
867
868 * readelf.c Replace occurrences of Elf32_Internal_* and
869 Elf64_Internal_* with Elf_Internal_*.
870 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
871 Zero r_addend fields.
872 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
873 Elf_Internal_Rela.
874
92acdfaf
NC
8752002-11-23 Nick Clifton <nickc@redhat.com>
876
877 * size.c (usage): Fix typo describing switch for hex format.
878
48c5eb8a
SS
8792002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
880
881 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
882 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
883 testcase
884
2f62977e
NC
8852002-11-14 Nick Clifton <nickc@redhat.com>
886
887 * readelf.c (process_program_headers): Add comment about return
888 value. Ensure that 0 is returned if the headers are not loaded.
889 (process_file): If process_section_headers failed to load the
890 headers disable any tests that rely upon them. Similarly for
891 process_program_headers.
892
cd24c222
NC
8932002-11-12 Nick Clifton <nickc@redhat.com>
894
895 * po/da.po: Updated Danish translation.
896
f3931575
AM
8972002-11-12 Klee Dienes <kdienes@apple.com>
898
899 * rddbg.c (read_section_stabs_debugging_info): Also recognize
900 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
901
b54e7460
CF
9022002-11-11 Christopher Faylor <cgf@redhat.com>
903
904 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
905 cgf maintainership.
906
4f17cc13
CF
9072002-11-11 Christopher Faylor <cgf@redhat.com>
908
909 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
910
232e7cb8
NC
9112002-11-07 Nick Clifton <nickc@redhat.com>
912
cd24c222 913 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
914 * configure: Regenerate.
915 * po/da.po: New Danish translation.
916
232e7cb8
NC
917 * readelf.c (get_symbol_index_type): Revert part of previous
918 patch: Display unknown symbol types in decimal, not hex.
919
c9e38879
NC
9202002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
921
922 * dlltool.c (add_excludes): Don't prefix excluded fastcall
923 symbols with underscore.
924 (xlate): Ignore add_underscore for decorated fastcall symbols.
925
9262002-11-07 Eric Kohl <ekohl@rz-online.de>
927
928 * deflex.l: Accept '@' as first character of an ID.
929 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
930 ASM_PREFIX for fastcall symbols.
931 (scan_drectve_symbols): Handle fastcall symbols when generating
932 undecorated aliases for symbols in drectve section.
933 (scan_filtered_symbols): Likewise, with export-all.
934 (xlate): Likewise, with --kill-at.
935 (make_imp_label): New function to handle fastcall symbols
936 correctly.
937 (make_one_lib_file): Use make_imp_label instead of make_label
938 for imp symbols.
939
a700dc3b
SS
9402002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
941
942 * MAINTAINERS: Add self as TIC4X maintainer.
943
5cf1065c
NC
9442002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
945
946 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
947 PROCESSOR-specific, OS-specific, reserved and unknown symbol
948 types.
5cf1065c 949
f1ef08cb
AM
9502002-11-04 Alan Modra <amodra@bigpond.net.au>
951
952 * readelf.c (byte_get_little_endian): Comment typo fix.
953 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
954 as the format string.
955 (dump_relocations): Correct section sym names.
956 (process_section_headers): Clear symtab_shndx_hdr.
957 (read_and_display_attr_value): Don't pass indirect string to printf
958 as the format string.
959 (display_debug_frames): Indicate when zero terminator found. Decode
960 DW_EH_PE_pcrel addresses.
961
1a09a22c
NC
9622002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
963
964 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
965 order to ensure proper disassembly of the valid 0-value opcode.
966 * configure: Regenerate.
967 * aclocal.m4: Regenerate.
968 * config.in: Regenerate.
969 * configure.in: Regenerate.
970 * doc/Makefile.in: Regenerate.
971 * po/binutils.pot: Regenerate.
972
c254c557
KK
9732002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
974
975 * MAINTAINERS: Add self as SH maintainer.
976
aefbdd67
BE
9772002-10-23 Ben Elliston <bje@redhat.com>
978
979 * doc/binutils.texi (objdump): Document -z and move the entry for
980 --disassemble-zeroes to the end of the options section (for `z').
981
ab9bcc01
NC
9822002-10-21 Nick Clifton <nickc@redhat.com>
983
984 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
985
8ab56b6f
AM
9862002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
987
988 * objdump.c (dump_data): Correct addr_offset for opb != 1.
989
49c12576
AM
9902002-10-15 Alan Modra <amodra@bigpond.net.au>
991
48417c1a
AM
992 * bucomm.c (list_supported_targets): Use bfd_target_list.
993
49c12576
AM
994 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
995 other object errors in preference to bfd_core errors.
996
6e1a7e9a
AM
9972002-10-14 Alan Modra <amodra@bigpond.net.au>
998
999 * Makefile.am: Run "make dep-am".
1000 * objdump.c: #include "bfdver.h".
1001 * version.c: Likewise.
1002 * Makefile.in: Regenerate.
1003 * config.in: Regenerate.
1004 * configure: Regenerate.
1005 * po/POTFILES.in: Regenerate.
1006
09fc3b02
DJ
10072002-10-09 Daniel Jacobowitz <drow@mvista.com>
1008
1009 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1010 sections. Allow relocations against the absolute symbol. Don't
1011 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 1012 relocation.
09fc3b02 1013
f309035a
NC
10142002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1015
1016 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1017 ordinary ones are available.
1018
810dfa6e
L
10192002-09-30 H.J. Lu <hjl@gnu.org>
1020
1021 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1022 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1023
bb279dc0
ZW
10242002-09-17 Zack Weinberg <zack@codesourcery.com>
1025
1026 * Makefile.am (CFILES): Add cxxfilt.c.
1027 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1028 (cxxfilt_LDADD): Delete.
1029 Remove all references to underscore.c.
1030 Regen dependencies.
1031 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1032 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1033 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1034 adjustments to fit into binutils framework.
1035 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1036
065c959b
NC
10372002-09-12 Roland McGrath <roland@redhat.com>
1038
1039 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1040 Handle DW_OP_GNU_push_tls_address.
1041
e09f4395
NC
10422002-09-11 Nick Clifton <nickc@redhat.com>
1043
1044 * po/tr.po: Updated Turkish translation.
1045
873e0588
NC
10462002-09-10 Nick Clifton <nickc@redhat.com>
1047
1048 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1049 testsuite changes. Add paragraphs about testsuite and config
1050 patches.
1051
069fe61f
NC
10522002-08-29 Nick Clifton <nickc@redhat.com>
1053
1054 * readelf.c (get_machine_flags): Remove redundant reference to
1055 E_V850EA_ARCH.
1056
fe0507eb
AM
10572002-08-28 Alan Modra <amodra@bigpond.net.au>
1058
1059 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1060 last commit.
1061
026df7c5
NC
10622002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1063
bb279dc0 1064 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
1065 (dump_bfd_header): Likewise.
1066
68a4c073
AM
10672002-08-27 Alan Modra <amodra@bigpond.net.au>
1068
1069 * nm.c: Revert last change.
1070
a1df01d1
AM
10712002-08-26 Alan Modra <amodra@bigpond.net.au>
1072
1073 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1074 * objdump.c (slurp_symtab): Likewise.
1075 (slurp_dynamic_symtab): Likewise.
1076 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1077
a926ab2f
GK
10782002-08-24 Geoffrey Keating <geoffk@redhat.com>
1079
1080 * MAINTAINERS: Change my mailing address.
1081
fcf62380
DA
10822002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1083
1084 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1085
51e28791
NC
10862002-08-22 Nick Clifton <nickc@redhat.com>
1087
1088 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1089 HPPA.
1090
c5b060ad
AM
10912002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1092
1093 * readelf.c (parse_args): Change debug_dump_opt to static.
1094
4b73ca92
NC
10952002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1096
1097 * stabs.c (parse_stab_argtype): Pass length of physname to
1098 stab_demangle_argtypes.
1099 (stab_demangle_argtypes): Add new parameter - length of physname.
1100 Pass length of physname on to stab_demangle_prefix.
1101 (stab_demangle_prefix): Add new parameter - length of physname.
1102 Use length of physname (if supplied) to compute end of function
1103 name.
1104
35b1837e
AM
11052002-08-15 Alan Modra <amodra@bigpond.net.au>
1106
1107 * readelf.c: Include elf/i370.h.
1108 (dump_relocations): Handle EM_S370.
1109 (dynamic_segment_parisc_val): Print \n.
1110 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1111
762baac5
NC
11122002-08-14 Nick Clifton <nickc@redhat.com>
1113
1114 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1115 * objdump.c (usage): Likewise.
1116 * doc/binutils.texi: Likewise.
1117
85c09e8a
NC
11182002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1119
1120 * rcparse.y (acc_entry): Don't warn about ALT use with
1121 non-VIRTKEY.
1122
212a3c4d
L
11232002-08-13 H.J. Lu <hjl@gnu.org>
1124
1125 * objcopy.c (copy_object): Don't warn about the unsupported
1126 architecture unless the input target is defaulted or the
1127 output architecture is different from the input.
1128
2b692c59
NC
11292002-08-09 Nick Clifton <nickc@redhat.com>
1130
1131 * po/sv.po: Updated Swedish translation.
1132
09de7a73
AM
11332002-08-05 Alan Modra <amodra@bigpond.net.au>
1134
1135 * prdbg.c (pr_fix_visibility): Remove assert.
1136
47badb7b
NC
11372002-07-31 Nick Clifton <nickc@redhat.com>
1138
1139 * addr2line.c (process_file): Rename parameter 'filename' to
1140 'file_name' in order to avoid shadowing global symbol of the
1141 same name.
1142 (main): Likewise.
1143
2979dc34
JJ
11442002-07-30 Jakub Jelinek <jakub@redhat.com>
1145
1146 * readelf.c (OPTION_DEBUG_DUMP): Define.
1147 (options): Use it.
1148 (usage): Update help.
1149 (parse_args): Handle --debug-dump separately from -w.
1150 * doc/binutils.texi (readelf): Update documentation.
1151
219576a4
NC
11522002-07-25 Nick Clifton <nickc@redhat.com>
1153
1154 * po/es.po: Updated Spanish translation.
1155 * po/fr.po: Updated French translation.
1156
bf4f22e6 11572002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1158
bf4f22e6
NC
1159 * po/es.po: Updated Spanish translation.
1160
c5b3a82a
AM
11612002-07-23 Alan Modra <amodra@bigpond.net.au>
1162
1163 * Makefile.am: Run "make dep-am".
1164 * Makefile.in: Regenerate.
1165
0461a601
NC
11662002-07-23 Nick Clifton <nickc@redhat.com>
1167
bf4f22e6 1168 * po/fr.po: Updated French translation.
0461a601 1169
bf44dd74
AM
11702002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1171
1172 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1173
2c205ff2
AM
11742002-07-20 Alan Modra <amodra@bigpond.net.au>
1175
63eb0809 1176 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1177
1e4cf259
NC
11782002-07-18 Denis Chertykov <denisc@overta.ru>
1179 Frank Ch. Eigler <fche@redhat.com>
1180
1181 * readelf.c: Include "elf/ip2k.h".
1182 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1183 (dump_relocations): Likewise.
1184 (get_machine_name): Likewise.
1185 * NEWS: Mention IP2K support.
1186
2cbb2eef
NC
11872002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1188
1189 * NEWS: Add 'Changes in 2.13'.
1190
047b2264
JJ
11912002-07-10 Jakub Jelinek <jakub@redhat.com>
1192
1193 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1194 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1195 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1196 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1197 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1198 (process_gnu_liblist): New.
1199 (process_file): Call it.
1200
97230b15
AM
12012002-07-03 Alan Modra <amodra@bigpond.net.au>
1202
1203 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1204 * Makefile.in: Regenerate.
1205
a6637ec0
AM
12062002-07-02 Alan Modra <amodra@bigpond.net.au>
1207
1208 * budemang.c: New file, "demangle" function.
1209 * budemang.h: New file.
1210 * addr2line.c (translate_addresses): Use "demangle".
1211 * nm.c (print_symname): Likewise.
1212 * objdump.c (objdump_print_symname): Likewise.
1213 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1214 here since that obfuscates.
1215 * rdcoff.c: Don't #include demangle.h.
1216 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1217 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1218 (HFILES): Add budemang.h. Sort.
1219 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1220 Run "make dep-am".
1221 * Makefile.in: Regenerate.
1222
179d3252
JT
12232002-07-01 Matt Thomas <matt@3am-software.com>
1224
1225 * readelf.c: Include "elf/vax.h".
1226 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1227 (dump_relocations): Handle VAX relocations.
1228 (get_machine_flags): Handle VAX machine flags.
1229
75751cd9
SC
12302002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1231
1232 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1233
e5851ab8
NC
12342002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1235
1236 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1237
eb3f2f5c
AM
12382002-06-26 Alan Modra <amodra@bigpond.net.au>
1239
1240 * nm.c (print_symname): When demangling, strip leading dots from
1241 symbol names to avoid confusing the demangler.
1242
a13a0de8
L
12432002-06-25 H.J. Lu <hjl@gnu.org>
1244
1245 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1246 * Makefile.in: Regenerated.
1247
6db7a086
AM
12482002-06-21 Igor Schein <igor@txc.com>
1249
1250 * configure.in: Quote bu_cv_have_fopen64.
1251 * configure: Regenerate.
1252
9710509e
AM
12532002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1254
1255 * configure.in: Check for strcoll.
1256 * configure: Regenerate.
1257 * config.in: Regenerate.
1258 * nm.c (main): Set locale for LC_COLLATE category.
1259 (non_numeric_forward): Use strcoll if available.
1260
a9f0b5e7
DB
12612002-06-20 Dave Brolley <brolley@redhat.com>
1262
1263 * MAINTAINERS: Add self as fr30 and frv maintainer.
1264
33f5f537
L
12652002-06-18 H.J. Lu (hjl@gnu.org)
1266
1267 * nm.c: Include "elf/common.h".
1268 (extended_symbol_info): Add elfinfo, a pointer to
1269 elf_symbol_type.
1270 (SYM_SIZE): Use elfinfo if it is not NULL.
1271 (get_symbol_type): New function.
1272 (display_archive): Set print_width for each archive member.
1273 (display_file): Likewise.
1274 (display_rel_file): Don't set print_width here.
1275 (print_object_filename_sysv): Handle print_width.
1276 (print_archive_member_sysv): Likewise.
1277 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1278 (print_symbol): Set the elfinfo field in extended_symbol_info
1279 for ELF.
1280 (print_object_filename_sysv): Fix the output format.
1281 (print_symbol_info_sysv): Print type and section for ELF.
1282
12832002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1284
1285 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1286 the symbol's size equal to its value when --size-sort is
33f5f537
L
1287 used.
1288
5c70f934
DB
12892002-06-18 Dave Brolley <brolley@redhat.com>
1290
1291 From Catherine Moore:
1292 * readelf.c (elf/frv.h): #include it.
1293 (guess_is_rela): Support EM_CYGNUS_FRV.
1294 (dump_relocations): Ditto.
1295 (get_machine_name): Ditto.
1296 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1297
7ece0d85
JJ
12982002-06-18 Jakub Jelinek <jakub@redhat.com>
1299
1300 * readelf.c (get_file_header): Only read the first section header if
1301 e_shoff is non-zero.
1302
72797995
L
13032002-06-15 H.J. Lu (hjl@gnu.org)
1304
1305 * nm.c (print_size): New variable. Initialize to 0.
1306 (long_options): Add 'S'/"print-size".
1307 (main): Handle 'S'.
1308 (print_symbol_info_bsd): Print size only if print_size is not
1309 0.
1310
1311 * doc/binutils.texi: Document -S/--print-size.
1312
977f7911
NC
13132002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1314
1315 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1316 of the symbols to the information provided by the symbol_info
1317 structure.
1318 (print_symbols): Pass the symbol size to print_symbol.
1319 (print_size_symbols): Pass the symbol size to print_symbol.
1320 (print_symbol): Extra argument: The size of the symbol. Store
1321 this in the extended_symbol_info structure.
1322 (print_symbol_info): Change type of info parameter to
1323 extended_symbol_info. Display the size, if known.
1324 (print_symbol_info_posix): Likewise.
1325 (print_symbol_info_sysv): Likewise.
1326
b1f88ebe
AM
13272002-06-08 Alan Modra <amodra@bigpond.net.au>
1328
fa449227
AM
1329 * Makefile.am: Run "make dep-am".
1330 * Makefile.in: Regenerate.
1331 * doc/Makefile.in: Regnerate.
1332
b1f88ebe
AM
1333 * bucomm.c: Replace CONST with const.
1334 * nm.c: Likewise.
1335 * objdump.c: Likewise.
1336
91a106e6
L
13372002-06-07 H.J. Lu <hjl@gnu.org>
1338
1339 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1340 (DW_CFA_GNU_negative_offset_extended): Likewise.
1341 (DW_CFA_GNU_window_save): Likewise.
1342 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1343 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1344
6ab6b380 13452002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1346
6ab6b380
NC
1347 * nm.c: When computing size of symbols for an ELF target use the
1348 internal size field.
1349
e28e05a3
JL
13502002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1351
1352 * testsuite/binutils-all/objcopy.exp: clear xfail for
1353 "hppa*64*-*-hpux*".
1354 * testsuite/binutils-all/hppa/objdump.exp: Return if
1355 "*64*-*-*".
1356
dc156bc0
AM
13572002-06-05 Alan Modra <amodra@bigpond.net.au>
1358
1359 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1360
13612002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1362
1363 * objdump.c: Fix formatting.
1364
d79e4ea3
BE
13652002-05-29 Ben Elliston <bje@redhat.com>
1366
1367 * MAINTAINERS: Add self as M68k maintainer.
1368
d172d4ba
NC
13692002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1370
1371 * readelf.c: Modified/Added DLX elf support.
1372
7edb8f29
NC
13732002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1374
3a1a2036
NC
1375 * arsup.c: Fix formatting.
1376 * debug.c (debug_record_label): Add missing colon to error
1377 message.
1378 * ieee.c (parse_ieee_ty): Fix spelling typo.
1379 * readelf.c (process_program_headers): Remove English assumption
1380 about making a plural word.
1381 (process_section_headers): Likewise.
1382 (process_relocs): Allow quotes to be translated.
1383 (process_unwind): Likewise,
1384 (process_mips_specific): Improve error message.
1385 (get_note_type): Fix spelling typo.
1386
7edb8f29
NC
1387 * configure.in (ALL_LINGUAS): Add sv
1388 * po/sv.po: New file.
1389
3eee1e9d
AM
13902002-05-27 Alan Modra <amodra@bigpond.net.au>
1391
1392 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1393 (unw_print_grmask): Likewise.
1394 (unw_print_frmask): Likewise.
1395
d43efbe3
KH
13962002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1397
1398 * arsup.c: Remove ARGSUSED.
1399 * debug.c: Likewise.
1400 * ieee.c: Likewise.
1401 * nlmconv.c: Likewise.
1402 * prdbg.c: Likewise.
1403 * stabs.c: Likewise.
1404 * wrstabs.c: Likewise.
1405
e9792343
AM
14062002-05-25 Alan Modra <amodra@bigpond.net.au>
1407
1408 * arlex.l: Use #include "" instead of <> for local header files.
1409 * coffdump.c: Likewise.
1410 * coffgrok.c: Likewise.
1411 * nlmconv.c: Likewise.
1412 * nlmheader.y: Likewise.
1413 * srconv.c: Likewise.
1414 * strings.c: Likewise.
1415 * sysdump.c: Likewise.
1416 * unwind-ia64.h: Likewise.
1417 * windres.h: Likewise.
1418 * winduni.h: Likewise.
1419
d7e53452
TR
14202002-05-24 Tom Rix <trix@redhat.com>
1421
1422 * MAINTAINERS: Add self as the d10v maintainer.
1423
436e8db0
NC
14242002-05-24 TAMURA Kent <kent@netbsd.org>
1425
1426 * configure.in: Builds dlltool for i386-netbsdpe.
1427 * configure: Regenerate.
1428
9f66665a
KH
14292002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1430
1431 * size.c: Fix formatting.
1432 * srconv.c: Likewise.
1433 * stabs.c: Likewise.
1434 * sysdump.c: Likewise.
1435 * unwind-ia64.c: Likewise.
1436 * wrstabs.c: Likewise.
1437
13ae64f3
JJ
14382002-05-23 Jakub Jelinek <jakub@redhat.com>
1439
1440 * readelf.c (get_segment_type): Add PT_TLS.
1441 (get_elf_section_flags): Add SHF_TLS.
1442 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1443 (process_dynamic_segment): Use puts instead of printf.
1444 (get_symbol_type): Support STT_TLS.
1445 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1446 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1447 Add SEC_THREAD_LOCAL.
1448
53c7db4b
KH
14492002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1450
1451 * rdcoff.c: Fix formatting.
1452 * rddbg.c: Likewise.
1453 * readelf.c: Likewise.
1454 * rename.c: Likewise.
1455 * resbin.c: Likewise.
1456 * resrc.c: Likewise.
1457 * resres.c: Likewise.
1458
0af11b59
KH
14592002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1460
1461 * filemode.c: Fix formatting.
1462 * ieee.c: Likewise.
1463 * is-ranlib.c: Likewise.
1464 * is-strip.c: Likewise.
1465 * maybe-ranlib.c: Likewise.
1466 * maybe-strip.c: Likewise.
1467 * nlmconv.c: Likewise.
1468 * nm.c: Likewise.
1469 * not-ranlib.c: Likewise.
1470 * not-strip.c: Likewise.
1471 * objcopy.c: Likewise.
1472 * objdump.c: Likewise.
1473
21611032
TS
14742002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1475
1476 * objdump.c (dump_headers): Fix output formatting for ELF32
1477 architectures in a BFD64 enabled toolchain.
1478
26044998
KH
14792002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1480
1481 * debug.c: Fix formatting.
1482 * debug.h: Likewise.
1483 * dlltool.c: Likewise.
1484 * dllwrap.c: Likewise.
1485 * emul_aix.c: Likewise.
1486 * emul_vanilla.c: Likewise.
1487
f462a9ea
KH
14882002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1489
1490 * addr2line.c: Fix formatting.
1491 * ar.c: Likewise.
1492 * arsup.c: Likewise.
1493 * arsup.h: Likewise.
1494 * binemul.c: Likewise.
1495 * binemul.h: Likewise.
1496 * bucomm.c: Likewise.
1497 * coffdump.c: Likewise.
1498 * coffgrok.c: Likewise.
1499 * coffgrok.h: Likewise.
1500
e0159aa9
MM
15012002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1502
1503 * MAINTAINERS: Add myself as the second AVR port maintainer.
1504
074b403e
SC
15052002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1506
1507 * MAINTAINERS: Update my email address.
1508
2b9c8201
NC
15092002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1510
1511 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1512
e1d5b1e7
AM
15132002-05-09 Alan Modra <amodra@bigpond.net.au>
1514
1515 * configure.in: Replace `*pe' with `pe' throughout.
1516 * configure: Regenerate.
1517
d3d8a9ee
NC
15182002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1519
1520 * Makefile.am: Honour DESTDIR.
1521 * Makefile.in: Regenerate.
1522
405c98a4
AM
15232002-05-06 Alan Modra <amodra@bigpond.net.au>
1524
a02d5965
AM
1525 * dlltool.c (process_def_file): Add missing prototype.
1526 (new_directive, assemble_file, main): Likewise.
1527 (process_def_file, new_directive): Make static.
1528 (inform): Rewrite using VA_FIXEDARG.
1529 * dllwrap.c (mybasename): Add missing prototype.
1530 (strhash, main): Likewise.
1531 (inform): Rewrite using VA_FIXEDARG.
1532 (warn): Likewise.
1533 (cleanup_and_exit): Use old style function definition.
1534 (strhash): Likewise.
1535 * windres.c (define_resource): Use one memset to clear all of
1536 struct res_resource.
1537
405c98a4 1538 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1539 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1540
15412002-05-06 Borut Razem <borut.razem@siol.net>
1542
1543 * rclex.l (get_string): Correct "strings" list handling.
1544 * resrc.c (read_rc_file): Discard strings.
1545
91593c9d
AM
15462002-05-04 Alan Modra <amodra@bigpond.net.au>
1547
e58a75dc
AM
1548 * ar.c (replace_members): Remove unused var. Formatting fix.
1549 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1550
91593c9d
AM
1551 * MAINTAINERS: Sort port maintainers by CPU.
1552
6b52b824
AM
15532002-05-04 Bob Byrnes <byrnes@curl.com>
1554
1555 * size.c (display_archive): Add last_arfile and code to close archives.
1556
dd70071f
AM
15572002-05-01 Alan Modra <amodra@bigpond.net.au>
1558
1559 * nm.c (print_symbol): Check returned filename from
1560 bfd_find_nearest_line is non-NULL.
1561
6c95717a 15622002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1563
1564 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1565
3c25c5f6
NC
15662002-04-24 Christian Groessler <chris@groessler.org>
1567
1568 * MAINTAINERS: Changed my email address.
1569
944cd72c
TS
15702002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1571
1572 * arparse.y: Fix syntax warning.
1573
ea91f8bb
NC
15742002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1575
3e55a963
NC
1576 * readelf.c (fetch_location_list): Remove unused function.
1577
1578 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1579 and display a warning message, then exit the loop.
1580
ea91f8bb
NC
1581 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1582
45b99827
NC
15832002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1584
1585 * resrc.c (write_rc_dialog): If charset is non-default value
1586 display all of the DIALOGEX parameters.
1587
15882002-04-15 Eric Kohl <ekohl@rz-online.de>
1589
bb279dc0 1590 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1591 DIALOGEX resources.
1592 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1593 resource data.
bb279dc0 1594 (res_to_bin_dialog): Likewise.
45b99827
NC
1595 * windres.h: Added misssing charset variable to dialog_ex
1596 structure.
1597
acfbab8a
NC
15982002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1599
1600 * rcparse.y: Set MEMFLAG_PURE by default.
1601
df3baf66
NC
16022002-04-09 Bernd Herd <info@herdsoft.com>
1603
bb279dc0 1604 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1605 are quoted.
4c30641a 1606 Fix typo in BEDIT warning.
91eafb40 1607 Don't add default dialog style when explicit style specified.
b62a12ca 1608 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1609
b24eb5ac
NC
1610 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1611 (handle_quotes) "\a" escape (used for right justified key
1612 definitions in menus) is encodes as binary 8.
df3baf66 1613
b24eb5ac
NC
1614 * resrc.c (write_rc_dialog): Print style even if it is 0.
1615 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1616 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1617
b24eb5ac
NC
1618 * resbin.c (bin_to_res_dialog): Use signature to identify
1619 DIALOGEX.
f7d63484 1620
b24eb5ac 1621 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1622
df3baf66
NC
16232002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1624
1625 * resrc.c: print CLASS names in quotes
1626
16272002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1628
1629 * MAINTAINERS: Update my email address.
1630
8e42bcb6
AM
16312002-04-04 Alan Modra <amodra@bigpond.net.au>
1632
1633 * dep-in.sed: Cope with absolute paths.
1634 * Makefile.am (dep.sed): Subst TOPDIR.
1635 Run "make dep-am".
1636 * Makefile.in: Regenerate.
1637
96f959e5
PT
16382002-03-27 Peter Targett <peter.targett@arc.com>
1639
1640 * MAINTAINERS: Update my email address.
1641
1ea788ee
AM
16422002-03-21 Alan Modra <amodra@bigpond.net.au>
1643
1644 * Makefile.am: Run "make dep-am".
1645 * Makefile.in: Regenerate.
1646 * doc/Makefile.in: Regenerate.
1647 * po/POTFILES.in: Regenerate.
1648 * aclocal.m4: Regenerate.
1649 * config.in: Regenerate.
1650 * configure: Regenerate.
1651
a2f14207
DB
16522002-03-20 Daniel Berlin <dan@dberlin.org>
1653
1654 * readelf.c: Add support for displaying dwarf2 location lists.
1655 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1656 (parse_args): Use 'O' as shorthand for displaying location list
1657 section.
1658 (process_section_headers): Handle debug_loc as well.
1659 (load_debug_loc): New.
1660 (free_debug_loc): New.
1661 (fetch_location_list): New.
1662 (display_debug_loc): New.
1663 (display_debug_info): Call load_debug_loc and free_debug_loc.
1664 (debug_displays): We can display .debug_loc now, too.
1665 (usage): Update usage string.
1666 (read_and_display_attr_value): Note location lists, but don't
1667 display them inline.
1668
eb1e0e80
NC
16692002-03-18 Tom Rix <trix@redhat.com>
1670
1671 * Makefile.am: Add binutils emulation support.
1672 * configure.in: Same.
1673 * configure.tgt: New file. Same.
1674 * ar.c (main): Use ar_emul_parse_arg.
1675 (usage): Use ar_emul_usage.
1676 (replace_members): Use ar_emul_replace, ar_emul_append.
1677 * binemul.c: New file. Define the binutils emulation
1678 layer. Define default methods.
1679 * binemul.h: New file. Binutils emulation layer header file.
1680 * emul_aix.c: New file. AIX binutils emulation.
1681 * emul_vanilla.c: New file. Default binutils emulation.
1682 * Makefile.in: Regenerate.
1683 * configure: Same.
1684
a1c259a1
NC
16852002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1686
1687 * po/fr.po: Updated version.
1688
9ce88e60
NC
16892002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1690
1691 * po/fr.po: Updated version.
1692
effb0601
DJ
16932002-03-07 Daniel Jacobowitz <drow@mvista.com>
1694
1695 * README: Update some version numbers.
1696
a65688ab
DJ
16972002-03-07 Daniel Jacobowitz <drow@mvista.com>
1698
1699 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1700 (Architecture Selection): Likewise.
1701
f3f7fbb2
NC
17022002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1703
1704 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1705 generating .exp file.
1706
25345be5
NC
17072002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1708
1709 * readelf.c (dump_relocations): Fix typo.
1710
9a66911f
NC
17112002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1712
1713 * NEWS: Mark 2.12 branch.
1714
2c71103e
NC
17152002-02-18 Timothy Daly <remote_bob@yahoo.com>
1716
bb279dc0
ZW
1717 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1718 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1719 output.
bb279dc0 1720 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1721 to 'unrecognized'.
1722 (decode_ARM_machine_flags): Likewise.
1723 (parse_args): Likewise.
1724 (read_and_display_attr_value): Likewise.
1725 (display_debug_section): Likewise.
1726
49fda6c8
HPN
17272002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1728
1729 * NEWS: Mention support for MMIX.
1730
76f57f3a
JT
17312002-02-13 Matt Fredette <fredette@netbsd.org>
1732
1733 * readelf.c (get_machine_flags): Recognize EF_M68000.
1734
d36ca9c2
AO
17352002-02-12 Alexandre Oliva <aoliva@redhat.com>
1736
1737 * MAINTAINERS: Added self as MN10300 co-maintainer.
1738
19397422
AM
17392002-02-12 Alan Modra <amodra@bigpond.net.au>
1740
1741 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1742 DT_PPC64_OPDSZ.
1743
d434e574
DJ
17442002-02-11 Daniel Jacobowitz <drow@mvista.com>
1745
1746 * MAINTAINERS: List myself as branch maintainer.
1747
12b87c89
AM
17482002-02-11 Alan Modra <amodra@bigpond.net.au>
1749
1750 * configure: Regenerate.
1751 * objcopy.c: Update copyright date.
1752 * doc/Makefile.in: Regenerate.
1753
8d037c5c
DJ
17542002-02-10 Daniel Jacobowitz <drow@mvista.com>
1755
1756 * nlmconv.c: Back out localtime PARAMS change.
1757
4c168fa3
AM
17582002-02-11 Alan Modra <amodra@bigpond.net.au>
1759
1760 * objcopy.c (MKDIR): Define.
1761 (copy_archive): Make name_list.name const. Use MKDIR.
1762 Handle duplicate files in archives by making more temp dirs.
1763
408f8db1
DJ
17642002-02-10 Daniel Jacobowitz <drow@mvista.com>
1765
1766 * coffdump.c: Include "getopt.h" after "bucomm.h"
1767 so that macros are defined correctly.
1768 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1769 prototype. Prototype main.
1770 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1771
9f77fa06
AO
17722002-02-06 Alexandre Oliva <aoliva@redhat.com>
1773
1774 * MAINTAINERS: Added self as SH co-maintainer.
1775
82f6addb
NC
17762002-02-05 Nick Clifton <nickc@redhat.com>
1777
1778 * po/tr.po: Updated translation.
1779
ba323545
AM
17802002-02-01 Alan Modra <amodra@bigpond.net.au>
1781
1782 * Makefile.am: Run "make dep-am"
1783 * Makefile.in: Regenerate.
1784
3deb89d3
DJ
17852002-01-29 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * nm.c (print_value): Mark abfd unused.
1788
a0e9c55f
DJ
17892002-01-29 Daniel Jacobowitz <drow@mvista.com>
1790
1791 * unwind-ia64.c (unw_decoder): Change second argument
1792 to unsigned int, to match function prototypes.
1793
d7a283d4
DJ
17942002-01-29 Daniel Jacobowitz <drow@mvista.com>
1795
1796 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1797 __GNU_LIBRARY__ will be defined.
1798 * size.c: Likewise.
1799
4867be41
DJ
18002002-01-27 Daniel Jacobowitz <drow@mvista.com>
1801
1802 * configure: Regenerated.
1803
7562a296
HPN
18042002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1805
1806 * doc/Makefile.am (install): Depend on install-info.
1807 * doc/Makefile.in: Regenerate.
1808
15c82623
NC
18092002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1810
1811 * objcopy.c (strip_usage): Document -d as an alias
1812 --strip-debug.
1813
1814 * size.c (usage): Document [-t | --totals] options.
1815 (long_options): Add --totals option.
1816 (main): If the [-t | --totals] option is specified and
1817 the output format is Berkeley-style, print the total
1818 text, data, and bss sizes of all objects listed.
1819 (print_berkeley_format): If the [-t | --totals] option
1820 is specified, track the total text, data, and bss
1821 sizes.
1822 * doc/binutils.texi (size): Document [-t | --totals] options.
1823 (strip): Document -d as an alias for --strip-debug.
1824 * NEWS: Mention new feature of size.
1825
00ea8601 18262002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1827
1ddbd152
NC
1828 * po/fr.po: Updated version.
1829 * po/es.po: Updated version.
b85cedd7 1830
8b53311e
NC
18312002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1832
1833 * addr2line.c (usage): Update text to provide verbose
1834 description of the command line options.
1835 * ar.c (usage): Update text to provide verbose
1836 description of the command line options.
1837 (main): Accept -h and -H when running as ranlib.
1838 * coffdump.c (show_usage): Update text to provide verbose
1839 description of the command line options.
1840 * dlltool.c (main): Accept -H as an alias for --help.
1841 * nlmconv.c (show_usage): Update text to provide verbose
1842 description of the command line options.
1843 * nm.c (usage): Replace OPTIONS with option(s).
1844 (main): Accept -H as an alias for --help.
1845 * objcopy.c (strip_main): Accept -H as an alias for --help.
1846 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1847 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1848 other binutils.
1849 * size.c (usage): Update text to provide verbose description
1850 of the command line options.
1851 (main): Accept -v, -h and -H as command line options.
1852 * srconv.c (show_usage): Update text to provide verbose
1853 description of the command line options.
1854 * strings.c (main): Accept -H and -v as command line options.
1855 (usage): Update text to provide verbose description of the
1856 command line options.
1857 * sysdump.c (show_usage): Update text to provide verbose
1858 description of the command line options.
1859 * windres.c (usage): Adjust format to match style used in
1860 other binutils.
1861
1862 * coffdump.c: Fix formatting.
1863 * nlmconv.c: Fix formatting.
1864 * srconv.c: Fix formatting.
1865 * sysdump.c: Fix formatting.
1866
c46f0c34
AM
18672002-01-22 Alan Modra <amodra@bigpond.net.au>
1868
1869 * Makefile.am: Run "make dep-am".
1870 * Makefile.in: Regenerate.
1871
2a538ba5
AJ
18722002-01-18 Andreas Jaeger <aj@suse.de>
1873
1874 * version.c (print_version): Update year.
1875
285d1771
AM
18762002-01-17 Alan Modra <amodra@bigpond.net.au>
1877
1878 * readelf.c (get_machine_name): Handle EM_PPC64.
1879 (guess_is_rela): Here too.
1880
328577ad
NC
18812002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1882
1883 * po/binutils.pot: Regenerate.
1884 * po/fr.po: Regenerate.
1885 * po/tr.po: Regenerate.
1886
af3ae48d
NC
18872002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1888
1889 * po/tr.po: Import new version.
1890
f1cb7e17
AM
18912002-01-16 Alan Modra <amodra@bigpond.net.au>
1892
1893 * readelf.c (get_ppc64_dynamic_type): New.
1894 (get_dynamic_type): Call it.
1895
6364e0b4
NC
18962002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1897
3ab9460d 1898 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1899 (strip_usage): Use "options" instead of "switches".
3ab9460d 1900 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1901 "switches".
6364e0b4 1902
3a7e524e
RE
19032002-01-14 Richard Earnshaw <rearnsha@arm.com>
1904
1905 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1906
1209e219
NC
19072001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1908
1909 * po/es.po: Import from translation project.
1910 * configure.in (ALL_LINGUAS): Add es.
1911 * configure: Regenerate.
1912
b4db1224
JT
19132002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1914
1915 * readelf.c (get_netbsd_elfcore_note_type): Use
1916 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1917
9437c45b
JT
19182002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1919
1920 * readelf.c: Update copyright years.
1921 (get_note_type): Return a const char *.
1922 (get_netbsd_elfcore_note_type): New function.
1923 (process_note): Use get_netbsd_elfcore_note_type to get
1924 the note type string for NetBSD ELF core files.
1925
00428cca
AM
19262002-01-06 Steve Ellcey <sje@cup.hp.com>
1927
1928 * readelf.c (get_ia64_segment_type): Add support for macros.
1929 (get_segment_type): Add support for IA64 specific macros.
1930
31104126
NC
19312001-12-20 Julian v. Bock <julian@wongr.net>
1932
1933 * readelf.c (print_symbol): New function: Print a formatted symbol
1934 name. If --wide is specified do not truncate it.
1935 (dump_relocations): Use print_symbol() to print symbol names.
1936 (process_symbol_table): Likewise.
1937 (process_syminfo): Likewise.
1938 (process_mips_specific): Likewise.
1939 (usage): Document new feature of --wide switch.
1940 * doc/binutils.texi (objdump): Document additional behaviour of
1941 --wide.
2a538ba5 1942
4dd67f29
MS
19432001-12-18 Michael Snyder <msnyder@redhat.com>
1944
1945 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1946 (copy_object): Don't set the start address or flags of a core file.
1947 (copy_section): Don't relocate a core file. Don't copy contents
1948 if the input section has the contents flag set, but the output
1949 section does not (which happens with the fake 'note' pseudo-
1950 sections that BFD creates for corefiles).
1951
43521d43
TS
19522001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1953
1954 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1955 ASE extensions. More robust code for ISA checking. Ignore empty fields
1956 in header flags for GNU extensions.
1957
b667df2e
AM
19582001-12-18 Alan Modra <amodra@bigpond.net.au>
1959
1960 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1961
17a5a5c3
NC
19622001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1963
1964 * po/ja.po: Import from translation project.
1965 * configure.in (ALL_LINGUAS): Add ja.
1966 * configure: Regenerate.
1967
65de42c0
TS
19682001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1969
1970 * addr2line.c (main): Protoype.
1971 * ar.c (main): Protoype.
1972 * nm.c (main): Protoype.
1973 * objcopy.c (main): Protoype.
1974 * objdump.c (main): Protoype.
1975 * size.c (main): Protoype.
1976 * strings.c (main): Protoype.
1977
9ad5cbcf
AM
19782001-12-17 Alan Modra <amodra@bigpond.net.au>
1979
1980 * readelf.c (symtab_shndx_hdr): New global.
1981 (SECTION_HEADER_INDEX): Define.
1982 (SECTION_HEADER_NUM): Define.
1983 (SECTION_HEADER): Define.
1984 (GET_ELF_SYMBOLS): Pass two params rather than three.
1985 (get_32bit_elf_symbols): Take file and section args. Read and
1986 use SHT_SYMTAB_SHNDX.
1987 (get_64bit_elf_symbols): Likewise.
1988 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1989 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1990 Remember symtab_shdx_hdr.
1991 (process_program_headers): Scan from index 1 for segment map.
1992 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1993 "section_headers".
1994 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1995 (process_unwind): Likewise.
1996 (process_version_sections): Likewise.
1997 (process_symbol_table): Likewise.
1998 (display_debug_info): Likewise.
1999 (process_dynamic_segment): Fake up a symtab section for changed
2000 GET_ELF_SYMBOLS.
2001 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2002 (process_program_headers): Kill signed/unsigned warning.
2003 (load_debug_str): Likewise.
2004 (display_debug_info): Likewise.
2005
65765700
JJ
20062001-12-13 Jakub Jelinek <jakub@redhat.com>
2007
2008 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2009
560f3c1c
AM
20102001-12-11 Alan Modra <amodra@bigpond.net.au>
2011
2012 * readelf.c (process_file_header): Print extended e_shnum and
2013 e_shdtrndx values. Set elf_header values for same.
2014 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2015 (get_64bit_section_headers): Likewise.
2016 (process_section_headers): Update calls.
2017 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2018
bc408b8a
JJ
20192001-12-10 Jakub Jelinek <jakub@redhat.com>
2020
2021 * objcopy.c (setup_section): Copy entsize.
2022
93fbbb04
GK
20232001-12-07 Geoffrey Keating <geoffk@redhat.com>
2024
2025 * readelf.c (guess_is_rela): Add support for stormy16.
2026 (dump_relocations): Likewise.
2027 (get_machine_name): Likewise.
2028
e3c8793a
NC
20292001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2030
2031 * dllwrap.c (main) Replace multiple strings describing a
2032 single error with a single, newline escaped sentence to permit
2033 better translation into foreign languages.
2034
2035 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2036 class names.
2037
956cd1d6
TS
20382001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2039
2040 * strings.c (get_char): Initialize value.
2041
956c53ee
TS
20422001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2043
2044 * arlex.l: Silence compile warnings.
2045 * arsup.h: Likewise. Fix formatting.
2046
cedd9a58
JJ
20472001-12-04 Jakub Jelinek <jakub@redhat.com>
2048
2049 * strings.c: Include config.h before bfd.h.
2050 (file_off): New type.
2051 (file_open): Define.
2052 (print_strings): Use file_off instead of file_ptr. Print addresses
2053 which don't fit into long correctly.
2054 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2055 available.
2056 (strings_file): Use file_off instead of file_ptr. Use file_open.
2057 * configure.in: Check for getc_unlocked.
2058 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2059 be defined for it.
2060 * configure: Rebuilt.
2061 * config.h.in: Rebuilt.
2062
af667503
L
20632001-11-29 H.J. Lu <hjl@gnu.org>
2064
2065 * bucomm.c (make_tempname): Revert the changes made on
2066 2001-11-14 and 2001-11-12. They won't work with directories.
2067
16474668
NC
20682001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2069
2070 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2071 CFLAGS_FOR_TARGET to runtest in environment.
2072 * Makefile.in: Rebuild.
2073 * doc/Makefile.in: Rebuild.
2074
17978339
MS
20752001-11-28 Mike Stump <mrs@wrs.com>
2076
2077 * objcopy.c (setup_section): Preserve SEC_RELOC when
2078 --set-section-flags is used.
2079
261a45ad
NC
20802001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2081
2082 * readelf.c (do_debug_str): New variable.
2083 (display_debug_str): New function: Display the contents of a
2084 .debug_str section.
2085 (load_debug_str): New function: Load in the contents of a
2086 .debug_str section.
2087 (free_debug_str): New function: Free the memory used by
2088 load_debug_str().
2089 (fetch_indirect_string): Retrieve a string from the .debug_str
2090 section.
2091 (usage): Add -ws.
2092 (parse_args): Accept -ws.
2093 (process_section_headers): Allow the display of the .debug_str
2094 section.
2095 (read_and_display_attr_value): Use fetch_indirect_string. Show
2096 offset into .debug_str section.
2097 (display_debug_info): Use load_debug_str and free_debug_str.
2098 (debug_displays): Add .debug_str.
2099 * doc/binutils.texi: Document -ws.
2100
b8908f93
AJ
21012001-11-19 Andreas Jaeger <aj@suse.de>
2102
2103 * testsuite/binutils-all/objdump.exp: Add x86-64.
2104
e5fb9629
AS
21052001-11-15 Andreas Schwab <schwab@suse.de>
2106
2107 * readelf.c: Fix warnings without terminating newline.
2108
802a735e
AM
21092001-11-15 Alan Modra <amodra@bigpond.net.au>
2110
2111 * doc/binutils.texi (objdump): Document ppc -M options.
2112
b89e9eae
AJ
21132001-11-14 Andreas Jaeger <aj@suse.de>
2114
2115 * doc/binutils.texi (objdump): Fix description to use x86-64.
2116
a6a25652
NC
21172001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2118
2119 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2120 not all systems provide mkstemp.
2121
e396998b
AM
21222001-11-14 Alan Modra <amodra@bigpond.net.au>
2123
2124 * doc/binutils.texi (objdump): Document x86 -M options.
2125
81766fca
RH
21262001-11-13 Keith Walker <keith.walker@arm.com>
2127
2128 * readelf.c (read_and_display_attr_value): New function to
2129 handle DW_FORM_indirect.
2130 (read_and_display_attr): Use it.
2131
1a509dcc
GK
21322001-11-13 Geoffrey Keating <geoffk@redhat.com>
2133
2134 * readelf.c (display_debug_lines): Deal with unknown standard
2135 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2136 DW_LNS_set_isa.
2137
6e917903 21382001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2139
6e917903
TW
2140 * MAINTAINERS: Add self as tic54x maintainer. This target
2141 includes the IBM C54XDSP clone.
7559e86e 2142
6e917903 21432001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2144
7559e86e
NC
2145 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2146
21472001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2148
ecdadc4a
JL
2149 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2150 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2151 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2152 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2153 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2154 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2155 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2156
91770270
JL
2157 * readelf.c (get_elf_class): Fix ISO portability glitch.
2158 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2159
ef5cdfc7
JJ
21602001-11-07 Jakub Jelinek <jakub@redhat.com>
2161
2162 * readelf.c (debug_str, debug_str_size): New.
2163 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2164 Call free_abbrevs.
2165 (read_and_display_addr): Handle DW_FORM_strp.
2166 (display_debug_info): Read .debug_str section if present,
2167 so that DW_FORM_strp can be handled.
2168 Fix test for non-existant .debug_abbrev section.
2169
5e9520c8
JJ
21702001-11-05 Jakub Jelinek <jakub@redhat.com>
2171
2172 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2173
2174 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2175
54589086
MS
21762001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2177
2178 * MAINTAINERS: Add self as s390/s390x maintainer.
2179
c05b685b
TR
21802001-11-02 Tom Rix <trix@bluey.cygnus.com>
2181
2182 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2183
3c62831e
NC
21842001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2185
2186 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2187 * configure: Regernate.
2188 * po/fr.po: New file.
2189 * po/tr.po: New file.
2190
3c3bdf30
NC
21912001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2192
9b19141a 2193 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2194 * readelf.c: Include elf/mmix.h.
2195 (guess_is_rela): MMIX is RELA.
2196 (dump_relocations): Handle MMIX relocations.
2197 * Makefile.am: Regenerate dependencies.
2198 * Makefile.in: Regenerate.
2199
f662939a
NC
22002001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2201
2202 * readelf.c (parse_args): Handle multiple options to the -w
2203 switch.
2204
c91d0dfb
JJ
22052001-10-12 Jakub Jelinek <jakub@redhat.com>
2206
2207 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2208 LOPROC, LOOS and LOUSER.
2209
7559e86e 22102001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2211
2212 * MAINTAINERS: Update my email address.
2213
fcd8210c
AM
22142001-10-03 Alan Modra <amodra@bigpond.net.au>
2215
2216 * doc/Makefile.in: Regenerate.
2217 * configure: Regenerate.
2218
428409d5
NC
22192001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2220
2221 * readelf.c (display_debug_line, display_debug_pubnames,
2222 display_debug_info, display_debug_frames): Detect and warn
2223 about 64-bit format entries.
2224 (display_debug_aranges): Reword 64-bit warning.
2225 (debug_displays): Add .debug_pubtypes as a known, but not yet
2226 supported, debug section.
2227
6a8c2b0d
AM
22282001-10-02 Alan Modra <amodra@bigpond.net.au>
2229
2230 * coffdump.c (PROGRAM_VERSION): Delete.
2231 (main <'V'>): Call print_version.
2232 * srconv.c: Likewise.
2233 * sysdump.c: Likewise.
2234 * version.c (program_version): Remove.
2235 (print_version): Use BFD_VERSION_STRING. Just print the current
2236 year in copyright message.
2237 * addr2line.c (program_version): Remove unused declaration.
2238 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2239 place of BFD_VERSION.
2240 * Makefile.am (Makefile): Depend on bfd/configure.in.
2241 (cplus-dem.o): Depend on Makefile.
2242 Run "make dep-am".
2243 * Makefile.in: Regenerate.
2244
e414a165
NC
22452001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2246
2247 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2248 format .debug_arange sections.
2249 (main): Add missing prototype.
b8908f93 2250
efc3ee7f
HPN
22512001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2252
2253 * Makefile.am: Update dependencies with "make dep-am".
2254 * Makefile.in: Regenerate.
2255
9e85c2a0
RH
22562001-09-28 Richard Henderson <rth@redhat.com>
2257
2258 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2259
451dad9c
AM
22602001-09-26 Alan Modra <amodra@bigpond.net.au>
2261
2262 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2263 VA_CLOSE.
2264 (non_fatal): Likewise.
2265 * objdump.c (objdump_sprintf): Likewise.
2266 * readelf.c (error): Likewise.
2267 (warn): Likewise.
2268
d974e256
JJ
22692001-09-25 Jakub Jelinek <jakub@redhat.com>
2270
2271 * readelf.c (do_wide): New.
2272 (options): Add --wide.
2273 (usage, parse_args): Likewise.
2274 (process_program_headers): Put each segment on a single line if
2275 --wide is given.
2276 (process_section_headers): Put each section on a single line if
2277 --wide is given.
2278 * doc/binutils.texi: Document it.
2279 * NEWS: Likewise.
2280
2f11c261
AM
22812001-09-25 Alan Modra <amodra@bigpond.net.au>
2282
2283 * readelf.c (print_vma): Print 8 digits of low hex value.
2284
1d50f91e
AJ
22852001-09-24 Andreas Jaeger <aj@suse.de>
2286
2287 * nlmconv.c: Fix warnings about unused attributes and function
2288 prototypes.
2289
2290 * strings.c: Add prototype for get_char.
2291
38131e67
L
22922000-09-19 H.J. Lu <hjl@gnu.org>
2293
2294 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2295 $(srcdir)/cxxfilt.man.
2296 * doc/Makefile.in: Rebuild.
2297
3bcfb3e4
AM
22982001-09-19 Alan Modra <amodra@bigpond.net.au>
2299
2300 * objcopy.c (copy_main): Correct rename-section string parsing.
2301 Consolidate new_name parsing, and error messages.
2302
3882b010
L
23032001-09-18 Bruno Haible <haible@clisp.cons.org>
2304
2305 * addr2line.c: Don't include <ctype.h>.
2306 (main): For gettext, also set the LC_CTYPE locate facet.
2307 * ar.c (main): Likewise.
2308 * coffdump.c (main): Likewise.
2309 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2310 (main): For gettext, also set the LC_CTYPE locate facet.
2311 Use ISALNUM instead of isalpha/isdigit.
2312 * dllwrap.c: Don't include <ctype.h>.
2313 (main): For gettext, also set the LC_CTYPE locate facet.
2314 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2315 (main): For gettext, also set the LC_CTYPE locate facet.
2316 Use TOUPPER instead of islower/toupper.
2317 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2318 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2319 Use TOUPPER instead of islower/toupper.
2320 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2321 * objcopy.c (main): Likewise.
2322 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2323 (disassemble_bytes): Use ISPRINT instead of isprint.
2324 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2325 (dump_data): Use ISPRINT instead of isprint.
2326 (main): For gettext, also set the LC_CTYPE locate facet.
2327 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2328 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2329 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2330 Use TOUPPER instead of islower/toupper.
2331 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2332 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2333 (write_rc_accelerators): Use ISPRINT instead of isprint.
2334 (write_rc_rcdata): Likewise.
2335 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2336 * srconv.c (main): Likewise.
2337 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2338 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2339 isdigit/isupper/islower.
2340 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2341 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2342 stab_demangle_prefix, stab_demangle_qualified,
2343 stab_demangle_template, stab_demangle_type,
2344 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2345 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2346 (isgraphic): Use ISPRINT instead of isascii/isprint.
2347 (main): Remove HAVE_LC_MESSAGES dependency.
2348 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2349 (pbarray): Use ISPRINT instead of isprint.
2350 (main): For gettext, also set the LC_CTYPE locate facet.
2351 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2352 (format_from_filename): Use ISPRINT instead of isprint.
2353 (main): For gettext, also set the LC_CTYPE locate facet.
2354 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2355 (unicode_print): Use ISPRINT instead of isprint.
2356 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2357 (stab_variable): Use ISDIGIT instead of isdigit.
2358
e59b4dfb
AM
23592001-09-18 Alan Modra <amodra@bigpond.net.au>
2360
2361 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2362 Replace bfd_read call with call to bfd_bread.
2363 (extract_file): Likewise.
2364
2365 * objdump.c (dump_section_header): Cast section->filepos to
2366 unsigned long to suit printf format string.
2367 * readelf.c (process_section_headers): Similarly for sh_offset.
2368 (process_unwind): Likewise.
2369
d132876a
NC
23702001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2371
2372 * strings.c (encoding, encoding_bytes): New variables.
2373 (long_options): Add --encoding.
2374 (main): Accept -e and --encoding.
2375 (get_char): New function. Read a, possibly wide, character from
2376 the input stream.
2377 (print_strings): Use get_char().
2378 (usage): Document new command line option.
2379 * doc/binutils.texi: Document new command line option.
2380 * NEWS: Announce new command line option.
2381
7559e86e 23822001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2383
2384 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2385 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2386 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2387 Removed EM_CYGNUS_ARC.
2388
7559e86e 23892001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2390
2391 * readelf.c: Include elf/h8 for H8 series definitions.
2392 (guess_is_rela): H8 series if RELA.
2393 (dump_relocations): Handle H8 series relocations.
2394
0823fbca
EC
23952001-08-31 Eric Christopher <echristo@redhat.com>
2396
2397 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2398
8db76d70
PT
23992001-08-29 Peter Targett <peter.targett@arccores.com>
2400
2401 * MAINTAINERS: Include ARC Maintainer.
2402
d81d6584
BE
24032001-08-29 Ben Elliston <bje@redhat.com>
2404
2405 * stabs.c (stab_demangle_template): Initialise s4.
2406
25a1ff5b
AM
24072001-08-27 Alan Modra <amodra@bigpond.net.au>
2408
2409 * readelf.c (dump_relocations): Recognise EM_PPC64.
2410
a5d22d2a
TS
24112001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2412
2413 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2414
62a5a82d
L
24152001-08-25 H.J. Lu <hjl@gnu.org>
2416
2417 * nm.c (print_width): New.
2418 (display_rel_file): Set `print_width' according to
2419 bfd_sprintf_vma.
2420 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2421
1ae8b3d2
AO
24222001-08-24 Alexandre Oliva <aoliva@redhat.com>
2423
2424 * objcopy.c (use_alt_mach_code): New variable.
2425 (OPTION_ALT_MACH_CODE): Define.
2426 (copy_options): Added --alt-machine-code.
2427 (copy_main): Handle it.
2428 (copy_object): Switch to alternate machine code if requested.
2429 * doc/binutils.texi: Document new option.
2430 * NEWS: Likewise.
2431
d1bdd336
TS
24322001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2433
2434 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2435
410f7a12
L
24362001-08-21 H.J. Lu <hjl@gnu.org>
2437
2438 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2439 (display_debug_info): Cast for 64bit hosts.
2440 (display_debug_frames): Likewise.
2441 (process_mips_specific): Likewise.
2442
c32144ff
AJ
24432001-08-21 Andreas Jaeger <aj@suse.de>
2444
2445 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2446
2447 * sysdump.c: Add missing prototypes.
2448 * srconv.c: Likewise.
2449 * unwind-ia64.c: Likewise.
2450 * coffdump.c: Likewise.
2451
2452 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2453
2454 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2455 of declaring xcalloc.
2456
d8180c76
L
24572001-08-10 H.J. Lu <hjl@gnu.org>
2458
2459 * nm.c (print_value): Add one arg, bfd *.
2460 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2461 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2462 (print_symbol_info_sysv): Likewise.
2463 (print_symbol_info_posix): Likewise.
2464
2465 * objdump.c (dump_section_header): Replace printf_vma with
2466 bfd_printf_vma.
2467 (print_section_stabs): Likewise.
2468 (dump_bfd_header): Likewise.
2469 (objdump_print_value): Replace sprintf_vma with
2470 bfd_sprintf_vma.
2471 (disassemble_bytes): Likewise.
2472 (dump_reloc_set): Likewise.
2473
0218d1e4
AJ
24742001-08-10 Andreas Jaeger <aj@suse.de>
2475
2476 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2477 to build warnings.
2478 * configure: Regenerate.
2479
2863d58a
AM
24802001-08-09 Alan Modra <amodra@bigpond.net.au>
2481
2482 * readelf.c: Add missing prototypes.
2483 * objdump.c: Likewise. Format existing prototypes.
2484
c0e047e0
AO
24852001-08-08 Alexandre Oliva <aoliva@redhat.com>
2486
2487 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2488 of any RELA relocation for the abbrev_offset memory location that
2489 refers to the .debug_abbrev section symbol.
2490
ff78d6d6
L
24912001-08-07 H.J. Lu <hjl@gnu.org>
2492
2493 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2494 (main): Return process_file ().
2495
c36774d6
PB
24962001-08-05 Philip Blundell <philb@gnu.org>
2497
2498 * doc/binutils.texi: Use "Thumb" not "THUMB".
2499
8f9d9bd9
JH
25002001-08-03 John Healy <jhealy@redhat.com>
2501
bb279dc0
ZW
2502 Patch suggested by Frank Eigler <fche@redhat.com>.
2503 * objdump.c (disassemble_data): Fill in section member of the
2504 disasm_info structure.
8f9d9bd9 2505
c918cb96
DD
25062001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2507
2508 * configure.in: Added --with-windres option.
2509 * configure: Regenerated.
2510
c7c55b78
NC
25112001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2512
2513 * doc/binutils.texi: Use @command{name} for commands;
2514 use @option{-opt} for options; use @table @env for list of options;
2515 remove spaces arround [ | ] in synopsis.
2516
2517 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2518 center title.
2519
594ef5db
NC
25202001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2521
bb279dc0
ZW
2522 * objcopy.c: Fix formatting.
2523 (section_rename): New structure.
2524 (OPTION_RENAME_SECTION): New switch.
2525 (copy_usage): Document new switch.
2526 (add_section_rename): New function: Add a node to the section
2527 rename list.
2528 (find_section_rename): New function: Find the new name and
2529 flags for a section.
2530 (setup_section): Call find_section_name to determine the name
2531 of the output section.
2532 (copy_main): Handle OPTION_RENAME_SECTION.
2533 * binutils.texi: Document new switch.
594ef5db
NC
2534 * NEWS: Mention new switch.
2535
1f554c69
NC
25362001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2537
2538 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2539 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2540 bug-binutils@gcc.org.
2541
2f83960e
AM
25422001-07-28 Matthias Kramm <kramm@quiss.org>
2543
2544 * bucomm.c (list_supported_architectures): New function.
2545 * bucomm.h (list_supported_architectures): Declare.
2546 * objdump.c (usage): Call the above.
2547
20fe0649
DB
25482001-07-25 Dave Brolley <brolley@redhat.com>
2549
2550 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2551 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2552
1b577b00
NC
25532001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2554
2555 * README: Update for 2.11. Change bug reporting email address.
2556 * MAINTAINERS: Tidy up. Change bug reporting email address.
2557
95fd336c
DD
25582001-07-16 DJ Delorie <dj@redhat.com>
2559
5f16d855
DD
2560 * resres.c (write_res_header): Align header size.
2561 (res_align_file): Calculate alignment correctly.
2562
95fd336c
DD
2563 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2564 correct 10).
2565 * resrc.c (write_rc_resource): Likewise.
2566 * windres.h (SUBLANG_SHIFT): Define - as 10.
2567
ed8fee27
NC
25682001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2569
2570 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2571
90ab7e9a
NC
25722001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2573
2574 * MAINTAINERS: Add notes about branch checkins.
2575
e0c60db2
NC
25762001-07-05 Daniel Berlin <dan@cgsoftware.com>
2577
2578 * readelf.c (display_debug_macinfo): New function, display
2579 .debug_macinfo section.
2580 (do_debug_macinfo): New variable.
2581 (parse_args): Handle "-w[mM]" to mean display macro info.
2582 (process_section_headers): Handle debug_macinfo.
2583 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2584 function for .debug_macinfo display.
e0c60db2
NC
2585 * doc/binutils.texi: Document new command line switch.
2586 * NEWS: Document new feature of readelf.
0218d1e4 2587
24e01a36
L
25882001-07-05 H.J. Lu <hjl@gnu.org>
2589
2590 * objcopy.c (filter_symbols): Don't turn undefined symbols
2591 into local.
2592
4258bf4d
L
25932001-07-03 H.J. Lu <hjl@gnu.org>
2594
2595 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2596 $@.pod.
2597 (ar.1): Likewise.
2598 (dlltool.1): Likewise.
2599 (nlmconv.1): Likewise.
2600 (nm.1): Likewise.
2601 (objcopy.1): Likewise.
2602 (objdump.1): Likewise.
2603 (ranlib.1): Likewise.
2604 (readelf.1): Likewise.
2605 (size.1): Likewise.
2606 (strings.1): Likewise.
2607 (strip.1): Likewise.
2608 (windres.1): Likewise.
2609 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2610 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2611 $(DEMANGLER_NAME).
2612 (as.1): Removed.
2613 * doc/Makefile.in: Regenerated.
2614
7014bc31
NC
26152001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2616
2617 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2618
b811889f
NC
26192001-07-01 Daniel Berlin <dan@cgsoftware.com>
2620
2621 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2622
12ab83a9
NC
26232001-06-29 James Cownie <jcownie@etnus.com>
2624
2625 * readelf.c: Support DWARF 2.1 attributes.
2626
a6e9f9df
AM
26272001-06-28 Alan Modra <amodra@bigpond.net.au>
2628
2629 * readelf.c (GET_DATA_ALLOC): Remove.
2630 (GET_DATA): Remove.
2631 (get_data): New function combining above macros, with an extra
2632 test for zero size.
2633 (slurp_rela_relocs): Use get_data, and catch error return.
2634 (slurp_rel_relocs): Likewise.
2635 (get_32bit_program_headers): Likewise.
2636 (get_64bit_program_headers): Likewise.
2637 (get_32bit_section_headers): Likewise.
2638 (get_64bit_section_headers): Likewise.
2639 (get_32bit_elf_symbols): Likewise.
2640 (get_64bit_elf_symbols): Likewise.
2641 (process_section_headers): Likewise.
2642 (process_relocs): Likewise.
2643 (slurp_ia64_unwind_table): Likewise.
2644 (process_unwind): Likewise.
2645 (get_32bit_dynamic_segment): Likewise.
2646 (get_64bit_dynamic_segment): Likewise.
2647 (process_dynamic_segment): Likewise.
2648 (process_version_sections): Likewise.
2649 (process_symbol_table): Likewise.
2650 (dump_section): Likewise.
2651 (display_debug_info): Likewise.
2652 (display_debug_section): Likewise.
2653 (process_section_contents): Likewise.
2654 (process_corefile_note_segment): Likewise.
2655 (process_mips_specific): Likewise. Also free econf32, econf64.
2656
af3fc3bc
AM
26572001-06-25 Alan Modra <amodra@bigpond.net.au>
2658
2659 * readelf.c (dump_relocations): Print "bad symbol index" if
2660 symtab == NULL with non-zero symtab_index.
2661 (process_relocs): Don't bomb if reloc section has no symsec.
2662
6d900bf6
L
26632001-06-24 H.J. Lu <hjl@gnu.org>
2664
2665 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2666 by accident.
2667 (copy_main): Apply the the change made to strip_main on
2668 2001-05-30 by accident.
2669
49b4e386
AJ
26702001-06-23 Andreas Jaeger <aj@suse.de>
2671
2672 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2673 parameter 'code'.
2674 (unw_decode_x2): Likewise.
2675 (unw_decode_x3): Likewise.
2676 (unw_decode_x4): Likewise.
2677
d8dc71e3
BE
26782001-06-23 Ben Elliston <bje@redhat.com>
2679
2680 * MAINTAINERS: Add myself as M88k maintainer.
2681
af3bdff7
NC
26822001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2683
2684 * objcopy.c (strip_main): Support -o or --output-file command lien
2685 switch.
2686
105e7211
L
26872001-06-19 H.J. Lu <hjl@gnu.org>
2688
2689 * doc/Makefile.in: Regenerated.
2690
c45021f2
NC
26912001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2692
2693 * readelf.c: Restore formatting.
2694
26952001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2696
bb279dc0
ZW
2697 * Makefile.am: Move documentation into doc subdirectory.
2698 * Makefile.in: Regenerated.
c45021f2 2699 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2700 * addr2line.1: Removed.
2701 * ar.1: Likewise.
2702 * dlltool.1: Likewise.
2703 * nlmconv.1: Likewise.
2704 * nm.1: Likewise.
2705 * objcopy.1: Likewise.
2706 * objdump.1: Likewise.
2707 * ranlib.1: Likewise.
2708 * readelf.1: Likewise.
2709 * size.1: Likewise.
2710 * strings.1: Likewise.
2711 * strip.1: Likewise.
2712 * windres.1: Likewise.
2713 * cxxfilt.man: Likewise.
c45021f2
NC
2714 * doc: New Directory.
2715 * doc/Makefile.am: New file.
2716 * doc/Makefile.in: Generate.
2717
09ad7db3
AM
27182001-06-09 Alan Modra <amodra@bigpond.net.au>
2719
2720 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2721
936260fe
AM
27222001-06-01 Alan Modra <amodra@bigpond.net.au>
2723
2724 * MAINTAINERS: Update my email address.
2725
16b2b71c
NC
27262001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2727
2728 * objcopy.c: Add new switches: --keep-global-symbol,
2729 --keep-symbols, --localize-symbols, --keep-global-symbols and
2730 --weaken-symbols.
2731 * binutils.texi: Document new switches.
2732 * objcopy.1: Regenerate.
2733 * NEWS: Announce new feature.
2734
7036c0e1
AJ
27352001-05-28 Andreas Jaeger <aj@suse.de>
2736
2737 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2738 variables, fix format strings.
2739
76a406e5
NC
27402001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2741
2742 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2743 when computing the address of the line to show.
2744
31b6fca6
RH
27452001-05-16 Richard Henderson <rth@redhat.com>
2746
2747 * readelf.c (do_debug_frames_interp): New.
2748 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2749 (byte_get_big_endian): Likewise.
2750 (parse_args) ['F']: Set do_debug_frames_interp.
2751 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2752 (frame_display_row): Don't trunc pc_begin to int.
2753 (size_of_encoded_value): New.
2754 (display_debug_frames): Handle 64-bit targets. Print raw data
2755 unless do_debug_frames_interp.
2756 (debug_displays): Remove duplicate .debug_frame.
2757
4fe85591
NC
27582001-05-15 Ralf Baechle <ralf@gnu.org>
2759
2760 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2761 The former constant was never in active use and is used otherwise
2762 by the ABI.
2763
579f31ac
JJ
27642001-05-11 Jakub Jelinek <jakub@redhat.com>
2765
2766 * readelf.c (process_unwind): Print all unwind sections, not just
2767 one.
2768
78f4a3f7
AM
27692001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2770
2771 * readelf.c (process_unwind): Remove const specifier.
2772
1c529ca6
NC
27732001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2774
2775 * strings.c (isgraphic): Do not use isascii() unless it is needed
2776 for isprint() to work.
2777 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2778
87e6d782
NC
27792001-04-27 Johan Rydberg <jrydberg@opencores.org>
2780
bb279dc0 2781 * NEWS: Announce support for OpenRISC.
87e6d782 2782
4bd3d870 27832001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2784
2785 * dlltool.c (do_default_excludes): Initialise to true.
2786
21211521
AM
27872001-04-10 Alan Modra <amodra@one.net.au>
2788
2789 * MAINTAINERS: Update my email address
2790 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2791
0c66b61e 27922001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2793
2794 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2795
e58d53af
L
27962001-03-30 H.J. Lu <hjl@gnu.org>
2797
2798 * readelf.c (process_unwind): Just return if do_unwind is 0.
2799
bee72332
DD
28002001-03-28 Roger Sayle <roger@metaphorics.com>
2801
2802 * dlltool.c (make_one_lib_file): Fix section flags for
2803 .text, .data and .bss in stub ds*.o files to match those
2804 generated by gas.
2805
f1467e33
L
28062001-03-29 H.J. Lu <hjl@gnu.org>
2807
2808 * readelf.c (process_unwind): Only do unwind sections for
2809 IA64.
2810
1c6fb4fe
L
28112001-03-28 H.J. Lu <hjl@gnu.org>
2812
2813 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2814 * Makefile.in: Regenerate.
2815
0879a67a
AJ
28162001-03-26 Andreas Jaeger <aj@suse.de>
2817
2818 * binutils.texi (nm): Fix texi syntax.
2819
0285c67d
NC
28202001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2821
2822 * binutils.texi: Put @c man begin and @c man end indications
2823 to generate man pages using texi2pod and pod2man. Put @c man title
2824 to identify each man. Add SEEALSO entries.
2825 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2826 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2827 sort the list.
2828 (*.1): Build the man pages from binutils.texi.
2829 * Makefile.in: Regenerate.
2830
04847a4d
CF
28312001-03-13 Eric Kohl <ekohl@rz-online.de>
2832
2833 * defparse.y (opt_equal_name): allow "." in name.
2834 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2835 (gen_exp_file): Likewise.
2836
43a0748c
NC
28372001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2838
2839 * NEWS: Document addition of -B switch to objcopy.
2840 * binutils.texi: Document addition of -B switch to objcopy.
2841 * objcopy.c: (copy_options): Add --binary-architecture.
2842 (copy_usage): Document -B/--binary-architecture.
2843 (copy_main): Support -B/--binary-architecture. Set
2844 bfd_external_binary_architecture.
0879a67a 2845
b7498e0e
NC
28462001-03-11 Andreas Jaeger <aj@suse.de>
2847
2848 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2849 (dump_relocations): Likewise.
2850 (get_machine_name): Likewise.
2851
a59e3bd7
NC
28522001-02-28 Nick Clifton <nickc@redhat.com>
2853
2854 * readelf.c: (struct unw_aux_info): Remove const modifier for
2855 'strtab' field.
2856 (process_unwind): Remove non-K&R compliant LHS type cast in call
2857 to GET_DATA_ALLOC macro.
2858
a5bcd848
PB
28592001-02-28 Philip Blundell <pb@futuretv.com>
2860
2861 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2862 ABI is in use; remove ambiguity between the "unknown" EABI and
2863 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2864 renamed EF_xx constants.
2865
27b7e12d
AM
28662001-02-27 Alan Modra <alan@linuxcare.com.au>
2867
2868 * configure.in (BFD_VERSION): New.
2869 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2870 * configure: Regenerate.
2871 * Makefile.am: Run "make dep-am"
2872 * Makefile.in: Regenerate.
2873
a9f10786
NC
28742001-02-14 Nick Clifton <nickc@redhat.com>
2875
2876 * MAINTAINERS: Add "Obvious Fix" rule.
2877
3c44da9a
MS
28782001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2879
2880 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2881 literal concatenation.
2882
ecd03389
MS
28832001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2884
2885 * readelf.c (struct unw_aux_info): Remove const from the info member.
2886 (process_unwind): Don't type-cast the third argument to the
2887 GET_DATA_ALLOC macro.
2888
88ec60c7
NC
28892001-02-11 Nick Clifton <nickc@redhat.com>
2890
2891 * readelf.c (dump_relocations): Free corrected allocated
2892 array.
2893 (process_unwind): Fix compile time warning.
2894
f5e21966
NC
28952001-02-10 Nick Clifton <nickc@redhat.com>
2896
2897 * binutils.texi: Document new --unwind option to readelf.
2898
a85d7ed0
NC
28992001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2900
2901 * readelf.c: Add linux target for S/390.
2902
7bb10502
AM
29032001-02-10 Alan Modra <alan@linuxcare.com.au>
2904
2905 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2906 printf is a macro.
2907
8ca8f343
HPN
29082001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2909
2910 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2911 * aclocal.m4: Regenerate.
2912 * configure: Regenerate.
2913
7340082d
NC
29142001-02-07 Todd Vierling <tv@wasabisystems.com>
2915
2916 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2917 * objdump.c (bfd_target_vector): Likewise.
2918
4d6ed7c8
NC
29192001-02-07 David Mosberger <davidm@hpl.hp.com>
2920
2921 * readelf.c (process_unwind): New function.
2922 (slurp_ia64_unwind_table): Ditto.
2923 (dump_ia64_unwind): Ditto.
2924 (find_symbol_for_address): Ditto.
2925 (slurp_rela_relocs): New function (split off from dump_relocations()).
2926 (slurp_rel_relocs): Ditto.
2927 (parse_args): Handle '-u' option.
2928
2929 * unwind-ia64.c: New file.
2930 * unwind-ia64.h: New file.
2931 * Makefile.am: Include unwind-ia64.c in readelf build.
2932 * Makefile.in: Regenerate.
7340082d 2933 * po/binutils.pot: Regenerate.
4d6ed7c8 2934
c7217458
PB
29352001-02-04 Philip Blundell <philb@gnu.org>
2936
2937 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2938 * configure: Regenerate.
2939
956eedd4
AM
29402001-01-31 Steve deRosier <sderosier@vari-lite.com>
2941
2942 * ieee.c (ieee_add_bb11): Don't check for backslashes
2943 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2944
8855cbca
AM
29452001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2946
c7f2731e
AM
2947 * ieee.c: Update copyright.
2948 (ieee_start_compilation_unit): Don't check for backslashes
2949 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2950
8855cbca
AM
2951 * stabs.c: Update copyright. Include "filenames.h".
2952 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2953
329de803 29542001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2955
2956 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2957 sections are present before using them. Remove code duplication.
2958 (process_symbol_table): Check if VERDEF or VERNEED sections are
2959 present before using them.
2960
23719f39
NC
29612001-01-17 Nick Clifton <nickc@redhat.com>
2962
2963 * objcopy.c (copy_object): Fail if attempting to convert the
2964 endianness of the input object file.
2965
2966 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2967
f726e849
NC
29682001-01-16 Nick Clifton <nickc@redhat.com>
2969
2970 * readelf.c (string_table_length): New variable.
2971 (SECTION_NAME): Catch out of range indices and missing section
2972 pointers.
2973 (process_section_headers): Delete useless local variable
2974 string_table_offset. Set the value of string_table_length
2975 after loading the string table.
2976 (process_mips_specific): Use SECTION_NAME macro.
2977 (process_file): Set string_table_length to 0 when it is freed.
2978
d0398d6a
NC
29792001-01-12 Nick Clifton <nickc@redhat.com>
2980
2981 * version.c (print_version): Update copyright date.
2982
0d2bcfaf
NC
29832001-01-11 Peter Targett <peter.targett@arccores.com>
2984
2985 * readelf.c (dump_relocations): Include selection with EM_ARC.
2986 (get_machine_name) Update name to "ARC".
2987
8b1e6df3
NC
29882001-01-09 Nick Clifton <nickc@redhat.com>
2989
2990 * Makefile.am: Add rule to build objdump.o from objdump.c and
2991 using OBJDUMP_DEFS.
2992 * Makefile.in: Regenerate.
2993
2994 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2995 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2996 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2997 * configure: Regenerate.
8b1e6df3
NC
2998
2999 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3000 is defined read in the relocs even if dump_reloc_info is
3001 false.
3002
2f952d20
PB
30032001-01-07 Philip Blundell <philb@gnu.org>
3004
3005 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3006 `bug-binutils'.
3007 * README: Likewise.
3008
a8c548cb
NC
30092000-12-19 Nick Clifton <nickc@redhat.com>
3010
3011 * dlltool.c: Add missing support for arm-epoc-pe.
3012 * configure.in: Add missing support for arm-epoc-pe.
3013 * configure: Regenerate.
3014
cc5fda35
NC
30152000-12-15 Nick Clifton <nickc@redhat.com>
3016
3017 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3018 Mode parts of the x86 port.
3019
bcedfee6
NC
30202000-12-04 Andreas Jaeger <aj@suse.de>
3021
3022 * readelf.c (guess_is_rela): Add EM_X86_64.
3023 (dump_relocations): Add EM_X86_64.
3024 (get_machine_name): Add EM_X86_64.
3025 Include "elf/x86-64.h".
3026
584da044
NC
30272000-12-12 Nick Clifton <nickc@redhat.com>
3028
3029 * readelf.c: Fix formatting.
3030
7559e86e 30312000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3032
3033 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3034
a98cc2b2
AH
30352000-12-07 Andrew Haley <aph@redhat.com>
3036
3037 * readelf.c (display_debug_frames): Only display columns that are
3038 referenced by the frame debug info.
3039
c7987a69
NC
30402000-12-05 Nick Clifton <nickc@redhat.com>
3041
3042 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3043
09fd7e38
JM
30442000-12-04 Jason Merrill <jason@redhat.com>
3045
3046 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3047 (display_debug_section): Likewise.
3048 (display_debug_info): Display CU header before bailing.
3049
e7af610e
NC
30502000-12-01 Chris Demetriou <cgd@sibyte.com>
3051
09fd7e38
JM
3052 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3053 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3054 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 3055
09fd7e38
JM
3056 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3057 and E_MIPS_ARCH_64.
84ea6cf2 3058
09fd7e38
JM
3059 * readelf.c (get_machine_flags): Add case for
3060 E_MIPS_MACH_SB1.
c6c98b38 3061
75066968
DD
30622000-11-30 Richard Earnshaw <rearnsha@arm.com>
3063
3064 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3065
5c4666ea
HPN
30662000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3067