2003-09-28 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ecc2063b
L
12003-09-25 H.J. Lu <hongjiu.lu@intel.com>
2
3 * readelf.c (process_version_sections): Indent version names.
4
739fea7b
AG
52003-09-15 Anthony Green <green@redhat.com>
6
7 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
8 (dlltmp): Ditto.
9 (dtab): Ditto.
10
2da42df6
AJ
112003-09-14 Andreas Jaeger <aj@suse.de>
12
13 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
14 unneeded (void *) casts.
15 * ar.c: Likewise.
16 * arlex.l: Likewise.
17 * arparse.y: Likewise.
18 * arsup.c: Likewise.
19 * binemul.c: Likewise.
20 * binemul.h: Likewise.
21 * bucomm.c: Likewise.
22 * bucomm.h: Likewise.
23 * budbg.h: Likewise.
24 * budemang.c: Likewise.
25 * budemang.h: Likewise.
26 * coffdump.c: Likewise.
27 * coffgrok.c: Likewise.
28 * cxxfilt.c: Likewise.
29 * debug.c: Likewise.
30 * debug.h: Likewise.
31 * deflex.l: Likewise.
32 * dlltool.c: Likewise.
33 * dlltool.h: Likewise.
34 * dllwrap.c: Likewise.
35 * emul_aix.c: Likewise.
36 * filemode.c: Likewise.
37 * ieee.c: Likewise.
38 * nlmconv.c: Likewise.
39 * nlmconv.h: Likewise.
40 * nlmheader.y: Likewise.
41 * nm.c: Likewise.
42 * prdbg.c: Likewise.
43 * rclex.l: Likewise.
44 * rcparse.y: Likewise.
45 * rdcoff.c: Likewise.
46 * rddbg.c: Likewise.
47 * rename.c: Likewise.
48 * resbin.c: Likewise.
49 * rescoff.c: Likewise.
50 * resrc.c: Likewise.
51 * size.c: Likewise.
52 * srconv.c: Likewise.
53 * stabs.c: Likewise.
54 * strings.c: Likewise.
55 * sysdump.c: Likewise.
56 * sysinfo.y: Likewise.
57 * syslex.l: Likewise.
58 * unwind-ia64.c: Likewise.
59 * unwind-ia64.h: Likewise.
60 * version.c: Likewise.
61 * windres.c: Likewise.
62 * windres.h: Likewise.
63 * winduni.c: Likewise.
64 * wrstabs.c: Likewise.
65
e831786b
JW
662003-09-10 James E Wilson <wilson@specifixinc.com>
67
68 * MAINTAINERS: Update my e-mail address.
69
afa7d0b2
ILT
702003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
71
72 * MAINTAINERS: Update my e-mail address.
73
04fbe429
NC
742003-09-04 Nick Clifton <nickc@redhat.com>
75
76 * MAINTAINERS: Make it clear what should be done with patches to
77 the top level configure files (other than config.guess and
78 config.sub). Add binutils@sources.redhat.com as an address to
79 which patches can be sent.
80
8ad30312
NC
812003-09-04 Nick Clifton <nickc@redhat.com>
82
83 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
84
92c2346c
AC
852003-09-03 Andrew Cagney <cagney@redhat.com>
86
87 * objdump.c: Refer to init_disassemble_info in comments.
88 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
89 init_disassemble_info.
90
155e0d23
NC
912003-09-03 Nick Clifton <nickc@redhat.com>
92
93 * objdump.c (struct objdump_disasm_info): Add new fields
94 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
95 (process_section_p): New function: Returns TRUE if a section
96 can be dumped.
97 (disassemble_section): New function: Contains the body of
98 disassemble_data(), but just for one section.
99 (disassemble_data): Use bfd_map_over_sections to walk section
100 chain.
101 (find_stabs_section): New function: Find a stabs containing
102 section and then dump it.
103 (dump_stabs_section): New function: Use bfd_map_over_sections
104 to find the section to dump.
105 (dump_stabs): Use dump_stabs_section.
106 (dump_section): New function: Display the contents of a
107 section.
108 (dump_data): Use bfd_map_over_sections to display section
109 contents.
110 (dump_relocs_in_section): Display the relocs in a given section.
111 (dump_relocs): Use bfd_map_over_sections to display relocs.
112 (adjust_addresses): New function: Adjust the vma and lma of
113 sections.
114 (dump_bfd): Use bfd_map_over_sections.
115 * doc/binutils.texi: Document the "objdump -s" (no longer)
116 dumps empty sections.
117
1182003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
119
120 * objdump.c: Improve comments/documentation.
121 dump_data: Eliminate duplicate function calls to bfd_section_size.
122
6b10f68d
AM
1232003-09-02 Alan Modra <amodra@bigpond.net.au>
124
125 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
126
3673a93e
NC
1272003-08-21 Nick Clifton <nickc@redhat.com>
128
129 * po/tr.po: Updated Turkish translation.
130
51f7282a
AM
1312003-08-14 Alan Modra <amodra@bigpond.net.au>
132
55bb4be3 133 * dep-in.sed: Remove libintl.h.
51f7282a 134 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
55bb4be3 135 Run "make dep-am".
51f7282a
AM
136 * Makefile.in: Regenerate.
137
d989285c
ILT
1382003-08-11 Ian Lance Taylor <ian@airs.com>
139
140 * readelf.c (process_archive): Fix error handling. Remove memory
141 leak.
fb52b2f4
NC
142
143 * readelf.c: Add ability to read archives.
144 (archive_file_offset): New variable.
145 (archive_file_size): New variable.
146 (get_data): Include archive_file_offset in file offset
147 calculation when fseeking.
148 (process_program_headers): Likewise.
149 (process_symbol_table): Likewise.
150 (process_dynamic_segment): Handle computation of end of file
151 position when the file is in an archive.
152 (process_object): New function. Contains the body of
153 process_file().
154 (process_archive): New function. Call process_object on each
155 member of an archive.
156 (process_file): Detect archives and handle appropriately.
157 * Makefile.am: Add dependency on aout/ar.h for readelf.c
158 * Makefile.in: Regenerate.
159 * NEWS: Document readelf's new ability.
160 * doc/binutils: Alter text to say that readelf supports archives
161 and 64-bit ELF files.
162
ff85ab24
NC
1632003-08-08 Nick Clifton <nickc@redhat.com>
164
165 * po/fr.po: Updated French translation.
166
d3ba0551
AM
1672003-08-05 Alan Modra <amodra@bigpond.net.au>
168
169 * objcopy.c: Remove unnecessary prototypes and casts.
170 * objdump.c: Remove unnecessary casts.
171 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
172 (get_osabi_name): Move so we don't need a forward declaration.
173
43ac9881
AM
1742003-08-04 Bradley Harrington <bharring@us.ibm.com>
175 Alan Modra <amodra@bigpond.net.au>
176
177 * objdump.c (include_paths, include_path_count): New vars.
178 (usage): Describe --include.
179 (long_options): Add "include".
180 (add_include_path): New function.
181 (struct print_file_list): Make filename const. Add modname.
182 (try_print_file_open, update_source_path): New functions.
183 (show_line): Use them.
184 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
185
fd7bb956
AM
1862003-07-30 Alan Modra <amodra@bigpond.net.au>
187
188 * objdump.c: Remove unnecessary prototypes.
189 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
190 code, and print relocs when dump_dynamic_reloc_info.
191 (disassemble_data): Read and handle dynamic relocs. Correct reloc
192 skip code. Formatting.
193 (dump_bfd): Don't dump dynamic relocs when disassembling.
194
1e7e751f
BE
1952003-07-29 Ben Elliston <bje@wasabisystems.com>
196
197 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
198 maintenance defaults to the blanket write privilege maintainers.
199
2445335e
MM
2002003-07-29 Michael Meissner <gnu@the-meissners.org>
201
202 * MAINTAINERS: Updated my email address.
203
46dca2e0
NC
2042003-07-29 Nick Clifton <nickc@redhat.com>
205
1e7e751f 206 * objdump.c: Update to ISO C.
46dca2e0 207
834d807b
NC
2082003-07-24 Nick Clifton <nickc@redhat.com>
209
f1e2bc62
NC
210 * objdump.c (disassemble_data): Do not ignore sections without the
211 LOAD flag when disassemble_all is true. Only print a message
212 about disassembling a section if it contains some data.
213
834d807b
NC
214 * po/fr.po: Updated French translation.
215
84e2f313
NC
2162003-07-23 Nick Clifton <nickc@redhat.com>
217
218 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
219 left in. Some formatting tidy ups.
220
51cdc6e0
NC
2212003-07-22 Salvador Eduardo Tropea <set@computer.org>
222
223 * objdump.c: New command line option --debugging-tags.
224 * doc/binutils.texi: Document new command line option.
225 * prdbg.c: Code to print the debug info as tags compatible
226 with ctags.
227 * budbg.h: Adjust prototype.
228 * NEWS: Mention new switch
229
31e0f3cd
NC
2302003-07-18 Nick Clifton <nickc@redhat.com>
231
232 * objdump.c (main) :Accept multiple -M switch.
233 * doc/binutils.texi: Document that multiple -M switches are
234 accepted and that a single -M switch can contain comma
235 separated options.
236
073fbac6
NC
2372003-07-17 Nick Clifton <nickc@redhat.com>
238
239 * objdump.c (main): Issue a warning message if multiple -M
240 switches are used.
241
242 * doc/binutils.texi (objdump): Update documentation about -M
243 option.
244
6c37ac4d
NC
2452003-07-17 Nick Clifton <nickc@redhat.com>
246
247 * po/es.po: New Spanish translation.
248
fce00800
AM
2492003-07-11 Alan Modra <amodra@bigpond.net.au>
250
251 * po/binutils.pot: Regenerate.
252
ff6b6222
CF
2532003-07-05 Christopher Faylor <cgf@redhat.com>
254
255 * dlltool.c (prefix_encode): Use a fixed length for alpha.
256
bf7a6389
CF
2572003-07-04 Christopher Faylor <cgf@redhat.com>
258
259 * dlltool.c (prefix_encode): New function. Encode temp file prefix
260 from pid.
261 (dlltmp): Pass address of pointer being alloced or suffer neverending
262 mallocs.
263 (make_one_lib_file): Allocate enough space for new longer stub names.
264 (gen_lib_file): Ditto.
265 (main): Generate the temp file prefix from the pid if prefix was not
266 specified on the command line.
267
96c223ce
NC
2682003-07-04 Nick Clifton <nickc@redhat.com>
269
270 * readelf.c (get_data): Print (unsigned) hex values for size and
271 offset in error messages.
272 (process_section_headers): If the string table could not be
273 allocated, do not continue.
274
bdf4d63a
JJ
2752003-07-01 Jakub Jelinek <jakub@redhat.com>
276
277 * readelf.c (dynamic_segment_ia64_val): Print address and newline
278 for sections by default. Comment fix.
279
b9ae0492
DS
2802003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
281
282 * rcparse.y (res_text_field): New res_id variable.
283 (res_null_text): New static const struct res_id object,
284 with empty unicode name field.
285 (control): Pop parsing of optresidc up one level. Set
286 res_text_field to $2 except for controls which do not accept
287 a text field. Set res_text_field to res_null_text for the
288 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
289 (control_params): Adjust to use res_text_field rather
290 than optresidc.
291 (COMBOBOX): Add comment about discrepency between documented
292 vs. observed default style.
293 * resrc.c (define_control): Make first param const.
294 * windres.h (define_control): Adjust prototype.
295
e7c81c25
NC
2962003-06-27 Nick Clifton <nickc@redhat.com>
297
298 * objcopy.c (copy_object): Replace call to
299 bfd_create_gnu_debuglink_section with seperate calls to
300 bfd_add_gnu_debuglink_section and
301 bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
302 symbol tables.
303
d93f0186
NC
3042003-06-26 Roland McGrath <roland@redhat.com>
305
306 * readelf.c (loadaddr): Variable removed.
307 (dynamic_info, version_info): Fix type long -> bfd_vma.
308 (program_headers): New variable.
309 (get_program_headers): New function, broken out of
310 process_program_headers.
311 (process_program_headers): Call it. Don't set `loadaddr'.
312 (slurp_ia64_unwind_table): Use get_program_headers.
313 (process_corefile_note_segments): Likewise.
314 (offset_from_vma): New function.
315 (process_relocs, process_dynamic_segment): Call that instead of
316 subtracting `loadaddr'.
317 (process_version_sections, process_symbol_table): Likewise.
318 (process_mips_specific): Likewise.
319
ed1653a7
NC
3202003-06-26 Nick Clifton <nickc@redhat.com>
321
322 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
323 (OPTION_ONLY_KEEP_DEBUG): New.
324 (strip_options): Add --only-keep-debug.
325 (copy_options): Likewise.
326 (is_strip_section): Invert return value if STRIP_NONDEBUG is
327 active.
328 (copy_object): Do not copy private data when STRIP_NONDEBUG is
329 active.
330 (setup_section): Likewise.
331 (strip_main): Handle --only-keep-debug.
332 (copy_main): Likewise.
333 * NEWS: Mention new switch
334 * doc/binutils.texi: Document new switch.
335
1049f94e
AM
3362003-06-25 Alan Modra <amodra@bigpond.net.au>
337
338 * NEWS: Correct spelling of "relocatable".
339 * objdump.c: Likewise.
340 * sysroff.info: Likewise.
341
b19aac67
NC
3422003-06-19 Nick Clifton <nickc@redhat.com>
343
344 * readelf.c (print_vma): When printing DEC_5 values, if the
345 number is bigger than 99999 switch to using hexadecimal
346 notation.
347
2593f09a
NC
3482003-06-11 Nick Clifton <nickc@redhat.com>
349
350 * objcopy.c (gnu_debuglink_filename): New variable.
351 (OPTION_ADD_GNU_DEBUGLINK): New switch
352 (copy_options): Describe --add-gnu-debuglink switch.
353 Mention that --strip-debug removes sections as well.
354 (is_strip_section): Process the sections removed and kept
355 lists before checking for debugging sections.
356 (add_redefine_syms_file): Make function static.
357 (copy_object): Use is_strip_section.
358 Check to see if a .gnu_debuglink section should be added. If
359 so, call bfd_add_gnu_debuglink.
360 (setup_section): Use is_strip_section.
361 (copy_section): Use is_strip_section.
362 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
363 * NEWS: Mention new objcopy switch.
364 * doc/binutils.texi: Document new switch.
365
3b443373
L
3662003-06-11 H.J. Lu <hongjiu.lu@intel.com>
367
368 * po/Make-in (DESTDIR): New.
369 (install-data-yes): Support $(DESTDIR).
370 (uninstall): Likewise.
371
795bb480
AM
3722003-06-11 Alan Modra <amodra@bigpond.net.au>
373
374 * Makefile.in: Regenerate.
375
9ee5e499
JJ
3762003-05-23 Jakub Jelinek <jakub@redhat.com>
377
378 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
379
a3b6428f
NC
3802003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
381
382 * NEWS: Document the new BSD/POSIX single-character mapping for
383 .comment/.note sections.
384
92991082
JT
3852003-06-02 Chris Demetriou <cgd@broadcom.com>
386 Jason Thorpe <thorpej@wasabisystems.com>
387
388 * objcopy.c (redefine_list_append): Add an argument that
389 indicates the context from which this function is being
390 called. Change all callers.
391 (copy_options): Add a new option, --redefine-syms.
392 (copy_usage): Document new option.
393 (copy_main): Handle the --redefine-syms option.
394 * doc/binutils.text (objcopy): Document new option.
395
38fafa6d
RH
3962003-05-31 Richard Henderson <rth@redhat.com>
397
398 * readelf.c (byte_get_signed): New.
399 (get_encoded_value): New.
400 (display_debug_frames): Use it. Always pre-process opcodes.
401
636fc387
ML
4022003-05-20 Michal Ludvig <mludvig@suse.cz>
403
404 * readelf.c (display_debug_frames): Print both registers
405 for DW_CFA_register.
406
80c7c40a
NC
4072003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
408
409 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
410 i[3-7]86-*-interix.
411 * configure.in: Regenerate.
412
0fcdcb91
NC
4132003-05-13 Michael Eager <eager@mvista.com>
414
415 * objcopy.c: Treat identical src/dst file names as if only one
416 entered. One Windows creating an output file of the same name as
417 the input file will delete the input file before it is read.
418
7ab5f2ed
NC
4192003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
420
421 * debug.c (debug_get_real_type): Extend test for circular debug
422 references.
423
3c92310f
NC
4242003-05-12 Nick Clifton <nickc@redhat.com>
425
426 * configure.in (ALL_LINGUAS): Add zh_CN.
427 * configure: Regenerate.
428 * po/zh_CN.po: New file: Chinese (simplified) translation.
429
d68c07bb
JE
4302003-05-11 Jason Eckhardt <jle@rice.edu>
431
432 * MAINTAINERS: Update my mail address.
433
8beeaeb7
L
4342003-05-07 H.J. Lu <hongjiu.lu@intel.com>
435
436 * readelf.c (dump_relocations): Enlarge the type field in wide
437 mode by one character.
438
63044634
RH
4392003-05-03 Richard Henderson <rth@redhat.com>
440
441 * readelf.c (struct Frame_Chunk): Add cfa_exp.
442 (frame_display_row): Just print "exp" for cfa or register
443 defined by a location expression.
444 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
445 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
446
6e50c90c
L
4472003-04-30 H.J. Lu <hjl@gnu.org>
448
449 * objdump.c (only): Change it to char **.
450 (only_size): New.
451 (only_used): New.
452 (disassemble_data): Check only as an array.
453 (dump_data): Likewise.
454 (dump_relocs): Likewise.
455 (main): Treat only as an array.
456
edbedb71
NC
4572003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
458
459 * doc/binutils.texi: Fix the documentation for the -fo option.
460
3f7de0e7
NC
4612003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
462
ef230218
JR
463 * readelf.c (get_machine_name) <EM_SH>: Amend return value
464 to refer to SuperH.
465
3f7de0e7
NC
466 * readelf.c (decode_location_expression): Don't add a trailing ';'.
467
32df8966
NC
4682003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
469 Nick Clifton <nickc@redhat.com>
470
471 * windres.c (long_options): Move close to main, where it is used.
472 Add 'input' and 'output' long options.
473 (main): Accept "-fo" as an alias for "-o". This is for rc
474 comptibility.
475 * doc/binutils.texi: Mention that -fo is accepted as an alias for
476 -o, but discourage its use.
477
85eb5110
NC
4782003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
479
480 * windres.c (format_from_name): Make the exit on error
481 behaviour optional.
482 (main): Rename the -I option to -J. Introduce -I as a synonym
483 for --include-dir. For backwards compatibility also support the
484 old -I behaviour, but issue a deprecation warning.
485 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
486 of the -I option.
487
26597c86
NC
4882003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
489
490 * readelf.c: Replace references to Mitsubishi M32R with
491 references to Renesas M32R.
492
c2dcd04e
NC
4932003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
494
495 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
496
c1124b23
AO
4972003-04-09 Alexandre Oliva <aoliva@redhat.com>
498
499 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
500 for debugging information types not supported by objdump.
501
e5076347
AM
5022003-04-09 Bernd Jendrissek <berndj@prism.co.za>
503
504 * configure.in: Recognize canonical form of i[3-6]86-pe*.
505 * configure: Regenerate.
506
adab8cdc
AO
5072003-04-09 Alexandre Oliva <aoliva@redhat.com>
508
509 * readelf.c (display_debug_info): Apply RELA relocations on the
510 entire section.
511 (byte_put_little_endian, byte_put_big_endian): New functions.
512 (byte_put): New variable.
513 (get_file_header): Initialize it.
514
3077f5d8
NC
5152003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
516
517 * windres.c: Add -l for compatibility with wrc, and rc.
518 Use the short option as a key for long options that have
519 a synonymous short option.
520 * doc/binutils.texi: Added -l to the list of options.
521
29b058f1
NC
5222003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
523
3077f5d8
NC
524 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
525 (main): Just pass the -U option down to the preprocessor.
526 * doc/binutils.texi: Added -U to the list of options.
29b058f1 527
3126d709
CF
5282003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
529
530 * windres.c (usage): Report -r option.
531 (main): Ignore the -r option.
532 * doc/binutils.texi: Add -r to the list of options.
533
c46ac711
BW
5342003-04-01 Bob Wilson <bob.wilson@acm.org>
535
536 * MAINTAINERS: Add myself as Xtensa maintainer.
537
88da6820
NC
5382003-04-01 Bob Wilson <bob.wilson@acm.org>
539
3077f5d8
NC
540 * readelf.c: Include "elf/xtensa.h".
541 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
542 targets that use RELA relocations.
543 (dump_relocations): Call elf_xtensa_reloc_type for
544 EM_XTENSA and EM_XTENSA_OLD.
545 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 546
27a710e5
NC
5472003-04-01 Nick Clifton <nickc@redhat.com>
548
549 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
550 thumb-pe*, mcore-pe and mcore-*elf.
551 * configure: Regenerate.
552
335a1869
AO
5532003-03-31 Alexandre Oliva <aoliva@redhat.com>
554
555 * objdump.c (dump_data): Don't truncate the address to long; make
556 the width large enough, and uniform for all entries in a section.
557
566b0d53
L
5582003-03-31 H.J. Lu <hjl@gnu.org>
559
560 * readelf.c: Include "libiberty.h".
561 (dynamic_relocations): New.
562 (process_relocs): Properly handle dynamic relocation.
563 (process_dynamic_segment): Fill relocation elements in
564 dynamic_info.
565
ee42cf8c
NC
5662003-03-31 Kevin Buettner <kevinb@redhat.com>
567
568 * readelf.c (read_and_display_attr, read_and_display_attr_value):
569 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
570 all callers.
571 (display_debug_lines, display_debug_pubnames, display_debug_info)
572 (display_debug_aranges, display_debug_frames, read_and_display_attr)
573 (read_and_display_attr_value): Add 64-bit DWARF support.
574
7adbf450
NC
5752003-03-31 Ian Lance Taylor <ian@airs.com>
576
577 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
578 (optresid): Handle a resource id that can be a string or a number.
579 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
580 struct res_id.
581 (define_icon_control): Pass a struct res_id to define_control.
582 * windres.h (define_control): Change prototype.
583
06d86cf7
NC
5842003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
585
7c29036b
NC
586 * objcopy (OPTION_FORMATS_INFO): Define.
587 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
588 (copy_options): Likewise.
589 (strip_usage): Add "--info" to usage.
590 (copy_usage): Likewise.
591 (strip_main): Declare formats_info. Iniatilize it to FALSE.
592 Handle "info".
593 (copy_main). Likewise.
594 * doc/binutils.texi. Document the "--info" option for
595 objcopy/strip.
596 * NEWS: Mention the new command line switch.
597
06d86cf7
NC
598 * objdump.c (endian_string): Move to bucomm.c.
599 (display_info): Likewise.
600 (display_target_list): Likewise.
601 (display_info_table): Likewise.
602 (display_target_tables): Likewise.
603 (main): Assign the return value of display_info to exit_status.
604 * bucomm.c: Include bfdver.h and libbfd.h
605 (display_target_list): Call bfd_nonfatal instead of nonfatal and
606 return 0 on a non-fatal error, 1 on success.
607 (display_info_table): Likewise.
608 * bucomm.h (display_info): Provide a prototype.
609 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
610 libbfd.h.
611 * Makefile.in: Regenerate.
612
7adbf450 6132003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
614
615 * dlltool.c (gen_def_file): Put demangled name comments on
616 own line preceding export name.
617
98a91d6a
NC
6182003-03-17 Nick Clifton <nickc@redhat.com>
619
620 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
621 printf for emitting new lines.
622
06a30c77
NC
6232003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
624
625 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
626 the symbol's value when --size-sort is used, unless -S is used.
627 doc/binutils.texi (--size-sort): For non-bsd formats both the
628 value and size of the symbols are displayed.
629
ab829d36
NC
6302003-03-13 Nick Clifton <nickc@redhat.com>
631
632 * po/da.po: Update.
633
634847c9
NC
6342003-03-12 Nick Clifton <nickc@redhat.com>
635
636 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
637
3889f9eb
BE
6382003-03-10 Ben Elliston <bje@wasabisystems.com>
639
640 * MAINTAINERS: Update my mail address.
641
7eb5191a
NC
6422003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
643
644 * stabs.c (BYTES_IN_WORD): Remove definition.
645 * wrstabs.c (BYTES_IN_WORD): Likewise.
646
e3b83c8f
NC
6472003-03-04 Nick Clifton <nickc@redhat.com>
648
649 * nm.c (main): Print a warning message if --size-sort and
650 --undefined-only are used together.
651
6522003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
653
654 * nm.c (print_symbol): Remove check for undefined_only.
655
a9d68a1e
NC
6562003-03-03 Nick Clifton <nickc@redhat.com>
657
658 * po/da.po: Installed latest translation.
659
a99996bb
NC
6602003-02-24 Nick Clifton <nickc@redhat.com>
661
662 * README: Update binutils references to 2.13.
663 Add paragraph about using --disable-nls.
664
76ed1927
NC
6652003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
666
667 * doc/binutils.texi (nm --size-sort): Update.
668
0100f33b
JW
6692003-02-21 James E Wilson <wilson@tuliptree.org>
670
671 * MAINTAINERS: Update email address.
672
ecc51f48
NC
6732003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
674
675 * readelf.c (get_ia64_dynamic_type): New function.
676 (dynamic_segment_ia64_val): New function.
677 (get_dynamic_type): If machine type is EM_IA_64 call
678 get_ia64_dynamic_val.
679 (get_ia64_section_type_name): Handle sections with types in the
680 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
681 (get_dynamic_flags): If machine type is EM_IA_64 call
682 dynamic_segment_ia64_val.
683
947ed062
NC
6842003-02-21 Bob Wilson <bob.wilson@acm.org>
685
686 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
687 section title capitalization more consistent. Update descriptions
688 of various options to be consistent with the code. Fix errors and
689 incomplete list in the description of c++filt format options. Remove
690 information about the linker. Change to be more polite about poor
691 bug reports. Replace FDL appendix with include of fdl.texi.
692 * doc/fdl.texi: New file.
693
66491ebc
AM
6942003-02-21 Roger Sayle <roger@eyesopen.com>
695
696 * objcopy.c (filter_symbols): Fix compilation problems with
697 HP-UX's C compiler.
698
0e11a9e9
CF
6992003-02-19 Christopher Faylor <cgf@redhat.com>
700
701 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
702 previous change.
703
6e5f5201
CF
7042003-02-19 Mark Blackburn <marklist@fangorn.ca>
705
0e11a9e9 706 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 707
f0c8c24a
NC
7082003-02-12 Bob Wilson <bob.wilson@acm.org>
709
710 * nm.c (usage): Add `java' and `gnat' demangle styles and make
711 quotes consistent.
712 * objdump.c (usage): Ditto. Also fix some typos.
713
d3c543fd
NC
714 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
715
fe2c4142
NC
716 * debug.c (debug_record_variable): Handle global register variables.
717
6de15b9e
NC
718 * stabs.c (parse_stab): For N_SLINE only include
719 function_start_offset if the symbol is within a function;
720 otherwise, the value is absolute.
721
fde78edd
NC
7222003-02-10 Nick Clifton <nickc@redhat.com>
723
724 * readelf.c (decode_ARM_machine_flags): Handle the
725 EF_ARM_MAVERICK_FLOAT flag.
726
22d82235
AS
7272003-02-04 Andreas Schwab <schwab@suse.de>
728
729 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
730 long and use %ld in printf format.
731
1a677ea8
RS
7322003-01-28 Richard Sandiford <rsandifo@redhat.com>
733
734 * readelf.c (dump_relocations): Reorder the r_info field for
735 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
736
8dde85fc
NC
7372003-01-21 Daniel Berlin <dan@dberlin.org>
738
739 * readelf.c (display_debug_loc): Skip address base changes.
740
c6f8bb1e
AM
7412003-01-17 Fabio Alemagna <falemagn@aros.org>
742
743 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
744 and ELFOSABI_NSK.
745
c833c019
AM
7462003-01-16 Alan Modra <amodra@bigpond.net.au>
747
748 * readelf.c: Include elf/ppc64.h.
749 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
750 * Makefile.am: Run "make dep-am".
751 * Makefile.in: Regenerate.
752
3b36097d
SC
7532003-01-02 Ben Elliston <bje@redhat.com>
754
755 * readelf.c (guess_is_rela): Handle EM_IQ2000.
756 (get_machine_name): Likewise.
757 (dump_relocations): Likewise.
758 * NEWS: Mention IQ2000 support.
759
cb44e358
RS
7602003-01-02 Richard Sandiford <rsandifo@redhat.com>
761
762 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
763
af7ee8bf
CD
7642002-12-30 Chris Demetriou <cgd@broadcom.com>
765
766 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
767 changes in MIPS -M options.
768
2469cfa2
NC
7692002-12-30 Dmitry Diky <diwil@mail.ru>
770
771 * Makefile.am: Add msp430 target.
772 * Makefile.in: Regenerate.
773 * readelf.c: Add support for msp430 target.
774
640c0ccd
CD
7752002-12-27 Chris Demetriou <cgd@broadcom.com>
776
777 * doc/binutils.texi (objdump): Document MIPS -M options.
778
59f14fc0
AS
7792002-12-23 Andreas Schwab <schwab@suse.de>
780
781 * readelf.c (main): Reset dump request after each file.
782
312b768e
NC
7832002-12-23 Nick Clifton <nickc@redhat.com>
784
785 * nlmconv.c (main): Pass TRUE as third argument to
786 bfd_arch_get_compatible.
787
8745eafa
NC
7882002-12-23 Nick Clifton <nickc@redhat.com>
789
790 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
791 macro. Handle 'S' encoding, accepting 8-bit characters.
792 (main): Parse 'S' encoding.
793 (get_char): Accept 'S' encoding.
794 (print_strings): Use STRING_ISGRAPHIC.
795 (usage): Document support of 'S' encoding.
796 * doc/binutils.texi: Document support of 'S' encoding/
797 * NEWS: Mention new feature.
798
08213ebb
AM
7992002-12-20 Alan Modra <amodra@bigpond.net.au>
800
801 * README <building ar>: Don't use libibery's needed_list or
802 required_list, instead link libiberty/*.o.
803
b9e5d8e5
KH
8042002-12-19 Kazu Hirata <kazu@cs.umass.edu>
805
806 * doc/binutils.texi: Fix typos.
807
c51238bc
DA
8082002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
809
810 * doc/binutils.texi: Add missing parenthesis.
811
d7fb0dd2
NC
8122002-12-15 Nick Kelsey <nickk@ubicom.com>
813
814 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
815 symbols by adding the given prefix to the begining of the symbol
816 name. This is useful to provide name space seperation regardless
817 of how the object file was created. Added --prefix-sections=
818 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
819 sections (or all sections with the alloc flag set) by adding the given
820 prefix to the begining of the symbol name.
821 * NEWS: Mention this new feature.
822 * doc/binutils.texi: Document this new feature.
823
55b9cdf1
AM
8242002-12-13 Alan Modra <amodra@bigpond.net.au>
825
826 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
827 dyn_string_append with dyn_string_append_cstr.
828
829 * emul_aix.c (ar_emul_aix_create): Remove unused function.
830
84ad6ede
NC
8312002-12-10 James Cownie <jcownie@etnus.com>
832
833 * readelf.h (get_TAG_name, get_AT_name,
704afb58 834 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
835 DWARF2 spec.
836 * NEWS: Mention this new support.
837
7d036af2
AM
8382002-12-08 Alan Modra <amodra@bigpond.net.au>
839
840 * NEWS: Mention that bfd no longer declares a "boolean" type.
841
3e8bba36
AM
8422002-12-07 Alan Modra <amodra@bigpond.net.au>
843
844 * readelf.c (process_program_headers): When setting loadaddr, don't
845 assume segment size is 4k. Use p_align instead.
846 (loadaddr): Change from int to long.
847 (dynamic_addr, dynamic_info, version_info): Likewise.
848 (process_dynamic_segment <syminsz>): Likewise.
849 (process_dynamic_segment): Adjust print format string.
850 (rela_addr, rela_size): Delete.
851 (process_relocs): Formatting.
852
d070dab9
JW
8532002-12-05 Jim Wilson <wilson@redhat.com>
854
855 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
856 * configure: Regenerate.
857
45bcbdb1
ILT
8582002-12-04 Ian Lance Taylor <ian@airs.com>
859
860 * MAINTAINERS: Change e-mail address back to airs.com.
861
42ea8716
AH
8622002-12-04 Aldy Hernandez <aldyh@redhat.com>
863
864 * MAINTAINERS: Add self.
865
b34976b6
AM
8662002-11-30 Alan Modra <amodra@bigpond.net.au>
867
868 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
869 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
870 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
871 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
872 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
873 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
874 with TRUE/FALSE. Formatting.
875
c8286bd1
JJ
8762002-11-29 Jakub Jelinek <jakub@redhat.com>
877
878 * readelf.c Replace occurrences of Elf32_Internal_* and
879 Elf64_Internal_* with Elf_Internal_*.
880 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
881 Zero r_addend fields.
882 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
883 Elf_Internal_Rela.
884
92acdfaf
NC
8852002-11-23 Nick Clifton <nickc@redhat.com>
886
887 * size.c (usage): Fix typo describing switch for hex format.
888
48c5eb8a
SS
8892002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
890
891 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
892 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
893 testcase
894
2f62977e
NC
8952002-11-14 Nick Clifton <nickc@redhat.com>
896
897 * readelf.c (process_program_headers): Add comment about return
898 value. Ensure that 0 is returned if the headers are not loaded.
899 (process_file): If process_section_headers failed to load the
900 headers disable any tests that rely upon them. Similarly for
901 process_program_headers.
902
cd24c222
NC
9032002-11-12 Nick Clifton <nickc@redhat.com>
904
905 * po/da.po: Updated Danish translation.
906
f3931575
AM
9072002-11-12 Klee Dienes <kdienes@apple.com>
908
909 * rddbg.c (read_section_stabs_debugging_info): Also recognize
910 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
911
b54e7460
CF
9122002-11-11 Christopher Faylor <cgf@redhat.com>
913
914 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
915 cgf maintainership.
916
4f17cc13
CF
9172002-11-11 Christopher Faylor <cgf@redhat.com>
918
919 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
920
232e7cb8
NC
9212002-11-07 Nick Clifton <nickc@redhat.com>
922
cd24c222 923 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
924 * configure: Regenerate.
925 * po/da.po: New Danish translation.
926
232e7cb8
NC
927 * readelf.c (get_symbol_index_type): Revert part of previous
928 patch: Display unknown symbol types in decimal, not hex.
929
c9e38879
NC
9302002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
931
932 * dlltool.c (add_excludes): Don't prefix excluded fastcall
933 symbols with underscore.
934 (xlate): Ignore add_underscore for decorated fastcall symbols.
935
9362002-11-07 Eric Kohl <ekohl@rz-online.de>
937
938 * deflex.l: Accept '@' as first character of an ID.
939 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
940 ASM_PREFIX for fastcall symbols.
941 (scan_drectve_symbols): Handle fastcall symbols when generating
942 undecorated aliases for symbols in drectve section.
943 (scan_filtered_symbols): Likewise, with export-all.
944 (xlate): Likewise, with --kill-at.
945 (make_imp_label): New function to handle fastcall symbols
946 correctly.
947 (make_one_lib_file): Use make_imp_label instead of make_label
948 for imp symbols.
949
a700dc3b
SS
9502002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
951
952 * MAINTAINERS: Add self as TIC4X maintainer.
953
5cf1065c
NC
9542002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
955
956 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
957 PROCESSOR-specific, OS-specific, reserved and unknown symbol
958 types.
5cf1065c 959
f1ef08cb
AM
9602002-11-04 Alan Modra <amodra@bigpond.net.au>
961
962 * readelf.c (byte_get_little_endian): Comment typo fix.
963 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
964 as the format string.
965 (dump_relocations): Correct section sym names.
966 (process_section_headers): Clear symtab_shndx_hdr.
967 (read_and_display_attr_value): Don't pass indirect string to printf
968 as the format string.
969 (display_debug_frames): Indicate when zero terminator found. Decode
970 DW_EH_PE_pcrel addresses.
971
1a09a22c
NC
9722002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
973
974 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
975 order to ensure proper disassembly of the valid 0-value opcode.
976 * configure: Regenerate.
977 * aclocal.m4: Regenerate.
978 * config.in: Regenerate.
979 * configure.in: Regenerate.
980 * doc/Makefile.in: Regenerate.
981 * po/binutils.pot: Regenerate.
982
c254c557
KK
9832002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
984
985 * MAINTAINERS: Add self as SH maintainer.
986
aefbdd67
BE
9872002-10-23 Ben Elliston <bje@redhat.com>
988
989 * doc/binutils.texi (objdump): Document -z and move the entry for
990 --disassemble-zeroes to the end of the options section (for `z').
991
ab9bcc01
NC
9922002-10-21 Nick Clifton <nickc@redhat.com>
993
994 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
995
8ab56b6f
AM
9962002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
997
998 * objdump.c (dump_data): Correct addr_offset for opb != 1.
999
49c12576
AM
10002002-10-15 Alan Modra <amodra@bigpond.net.au>
1001
48417c1a
AM
1002 * bucomm.c (list_supported_targets): Use bfd_target_list.
1003
49c12576
AM
1004 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1005 other object errors in preference to bfd_core errors.
1006
6e1a7e9a
AM
10072002-10-14 Alan Modra <amodra@bigpond.net.au>
1008
1009 * Makefile.am: Run "make dep-am".
1010 * objdump.c: #include "bfdver.h".
1011 * version.c: Likewise.
1012 * Makefile.in: Regenerate.
1013 * config.in: Regenerate.
1014 * configure: Regenerate.
1015 * po/POTFILES.in: Regenerate.
1016
09fc3b02
DJ
10172002-10-09 Daniel Jacobowitz <drow@mvista.com>
1018
1019 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1020 sections. Allow relocations against the absolute symbol. Don't
1021 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 1022 relocation.
09fc3b02 1023
f309035a
NC
10242002-10-07 Gordon Chaffee <chaffee@netvmg.com>
1025
1026 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1027 ordinary ones are available.
1028
810dfa6e
L
10292002-09-30 H.J. Lu <hjl@gnu.org>
1030
1031 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1032 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1033
bb279dc0
ZW
10342002-09-17 Zack Weinberg <zack@codesourcery.com>
1035
1036 * Makefile.am (CFILES): Add cxxfilt.c.
1037 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1038 (cxxfilt_LDADD): Delete.
1039 Remove all references to underscore.c.
1040 Regen dependencies.
1041 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1042 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1043 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1044 adjustments to fit into binutils framework.
1045 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1046
065c959b
NC
10472002-09-12 Roland McGrath <roland@redhat.com>
1048
1049 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1050 Handle DW_OP_GNU_push_tls_address.
1051
e09f4395
NC
10522002-09-11 Nick Clifton <nickc@redhat.com>
1053
1054 * po/tr.po: Updated Turkish translation.
1055
873e0588
NC
10562002-09-10 Nick Clifton <nickc@redhat.com>
1057
1058 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1059 testsuite changes. Add paragraphs about testsuite and config
1060 patches.
1061
069fe61f
NC
10622002-08-29 Nick Clifton <nickc@redhat.com>
1063
1064 * readelf.c (get_machine_flags): Remove redundant reference to
1065 E_V850EA_ARCH.
1066
fe0507eb
AM
10672002-08-28 Alan Modra <amodra@bigpond.net.au>
1068
1069 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1070 last commit.
1071
026df7c5
NC
10722002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1073
bb279dc0 1074 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
1075 (dump_bfd_header): Likewise.
1076
68a4c073
AM
10772002-08-27 Alan Modra <amodra@bigpond.net.au>
1078
1079 * nm.c: Revert last change.
1080
a1df01d1
AM
10812002-08-26 Alan Modra <amodra@bigpond.net.au>
1082
1083 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1084 * objdump.c (slurp_symtab): Likewise.
1085 (slurp_dynamic_symtab): Likewise.
1086 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1087
a926ab2f
GK
10882002-08-24 Geoffrey Keating <geoffk@redhat.com>
1089
1090 * MAINTAINERS: Change my mailing address.
1091
fcf62380
DA
10922002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1093
1094 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1095
51e28791
NC
10962002-08-22 Nick Clifton <nickc@redhat.com>
1097
1098 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1099 HPPA.
1100
c5b060ad
AM
11012002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1102
1103 * readelf.c (parse_args): Change debug_dump_opt to static.
1104
4b73ca92
NC
11052002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
1106
1107 * stabs.c (parse_stab_argtype): Pass length of physname to
1108 stab_demangle_argtypes.
1109 (stab_demangle_argtypes): Add new parameter - length of physname.
1110 Pass length of physname on to stab_demangle_prefix.
1111 (stab_demangle_prefix): Add new parameter - length of physname.
1112 Use length of physname (if supplied) to compute end of function
1113 name.
1114
35b1837e
AM
11152002-08-15 Alan Modra <amodra@bigpond.net.au>
1116
1117 * readelf.c: Include elf/i370.h.
1118 (dump_relocations): Handle EM_S370.
1119 (dynamic_segment_parisc_val): Print \n.
1120 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1121
762baac5
NC
11222002-08-14 Nick Clifton <nickc@redhat.com>
1123
1124 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1125 * objdump.c (usage): Likewise.
1126 * doc/binutils.texi: Likewise.
1127
85c09e8a
NC
11282002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
1129
1130 * rcparse.y (acc_entry): Don't warn about ALT use with
1131 non-VIRTKEY.
1132
212a3c4d
L
11332002-08-13 H.J. Lu <hjl@gnu.org>
1134
1135 * objcopy.c (copy_object): Don't warn about the unsupported
1136 architecture unless the input target is defaulted or the
1137 output architecture is different from the input.
1138
2b692c59
NC
11392002-08-09 Nick Clifton <nickc@redhat.com>
1140
1141 * po/sv.po: Updated Swedish translation.
1142
09de7a73
AM
11432002-08-05 Alan Modra <amodra@bigpond.net.au>
1144
1145 * prdbg.c (pr_fix_visibility): Remove assert.
1146
47badb7b
NC
11472002-07-31 Nick Clifton <nickc@redhat.com>
1148
1149 * addr2line.c (process_file): Rename parameter 'filename' to
1150 'file_name' in order to avoid shadowing global symbol of the
1151 same name.
1152 (main): Likewise.
1153
2979dc34
JJ
11542002-07-30 Jakub Jelinek <jakub@redhat.com>
1155
1156 * readelf.c (OPTION_DEBUG_DUMP): Define.
1157 (options): Use it.
1158 (usage): Update help.
1159 (parse_args): Handle --debug-dump separately from -w.
1160 * doc/binutils.texi (readelf): Update documentation.
1161
219576a4
NC
11622002-07-25 Nick Clifton <nickc@redhat.com>
1163
1164 * po/es.po: Updated Spanish translation.
1165 * po/fr.po: Updated French translation.
1166
bf4f22e6 11672002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 1168
bf4f22e6
NC
1169 * po/es.po: Updated Spanish translation.
1170
c5b3a82a
AM
11712002-07-23 Alan Modra <amodra@bigpond.net.au>
1172
1173 * Makefile.am: Run "make dep-am".
1174 * Makefile.in: Regenerate.
1175
0461a601
NC
11762002-07-23 Nick Clifton <nickc@redhat.com>
1177
bf4f22e6 1178 * po/fr.po: Updated French translation.
0461a601 1179
bf44dd74
AM
11802002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
1181
1182 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1183
2c205ff2
AM
11842002-07-20 Alan Modra <amodra@bigpond.net.au>
1185
63eb0809 1186 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 1187
1e4cf259
NC
11882002-07-18 Denis Chertykov <denisc@overta.ru>
1189 Frank Ch. Eigler <fche@redhat.com>
1190
1191 * readelf.c: Include "elf/ip2k.h".
1192 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1193 (dump_relocations): Likewise.
1194 (get_machine_name): Likewise.
1195 * NEWS: Mention IP2K support.
1196
2cbb2eef
NC
11972002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1198
1199 * NEWS: Add 'Changes in 2.13'.
1200
047b2264
JJ
12012002-07-10 Jakub Jelinek <jakub@redhat.com>
1202
1203 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1204 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1205 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1206 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1207 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1208 (process_gnu_liblist): New.
1209 (process_file): Call it.
1210
97230b15
AM
12112002-07-03 Alan Modra <amodra@bigpond.net.au>
1212
1213 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1214 * Makefile.in: Regenerate.
1215
a6637ec0
AM
12162002-07-02 Alan Modra <amodra@bigpond.net.au>
1217
1218 * budemang.c: New file, "demangle" function.
1219 * budemang.h: New file.
1220 * addr2line.c (translate_addresses): Use "demangle".
1221 * nm.c (print_symname): Likewise.
1222 * objdump.c (objdump_print_symname): Likewise.
1223 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1224 here since that obfuscates.
1225 * rdcoff.c: Don't #include demangle.h.
1226 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1227 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1228 (HFILES): Add budemang.h. Sort.
1229 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1230 Run "make dep-am".
1231 * Makefile.in: Regenerate.
1232
179d3252
JT
12332002-07-01 Matt Thomas <matt@3am-software.com>
1234
1235 * readelf.c: Include "elf/vax.h".
1236 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1237 (dump_relocations): Handle VAX relocations.
1238 (get_machine_flags): Handle VAX machine flags.
1239
75751cd9
SC
12402002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1241
1242 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1243
e5851ab8
NC
12442002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1245
1246 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1247
eb3f2f5c
AM
12482002-06-26 Alan Modra <amodra@bigpond.net.au>
1249
1250 * nm.c (print_symname): When demangling, strip leading dots from
1251 symbol names to avoid confusing the demangler.
1252
a13a0de8
L
12532002-06-25 H.J. Lu <hjl@gnu.org>
1254
1255 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1256 * Makefile.in: Regenerated.
1257
6db7a086
AM
12582002-06-21 Igor Schein <igor@txc.com>
1259
1260 * configure.in: Quote bu_cv_have_fopen64.
1261 * configure: Regenerate.
1262
9710509e
AM
12632002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
1264
1265 * configure.in: Check for strcoll.
1266 * configure: Regenerate.
1267 * config.in: Regenerate.
1268 * nm.c (main): Set locale for LC_COLLATE category.
1269 (non_numeric_forward): Use strcoll if available.
1270
a9f0b5e7
DB
12712002-06-20 Dave Brolley <brolley@redhat.com>
1272
1273 * MAINTAINERS: Add self as fr30 and frv maintainer.
1274
33f5f537
L
12752002-06-18 H.J. Lu (hjl@gnu.org)
1276
1277 * nm.c: Include "elf/common.h".
1278 (extended_symbol_info): Add elfinfo, a pointer to
1279 elf_symbol_type.
1280 (SYM_SIZE): Use elfinfo if it is not NULL.
1281 (get_symbol_type): New function.
1282 (display_archive): Set print_width for each archive member.
1283 (display_file): Likewise.
1284 (display_rel_file): Don't set print_width here.
1285 (print_object_filename_sysv): Handle print_width.
1286 (print_archive_member_sysv): Likewise.
1287 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1288 (print_symbol): Set the elfinfo field in extended_symbol_info
1289 for ELF.
1290 (print_object_filename_sysv): Fix the output format.
1291 (print_symbol_info_sysv): Print type and section for ELF.
1292
12932002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
1294
1295 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 1296 the symbol's size equal to its value when --size-sort is
33f5f537
L
1297 used.
1298
5c70f934
DB
12992002-06-18 Dave Brolley <brolley@redhat.com>
1300
1301 From Catherine Moore:
1302 * readelf.c (elf/frv.h): #include it.
1303 (guess_is_rela): Support EM_CYGNUS_FRV.
1304 (dump_relocations): Ditto.
1305 (get_machine_name): Ditto.
1306 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1307
7ece0d85
JJ
13082002-06-18 Jakub Jelinek <jakub@redhat.com>
1309
1310 * readelf.c (get_file_header): Only read the first section header if
1311 e_shoff is non-zero.
1312
72797995
L
13132002-06-15 H.J. Lu (hjl@gnu.org)
1314
1315 * nm.c (print_size): New variable. Initialize to 0.
1316 (long_options): Add 'S'/"print-size".
1317 (main): Handle 'S'.
1318 (print_symbol_info_bsd): Print size only if print_size is not
1319 0.
1320
1321 * doc/binutils.texi: Document -S/--print-size.
1322
977f7911
NC
13232002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
1324
1325 * nm.c (struct extended_symbol_info): New strcuture: Add the size
1326 of the symbols to the information provided by the symbol_info
1327 structure.
1328 (print_symbols): Pass the symbol size to print_symbol.
1329 (print_size_symbols): Pass the symbol size to print_symbol.
1330 (print_symbol): Extra argument: The size of the symbol. Store
1331 this in the extended_symbol_info structure.
1332 (print_symbol_info): Change type of info parameter to
1333 extended_symbol_info. Display the size, if known.
1334 (print_symbol_info_posix): Likewise.
1335 (print_symbol_info_sysv): Likewise.
1336
b1f88ebe
AM
13372002-06-08 Alan Modra <amodra@bigpond.net.au>
1338
fa449227
AM
1339 * Makefile.am: Run "make dep-am".
1340 * Makefile.in: Regenerate.
1341 * doc/Makefile.in: Regnerate.
1342
b1f88ebe
AM
1343 * bucomm.c: Replace CONST with const.
1344 * nm.c: Likewise.
1345 * objdump.c: Likewise.
1346
91a106e6
L
13472002-06-07 H.J. Lu <hjl@gnu.org>
1348
1349 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1350 (DW_CFA_GNU_negative_offset_extended): Likewise.
1351 (DW_CFA_GNU_window_save): Likewise.
1352 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1353 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1354
6ab6b380 13552002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 1356
6ab6b380
NC
1357 * nm.c: When computing size of symbols for an ELF target use the
1358 internal size field.
1359
e28e05a3
JL
13602002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1361
1362 * testsuite/binutils-all/objcopy.exp: clear xfail for
1363 "hppa*64*-*-hpux*".
1364 * testsuite/binutils-all/hppa/objdump.exp: Return if
1365 "*64*-*-*".
1366
dc156bc0
AM
13672002-06-05 Alan Modra <amodra@bigpond.net.au>
1368
1369 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1370
13712002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
1372
1373 * objdump.c: Fix formatting.
1374
d79e4ea3
BE
13752002-05-29 Ben Elliston <bje@redhat.com>
1376
1377 * MAINTAINERS: Add self as M68k maintainer.
1378
d172d4ba
NC
13792002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1380
1381 * readelf.c: Modified/Added DLX elf support.
1382
7edb8f29
NC
13832002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1384
3a1a2036
NC
1385 * arsup.c: Fix formatting.
1386 * debug.c (debug_record_label): Add missing colon to error
1387 message.
1388 * ieee.c (parse_ieee_ty): Fix spelling typo.
1389 * readelf.c (process_program_headers): Remove English assumption
1390 about making a plural word.
1391 (process_section_headers): Likewise.
1392 (process_relocs): Allow quotes to be translated.
1393 (process_unwind): Likewise,
1394 (process_mips_specific): Improve error message.
1395 (get_note_type): Fix spelling typo.
1396
7edb8f29
NC
1397 * configure.in (ALL_LINGUAS): Add sv
1398 * po/sv.po: New file.
1399
3eee1e9d
AM
14002002-05-27 Alan Modra <amodra@bigpond.net.au>
1401
1402 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1403 (unw_print_grmask): Likewise.
1404 (unw_print_frmask): Likewise.
1405
d43efbe3
KH
14062002-05-26 Kazu Hirata <kazu@cs.umass.edu>
1407
1408 * arsup.c: Remove ARGSUSED.
1409 * debug.c: Likewise.
1410 * ieee.c: Likewise.
1411 * nlmconv.c: Likewise.
1412 * prdbg.c: Likewise.
1413 * stabs.c: Likewise.
1414 * wrstabs.c: Likewise.
1415
e9792343
AM
14162002-05-25 Alan Modra <amodra@bigpond.net.au>
1417
1418 * arlex.l: Use #include "" instead of <> for local header files.
1419 * coffdump.c: Likewise.
1420 * coffgrok.c: Likewise.
1421 * nlmconv.c: Likewise.
1422 * nlmheader.y: Likewise.
1423 * srconv.c: Likewise.
1424 * strings.c: Likewise.
1425 * sysdump.c: Likewise.
1426 * unwind-ia64.h: Likewise.
1427 * windres.h: Likewise.
1428 * winduni.h: Likewise.
1429
d7e53452
TR
14302002-05-24 Tom Rix <trix@redhat.com>
1431
1432 * MAINTAINERS: Add self as the d10v maintainer.
1433
436e8db0
NC
14342002-05-24 TAMURA Kent <kent@netbsd.org>
1435
1436 * configure.in: Builds dlltool for i386-netbsdpe.
1437 * configure: Regenerate.
1438
9f66665a
KH
14392002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1440
1441 * size.c: Fix formatting.
1442 * srconv.c: Likewise.
1443 * stabs.c: Likewise.
1444 * sysdump.c: Likewise.
1445 * unwind-ia64.c: Likewise.
1446 * wrstabs.c: Likewise.
1447
13ae64f3
JJ
14482002-05-23 Jakub Jelinek <jakub@redhat.com>
1449
1450 * readelf.c (get_segment_type): Add PT_TLS.
1451 (get_elf_section_flags): Add SHF_TLS.
1452 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1453 (process_dynamic_segment): Use puts instead of printf.
1454 (get_symbol_type): Support STT_TLS.
1455 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1456 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1457 Add SEC_THREAD_LOCAL.
1458
53c7db4b
KH
14592002-05-23 Kazu Hirata <kazu@cs.umass.edu>
1460
1461 * rdcoff.c: Fix formatting.
1462 * rddbg.c: Likewise.
1463 * readelf.c: Likewise.
1464 * rename.c: Likewise.
1465 * resbin.c: Likewise.
1466 * resrc.c: Likewise.
1467 * resres.c: Likewise.
1468
0af11b59
KH
14692002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1470
1471 * filemode.c: Fix formatting.
1472 * ieee.c: Likewise.
1473 * is-ranlib.c: Likewise.
1474 * is-strip.c: Likewise.
1475 * maybe-ranlib.c: Likewise.
1476 * maybe-strip.c: Likewise.
1477 * nlmconv.c: Likewise.
1478 * nm.c: Likewise.
1479 * not-ranlib.c: Likewise.
1480 * not-strip.c: Likewise.
1481 * objcopy.c: Likewise.
1482 * objdump.c: Likewise.
1483
21611032
TS
14842002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1485
1486 * objdump.c (dump_headers): Fix output formatting for ELF32
1487 architectures in a BFD64 enabled toolchain.
1488
26044998
KH
14892002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1490
1491 * debug.c: Fix formatting.
1492 * debug.h: Likewise.
1493 * dlltool.c: Likewise.
1494 * dllwrap.c: Likewise.
1495 * emul_aix.c: Likewise.
1496 * emul_vanilla.c: Likewise.
1497
f462a9ea
KH
14982002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1499
1500 * addr2line.c: Fix formatting.
1501 * ar.c: Likewise.
1502 * arsup.c: Likewise.
1503 * arsup.h: Likewise.
1504 * binemul.c: Likewise.
1505 * binemul.h: Likewise.
1506 * bucomm.c: Likewise.
1507 * coffdump.c: Likewise.
1508 * coffgrok.c: Likewise.
1509 * coffgrok.h: Likewise.
1510
e0159aa9
MM
15112002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1512
1513 * MAINTAINERS: Add myself as the second AVR port maintainer.
1514
074b403e
SC
15152002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1516
1517 * MAINTAINERS: Update my email address.
1518
2b9c8201
NC
15192002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1520
1521 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1522
e1d5b1e7
AM
15232002-05-09 Alan Modra <amodra@bigpond.net.au>
1524
1525 * configure.in: Replace `*pe' with `pe' throughout.
1526 * configure: Regenerate.
1527
d3d8a9ee
NC
15282002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1529
1530 * Makefile.am: Honour DESTDIR.
1531 * Makefile.in: Regenerate.
1532
405c98a4
AM
15332002-05-06 Alan Modra <amodra@bigpond.net.au>
1534
a02d5965
AM
1535 * dlltool.c (process_def_file): Add missing prototype.
1536 (new_directive, assemble_file, main): Likewise.
1537 (process_def_file, new_directive): Make static.
1538 (inform): Rewrite using VA_FIXEDARG.
1539 * dllwrap.c (mybasename): Add missing prototype.
1540 (strhash, main): Likewise.
1541 (inform): Rewrite using VA_FIXEDARG.
1542 (warn): Likewise.
1543 (cleanup_and_exit): Use old style function definition.
1544 (strhash): Likewise.
1545 * windres.c (define_resource): Use one memset to clear all of
1546 struct res_resource.
1547
405c98a4 1548 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1549 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1550
15512002-05-06 Borut Razem <borut.razem@siol.net>
1552
1553 * rclex.l (get_string): Correct "strings" list handling.
1554 * resrc.c (read_rc_file): Discard strings.
1555
91593c9d
AM
15562002-05-04 Alan Modra <amodra@bigpond.net.au>
1557
e58a75dc
AM
1558 * ar.c (replace_members): Remove unused var. Formatting fix.
1559 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1560
91593c9d
AM
1561 * MAINTAINERS: Sort port maintainers by CPU.
1562
6b52b824
AM
15632002-05-04 Bob Byrnes <byrnes@curl.com>
1564
1565 * size.c (display_archive): Add last_arfile and code to close archives.
1566
dd70071f
AM
15672002-05-01 Alan Modra <amodra@bigpond.net.au>
1568
1569 * nm.c (print_symbol): Check returned filename from
1570 bfd_find_nearest_line is non-NULL.
1571
6c95717a 15722002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1573
1574 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1575
3c25c5f6
NC
15762002-04-24 Christian Groessler <chris@groessler.org>
1577
1578 * MAINTAINERS: Changed my email address.
1579
944cd72c
TS
15802002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1581
1582 * arparse.y: Fix syntax warning.
1583
ea91f8bb
NC
15842002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1585
3e55a963
NC
1586 * readelf.c (fetch_location_list): Remove unused function.
1587
1588 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1589 and display a warning message, then exit the loop.
1590
ea91f8bb
NC
1591 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1592
45b99827
NC
15932002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1594
1595 * resrc.c (write_rc_dialog): If charset is non-default value
1596 display all of the DIALOGEX parameters.
1597
15982002-04-15 Eric Kohl <ekohl@rz-online.de>
1599
bb279dc0 1600 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1601 DIALOGEX resources.
1602 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1603 resource data.
bb279dc0 1604 (res_to_bin_dialog): Likewise.
45b99827
NC
1605 * windres.h: Added misssing charset variable to dialog_ex
1606 structure.
1607
acfbab8a
NC
16082002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1609
1610 * rcparse.y: Set MEMFLAG_PURE by default.
1611
df3baf66
NC
16122002-04-09 Bernd Herd <info@herdsoft.com>
1613
bb279dc0 1614 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1615 are quoted.
4c30641a 1616 Fix typo in BEDIT warning.
91eafb40 1617 Don't add default dialog style when explicit style specified.
b62a12ca 1618 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1619
b24eb5ac
NC
1620 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1621 (handle_quotes) "\a" escape (used for right justified key
1622 definitions in menus) is encodes as binary 8.
df3baf66 1623
b24eb5ac
NC
1624 * resrc.c (write_rc_dialog): Print style even if it is 0.
1625 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1626 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1627
b24eb5ac
NC
1628 * resbin.c (bin_to_res_dialog): Use signature to identify
1629 DIALOGEX.
f7d63484 1630
b24eb5ac 1631 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1632
df3baf66
NC
16332002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1634
1635 * resrc.c: print CLASS names in quotes
1636
16372002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1638
1639 * MAINTAINERS: Update my email address.
1640
8e42bcb6
AM
16412002-04-04 Alan Modra <amodra@bigpond.net.au>
1642
1643 * dep-in.sed: Cope with absolute paths.
1644 * Makefile.am (dep.sed): Subst TOPDIR.
1645 Run "make dep-am".
1646 * Makefile.in: Regenerate.
1647
96f959e5
PT
16482002-03-27 Peter Targett <peter.targett@arc.com>
1649
1650 * MAINTAINERS: Update my email address.
1651
1ea788ee
AM
16522002-03-21 Alan Modra <amodra@bigpond.net.au>
1653
1654 * Makefile.am: Run "make dep-am".
1655 * Makefile.in: Regenerate.
1656 * doc/Makefile.in: Regenerate.
1657 * po/POTFILES.in: Regenerate.
1658 * aclocal.m4: Regenerate.
1659 * config.in: Regenerate.
1660 * configure: Regenerate.
1661
a2f14207
DB
16622002-03-20 Daniel Berlin <dan@dberlin.org>
1663
1664 * readelf.c: Add support for displaying dwarf2 location lists.
1665 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1666 (parse_args): Use 'O' as shorthand for displaying location list
1667 section.
1668 (process_section_headers): Handle debug_loc as well.
1669 (load_debug_loc): New.
1670 (free_debug_loc): New.
1671 (fetch_location_list): New.
1672 (display_debug_loc): New.
1673 (display_debug_info): Call load_debug_loc and free_debug_loc.
1674 (debug_displays): We can display .debug_loc now, too.
1675 (usage): Update usage string.
1676 (read_and_display_attr_value): Note location lists, but don't
1677 display them inline.
1678
eb1e0e80
NC
16792002-03-18 Tom Rix <trix@redhat.com>
1680
1681 * Makefile.am: Add binutils emulation support.
1682 * configure.in: Same.
1683 * configure.tgt: New file. Same.
1684 * ar.c (main): Use ar_emul_parse_arg.
1685 (usage): Use ar_emul_usage.
1686 (replace_members): Use ar_emul_replace, ar_emul_append.
1687 * binemul.c: New file. Define the binutils emulation
1688 layer. Define default methods.
1689 * binemul.h: New file. Binutils emulation layer header file.
1690 * emul_aix.c: New file. AIX binutils emulation.
1691 * emul_vanilla.c: New file. Default binutils emulation.
1692 * Makefile.in: Regenerate.
1693 * configure: Same.
1694
a1c259a1
NC
16952002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1696
1697 * po/fr.po: Updated version.
1698
9ce88e60
NC
16992002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1700
1701 * po/fr.po: Updated version.
1702
effb0601
DJ
17032002-03-07 Daniel Jacobowitz <drow@mvista.com>
1704
1705 * README: Update some version numbers.
1706
a65688ab
DJ
17072002-03-07 Daniel Jacobowitz <drow@mvista.com>
1708
1709 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1710 (Architecture Selection): Likewise.
1711
f3f7fbb2
NC
17122002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1713
1714 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1715 generating .exp file.
1716
25345be5
NC
17172002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1718
1719 * readelf.c (dump_relocations): Fix typo.
1720
9a66911f
NC
17212002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1722
1723 * NEWS: Mark 2.12 branch.
1724
2c71103e
NC
17252002-02-18 Timothy Daly <remote_bob@yahoo.com>
1726
bb279dc0
ZW
1727 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1728 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1729 output.
bb279dc0 1730 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1731 to 'unrecognized'.
1732 (decode_ARM_machine_flags): Likewise.
1733 (parse_args): Likewise.
1734 (read_and_display_attr_value): Likewise.
1735 (display_debug_section): Likewise.
1736
49fda6c8
HPN
17372002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1738
1739 * NEWS: Mention support for MMIX.
1740
76f57f3a
JT
17412002-02-13 Matt Fredette <fredette@netbsd.org>
1742
1743 * readelf.c (get_machine_flags): Recognize EF_M68000.
1744
d36ca9c2
AO
17452002-02-12 Alexandre Oliva <aoliva@redhat.com>
1746
1747 * MAINTAINERS: Added self as MN10300 co-maintainer.
1748
19397422
AM
17492002-02-12 Alan Modra <amodra@bigpond.net.au>
1750
1751 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1752 DT_PPC64_OPDSZ.
1753
d434e574
DJ
17542002-02-11 Daniel Jacobowitz <drow@mvista.com>
1755
1756 * MAINTAINERS: List myself as branch maintainer.
1757
12b87c89
AM
17582002-02-11 Alan Modra <amodra@bigpond.net.au>
1759
1760 * configure: Regenerate.
1761 * objcopy.c: Update copyright date.
1762 * doc/Makefile.in: Regenerate.
1763
8d037c5c
DJ
17642002-02-10 Daniel Jacobowitz <drow@mvista.com>
1765
1766 * nlmconv.c: Back out localtime PARAMS change.
1767
4c168fa3
AM
17682002-02-11 Alan Modra <amodra@bigpond.net.au>
1769
1770 * objcopy.c (MKDIR): Define.
1771 (copy_archive): Make name_list.name const. Use MKDIR.
1772 Handle duplicate files in archives by making more temp dirs.
1773
408f8db1
DJ
17742002-02-10 Daniel Jacobowitz <drow@mvista.com>
1775
1776 * coffdump.c: Include "getopt.h" after "bucomm.h"
1777 so that macros are defined correctly.
1778 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1779 prototype. Prototype main.
1780 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1781
9f77fa06
AO
17822002-02-06 Alexandre Oliva <aoliva@redhat.com>
1783
1784 * MAINTAINERS: Added self as SH co-maintainer.
1785
82f6addb
NC
17862002-02-05 Nick Clifton <nickc@redhat.com>
1787
1788 * po/tr.po: Updated translation.
1789
ba323545
AM
17902002-02-01 Alan Modra <amodra@bigpond.net.au>
1791
1792 * Makefile.am: Run "make dep-am"
1793 * Makefile.in: Regenerate.
1794
3deb89d3
DJ
17952002-01-29 Daniel Jacobowitz <drow@mvista.com>
1796
1797 * nm.c (print_value): Mark abfd unused.
1798
a0e9c55f
DJ
17992002-01-29 Daniel Jacobowitz <drow@mvista.com>
1800
1801 * unwind-ia64.c (unw_decoder): Change second argument
1802 to unsigned int, to match function prototypes.
1803
d7a283d4
DJ
18042002-01-29 Daniel Jacobowitz <drow@mvista.com>
1805
1806 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1807 __GNU_LIBRARY__ will be defined.
1808 * size.c: Likewise.
1809
4867be41
DJ
18102002-01-27 Daniel Jacobowitz <drow@mvista.com>
1811
1812 * configure: Regenerated.
1813
7562a296
HPN
18142002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1815
1816 * doc/Makefile.am (install): Depend on install-info.
1817 * doc/Makefile.in: Regenerate.
1818
15c82623
NC
18192002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1820
1821 * objcopy.c (strip_usage): Document -d as an alias
1822 --strip-debug.
1823
1824 * size.c (usage): Document [-t | --totals] options.
1825 (long_options): Add --totals option.
1826 (main): If the [-t | --totals] option is specified and
1827 the output format is Berkeley-style, print the total
1828 text, data, and bss sizes of all objects listed.
1829 (print_berkeley_format): If the [-t | --totals] option
1830 is specified, track the total text, data, and bss
1831 sizes.
1832 * doc/binutils.texi (size): Document [-t | --totals] options.
1833 (strip): Document -d as an alias for --strip-debug.
1834 * NEWS: Mention new feature of size.
1835
00ea8601 18362002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1837
1ddbd152
NC
1838 * po/fr.po: Updated version.
1839 * po/es.po: Updated version.
b85cedd7 1840
8b53311e
NC
18412002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1842
1843 * addr2line.c (usage): Update text to provide verbose
1844 description of the command line options.
1845 * ar.c (usage): Update text to provide verbose
1846 description of the command line options.
1847 (main): Accept -h and -H when running as ranlib.
1848 * coffdump.c (show_usage): Update text to provide verbose
1849 description of the command line options.
1850 * dlltool.c (main): Accept -H as an alias for --help.
1851 * nlmconv.c (show_usage): Update text to provide verbose
1852 description of the command line options.
1853 * nm.c (usage): Replace OPTIONS with option(s).
1854 (main): Accept -H as an alias for --help.
1855 * objcopy.c (strip_main): Accept -H as an alias for --help.
1856 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1857 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1858 other binutils.
1859 * size.c (usage): Update text to provide verbose description
1860 of the command line options.
1861 (main): Accept -v, -h and -H as command line options.
1862 * srconv.c (show_usage): Update text to provide verbose
1863 description of the command line options.
1864 * strings.c (main): Accept -H and -v as command line options.
1865 (usage): Update text to provide verbose description of the
1866 command line options.
1867 * sysdump.c (show_usage): Update text to provide verbose
1868 description of the command line options.
1869 * windres.c (usage): Adjust format to match style used in
1870 other binutils.
1871
1872 * coffdump.c: Fix formatting.
1873 * nlmconv.c: Fix formatting.
1874 * srconv.c: Fix formatting.
1875 * sysdump.c: Fix formatting.
1876
c46f0c34
AM
18772002-01-22 Alan Modra <amodra@bigpond.net.au>
1878
1879 * Makefile.am: Run "make dep-am".
1880 * Makefile.in: Regenerate.
1881
2a538ba5
AJ
18822002-01-18 Andreas Jaeger <aj@suse.de>
1883
1884 * version.c (print_version): Update year.
1885
285d1771
AM
18862002-01-17 Alan Modra <amodra@bigpond.net.au>
1887
1888 * readelf.c (get_machine_name): Handle EM_PPC64.
1889 (guess_is_rela): Here too.
1890
328577ad
NC
18912002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1892
1893 * po/binutils.pot: Regenerate.
1894 * po/fr.po: Regenerate.
1895 * po/tr.po: Regenerate.
1896
af3ae48d
NC
18972002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1898
1899 * po/tr.po: Import new version.
1900
f1cb7e17
AM
19012002-01-16 Alan Modra <amodra@bigpond.net.au>
1902
1903 * readelf.c (get_ppc64_dynamic_type): New.
1904 (get_dynamic_type): Call it.
1905
6364e0b4
NC
19062002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1907
3ab9460d 1908 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1909 (strip_usage): Use "options" instead of "switches".
3ab9460d 1910 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1911 "switches".
6364e0b4 1912
3a7e524e
RE
19132002-01-14 Richard Earnshaw <rearnsha@arm.com>
1914
1915 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1916
1209e219
NC
19172001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1918
1919 * po/es.po: Import from translation project.
1920 * configure.in (ALL_LINGUAS): Add es.
1921 * configure: Regenerate.
1922
b4db1224
JT
19232002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1924
1925 * readelf.c (get_netbsd_elfcore_note_type): Use
1926 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1927
9437c45b
JT
19282002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1929
1930 * readelf.c: Update copyright years.
1931 (get_note_type): Return a const char *.
1932 (get_netbsd_elfcore_note_type): New function.
1933 (process_note): Use get_netbsd_elfcore_note_type to get
1934 the note type string for NetBSD ELF core files.
1935
00428cca
AM
19362002-01-06 Steve Ellcey <sje@cup.hp.com>
1937
1938 * readelf.c (get_ia64_segment_type): Add support for macros.
1939 (get_segment_type): Add support for IA64 specific macros.
1940
31104126
NC
19412001-12-20 Julian v. Bock <julian@wongr.net>
1942
1943 * readelf.c (print_symbol): New function: Print a formatted symbol
1944 name. If --wide is specified do not truncate it.
1945 (dump_relocations): Use print_symbol() to print symbol names.
1946 (process_symbol_table): Likewise.
1947 (process_syminfo): Likewise.
1948 (process_mips_specific): Likewise.
1949 (usage): Document new feature of --wide switch.
1950 * doc/binutils.texi (objdump): Document additional behaviour of
1951 --wide.
2a538ba5 1952
4dd67f29
MS
19532001-12-18 Michael Snyder <msnyder@redhat.com>
1954
1955 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1956 (copy_object): Don't set the start address or flags of a core file.
1957 (copy_section): Don't relocate a core file. Don't copy contents
1958 if the input section has the contents flag set, but the output
1959 section does not (which happens with the fake 'note' pseudo-
1960 sections that BFD creates for corefiles).
1961
43521d43
TS
19622001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1963
1964 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1965 ASE extensions. More robust code for ISA checking. Ignore empty fields
1966 in header flags for GNU extensions.
1967
b667df2e
AM
19682001-12-18 Alan Modra <amodra@bigpond.net.au>
1969
1970 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1971
17a5a5c3
NC
19722001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1973
1974 * po/ja.po: Import from translation project.
1975 * configure.in (ALL_LINGUAS): Add ja.
1976 * configure: Regenerate.
1977
65de42c0
TS
19782001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1979
1980 * addr2line.c (main): Protoype.
1981 * ar.c (main): Protoype.
1982 * nm.c (main): Protoype.
1983 * objcopy.c (main): Protoype.
1984 * objdump.c (main): Protoype.
1985 * size.c (main): Protoype.
1986 * strings.c (main): Protoype.
1987
9ad5cbcf
AM
19882001-12-17 Alan Modra <amodra@bigpond.net.au>
1989
1990 * readelf.c (symtab_shndx_hdr): New global.
1991 (SECTION_HEADER_INDEX): Define.
1992 (SECTION_HEADER_NUM): Define.
1993 (SECTION_HEADER): Define.
1994 (GET_ELF_SYMBOLS): Pass two params rather than three.
1995 (get_32bit_elf_symbols): Take file and section args. Read and
1996 use SHT_SYMTAB_SHNDX.
1997 (get_64bit_elf_symbols): Likewise.
1998 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1999 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
2000 Remember symtab_shdx_hdr.
2001 (process_program_headers): Scan from index 1 for segment map.
2002 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2003 "section_headers".
2004 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
2005 (process_unwind): Likewise.
2006 (process_version_sections): Likewise.
2007 (process_symbol_table): Likewise.
2008 (display_debug_info): Likewise.
2009 (process_dynamic_segment): Fake up a symtab section for changed
2010 GET_ELF_SYMBOLS.
2011 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2012 (process_program_headers): Kill signed/unsigned warning.
2013 (load_debug_str): Likewise.
2014 (display_debug_info): Likewise.
2015
65765700
JJ
20162001-12-13 Jakub Jelinek <jakub@redhat.com>
2017
2018 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2019
560f3c1c
AM
20202001-12-11 Alan Modra <amodra@bigpond.net.au>
2021
2022 * readelf.c (process_file_header): Print extended e_shnum and
2023 e_shdtrndx values. Set elf_header values for same.
2024 (get_32bit_section_headers): Add "num" arg to read "num" headers.
2025 (get_64bit_section_headers): Likewise.
2026 (process_section_headers): Update calls.
2027 (get_file_header): Call get_32bit_section_headers or 64bit variant.
2028
bc408b8a
JJ
20292001-12-10 Jakub Jelinek <jakub@redhat.com>
2030
2031 * objcopy.c (setup_section): Copy entsize.
2032
93fbbb04
GK
20332001-12-07 Geoffrey Keating <geoffk@redhat.com>
2034
2035 * readelf.c (guess_is_rela): Add support for stormy16.
2036 (dump_relocations): Likewise.
2037 (get_machine_name): Likewise.
2038
e3c8793a
NC
20392001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2040
2041 * dllwrap.c (main) Replace multiple strings describing a
2042 single error with a single, newline escaped sentence to permit
2043 better translation into foreign languages.
2044
2045 * readelf.c (get_elf_class): Remove internalionalisation of ELF
2046 class names.
2047
956cd1d6
TS
20482001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2049
2050 * strings.c (get_char): Initialize value.
2051
956c53ee
TS
20522001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2053
2054 * arlex.l: Silence compile warnings.
2055 * arsup.h: Likewise. Fix formatting.
2056
cedd9a58
JJ
20572001-12-04 Jakub Jelinek <jakub@redhat.com>
2058
2059 * strings.c: Include config.h before bfd.h.
2060 (file_off): New type.
2061 (file_open): Define.
2062 (print_strings): Use file_off instead of file_ptr. Print addresses
2063 which don't fit into long correctly.
2064 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
2065 available.
2066 (strings_file): Use file_off instead of file_ptr. Use file_open.
2067 * configure.in: Check for getc_unlocked.
2068 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2069 be defined for it.
2070 * configure: Rebuilt.
2071 * config.h.in: Rebuilt.
2072
af667503
L
20732001-11-29 H.J. Lu <hjl@gnu.org>
2074
2075 * bucomm.c (make_tempname): Revert the changes made on
2076 2001-11-14 and 2001-11-12. They won't work with directories.
2077
16474668
NC
20782001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2079
2080 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2081 CFLAGS_FOR_TARGET to runtest in environment.
2082 * Makefile.in: Rebuild.
2083 * doc/Makefile.in: Rebuild.
2084
17978339
MS
20852001-11-28 Mike Stump <mrs@wrs.com>
2086
2087 * objcopy.c (setup_section): Preserve SEC_RELOC when
2088 --set-section-flags is used.
2089
261a45ad
NC
20902001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
2091
2092 * readelf.c (do_debug_str): New variable.
2093 (display_debug_str): New function: Display the contents of a
2094 .debug_str section.
2095 (load_debug_str): New function: Load in the contents of a
2096 .debug_str section.
2097 (free_debug_str): New function: Free the memory used by
2098 load_debug_str().
2099 (fetch_indirect_string): Retrieve a string from the .debug_str
2100 section.
2101 (usage): Add -ws.
2102 (parse_args): Accept -ws.
2103 (process_section_headers): Allow the display of the .debug_str
2104 section.
2105 (read_and_display_attr_value): Use fetch_indirect_string. Show
2106 offset into .debug_str section.
2107 (display_debug_info): Use load_debug_str and free_debug_str.
2108 (debug_displays): Add .debug_str.
2109 * doc/binutils.texi: Document -ws.
2110
b8908f93
AJ
21112001-11-19 Andreas Jaeger <aj@suse.de>
2112
2113 * testsuite/binutils-all/objdump.exp: Add x86-64.
2114
e5fb9629
AS
21152001-11-15 Andreas Schwab <schwab@suse.de>
2116
2117 * readelf.c: Fix warnings without terminating newline.
2118
802a735e
AM
21192001-11-15 Alan Modra <amodra@bigpond.net.au>
2120
2121 * doc/binutils.texi (objdump): Document ppc -M options.
2122
b89e9eae
AJ
21232001-11-14 Andreas Jaeger <aj@suse.de>
2124
2125 * doc/binutils.texi (objdump): Fix description to use x86-64.
2126
a6a25652
NC
21272001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
2128
2129 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2130 not all systems provide mkstemp.
2131
e396998b
AM
21322001-11-14 Alan Modra <amodra@bigpond.net.au>
2133
2134 * doc/binutils.texi (objdump): Document x86 -M options.
2135
81766fca
RH
21362001-11-13 Keith Walker <keith.walker@arm.com>
2137
2138 * readelf.c (read_and_display_attr_value): New function to
2139 handle DW_FORM_indirect.
2140 (read_and_display_attr): Use it.
2141
1a509dcc
GK
21422001-11-13 Geoffrey Keating <geoffk@redhat.com>
2143
2144 * readelf.c (display_debug_lines): Deal with unknown standard
2145 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2146 DW_LNS_set_isa.
2147
6e917903 21482001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 2149
6e917903
TW
2150 * MAINTAINERS: Add self as tic54x maintainer. This target
2151 includes the IBM C54XDSP clone.
7559e86e 2152
6e917903 21532001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 2154
7559e86e
NC
2155 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2156
21572001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 2158
ecdadc4a
JL
2159 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2160 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2161 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2162 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2163 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2164 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2165 (unw_decode_b2, unw_decode_b3_b4): Likewise.
2166
91770270
JL
2167 * readelf.c (get_elf_class): Fix ISO portability glitch.
2168 (get_data_encoding, get_osabi_name, request_dump): Likewise.
2169
ef5cdfc7
JJ
21702001-11-07 Jakub Jelinek <jakub@redhat.com>
2171
2172 * readelf.c (debug_str, debug_str_size): New.
2173 (display_debug_abbrev): If no abbrevs were read, skip the CU.
2174 Call free_abbrevs.
2175 (read_and_display_addr): Handle DW_FORM_strp.
2176 (display_debug_info): Read .debug_str section if present,
2177 so that DW_FORM_strp can be handled.
2178 Fix test for non-existant .debug_abbrev section.
2179
5e9520c8
JJ
21802001-11-05 Jakub Jelinek <jakub@redhat.com>
2181
2182 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
2183
2184 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2185
54589086
MS
21862001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2187
2188 * MAINTAINERS: Add self as s390/s390x maintainer.
2189
c05b685b
TR
21902001-11-02 Tom Rix <trix@bluey.cygnus.com>
2191
2192 * MAINTAINERS: Add self as PPC XCOFF maintainer.
2193
3c62831e
NC
21942001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2195
2196 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2197 * configure: Regernate.
2198 * po/fr.po: New file.
2199 * po/tr.po: New file.
2200
3c3bdf30
NC
22012001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2202
9b19141a 2203 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
2204 * readelf.c: Include elf/mmix.h.
2205 (guess_is_rela): MMIX is RELA.
2206 (dump_relocations): Handle MMIX relocations.
2207 * Makefile.am: Regenerate dependencies.
2208 * Makefile.in: Regenerate.
2209
f662939a
NC
22102001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2211
2212 * readelf.c (parse_args): Handle multiple options to the -w
2213 switch.
2214
c91d0dfb
JJ
22152001-10-12 Jakub Jelinek <jakub@redhat.com>
2216
2217 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2218 LOPROC, LOOS and LOUSER.
2219
7559e86e 22202001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
2221
2222 * MAINTAINERS: Update my email address.
2223
fcd8210c
AM
22242001-10-03 Alan Modra <amodra@bigpond.net.au>
2225
2226 * doc/Makefile.in: Regenerate.
2227 * configure: Regenerate.
2228
428409d5
NC
22292001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
2230
2231 * readelf.c (display_debug_line, display_debug_pubnames,
2232 display_debug_info, display_debug_frames): Detect and warn
2233 about 64-bit format entries.
2234 (display_debug_aranges): Reword 64-bit warning.
2235 (debug_displays): Add .debug_pubtypes as a known, but not yet
2236 supported, debug section.
2237
6a8c2b0d
AM
22382001-10-02 Alan Modra <amodra@bigpond.net.au>
2239
2240 * coffdump.c (PROGRAM_VERSION): Delete.
2241 (main <'V'>): Call print_version.
2242 * srconv.c: Likewise.
2243 * sysdump.c: Likewise.
2244 * version.c (program_version): Remove.
2245 (print_version): Use BFD_VERSION_STRING. Just print the current
2246 year in copyright message.
2247 * addr2line.c (program_version): Remove unused declaration.
2248 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2249 place of BFD_VERSION.
2250 * Makefile.am (Makefile): Depend on bfd/configure.in.
2251 (cplus-dem.o): Depend on Makefile.
2252 Run "make dep-am".
2253 * Makefile.in: Regenerate.
2254
e414a165
NC
22552001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
2256
2257 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2258 format .debug_arange sections.
2259 (main): Add missing prototype.
b8908f93 2260
efc3ee7f
HPN
22612001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2262
2263 * Makefile.am: Update dependencies with "make dep-am".
2264 * Makefile.in: Regenerate.
2265
9e85c2a0
RH
22662001-09-28 Richard Henderson <rth@redhat.com>
2267
2268 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2269
451dad9c
AM
22702001-09-26 Alan Modra <amodra@bigpond.net.au>
2271
2272 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2273 VA_CLOSE.
2274 (non_fatal): Likewise.
2275 * objdump.c (objdump_sprintf): Likewise.
2276 * readelf.c (error): Likewise.
2277 (warn): Likewise.
2278
d974e256
JJ
22792001-09-25 Jakub Jelinek <jakub@redhat.com>
2280
2281 * readelf.c (do_wide): New.
2282 (options): Add --wide.
2283 (usage, parse_args): Likewise.
2284 (process_program_headers): Put each segment on a single line if
2285 --wide is given.
2286 (process_section_headers): Put each section on a single line if
2287 --wide is given.
2288 * doc/binutils.texi: Document it.
2289 * NEWS: Likewise.
2290
2f11c261
AM
22912001-09-25 Alan Modra <amodra@bigpond.net.au>
2292
2293 * readelf.c (print_vma): Print 8 digits of low hex value.
2294
1d50f91e
AJ
22952001-09-24 Andreas Jaeger <aj@suse.de>
2296
2297 * nlmconv.c: Fix warnings about unused attributes and function
2298 prototypes.
2299
2300 * strings.c: Add prototype for get_char.
2301
38131e67
L
23022000-09-19 H.J. Lu <hjl@gnu.org>
2303
2304 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2305 $(srcdir)/cxxfilt.man.
2306 * doc/Makefile.in: Rebuild.
2307
3bcfb3e4
AM
23082001-09-19 Alan Modra <amodra@bigpond.net.au>
2309
2310 * objcopy.c (copy_main): Correct rename-section string parsing.
2311 Consolidate new_name parsing, and error messages.
2312
3882b010
L
23132001-09-18 Bruno Haible <haible@clisp.cons.org>
2314
2315 * addr2line.c: Don't include <ctype.h>.
2316 (main): For gettext, also set the LC_CTYPE locate facet.
2317 * ar.c (main): Likewise.
2318 * coffdump.c (main): Likewise.
2319 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2320 (main): For gettext, also set the LC_CTYPE locate facet.
2321 Use ISALNUM instead of isalpha/isdigit.
2322 * dllwrap.c: Don't include <ctype.h>.
2323 (main): For gettext, also set the LC_CTYPE locate facet.
2324 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2325 (main): For gettext, also set the LC_CTYPE locate facet.
2326 Use TOUPPER instead of islower/toupper.
2327 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2328 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2329 Use TOUPPER instead of islower/toupper.
2330 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2331 * objcopy.c (main): Likewise.
2332 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2333 (disassemble_bytes): Use ISPRINT instead of isprint.
2334 (dump_section_stabs): Use ISDIGIT instead of isdigit.
2335 (dump_data): Use ISPRINT instead of isprint.
2336 (main): For gettext, also set the LC_CTYPE locate facet.
2337 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2338 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2339 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2340 Use TOUPPER instead of islower/toupper.
2341 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2342 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2343 (write_rc_accelerators): Use ISPRINT instead of isprint.
2344 (write_rc_rcdata): Likewise.
2345 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2346 * srconv.c (main): Likewise.
2347 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2348 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2349 isdigit/isupper/islower.
2350 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2351 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2352 stab_demangle_prefix, stab_demangle_qualified,
2353 stab_demangle_template, stab_demangle_type,
2354 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2355 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2356 (isgraphic): Use ISPRINT instead of isascii/isprint.
2357 (main): Remove HAVE_LC_MESSAGES dependency.
2358 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2359 (pbarray): Use ISPRINT instead of isprint.
2360 (main): For gettext, also set the LC_CTYPE locate facet.
2361 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2362 (format_from_filename): Use ISPRINT instead of isprint.
2363 (main): For gettext, also set the LC_CTYPE locate facet.
2364 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2365 (unicode_print): Use ISPRINT instead of isprint.
2366 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2367 (stab_variable): Use ISDIGIT instead of isdigit.
2368
e59b4dfb
AM
23692001-09-18 Alan Modra <amodra@bigpond.net.au>
2370
2371 * ar.c (print_contents): Cast args of bfd_seek to the right types.
2372 Replace bfd_read call with call to bfd_bread.
2373 (extract_file): Likewise.
2374
2375 * objdump.c (dump_section_header): Cast section->filepos to
2376 unsigned long to suit printf format string.
2377 * readelf.c (process_section_headers): Similarly for sh_offset.
2378 (process_unwind): Likewise.
2379
d132876a
NC
23802001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2381
2382 * strings.c (encoding, encoding_bytes): New variables.
2383 (long_options): Add --encoding.
2384 (main): Accept -e and --encoding.
2385 (get_char): New function. Read a, possibly wide, character from
2386 the input stream.
2387 (print_strings): Use get_char().
2388 (usage): Document new command line option.
2389 * doc/binutils.texi: Document new command line option.
2390 * NEWS: Announce new command line option.
2391
7559e86e 23922001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
2393
2394 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2395 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2396 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2397 Removed EM_CYGNUS_ARC.
2398
7559e86e 23992001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
2400
2401 * readelf.c: Include elf/h8 for H8 series definitions.
2402 (guess_is_rela): H8 series if RELA.
2403 (dump_relocations): Handle H8 series relocations.
2404
0823fbca
EC
24052001-08-31 Eric Christopher <echristo@redhat.com>
2406
2407 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2408
8db76d70
PT
24092001-08-29 Peter Targett <peter.targett@arccores.com>
2410
2411 * MAINTAINERS: Include ARC Maintainer.
2412
d81d6584
BE
24132001-08-29 Ben Elliston <bje@redhat.com>
2414
2415 * stabs.c (stab_demangle_template): Initialise s4.
2416
25a1ff5b
AM
24172001-08-27 Alan Modra <amodra@bigpond.net.au>
2418
2419 * readelf.c (dump_relocations): Recognise EM_PPC64.
2420
a5d22d2a
TS
24212001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2422
2423 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2424
62a5a82d
L
24252001-08-25 H.J. Lu <hjl@gnu.org>
2426
2427 * nm.c (print_width): New.
2428 (display_rel_file): Set `print_width' according to
2429 bfd_sprintf_vma.
2430 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2431
1ae8b3d2
AO
24322001-08-24 Alexandre Oliva <aoliva@redhat.com>
2433
2434 * objcopy.c (use_alt_mach_code): New variable.
2435 (OPTION_ALT_MACH_CODE): Define.
2436 (copy_options): Added --alt-machine-code.
2437 (copy_main): Handle it.
2438 (copy_object): Switch to alternate machine code if requested.
2439 * doc/binutils.texi: Document new option.
2440 * NEWS: Likewise.
2441
d1bdd336
TS
24422001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2443
2444 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2445
410f7a12
L
24462001-08-21 H.J. Lu <hjl@gnu.org>
2447
2448 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2449 (display_debug_info): Cast for 64bit hosts.
2450 (display_debug_frames): Likewise.
2451 (process_mips_specific): Likewise.
2452
c32144ff
AJ
24532001-08-21 Andreas Jaeger <aj@suse.de>
2454
2455 * coffgrok.h: Add missing parameter for prototype of coff_grok.
2456
2457 * sysdump.c: Add missing prototypes.
2458 * srconv.c: Likewise.
2459 * unwind-ia64.c: Likewise.
2460 * coffdump.c: Likewise.
2461
2462 * sysinfo.y: Print prototypes, include <ansidecl.h>.
2463
2464 * coffgrok.c: Add missing prototypes, include libiberty.h instead
2465 of declaring xcalloc.
2466
d8180c76
L
24672001-08-10 H.J. Lu <hjl@gnu.org>
2468
2469 * nm.c (print_value): Add one arg, bfd *.
2470 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2471 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2472 (print_symbol_info_sysv): Likewise.
2473 (print_symbol_info_posix): Likewise.
2474
2475 * objdump.c (dump_section_header): Replace printf_vma with
2476 bfd_printf_vma.
2477 (print_section_stabs): Likewise.
2478 (dump_bfd_header): Likewise.
2479 (objdump_print_value): Replace sprintf_vma with
2480 bfd_sprintf_vma.
2481 (disassemble_bytes): Likewise.
2482 (dump_reloc_set): Likewise.
2483
0218d1e4
AJ
24842001-08-10 Andreas Jaeger <aj@suse.de>
2485
2486 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2487 to build warnings.
2488 * configure: Regenerate.
2489
2863d58a
AM
24902001-08-09 Alan Modra <amodra@bigpond.net.au>
2491
2492 * readelf.c: Add missing prototypes.
2493 * objdump.c: Likewise. Format existing prototypes.
2494
c0e047e0
AO
24952001-08-08 Alexandre Oliva <aoliva@redhat.com>
2496
2497 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2498 of any RELA relocation for the abbrev_offset memory location that
2499 refers to the .debug_abbrev section symbol.
2500
ff78d6d6
L
25012001-08-07 H.J. Lu <hjl@gnu.org>
2502
2503 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2504 (main): Return process_file ().
2505
c36774d6
PB
25062001-08-05 Philip Blundell <philb@gnu.org>
2507
2508 * doc/binutils.texi: Use "Thumb" not "THUMB".
2509
8f9d9bd9
JH
25102001-08-03 John Healy <jhealy@redhat.com>
2511
bb279dc0
ZW
2512 Patch suggested by Frank Eigler <fche@redhat.com>.
2513 * objdump.c (disassemble_data): Fill in section member of the
2514 disasm_info structure.
8f9d9bd9 2515
c918cb96
DD
25162001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2517
2518 * configure.in: Added --with-windres option.
2519 * configure: Regenerated.
2520
c7c55b78
NC
25212001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2522
2523 * doc/binutils.texi: Use @command{name} for commands;
2524 use @option{-opt} for options; use @table @env for list of options;
2525 remove spaces arround [ | ] in synopsis.
2526
2527 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2528 center title.
2529
594ef5db
NC
25302001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2531
bb279dc0
ZW
2532 * objcopy.c: Fix formatting.
2533 (section_rename): New structure.
2534 (OPTION_RENAME_SECTION): New switch.
2535 (copy_usage): Document new switch.
2536 (add_section_rename): New function: Add a node to the section
2537 rename list.
2538 (find_section_rename): New function: Find the new name and
2539 flags for a section.
2540 (setup_section): Call find_section_name to determine the name
2541 of the output section.
2542 (copy_main): Handle OPTION_RENAME_SECTION.
2543 * binutils.texi: Document new switch.
594ef5db
NC
2544 * NEWS: Mention new switch.
2545
1f554c69
NC
25462001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2547
2548 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2549 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2550 bug-binutils@gcc.org.
2551
2f83960e
AM
25522001-07-28 Matthias Kramm <kramm@quiss.org>
2553
2554 * bucomm.c (list_supported_architectures): New function.
2555 * bucomm.h (list_supported_architectures): Declare.
2556 * objdump.c (usage): Call the above.
2557
20fe0649
DB
25582001-07-25 Dave Brolley <brolley@redhat.com>
2559
2560 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2561 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2562
1b577b00
NC
25632001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2564
2565 * README: Update for 2.11. Change bug reporting email address.
2566 * MAINTAINERS: Tidy up. Change bug reporting email address.
2567
95fd336c
DD
25682001-07-16 DJ Delorie <dj@redhat.com>
2569
5f16d855
DD
2570 * resres.c (write_res_header): Align header size.
2571 (res_align_file): Calculate alignment correctly.
2572
95fd336c
DD
2573 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2574 correct 10).
2575 * resrc.c (write_rc_resource): Likewise.
2576 * windres.h (SUBLANG_SHIFT): Define - as 10.
2577
ed8fee27
NC
25782001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2579
2580 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2581
90ab7e9a
NC
25822001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2583
2584 * MAINTAINERS: Add notes about branch checkins.
2585
e0c60db2
NC
25862001-07-05 Daniel Berlin <dan@cgsoftware.com>
2587
2588 * readelf.c (display_debug_macinfo): New function, display
2589 .debug_macinfo section.
2590 (do_debug_macinfo): New variable.
2591 (parse_args): Handle "-w[mM]" to mean display macro info.
2592 (process_section_headers): Handle debug_macinfo.
2593 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2594 function for .debug_macinfo display.
e0c60db2
NC
2595 * doc/binutils.texi: Document new command line switch.
2596 * NEWS: Document new feature of readelf.
0218d1e4 2597
24e01a36
L
25982001-07-05 H.J. Lu <hjl@gnu.org>
2599
2600 * objcopy.c (filter_symbols): Don't turn undefined symbols
2601 into local.
2602
4258bf4d
L
26032001-07-03 H.J. Lu <hjl@gnu.org>
2604
2605 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2606 $@.pod.
2607 (ar.1): Likewise.
2608 (dlltool.1): Likewise.
2609 (nlmconv.1): Likewise.
2610 (nm.1): Likewise.
2611 (objcopy.1): Likewise.
2612 (objdump.1): Likewise.
2613 (ranlib.1): Likewise.
2614 (readelf.1): Likewise.
2615 (size.1): Likewise.
2616 (strings.1): Likewise.
2617 (strip.1): Likewise.
2618 (windres.1): Likewise.
2619 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2620 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2621 $(DEMANGLER_NAME).
2622 (as.1): Removed.
2623 * doc/Makefile.in: Regenerated.
2624
7014bc31
NC
26252001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2626
2627 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2628
b811889f
NC
26292001-07-01 Daniel Berlin <dan@cgsoftware.com>
2630
2631 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2632
12ab83a9
NC
26332001-06-29 James Cownie <jcownie@etnus.com>
2634
2635 * readelf.c: Support DWARF 2.1 attributes.
2636
a6e9f9df
AM
26372001-06-28 Alan Modra <amodra@bigpond.net.au>
2638
2639 * readelf.c (GET_DATA_ALLOC): Remove.
2640 (GET_DATA): Remove.
2641 (get_data): New function combining above macros, with an extra
2642 test for zero size.
2643 (slurp_rela_relocs): Use get_data, and catch error return.
2644 (slurp_rel_relocs): Likewise.
2645 (get_32bit_program_headers): Likewise.
2646 (get_64bit_program_headers): Likewise.
2647 (get_32bit_section_headers): Likewise.
2648 (get_64bit_section_headers): Likewise.
2649 (get_32bit_elf_symbols): Likewise.
2650 (get_64bit_elf_symbols): Likewise.
2651 (process_section_headers): Likewise.
2652 (process_relocs): Likewise.
2653 (slurp_ia64_unwind_table): Likewise.
2654 (process_unwind): Likewise.
2655 (get_32bit_dynamic_segment): Likewise.
2656 (get_64bit_dynamic_segment): Likewise.
2657 (process_dynamic_segment): Likewise.
2658 (process_version_sections): Likewise.
2659 (process_symbol_table): Likewise.
2660 (dump_section): Likewise.
2661 (display_debug_info): Likewise.
2662 (display_debug_section): Likewise.
2663 (process_section_contents): Likewise.
2664 (process_corefile_note_segment): Likewise.
2665 (process_mips_specific): Likewise. Also free econf32, econf64.
2666
af3fc3bc
AM
26672001-06-25 Alan Modra <amodra@bigpond.net.au>
2668
2669 * readelf.c (dump_relocations): Print "bad symbol index" if
2670 symtab == NULL with non-zero symtab_index.
2671 (process_relocs): Don't bomb if reloc section has no symsec.
2672
6d900bf6
L
26732001-06-24 H.J. Lu <hjl@gnu.org>
2674
2675 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2676 by accident.
2677 (copy_main): Apply the the change made to strip_main on
2678 2001-05-30 by accident.
2679
49b4e386
AJ
26802001-06-23 Andreas Jaeger <aj@suse.de>
2681
2682 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2683 parameter 'code'.
2684 (unw_decode_x2): Likewise.
2685 (unw_decode_x3): Likewise.
2686 (unw_decode_x4): Likewise.
2687
d8dc71e3
BE
26882001-06-23 Ben Elliston <bje@redhat.com>
2689
2690 * MAINTAINERS: Add myself as M88k maintainer.
2691
af3bdff7
NC
26922001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2693
2694 * objcopy.c (strip_main): Support -o or --output-file command lien
2695 switch.
2696
105e7211
L
26972001-06-19 H.J. Lu <hjl@gnu.org>
2698
2699 * doc/Makefile.in: Regenerated.
2700
c45021f2
NC
27012001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2702
2703 * readelf.c: Restore formatting.
2704
27052001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2706
bb279dc0
ZW
2707 * Makefile.am: Move documentation into doc subdirectory.
2708 * Makefile.in: Regenerated.
c45021f2 2709 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2710 * addr2line.1: Removed.
2711 * ar.1: Likewise.
2712 * dlltool.1: Likewise.
2713 * nlmconv.1: Likewise.
2714 * nm.1: Likewise.
2715 * objcopy.1: Likewise.
2716 * objdump.1: Likewise.
2717 * ranlib.1: Likewise.
2718 * readelf.1: Likewise.
2719 * size.1: Likewise.
2720 * strings.1: Likewise.
2721 * strip.1: Likewise.
2722 * windres.1: Likewise.
2723 * cxxfilt.man: Likewise.
c45021f2
NC
2724 * doc: New Directory.
2725 * doc/Makefile.am: New file.
2726 * doc/Makefile.in: Generate.
2727
09ad7db3
AM
27282001-06-09 Alan Modra <amodra@bigpond.net.au>
2729
2730 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2731
936260fe
AM
27322001-06-01 Alan Modra <amodra@bigpond.net.au>
2733
2734 * MAINTAINERS: Update my email address.
2735
16b2b71c
NC
27362001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2737
2738 * objcopy.c: Add new switches: --keep-global-symbol,
2739 --keep-symbols, --localize-symbols, --keep-global-symbols and
2740 --weaken-symbols.
2741 * binutils.texi: Document new switches.
2742 * objcopy.1: Regenerate.
2743 * NEWS: Announce new feature.
2744
7036c0e1
AJ
27452001-05-28 Andreas Jaeger <aj@suse.de>
2746
2747 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2748 variables, fix format strings.
2749
76a406e5
NC
27502001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2751
2752 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2753 when computing the address of the line to show.
2754
31b6fca6
RH
27552001-05-16 Richard Henderson <rth@redhat.com>
2756
2757 * readelf.c (do_debug_frames_interp): New.
2758 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2759 (byte_get_big_endian): Likewise.
2760 (parse_args) ['F']: Set do_debug_frames_interp.
2761 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2762 (frame_display_row): Don't trunc pc_begin to int.
2763 (size_of_encoded_value): New.
2764 (display_debug_frames): Handle 64-bit targets. Print raw data
2765 unless do_debug_frames_interp.
2766 (debug_displays): Remove duplicate .debug_frame.
2767
4fe85591
NC
27682001-05-15 Ralf Baechle <ralf@gnu.org>
2769
2770 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2771 The former constant was never in active use and is used otherwise
2772 by the ABI.
2773
579f31ac
JJ
27742001-05-11 Jakub Jelinek <jakub@redhat.com>
2775
2776 * readelf.c (process_unwind): Print all unwind sections, not just
2777 one.
2778
78f4a3f7
AM
27792001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2780
2781 * readelf.c (process_unwind): Remove const specifier.
2782
1c529ca6
NC
27832001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2784
2785 * strings.c (isgraphic): Do not use isascii() unless it is needed
2786 for isprint() to work.
2787 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2788
87e6d782
NC
27892001-04-27 Johan Rydberg <jrydberg@opencores.org>
2790
bb279dc0 2791 * NEWS: Announce support for OpenRISC.
87e6d782 2792
4bd3d870 27932001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2794
2795 * dlltool.c (do_default_excludes): Initialise to true.
2796
21211521
AM
27972001-04-10 Alan Modra <amodra@one.net.au>
2798
2799 * MAINTAINERS: Update my email address
2800 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2801
0c66b61e 28022001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2803
2804 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2805
e58d53af
L
28062001-03-30 H.J. Lu <hjl@gnu.org>
2807
2808 * readelf.c (process_unwind): Just return if do_unwind is 0.
2809
bee72332
DD
28102001-03-28 Roger Sayle <roger@metaphorics.com>
2811
2812 * dlltool.c (make_one_lib_file): Fix section flags for
2813 .text, .data and .bss in stub ds*.o files to match those
2814 generated by gas.
2815
f1467e33
L
28162001-03-29 H.J. Lu <hjl@gnu.org>
2817
2818 * readelf.c (process_unwind): Only do unwind sections for
2819 IA64.
2820
1c6fb4fe
L
28212001-03-28 H.J. Lu <hjl@gnu.org>
2822
2823 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2824 * Makefile.in: Regenerate.
2825
0879a67a
AJ
28262001-03-26 Andreas Jaeger <aj@suse.de>
2827
2828 * binutils.texi (nm): Fix texi syntax.
2829
0285c67d
NC
28302001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2831
2832 * binutils.texi: Put @c man begin and @c man end indications
2833 to generate man pages using texi2pod and pod2man. Put @c man title
2834 to identify each man. Add SEEALSO entries.
2835 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2836 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2837 sort the list.
2838 (*.1): Build the man pages from binutils.texi.
2839 * Makefile.in: Regenerate.
2840
04847a4d
CF
28412001-03-13 Eric Kohl <ekohl@rz-online.de>
2842
2843 * defparse.y (opt_equal_name): allow "." in name.
2844 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2845 (gen_exp_file): Likewise.
2846
43a0748c
NC
28472001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2848
2849 * NEWS: Document addition of -B switch to objcopy.
2850 * binutils.texi: Document addition of -B switch to objcopy.
2851 * objcopy.c: (copy_options): Add --binary-architecture.
2852 (copy_usage): Document -B/--binary-architecture.
2853 (copy_main): Support -B/--binary-architecture. Set
2854 bfd_external_binary_architecture.
0879a67a 2855
b7498e0e
NC
28562001-03-11 Andreas Jaeger <aj@suse.de>
2857
2858 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2859 (dump_relocations): Likewise.
2860 (get_machine_name): Likewise.
2861
a59e3bd7
NC
28622001-02-28 Nick Clifton <nickc@redhat.com>
2863
2864 * readelf.c: (struct unw_aux_info): Remove const modifier for
2865 'strtab' field.
2866 (process_unwind): Remove non-K&R compliant LHS type cast in call
2867 to GET_DATA_ALLOC macro.
2868
a5bcd848
PB
28692001-02-28 Philip Blundell <pb@futuretv.com>
2870
2871 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2872 ABI is in use; remove ambiguity between the "unknown" EABI and
2873 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2874 renamed EF_xx constants.
2875
27b7e12d
AM
28762001-02-27 Alan Modra <alan@linuxcare.com.au>
2877
2878 * configure.in (BFD_VERSION): New.
2879 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2880 * configure: Regenerate.
2881 * Makefile.am: Run "make dep-am"
2882 * Makefile.in: Regenerate.
2883
a9f10786
NC
28842001-02-14 Nick Clifton <nickc@redhat.com>
2885
2886 * MAINTAINERS: Add "Obvious Fix" rule.
2887
3c44da9a
MS
28882001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2889
2890 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2891 literal concatenation.
2892
ecd03389
MS
28932001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2894
2895 * readelf.c (struct unw_aux_info): Remove const from the info member.
2896 (process_unwind): Don't type-cast the third argument to the
2897 GET_DATA_ALLOC macro.
2898
88ec60c7
NC
28992001-02-11 Nick Clifton <nickc@redhat.com>
2900
2901 * readelf.c (dump_relocations): Free corrected allocated
2902 array.
2903 (process_unwind): Fix compile time warning.
2904
f5e21966
NC
29052001-02-10 Nick Clifton <nickc@redhat.com>
2906
2907 * binutils.texi: Document new --unwind option to readelf.
2908
a85d7ed0
NC
29092001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2910
2911 * readelf.c: Add linux target for S/390.
2912
7bb10502
AM
29132001-02-10 Alan Modra <alan@linuxcare.com.au>
2914
2915 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2916 printf is a macro.
2917
8ca8f343
HPN
29182001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2919
2920 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2921 * aclocal.m4: Regenerate.
2922 * configure: Regenerate.
2923
7340082d
NC
29242001-02-07 Todd Vierling <tv@wasabisystems.com>
2925
2926 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2927 * objdump.c (bfd_target_vector): Likewise.
2928
4d6ed7c8
NC
29292001-02-07 David Mosberger <davidm@hpl.hp.com>
2930
2931 * readelf.c (process_unwind): New function.
2932 (slurp_ia64_unwind_table): Ditto.
2933 (dump_ia64_unwind): Ditto.
2934 (find_symbol_for_address): Ditto.
2935 (slurp_rela_relocs): New function (split off from dump_relocations()).
2936 (slurp_rel_relocs): Ditto.
2937 (parse_args): Handle '-u' option.
2938
2939 * unwind-ia64.c: New file.
2940 * unwind-ia64.h: New file.
2941 * Makefile.am: Include unwind-ia64.c in readelf build.
2942 * Makefile.in: Regenerate.
7340082d 2943 * po/binutils.pot: Regenerate.
4d6ed7c8 2944
c7217458
PB
29452001-02-04 Philip Blundell <philb@gnu.org>
2946
2947 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2948 * configure: Regenerate.
2949
956eedd4
AM
29502001-01-31 Steve deRosier <sderosier@vari-lite.com>
2951
2952 * ieee.c (ieee_add_bb11): Don't check for backslashes
2953 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2954
8855cbca
AM
29552001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2956
c7f2731e
AM
2957 * ieee.c: Update copyright.
2958 (ieee_start_compilation_unit): Don't check for backslashes
2959 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2960
8855cbca
AM
2961 * stabs.c: Update copyright. Include "filenames.h".
2962 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2963
329de803 29642001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2965
2966 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2967 sections are present before using them. Remove code duplication.
2968 (process_symbol_table): Check if VERDEF or VERNEED sections are
2969 present before using them.
2970
23719f39
NC
29712001-01-17 Nick Clifton <nickc@redhat.com>
2972
2973 * objcopy.c (copy_object): Fail if attempting to convert the
2974 endianness of the input object file.
2975
2976 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2977
f726e849
NC
29782001-01-16 Nick Clifton <nickc@redhat.com>
2979
2980 * readelf.c (string_table_length): New variable.
2981 (SECTION_NAME): Catch out of range indices and missing section
2982 pointers.
2983 (process_section_headers): Delete useless local variable
2984 string_table_offset. Set the value of string_table_length
2985 after loading the string table.
2986 (process_mips_specific): Use SECTION_NAME macro.
2987 (process_file): Set string_table_length to 0 when it is freed.
2988
d0398d6a
NC
29892001-01-12 Nick Clifton <nickc@redhat.com>
2990
2991 * version.c (print_version): Update copyright date.
2992
0d2bcfaf
NC
29932001-01-11 Peter Targett <peter.targett@arccores.com>
2994
2995 * readelf.c (dump_relocations): Include selection with EM_ARC.
2996 (get_machine_name) Update name to "ARC".
2997
8b1e6df3
NC
29982001-01-09 Nick Clifton <nickc@redhat.com>
2999
3000 * Makefile.am: Add rule to build objdump.o from objdump.c and
3001 using OBJDUMP_DEFS.
3002 * Makefile.in: Regenerate.
3003
3004 * configure.in: Define OBJDUMP_DEFS. Default to empty.
3005 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3006 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 3007 * configure: Regenerate.
8b1e6df3
NC
3008
3009 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3010 is defined read in the relocs even if dump_reloc_info is
3011 false.
3012
2f952d20
PB
30132001-01-07 Philip Blundell <philb@gnu.org>
3014
3015 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3016 `bug-binutils'.
3017 * README: Likewise.
3018
a8c548cb
NC
30192000-12-19 Nick Clifton <nickc@redhat.com>
3020
3021 * dlltool.c: Add missing support for arm-epoc-pe.
3022 * configure.in: Add missing support for arm-epoc-pe.
3023 * configure: Regenerate.
3024
cc5fda35
NC
30252000-12-15 Nick Clifton <nickc@redhat.com>
3026
3027 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3028 Mode parts of the x86 port.
3029
bcedfee6
NC
30302000-12-04 Andreas Jaeger <aj@suse.de>
3031
3032 * readelf.c (guess_is_rela): Add EM_X86_64.
3033 (dump_relocations): Add EM_X86_64.
3034 (get_machine_name): Add EM_X86_64.
3035 Include "elf/x86-64.h".
3036
584da044
NC
30372000-12-12 Nick Clifton <nickc@redhat.com>
3038
3039 * readelf.c: Fix formatting.
3040
7559e86e 30412000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3042
3043 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3044
a98cc2b2
AH
30452000-12-07 Andrew Haley <aph@redhat.com>
3046
3047 * readelf.c (display_debug_frames): Only display columns that are
3048 referenced by the frame debug info.
3049
c7987a69
NC
30502000-12-05 Nick Clifton <nickc@redhat.com>
3051
3052 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3053
09fd7e38
JM
30542000-12-04 Jason Merrill <jason@redhat.com>
3055
3056 * readelf.c (process_section_headers): Handle linkonce.wi sections.
3057 (display_debug_section): Likewise.
3058 (display_debug_info): Display CU header before bailing.
3059
e7af610e
NC
30602000-12-01 Chris Demetriou <cgd@sibyte.com>
3061
09fd7e38
JM
3062 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3063 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
3064 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 3065
09fd7e38
JM
3066 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3067 and E_MIPS_ARCH_64.
84ea6cf2 3068
09fd7e38
JM
3069 * readelf.c (get_machine_flags): Add case for
3070 E_MIPS_MACH_SB1.
c6c98b38 3071
75066968
DD
30722000-11-30 Richard Earnshaw <rearnsha@arm.com>
3073
3074 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3075
5c4666ea
HPN
30762000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3077