2003-10-26 Michael Chastain <mec@shout.net>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
50c2245b
KH
12003-10-27 Kazu Hirata <kazu@cs.umass.edu>
2
3 * ChangeLog: Fix typos.
4 * ChangeLog-9197: Likewise.
5 * ChangeLog-9899: Likewise.
6 * NEWS: Likewise.
7 * ar.c: Fix comment typos.
8 * arsup.c: Likewise.
9 * coffgrok.c: Likewise.
10 * debug.c: Likewise.
11 * debug.h: Likewise.
12 * dlltool.c: Likewise.
13 * ieee.c: Likewise.
14 * nm.c: Likewise.
15 * objdump.c: Likewise.
16 * prdbg.c: Likewise.
17 * readelf.c: Likewise.
18 * resrc.c: Likewise.
19 * sysinfo.y: Likewise.
20 * windres.c: Likewise.
21
ed570f48
NC
222003-10-27 Nick Clifton <nickc@redhat.com>
23
24 * objcopy.c (copy_section): Do not complain when a target does not
25 support relocations.
26 (mark_symbols_used_in_relocations): Likewise.
27
b749473b
NC
282003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
29
30 * objcopy.c (copy_main): Reads machine flags from arch_info
31 structure.
32
198beae2
AC
332003-10-20 Andrew Cagney <cagney@redhat.com>
34
35 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
36 bfd_section".
37
29ca8dc5
NS
382003-10-07 Nathan Sidwell <nathan@codesourcery.com>
39
40 * objdump.c (read_section_stabs): Just read one section, return
41 pointer to it. Add size parameter.
42 (print_section_stabs): Add string offset parameter. Adjust.
43 (struct stab_section_names): Add string offset member.
44 (find_stabs_sections): Correct check for split section suffix,
45 adjust read_section_stabs and print_section_stabs calls.
46 (dump_stabs_section): Clear string_offset, free string table.
47
b95f6b0c
CF
482003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
49
50 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
51 'bit count' in icon groups.
52
43c58ae6
CD
532003-09-30 Chris Demetriou <cgd@broadcom.com>
54
55 * NEWS: Add an indication of the cutoff for 2.14.
56
5f74bc13
CD
572003-09-30 Chris Demetriou <cgd@broadcom.com>
58
59 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
60
9ce701e2
L
612003-09-29 H.J. Lu <hongjiu.lu@intel.com>
62
63 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
64 (get_symbol_index_type): Likewise.
65
ecc2063b
L
662003-09-25 H.J. Lu <hongjiu.lu@intel.com>
67
68 * readelf.c (process_version_sections): Indent version names.
69
739fea7b
AG
702003-09-15 Anthony Green <green@redhat.com>
71
72 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
73 (dlltmp): Ditto.
74 (dtab): Ditto.
75
2da42df6
AJ
762003-09-14 Andreas Jaeger <aj@suse.de>
77
78 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
79 unneeded (void *) casts.
80 * ar.c: Likewise.
81 * arlex.l: Likewise.
82 * arparse.y: Likewise.
83 * arsup.c: Likewise.
84 * binemul.c: Likewise.
85 * binemul.h: Likewise.
86 * bucomm.c: Likewise.
87 * bucomm.h: Likewise.
88 * budbg.h: Likewise.
89 * budemang.c: Likewise.
90 * budemang.h: Likewise.
91 * coffdump.c: Likewise.
92 * coffgrok.c: Likewise.
93 * cxxfilt.c: Likewise.
94 * debug.c: Likewise.
95 * debug.h: Likewise.
96 * deflex.l: Likewise.
97 * dlltool.c: Likewise.
98 * dlltool.h: Likewise.
99 * dllwrap.c: Likewise.
100 * emul_aix.c: Likewise.
101 * filemode.c: Likewise.
102 * ieee.c: Likewise.
103 * nlmconv.c: Likewise.
104 * nlmconv.h: Likewise.
105 * nlmheader.y: Likewise.
106 * nm.c: Likewise.
107 * prdbg.c: Likewise.
108 * rclex.l: Likewise.
109 * rcparse.y: Likewise.
110 * rdcoff.c: Likewise.
111 * rddbg.c: Likewise.
112 * rename.c: Likewise.
113 * resbin.c: Likewise.
114 * rescoff.c: Likewise.
115 * resrc.c: Likewise.
116 * size.c: Likewise.
117 * srconv.c: Likewise.
118 * stabs.c: Likewise.
119 * strings.c: Likewise.
120 * sysdump.c: Likewise.
121 * sysinfo.y: Likewise.
122 * syslex.l: Likewise.
123 * unwind-ia64.c: Likewise.
124 * unwind-ia64.h: Likewise.
125 * version.c: Likewise.
126 * windres.c: Likewise.
127 * windres.h: Likewise.
128 * winduni.c: Likewise.
129 * wrstabs.c: Likewise.
130
e831786b
JW
1312003-09-10 James E Wilson <wilson@specifixinc.com>
132
133 * MAINTAINERS: Update my e-mail address.
134
afa7d0b2
ILT
1352003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
136
137 * MAINTAINERS: Update my e-mail address.
138
04fbe429
NC
1392003-09-04 Nick Clifton <nickc@redhat.com>
140
141 * MAINTAINERS: Make it clear what should be done with patches to
142 the top level configure files (other than config.guess and
143 config.sub). Add binutils@sources.redhat.com as an address to
144 which patches can be sent.
145
8ad30312
NC
1462003-09-04 Nick Clifton <nickc@redhat.com>
147
148 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
149
92c2346c
AC
1502003-09-03 Andrew Cagney <cagney@redhat.com>
151
152 * objdump.c: Refer to init_disassemble_info in comments.
153 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
154 init_disassemble_info.
155
155e0d23
NC
1562003-09-03 Nick Clifton <nickc@redhat.com>
157
158 * objdump.c (struct objdump_disasm_info): Add new fields
159 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
160 (process_section_p): New function: Returns TRUE if a section
161 can be dumped.
162 (disassemble_section): New function: Contains the body of
163 disassemble_data(), but just for one section.
164 (disassemble_data): Use bfd_map_over_sections to walk section
165 chain.
166 (find_stabs_section): New function: Find a stabs containing
167 section and then dump it.
168 (dump_stabs_section): New function: Use bfd_map_over_sections
169 to find the section to dump.
170 (dump_stabs): Use dump_stabs_section.
171 (dump_section): New function: Display the contents of a
172 section.
173 (dump_data): Use bfd_map_over_sections to display section
174 contents.
175 (dump_relocs_in_section): Display the relocs in a given section.
176 (dump_relocs): Use bfd_map_over_sections to display relocs.
177 (adjust_addresses): New function: Adjust the vma and lma of
178 sections.
179 (dump_bfd): Use bfd_map_over_sections.
180 * doc/binutils.texi: Document the "objdump -s" (no longer)
181 dumps empty sections.
182
1832003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
184
185 * objdump.c: Improve comments/documentation.
186 dump_data: Eliminate duplicate function calls to bfd_section_size.
187
6b10f68d
AM
1882003-09-02 Alan Modra <amodra@bigpond.net.au>
189
190 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
191
3673a93e
NC
1922003-08-21 Nick Clifton <nickc@redhat.com>
193
194 * po/tr.po: Updated Turkish translation.
195
51f7282a
AM
1962003-08-14 Alan Modra <amodra@bigpond.net.au>
197
55bb4be3 198 * dep-in.sed: Remove libintl.h.
51f7282a 199 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 200 Run "make dep-am".
51f7282a
AM
201 * Makefile.in: Regenerate.
202
d989285c
ILT
2032003-08-11 Ian Lance Taylor <ian@airs.com>
204
205 * readelf.c (process_archive): Fix error handling. Remove memory
206 leak.
fb52b2f4
NC
207
208 * readelf.c: Add ability to read archives.
209 (archive_file_offset): New variable.
210 (archive_file_size): New variable.
211 (get_data): Include archive_file_offset in file offset
212 calculation when fseeking.
213 (process_program_headers): Likewise.
214 (process_symbol_table): Likewise.
215 (process_dynamic_segment): Handle computation of end of file
216 position when the file is in an archive.
217 (process_object): New function. Contains the body of
218 process_file().
219 (process_archive): New function. Call process_object on each
220 member of an archive.
221 (process_file): Detect archives and handle appropriately.
222 * Makefile.am: Add dependency on aout/ar.h for readelf.c
223 * Makefile.in: Regenerate.
224 * NEWS: Document readelf's new ability.
225 * doc/binutils: Alter text to say that readelf supports archives
226 and 64-bit ELF files.
227
ff85ab24
NC
2282003-08-08 Nick Clifton <nickc@redhat.com>
229
230 * po/fr.po: Updated French translation.
231
d3ba0551
AM
2322003-08-05 Alan Modra <amodra@bigpond.net.au>
233
234 * objcopy.c: Remove unnecessary prototypes and casts.
235 * objdump.c: Remove unnecessary casts.
236 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
237 (get_osabi_name): Move so we don't need a forward declaration.
238
43ac9881
AM
2392003-08-04 Bradley Harrington <bharring@us.ibm.com>
240 Alan Modra <amodra@bigpond.net.au>
241
242 * objdump.c (include_paths, include_path_count): New vars.
243 (usage): Describe --include.
244 (long_options): Add "include".
245 (add_include_path): New function.
246 (struct print_file_list): Make filename const. Add modname.
247 (try_print_file_open, update_source_path): New functions.
248 (show_line): Use them.
249 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
250
fd7bb956
AM
2512003-07-30 Alan Modra <amodra@bigpond.net.au>
252
253 * objdump.c: Remove unnecessary prototypes.
254 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
255 code, and print relocs when dump_dynamic_reloc_info.
256 (disassemble_data): Read and handle dynamic relocs. Correct reloc
257 skip code. Formatting.
258 (dump_bfd): Don't dump dynamic relocs when disassembling.
259
1e7e751f
BE
2602003-07-29 Ben Elliston <bje@wasabisystems.com>
261
262 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
263 maintenance defaults to the blanket write privilege maintainers.
264
2445335e
MM
2652003-07-29 Michael Meissner <gnu@the-meissners.org>
266
267 * MAINTAINERS: Updated my email address.
268
46dca2e0
NC
2692003-07-29 Nick Clifton <nickc@redhat.com>
270
1e7e751f 271 * objdump.c: Update to ISO C.
46dca2e0 272
834d807b
NC
2732003-07-24 Nick Clifton <nickc@redhat.com>
274
f1e2bc62
NC
275 * objdump.c (disassemble_data): Do not ignore sections without the
276 LOAD flag when disassemble_all is true. Only print a message
277 about disassembling a section if it contains some data.
278
834d807b
NC
279 * po/fr.po: Updated French translation.
280
84e2f313
NC
2812003-07-23 Nick Clifton <nickc@redhat.com>
282
283 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
284 left in. Some formatting tidy ups.
285
51cdc6e0
NC
2862003-07-22 Salvador Eduardo Tropea <set@computer.org>
287
288 * objdump.c: New command line option --debugging-tags.
289 * doc/binutils.texi: Document new command line option.
290 * prdbg.c: Code to print the debug info as tags compatible
291 with ctags.
292 * budbg.h: Adjust prototype.
293 * NEWS: Mention new switch
294
31e0f3cd
NC
2952003-07-18 Nick Clifton <nickc@redhat.com>
296
297 * objdump.c (main) :Accept multiple -M switch.
298 * doc/binutils.texi: Document that multiple -M switches are
299 accepted and that a single -M switch can contain comma
300 separated options.
301
073fbac6
NC
3022003-07-17 Nick Clifton <nickc@redhat.com>
303
304 * objdump.c (main): Issue a warning message if multiple -M
305 switches are used.
306
307 * doc/binutils.texi (objdump): Update documentation about -M
308 option.
309
6c37ac4d
NC
3102003-07-17 Nick Clifton <nickc@redhat.com>
311
312 * po/es.po: New Spanish translation.
313
fce00800
AM
3142003-07-11 Alan Modra <amodra@bigpond.net.au>
315
316 * po/binutils.pot: Regenerate.
317
ff6b6222
CF
3182003-07-05 Christopher Faylor <cgf@redhat.com>
319
320 * dlltool.c (prefix_encode): Use a fixed length for alpha.
321
bf7a6389
CF
3222003-07-04 Christopher Faylor <cgf@redhat.com>
323
324 * dlltool.c (prefix_encode): New function. Encode temp file prefix
325 from pid.
326 (dlltmp): Pass address of pointer being alloced or suffer neverending
327 mallocs.
328 (make_one_lib_file): Allocate enough space for new longer stub names.
329 (gen_lib_file): Ditto.
330 (main): Generate the temp file prefix from the pid if prefix was not
331 specified on the command line.
332
96c223ce
NC
3332003-07-04 Nick Clifton <nickc@redhat.com>
334
335 * readelf.c (get_data): Print (unsigned) hex values for size and
336 offset in error messages.
337 (process_section_headers): If the string table could not be
338 allocated, do not continue.
339
bdf4d63a
JJ
3402003-07-01 Jakub Jelinek <jakub@redhat.com>
341
342 * readelf.c (dynamic_segment_ia64_val): Print address and newline
343 for sections by default. Comment fix.
344
b9ae0492
DS
3452003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
346
347 * rcparse.y (res_text_field): New res_id variable.
348 (res_null_text): New static const struct res_id object,
349 with empty unicode name field.
350 (control): Pop parsing of optresidc up one level. Set
351 res_text_field to $2 except for controls which do not accept
352 a text field. Set res_text_field to res_null_text for the
353 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
354 (control_params): Adjust to use res_text_field rather
355 than optresidc.
356 (COMBOBOX): Add comment about discrepency between documented
357 vs. observed default style.
358 * resrc.c (define_control): Make first param const.
359 * windres.h (define_control): Adjust prototype.
360
e7c81c25
NC
3612003-06-27 Nick Clifton <nickc@redhat.com>
362
363 * objcopy.c (copy_object): Replace call to
50c2245b 364 bfd_create_gnu_debuglink_section with separate calls to
e7c81c25 365 bfd_add_gnu_debuglink_section and
50c2245b 366 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
e7c81c25
NC
367 symbol tables.
368
d93f0186
NC
3692003-06-26 Roland McGrath <roland@redhat.com>
370
371 * readelf.c (loadaddr): Variable removed.
372 (dynamic_info, version_info): Fix type long -> bfd_vma.
373 (program_headers): New variable.
374 (get_program_headers): New function, broken out of
375 process_program_headers.
376 (process_program_headers): Call it. Don't set `loadaddr'.
377 (slurp_ia64_unwind_table): Use get_program_headers.
378 (process_corefile_note_segments): Likewise.
379 (offset_from_vma): New function.
380 (process_relocs, process_dynamic_segment): Call that instead of
381 subtracting `loadaddr'.
382 (process_version_sections, process_symbol_table): Likewise.
383 (process_mips_specific): Likewise.
384
ed1653a7
NC
3852003-06-26 Nick Clifton <nickc@redhat.com>
386
387 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
388 (OPTION_ONLY_KEEP_DEBUG): New.
389 (strip_options): Add --only-keep-debug.
390 (copy_options): Likewise.
391 (is_strip_section): Invert return value if STRIP_NONDEBUG is
392 active.
393 (copy_object): Do not copy private data when STRIP_NONDEBUG is
394 active.
395 (setup_section): Likewise.
396 (strip_main): Handle --only-keep-debug.
397 (copy_main): Likewise.
398 * NEWS: Mention new switch
399 * doc/binutils.texi: Document new switch.
400
1049f94e
AM
4012003-06-25 Alan Modra <amodra@bigpond.net.au>
402
403 * NEWS: Correct spelling of "relocatable".
404 * objdump.c: Likewise.
405 * sysroff.info: Likewise.
406
b19aac67
NC
4072003-06-19 Nick Clifton <nickc@redhat.com>
408
409 * readelf.c (print_vma): When printing DEC_5 values, if the
410 number is bigger than 99999 switch to using hexadecimal
411 notation.
412
2593f09a
NC
4132003-06-11 Nick Clifton <nickc@redhat.com>
414
415 * objcopy.c (gnu_debuglink_filename): New variable.
416 (OPTION_ADD_GNU_DEBUGLINK): New switch
417 (copy_options): Describe --add-gnu-debuglink switch.
418 Mention that --strip-debug removes sections as well.
419 (is_strip_section): Process the sections removed and kept
420 lists before checking for debugging sections.
421 (add_redefine_syms_file): Make function static.
422 (copy_object): Use is_strip_section.
423 Check to see if a .gnu_debuglink section should be added. If
424 so, call bfd_add_gnu_debuglink.
425 (setup_section): Use is_strip_section.
426 (copy_section): Use is_strip_section.
427 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
428 * NEWS: Mention new objcopy switch.
429 * doc/binutils.texi: Document new switch.
430
3b443373
L
4312003-06-11 H.J. Lu <hongjiu.lu@intel.com>
432
433 * po/Make-in (DESTDIR): New.
434 (install-data-yes): Support $(DESTDIR).
435 (uninstall): Likewise.
436
795bb480
AM
4372003-06-11 Alan Modra <amodra@bigpond.net.au>
438
439 * Makefile.in: Regenerate.
440
9ee5e499
JJ
4412003-05-23 Jakub Jelinek <jakub@redhat.com>
442
443 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
444
a3b6428f
NC
4452003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
446
447 * NEWS: Document the new BSD/POSIX single-character mapping for
448 .comment/.note sections.
449
92991082
JT
4502003-06-02 Chris Demetriou <cgd@broadcom.com>
451 Jason Thorpe <thorpej@wasabisystems.com>
452
453 * objcopy.c (redefine_list_append): Add an argument that
454 indicates the context from which this function is being
455 called. Change all callers.
456 (copy_options): Add a new option, --redefine-syms.
457 (copy_usage): Document new option.
458 (copy_main): Handle the --redefine-syms option.
459 * doc/binutils.text (objcopy): Document new option.
460
38fafa6d
RH
4612003-05-31 Richard Henderson <rth@redhat.com>
462
463 * readelf.c (byte_get_signed): New.
464 (get_encoded_value): New.
465 (display_debug_frames): Use it. Always pre-process opcodes.
466
636fc387
ML
4672003-05-20 Michal Ludvig <mludvig@suse.cz>
468
469 * readelf.c (display_debug_frames): Print both registers
470 for DW_CFA_register.
471
80c7c40a
NC
4722003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
473
474 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
475 i[3-7]86-*-interix.
476 * configure.in: Regenerate.
477
0fcdcb91
NC
4782003-05-13 Michael Eager <eager@mvista.com>
479
480 * objcopy.c: Treat identical src/dst file names as if only one
481 entered. One Windows creating an output file of the same name as
482 the input file will delete the input file before it is read.
483
7ab5f2ed
NC
4842003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
485
486 * debug.c (debug_get_real_type): Extend test for circular debug
487 references.
488
3c92310f
NC
4892003-05-12 Nick Clifton <nickc@redhat.com>
490
491 * configure.in (ALL_LINGUAS): Add zh_CN.
492 * configure: Regenerate.
493 * po/zh_CN.po: New file: Chinese (simplified) translation.
494
d68c07bb
JE
4952003-05-11 Jason Eckhardt <jle@rice.edu>
496
497 * MAINTAINERS: Update my mail address.
498
8beeaeb7
L
4992003-05-07 H.J. Lu <hongjiu.lu@intel.com>
500
501 * readelf.c (dump_relocations): Enlarge the type field in wide
502 mode by one character.
503
63044634
RH
5042003-05-03 Richard Henderson <rth@redhat.com>
505
506 * readelf.c (struct Frame_Chunk): Add cfa_exp.
507 (frame_display_row): Just print "exp" for cfa or register
508 defined by a location expression.
509 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
510 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
511
6e50c90c
L
5122003-04-30 H.J. Lu <hjl@gnu.org>
513
514 * objdump.c (only): Change it to char **.
515 (only_size): New.
516 (only_used): New.
517 (disassemble_data): Check only as an array.
518 (dump_data): Likewise.
519 (dump_relocs): Likewise.
520 (main): Treat only as an array.
521
edbedb71
NC
5222003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
523
524 * doc/binutils.texi: Fix the documentation for the -fo option.
525
3f7de0e7
NC
5262003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
527
ef230218
JR
528 * readelf.c (get_machine_name) <EM_SH>: Amend return value
529 to refer to SuperH.
530
3f7de0e7
NC
531 * readelf.c (decode_location_expression): Don't add a trailing ';'.
532
32df8966
NC
5332003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
534 Nick Clifton <nickc@redhat.com>
535
536 * windres.c (long_options): Move close to main, where it is used.
537 Add 'input' and 'output' long options.
538 (main): Accept "-fo" as an alias for "-o". This is for rc
539 comptibility.
540 * doc/binutils.texi: Mention that -fo is accepted as an alias for
541 -o, but discourage its use.
542
85eb5110
NC
5432003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
544
545 * windres.c (format_from_name): Make the exit on error
546 behaviour optional.
547 (main): Rename the -I option to -J. Introduce -I as a synonym
548 for --include-dir. For backwards compatibility also support the
549 old -I behaviour, but issue a deprecation warning.
550 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
551 of the -I option.
552
26597c86
NC
5532003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
554
555 * readelf.c: Replace references to Mitsubishi M32R with
556 references to Renesas M32R.
557
c2dcd04e
NC
5582003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
559
560 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
561
c1124b23
AO
5622003-04-09 Alexandre Oliva <aoliva@redhat.com>
563
564 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
565 for debugging information types not supported by objdump.
566
e5076347
AM
5672003-04-09 Bernd Jendrissek <berndj@prism.co.za>
568
569 * configure.in: Recognize canonical form of i[3-6]86-pe*.
570 * configure: Regenerate.
571
adab8cdc
AO
5722003-04-09 Alexandre Oliva <aoliva@redhat.com>
573
574 * readelf.c (display_debug_info): Apply RELA relocations on the
575 entire section.
576 (byte_put_little_endian, byte_put_big_endian): New functions.
577 (byte_put): New variable.
578 (get_file_header): Initialize it.
579
3077f5d8
NC
5802003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
581
582 * windres.c: Add -l for compatibility with wrc, and rc.
583 Use the short option as a key for long options that have
584 a synonymous short option.
585 * doc/binutils.texi: Added -l to the list of options.
586
29b058f1
NC
5872003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
588
3077f5d8
NC
589 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
590 (main): Just pass the -U option down to the preprocessor.
591 * doc/binutils.texi: Added -U to the list of options.
29b058f1 592
3126d709
CF
5932003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
594
595 * windres.c (usage): Report -r option.
596 (main): Ignore the -r option.
597 * doc/binutils.texi: Add -r to the list of options.
598
c46ac711
BW
5992003-04-01 Bob Wilson <bob.wilson@acm.org>
600
601 * MAINTAINERS: Add myself as Xtensa maintainer.
602
88da6820
NC
6032003-04-01 Bob Wilson <bob.wilson@acm.org>
604
3077f5d8
NC
605 * readelf.c: Include "elf/xtensa.h".
606 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
607 targets that use RELA relocations.
608 (dump_relocations): Call elf_xtensa_reloc_type for
609 EM_XTENSA and EM_XTENSA_OLD.
610 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 611
27a710e5
NC
6122003-04-01 Nick Clifton <nickc@redhat.com>
613
614 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
615 thumb-pe*, mcore-pe and mcore-*elf.
616 * configure: Regenerate.
617
335a1869
AO
6182003-03-31 Alexandre Oliva <aoliva@redhat.com>
619
620 * objdump.c (dump_data): Don't truncate the address to long; make
621 the width large enough, and uniform for all entries in a section.
622
566b0d53
L
6232003-03-31 H.J. Lu <hjl@gnu.org>
624
625 * readelf.c: Include "libiberty.h".
626 (dynamic_relocations): New.
627 (process_relocs): Properly handle dynamic relocation.
628 (process_dynamic_segment): Fill relocation elements in
629 dynamic_info.
630
ee42cf8c
NC
6312003-03-31 Kevin Buettner <kevinb@redhat.com>
632
633 * readelf.c (read_and_display_attr, read_and_display_attr_value):
634 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
635 all callers.
636 (display_debug_lines, display_debug_pubnames, display_debug_info)
637 (display_debug_aranges, display_debug_frames, read_and_display_attr)
638 (read_and_display_attr_value): Add 64-bit DWARF support.
639
7adbf450
NC
6402003-03-31 Ian Lance Taylor <ian@airs.com>
641
642 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
643 (optresid): Handle a resource id that can be a string or a number.
644 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
645 struct res_id.
646 (define_icon_control): Pass a struct res_id to define_control.
647 * windres.h (define_control): Change prototype.
648
06d86cf7
NC
6492003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
650
7c29036b
NC
651 * objcopy (OPTION_FORMATS_INFO): Define.
652 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
653 (copy_options): Likewise.
654 (strip_usage): Add "--info" to usage.
655 (copy_usage): Likewise.
656 (strip_main): Declare formats_info. Iniatilize it to FALSE.
657 Handle "info".
658 (copy_main). Likewise.
659 * doc/binutils.texi. Document the "--info" option for
660 objcopy/strip.
661 * NEWS: Mention the new command line switch.
662
06d86cf7
NC
663 * objdump.c (endian_string): Move to bucomm.c.
664 (display_info): Likewise.
665 (display_target_list): Likewise.
666 (display_info_table): Likewise.
667 (display_target_tables): Likewise.
668 (main): Assign the return value of display_info to exit_status.
669 * bucomm.c: Include bfdver.h and libbfd.h
670 (display_target_list): Call bfd_nonfatal instead of nonfatal and
671 return 0 on a non-fatal error, 1 on success.
672 (display_info_table): Likewise.
673 * bucomm.h (display_info): Provide a prototype.
674 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
675 libbfd.h.
676 * Makefile.in: Regenerate.
677
7adbf450 6782003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
679
680 * dlltool.c (gen_def_file): Put demangled name comments on
681 own line preceding export name.
682
98a91d6a
NC
6832003-03-17 Nick Clifton <nickc@redhat.com>
684
685 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
686 printf for emitting new lines.
687
06a30c77
NC
6882003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
689
690 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
691 the symbol's value when --size-sort is used, unless -S is used.
692 doc/binutils.texi (--size-sort): For non-bsd formats both the
693 value and size of the symbols are displayed.
694
ab829d36
NC
6952003-03-13 Nick Clifton <nickc@redhat.com>
696
697 * po/da.po: Update.
698
634847c9
NC
6992003-03-12 Nick Clifton <nickc@redhat.com>
700
701 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
702
3889f9eb
BE
7032003-03-10 Ben Elliston <bje@wasabisystems.com>
704
705 * MAINTAINERS: Update my mail address.
706
7eb5191a
NC
7072003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
708
709 * stabs.c (BYTES_IN_WORD): Remove definition.
710 * wrstabs.c (BYTES_IN_WORD): Likewise.
711
e3b83c8f
NC
7122003-03-04 Nick Clifton <nickc@redhat.com>
713
714 * nm.c (main): Print a warning message if --size-sort and
715 --undefined-only are used together.
716
7172003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
718
719 * nm.c (print_symbol): Remove check for undefined_only.
720
a9d68a1e
NC
7212003-03-03 Nick Clifton <nickc@redhat.com>
722
723 * po/da.po: Installed latest translation.
724
a99996bb
NC
7252003-02-24 Nick Clifton <nickc@redhat.com>
726
727 * README: Update binutils references to 2.13.
728 Add paragraph about using --disable-nls.
729
76ed1927
NC
7302003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
731
732 * doc/binutils.texi (nm --size-sort): Update.
733
0100f33b
JW
7342003-02-21 James E Wilson <wilson@tuliptree.org>
735
736 * MAINTAINERS: Update email address.
737
ecc51f48
NC
7382003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
739
740 * readelf.c (get_ia64_dynamic_type): New function.
741 (dynamic_segment_ia64_val): New function.
742 (get_dynamic_type): If machine type is EM_IA_64 call
743 get_ia64_dynamic_val.
744 (get_ia64_section_type_name): Handle sections with types in the
745 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
746 (get_dynamic_flags): If machine type is EM_IA_64 call
747 dynamic_segment_ia64_val.
748
947ed062
NC
7492003-02-21 Bob Wilson <bob.wilson@acm.org>
750
751 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
752 section title capitalization more consistent. Update descriptions
753 of various options to be consistent with the code. Fix errors and
754 incomplete list in the description of c++filt format options. Remove
755 information about the linker. Change to be more polite about poor
756 bug reports. Replace FDL appendix with include of fdl.texi.
757 * doc/fdl.texi: New file.
758
66491ebc
AM
7592003-02-21 Roger Sayle <roger@eyesopen.com>
760
761 * objcopy.c (filter_symbols): Fix compilation problems with
762 HP-UX's C compiler.
763
0e11a9e9
CF
7642003-02-19 Christopher Faylor <cgf@redhat.com>
765
766 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
767 previous change.
768
6e5f5201
CF
7692003-02-19 Mark Blackburn <marklist@fangorn.ca>
770
0e11a9e9 771 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 772
f0c8c24a
NC
7732003-02-12 Bob Wilson <bob.wilson@acm.org>
774
775 * nm.c (usage): Add `java' and `gnat' demangle styles and make
776 quotes consistent.
777 * objdump.c (usage): Ditto. Also fix some typos.
778
d3c543fd
NC
779 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
780
fe2c4142
NC
781 * debug.c (debug_record_variable): Handle global register variables.
782
6de15b9e
NC
783 * stabs.c (parse_stab): For N_SLINE only include
784 function_start_offset if the symbol is within a function;
785 otherwise, the value is absolute.
786
fde78edd
NC
7872003-02-10 Nick Clifton <nickc@redhat.com>
788
789 * readelf.c (decode_ARM_machine_flags): Handle the
790 EF_ARM_MAVERICK_FLOAT flag.
791
22d82235
AS
7922003-02-04 Andreas Schwab <schwab@suse.de>
793
794 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
795 long and use %ld in printf format.
796
1a677ea8
RS
7972003-01-28 Richard Sandiford <rsandifo@redhat.com>
798
799 * readelf.c (dump_relocations): Reorder the r_info field for
800 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
801
8dde85fc
NC
8022003-01-21 Daniel Berlin <dan@dberlin.org>
803
804 * readelf.c (display_debug_loc): Skip address base changes.
805
c6f8bb1e
AM
8062003-01-17 Fabio Alemagna <falemagn@aros.org>
807
808 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
809 and ELFOSABI_NSK.
810
c833c019
AM
8112003-01-16 Alan Modra <amodra@bigpond.net.au>
812
813 * readelf.c: Include elf/ppc64.h.
814 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
815 * Makefile.am: Run "make dep-am".
816 * Makefile.in: Regenerate.
817
3b36097d
SC
8182003-01-02 Ben Elliston <bje@redhat.com>
819
820 * readelf.c (guess_is_rela): Handle EM_IQ2000.
821 (get_machine_name): Likewise.
822 (dump_relocations): Likewise.
823 * NEWS: Mention IQ2000 support.
824
cb44e358
RS
8252003-01-02 Richard Sandiford <rsandifo@redhat.com>
826
827 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
828
af7ee8bf
CD
8292002-12-30 Chris Demetriou <cgd@broadcom.com>
830
831 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
832 changes in MIPS -M options.
833
2469cfa2
NC
8342002-12-30 Dmitry Diky <diwil@mail.ru>
835
836 * Makefile.am: Add msp430 target.
837 * Makefile.in: Regenerate.
838 * readelf.c: Add support for msp430 target.
839
640c0ccd
CD
8402002-12-27 Chris Demetriou <cgd@broadcom.com>
841
842 * doc/binutils.texi (objdump): Document MIPS -M options.
843
59f14fc0
AS
8442002-12-23 Andreas Schwab <schwab@suse.de>
845
846 * readelf.c (main): Reset dump request after each file.
847
312b768e
NC
8482002-12-23 Nick Clifton <nickc@redhat.com>
849
850 * nlmconv.c (main): Pass TRUE as third argument to
851 bfd_arch_get_compatible.
852
8745eafa
NC
8532002-12-23 Nick Clifton <nickc@redhat.com>
854
855 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
856 macro. Handle 'S' encoding, accepting 8-bit characters.
857 (main): Parse 'S' encoding.
858 (get_char): Accept 'S' encoding.
859 (print_strings): Use STRING_ISGRAPHIC.
860 (usage): Document support of 'S' encoding.
861 * doc/binutils.texi: Document support of 'S' encoding/
862 * NEWS: Mention new feature.
863
08213ebb
AM
8642002-12-20 Alan Modra <amodra@bigpond.net.au>
865
866 * README <building ar>: Don't use libibery's needed_list or
867 required_list, instead link libiberty/*.o.
868
b9e5d8e5
KH
8692002-12-19 Kazu Hirata <kazu@cs.umass.edu>
870
871 * doc/binutils.texi: Fix typos.
872
c51238bc
DA
8732002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
874
875 * doc/binutils.texi: Add missing parenthesis.
876
d7fb0dd2
NC
8772002-12-15 Nick Kelsey <nickk@ubicom.com>
878
879 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
880 symbols by adding the given prefix to the begining of the symbol
50c2245b 881 name. This is useful to provide name space separation regardless
d7fb0dd2
NC
882 of how the object file was created. Added --prefix-sections=
883 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
884 sections (or all sections with the alloc flag set) by adding the given
885 prefix to the begining of the symbol name.
886 * NEWS: Mention this new feature.
887 * doc/binutils.texi: Document this new feature.
888
55b9cdf1
AM
8892002-12-13 Alan Modra <amodra@bigpond.net.au>
890
891 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
892 dyn_string_append with dyn_string_append_cstr.
893
894 * emul_aix.c (ar_emul_aix_create): Remove unused function.
895
84ad6ede
NC
8962002-12-10 James Cownie <jcownie@etnus.com>
897
898 * readelf.h (get_TAG_name, get_AT_name,
704afb58 899 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
900 DWARF2 spec.
901 * NEWS: Mention this new support.
902
7d036af2
AM
9032002-12-08 Alan Modra <amodra@bigpond.net.au>
904
905 * NEWS: Mention that bfd no longer declares a "boolean" type.
906
3e8bba36
AM
9072002-12-07 Alan Modra <amodra@bigpond.net.au>
908
909 * readelf.c (process_program_headers): When setting loadaddr, don't
910 assume segment size is 4k. Use p_align instead.
911 (loadaddr): Change from int to long.
912 (dynamic_addr, dynamic_info, version_info): Likewise.
913 (process_dynamic_segment <syminsz>): Likewise.
914 (process_dynamic_segment): Adjust print format string.
915 (rela_addr, rela_size): Delete.
916 (process_relocs): Formatting.
917
d070dab9
JW
9182002-12-05 Jim Wilson <wilson@redhat.com>
919
920 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
921 * configure: Regenerate.
922
45bcbdb1
ILT
9232002-12-04 Ian Lance Taylor <ian@airs.com>
924
925 * MAINTAINERS: Change e-mail address back to airs.com.
926
42ea8716
AH
9272002-12-04 Aldy Hernandez <aldyh@redhat.com>
928
929 * MAINTAINERS: Add self.
930
b34976b6
AM
9312002-11-30 Alan Modra <amodra@bigpond.net.au>
932
933 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
934 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
935 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
936 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
937 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
938 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
939 with TRUE/FALSE. Formatting.
940
c8286bd1
JJ
9412002-11-29 Jakub Jelinek <jakub@redhat.com>
942
943 * readelf.c Replace occurrences of Elf32_Internal_* and
944 Elf64_Internal_* with Elf_Internal_*.
945 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
946 Zero r_addend fields.
947 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
948 Elf_Internal_Rela.
949
92acdfaf
NC
9502002-11-23 Nick Clifton <nickc@redhat.com>
951
952 * size.c (usage): Fix typo describing switch for hex format.
953
48c5eb8a
SS
9542002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
955
956 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
957 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
958 testcase
959
2f62977e
NC
9602002-11-14 Nick Clifton <nickc@redhat.com>
961
962 * readelf.c (process_program_headers): Add comment about return
963 value. Ensure that 0 is returned if the headers are not loaded.
964 (process_file): If process_section_headers failed to load the
965 headers disable any tests that rely upon them. Similarly for
966 process_program_headers.
967
cd24c222
NC
9682002-11-12 Nick Clifton <nickc@redhat.com>
969
970 * po/da.po: Updated Danish translation.
971
f3931575
AM
9722002-11-12 Klee Dienes <kdienes@apple.com>
973
974 * rddbg.c (read_section_stabs_debugging_info): Also recognize
975 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
976
b54e7460
CF
9772002-11-11 Christopher Faylor <cgf@redhat.com>
978
979 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
980 cgf maintainership.
981
4f17cc13
CF
9822002-11-11 Christopher Faylor <cgf@redhat.com>
983
984 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
985
232e7cb8
NC
9862002-11-07 Nick Clifton <nickc@redhat.com>
987
cd24c222 988 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
989 * configure: Regenerate.
990 * po/da.po: New Danish translation.
991
232e7cb8
NC
992 * readelf.c (get_symbol_index_type): Revert part of previous
993 patch: Display unknown symbol types in decimal, not hex.
994
c9e38879
NC
9952002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
996
997 * dlltool.c (add_excludes): Don't prefix excluded fastcall
998 symbols with underscore.
999 (xlate): Ignore add_underscore for decorated fastcall symbols.
1000
10012002-11-07 Eric Kohl <ekohl@rz-online.de>
1002
1003 * deflex.l: Accept '@' as first character of an ID.
1004 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1005 ASM_PREFIX for fastcall symbols.
1006 (scan_drectve_symbols): Handle fastcall symbols when generating
1007 undecorated aliases for symbols in drectve section.
1008 (scan_filtered_symbols): Likewise, with export-all.
1009 (xlate): Likewise, with --kill-at.
1010 (make_imp_label): New function to handle fastcall symbols
1011 correctly.
1012 (make_one_lib_file): Use make_imp_label instead of make_label
1013 for imp symbols.
1014
a700dc3b
SS
10152002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
1016
1017 * MAINTAINERS: Add self as TIC4X maintainer.
1018
5cf1065c
NC
10192002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
1020
1021 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
1022 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1023 types.
5cf1065c 1024
f1ef08cb
AM
10252002-11-04 Alan Modra <amodra@bigpond.net.au>
1026
1027 * readelf.c (byte_get_little_endian): Comment typo fix.
1028 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1029 as the format string.
1030 (dump_relocations): Correct section sym names.
1031 (process_section_headers): Clear symtab_shndx_hdr.
1032 (read_and_display_attr_value): Don't pass indirect string to printf
1033 as the format string.
1034 (display_debug_frames): Indicate when zero terminator found. Decode
1035 DW_EH_PE_pcrel addresses.
1036
1a09a22c
NC
10372002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
1038
1039 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1040 order to ensure proper disassembly of the valid 0-value opcode.
1041 * configure: Regenerate.
1042 * aclocal.m4: Regenerate.
1043 * config.in: Regenerate.
1044 * configure.in: Regenerate.
1045 * doc/Makefile.in: Regenerate.
1046 * po/binutils.pot: Regenerate.
1047
c254c557
KK
10482002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1049
1050 * MAINTAINERS: Add self as SH maintainer.
1051
aefbdd67
BE
10522002-10-23 Ben Elliston <bje@redhat.com>
1053
1054 * doc/binutils.texi (objdump): Document -z and move the entry for
1055 --disassemble-zeroes to the end of the options section (for `z').
1056
ab9bcc01
NC
10572002-10-21 Nick Clifton <nickc@redhat.com>
1058
1059 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1060
8ab56b6f
AM
10612002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
1062
1063 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1064
49c12576
AM
10652002-10-15 Alan Modra <amodra@bigpond.net.au>
1066
48417c1a
AM
1067 * bucomm.c (list_supported_targets): Use bfd_target_list.
1068
49c12576
AM
1069 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1070 other object errors in preference to bfd_core errors.
1071
6e1a7e9a
AM
10722002-10-14 Alan Modra <amodra@bigpond.net.au>
1073
1074 * Makefile.am: Run "make dep-am".
1075 * objdump.c: #include "bfdver.h".
1076 * version.c: Likewise.
1077 * Makefile.in: Regenerate.
1078 * config.in: Regenerate.
1079 * configure: Regenerate.
1080 * po/POTFILES.in: Regenerate.
1081
09fc3b02
DJ
10822002-10-09 Daniel Jacobowitz <drow@mvista.com>
1083
1084 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1085 sections. Allow relocations against the absolute symbol. Don't
1086 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 1087 relocation.
09fc3b02 1088
f309035a
NC
10892002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1090
1091 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1092 ordinary ones are available.
1093
810dfa6e
L
10942002-09-30 H.J. Lu <hjl@gnu.org>
1095
1096 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1097 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1098
bb279dc0
ZW
10992002-09-17 Zack Weinberg <zack@codesourcery.com>
1100
1101 * Makefile.am (CFILES): Add cxxfilt.c.
1102 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1103 (cxxfilt_LDADD): Delete.
1104 Remove all references to underscore.c.
1105 Regen dependencies.
1106 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1107 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1108 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1109 adjustments to fit into binutils framework.
1110 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1111
065c959b
NC
11122002-09-12 Roland McGrath <roland@redhat.com>
1113
1114 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1115 Handle DW_OP_GNU_push_tls_address.
1116
e09f4395
NC
11172002-09-11 Nick Clifton <nickc@redhat.com>
1118
1119 * po/tr.po: Updated Turkish translation.
1120
873e0588
NC
11212002-09-10 Nick Clifton <nickc@redhat.com>
1122
1123 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1124 testsuite changes. Add paragraphs about testsuite and config
1125 patches.
1126
069fe61f
NC
11272002-08-29 Nick Clifton <nickc@redhat.com>
1128
1129 * readelf.c (get_machine_flags): Remove redundant reference to
1130 E_V850EA_ARCH.
1131
fe0507eb
AM
11322002-08-28 Alan Modra <amodra@bigpond.net.au>
1133
1134 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1135 last commit.
1136
026df7c5
NC
11372002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1138
bb279dc0 1139 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
1140 (dump_bfd_header): Likewise.
1141
68a4c073
AM
11422002-08-27 Alan Modra <amodra@bigpond.net.au>
1143
1144 * nm.c: Revert last change.
1145
a1df01d1
AM
11462002-08-26 Alan Modra <amodra@bigpond.net.au>
1147
1148 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1149 * objdump.c (slurp_symtab): Likewise.
1150 (slurp_dynamic_symtab): Likewise.
1151 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1152
a926ab2f
GK
11532002-08-24 Geoffrey Keating <geoffk@redhat.com>
1154
1155 * MAINTAINERS: Change my mailing address.
1156
fcf62380
DA
11572002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1158
1159 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1160
51e28791
NC
11612002-08-22 Nick Clifton <nickc@redhat.com>
1162
1163 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1164 HPPA.
1165
c5b060ad
AM
11662002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1167
1168 * readelf.c (parse_args): Change debug_dump_opt to static.
1169
4b73ca92
NC
11702002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1171
1172 * stabs.c (parse_stab_argtype): Pass length of physname to
1173 stab_demangle_argtypes.
1174 (stab_demangle_argtypes): Add new parameter - length of physname.
1175 Pass length of physname on to stab_demangle_prefix.
1176 (stab_demangle_prefix): Add new parameter - length of physname.
1177 Use length of physname (if supplied) to compute end of function
1178 name.
1179
35b1837e
AM
11802002-08-15 Alan Modra <amodra@bigpond.net.au>
1181
1182 * readelf.c: Include elf/i370.h.
1183 (dump_relocations): Handle EM_S370.
1184 (dynamic_segment_parisc_val): Print \n.
1185 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1186
762baac5
NC
11872002-08-14 Nick Clifton <nickc@redhat.com>
1188
1189 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1190 * objdump.c (usage): Likewise.
1191 * doc/binutils.texi: Likewise.
1192
85c09e8a
NC
11932002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1194
1195 * rcparse.y (acc_entry): Don't warn about ALT use with
1196 non-VIRTKEY.
1197
212a3c4d
L
11982002-08-13 H.J. Lu <hjl@gnu.org>
1199
1200 * objcopy.c (copy_object): Don't warn about the unsupported
1201 architecture unless the input target is defaulted or the
1202 output architecture is different from the input.
1203
2b692c59
NC
12042002-08-09 Nick Clifton <nickc@redhat.com>
1205
1206 * po/sv.po: Updated Swedish translation.
1207
09de7a73
AM
12082002-08-05 Alan Modra <amodra@bigpond.net.au>
1209
1210 * prdbg.c (pr_fix_visibility): Remove assert.
1211
47badb7b
NC
12122002-07-31 Nick Clifton <nickc@redhat.com>
1213
1214 * addr2line.c (process_file): Rename parameter 'filename' to
1215 'file_name' in order to avoid shadowing global symbol of the
1216 same name.
1217 (main): Likewise.
1218
2979dc34
JJ
12192002-07-30 Jakub Jelinek <jakub@redhat.com>
1220
1221 * readelf.c (OPTION_DEBUG_DUMP): Define.
1222 (options): Use it.
1223 (usage): Update help.
1224 (parse_args): Handle --debug-dump separately from -w.
1225 * doc/binutils.texi (readelf): Update documentation.
1226
219576a4
NC
12272002-07-25 Nick Clifton <nickc@redhat.com>
1228
1229 * po/es.po: Updated Spanish translation.
1230 * po/fr.po: Updated French translation.
1231
bf4f22e6 12322002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1233
bf4f22e6
NC
1234 * po/es.po: Updated Spanish translation.
1235
c5b3a82a
AM
12362002-07-23 Alan Modra <amodra@bigpond.net.au>
1237
1238 * Makefile.am: Run "make dep-am".
1239 * Makefile.in: Regenerate.
1240
0461a601
NC
12412002-07-23 Nick Clifton <nickc@redhat.com>
1242
bf4f22e6 1243 * po/fr.po: Updated French translation.
0461a601 1244
bf44dd74
AM
12452002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1246
1247 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1248
2c205ff2
AM
12492002-07-20 Alan Modra <amodra@bigpond.net.au>
1250
63eb0809 1251 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1252
1e4cf259
NC
12532002-07-18 Denis Chertykov <denisc@overta.ru>
1254 Frank Ch. Eigler <fche@redhat.com>
1255
1256 * readelf.c: Include "elf/ip2k.h".
1257 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1258 (dump_relocations): Likewise.
1259 (get_machine_name): Likewise.
1260 * NEWS: Mention IP2K support.
1261
2cbb2eef
NC
12622002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1263
1264 * NEWS: Add 'Changes in 2.13'.
1265
047b2264
JJ
12662002-07-10 Jakub Jelinek <jakub@redhat.com>
1267
1268 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1269 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1270 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1271 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1272 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1273 (process_gnu_liblist): New.
1274 (process_file): Call it.
1275
97230b15
AM
12762002-07-03 Alan Modra <amodra@bigpond.net.au>
1277
1278 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1279 * Makefile.in: Regenerate.
1280
a6637ec0
AM
12812002-07-02 Alan Modra <amodra@bigpond.net.au>
1282
1283 * budemang.c: New file, "demangle" function.
1284 * budemang.h: New file.
1285 * addr2line.c (translate_addresses): Use "demangle".
1286 * nm.c (print_symname): Likewise.
1287 * objdump.c (objdump_print_symname): Likewise.
1288 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1289 here since that obfuscates.
1290 * rdcoff.c: Don't #include demangle.h.
1291 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1292 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1293 (HFILES): Add budemang.h. Sort.
1294 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1295 Run "make dep-am".
1296 * Makefile.in: Regenerate.
1297
179d3252
JT
12982002-07-01 Matt Thomas <matt@3am-software.com>
1299
1300 * readelf.c: Include "elf/vax.h".
1301 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1302 (dump_relocations): Handle VAX relocations.
1303 (get_machine_flags): Handle VAX machine flags.
1304
75751cd9
SC
13052002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1306
1307 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1308
e5851ab8
NC
13092002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1310
1311 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1312
eb3f2f5c
AM
13132002-06-26 Alan Modra <amodra@bigpond.net.au>
1314
1315 * nm.c (print_symname): When demangling, strip leading dots from
1316 symbol names to avoid confusing the demangler.
1317
a13a0de8
L
13182002-06-25 H.J. Lu <hjl@gnu.org>
1319
1320 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1321 * Makefile.in: Regenerated.
1322
6db7a086
AM
13232002-06-21 Igor Schein <igor@txc.com>
1324
1325 * configure.in: Quote bu_cv_have_fopen64.
1326 * configure: Regenerate.
1327
9710509e
AM
13282002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1329
1330 * configure.in: Check for strcoll.
1331 * configure: Regenerate.
1332 * config.in: Regenerate.
1333 * nm.c (main): Set locale for LC_COLLATE category.
1334 (non_numeric_forward): Use strcoll if available.
1335
a9f0b5e7
DB
13362002-06-20 Dave Brolley <brolley@redhat.com>
1337
1338 * MAINTAINERS: Add self as fr30 and frv maintainer.
1339
33f5f537
L
13402002-06-18 H.J. Lu (hjl@gnu.org)
1341
1342 * nm.c: Include "elf/common.h".
1343 (extended_symbol_info): Add elfinfo, a pointer to
1344 elf_symbol_type.
1345 (SYM_SIZE): Use elfinfo if it is not NULL.
1346 (get_symbol_type): New function.
1347 (display_archive): Set print_width for each archive member.
1348 (display_file): Likewise.
1349 (display_rel_file): Don't set print_width here.
1350 (print_object_filename_sysv): Handle print_width.
1351 (print_archive_member_sysv): Likewise.
1352 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1353 (print_symbol): Set the elfinfo field in extended_symbol_info
1354 for ELF.
1355 (print_object_filename_sysv): Fix the output format.
1356 (print_symbol_info_sysv): Print type and section for ELF.
1357
13582002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1359
1360 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1361 the symbol's size equal to its value when --size-sort is
33f5f537
L
1362 used.
1363
5c70f934
DB
13642002-06-18 Dave Brolley <brolley@redhat.com>
1365
1366 From Catherine Moore:
1367 * readelf.c (elf/frv.h): #include it.
1368 (guess_is_rela): Support EM_CYGNUS_FRV.
1369 (dump_relocations): Ditto.
1370 (get_machine_name): Ditto.
1371 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1372
7ece0d85
JJ
13732002-06-18 Jakub Jelinek <jakub@redhat.com>
1374
1375 * readelf.c (get_file_header): Only read the first section header if
1376 e_shoff is non-zero.
1377
72797995
L
13782002-06-15 H.J. Lu (hjl@gnu.org)
1379
1380 * nm.c (print_size): New variable. Initialize to 0.
1381 (long_options): Add 'S'/"print-size".
1382 (main): Handle 'S'.
1383 (print_symbol_info_bsd): Print size only if print_size is not
1384 0.
1385
1386 * doc/binutils.texi: Document -S/--print-size.
1387
977f7911
NC
13882002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1389
50c2245b 1390 * nm.c (struct extended_symbol_info): New structure: Add the size
977f7911
NC
1391 of the symbols to the information provided by the symbol_info
1392 structure.
1393 (print_symbols): Pass the symbol size to print_symbol.
1394 (print_size_symbols): Pass the symbol size to print_symbol.
1395 (print_symbol): Extra argument: The size of the symbol. Store
1396 this in the extended_symbol_info structure.
1397 (print_symbol_info): Change type of info parameter to
1398 extended_symbol_info. Display the size, if known.
1399 (print_symbol_info_posix): Likewise.
1400 (print_symbol_info_sysv): Likewise.
1401
b1f88ebe
AM
14022002-06-08 Alan Modra <amodra@bigpond.net.au>
1403
fa449227
AM
1404 * Makefile.am: Run "make dep-am".
1405 * Makefile.in: Regenerate.
1406 * doc/Makefile.in: Regnerate.
1407
b1f88ebe
AM
1408 * bucomm.c: Replace CONST with const.
1409 * nm.c: Likewise.
1410 * objdump.c: Likewise.
1411
91a106e6
L
14122002-06-07 H.J. Lu <hjl@gnu.org>
1413
1414 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1415 (DW_CFA_GNU_negative_offset_extended): Likewise.
1416 (DW_CFA_GNU_window_save): Likewise.
1417 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1418 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1419
6ab6b380 14202002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1421
6ab6b380
NC
1422 * nm.c: When computing size of symbols for an ELF target use the
1423 internal size field.
1424
e28e05a3
JL
14252002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1426
1427 * testsuite/binutils-all/objcopy.exp: clear xfail for
1428 "hppa*64*-*-hpux*".
1429 * testsuite/binutils-all/hppa/objdump.exp: Return if
1430 "*64*-*-*".
1431
dc156bc0
AM
14322002-06-05 Alan Modra <amodra@bigpond.net.au>
1433
1434 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1435
14362002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1437
1438 * objdump.c: Fix formatting.
1439
d79e4ea3
BE
14402002-05-29 Ben Elliston <bje@redhat.com>
1441
1442 * MAINTAINERS: Add self as M68k maintainer.
1443
d172d4ba
NC
14442002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1445
1446 * readelf.c: Modified/Added DLX elf support.
1447
7edb8f29
NC
14482002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1449
3a1a2036
NC
1450 * arsup.c: Fix formatting.
1451 * debug.c (debug_record_label): Add missing colon to error
1452 message.
1453 * ieee.c (parse_ieee_ty): Fix spelling typo.
1454 * readelf.c (process_program_headers): Remove English assumption
1455 about making a plural word.
1456 (process_section_headers): Likewise.
1457 (process_relocs): Allow quotes to be translated.
1458 (process_unwind): Likewise,
1459 (process_mips_specific): Improve error message.
1460 (get_note_type): Fix spelling typo.
1461
7edb8f29
NC
1462 * configure.in (ALL_LINGUAS): Add sv
1463 * po/sv.po: New file.
1464
3eee1e9d
AM
14652002-05-27 Alan Modra <amodra@bigpond.net.au>
1466
1467 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1468 (unw_print_grmask): Likewise.
1469 (unw_print_frmask): Likewise.
1470
d43efbe3
KH
14712002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1472
1473 * arsup.c: Remove ARGSUSED.
1474 * debug.c: Likewise.
1475 * ieee.c: Likewise.
1476 * nlmconv.c: Likewise.
1477 * prdbg.c: Likewise.
1478 * stabs.c: Likewise.
1479 * wrstabs.c: Likewise.
1480
e9792343
AM
14812002-05-25 Alan Modra <amodra@bigpond.net.au>
1482
1483 * arlex.l: Use #include "" instead of <> for local header files.
1484 * coffdump.c: Likewise.
1485 * coffgrok.c: Likewise.
1486 * nlmconv.c: Likewise.
1487 * nlmheader.y: Likewise.
1488 * srconv.c: Likewise.
1489 * strings.c: Likewise.
1490 * sysdump.c: Likewise.
1491 * unwind-ia64.h: Likewise.
1492 * windres.h: Likewise.
1493 * winduni.h: Likewise.
1494
d7e53452
TR
14952002-05-24 Tom Rix <trix@redhat.com>
1496
1497 * MAINTAINERS: Add self as the d10v maintainer.
1498
436e8db0
NC
14992002-05-24 TAMURA Kent <kent@netbsd.org>
1500
1501 * configure.in: Builds dlltool for i386-netbsdpe.
1502 * configure: Regenerate.
1503
9f66665a
KH
15042002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1505
1506 * size.c: Fix formatting.
1507 * srconv.c: Likewise.
1508 * stabs.c: Likewise.
1509 * sysdump.c: Likewise.
1510 * unwind-ia64.c: Likewise.
1511 * wrstabs.c: Likewise.
1512
13ae64f3
JJ
15132002-05-23 Jakub Jelinek <jakub@redhat.com>
1514
1515 * readelf.c (get_segment_type): Add PT_TLS.
1516 (get_elf_section_flags): Add SHF_TLS.
1517 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1518 (process_dynamic_segment): Use puts instead of printf.
1519 (get_symbol_type): Support STT_TLS.
1520 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1521 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1522 Add SEC_THREAD_LOCAL.
1523
53c7db4b
KH
15242002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1525
1526 * rdcoff.c: Fix formatting.
1527 * rddbg.c: Likewise.
1528 * readelf.c: Likewise.
1529 * rename.c: Likewise.
1530 * resbin.c: Likewise.
1531 * resrc.c: Likewise.
1532 * resres.c: Likewise.
1533
0af11b59
KH
15342002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1535
1536 * filemode.c: Fix formatting.
1537 * ieee.c: Likewise.
1538 * is-ranlib.c: Likewise.
1539 * is-strip.c: Likewise.
1540 * maybe-ranlib.c: Likewise.
1541 * maybe-strip.c: Likewise.
1542 * nlmconv.c: Likewise.
1543 * nm.c: Likewise.
1544 * not-ranlib.c: Likewise.
1545 * not-strip.c: Likewise.
1546 * objcopy.c: Likewise.
1547 * objdump.c: Likewise.
1548
21611032
TS
15492002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1550
1551 * objdump.c (dump_headers): Fix output formatting for ELF32
1552 architectures in a BFD64 enabled toolchain.
1553
26044998
KH
15542002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1555
1556 * debug.c: Fix formatting.
1557 * debug.h: Likewise.
1558 * dlltool.c: Likewise.
1559 * dllwrap.c: Likewise.
1560 * emul_aix.c: Likewise.
1561 * emul_vanilla.c: Likewise.
1562
f462a9ea
KH
15632002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1564
1565 * addr2line.c: Fix formatting.
1566 * ar.c: Likewise.
1567 * arsup.c: Likewise.
1568 * arsup.h: Likewise.
1569 * binemul.c: Likewise.
1570 * binemul.h: Likewise.
1571 * bucomm.c: Likewise.
1572 * coffdump.c: Likewise.
1573 * coffgrok.c: Likewise.
1574 * coffgrok.h: Likewise.
1575
e0159aa9
MM
15762002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1577
1578 * MAINTAINERS: Add myself as the second AVR port maintainer.
1579
074b403e
SC
15802002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1581
1582 * MAINTAINERS: Update my email address.
1583
2b9c8201
NC
15842002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1585
1586 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1587
e1d5b1e7
AM
15882002-05-09 Alan Modra <amodra@bigpond.net.au>
1589
1590 * configure.in: Replace `*pe' with `pe' throughout.
1591 * configure: Regenerate.
1592
d3d8a9ee
NC
15932002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1594
1595 * Makefile.am: Honour DESTDIR.
1596 * Makefile.in: Regenerate.
1597
405c98a4
AM
15982002-05-06 Alan Modra <amodra@bigpond.net.au>
1599
a02d5965
AM
1600 * dlltool.c (process_def_file): Add missing prototype.
1601 (new_directive, assemble_file, main): Likewise.
1602 (process_def_file, new_directive): Make static.
1603 (inform): Rewrite using VA_FIXEDARG.
1604 * dllwrap.c (mybasename): Add missing prototype.
1605 (strhash, main): Likewise.
1606 (inform): Rewrite using VA_FIXEDARG.
1607 (warn): Likewise.
1608 (cleanup_and_exit): Use old style function definition.
1609 (strhash): Likewise.
1610 * windres.c (define_resource): Use one memset to clear all of
1611 struct res_resource.
1612
405c98a4 1613 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1614 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1615
16162002-05-06 Borut Razem <borut.razem@siol.net>
1617
1618 * rclex.l (get_string): Correct "strings" list handling.
1619 * resrc.c (read_rc_file): Discard strings.
1620
91593c9d
AM
16212002-05-04 Alan Modra <amodra@bigpond.net.au>
1622
e58a75dc
AM
1623 * ar.c (replace_members): Remove unused var. Formatting fix.
1624 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1625
91593c9d
AM
1626 * MAINTAINERS: Sort port maintainers by CPU.
1627
6b52b824
AM
16282002-05-04 Bob Byrnes <byrnes@curl.com>
1629
1630 * size.c (display_archive): Add last_arfile and code to close archives.
1631
dd70071f
AM
16322002-05-01 Alan Modra <amodra@bigpond.net.au>
1633
1634 * nm.c (print_symbol): Check returned filename from
1635 bfd_find_nearest_line is non-NULL.
1636
6c95717a 16372002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1638
1639 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1640
3c25c5f6
NC
16412002-04-24 Christian Groessler <chris@groessler.org>
1642
1643 * MAINTAINERS: Changed my email address.
1644
944cd72c
TS
16452002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1646
1647 * arparse.y: Fix syntax warning.
1648
ea91f8bb
NC
16492002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1650
3e55a963
NC
1651 * readelf.c (fetch_location_list): Remove unused function.
1652
1653 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1654 and display a warning message, then exit the loop.
1655
ea91f8bb
NC
1656 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1657
45b99827
NC
16582002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1659
1660 * resrc.c (write_rc_dialog): If charset is non-default value
1661 display all of the DIALOGEX parameters.
1662
16632002-04-15 Eric Kohl <ekohl@rz-online.de>
1664
bb279dc0 1665 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1666 DIALOGEX resources.
1667 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1668 resource data.
bb279dc0 1669 (res_to_bin_dialog): Likewise.
45b99827
NC
1670 * windres.h: Added misssing charset variable to dialog_ex
1671 structure.
1672
acfbab8a
NC
16732002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1674
1675 * rcparse.y: Set MEMFLAG_PURE by default.
1676
df3baf66
NC
16772002-04-09 Bernd Herd <info@herdsoft.com>
1678
bb279dc0 1679 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1680 are quoted.
4c30641a 1681 Fix typo in BEDIT warning.
91eafb40 1682 Don't add default dialog style when explicit style specified.
b62a12ca 1683 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1684
b24eb5ac
NC
1685 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1686 (handle_quotes) "\a" escape (used for right justified key
1687 definitions in menus) is encodes as binary 8.
df3baf66 1688
b24eb5ac
NC
1689 * resrc.c (write_rc_dialog): Print style even if it is 0.
1690 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1691 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1692
b24eb5ac
NC
1693 * resbin.c (bin_to_res_dialog): Use signature to identify
1694 DIALOGEX.
f7d63484 1695
b24eb5ac 1696 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1697
df3baf66
NC
16982002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1699
1700 * resrc.c: print CLASS names in quotes
1701
17022002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1703
1704 * MAINTAINERS: Update my email address.
1705
8e42bcb6
AM
17062002-04-04 Alan Modra <amodra@bigpond.net.au>
1707
1708 * dep-in.sed: Cope with absolute paths.
1709 * Makefile.am (dep.sed): Subst TOPDIR.
1710 Run "make dep-am".
1711 * Makefile.in: Regenerate.
1712
96f959e5
PT
17132002-03-27 Peter Targett <peter.targett@arc.com>
1714
1715 * MAINTAINERS: Update my email address.
1716
1ea788ee
AM
17172002-03-21 Alan Modra <amodra@bigpond.net.au>
1718
1719 * Makefile.am: Run "make dep-am".
1720 * Makefile.in: Regenerate.
1721 * doc/Makefile.in: Regenerate.
1722 * po/POTFILES.in: Regenerate.
1723 * aclocal.m4: Regenerate.
1724 * config.in: Regenerate.
1725 * configure: Regenerate.
1726
a2f14207
DB
17272002-03-20 Daniel Berlin <dan@dberlin.org>
1728
1729 * readelf.c: Add support for displaying dwarf2 location lists.
1730 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1731 (parse_args): Use 'O' as shorthand for displaying location list
1732 section.
1733 (process_section_headers): Handle debug_loc as well.
1734 (load_debug_loc): New.
1735 (free_debug_loc): New.
1736 (fetch_location_list): New.
1737 (display_debug_loc): New.
1738 (display_debug_info): Call load_debug_loc and free_debug_loc.
1739 (debug_displays): We can display .debug_loc now, too.
1740 (usage): Update usage string.
1741 (read_and_display_attr_value): Note location lists, but don't
1742 display them inline.
1743
eb1e0e80
NC
17442002-03-18 Tom Rix <trix@redhat.com>
1745
1746 * Makefile.am: Add binutils emulation support.
1747 * configure.in: Same.
1748 * configure.tgt: New file. Same.
1749 * ar.c (main): Use ar_emul_parse_arg.
1750 (usage): Use ar_emul_usage.
1751 (replace_members): Use ar_emul_replace, ar_emul_append.
1752 * binemul.c: New file. Define the binutils emulation
1753 layer. Define default methods.
1754 * binemul.h: New file. Binutils emulation layer header file.
1755 * emul_aix.c: New file. AIX binutils emulation.
1756 * emul_vanilla.c: New file. Default binutils emulation.
1757 * Makefile.in: Regenerate.
1758 * configure: Same.
1759
a1c259a1
NC
17602002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1761
1762 * po/fr.po: Updated version.
1763
9ce88e60
NC
17642002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1765
1766 * po/fr.po: Updated version.
1767
effb0601
DJ
17682002-03-07 Daniel Jacobowitz <drow@mvista.com>
1769
1770 * README: Update some version numbers.
1771
a65688ab
DJ
17722002-03-07 Daniel Jacobowitz <drow@mvista.com>
1773
1774 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1775 (Architecture Selection): Likewise.
1776
f3f7fbb2
NC
17772002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1778
1779 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1780 generating .exp file.
1781
25345be5
NC
17822002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1783
1784 * readelf.c (dump_relocations): Fix typo.
1785
9a66911f
NC
17862002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1787
1788 * NEWS: Mark 2.12 branch.
1789
2c71103e
NC
17902002-02-18 Timothy Daly <remote_bob@yahoo.com>
1791
bb279dc0
ZW
1792 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1793 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1794 output.
bb279dc0 1795 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1796 to 'unrecognized'.
1797 (decode_ARM_machine_flags): Likewise.
1798 (parse_args): Likewise.
1799 (read_and_display_attr_value): Likewise.
1800 (display_debug_section): Likewise.
1801
49fda6c8
HPN
18022002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1803
1804 * NEWS: Mention support for MMIX.
1805
76f57f3a
JT
18062002-02-13 Matt Fredette <fredette@netbsd.org>
1807
1808 * readelf.c (get_machine_flags): Recognize EF_M68000.
1809
d36ca9c2
AO
18102002-02-12 Alexandre Oliva <aoliva@redhat.com>
1811
1812 * MAINTAINERS: Added self as MN10300 co-maintainer.
1813
19397422
AM
18142002-02-12 Alan Modra <amodra@bigpond.net.au>
1815
1816 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1817 DT_PPC64_OPDSZ.
1818
d434e574
DJ
18192002-02-11 Daniel Jacobowitz <drow@mvista.com>
1820
1821 * MAINTAINERS: List myself as branch maintainer.
1822
12b87c89
AM
18232002-02-11 Alan Modra <amodra@bigpond.net.au>
1824
1825 * configure: Regenerate.
1826 * objcopy.c: Update copyright date.
1827 * doc/Makefile.in: Regenerate.
1828
8d037c5c
DJ
18292002-02-10 Daniel Jacobowitz <drow@mvista.com>
1830
1831 * nlmconv.c: Back out localtime PARAMS change.
1832
4c168fa3
AM
18332002-02-11 Alan Modra <amodra@bigpond.net.au>
1834
1835 * objcopy.c (MKDIR): Define.
1836 (copy_archive): Make name_list.name const. Use MKDIR.
1837 Handle duplicate files in archives by making more temp dirs.
1838
408f8db1
DJ
18392002-02-10 Daniel Jacobowitz <drow@mvista.com>
1840
1841 * coffdump.c: Include "getopt.h" after "bucomm.h"
1842 so that macros are defined correctly.
1843 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1844 prototype. Prototype main.
1845 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1846
9f77fa06
AO
18472002-02-06 Alexandre Oliva <aoliva@redhat.com>
1848
1849 * MAINTAINERS: Added self as SH co-maintainer.
1850
82f6addb
NC
18512002-02-05 Nick Clifton <nickc@redhat.com>
1852
1853 * po/tr.po: Updated translation.
1854
ba323545
AM
18552002-02-01 Alan Modra <amodra@bigpond.net.au>
1856
1857 * Makefile.am: Run "make dep-am"
1858 * Makefile.in: Regenerate.
1859
3deb89d3
DJ
18602002-01-29 Daniel Jacobowitz <drow@mvista.com>
1861
1862 * nm.c (print_value): Mark abfd unused.
1863
a0e9c55f
DJ
18642002-01-29 Daniel Jacobowitz <drow@mvista.com>
1865
1866 * unwind-ia64.c (unw_decoder): Change second argument
1867 to unsigned int, to match function prototypes.
1868
d7a283d4
DJ
18692002-01-29 Daniel Jacobowitz <drow@mvista.com>
1870
1871 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1872 __GNU_LIBRARY__ will be defined.
1873 * size.c: Likewise.
1874
4867be41
DJ
18752002-01-27 Daniel Jacobowitz <drow@mvista.com>
1876
1877 * configure: Regenerated.
1878
7562a296
HPN
18792002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1880
1881 * doc/Makefile.am (install): Depend on install-info.
1882 * doc/Makefile.in: Regenerate.
1883
15c82623
NC
18842002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1885
1886 * objcopy.c (strip_usage): Document -d as an alias
1887 --strip-debug.
1888
1889 * size.c (usage): Document [-t | --totals] options.
1890 (long_options): Add --totals option.
1891 (main): If the [-t | --totals] option is specified and
1892 the output format is Berkeley-style, print the total
1893 text, data, and bss sizes of all objects listed.
1894 (print_berkeley_format): If the [-t | --totals] option
1895 is specified, track the total text, data, and bss
1896 sizes.
1897 * doc/binutils.texi (size): Document [-t | --totals] options.
1898 (strip): Document -d as an alias for --strip-debug.
1899 * NEWS: Mention new feature of size.
1900
00ea8601 19012002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1902
1ddbd152
NC
1903 * po/fr.po: Updated version.
1904 * po/es.po: Updated version.
b85cedd7 1905
8b53311e
NC
19062002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1907
1908 * addr2line.c (usage): Update text to provide verbose
1909 description of the command line options.
1910 * ar.c (usage): Update text to provide verbose
1911 description of the command line options.
1912 (main): Accept -h and -H when running as ranlib.
1913 * coffdump.c (show_usage): Update text to provide verbose
1914 description of the command line options.
1915 * dlltool.c (main): Accept -H as an alias for --help.
1916 * nlmconv.c (show_usage): Update text to provide verbose
1917 description of the command line options.
1918 * nm.c (usage): Replace OPTIONS with option(s).
1919 (main): Accept -H as an alias for --help.
1920 * objcopy.c (strip_main): Accept -H as an alias for --help.
1921 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1922 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1923 other binutils.
1924 * size.c (usage): Update text to provide verbose description
1925 of the command line options.
1926 (main): Accept -v, -h and -H as command line options.
1927 * srconv.c (show_usage): Update text to provide verbose
1928 description of the command line options.
1929 * strings.c (main): Accept -H and -v as command line options.
1930 (usage): Update text to provide verbose description of the
1931 command line options.
1932 * sysdump.c (show_usage): Update text to provide verbose
1933 description of the command line options.
1934 * windres.c (usage): Adjust format to match style used in
1935 other binutils.
1936
1937 * coffdump.c: Fix formatting.
1938 * nlmconv.c: Fix formatting.
1939 * srconv.c: Fix formatting.
1940 * sysdump.c: Fix formatting.
1941
c46f0c34
AM
19422002-01-22 Alan Modra <amodra@bigpond.net.au>
1943
1944 * Makefile.am: Run "make dep-am".
1945 * Makefile.in: Regenerate.
1946
2a538ba5
AJ
19472002-01-18 Andreas Jaeger <aj@suse.de>
1948
1949 * version.c (print_version): Update year.
1950
285d1771
AM
19512002-01-17 Alan Modra <amodra@bigpond.net.au>
1952
1953 * readelf.c (get_machine_name): Handle EM_PPC64.
1954 (guess_is_rela): Here too.
1955
328577ad
NC
19562002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1957
1958 * po/binutils.pot: Regenerate.
1959 * po/fr.po: Regenerate.
1960 * po/tr.po: Regenerate.
1961
af3ae48d
NC
19622002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1963
1964 * po/tr.po: Import new version.
1965
f1cb7e17
AM
19662002-01-16 Alan Modra <amodra@bigpond.net.au>
1967
1968 * readelf.c (get_ppc64_dynamic_type): New.
1969 (get_dynamic_type): Call it.
1970
6364e0b4
NC
19712002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1972
3ab9460d 1973 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1974 (strip_usage): Use "options" instead of "switches".
3ab9460d 1975 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1976 "switches".
6364e0b4 1977
3a7e524e
RE
19782002-01-14 Richard Earnshaw <rearnsha@arm.com>
1979
1980 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1981
1209e219
NC
19822001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1983
1984 * po/es.po: Import from translation project.
1985 * configure.in (ALL_LINGUAS): Add es.
1986 * configure: Regenerate.
1987
b4db1224
JT
19882002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1989
1990 * readelf.c (get_netbsd_elfcore_note_type): Use
1991 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1992
9437c45b
JT
19932002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1994
1995 * readelf.c: Update copyright years.
1996 (get_note_type): Return a const char *.
1997 (get_netbsd_elfcore_note_type): New function.
1998 (process_note): Use get_netbsd_elfcore_note_type to get
1999 the note type string for NetBSD ELF core files.
2000
00428cca
AM
20012002-01-06 Steve Ellcey <sje@cup.hp.com>
2002
2003 * readelf.c (get_ia64_segment_type): Add support for macros.
2004 (get_segment_type): Add support for IA64 specific macros.
2005
31104126
NC
20062001-12-20 Julian v. Bock <julian@wongr.net>
2007
2008 * readelf.c (print_symbol): New function: Print a formatted symbol
2009 name. If --wide is specified do not truncate it.
2010 (dump_relocations): Use print_symbol() to print symbol names.
2011 (process_symbol_table): Likewise.
2012 (process_syminfo): Likewise.
2013 (process_mips_specific): Likewise.
2014 (usage): Document new feature of --wide switch.
2015 * doc/binutils.texi (objdump): Document additional behaviour of
2016 --wide.
2a538ba5 2017
4dd67f29
MS
20182001-12-18 Michael Snyder <msnyder@redhat.com>
2019
2020 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2021 (copy_object): Don't set the start address or flags of a core file.
2022 (copy_section): Don't relocate a core file. Don't copy contents
2023 if the input section has the contents flag set, but the output
2024 section does not (which happens with the fake 'note' pseudo-
2025 sections that BFD creates for corefiles).
2026
43521d43
TS
20272001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2028
2029 * readelf.c (get_machine_flags): Recognize header flags for ABI and
2030 ASE extensions. More robust code for ISA checking. Ignore empty fields
2031 in header flags for GNU extensions.
2032
b667df2e
AM
20332001-12-18 Alan Modra <amodra@bigpond.net.au>
2034
2035 * objcopy.c (copy_archive): Set output bfd format outside the loop.
2036
17a5a5c3
NC
20372001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2038
2039 * po/ja.po: Import from translation project.
2040 * configure.in (ALL_LINGUAS): Add ja.
2041 * configure: Regenerate.
2042
65de42c0
TS
20432001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2044
2045 * addr2line.c (main): Protoype.
2046 * ar.c (main): Protoype.
2047 * nm.c (main): Protoype.
2048 * objcopy.c (main): Protoype.
2049 * objdump.c (main): Protoype.
2050 * size.c (main): Protoype.
2051 * strings.c (main): Protoype.
2052
9ad5cbcf
AM
20532001-12-17 Alan Modra <amodra@bigpond.net.au>
2054
2055 * readelf.c (symtab_shndx_hdr): New global.
2056 (SECTION_HEADER_INDEX): Define.
2057 (SECTION_HEADER_NUM): Define.
2058 (SECTION_HEADER): Define.
2059 (GET_ELF_SYMBOLS): Pass two params rather than three.
2060 (get_32bit_elf_symbols): Take file and section args. Read and
2061 use SHT_SYMTAB_SHNDX.
2062 (get_64bit_elf_symbols): Likewise.
2063 (dump_relocations): Use SECTION_HEADER to index "section_headers".
2064 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2065 Remember symtab_shdx_hdr.
2066 (process_program_headers): Scan from index 1 for segment map.
2067 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2068 "section_headers".
2069 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2070 (process_unwind): Likewise.
2071 (process_version_sections): Likewise.
2072 (process_symbol_table): Likewise.
2073 (display_debug_info): Likewise.
2074 (process_dynamic_segment): Fake up a symtab section for changed
2075 GET_ELF_SYMBOLS.
2076 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2077 (process_program_headers): Kill signed/unsigned warning.
2078 (load_debug_str): Likewise.
2079 (display_debug_info): Likewise.
2080
65765700
JJ
20812001-12-13 Jakub Jelinek <jakub@redhat.com>
2082
2083 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2084
560f3c1c
AM
20852001-12-11 Alan Modra <amodra@bigpond.net.au>
2086
2087 * readelf.c (process_file_header): Print extended e_shnum and
2088 e_shdtrndx values. Set elf_header values for same.
2089 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2090 (get_64bit_section_headers): Likewise.
2091 (process_section_headers): Update calls.
2092 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2093
bc408b8a
JJ
20942001-12-10 Jakub Jelinek <jakub@redhat.com>
2095
2096 * objcopy.c (setup_section): Copy entsize.
2097
93fbbb04
GK
20982001-12-07 Geoffrey Keating <geoffk@redhat.com>
2099
2100 * readelf.c (guess_is_rela): Add support for stormy16.
2101 (dump_relocations): Likewise.
2102 (get_machine_name): Likewise.
2103
e3c8793a
NC
21042001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2105
2106 * dllwrap.c (main) Replace multiple strings describing a
2107 single error with a single, newline escaped sentence to permit
2108 better translation into foreign languages.
2109
2110 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2111 class names.
2112
956cd1d6
TS
21132001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2114
2115 * strings.c (get_char): Initialize value.
2116
956c53ee
TS
21172001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2118
2119 * arlex.l: Silence compile warnings.
2120 * arsup.h: Likewise. Fix formatting.
2121
cedd9a58
JJ
21222001-12-04 Jakub Jelinek <jakub@redhat.com>
2123
2124 * strings.c: Include config.h before bfd.h.
2125 (file_off): New type.
2126 (file_open): Define.
2127 (print_strings): Use file_off instead of file_ptr. Print addresses
2128 which don't fit into long correctly.
2129 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2130 available.
2131 (strings_file): Use file_off instead of file_ptr. Use file_open.
2132 * configure.in: Check for getc_unlocked.
2133 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2134 be defined for it.
2135 * configure: Rebuilt.
2136 * config.h.in: Rebuilt.
2137
af667503
L
21382001-11-29 H.J. Lu <hjl@gnu.org>
2139
2140 * bucomm.c (make_tempname): Revert the changes made on
2141 2001-11-14 and 2001-11-12. They won't work with directories.
2142
16474668
NC
21432001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2144
2145 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2146 CFLAGS_FOR_TARGET to runtest in environment.
2147 * Makefile.in: Rebuild.
2148 * doc/Makefile.in: Rebuild.
2149
17978339
MS
21502001-11-28 Mike Stump <mrs@wrs.com>
2151
2152 * objcopy.c (setup_section): Preserve SEC_RELOC when
2153 --set-section-flags is used.
2154
261a45ad
NC
21552001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2156
2157 * readelf.c (do_debug_str): New variable.
2158 (display_debug_str): New function: Display the contents of a
2159 .debug_str section.
2160 (load_debug_str): New function: Load in the contents of a
2161 .debug_str section.
2162 (free_debug_str): New function: Free the memory used by
2163 load_debug_str().
2164 (fetch_indirect_string): Retrieve a string from the .debug_str
2165 section.
2166 (usage): Add -ws.
2167 (parse_args): Accept -ws.
2168 (process_section_headers): Allow the display of the .debug_str
2169 section.
2170 (read_and_display_attr_value): Use fetch_indirect_string. Show
2171 offset into .debug_str section.
2172 (display_debug_info): Use load_debug_str and free_debug_str.
2173 (debug_displays): Add .debug_str.
2174 * doc/binutils.texi: Document -ws.
2175
b8908f93
AJ
21762001-11-19 Andreas Jaeger <aj@suse.de>
2177
2178 * testsuite/binutils-all/objdump.exp: Add x86-64.
2179
e5fb9629
AS
21802001-11-15 Andreas Schwab <schwab@suse.de>
2181
2182 * readelf.c: Fix warnings without terminating newline.
2183
802a735e
AM
21842001-11-15 Alan Modra <amodra@bigpond.net.au>
2185
2186 * doc/binutils.texi (objdump): Document ppc -M options.
2187
b89e9eae
AJ
21882001-11-14 Andreas Jaeger <aj@suse.de>
2189
2190 * doc/binutils.texi (objdump): Fix description to use x86-64.
2191
a6a25652
NC
21922001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2193
2194 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2195 not all systems provide mkstemp.
2196
e396998b
AM
21972001-11-14 Alan Modra <amodra@bigpond.net.au>
2198
2199 * doc/binutils.texi (objdump): Document x86 -M options.
2200
81766fca
RH
22012001-11-13 Keith Walker <keith.walker@arm.com>
2202
2203 * readelf.c (read_and_display_attr_value): New function to
2204 handle DW_FORM_indirect.
2205 (read_and_display_attr): Use it.
2206
1a509dcc
GK
22072001-11-13 Geoffrey Keating <geoffk@redhat.com>
2208
2209 * readelf.c (display_debug_lines): Deal with unknown standard
2210 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2211 DW_LNS_set_isa.
2212
6e917903 22132001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2214
6e917903
TW
2215 * MAINTAINERS: Add self as tic54x maintainer. This target
2216 includes the IBM C54XDSP clone.
7559e86e 2217
6e917903 22182001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2219
7559e86e
NC
2220 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2221
22222001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2223
ecdadc4a
JL
2224 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2225 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2226 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2227 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2228 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2229 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2230 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2231
91770270
JL
2232 * readelf.c (get_elf_class): Fix ISO portability glitch.
2233 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2234
ef5cdfc7
JJ
22352001-11-07 Jakub Jelinek <jakub@redhat.com>
2236
2237 * readelf.c (debug_str, debug_str_size): New.
2238 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2239 Call free_abbrevs.
2240 (read_and_display_addr): Handle DW_FORM_strp.
2241 (display_debug_info): Read .debug_str section if present,
2242 so that DW_FORM_strp can be handled.
2243 Fix test for non-existant .debug_abbrev section.
2244
5e9520c8
JJ
22452001-11-05 Jakub Jelinek <jakub@redhat.com>
2246
2247 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2248
2249 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2250
54589086
MS
22512001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2252
2253 * MAINTAINERS: Add self as s390/s390x maintainer.
2254
c05b685b
TR
22552001-11-02 Tom Rix <trix@bluey.cygnus.com>
2256
2257 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2258
3c62831e
NC
22592001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2260
2261 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2262 * configure: Regernate.
2263 * po/fr.po: New file.
2264 * po/tr.po: New file.
2265
3c3bdf30
NC
22662001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2267
9b19141a 2268 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2269 * readelf.c: Include elf/mmix.h.
2270 (guess_is_rela): MMIX is RELA.
2271 (dump_relocations): Handle MMIX relocations.
2272 * Makefile.am: Regenerate dependencies.
2273 * Makefile.in: Regenerate.
2274
f662939a
NC
22752001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2276
2277 * readelf.c (parse_args): Handle multiple options to the -w
2278 switch.
2279
c91d0dfb
JJ
22802001-10-12 Jakub Jelinek <jakub@redhat.com>
2281
2282 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2283 LOPROC, LOOS and LOUSER.
2284
7559e86e 22852001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2286
2287 * MAINTAINERS: Update my email address.
2288
fcd8210c
AM
22892001-10-03 Alan Modra <amodra@bigpond.net.au>
2290
2291 * doc/Makefile.in: Regenerate.
2292 * configure: Regenerate.
2293
428409d5
NC
22942001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2295
2296 * readelf.c (display_debug_line, display_debug_pubnames,
2297 display_debug_info, display_debug_frames): Detect and warn
2298 about 64-bit format entries.
2299 (display_debug_aranges): Reword 64-bit warning.
2300 (debug_displays): Add .debug_pubtypes as a known, but not yet
2301 supported, debug section.
2302
6a8c2b0d
AM
23032001-10-02 Alan Modra <amodra@bigpond.net.au>
2304
2305 * coffdump.c (PROGRAM_VERSION): Delete.
2306 (main <'V'>): Call print_version.
2307 * srconv.c: Likewise.
2308 * sysdump.c: Likewise.
2309 * version.c (program_version): Remove.
2310 (print_version): Use BFD_VERSION_STRING. Just print the current
2311 year in copyright message.
2312 * addr2line.c (program_version): Remove unused declaration.
2313 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2314 place of BFD_VERSION.
2315 * Makefile.am (Makefile): Depend on bfd/configure.in.
2316 (cplus-dem.o): Depend on Makefile.
2317 Run "make dep-am".
2318 * Makefile.in: Regenerate.
2319
e414a165
NC
23202001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2321
2322 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2323 format .debug_arange sections.
2324 (main): Add missing prototype.
b8908f93 2325
efc3ee7f
HPN
23262001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2327
2328 * Makefile.am: Update dependencies with "make dep-am".
2329 * Makefile.in: Regenerate.
2330
9e85c2a0
RH
23312001-09-28 Richard Henderson <rth@redhat.com>
2332
2333 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2334
451dad9c
AM
23352001-09-26 Alan Modra <amodra@bigpond.net.au>
2336
2337 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2338 VA_CLOSE.
2339 (non_fatal): Likewise.
2340 * objdump.c (objdump_sprintf): Likewise.
2341 * readelf.c (error): Likewise.
2342 (warn): Likewise.
2343
d974e256
JJ
23442001-09-25 Jakub Jelinek <jakub@redhat.com>
2345
2346 * readelf.c (do_wide): New.
2347 (options): Add --wide.
2348 (usage, parse_args): Likewise.
2349 (process_program_headers): Put each segment on a single line if
2350 --wide is given.
2351 (process_section_headers): Put each section on a single line if
2352 --wide is given.
2353 * doc/binutils.texi: Document it.
2354 * NEWS: Likewise.
2355
2f11c261
AM
23562001-09-25 Alan Modra <amodra@bigpond.net.au>
2357
2358 * readelf.c (print_vma): Print 8 digits of low hex value.
2359
1d50f91e
AJ
23602001-09-24 Andreas Jaeger <aj@suse.de>
2361
2362 * nlmconv.c: Fix warnings about unused attributes and function
2363 prototypes.
2364
2365 * strings.c: Add prototype for get_char.
2366
38131e67
L
23672000-09-19 H.J. Lu <hjl@gnu.org>
2368
2369 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2370 $(srcdir)/cxxfilt.man.
2371 * doc/Makefile.in: Rebuild.
2372
3bcfb3e4
AM
23732001-09-19 Alan Modra <amodra@bigpond.net.au>
2374
2375 * objcopy.c (copy_main): Correct rename-section string parsing.
2376 Consolidate new_name parsing, and error messages.
2377
3882b010
L
23782001-09-18 Bruno Haible <haible@clisp.cons.org>
2379
2380 * addr2line.c: Don't include <ctype.h>.
2381 (main): For gettext, also set the LC_CTYPE locate facet.
2382 * ar.c (main): Likewise.
2383 * coffdump.c (main): Likewise.
2384 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2385 (main): For gettext, also set the LC_CTYPE locate facet.
2386 Use ISALNUM instead of isalpha/isdigit.
2387 * dllwrap.c: Don't include <ctype.h>.
2388 (main): For gettext, also set the LC_CTYPE locate facet.
2389 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2390 (main): For gettext, also set the LC_CTYPE locate facet.
2391 Use TOUPPER instead of islower/toupper.
2392 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2393 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2394 Use TOUPPER instead of islower/toupper.
2395 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2396 * objcopy.c (main): Likewise.
2397 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2398 (disassemble_bytes): Use ISPRINT instead of isprint.
2399 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2400 (dump_data): Use ISPRINT instead of isprint.
2401 (main): For gettext, also set the LC_CTYPE locate facet.
2402 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2403 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2404 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2405 Use TOUPPER instead of islower/toupper.
2406 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2407 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2408 (write_rc_accelerators): Use ISPRINT instead of isprint.
2409 (write_rc_rcdata): Likewise.
2410 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2411 * srconv.c (main): Likewise.
2412 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2413 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2414 isdigit/isupper/islower.
2415 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2416 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2417 stab_demangle_prefix, stab_demangle_qualified,
2418 stab_demangle_template, stab_demangle_type,
2419 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2420 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2421 (isgraphic): Use ISPRINT instead of isascii/isprint.
2422 (main): Remove HAVE_LC_MESSAGES dependency.
2423 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2424 (pbarray): Use ISPRINT instead of isprint.
2425 (main): For gettext, also set the LC_CTYPE locate facet.
2426 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2427 (format_from_filename): Use ISPRINT instead of isprint.
2428 (main): For gettext, also set the LC_CTYPE locate facet.
2429 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2430 (unicode_print): Use ISPRINT instead of isprint.
2431 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2432 (stab_variable): Use ISDIGIT instead of isdigit.
2433
e59b4dfb
AM
24342001-09-18 Alan Modra <amodra@bigpond.net.au>
2435
2436 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2437 Replace bfd_read call with call to bfd_bread.
2438 (extract_file): Likewise.
2439
2440 * objdump.c (dump_section_header): Cast section->filepos to
2441 unsigned long to suit printf format string.
2442 * readelf.c (process_section_headers): Similarly for sh_offset.
2443 (process_unwind): Likewise.
2444
d132876a
NC
24452001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2446
2447 * strings.c (encoding, encoding_bytes): New variables.
2448 (long_options): Add --encoding.
2449 (main): Accept -e and --encoding.
2450 (get_char): New function. Read a, possibly wide, character from
2451 the input stream.
2452 (print_strings): Use get_char().
2453 (usage): Document new command line option.
2454 * doc/binutils.texi: Document new command line option.
2455 * NEWS: Announce new command line option.
2456
7559e86e 24572001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2458
2459 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2460 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2461 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2462 Removed EM_CYGNUS_ARC.
2463
7559e86e 24642001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2465
2466 * readelf.c: Include elf/h8 for H8 series definitions.
2467 (guess_is_rela): H8 series if RELA.
2468 (dump_relocations): Handle H8 series relocations.
2469
0823fbca
EC
24702001-08-31 Eric Christopher <echristo@redhat.com>
2471
2472 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2473
8db76d70
PT
24742001-08-29 Peter Targett <peter.targett@arccores.com>
2475
2476 * MAINTAINERS: Include ARC Maintainer.
2477
d81d6584
BE
24782001-08-29 Ben Elliston <bje@redhat.com>
2479
2480 * stabs.c (stab_demangle_template): Initialise s4.
2481
25a1ff5b
AM
24822001-08-27 Alan Modra <amodra@bigpond.net.au>
2483
2484 * readelf.c (dump_relocations): Recognise EM_PPC64.
2485
a5d22d2a
TS
24862001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2487
2488 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2489
62a5a82d
L
24902001-08-25 H.J. Lu <hjl@gnu.org>
2491
2492 * nm.c (print_width): New.
2493 (display_rel_file): Set `print_width' according to
2494 bfd_sprintf_vma.
2495 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2496
1ae8b3d2
AO
24972001-08-24 Alexandre Oliva <aoliva@redhat.com>
2498
2499 * objcopy.c (use_alt_mach_code): New variable.
2500 (OPTION_ALT_MACH_CODE): Define.
2501 (copy_options): Added --alt-machine-code.
2502 (copy_main): Handle it.
2503 (copy_object): Switch to alternate machine code if requested.
2504 * doc/binutils.texi: Document new option.
2505 * NEWS: Likewise.
2506
d1bdd336
TS
25072001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2508
2509 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2510
410f7a12
L
25112001-08-21 H.J. Lu <hjl@gnu.org>
2512
2513 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2514 (display_debug_info): Cast for 64bit hosts.
2515 (display_debug_frames): Likewise.
2516 (process_mips_specific): Likewise.
2517
c32144ff
AJ
25182001-08-21 Andreas Jaeger <aj@suse.de>
2519
2520 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2521
2522 * sysdump.c: Add missing prototypes.
2523 * srconv.c: Likewise.
2524 * unwind-ia64.c: Likewise.
2525 * coffdump.c: Likewise.
2526
2527 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2528
2529 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2530 of declaring xcalloc.
2531
d8180c76
L
25322001-08-10 H.J. Lu <hjl@gnu.org>
2533
2534 * nm.c (print_value): Add one arg, bfd *.
2535 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2536 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2537 (print_symbol_info_sysv): Likewise.
2538 (print_symbol_info_posix): Likewise.
2539
2540 * objdump.c (dump_section_header): Replace printf_vma with
2541 bfd_printf_vma.
2542 (print_section_stabs): Likewise.
2543 (dump_bfd_header): Likewise.
2544 (objdump_print_value): Replace sprintf_vma with
2545 bfd_sprintf_vma.
2546 (disassemble_bytes): Likewise.
2547 (dump_reloc_set): Likewise.
2548
0218d1e4
AJ
25492001-08-10 Andreas Jaeger <aj@suse.de>
2550
2551 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2552 to build warnings.
2553 * configure: Regenerate.
2554
2863d58a
AM
25552001-08-09 Alan Modra <amodra@bigpond.net.au>
2556
2557 * readelf.c: Add missing prototypes.
2558 * objdump.c: Likewise. Format existing prototypes.
2559
c0e047e0
AO
25602001-08-08 Alexandre Oliva <aoliva@redhat.com>
2561
2562 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2563 of any RELA relocation for the abbrev_offset memory location that
2564 refers to the .debug_abbrev section symbol.
2565
ff78d6d6
L
25662001-08-07 H.J. Lu <hjl@gnu.org>
2567
2568 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2569 (main): Return process_file ().
2570
c36774d6
PB
25712001-08-05 Philip Blundell <philb@gnu.org>
2572
2573 * doc/binutils.texi: Use "Thumb" not "THUMB".
2574
8f9d9bd9
JH
25752001-08-03 John Healy <jhealy@redhat.com>
2576
bb279dc0
ZW
2577 Patch suggested by Frank Eigler <fche@redhat.com>.
2578 * objdump.c (disassemble_data): Fill in section member of the
2579 disasm_info structure.
8f9d9bd9 2580
c918cb96
DD
25812001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2582
2583 * configure.in: Added --with-windres option.
2584 * configure: Regenerated.
2585
c7c55b78
NC
25862001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2587
2588 * doc/binutils.texi: Use @command{name} for commands;
2589 use @option{-opt} for options; use @table @env for list of options;
2590 remove spaces arround [ | ] in synopsis.
2591
2592 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2593 center title.
2594
594ef5db
NC
25952001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2596
bb279dc0
ZW
2597 * objcopy.c: Fix formatting.
2598 (section_rename): New structure.
2599 (OPTION_RENAME_SECTION): New switch.
2600 (copy_usage): Document new switch.
2601 (add_section_rename): New function: Add a node to the section
2602 rename list.
2603 (find_section_rename): New function: Find the new name and
2604 flags for a section.
2605 (setup_section): Call find_section_name to determine the name
2606 of the output section.
2607 (copy_main): Handle OPTION_RENAME_SECTION.
2608 * binutils.texi: Document new switch.
594ef5db
NC
2609 * NEWS: Mention new switch.
2610
1f554c69
NC
26112001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2612
2613 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2614 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2615 bug-binutils@gcc.org.
2616
2f83960e
AM
26172001-07-28 Matthias Kramm <kramm@quiss.org>
2618
2619 * bucomm.c (list_supported_architectures): New function.
2620 * bucomm.h (list_supported_architectures): Declare.
2621 * objdump.c (usage): Call the above.
2622
20fe0649
DB
26232001-07-25 Dave Brolley <brolley@redhat.com>
2624
2625 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2626 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2627
1b577b00
NC
26282001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2629
2630 * README: Update for 2.11. Change bug reporting email address.
2631 * MAINTAINERS: Tidy up. Change bug reporting email address.
2632
95fd336c
DD
26332001-07-16 DJ Delorie <dj@redhat.com>
2634
5f16d855
DD
2635 * resres.c (write_res_header): Align header size.
2636 (res_align_file): Calculate alignment correctly.
2637
95fd336c
DD
2638 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2639 correct 10).
2640 * resrc.c (write_rc_resource): Likewise.
2641 * windres.h (SUBLANG_SHIFT): Define - as 10.
2642
ed8fee27
NC
26432001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2644
2645 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2646
90ab7e9a
NC
26472001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2648
2649 * MAINTAINERS: Add notes about branch checkins.
2650
e0c60db2
NC
26512001-07-05 Daniel Berlin <dan@cgsoftware.com>
2652
2653 * readelf.c (display_debug_macinfo): New function, display
2654 .debug_macinfo section.
2655 (do_debug_macinfo): New variable.
2656 (parse_args): Handle "-w[mM]" to mean display macro info.
2657 (process_section_headers): Handle debug_macinfo.
2658 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2659 function for .debug_macinfo display.
e0c60db2
NC
2660 * doc/binutils.texi: Document new command line switch.
2661 * NEWS: Document new feature of readelf.
0218d1e4 2662
24e01a36
L
26632001-07-05 H.J. Lu <hjl@gnu.org>
2664
2665 * objcopy.c (filter_symbols): Don't turn undefined symbols
2666 into local.
2667
4258bf4d
L
26682001-07-03 H.J. Lu <hjl@gnu.org>
2669
2670 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2671 $@.pod.
2672 (ar.1): Likewise.
2673 (dlltool.1): Likewise.
2674 (nlmconv.1): Likewise.
2675 (nm.1): Likewise.
2676 (objcopy.1): Likewise.
2677 (objdump.1): Likewise.
2678 (ranlib.1): Likewise.
2679 (readelf.1): Likewise.
2680 (size.1): Likewise.
2681 (strings.1): Likewise.
2682 (strip.1): Likewise.
2683 (windres.1): Likewise.
2684 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2685 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2686 $(DEMANGLER_NAME).
2687 (as.1): Removed.
2688 * doc/Makefile.in: Regenerated.
2689
7014bc31
NC
26902001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2691
2692 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2693
b811889f
NC
26942001-07-01 Daniel Berlin <dan@cgsoftware.com>
2695
2696 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2697
12ab83a9
NC
26982001-06-29 James Cownie <jcownie@etnus.com>
2699
2700 * readelf.c: Support DWARF 2.1 attributes.
2701
a6e9f9df
AM
27022001-06-28 Alan Modra <amodra@bigpond.net.au>
2703
2704 * readelf.c (GET_DATA_ALLOC): Remove.
2705 (GET_DATA): Remove.
2706 (get_data): New function combining above macros, with an extra
2707 test for zero size.
2708 (slurp_rela_relocs): Use get_data, and catch error return.
2709 (slurp_rel_relocs): Likewise.
2710 (get_32bit_program_headers): Likewise.
2711 (get_64bit_program_headers): Likewise.
2712 (get_32bit_section_headers): Likewise.
2713 (get_64bit_section_headers): Likewise.
2714 (get_32bit_elf_symbols): Likewise.
2715 (get_64bit_elf_symbols): Likewise.
2716 (process_section_headers): Likewise.
2717 (process_relocs): Likewise.
2718 (slurp_ia64_unwind_table): Likewise.
2719 (process_unwind): Likewise.
2720 (get_32bit_dynamic_segment): Likewise.
2721 (get_64bit_dynamic_segment): Likewise.
2722 (process_dynamic_segment): Likewise.
2723 (process_version_sections): Likewise.
2724 (process_symbol_table): Likewise.
2725 (dump_section): Likewise.
2726 (display_debug_info): Likewise.
2727 (display_debug_section): Likewise.
2728 (process_section_contents): Likewise.
2729 (process_corefile_note_segment): Likewise.
2730 (process_mips_specific): Likewise. Also free econf32, econf64.
2731
af3fc3bc
AM
27322001-06-25 Alan Modra <amodra@bigpond.net.au>
2733
2734 * readelf.c (dump_relocations): Print "bad symbol index" if
2735 symtab == NULL with non-zero symtab_index.
2736 (process_relocs): Don't bomb if reloc section has no symsec.
2737
6d900bf6
L
27382001-06-24 H.J. Lu <hjl@gnu.org>
2739
2740 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2741 by accident.
2742 (copy_main): Apply the the change made to strip_main on
2743 2001-05-30 by accident.
2744
49b4e386
AJ
27452001-06-23 Andreas Jaeger <aj@suse.de>
2746
2747 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2748 parameter 'code'.
2749 (unw_decode_x2): Likewise.
2750 (unw_decode_x3): Likewise.
2751 (unw_decode_x4): Likewise.
2752
d8dc71e3
BE
27532001-06-23 Ben Elliston <bje@redhat.com>
2754
2755 * MAINTAINERS: Add myself as M88k maintainer.
2756
af3bdff7
NC
27572001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2758
2759 * objcopy.c (strip_main): Support -o or --output-file command lien
2760 switch.
2761
105e7211
L
27622001-06-19 H.J. Lu <hjl@gnu.org>
2763
2764 * doc/Makefile.in: Regenerated.
2765
c45021f2
NC
27662001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2767
2768 * readelf.c: Restore formatting.
2769
27702001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2771
bb279dc0
ZW
2772 * Makefile.am: Move documentation into doc subdirectory.
2773 * Makefile.in: Regenerated.
c45021f2 2774 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2775 * addr2line.1: Removed.
2776 * ar.1: Likewise.
2777 * dlltool.1: Likewise.
2778 * nlmconv.1: Likewise.
2779 * nm.1: Likewise.
2780 * objcopy.1: Likewise.
2781 * objdump.1: Likewise.
2782 * ranlib.1: Likewise.
2783 * readelf.1: Likewise.
2784 * size.1: Likewise.
2785 * strings.1: Likewise.
2786 * strip.1: Likewise.
2787 * windres.1: Likewise.
2788 * cxxfilt.man: Likewise.
c45021f2
NC
2789 * doc: New Directory.
2790 * doc/Makefile.am: New file.
2791 * doc/Makefile.in: Generate.
2792
09ad7db3
AM
27932001-06-09 Alan Modra <amodra@bigpond.net.au>
2794
2795 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2796
936260fe
AM
27972001-06-01 Alan Modra <amodra@bigpond.net.au>
2798
2799 * MAINTAINERS: Update my email address.
2800
16b2b71c
NC
28012001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2802
2803 * objcopy.c: Add new switches: --keep-global-symbol,
2804 --keep-symbols, --localize-symbols, --keep-global-symbols and
2805 --weaken-symbols.
2806 * binutils.texi: Document new switches.
2807 * objcopy.1: Regenerate.
2808 * NEWS: Announce new feature.
2809
7036c0e1
AJ
28102001-05-28 Andreas Jaeger <aj@suse.de>
2811
2812 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2813 variables, fix format strings.
2814
76a406e5
NC
28152001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2816
2817 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2818 when computing the address of the line to show.
2819
31b6fca6
RH
28202001-05-16 Richard Henderson <rth@redhat.com>
2821
2822 * readelf.c (do_debug_frames_interp): New.
2823 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2824 (byte_get_big_endian): Likewise.
2825 (parse_args) ['F']: Set do_debug_frames_interp.
2826 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2827 (frame_display_row): Don't trunc pc_begin to int.
2828 (size_of_encoded_value): New.
2829 (display_debug_frames): Handle 64-bit targets. Print raw data
2830 unless do_debug_frames_interp.
2831 (debug_displays): Remove duplicate .debug_frame.
2832
4fe85591
NC
28332001-05-15 Ralf Baechle <ralf@gnu.org>
2834
2835 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2836 The former constant was never in active use and is used otherwise
2837 by the ABI.
2838
579f31ac
JJ
28392001-05-11 Jakub Jelinek <jakub@redhat.com>
2840
2841 * readelf.c (process_unwind): Print all unwind sections, not just
2842 one.
2843
78f4a3f7
AM
28442001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2845
2846 * readelf.c (process_unwind): Remove const specifier.
2847
1c529ca6
NC
28482001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2849
2850 * strings.c (isgraphic): Do not use isascii() unless it is needed
2851 for isprint() to work.
2852 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2853
87e6d782
NC
28542001-04-27 Johan Rydberg <jrydberg@opencores.org>
2855
bb279dc0 2856 * NEWS: Announce support for OpenRISC.
87e6d782 2857
4bd3d870 28582001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2859
2860 * dlltool.c (do_default_excludes): Initialise to true.
2861
21211521
AM
28622001-04-10 Alan Modra <amodra@one.net.au>
2863
2864 * MAINTAINERS: Update my email address
2865 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2866
0c66b61e 28672001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2868
2869 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2870
e58d53af
L
28712001-03-30 H.J. Lu <hjl@gnu.org>
2872
2873 * readelf.c (process_unwind): Just return if do_unwind is 0.
2874
bee72332
DD
28752001-03-28 Roger Sayle <roger@metaphorics.com>
2876
2877 * dlltool.c (make_one_lib_file): Fix section flags for
2878 .text, .data and .bss in stub ds*.o files to match those
2879 generated by gas.
2880
f1467e33
L
28812001-03-29 H.J. Lu <hjl@gnu.org>
2882
2883 * readelf.c (process_unwind): Only do unwind sections for
2884 IA64.
2885
1c6fb4fe
L
28862001-03-28 H.J. Lu <hjl@gnu.org>
2887
2888 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2889 * Makefile.in: Regenerate.
2890
0879a67a
AJ
28912001-03-26 Andreas Jaeger <aj@suse.de>
2892
2893 * binutils.texi (nm): Fix texi syntax.
2894
0285c67d
NC
28952001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2896
2897 * binutils.texi: Put @c man begin and @c man end indications
2898 to generate man pages using texi2pod and pod2man. Put @c man title
2899 to identify each man. Add SEEALSO entries.
2900 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2901 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2902 sort the list.
2903 (*.1): Build the man pages from binutils.texi.
2904 * Makefile.in: Regenerate.
2905
04847a4d
CF
29062001-03-13 Eric Kohl <ekohl@rz-online.de>
2907
2908 * defparse.y (opt_equal_name): allow "." in name.
2909 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2910 (gen_exp_file): Likewise.
2911
43a0748c
NC
29122001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2913
2914 * NEWS: Document addition of -B switch to objcopy.
2915 * binutils.texi: Document addition of -B switch to objcopy.
2916 * objcopy.c: (copy_options): Add --binary-architecture.
2917 (copy_usage): Document -B/--binary-architecture.
2918 (copy_main): Support -B/--binary-architecture. Set
2919 bfd_external_binary_architecture.
0879a67a 2920
b7498e0e
NC
29212001-03-11 Andreas Jaeger <aj@suse.de>
2922
2923 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2924 (dump_relocations): Likewise.
2925 (get_machine_name): Likewise.
2926
a59e3bd7
NC
29272001-02-28 Nick Clifton <nickc@redhat.com>
2928
2929 * readelf.c: (struct unw_aux_info): Remove const modifier for
2930 'strtab' field.
2931 (process_unwind): Remove non-K&R compliant LHS type cast in call
2932 to GET_DATA_ALLOC macro.
2933
a5bcd848
PB
29342001-02-28 Philip Blundell <pb@futuretv.com>
2935
2936 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2937 ABI is in use; remove ambiguity between the "unknown" EABI and
2938 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2939 renamed EF_xx constants.
2940
27b7e12d
AM
29412001-02-27 Alan Modra <alan@linuxcare.com.au>
2942
2943 * configure.in (BFD_VERSION): New.
2944 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2945 * configure: Regenerate.
2946 * Makefile.am: Run "make dep-am"
2947 * Makefile.in: Regenerate.
2948
a9f10786
NC
29492001-02-14 Nick Clifton <nickc@redhat.com>
2950
2951 * MAINTAINERS: Add "Obvious Fix" rule.
2952
3c44da9a
MS
29532001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2954
2955 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2956 literal concatenation.
2957
ecd03389
MS
29582001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2959
2960 * readelf.c (struct unw_aux_info): Remove const from the info member.
2961 (process_unwind): Don't type-cast the third argument to the
2962 GET_DATA_ALLOC macro.
2963
88ec60c7
NC
29642001-02-11 Nick Clifton <nickc@redhat.com>
2965
2966 * readelf.c (dump_relocations): Free corrected allocated
2967 array.
2968 (process_unwind): Fix compile time warning.
2969
f5e21966
NC
29702001-02-10 Nick Clifton <nickc@redhat.com>
2971
2972 * binutils.texi: Document new --unwind option to readelf.
2973
a85d7ed0
NC
29742001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2975
2976 * readelf.c: Add linux target for S/390.
2977
7bb10502
AM
29782001-02-10 Alan Modra <alan@linuxcare.com.au>
2979
2980 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2981 printf is a macro.
2982
8ca8f343
HPN
29832001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2984
2985 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2986 * aclocal.m4: Regenerate.
2987 * configure: Regenerate.
2988
7340082d
NC
29892001-02-07 Todd Vierling <tv@wasabisystems.com>
2990
2991 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2992 * objdump.c (bfd_target_vector): Likewise.
2993
4d6ed7c8
NC
29942001-02-07 David Mosberger <davidm@hpl.hp.com>
2995
2996 * readelf.c (process_unwind): New function.
2997 (slurp_ia64_unwind_table): Ditto.
2998 (dump_ia64_unwind): Ditto.
2999 (find_symbol_for_address): Ditto.
3000 (slurp_rela_relocs): New function (split off from dump_relocations()).
3001 (slurp_rel_relocs): Ditto.
3002 (parse_args): Handle '-u' option.
3003
3004 * unwind-ia64.c: New file.
3005 * unwind-ia64.h: New file.
3006 * Makefile.am: Include unwind-ia64.c in readelf build.
3007 * Makefile.in: Regenerate.
7340082d 3008 * po/binutils.pot: Regenerate.
4d6ed7c8 3009
c7217458
PB
30102001-02-04 Philip Blundell <philb@gnu.org>
3011
3012 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3013 * configure: Regenerate.
3014
956eedd4
AM
30152001-01-31 Steve deRosier <sderosier@vari-lite.com>
3016
3017 * ieee.c (ieee_add_bb11): Don't check for backslashes
3018 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3019
8855cbca
AM
30202001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
3021
c7f2731e
AM
3022 * ieee.c: Update copyright.
3023 (ieee_start_compilation_unit): Don't check for backslashes
3024 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3025
8855cbca
AM
3026 * stabs.c: Update copyright. Include "filenames.h".
3027 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3028
329de803 30292001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
3030
3031 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3032 sections are present before using them. Remove code duplication.
3033 (process_symbol_table): Check if VERDEF or VERNEED sections are
3034 present before using them.
3035
23719f39
NC
30362001-01-17 Nick Clifton <nickc@redhat.com>
3037
3038 * objcopy.c (copy_object): Fail if attempting to convert the
3039 endianness of the input object file.
3040
3041 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 3042
f726e849
NC
30432001-01-16 Nick Clifton <nickc@redhat.com>
3044
3045 * readelf.c (string_table_length): New variable.
3046 (SECTION_NAME): Catch out of range indices and missing section
3047 pointers.
3048 (process_section_headers): Delete useless local variable
3049 string_table_offset. Set the value of string_table_length
3050 after loading the string table.
3051 (process_mips_specific): Use SECTION_NAME macro.
3052 (process_file): Set string_table_length to 0 when it is freed.
3053
d0398d6a
NC
30542001-01-12 Nick Clifton <nickc@redhat.com>
3055
3056 * version.c (print_version): Update copyright date.
3057
0d2bcfaf
NC
30582001-01-11 Peter Targett <peter.targett@arccores.com>
3059
3060 * readelf.c (dump_relocations): Include selection with EM_ARC.
3061 (get_machine_name) Update name to "ARC".
3062
8b1e6df3
NC
30632001-01-09 Nick Clifton <nickc@redhat.com>
3064
3065 * Makefile.am: Add rule to build objdump.o from objdump.c and
3066 using OBJDUMP_DEFS.
3067 * Makefile.in: Regenerate.
3068
3069 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3070 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3071 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 3072 * configure: Regenerate.
8b1e6df3
NC
3073
3074 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3075 is defined read in the relocs even if dump_reloc_info is
3076 false.
3077
2f952d20
PB
30782001-01-07 Philip Blundell <philb@gnu.org>
3079
3080 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3081 `bug-binutils'.
3082 * README: Likewise.
3083
a8c548cb
NC
30842000-12-19 Nick Clifton <nickc@redhat.com>
3085
3086 * dlltool.c: Add missing support for arm-epoc-pe.
3087 * configure.in: Add missing support for arm-epoc-pe.
3088 * configure: Regenerate.
3089
cc5fda35
NC
30902000-12-15 Nick Clifton <nickc@redhat.com>
3091
3092 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3093 Mode parts of the x86 port.
3094
bcedfee6
NC
30952000-12-04 Andreas Jaeger <aj@suse.de>
3096
3097 * readelf.c (guess_is_rela): Add EM_X86_64.
3098 (dump_relocations): Add EM_X86_64.
3099 (get_machine_name): Add EM_X86_64.
3100 Include "elf/x86-64.h".
3101
584da044
NC
31022000-12-12 Nick Clifton <nickc@redhat.com>
3103
3104 * readelf.c: Fix formatting.
3105
7559e86e 31062000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3107
3108 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3109
a98cc2b2
AH
31102000-12-07 Andrew Haley <aph@redhat.com>
3111
3112 * readelf.c (display_debug_frames): Only display columns that are
3113 referenced by the frame debug info.
3114
c7987a69
NC
31152000-12-05 Nick Clifton <nickc@redhat.com>
3116
3117 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3118
09fd7e38
JM
31192000-12-04 Jason Merrill <jason@redhat.com>
3120
3121 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3122 (display_debug_section): Likewise.
3123 (display_debug_info): Display CU header before bailing.
3124
e7af610e
NC
31252000-12-01 Chris Demetriou <cgd@sibyte.com>
3126
09fd7e38
JM
3127 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3128 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3129 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 3130
09fd7e38
JM
3131 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3132 and E_MIPS_ARCH_64.
84ea6cf2 3133
09fd7e38
JM
3134 * readelf.c (get_machine_flags): Add case for
3135 E_MIPS_MACH_SB1.
c6c98b38 3136
75066968
DD
31372000-11-30 Richard Earnshaw <rearnsha@arm.com>
3138
3139 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3140
5c4666ea
HPN
31412000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3142