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